Mean squared difference metric. More...
#include <cmtkVoxelMatchingMeanSquaredDifference.h>


Public Types | |
| typedef VoxelMatchingMeanSquaredDifference | Self |
| This type. | |
| typedef SmartPointer< Self > | SmartPtr |
| Smart pointer. | |
Public Member Functions | |
| VoxelMatchingMeanSquaredDifference (const UniformVolume *refVolume, const UniformVolume *fltVolume) | |
| Constructor. | |
| 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. | |
| void | Reset () |
| Reset internal variables for next computation. | |
| Self::ReturnType | Get () const |
| Get similarity measure value. | |
| void | AddMetric (const Self &other) |
| void | RemoveMetric (const Self &other) |
Private Attributes | |
| double | Sum |
| Sum of all value pair differences. | |
| int | Samples |
| Counter for number of sample pairs. | |
Mean squared difference metric.
Definition at line 55 of file cmtkVoxelMatchingMeanSquaredDifference.h.
This type.
Reimplemented from cmtk::VoxelMatchingMetric< T, DT, I >.
Definition at line 61 of file cmtkVoxelMatchingMeanSquaredDifference.h.
Smart pointer.
Reimplemented from cmtk::VoxelMatchingMetric< T, DT, I >.
Definition at line 64 of file cmtkVoxelMatchingMeanSquaredDifference.h.
| void cmtk::VoxelMatchingMeanSquaredDifference::AddMetric | ( | const Self & | other ) | [inline] |
Definition at line 104 of file cmtkVoxelMatchingMeanSquaredDifference.h.
| void cmtk::VoxelMatchingMeanSquaredDifference::Decrement | ( | const T | a, |
| const T | b | ||
| ) | [inline] |
Remove a pair of values from the metric.
Definition at line 84 of file cmtkVoxelMatchingMeanSquaredDifference.h.
| Self::ReturnType cmtk::VoxelMatchingMeanSquaredDifference::Get | ( | ) | const [inline] |
Get similarity measure value.
Definition at line 99 of file cmtkVoxelMatchingMeanSquaredDifference.h.
| void cmtk::VoxelMatchingMeanSquaredDifference::Increment | ( | const T | a, |
| const T | b | ||
| ) | [inline] |
Add a pair of values to the metric.
Definition at line 75 of file cmtkVoxelMatchingMeanSquaredDifference.h.
| void cmtk::VoxelMatchingMeanSquaredDifference::RemoveMetric | ( | const Self & | other ) | [inline] |
Definition at line 110 of file cmtkVoxelMatchingMeanSquaredDifference.h.
| void cmtk::VoxelMatchingMeanSquaredDifference::Reset | ( | ) | [inline] |
Reset internal variables for next computation.
Definition at line 92 of file cmtkVoxelMatchingMeanSquaredDifference.h.
int cmtk::VoxelMatchingMeanSquaredDifference::Samples [private] |
Counter for number of sample pairs.
Definition at line 123 of file cmtkVoxelMatchingMeanSquaredDifference.h.
Referenced by AddMetric(), and RemoveMetric().
double cmtk::VoxelMatchingMeanSquaredDifference::Sum [private] |
Sum of all value pair differences.
Definition at line 120 of file cmtkVoxelMatchingMeanSquaredDifference.h.
Referenced by AddMetric(), and RemoveMetric().
1.7.2