1#ifndef StatisticsTool_h
2#define StatisticsTool_h
107 bool p_showDeviation;
112 QVector<QVector<double> > p_pixelData;
137 void getStatistics(QPoint p);
141 QScrollArea *p_visualScroll;
142 QGroupBox *p_visualBox;
148 QLabel *p_stdevLabel;
152 QLineEdit *p_sampsEdit;
153 QLineEdit *p_linesEdit;
164 void changeBoxSamples();
165 void changeBoxLines();
This class is used to accumulate statistics on double arrays.
Definition Statistics.h:94
Pixel value mapper.
Definition Stretch.h:58
Tool to visualize statistics in an n * m box.
Definition StatisticsTool.h:48
void showText(bool b)
Show/Hide text.
Definition StatisticsTool.cpp:529
void updateSize()
Update the size of the box.
Definition StatisticsTool.cpp:505
void showDeviation(bool b)
Show/Hide deviation.
Definition StatisticsTool.cpp:562
QSize sizeHint() const
Size hint for this widget.
Definition StatisticsTool.cpp:456
void setLines(int lines)
Set box line size.
Definition StatisticsTool.cpp:479
void showPixels(bool b)
Show/Hide pixels.
Definition StatisticsTool.cpp:546
void paintPixmap()
Paint the pixmap.
Definition StatisticsTool.cpp:624
void paintEvent(QPaintEvent *event)
Paint pixmap to the widget.
Definition StatisticsTool.cpp:702
void setDn(const QString st)
Signal to set the DN label to st.
void setSamples(int samps)
Set box sample size.
Definition StatisticsTool.cpp:465
void leaveEvent(QEvent *event)
Mouse left widget, update labels.
Definition StatisticsTool.cpp:745
void setBoxSize(int size)
Set box size in pixels.
Definition StatisticsTool.cpp:493
VisualDisplay(QWidget *parent=0)
Constructor for visual display.
Definition StatisticsTool.cpp:422
void setSample(const QString st)
Signal to set the Sample label to st.
void setLine(const QString st)
Signal to set the Line label to st.
void mouseMoveEvent(QMouseEvent *event)
Called when the mouse moves over this widget.
Definition StatisticsTool.cpp:717
void setPixelData(QVector< QVector< double > > data, int samp, int line)
Set pixel data and upper left sample/line.
Definition StatisticsTool.cpp:580
This is free and unencumbered software released into the public domain.
Definition Calculator.h:18
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16