2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
4 #ifndef __bbvtkImageBoundaries_h_INCLUDED__
5 #define __bbvtkImageBoundaries_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
11 #include <vtkImageData.h>
16 class bbvtk_EXPORT ImageBoundaries
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(ImageBoundaries,bbtk::AtomicBlackBox);
22 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
24 BBTK_DECLARE_INPUT(In,vtkImageData*);
25 BBTK_DECLARE_INPUT(LowerValue,double);
26 BBTK_DECLARE_INPUT(UpperValue,double);
27 BBTK_DECLARE_OUTPUT(Index,std::vector<int>);
28 BBTK_DECLARE_OUTPUT(Size,std::vector<int>);
29 BBTK_PROCESS(Process);
34 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
38 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageBoundaries,bbtk::AtomicBlackBox);
39 BBTK_NAME("ImageBoundaries");
40 BBTK_AUTHOR("Info-Dev");
41 BBTK_DESCRIPTION("Get gray level boundaries of an vtkImageData");
42 BBTK_CATEGORY("filter");
43 BBTK_INPUT(ImageBoundaries,In,"Input image",vtkImageData*,"");
44 BBTK_INPUT(ImageBoundaries,LowerValue,"0 default. Lower gray level",double,"");
45 BBTK_INPUT(ImageBoundaries,UpperValue,"5000 default. Upper gray level",double,"");
46 BBTK_OUTPUT(ImageBoundaries,Index,"Start point of the boundarie",std::vector<int>,"");
47 BBTK_OUTPUT(ImageBoundaries,Size,"Size of the boundarie from start",std::vector<int>,"");
48 BBTK_END_DESCRIBE_BLACK_BOX(ImageBoundaries);
50 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
55 #endif // __bbvtkImageBoundaries_h_INCLUDED__