Public Types | Public Member Functions | Protected Attributes

cmtk::VoxelMatchingElasticFunctional_Template< VM > Class Template Reference
[cmtkRegistration Library]

Functional that evaluates a voxel-based similarity measure. More...

#include <cmtkVoxelMatchingElasticFunctional.h>

Inheritance diagram for cmtk::VoxelMatchingElasticFunctional_Template< VM >:
Inheritance graph
[legend]
Collaboration diagram for cmtk::VoxelMatchingElasticFunctional_Template< VM >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
VoxelMatchingElasticFunctional_Template
< VM > 
Self
 This class.

Public Member Functions

 VoxelMatchingElasticFunctional_Template (UniformVolume::SmartPtr &reference, UniformVolume::SmartPtr &floating)
 Constructor.
virtual ~VoxelMatchingElasticFunctional_Template ()
 Virtual destructor.
virtual void SetForceOutside (const bool flag=true, const Types::DataItem value=0)
 Set flag and value for forcing values outside the floating image.
Self::ReturnType EvaluateIncremental (const SplineWarpXform *warp, SmartPointer< VM > &localMetric, const DataGrid::RegionType &voi)
 Evaluate functional after change of a single parameter.
void UpdateWarpFixedParameters ()
 Update set of active and passive parameters.
virtual Self::ReturnType EvaluateWithGradient (CoordinateVector &v, CoordinateVector &g, const Types::Coordinate step=1)
 Compute functional value and gradient.
virtual Self::ReturnType EvaluateAt (CoordinateVector &v)
 Evaluate functional.
virtual Self::ReturnType Evaluate ()
 Evaluate functional.

Protected Attributes

VM::Exchange * WarpedVolume
 Ground transformed volume.
bool m_ForceOutsideFlag
 Flag for forcing pixel values outside the floating image.
VM::Exchange m_ForceOutsideValueRescaled
 Rescaled byte value for forcing pixel values outside the floating image.
SmartPointer< VM > IncrementalMetric
 Metric object for incremental computation.
DataGrid::IndexType::ValueType DimsX
 Shortcut variables for x, y, z dimension of the reference image.
DataGrid::IndexType::ValueType DimsY
DataGrid::IndexType::ValueType DimsZ
DataGrid::IndexType::ValueType FltDimsX
 Shorcut variables for x and y dimensions of the floating image.
DataGrid::IndexType::ValueType FltDimsY

Detailed Description

template<class VM>
class cmtk::VoxelMatchingElasticFunctional_Template< VM >

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.

Definition at line 343 of file cmtkVoxelMatchingElasticFunctional.h.


Member Typedef Documentation


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