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

cmtk::VoxelMatchingFunctional Class Reference
[cmtkRegistration Library]

Base class for voxel matching functionals. More...

#include <cmtkVoxelMatchingFunctional.h>

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

List of all members.

Public Types

typedef VoxelMatchingFunctional Self
 This class.
typedef Functional Superclass
 Superclass.

Public Member Functions

 VoxelMatchingFunctional (UniformVolume::SmartPtr &reference, UniformVolume::SmartPtr &floating)
 Constructor.
virtual ~VoxelMatchingFunctional ()
 Destructor.

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::SmartPtr ReferenceGrid
 Pointer to the reference grid.
UniformVolume::SmartPtr FloatingGrid
 Pointer to the floating grid.
DataClass ReferenceDataClass
 Data class of reference image.
DataClass FloatingDataClass
 Data class of floating image.
DataGrid::RegionType m_ReferenceCropRegion
 Crop region in the reference volume.
DataGrid::IndexType FloatingDims
 Grid dimensions of the floating volume.
UniformVolume::CoordinateVectorType FloatingSize
 Extents of the floating volume in real-world coordinates.
Vector3D FloatingInverseDelta
 Inverse pixel sizes of the floating volume.
UniformVolume::CoordinateRegionType m_FloatingCropRegionCoordinates
 Coordinates of the floating image's cropping region.
UniformVolume::CoordinateRegionType m_FloatingCropRegionFractional
 Fractional index coordinates of the floating image's cropping region.
DataGrid::IndexType ReferenceDims
 Grid dimensions of the reference volume.
UniformVolume::CoordinateVectorType ReferenceSize
 Extents of the reference volume in real-world coordinates.
UniformVolume::CoordinateVectorType ReferenceInvDelta
 Inverse pixel deltas of the reference volume.

Private Member Functions

 VoxelMatchingFunctional (const VoxelMatchingFunctional &)
 Private copy constructor: prevent copying.
void InitFloating (UniformVolume::SmartPtr &floating)
 Initialize internal data structures for floating image.
void InitReference (UniformVolume::SmartPtr &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 67 of file cmtkVoxelMatchingFunctional.h.


Member Typedef Documentation


Constructor & Destructor Documentation

cmtk::VoxelMatchingFunctional::VoxelMatchingFunctional ( UniformVolume::SmartPtr reference,
UniformVolume::SmartPtr 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 107 of file cmtkVoxelMatchingFunctional.h.

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

Destructor.

Definition at line 117 of file cmtkVoxelMatchingFunctional.h.

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

Private copy constructor: prevent copying.

Definition at line 154 of file cmtkVoxelMatchingFunctional.h.


Member Function Documentation

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

Optional list of matched landmarks.

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

Weight for the landmark registration error relative to image similarity.


Member Data Documentation

Data class of floating image.

Definition at line 89 of file cmtkVoxelMatchingFunctional.h.

Grid dimensions of the floating volume.

Definition at line 121 of file cmtkVoxelMatchingFunctional.h.

Pointer to the floating grid.

Definition at line 83 of file cmtkVoxelMatchingFunctional.h.

Inverse pixel sizes of the floating volume.

Definition at line 127 of file cmtkVoxelMatchingFunctional.h.

Extents of the floating volume in real-world coordinates.

Definition at line 124 of file cmtkVoxelMatchingFunctional.h.

Coordinates of the floating image's cropping region.

Definition at line 130 of file cmtkVoxelMatchingFunctional.h.

Fractional index coordinates of the floating image's cropping region.

Definition at line 133 of file cmtkVoxelMatchingFunctional.h.

Crop region in the reference volume.

Definition at line 92 of file cmtkVoxelMatchingFunctional.h.

Data class of reference image.

Definition at line 86 of file cmtkVoxelMatchingFunctional.h.

Grid dimensions of the reference volume.

Definition at line 136 of file cmtkVoxelMatchingFunctional.h.

Pointer to the reference grid.

Definition at line 80 of file cmtkVoxelMatchingFunctional.h.

Inverse pixel deltas of the reference volume.

Definition at line 142 of file cmtkVoxelMatchingFunctional.h.

Extents of the reference volume in real-world coordinates.

Definition at line 139 of file cmtkVoxelMatchingFunctional.h.


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