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

cmtk::ImagePairRegistrationFunctional Class Reference
[cmtkRegistration Library]

Base class for voxel matching functionals. More...

#include <cmtkImagePairRegistrationFunctional.h>

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

List of all members.

Public Types

typedef
ImagePairRegistrationFunctional 
Self
 This class.
typedef Functional Superclass
 Superclass.

Public Member Functions

 ImagePairRegistrationFunctional (UniformVolume::SmartConstPtr &reference, UniformVolume::SmartConstPtr &floating)
 Constructor.
virtual ~ImagePairRegistrationFunctional ()
 Destructor.
virtual void SetForceOutside (const bool flag=true, const Types::DataItem value=0)

Protected Member Functions

 cmtkGetSetMacro (MatchedLandmarkList::SmartPtr, MatchedLandmarkList)
 Optional list of matched landmarks.
 cmtkGetSetMacro (Self::ReturnType, LandmarkErrorWeight)
 Weight for the landmark registration error relative to image similarity.
const DataGrid::RegionType GetReferenceGridRange (const Vector3D &fromVOI, const Vector3D &toVOI)
 Find rectilinear area in original reference grid.

Protected Attributes

UniformVolume::SmartConstPtr m_ReferenceGrid
 Pointer to the reference grid.
UniformVolume::SmartConstPtr m_FloatingGrid
 Pointer to the floating grid.
DataClass m_ReferenceDataClass
 Data class of reference image.
DataClass m_FloatingDataClass
 Data class of floating image.
DataGrid::RegionType m_ReferenceCropRegion
 Rectangular crop region in the reference volume.
ImagePairSimilarityMeasure::SmartPtr m_Metric
 The metric (similarity measure) object.
DataGrid::IndexType m_FloatingDims
 Grid dimensions of the floating volume.
UniformVolume::CoordinateVectorType m_FloatingSize
 Extents of the floating volume in real-world coordinates.
UniformVolume::CoordinateVectorType m_FloatingInverseDelta
 Inverse pixel sizes of the floating volume.
UniformVolume::CoordinateRegionType m_FloatingCropRegionCoordinates
 Coordinates of the floating image's cropping region.
UniformVolume::CoordinateRegionType m_FloatingCropRegionFractIndex
 Fractional index starting coordinate of the floating's cropping region.
DataGrid::IndexType m_ReferenceDims
 Grid dimensions of the reference volume.
UniformVolume::CoordinateVectorType m_ReferenceSize
 Extents of the reference volume in real-world coordinates.
UniformVolume::CoordinateVectorType m_ReferenceInverseDelta
 Inverse pixel deltas of the reference volume.
bool m_ForceOutsideFlag
 Flag for forcing pixel values outside the floating image.
Types::DataItem m_ForceOutsideValueRescaled
 Rescaled byte value for forcing pixel values outside the floating image.

Private Member Functions

 ImagePairRegistrationFunctional (const ImagePairRegistrationFunctional &)
 Private copy constructor: prevent copying.
void InitFloating (UniformVolume::SmartConstPtr &floating)
 Initialize internal data structures for floating image.
void InitReference (UniformVolume::SmartConstPtr &reference)
 Initialize internal data structures for reference image.

Detailed Description

Base class for voxel matching functionals.

This class is used as the common base class for more specific functional classes. It contains all data structure and functions that do not depend on any template parameters introduced later in the inheritance hierarchy. It should therefore help avoiding unnecessary code duplication.

Definition at line 66 of file cmtkImagePairRegistrationFunctional.h.


Member Typedef Documentation


Constructor & Destructor Documentation

cmtk::ImagePairRegistrationFunctional::ImagePairRegistrationFunctional ( UniformVolume::SmartConstPtr reference,
UniformVolume::SmartConstPtr floating 
) [inline]

Constructor.

Init pointers to volume and transformation objects and initialize internal data structures.

Parameters:
referenceThe reference (i.e. static) volume.
floatingThe floating (i.e. transformed) volume.

Definition at line 106 of file cmtkImagePairRegistrationFunctional.h.

virtual cmtk::ImagePairRegistrationFunctional::~ImagePairRegistrationFunctional (  ) [inline, virtual]

Destructor.

Definition at line 117 of file cmtkImagePairRegistrationFunctional.h.

cmtk::ImagePairRegistrationFunctional::ImagePairRegistrationFunctional ( const ImagePairRegistrationFunctional  ) [inline, private]

Private copy constructor: prevent copying.

Definition at line 171 of file cmtkImagePairRegistrationFunctional.h.


Member Function Documentation

cmtk::ImagePairRegistrationFunctional::cmtkGetSetMacro ( MatchedLandmarkList::SmartPtr  ,
MatchedLandmarkList   
) [protected]

Optional list of matched landmarks.

cmtk::ImagePairRegistrationFunctional::cmtkGetSetMacro ( Self::ReturnType  ,
LandmarkErrorWeight   
) [protected]

Weight for the landmark registration error relative to image similarity.

virtual void cmtk::ImagePairRegistrationFunctional::SetForceOutside ( const bool  flag = true,
const Types::DataItem  value = 0 
) [inline, virtual]

Set flag and value for forcing values outside the floating image.

Reimplemented in cmtk::ImagePairNonrigidRegistrationFunctionalTemplate< VM >.

Definition at line 122 of file cmtkImagePairRegistrationFunctional.h.

Referenced by cmtk::ImagePairNonrigidRegistration::MakeFunctional(), and cmtk::ImagePairAffineRegistration::MakeFunctional().


Member Data Documentation

Coordinates of the floating image's cropping region.

Definition at line 142 of file cmtkImagePairRegistrationFunctional.h.

Fractional index starting coordinate of the floating's cropping region.

Definition at line 145 of file cmtkImagePairRegistrationFunctional.h.

Data class of floating image.

Definition at line 88 of file cmtkImagePairRegistrationFunctional.h.

Grid dimensions of the floating volume.

Definition at line 133 of file cmtkImagePairRegistrationFunctional.h.

Pointer to the floating grid.

Definition at line 82 of file cmtkImagePairRegistrationFunctional.h.

Inverse pixel sizes of the floating volume.

Definition at line 139 of file cmtkImagePairRegistrationFunctional.h.

Extents of the floating volume in real-world coordinates.

Definition at line 136 of file cmtkImagePairRegistrationFunctional.h.

Flag for forcing pixel values outside the floating image.

Definition at line 157 of file cmtkImagePairRegistrationFunctional.h.

Rescaled byte value for forcing pixel values outside the floating image.

Definition at line 160 of file cmtkImagePairRegistrationFunctional.h.

The metric (similarity measure) object.

Definition at line 130 of file cmtkImagePairRegistrationFunctional.h.

Rectangular crop region in the reference volume.

Definition at line 91 of file cmtkImagePairRegistrationFunctional.h.

Data class of reference image.

Definition at line 85 of file cmtkImagePairRegistrationFunctional.h.

Grid dimensions of the reference volume.

Definition at line 148 of file cmtkImagePairRegistrationFunctional.h.

Pointer to the reference grid.

Definition at line 79 of file cmtkImagePairRegistrationFunctional.h.

Inverse pixel deltas of the reference volume.

Definition at line 154 of file cmtkImagePairRegistrationFunctional.h.

Extents of the reference volume in real-world coordinates.

Definition at line 151 of file cmtkImagePairRegistrationFunctional.h.


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