|
Isis 3 Programmer Reference
|
1 #ifndef ImageHistogram_h
2 #define ImageHistogram_h
11 #include "IException.h"
13 #include "Histogram.h"
14 #include "ImageHistogram.h"
45 double startSample = 1.0,
double startLine = 1.0,
46 double endSample =
Null,
double endLine =
Null,
int bins = 0,
47 bool addCubeData =
false);
51 virtual void AddData(
const double *data,
const unsigned int count);
52 virtual void AddData(
const double data);
53 virtual void RemoveData(
const double *data,
const unsigned int count);
55 virtual void BinRange(
const int index,
double &low,
double &high)
const;
58 void InitializeFromCube(
Cube &cube,
int statsBand,
59 Progress *progress,
int nbins,
double startSample,
double startLine,
60 double endSample,
double endLine);
virtual void AddData(const double *data, const unsigned int count)
Add an array of doubles to the histogram counters.
ImageHistogram(double minimum, double maximum, int bins=1024)
Constructs a histogram object.
virtual void RemoveData(const double *data, const unsigned int count)
Remove an array of doubles from the histogram counters.
Container of a cube histogram.
IO Handler for Isis Cubes.
~ImageHistogram()
Destructs a histogram object.
Program progress reporter.
const double Null
Value for an Isis Null pixel.
Container of a cube histogram.
virtual void BinRange(const int index, double &low, double &high) const
Returns the left edge and right edge values of a bin.
This is free and unencumbered software released into the public domain.