Class for affine multi-channel registration functional. More...
#include <cmtkAffineMultiChannelRegistrationFunctional.h>
Classes | |
class | EvaluateThreadParameters |
Parameters for threaded metric computation. More... | |
Public Types | |
typedef AffineMultiChannelRegistrationFunctional < TMultiChannelMetricFunctional > | Self |
This class. | |
typedef SmartPointer< Self > | SmartPtr |
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. |
Class for affine multi-channel registration functional.
Definition at line 60 of file cmtkAffineMultiChannelRegistrationFunctional.h.
typedef AffineMultiChannelRegistrationFunctional<TMultiChannelMetricFunctional> cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional >::Self |
This class.
Reimplemented from cmtk::TemplateMultiChannelRegistrationFunctional< AffineXform, TMultiChannelMetricFunctional >.
Definition at line 66 of file cmtkAffineMultiChannelRegistrationFunctional.h.
typedef SmartPointer<Self> cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional >::SmartPtr |
Smart pointer.
Reimplemented from cmtk::TemplateMultiChannelRegistrationFunctional< AffineXform, TMultiChannelMetricFunctional >.
Definition at line 69 of file cmtkAffineMultiChannelRegistrationFunctional.h.
typedef TemplateMultiChannelRegistrationFunctional<AffineXform,TMultiChannelMetricFunctional> cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional >::Superclass |
This class.
Reimplemented from cmtk::TemplateMultiChannelRegistrationFunctional< AffineXform, TMultiChannelMetricFunctional >.
Definition at line 72 of file cmtkAffineMultiChannelRegistrationFunctional.h.
cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional >::AffineMultiChannelRegistrationFunctional | ( | ) | [inline] |
Default constructor.
Definition at line 75 of file cmtkAffineMultiChannelRegistrationFunctional.h.
friend class SplineWarpMultiChannelRegistrationFunctional [friend] |
Make spline functional friend to access this class' channel image vectors.
Definition at line 193 of file cmtkAffineMultiChannelRegistrationFunctional.h.
const size_t cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional >::m_NumberOfThreads [private] |
Number of parallel threads.
Definition at line 166 of file cmtkAffineMultiChannelRegistrationFunctional.h.
VolumeClipping cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional >::m_VolumeClipper [private] |
Volume clipping object.
Definition at line 99 of file cmtkAffineMultiChannelRegistrationFunctional.h.
Referenced by cmtk::AffineMultiChannelRegistrationFunctional< TMultiChannelMetricFunctional >::EvaluateThreadFunction().