Base class for voxel matching functionals. More...
#include <cmtkVoxelMatchingFunctional.h>
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. |
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.
This class.
Reimplemented from cmtk::Functional.
Reimplemented in cmtk::ParallelElasticFunctional< VM >, cmtk::VoxelMatchingAffineFunctional, cmtk::VoxelMatchingAffineFunctionalTemplate< VM >, cmtk::VoxelMatchingElasticFunctional, cmtk::VoxelMatchingElasticFunctional_WarpTemplate< W >, cmtk::VoxelMatchingElasticFunctional_Template< VM >, and cmtk::VoxelMatchingElasticFunctional_WarpTemplate< SplineWarpXform >.
Definition at line 73 of file cmtkVoxelMatchingFunctional.h.
Superclass.
Reimplemented in cmtk::ParallelElasticFunctional< VM >, cmtk::VoxelMatchingAffineFunctional, cmtk::VoxelMatchingAffineFunctionalTemplate< VM >, cmtk::VoxelMatchingElasticFunctional, cmtk::VoxelMatchingElasticFunctional_WarpTemplate< W >, and cmtk::VoxelMatchingElasticFunctional_WarpTemplate< SplineWarpXform >.
Definition at line 76 of file cmtkVoxelMatchingFunctional.h.
cmtk::VoxelMatchingFunctional::VoxelMatchingFunctional | ( | UniformVolume::SmartPtr & | reference, |
UniformVolume::SmartPtr & | floating | ||
) | [inline] |
Constructor.
Init pointers to volume and transformation objects and initialize internal data structures.
reference | The reference (i.e. static) volume. |
floating | The 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.
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.
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.
UniformVolume::CoordinateRegionType cmtk::VoxelMatchingFunctional::m_FloatingCropRegionCoordinates [protected] |
Coordinates of the floating image's cropping region.
Definition at line 130 of file cmtkVoxelMatchingFunctional.h.
UniformVolume::CoordinateRegionType cmtk::VoxelMatchingFunctional::m_FloatingCropRegionFractional [protected] |
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.