Class with operators to compute various pixel similarity measures. More...
#include <cmtkTypedArraySimilarity.h>

Public Types | |
| enum | ID { MI = 0, NMI = 1, CR = 2, CC = 3, MSD = 4, PSNR = 5, DAE = 6 } |
Identifiers for all available metrics. More... | |
| typedef Functional::ReturnType | ReturnType |
| Return type for all similarity measures: match cmtk::Functional's. | |
Static Public Member Functions | |
| static ReturnType | GetMutualInformation (const TypedArray *array0, const TypedArray *array1, TypedArraySimilarityMemory *const memory=NULL) |
| Compute mutual information between two pixel arrays. | |
| static ReturnType | GetMutualInformation (const std::vector< const TypedArray * > &data0, const std::vector< const TypedArray * > &data1, const bool normalized=false) |
| Compute mutual information between two sets of pixel arrays. | |
| static ReturnType | GetNormalizedMutualInformation (const std::vector< const TypedArray * > &data0, const std::vector< const TypedArray * > &data1) |
| Compute norrmalized mutual information between two sets of pixel arrays. | |
| static ReturnType | GetCorrelationRatio (const TypedArray *array0, const TypedArray *array1) |
| Compute correlation ratio between two pixel arrays. | |
| static ReturnType | GetNormalizedMutualInformation (const TypedArray *array0, const TypedArray *array1, TypedArraySimilarityMemory *const memory=NULL) |
| Compute normalized mutual information between two pixel arrays. | |
| static ReturnType | GetMinusMeanSquaredDifference (const TypedArray *array0, const TypedArray *array1) |
| Compute negated (i.e., sign-switched) mean squared pixel difference between two pixel arrays. | |
| static ReturnType | GetPeakSignalToNoiseRatio (const TypedArray *data, const TypedArray *signal) |
| Compute Peak-Signal-to-Noise-Ratio. | |
| static ReturnType | GetCrossCorrelation (const TypedArray *array0, const TypedArray *array1) |
| Compute normalized cross correlation between two pixel arrays. | |
| static TypedArray::SmartPtr | GetDifferenceArray (const TypedArray *array0, const TypedArray *array1, Types::DataItem &scaleFactor) |
| Compute scaled difference of two images. | |
| static ReturnType | GetDifferenceArrayEntropy (const TypedArray *array0, const TypedArray *array1, Types::DataItem &scaleFactor) |
| Compute entropy of difference of two images. | |
| static bool | CheckArrayDimensions (const TypedArray *array0, const TypedArray *array1) |
| Check whether two pixel arrays have matching pixel dimensions. | |
| static ReturnType | GetOptimalScale (const TypedArray *array0, const TypedArray *array1) |
| Compute the optimal scale factor between two images. | |
Class with operators to compute various pixel similarity measures.
Definition at line 53 of file cmtkTypedArraySimilarity.h.
Identifiers for all available metrics.
| MI |
Mutual information. |
| NMI |
Normalized mutual information. |
| CR |
Correlation ratio. |
| CC |
Cross correlation. |
| MSD |
Mean squared difference. |
| PSNR |
Peak signal-to-noise ratio. |
| DAE |
Difference array entropy. |
Reimplemented in cmtk::ScalarImageSimilarity.
Definition at line 57 of file cmtkTypedArraySimilarity.h.
1.7.2