16 for(
int i = 0; i < chip.
Samples(); i++) {
17 double pixels[chip.
Lines()];
19 for(
int j = 0; j < chip.
Lines(); j++) {
21 pixels[n] = chip.
GetValue(i + 1, j + 1);
double mdMaxDN
Standard Option MaxDN.
A small chip of data used for pattern matching.
double StandardDeviation() const
Computes and returns the standard deviation.
int Samples() const
Return the number of samples in the chip.
This class is used to accumulate statistics on double arrays.
virtual double Interest(Chip &chip)
This method returns the amount of interest for the given chip.
Standard deviation interest operator.
bool IsSpecial(const double d)
Returns if the input pixel is special.
Container for cube-like labels.
double mdMinDN
Standard Option MinDN.
int Lines() const
Return the number of lines in the chip.
double GetValue(int sample, int line)
Loads a Chip with a value.
void AddData(const double *data, const unsigned int count)
Add an array of doubles to the accumulators and counters.