Classes | Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends

cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional > Class Template Reference
[cmtkRegistration Library]

Class for affine multi-channel registration functional. More...

#include <cmtkAffineMultiChannelRegistrationFunctional.h>

Inheritance diagram for cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional >:
Inheritance graph
[legend]
Collaboration diagram for cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional >:
Collaboration graph
[legend]

List of all members.

Classes

class  EvaluateThreadParameters
 Parameters for threaded metric computation. More...

Public Types

typedef
AffineMultiChannelRegistrationFunctional
< TMultiChannelMetricFunctional
Self
 This class.
typedef SmartPointer< SelfSmartPtr
 Smart pointer.
typedef
TemplateMultiChannelRegistrationFunctional
< AffineXform,
TMultiChannelMetricFunctional
Superclass
 This class.

Public Member Functions

 AffineMultiChannelRegistrationFunctional ()
 Default constructor.
void InitTransformation (const bool alignCenters)
 Initialize transformation.
virtual Self::ReturnType Evaluate ()
 Compute functional value with volume clipping using multi-threading.

Private Member Functions

bool ClipZ (const VolumeClipping &clipper, const Vector3D &origin, int &start, int &end) const
 Perform clipping/cropping in z-direction.
bool ClipX (const VolumeClipping &clipper, const Vector3D &origin, int &start, int &end) const
 Perform clipping/cropping in x-direction.
bool ClipY (const VolumeClipping &clipper, const Vector3D &origin, int &start, int &end) const
 Perform clipping/cropping in y-direction.

Static Private Member Functions

static void EvaluateThreadFunction (void *args, const size_t taskIdx, const size_t taskCnt, const size_t threadIdx, const size_t)
 Thread function for metric computation.

Private Attributes

VolumeClipping m_VolumeClipper
 Volume clipping object.
const size_t m_NumberOfThreads
 Number of parallel threads.

Friends

class SplineWarpMultiChannelRegistrationFunctional
 Make spline functional friend to access this class' channel image vectors.

Detailed Description

template<class TMultiChannelMetricFunctional>
class cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional >

Class for affine multi-channel registration functional.

Definition at line 60 of file cmtkAffineMultiChannelRegistrationFunctional.h.


Member Typedef Documentation


Constructor & Destructor Documentation

Default constructor.

Definition at line 75 of file cmtkAffineMultiChannelRegistrationFunctional.h.


Friends And Related Function Documentation

template<class TMultiChannelMetricFunctional>
friend class SplineWarpMultiChannelRegistrationFunctional [friend]

Make spline functional friend to access this class' channel image vectors.

Definition at line 193 of file cmtkAffineMultiChannelRegistrationFunctional.h.


Member Data Documentation

template<class TMultiChannelMetricFunctional>
const size_t cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional >::m_NumberOfThreads [private]

Number of parallel threads.

Definition at line 166 of file cmtkAffineMultiChannelRegistrationFunctional.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines