-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathWaveletKSigmaDlg.h
More file actions
49 lines (36 loc) · 983 Bytes
/
Copy pathWaveletKSigmaDlg.h
File metadata and controls
49 lines (36 loc) · 983 Bytes
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
46
47
48
49
/*
* 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 WAVELET_K_SIGMA_THRESHOLD_DLG_H
#define WAVELET_K_SIGMA_THRESHOLD_DLG_H
#include <QtGui/QDialog>
#define MAX_WAVELET_LEVELS 5
class QRadioButton;
class QComboBox;
class QLineEdit;
class WaveletKSigmaDlg : public QDialog
{
Q_OBJECT
public:
WaveletKSigmaDlg(QWidget* pParent);
private slots:
void setThresholdMode();
void setThreshold();
void setCurrentLevel(int);
public:
QRadioButton *pSoftButton;
QRadioButton *pMedianButton;
QRadioButton *pHeavyButton;
QComboBox *pLevelMenu;
QLineEdit *pThresholdEdit;
double getLevelThreshold(int nLevel);
private:
double mLevelThreshold[MAX_WAVELET_LEVELS];
int mCurrentLevel;
};
#endif