#include <descriptor.h>
Inheritance diagram for fl::Comparison:

Public Methods | |
| virtual | ~Comparison () |
| Establishes that destructor is virtual, but doesn't do anything else. | |
| virtual Vector< float > | preprocess (const Vector< float > &value) const |
| virtual float | value (const Vector< float > &value1, const Vector< float > &value2, bool preprocessed=false) const=0 |
| virtual void | read (std::istream &stream) |
| virtual void | write (std::ostream &stream, bool withName=true) |
Static Public Methods | |
| void | addProducts () |
| Registers with the Factory all basic Comparison classes other than ComparisonCombo. | |
The application should remap [0,1] to an actual probability if that is what it requires. At some point, it may make sense to add a Function object that we run on behalf of the application to reshape the result.
|
|
Establishes that destructor is virtual, but doesn't do anything else.
|
|
|
Registers with the Factory all basic Comparison classes other than ComparisonCombo. Since at present all Comparisons (other than ComparisonCombo) are lightweight classes implemented in this single source file, it makes sense to just register them all at once. Another alternative would be to hard code a factory just for Comparisons. However, the Factory template is more flexible. |
|
|
Reimplemented in fl::ComparisonCombo, fl::NormalizedCorrelation, and fl::ChiSquared. |
|
|
Reimplemented in fl::ComparisonCombo, fl::NormalizedCorrelation, and fl::MetricEuclidean. |
|
||||||||||||||||
|
Implemented in fl::ComparisonCombo, fl::NormalizedCorrelation, fl::MetricEuclidean, fl::HistogramIntersection, and fl::ChiSquared. |
|
||||||||||||
|
Reimplemented in fl::ComparisonCombo, fl::NormalizedCorrelation, and fl::MetricEuclidean. |
1.2.18