Public Types | Public Member Functions | Private Attributes

cmtk::ImagePairSimilarityMeasureMSD Class Reference
[cmtkRegistration Library]

Mean squared difference metric. More...

#include <cmtkImagePairSimilarityMeasureMSD.h>

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

List of all members.

Public Types

typedef
ImagePairSimilarityMeasureMSD 
Self
 This type.
typedef SmartPointer< SelfSmartPtr
 Smart pointer.
typedef ImagePairSimilarityMeasure Superclass
 Parent class.

Public Member Functions

 ImagePairSimilarityMeasureMSD (const UniformVolume::SmartConstPtr &refVolume, const UniformVolume::SmartConstPtr &fltVolume, const Interpolators::InterpolationEnum interpolation=Interpolators::DEFAULT)
 Constructor.
virtual ~ImagePairSimilarityMeasureMSD ()
 Virtual destructor.
template<class T >
void Increment (const T a, const T b)
 Add a pair of values to the metric.
template<class T >
void Decrement (const T a, const T b)
 Remove a pair of values from the metric.
virtual void Reset ()
 Reset internal variables for next computation.
virtual Self::ReturnType Get () const
 Get the value of the metric.
void Add (const Self &other)
void Remove (const Self &other)

Private Attributes

double m_SumOfDifferences
 this->m_SumOfDifferences of all sample pair differences
int m_NumberOfSamples
 Number of sample pairs.

Detailed Description

Mean squared difference metric.

Definition at line 56 of file cmtkImagePairSimilarityMeasureMSD.h.


Member Typedef Documentation

This type.

Reimplemented from cmtk::ImagePairSimilarityMeasure.

Reimplemented in cmtk::ImagePairSimilarityMeasureRMS.

Definition at line 62 of file cmtkImagePairSimilarityMeasureMSD.h.

Smart pointer.

Reimplemented from cmtk::ImagePairSimilarityMeasure.

Reimplemented in cmtk::ImagePairSimilarityMeasureRMS.

Definition at line 65 of file cmtkImagePairSimilarityMeasureMSD.h.

Parent class.

Reimplemented in cmtk::ImagePairSimilarityMeasureRMS.

Definition at line 68 of file cmtkImagePairSimilarityMeasureMSD.h.


Constructor & Destructor Documentation

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

Virtual destructor.

Definition at line 80 of file cmtkImagePairSimilarityMeasureMSD.h.


Member Function Documentation

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

Definition at line 111 of file cmtkImagePairSimilarityMeasureMSD.h.

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

Remove a pair of values from the metric.

Definition at line 92 of file cmtkImagePairSimilarityMeasureMSD.h.

virtual Self::ReturnType cmtk::ImagePairSimilarityMeasureMSD::Get (  ) const [inline, virtual]

Get the value of the metric.

Implements cmtk::ImagePairSimilarityMeasure.

Reimplemented in cmtk::ImagePairSimilarityMeasureRMS.

Definition at line 106 of file cmtkImagePairSimilarityMeasureMSD.h.

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

Add a pair of values to the metric.

Definition at line 84 of file cmtkImagePairSimilarityMeasureMSD.h.

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

Definition at line 117 of file cmtkImagePairSimilarityMeasureMSD.h.

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

Reset internal variables for next computation.

Reimplemented from cmtk::ImagePairSimilarityMeasure.

Definition at line 99 of file cmtkImagePairSimilarityMeasureMSD.h.


Member Data Documentation

Number of sample pairs.

Definition at line 128 of file cmtkImagePairSimilarityMeasureMSD.h.

this->m_SumOfDifferences of all sample pair differences

Definition at line 125 of file cmtkImagePairSimilarityMeasureMSD.h.


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