Public Types | Public Member Functions

cmtk::RegistrationJointHistogram< I > Class Template Reference
[cmtkRegistration Library]

2-D histogram for entropy-based image similarity measures. More...

#include <cmtkRegistrationJointHistogram.h>

Inheritance diagram for cmtk::RegistrationJointHistogram< I >:
Inheritance graph
[legend]
Collaboration diagram for cmtk::RegistrationJointHistogram< I >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
RegistrationJointHistogram< I > 
Self
 This class.
typedef SmartPointer< SelfSmartPtr
 Smart pointer.

Public Member Functions

 RegistrationJointHistogram (const UniformVolume *refVolume, const UniformVolume *fltVolume, const unsigned int numBinsX=CMTK_HISTOGRAM_AUTOBINS, const unsigned int numBinsY=CMTK_HISTOGRAM_AUTOBINS, const Types::DataItemRange &boundsX=Types::DataItemRange(-HUGE_VAL, HUGE_VAL), const Types::DataItemRange &boundsY=Types::DataItemRange(-HUGE_VAL, HUGE_VAL))
 Constructor.
void Proceed (const size_t refIdx, const size_t fltIdx, const Types::Coordinate *frac)
 Continue incremental calculation by fractional voxel index.
void AddMetric (const Self &other)
 Add another metric object, e.g., from distributed computation.
void RemoveMetric (const Self &other)
 Remove another metric, e.g., to undo results from an ROI in local computation.

Detailed Description

template<Interpolators::InterpolationEnum I = Interpolators::LINEAR>
class cmtk::RegistrationJointHistogram< I >

2-D histogram for entropy-based image similarity measures.

Definition at line 57 of file cmtkRegistrationJointHistogram.h.


Member Typedef Documentation

template<Interpolators::InterpolationEnum I = Interpolators::LINEAR>
typedef RegistrationJointHistogram<I> cmtk::RegistrationJointHistogram< I >::Self

This class.

Reimplemented from cmtk::JointHistogram< int >.

Reimplemented in cmtk::VoxelMatchingMutInf< I >, and cmtk::VoxelMatchingNormMutInf< I >.

Definition at line 65 of file cmtkRegistrationJointHistogram.h.

template<Interpolators::InterpolationEnum I = Interpolators::LINEAR>
typedef SmartPointer<Self> cmtk::RegistrationJointHistogram< I >::SmartPtr

Smart pointer.

Reimplemented from cmtk::JointHistogram< int >.

Reimplemented in cmtk::VoxelMatchingMutInf< I >, and cmtk::VoxelMatchingNormMutInf< I >.

Definition at line 68 of file cmtkRegistrationJointHistogram.h.


Member Function Documentation

template<Interpolators::InterpolationEnum I = Interpolators::LINEAR>
void cmtk::RegistrationJointHistogram< I >::AddMetric ( const Self other ) [inline]

Add another metric object, e.g., from distributed computation.

Definition at line 107 of file cmtkRegistrationJointHistogram.h.

template<Interpolators::InterpolationEnum I = Interpolators::LINEAR>
void cmtk::RegistrationJointHistogram< I >::Proceed ( const size_t  refIdx,
const size_t  fltIdx,
const Types::Coordinate frac 
) [inline]

Continue incremental calculation by fractional voxel index.

For a given pair of reference and floating sample, the computation proceeds. This means the bin counters for both given samples are incremented. Important is that for increased efficiency, only the indices of the samples in the original volume data are given. The bin indices of the respective data values are then retrieved from the pre-calculated raw byte array (see InitDataset).

Parameters:
refIdxIndex of the current reference data sample.
fltIdxIndex of the current floating data sample.
fracFractional voxel coordinate of the probed floating data value.

Definition at line 101 of file cmtkRegistrationJointHistogram.h.

template<Interpolators::InterpolationEnum I = Interpolators::LINEAR>
void cmtk::RegistrationJointHistogram< I >::RemoveMetric ( const Self other ) [inline]

Remove another metric, e.g., to undo results from an ROI in local computation.

Definition at line 113 of file cmtkRegistrationJointHistogram.h.


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