-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
78 lines (47 loc) · 1.5 KB
/
mainwindow.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QImage>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
void readbmp(QString filename);
void paintEvent(QPaintEvent* );
private slots:
void on_openfile_triggered();
void on_gray_triggered();
void on_profile_triggered();
void on_translate_triggered();
void on_Horizontal_Mirror_triggered();
void on_Vertical_Mirror_triggered();
void on_Rotate_triggered();
void on_verticalScrollBar_valueChanged(int value);
void on_horizontalScrollBar_valueChanged(int value);
void on_Shrink_triggered();
void on_Enlarge_triggered();
void on_saveas_triggered();
void on_Horizontal_Shear_triggered();
void on_Vertical_Shear_triggered();
void on_Histogram_triggered();
void on_Histogram_Equalize_triggered();
void on_HSI_Histogram_Equalize_triggered();
void on_avg_filter_triggered();
void on_high_freq_filter_triggered();
void on_Gradient_sharpen_triggered();
void on_Edge_detection_triggered();
void on_Image_segmentation_triggered();
void on_Add_Gaussian_Noise_triggered();
void on_Maximum_entropy_segmentation_triggered();
private:
Ui::MainWindow *ui;
bool imgloaded;
QImage* image;
void* fhp,*ihp;
};
#endif // MAINWINDOW_H