|
Isis Developer Reference
|
Go to the documentation of this file.
80 double startSample = 1.0,
double startLine = 1.0,
81 double endSample =
Null,
double endLine =
Null,
int bins = 0,
82 bool addCubeData =
false);
93 virtual void AddData(
const double *data,
const unsigned int count);
94 virtual void AddData(
const double data);
95 virtual void RemoveData(
const double *data,
const unsigned int count);
99 double Percent(
const double percent)
const;
103 virtual void BinRange(
const int index,
double &low,
double &high)
const;
110 return p_binRangeStart;
113 return p_binRangeEnd;
124 double p_binRangeStart, p_binRangeEnd;
const double ValidMaximum
The maximum valid double value for Isis pixels.
Definition: SpecialPixel.h:122
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:94
double Percent(const double percent) const
Computes and returns the value at X percent of the histogram.
Definition: Histogram.cpp:351
BigInt MaxBinCount() const
Returns the highest bin count.
Definition: Histogram.cpp:493
Functor for reduce using average functionality.
Definition: Reduce.h:107
const ControlMeasure * GetMeasure(QString serialNumber) const
Get a control measure based on its cube's serial number.
Definition: ControlPoint.cpp:416
void SetBins(const int bins)
Change the number of bins in the histogram and reset counters.
Definition: Histogram.cpp:219
double BinRangeStart() const
Definition: Histogram.h:109
double BinSize() const
Returns the size of an individual bin.
Definition: Histogram.cpp:470
Histogram(Cube &cube, int statsBand, Progress *progress=NULL, double startSample=1.0, double startLine=1.0, double endSample=Null, double endLine=Null, int bins=0, bool addCubeData=false)
int GetNumMeasures() const
Definition: ControlPoint.cpp:1702
virtual void RemoveData(const double *data, const unsigned int count)
Remove an array of doubles from the histogram counters.
Definition: Histogram.cpp:291
void Reset()
Resets histogram counters to zero.
Definition: Histogram.cpp:210
double BinMiddle(const int index) const
Returns the value represented by a bin.
Definition: Histogram.cpp:449
double Skew() const
Computes and returns the skew.
Definition: Histogram.cpp:384
void SetValidRange(const double minimum=Isis::ValidMinimum, const double maximum=Isis::ValidMaximum)
Definition: Statistics.cpp:255
bool IsSpecial(const double d)
Returns if the input pixel is special.
Definition: SpecialPixel.h:197
bool IsIgnored() const
Definition: ControlMeasure.cpp:630
virtual void BinRange(const int index, double &low, double &high) const
Returns the left edge and right edge values of a bin.
Definition: Histogram.cpp:427
BigInt BinCount(const int index) const
Returns the count at a bin position in the histogram.
Definition: Histogram.cpp:403
A single control point.
Definition: ControlPoint.h:354
int GetNumPoints() const
Return the number of control points in the network.
Definition: ControlNet.cpp:1465
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
virtual void AddData(const double *data, const unsigned int count)
Add an array of doubles to the histogram counters.
Definition: Histogram.cpp:232
void SetValidRange(const double minimum=Isis::ValidMinimum, const double maximum=Isis::ValidMaximum)
Changes the range of the bins.
Definition: Histogram.cpp:192
std::vector< BigInt > p_bins
The array of counts.
Definition: Histogram.h:121
double Mode() const
Returns the mode.
Definition: Histogram.cpp:328
const double NULL8
Definition: SpecialPixel.h:94
long long int BigInt
Big int.
Definition: Constants.h:49
a control network
Definition: ControlNet.h:257
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis exception class.
Definition: IException.h:91
Program progress reporter.
Definition: Progress.h:42
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
int Bins() const
Returns the number of bins in the histogram.
Definition: Histogram.cpp:483
const double ValidMinimum
The minimum valid double value for Isis pixels.
Definition: SpecialPixel.h:87
double Median() const
Returns the median.
Definition: Histogram.cpp:319
Namespace for the standard library.
Container of a cube histogram.
Definition: Histogram.h:74
bool IsValidPixel(const double d)
Returns if the input pixel is valid.
Definition: SpecialPixel.h:223
bool IsIgnored() const
Definition: ControlPoint.cpp:1311
double BinRangeEnd() const
Definition: Histogram.h:112
Adds specific functionality to C++ strings.
Definition: IString.h:165
~Histogram()
Destructs a histogram object.
Definition: Histogram.cpp:175
QString ArraySubscriptNotInRange(int index)
This error should be used when an Isis object or application is checking array bounds and the legal r...
Definition: ArraySubscriptNotInRange.cpp:31
const ControlPoint * GetPoint(QString pointId) const
Definition: ControlNet.cpp:1815
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
a control measurement
Definition: ControlMeasure.h:175