1 #ifndef __bbPackRecalageImageConvolution_h_INCLUDED__
2 #define __bbPackRecalageImageConvolution_h_INCLUDED__
3 #include "bbPackRecalage_EXPORT.h"
4 #include "bbtkAtomicBlackBox.h"
7 #include "vtkImageData.h"
8 #include "Convolution.h"
10 namespace bbPackRecalage
13 class bbPackRecalage_EXPORT ImageConvolution
15 public bbtk::AtomicBlackBox
17 BBTK_BLACK_BOX_INTERFACE(ImageConvolution,bbtk::AtomicBlackBox);
18 BBTK_DECLARE_INPUT(In,vtkImageData*);
19 BBTK_DECLARE_INPUT(Factor,double);
20 BBTK_DECLARE_INPUT(On,bool);
21 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
22 BBTK_PROCESS(Process);
26 Convolution* convolution;
29 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageConvolution,bbtk::AtomicBlackBox);
30 BBTK_NAME("ImageConvolution");
31 BBTK_AUTHOR("jn.trillos44@uniandes.edu.co");
32 BBTK_DESCRIPTION("Processes an image through different convolution matrix (Edge detect)");
33 BBTK_CATEGORY("filter");
34 BBTK_INPUT(ImageConvolution,In,"Image to be filetered",vtkImageData*,"");
35 BBTK_INPUT(ImageConvolution,Factor,"Factor by how the edges will be represented",double,"");
36 BBTK_INPUT(ImageConvolution,On,"Boolean that represents if the filter is turned on. True = On.",bool,"");
37 BBTK_OUTPUT(ImageConvolution,Out,"Filtered Image",vtkImageData*,"");
38 BBTK_END_DESCRIBE_BLACK_BOX(ImageConvolution);
40 // EO namespace bbPackRecalage
42 #endif // __bbPackRecalageImageConvolution_h_INCLUDED__