52 for(
double l = 1.0; l <= pattern.
Lines(); l++) {
53 for(
double s = 1.0; s <= pattern.
Samples(); s++) {
57 double pdn = pattern.
GetValue(samp, line);
58 double sdn = subsearch.
GetValue(samp, line);
61 diff += fabs(pdn - sdn);
77 return (fit1 <= fit2);
A small chip of data used for pattern matching.
bool IsSpecial(const double d)
Returns if the input pixel is special.
Container for cube-like labels.
virtual bool CompareFits(double fit1, double fit2)
This virtual method must return if the 1st fit is equal to or better than the second fit...
Namespace for ISIS/Bullet specific routines.
virtual double MatchAlgorithm(Chip &pattern, Chip &subsearch)
Minimum difference match algorithm.
double GetValue(int sample, int line)
Loads a Chip with a value.
Minimum difference pattern matching.