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

cmtk::ImagePairAffineRegistration Class Reference
[cmtkRegistration Library]

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

#include <cmtkImagePairAffineRegistration.h>

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

List of all members.

Classes

class  LevelParameters
 Base class for registration level parameters. More...

Public Types

typedef ImagePairAffineRegistration Self
 This class.
typedef ImagePairRegistration Superclass
 Parent class.

Public Member Functions

 ImagePairAffineRegistration ()
 Default constructor.
virtual ~ImagePairAffineRegistration ()
 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

 cmtkGetSetMacro (MakeInitialAffineTransformation::Mode, Initializer)
 Flag for initial alignment of volume centers.
 cmtkGetSetMacro (bool, MatchFltToRefHistogram)
 Flag whether to adjust floating image histogram to match reference image.
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 Member Functions

virtual FunctionalMakeFunctional (const int level, const Superclass::LevelParameters *)
 Create functional with all settings for next level.

Private Attributes

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

Detailed Description

Class for affine multi-resolution voxel registration.

Definition at line 55 of file cmtkImagePairAffineRegistration.h.


Member Typedef Documentation

This class.

Reimplemented from cmtk::ImagePairRegistration.

Reimplemented in cmtk::ImagePairAffineRegistrationCommandLine.

Definition at line 110 of file cmtkImagePairAffineRegistration.h.

Parent class.

Reimplemented in cmtk::ImagePairAffineRegistrationCommandLine.

Definition at line 113 of file cmtkImagePairAffineRegistration.h.


Member Function Documentation

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

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

Definition at line 130 of file cmtkImagePairAffineRegistration.h.

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

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

Definition at line 136 of file cmtkImagePairAffineRegistration.h.

cmtk::ImagePairAffineRegistration::cmtkGetSetMacro ( MakeInitialAffineTransformation::Mode  ,
Initializer   
) [protected]

Flag for initial alignment of volume centers.

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

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


Member Data Documentation

std::vector<short> cmtk::ImagePairAffineRegistration::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 74 of file cmtkImagePairAffineRegistration.h.

Referenced by InitRegistration().

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 80 of file cmtkImagePairAffineRegistration.h.

Referenced by InitRegistration().

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

Iterator for NumberDOFs and NumberDOFsFinal.

Definition at line 143 of file cmtkImagePairAffineRegistration.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