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 __bbcreaVtkImageThresholdConnectivity_h_INCLUDED__
5 #define __bbcreaVtkImageThresholdConnectivity_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include <vtkImageData.h>
12 #include <vtkImageThresholdConnectivity.h>
17 class bbcreaVtk_EXPORT ImageThresholdConnectivity
19 public bbtk::AtomicBlackBox
21 BBTK_BLACK_BOX_INTERFACE(ImageThresholdConnectivity,bbtk::AtomicBlackBox);
23 // 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)
25 BBTK_DECLARE_INPUT(In,vtkImageData*);
26 BBTK_DECLARE_INPUT(Point,std::vector<int>);
27 BBTK_DECLARE_INPUT(LstX,std::vector<int>);
28 BBTK_DECLARE_INPUT(LstY,std::vector<int>);
29 BBTK_DECLARE_INPUT(LstZ,std::vector<int>);
30 BBTK_DECLARE_INPUT(Threshold,std::vector<double>);
31 BBTK_DECLARE_INPUT(MaskValue,std::vector<double>);
32 BBTK_DECLARE_INPUT(Border,int);
33 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
34 BBTK_PROCESS(Process);
36 vtkImageThresholdConnectivity *filter;
38 // 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)
42 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageThresholdConnectivity,bbtk::AtomicBlackBox);
43 BBTK_NAME("ImageThresholdConnectivity");
44 BBTK_AUTHOR("InfoDev");
45 BBTK_DESCRIPTION("vtkImageThresholdConnectivity");
46 BBTK_CATEGORY("empty");
48 BBTK_INPUT(ImageThresholdConnectivity,In,"Input image",vtkImageData*,"");
49 BBTK_INPUT(ImageThresholdConnectivity,Point,"[x y z] seed point",std::vector<int>,"");
50 BBTK_INPUT(ImageThresholdConnectivity,LstX,"LstX seeds in voxels",std::vector<int>,"");
51 BBTK_INPUT(ImageThresholdConnectivity,LstY,"LstY seeds in voxels",std::vector<int>,"");
52 BBTK_INPUT(ImageThresholdConnectivity,LstZ,"LstZ seeds in voxels",std::vector<int>,"");
53 BBTK_INPUT(ImageThresholdConnectivity,MaskValue,"( default [O 255] ) [Out In] values of the output mask",std::vector<double>,"");
54 BBTK_INPUT(ImageThresholdConnectivity,Threshold,"( default [O 100] ) [down upper] threshold to be segmented",std::vector<double>,"");
55 BBTK_INPUT(ImageThresholdConnectivity,Border,"(default 10)Border of the min and max positions",int,"");
57 BBTK_OUTPUT(ImageThresholdConnectivity,Out,"Output image",vtkImageData*,"");
59 BBTK_END_DESCRIBE_BLACK_BOX(ImageThresholdConnectivity);
61 // 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)
64 // EO namespace bbcreaVtk
66 #endif // __bbcreaVtkImageThresholdConnectivity_h_INCLUDED__