1#ifndef ImageHistogram_h 
    2#define ImageHistogram_h 
   11#include "IException.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);
 
 
IO Handler for Isis Cubes.
Container of a cube histogram.
Container of a cube histogram.
ImageHistogram(double minimum, double maximum, int bins=1024)
Constructs a histogram object.
virtual void AddData(const double *data, const unsigned int count)
Add an array of doubles to the histogram counters.
virtual void RemoveData(const double *data, const unsigned int count)
Remove an array of doubles from the histogram counters.
~ImageHistogram()
Destructs a histogram object.
virtual void BinRange(const int index, double &low, double &high) const
Returns the left edge and right edge values of a bin.
Program progress reporter.
This is free and unencumbered software released into the public domain.
const double Null
Value for an Isis Null pixel.