7#include "StandardDeviationOperator.h"
22 for(
int i = 0; i < chip.
Samples(); i++) {
23 double pixels[chip.
Lines()];
25 for(
int j = 0; j < chip.
Lines(); j++) {
27 pixels[n] = chip.
GetValue(i + 1, j + 1);
A small chip of data used for pattern matching.
double GetValue(int sample, int line)
Loads a Chip with a value.
double mdMinDN
Standard Option MinDN.
double mdMaxDN
Standard Option MaxDN.
Container for cube-like labels.
Standard deviation interest operator.
virtual double Interest(Chip &chip)
This method returns the amount of interest for the given chip.
This class is used to accumulate statistics on double arrays.
void AddData(const double *data, const unsigned int count)
Add an array of doubles to the accumulators and counters.
double StandardDeviation() const
Computes and returns the standard deviation.
This is free and unencumbered software released into the public domain.
bool IsSpecial(const double d)
Returns if the input pixel is special.