Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
dragdrop.h
Go to the documentation of this file.
1 #ifndef DRAGDROP_H
2 #define DRAGDROP_H
3 
4 #include <QFileSystemModel>
5 #include <QWidget>
6 
7 #include "graphicsitem.h"
8 #include "guiimage.h"
9 
10 namespace Ui {
11  class DragDrop;
12 }
13 
14 class DragDrop : public QWidget {
15  Q_OBJECT
16 
17 public:
18  explicit DragDrop( QWidget *parent = 0 );
19  ~DragDrop( );
20 
21 private slots:
22  /* void on_actionAbrir_imagem_triggered(); */
23  void createLabel( const QFileInfo &file, const QWidget *widget );
24  void on_pushButtonBatchBW_clicked( );
25  void on_pushButtonBatchInvert_clicked( );
26  void on_pushButtonBW_clicked( );
27  void on_pushButtonInputFolder_clicked( );
28  void on_pushButtonInvert_clicked( );
29  void on_pushButtonOutputFolder_clicked( );
30  void on_treeView_clicked( const QModelIndex &index );
31  void on_treeView_doubleClicked( const QModelIndex &index );
32  void processBatchBW( const QString &folder );
33  void processBW( const QString &text );
34  void saveImage( const QString &text );
35  void setInputFolder( const QString &path );
36  void setOutputFolder( const QString &path );
37  void showImage( const QPixmap &pix, const QFileInfo &fileInfo );
38  void showImage2( const QPixmap &pix, const QFileInfo &fileInfo );
39  void on_pushButtonBW_11_clicked( );
40  void on_pushButtonBW_13_clicked( );
41  void on_pushButtonBW_7_clicked( );
42  void on_pushButtonBW_10_clicked( );
43  void on_pushButtonBW_9_clicked( );
44  void on_pushButtonBW_8_clicked( );
45  void on_pushButtonBW_5_clicked( );
46  void on_pushButtonBW_4_clicked( );
47  void on_pushButtonBW_3_clicked( );
48  void on_pushButtonBW_14_clicked( );
49  void on_pushButtonBW_15_clicked( );
50  void on_pushButtonBW_16_clicked( );
51  void on_pushButtonBW_17_clicked( );
52  void on_pushButtonBW_18_clicked( );
53  void on_pushButtonBW_19_clicked( );
54  void on_pushButtonBW_20_clicked( );
55  void on_pushButtonBW_21_clicked( );
56  void on_pushButtonBW_22_clicked( );
57  void on_pushButtonBW_23_clicked( );
58  void on_pushButtonBW_24_clicked( );
59  void on_pushButtonBW_25_clicked( );
60  void on_pushButtonBW_26_clicked( );
61  void on_pushButtonBW_27_clicked( );
62  void on_pushButtonBW_28_clicked( );
63  void on_pushButtonBW_29_clicked( );
64  void on_pushButtonBW_30_clicked( );
65  void on_pushButtonBW_31_clicked( );
66  void on_pushButtonBW_32_clicked( );
67  void on_pushButtonBW_33_clicked( );
68  void on_pushButtonBW_34_clicked( );
69  void on_pushButtonBW_35_clicked( );
70  void on_pushButtonBW_37_clicked( );
71  void on_pushButtonBW_38_clicked( );
72  void on_pushButtonBW_39_clicked( );
73  void on_pushButtonBW_40_clicked( );
74  void on_groupBoxSaida_toggled( bool checked );
75 
76 private:
77  Ui::DragDrop *ui;
78  QString inputFolder;
79  QString outputFolder;
80  GraphicsItem *item = nullptr;
81  GraphicsItem *item2 = nullptr;
82  GuiImage *m_img = nullptr;
83  GuiImage *m_img2 = nullptr;
84  QFileSystemModel *model;
85  /* */
86  void loadFolderThumbs( QString folder, QWidget *widget );
87  void processInvert( const QString &text );
88  void loadInputFolderThumbs( );
89  void loadOutputFolderThumbs( );
90  Bial::Image< Bial::Color > rotateBial( );
91  Bial::Image< int > AnisotropicBial( );
92  Bial::Image< int > CannyBial( );
93  Bial::Image< int > image_roi( );
94  Bial::Image< int > transform_euclidean( );
95  Bial::Image< Bial::Color > image_multiply_mask( );
96  Bial::Image< int > image_multiply( );
97  Bial::Image< int > image_minimum_spanning_forest( );
98  Bial::Image< int > image_merge( );
99  void adjacency_displacement( );
100  void adjancency_gray( );
101  void bit_invert( );
102  void bit_operations( );
103  Bial::Image< int > brain_cmeansclustering( );
104  Bial::Image< int > brain_inhomogeneity_corretion( );
105  Bial::Image< int > brain_opfclustering( );
106  Bial::Image< float > brain_segmentation( );
107  void brain_split_opf_clustering( );
108  Bial::Image< int > color_cmeans_clustering( );
109  Bial::Image< int > filtering_adaptive_anisotropic( );
110  Bial::Image< int > filtering_anisotropic( );
111  Bial::Image< int > filtering_gaussian( );
112  Bial::Image<int> filtering_mean( );
113  Bial::Image<int> filtering_median( );
114  Bial::Image< int > filtering_optimum_anisotropic( );
115  void geometrics_2d( );
116  void geometrics_3d( );
117  Bial::Image< int > gradient_canny( );
118  Bial::Image< int > gradient_directional_sobel( );
119  Bial::Image< int > gradient_gabor( );
120  Bial::Image< int > gradient_hole_closing( );
121  Bial::Image<int> gradient_morphological( );
122  Bial::Image< int > gradient_multiscalecanny( );
123  Bial::Image< int > gradient_multi_scale_size_canny( );
124  Bial::Image< int > gradient_multi_sub_scale_canny( );
125  Bial::Image< int > gradient_scalecanny( );
126  Bial::Image< int > gradient_sobel( );
127  Bial::Image< int > gradient_supressed_sobel( );
128  Bial::Image< float > heart_cog( );
129  Bial::Image< float > heart_segmentation( );
130  void hough_circles( );
131  void image_and( );
132  Bial::Image< int > image_binary_mask( );
133  void image_cmeans_clustering( );
134  Bial::Image< int > image_color_binary_mask( );
135  void image_compare( );
136  void image_copy( );
137  Bial::Image< uchar > image_convert( );
138  Bial::Image<int> image_dilate( );
139  Bial::Image< int > image_equalize( );
140  Bial::Image< int > image_erode( );
141  void image_getslice( );
142  Bial::Image< int > image_ift_watershed( );
143 };
144 
145 #endif /* DRAGDROP_H */
The GuiImage class is a bridge to the Bial::Image data structure to the QImage data structure...
Definition: guiimage.h:20
Definition: gzappend.c:170