8 std::vector <double> pdn, sdn;
12 for(
int l = 1; l <= pattern.
Lines(); l++) {
13 for(
int s = 1; s <= pattern.
Samples(); s++) {
36 return (fit1 >= fit2);
const double Null
Value for an Isis Null pixel.
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...
A small chip of data used for pattern matching.
double Correlation() const
Computes and returns the coefficient of correlation (between -1.0 and 1.0) of the two data sets...
virtual double MatchAlgorithm(Chip &pattern, Chip &subsearch)
Given two identically sized chips return a double that indicates how well they match.
int Samples() const
Return the number of samples in the chip.
double PatternValidPercent() const
Return pattern chip valid percent. The default value is.
Container of multivariate statistics.
Container for cube-like labels.
int Lines() const
Return the number of lines in the chip.
void AddData(const double *x, const double *y, const unsigned int count)
Add two arrays of doubles to the accumulators and counters.
double GetValue(int sample, int line)
Loads a Chip with a value.
BigInt ValidPixels() const
Returns the number of valid pixels processed.
Maximum correlation pattern matching.