2-D histogram for entropy-based image similarity measures. More...
#include <cmtkRegistrationJointHistogram.h>
Public Types | |
typedef RegistrationJointHistogram< I > | Self |
This class. | |
typedef SmartPointer< Self > | SmartPtr |
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. |
2-D histogram for entropy-based image similarity measures.
Definition at line 57 of file cmtkRegistrationJointHistogram.h.
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.
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.
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.
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).
refIdx | Index of the current reference data sample. |
fltIdx | Index of the current floating data sample. |
frac | Fractional voxel coordinate of the probed floating data value. |
Definition at line 101 of file cmtkRegistrationJointHistogram.h.
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.