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);
38 virutal void bbSetStatusAndPropagate(BlackBoxInputConnector* c, IOStatus s);
43 // 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)
47 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageThresholdConnectivity,bbtk::AtomicBlackBox);
48 BBTK_NAME("ImageThresholdConnectivity");
49 BBTK_AUTHOR("InfoDev");
50 BBTK_DESCRIPTION("vtkImageThresholdConnectivity");
51 BBTK_CATEGORY("empty");
53 BBTK_INPUT(ImageThresholdConnectivity,In,"Input image",vtkImageData*,"");
54 BBTK_INPUT(ImageThresholdConnectivity,Point,"[x y z] seed point",std::vector<int>,"");
55 BBTK_INPUT(ImageThresholdConnectivity,LstX,"LstX seeds in voxels",std::vector<int>,"");
56 BBTK_INPUT(ImageThresholdConnectivity,LstY,"LstY seeds in voxels",std::vector<int>,"");
57 BBTK_INPUT(ImageThresholdConnectivity,LstZ,"LstZ seeds in voxels",std::vector<int>,"");
58 BBTK_INPUT(ImageThresholdConnectivity,MaskValue,"( default [O 255] ) [Out In] values of the output mask",std::vector<double>,"");
59 BBTK_INPUT(ImageThresholdConnectivity,Threshold,"( default [O 100] ) [down upper] threshold to be segmented",std::vector<double>,"");
60 BBTK_INPUT(ImageThresholdConnectivity,Border,"(default 10)Border of the min and max positions",int,"");
62 BBTK_OUTPUT(ImageThresholdConnectivity,Out,"Output image",vtkImageData*,"");
64 BBTK_END_DESCRIBE_BLACK_BOX(ImageThresholdConnectivity);
66 // 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)
69 // EO namespace bbcreaVtk
71 #endif // __bbcreaVtkImageThresholdConnectivity_h_INCLUDED__