Mean squared difference metric. More...
#include <cmtkImagePairSimilarityMeasureMSD.h>
Public Types | |
typedef ImagePairSimilarityMeasureMSD | Self |
This type. | |
typedef SmartPointer< Self > | SmartPtr |
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. |
Mean squared difference metric.
Definition at line 56 of file cmtkImagePairSimilarityMeasureMSD.h.
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.
virtual cmtk::ImagePairSimilarityMeasureMSD::~ImagePairSimilarityMeasureMSD | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 80 of file cmtkImagePairSimilarityMeasureMSD.h.
void cmtk::ImagePairSimilarityMeasureMSD::Add | ( | const Self & | other ) | [inline] |
Definition at line 111 of file cmtkImagePairSimilarityMeasureMSD.h.
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.
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.
int cmtk::ImagePairSimilarityMeasureMSD::m_NumberOfSamples [private] |
Number of sample pairs.
Definition at line 128 of file cmtkImagePairSimilarityMeasureMSD.h.
double cmtk::ImagePairSimilarityMeasureMSD::m_SumOfDifferences [private] |
this->m_SumOfDifferences of all sample pair differences
Definition at line 125 of file cmtkImagePairSimilarityMeasureMSD.h.