Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Attributes

cmtk::AffineRegistration Class Reference
[cmtkRegistration Library]

Class for affine multi-resolution voxel registration. More...

#include <cmtkAffineRegistration.h>

Inheritance diagram for cmtk::AffineRegistration:
Inheritance graph
[legend]
Collaboration diagram for cmtk::AffineRegistration:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AffineRegistration ()
 Default constructor.
virtual ~AffineRegistration ()
 Destructor.
AffineXform::SmartPtr GetTransformation () const
 Return final transformation.
const UniformVolume::SmartPtr GetReformattedFloatingImage (Interpolators::InterpolationEnum interpolator=Interpolators::LINEAR) const
 Get reformatted floating image.
void AddNumberDOFs (const int numberDOFs)
 Add a number to the general list of numbers of DOFs.
void AddNumberDOFsFinal (const int numberDOFs)
 Add a number to the list of numbers of DOFs for the last level.

Protected Member Functions

 cmtkGetSetMacroDefault (bool, InitialAlignCenters, true)
 Flag for initial alignment of volume centers.
 cmtkGetSetMacro (bool, MatchFltToRefHistogram)
 Flag whether to adjust floating image histogram to match reference image.
 cmtkGetSetMacro (bool, NoSwitch)
 If set, this flag prevent automatic switching of model and reference.
virtual CallbackResult InitRegistration ()
 Initialize registration.
virtual void EnterResolution (CoordinateVector::SmartPtr &v, Functional::SmartPtr &f, const int level, const int total)
 Enter a resolution level.
virtual int DoneResolution (CoordinateVector::SmartPtr &v, Functional::SmartPtr &f, const int level, const int total)
 Finish resolution level.

Protected Attributes

std::vector< short > NumberDOFs
 Numbers of degrees of freedom.
std::vector< short > NumberDOFsFinal
 Numbers of degrees of freedom for the final resolution level.

Private Types

typedef VoxelRegistration Superclass
 Convenience definition.

Private Attributes

std::vector< short >::iterator NumberDOFsIterator
 Iterator for NumberDOFs and NumberDOFsFinal.

Detailed Description

Class for affine multi-resolution voxel registration.

Definition at line 54 of file cmtkAffineRegistration.h.


Member Typedef Documentation

Convenience definition.

Reimplemented in cmtk::AffineRegistrationCommandLine.

Definition at line 139 of file cmtkAffineRegistration.h.


Member Function Documentation

void cmtk::AffineRegistration::AddNumberDOFs ( const int  numberDOFs ) [inline]

Add a number to the general list of numbers of DOFs.

Definition at line 126 of file cmtkAffineRegistration.h.

Referenced by cmtk::VolumeInjectionReconstruction::ComputeTransformationsToPassImages(), and cmtk::AtlasSegmentation::RegisterAffine().

void cmtk::AffineRegistration::AddNumberDOFsFinal ( const int  numberDOFs ) [inline]

Add a number to the list of numbers of DOFs for the last level.

Definition at line 132 of file cmtkAffineRegistration.h.

cmtk::AffineRegistration::cmtkGetSetMacro ( bool  ,
MatchFltToRefHistogram   
) [protected]

Flag whether to adjust floating image histogram to match reference image.

cmtk::AffineRegistration::cmtkGetSetMacro ( bool  ,
NoSwitch   
) [protected]

If set, this flag prevent automatic switching of model and reference.

cmtk::AffineRegistration::cmtkGetSetMacroDefault ( bool  ,
InitialAlignCenters  ,
true   
) [protected]

Flag for initial alignment of volume centers.


Member Data Documentation

std::vector<short> cmtk::AffineRegistration::NumberDOFs [protected]

Numbers of degrees of freedom.

This list contains the numbers of degrees of freedom for every resolution level. Registration is repeated with the same data as many times as there are entries in this list. If the derived classes do not set any entries, InitRegistration() will push a "6" into the list, resulting in an affine registration.

Definition at line 76 of file cmtkAffineRegistration.h.

Referenced by InitRegistration().

std::vector<short> cmtk::AffineRegistration::NumberDOFsFinal [protected]

Numbers of degrees of freedom for the final resolution level.

Just as "NumberDOFs", this list defines the sequence of numbers of degrees of freedom for the finest resolution level.

Definition at line 82 of file cmtkAffineRegistration.h.

Referenced by InitRegistration().

std::vector<short>::iterator cmtk::AffineRegistration::NumberDOFsIterator [private]

Iterator for NumberDOFs and NumberDOFsFinal.

Definition at line 142 of file cmtkAffineRegistration.h.

Referenced by InitRegistration().


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