forked from zhangyiwei79/Opticks-SAR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEdgeRatioThresholdDlg.h
45 lines (34 loc) · 1010 Bytes
/
EdgeRatioThresholdDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* The information in this file is
* Copyright(c) 2007 Ball Aerospace & Technologies Corporation
* and is subject to the terms and conditions of the
* GNU Lesser General Public License Version 2.1
* The license text is available from
* http://www.gnu.org/licenses/lgpl.html
*/
#ifndef EDGE_RATIO_THRESHOLD_DLG_H
#define EDGE_RATIO_THRESHOLD_DLG_H
#include <QtGui/QDialog>
class QDoubleSpinBox;
class EdgeRatioThresholdDlg : public QDialog
{
Q_OBJECT
public:
EdgeRatioThresholdDlg(QWidget* pParent, double t1, double t2, double t3);
private slots:
void setSmallThreshold(double t);
void setMeidanThreshold(double t);
void setLargeThreshold(double t);
public:
QDoubleSpinBox* mSmallThresholdBox;
QDoubleSpinBox* mMedianThresholdBox;
QDoubleSpinBox* mLargeThresholdBox;
double getSmallThreshold();
double getMedianThreshold();
double getLargeThreshold();
private:
double mSmallThreshold;
double mMedianThreshold;
double mLargeThreshold;
};
#endif