Inheritance diagram for w2img::ProbabilisticImageComparator:

Public Member Functions | |
| ProbabilisticImageComparator (double minValue, double maxValue, bool maxIsBetter, const std::vector< code::Image< float > > &kernels, float prob_thresh_min, float prob_thresh_max) | |
| virtual | ~ProbabilisticImageComparator () |
| virtual Score | scoreFiltered (const code::Image< float > &orig, const code::Image< float > &fil_prob) const |
| uses a fake image based on the probability encoded in fil_prob and calls ImageComparator::scoreFiltered | |
| std::vector< Score > | score (const code::CartesianGrid2D &orig, const code::CartesianGrid2D &fil) const |
| the two images should be of identical sizes. | |
| std::vector< Score > | score (const code::LatLonGrid &orig, const code::LatLonGrid &fil) const |
| the two images should be of identical sizes. | |
| std::vector< Score > | score (const code::PolarGrid &orig, const code::PolarGrid &fil) const |
| the two images should be of identical sizes. | |
| std::vector< Score > | score (const code::Image< float > &orig, const code::Image< float > &fil) const |
| void | updateScore (double orig, double filtered, ImageComparator::Score *score) const |
| Updates this score based on the orig and filtered values if findError returns true. | |
| bool | findError (double orig, double filtered, double &error, bool &origValid, bool &estValid) const |
| Find the error. | |
Protected Attributes | |
| std::vector< code::SmartPtr< KernelFilter > > | filters |
| double | minValue |
| double | maxValue |
| bool | maxIsBetter |
| int | searchRadius |
| bool | includeNulls |
| w2img::ProbabilisticImageComparator::ProbabilisticImageComparator | ( | double | minValue, | |
| double | maxValue, | |||
| bool | maxIsBetter, | |||
| const std::vector< code::Image< float > > & | kernels, | |||
| float | prob_thresh_min, | |||
| float | prob_thresh_max | |||
| ) |
| virtual w2img::ProbabilisticImageComparator::~ProbabilisticImageComparator | ( | ) | [inline, virtual] |
| bool w2img::ImageComparator::findError | ( | double | orig, | |
| double | filtered, | |||
| double & | error, | |||
| bool & | origValid, | |||
| bool & | estValid | |||
| ) | const [inherited] |
Find the error.
The error is (filtered - orig) if both numbers are valid.
| std::vector<Score> w2img::ImageComparator::score | ( | const code::Image< float > & | orig, | |
| const code::Image< float > & | fil | |||
| ) | const [inherited] |
| std::vector<Score> w2img::ImageComparator::score | ( | const code::PolarGrid & | orig, | |
| const code::PolarGrid & | fil | |||
| ) | const [inherited] |
the two images should be of identical sizes.
| std::vector<Score> w2img::ImageComparator::score | ( | const code::LatLonGrid & | orig, | |
| const code::LatLonGrid & | fil | |||
| ) | const [inherited] |
the two images should be of identical sizes.
| std::vector<Score> w2img::ImageComparator::score | ( | const code::CartesianGrid2D & | orig, | |
| const code::CartesianGrid2D & | fil | |||
| ) | const [inherited] |
the two images should be of identical sizes.
the return is the Score for each of the given kernels.
| virtual Score w2img::ProbabilisticImageComparator::scoreFiltered | ( | const code::Image< float > & | orig, | |
| const code::Image< float > & | fil_prob | |||
| ) | const [virtual] |
uses a fake image based on the probability encoded in fil_prob and calls ImageComparator::scoreFiltered
Reimplemented from w2img::ImageComparator.
| void w2img::ImageComparator::updateScore | ( | double | orig, | |
| double | filtered, | |||
| ImageComparator::Score * | score | |||
| ) | const [inherited] |
Updates this score based on the orig and filtered values if findError returns true.
std::vector< code::SmartPtr<KernelFilter> > w2img::ImageComparator::filters [protected, inherited] |
bool w2img::ImageComparator::includeNulls [protected, inherited] |
bool w2img::ImageComparator::maxIsBetter [protected, inherited] |
double w2img::ImageComparator::maxValue [protected, inherited] |
double w2img::ImageComparator::minValue [protected, inherited] |
int w2img::ImageComparator::searchRadius [protected, inherited] |
1.4.7