Functional that evaluates a voxel-based similarity measure. More...
#include <cmtkVoxelMatchingFunctional.h>
Public Member Functions | |
VoxelMatchingFunctional_Template (UniformVolume::SmartPtr &reference, UniformVolume::SmartPtr &floating) | |
Constructor. | |
virtual | ~VoxelMatchingFunctional_Template () |
Destructor. | |
Protected Attributes | |
SmartPointer< VM > | Metric |
Pointer to the voxel-metric. |
Functional that evaluates a voxel-based similarity measure.
This class defines the type of functional that is optimized during voxel-based registration. It holds references to reference and floating data and computes similarity as well as its gradient w.r.t. a given transformation.
The metric to be optimized is given by a template parameter, therefore allowing inlined code to be generated for efficient evaluation.
This class, however, is still universal with respect to the registration transformation. Derived classes can therefore efficiently implement all transformation-dependent operations.
Definition at line 177 of file cmtkVoxelMatchingFunctional.h.
cmtk::VoxelMatchingFunctional_Template< VM >::VoxelMatchingFunctional_Template | ( | 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 191 of file cmtkVoxelMatchingFunctional.h.
virtual cmtk::VoxelMatchingFunctional_Template< VM >::~VoxelMatchingFunctional_Template | ( | ) | [inline, virtual] |
SmartPointer<VM> cmtk::VoxelMatchingFunctional_Template< VM >::Metric [protected] |
Pointer to the voxel-metric.
Definition at line 181 of file cmtkVoxelMatchingFunctional.h.