Public Types | Public Member Functions | Private Attributes

cmtk::ImagePairSimilarityMeasureCR Class Reference
[cmtkRegistration Library]

Pairwise image similarity measure "correlation ratio". More...

#include <cmtkImagePairSimilarityMeasureCR.h>

Inheritance diagram for cmtk::ImagePairSimilarityMeasureCR:
Inheritance graph
[legend]
Collaboration diagram for cmtk::ImagePairSimilarityMeasureCR:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
ImagePairSimilarityMeasureCR 
Self
 This type.
typedef SmartPointer< SelfSmartPtr
 Smart pointer.

Public Member Functions

 ImagePairSimilarityMeasureCR (const UniformVolume::SmartPtr &refVolume, const UniformVolume::SmartPtr &fltVolume, const Interpolators::InterpolationEnum interpolation=Interpolators::DEFAULT)
 Constructor.
virtual ~ImagePairSimilarityMeasureCR ()
 Destructor: free internal data structures.
virtual void Reset ()
 Reset computation.
template<class T >
void Increment (const T a, const T b)
 Continue incremental calculation.
template<class T >
void Decrement (const T a, const T b)
 Remove a pair of values from the metric.
void Add (const Self &other)
void Remove (const Self &other)
virtual Self::ReturnType Get () const
 Return correlation ratio.

Private Attributes

size_t NumBinsX
 Number of bins for the X-distribution.
std::vector< double > SumJ
 Array with sums of all Y-values by X-bins.
std::vector< double > SumJ2
 Array with sums of squares of all Y-values by X-bins.
Histogram< unsigned int > HistogramI
 Histogram with counts of all X-values.
Types::DataItem SigmaSqJ
Types::DataItem MuJ
size_t NumBinsY
 Number of bins for the Y-distribution.
std::vector< double > SumI
 Array with sums of all X-values by Y-bins.
std::vector< double > SumI2
 Array with sums of squares of all X-values by Y-bins.
Histogram< unsigned int > HistogramJ
 Histogram with counts of all X-values.
Types::DataItem SigmaSqI
Types::DataItem MuI

Detailed Description

Pairwise image similarity measure "correlation ratio".

Definition at line 52 of file cmtkImagePairSimilarityMeasureCR.h.


Member Typedef Documentation

This type.

Reimplemented from cmtk::ImagePairSimilarityMeasure.

Definition at line 58 of file cmtkImagePairSimilarityMeasureCR.h.

Smart pointer.

Reimplemented from cmtk::ImagePairSimilarityMeasure.

Definition at line 61 of file cmtkImagePairSimilarityMeasureCR.h.


Constructor & Destructor Documentation

virtual cmtk::ImagePairSimilarityMeasureCR::~ImagePairSimilarityMeasureCR (  ) [inline, virtual]

Destructor: free internal data structures.

Definition at line 72 of file cmtkImagePairSimilarityMeasureCR.h.


Member Function Documentation

void cmtk::ImagePairSimilarityMeasureCR::Add ( const Self other ) [inline]

Definition at line 132 of file cmtkImagePairSimilarityMeasureCR.h.

template<class T >
void cmtk::ImagePairSimilarityMeasureCR::Decrement ( const T  a,
const T  b 
) [inline]

Remove a pair of values from the metric.

Definition at line 112 of file cmtkImagePairSimilarityMeasureCR.h.

template<class T >
void cmtk::ImagePairSimilarityMeasureCR::Increment ( const T  a,
const T  b 
) [inline]

Continue incremental calculation.

Add a pair of values to the metric.

Definition at line 92 of file cmtkImagePairSimilarityMeasureCR.h.

void cmtk::ImagePairSimilarityMeasureCR::Remove ( const Self other ) [inline]

Definition at line 151 of file cmtkImagePairSimilarityMeasureCR.h.

virtual void cmtk::ImagePairSimilarityMeasureCR::Reset (  ) [inline, virtual]

Reset computation.

Initialize arrays that hold the sums of all floating values and their squares, separated by histogram classes of the reference image.

Reimplemented from cmtk::ImagePairSimilarityMeasure.

Definition at line 78 of file cmtkImagePairSimilarityMeasureCR.h.


Member Data Documentation

Histogram with counts of all X-values.

Definition at line 182 of file cmtkImagePairSimilarityMeasureCR.h.

Histogram with counts of all X-values.

Definition at line 200 of file cmtkImagePairSimilarityMeasureCR.h.

Definition at line 206 of file cmtkImagePairSimilarityMeasureCR.h.

Definition at line 188 of file cmtkImagePairSimilarityMeasureCR.h.

Number of bins for the X-distribution.

Definition at line 173 of file cmtkImagePairSimilarityMeasureCR.h.

Number of bins for the Y-distribution.

Definition at line 191 of file cmtkImagePairSimilarityMeasureCR.h.

Definition at line 203 of file cmtkImagePairSimilarityMeasureCR.h.

Definition at line 185 of file cmtkImagePairSimilarityMeasureCR.h.

std::vector<double> cmtk::ImagePairSimilarityMeasureCR::SumI [private]

Array with sums of all X-values by Y-bins.

Definition at line 194 of file cmtkImagePairSimilarityMeasureCR.h.

std::vector<double> cmtk::ImagePairSimilarityMeasureCR::SumI2 [private]

Array with sums of squares of all X-values by Y-bins.

Definition at line 197 of file cmtkImagePairSimilarityMeasureCR.h.

std::vector<double> cmtk::ImagePairSimilarityMeasureCR::SumJ [private]

Array with sums of all Y-values by X-bins.

Definition at line 176 of file cmtkImagePairSimilarityMeasureCR.h.

std::vector<double> cmtk::ImagePairSimilarityMeasureCR::SumJ2 [private]

Array with sums of squares of all Y-values by X-bins.

Definition at line 179 of file cmtkImagePairSimilarityMeasureCR.h.


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