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_OUTPUT(Out,vtkImageData*);
21 BBTK_PROCESS(Process);
25 Convolution* convolution;
28 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageConvolution,bbtk::AtomicBlackBox);
29 BBTK_NAME("ImageConvolution");
30 BBTK_AUTHOR("jn.trillos44@uniandes.edu.co");
31 BBTK_DESCRIPTION("Processes an image through different convolution matrix (Edge detect)");
32 BBTK_CATEGORY("filter");
33 BBTK_INPUT(ImageConvolution,In,"Image to be filetered",vtkImageData*,"");
34 BBTK_INPUT(ImageConvolution,Factor,"Factor by how the edges will be represented",double,"");
35 BBTK_OUTPUT(ImageConvolution,Out,"Filtered Image",vtkImageData*,"");
36 BBTK_END_DESCRIBE_BLACK_BOX(ImageConvolution);
38 // EO namespace bbPackRecalage
40 #endif // __bbPackRecalageImageConvolution_h_INCLUDED__