|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef HistogramTool_h
2 #define HistogramTool_h
14 class HistogramToolWindow;
15 class MdiCubeViewport;
61 void validatePlotCurves();
63 HistogramToolWindow *m_histToolWindow;
66 QPointer<HistogramItem> m_frequencyItem;
68 QPointer<CubePlotCurve> m_percentageCurve;
72 QPointer<RubberBandComboBox> m_rubberBandCombo;
void SetBasePosition(const int start_sample, const int start_line, const int start_band)
This method is used to set the base position of the shape buffer.
Definition: Brick.h:120
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:39
@ CubeDN
The data is a Cube DN value.
Definition: PlotCurve.h:67
Combo box for choosing a rubber band type.
Definition: RubberBandComboBox.h:26
virtual void AddData(const double *data, const unsigned int count)
Add an array of doubles to the histogram counters.
Definition: ImageHistogram.cpp:228
void add(HistogramItem *)
Add a HistogramItem to the plot.
Definition: HistogramPlotWindow.cpp:60
void read(Blob &blob, const std::vector< PvlKeyword > keywords=std::vector< PvlKeyword >()) const
This method will read data from the specified Blob object.
Definition: Cube.cpp:807
double BinSize() const
Returns the size of an individual bin.
Definition: Histogram.cpp:470
double * DoubleBuffer() const
Returns the value of the shape buffer.
Definition: Buffer.h:138
Definition: HistogramPlotWindow.h:16
double Maximum() const
Returns the absolute maximum double found in all data passed through the AddData method.
Definition: Statistics.cpp:403
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
@ Line
Line.
Definition: RubberBandComboBox.h:42
static geos::geom::GeometryFactory::Ptr globalFactory
Definition: PolygonTools.h:51
@ Rectangle
Rectangle.
Definition: RubberBandComboBox.h:39
static QString defaultWindowTitle()
This is the typical suffix for plot windows, it's here in case we want to update all plot windows to ...
Definition: PlotWindow.cpp:1810
BigInt ValidPixels() const
Returns the total number of valid pixels processed.
Definition: Statistics.cpp:433
Buffer for containing a three dimensional section of an image.
Definition: Brick.h:45
This is the (qwt) plot item for a histogram.
Definition: HistogramItem.h:24
BigInt BinCount(const int index) const
Returns the count at a bin position in the histogram.
Definition: Histogram.cpp:403
double Variance() const
Computes and returns the variance.
Definition: Statistics.cpp:328
void cubeToViewport(double sample, double line, int &x, int &y) const
Turns a cube into a viewport.
Definition: CubeViewport.cpp:852
int grayBand() const
Definition: CubeViewport.h:194
@ Percentage
The data is a percentage (0-100).
Definition: PlotCurve.h:75
double StandardDeviation() const
Computes and returns the standard deviation.
Definition: Statistics.cpp:312
double Minimum() const
Returns the absolute minimum double found in all data passed through the AddData method.
Definition: Statistics.cpp:382
double Mode() const
Returns the mode.
Definition: Histogram.cpp:328
Container of a cube histogram.
Definition: ImageHistogram.h:40
IO Handler for Isis Cubes.
Definition: Cube.h:167
#define round(x)
This is free and unencumbered software released into the public domain.
Definition: ViewportBuffer.cpp:29
QDockWidget * getDockWidget()
Definition: HistogramPlotWindow.h:33
double Average() const
Computes and returns the average.
Definition: Statistics.cpp:300
int Bins() const
Returns the number of bins in the histogram.
Definition: Histogram.cpp:483
double Median() const
Returns the median.
Definition: Histogram.cpp:319
void viewportToCube(int x, int y, double &sample, double &line) const
Turns a viewport into a cube.
Definition: CubeViewport.cpp:815
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:18
void replot()
Reset the scale of the plot, replot it and emit plot changed.
Definition: PlotWindow.cpp:1797
Definition: PlotWindow.h:88
Cube * cube() const
Definition: CubeViewport.h:338
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16