|
Isis 3 Programmer Reference
|
7 #include "MaximumCorrelation.h"
9 #include "MultivariateStatistics.h"
14 std::vector <double> pdn, sdn;
18 for(
int l = 1; l <= pattern.
Lines(); l++) {
19 for(
int s = 1; s <= pattern.
Samples(); s++) {
42 return (fit1 >= fit2);
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.
BigInt ValidPixels() const
Returns the number of valid pixels processed.
double GetValue(int sample, int line)
Loads a Chip with a value.
Container for cube-like labels.
void AddData(const double *x, const double *y, const unsigned int count)
Add two arrays of doubles to the accumulators and counters.
virtual double MatchAlgorithm(Chip &pattern, Chip &subsearch)
Given two identically sized chips return a double that indicates how well they match.
Maximum correlation pattern matching.
Container of multivariate statistics.
double PatternValidPercent() const
Return pattern chip valid percent. The default value is.
const double Null
Value for an Isis Null pixel.
double Correlation() const
Computes and returns the coefficient of correlation (between -1.0 and 1.0) of the two data sets.
A small chip of data used for pattern matching.
This is free and unencumbered software released into the public domain.