]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/src/bbPackRecalageImageRecalageProperties.h
6ac78c55f9181c104b8a5e8a2bd4c155af175b5e
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageImageRecalageProperties.h
1 #ifndef __bbPackRecalageImageRecalageProperties_h_INCLUDED__
2 #define __bbPackRecalageImageRecalageProperties_h_INCLUDED__
3 #include "bbPackRecalage_EXPORT.h"
4 #include "bbtkAtomicBlackBox.h"
5 #include "iostream"
6
7 #include "vtkImageData.h"
8
9 namespace bbPackRecalage
10 {
11
12 class bbPackRecalage_EXPORT ImageRecalageProperties
13  : 
14    public bbtk::AtomicBlackBox
15 {
16   BBTK_BLACK_BOX_INTERFACE(ImageRecalageProperties,bbtk::AtomicBlackBox);
17   BBTK_DECLARE_INPUT(In,vtkImageData*);
18   BBTK_DECLARE_OUTPUT(LengthZ,int);
19   BBTK_DECLARE_OUTPUT(ColorLevel,int);
20   BBTK_DECLARE_OUTPUT(MidColorLevel,int);
21   BBTK_PROCESS(Process);
22   void Process();
23
24   private:
25           vtkImageData *image;
26 };
27
28 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageRecalageProperties,bbtk::AtomicBlackBox);
29 BBTK_NAME("ImageRecalageProperties");
30 BBTK_AUTHOR("jn.trillos44@uniandes.edu.co");
31 BBTK_DESCRIPTION("Finds image properties necessary for image registration.");
32 BBTK_CATEGORY("image");
33 BBTK_INPUT(ImageRecalageProperties,In,"Image",vtkImageData*,"");
34 BBTK_OUTPUT(ImageRecalageProperties,LengthZ,"Lenght in Z",int,"");
35 BBTK_OUTPUT(ImageRecalageProperties,ColorLevel,"ColorLevel/WindowLevel range of the Image",int,"");
36 BBTK_OUTPUT(ImageRecalageProperties,MidColorLevel,"Medium value of the ColorLevel/WindowLevel range of the Image",int,"");
37 BBTK_END_DESCRIBE_BLACK_BOX(ImageRecalageProperties);
38 }
39 // EO namespace bbPackRecalage
40
41 #endif // __bbPackRecalageImageRecalageProperties_h_INCLUDED__
42