]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkImageThresholdConnectivity.h
Memory bug
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImageThresholdConnectivity.h
index a629e1c407c1a11793830f4af4731e358ad5371c..8f53fc4e20f73e143e64eccd4417ce6a7b7d106d 100644 (file)
@@ -23,9 +23,17 @@ class bbcreaVtk_EXPORT ImageThresholdConnectivity
 // 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)
 //===== 
   BBTK_DECLARE_INPUT(In,vtkImageData*);
+  BBTK_DECLARE_INPUT(Point,std::vector<int>);
+  BBTK_DECLARE_INPUT(LstX,std::vector<int>);
+  BBTK_DECLARE_INPUT(LstY,std::vector<int>);
+  BBTK_DECLARE_INPUT(LstZ,std::vector<int>);
+  BBTK_DECLARE_INPUT(Threshold,std::vector<double>);
+  BBTK_DECLARE_INPUT(MaskValue,std::vector<double>);
+  BBTK_DECLARE_INPUT(Border,int);
   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
   BBTK_PROCESS(Process);
   void Process();
+       vtkImageThresholdConnectivity *filter;
 //===== 
 // 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,6 +46,13 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageThresholdConnectivity,bbtk::AtomicBlackBox);
   BBTK_CATEGORY("empty");
 
   BBTK_INPUT(ImageThresholdConnectivity,In,"Input image",vtkImageData*,"");
+  BBTK_INPUT(ImageThresholdConnectivity,Point,"[x y z]  seed point",std::vector<int>,"");
+  BBTK_INPUT(ImageThresholdConnectivity,LstX,"LstX seeds in voxels",std::vector<int>,"");
+  BBTK_INPUT(ImageThresholdConnectivity,LstY,"LstY seeds in voxels",std::vector<int>,"");
+  BBTK_INPUT(ImageThresholdConnectivity,LstZ,"LstZ seeds in voxels",std::vector<int>,"");
+  BBTK_INPUT(ImageThresholdConnectivity,MaskValue,"( default [O 255] )    [Out In] values of the output mask",std::vector<double>,"");
+  BBTK_INPUT(ImageThresholdConnectivity,Threshold,"( default [O 100] )    [down upper] threshold to be segmented",std::vector<double>,"");
+  BBTK_INPUT(ImageThresholdConnectivity,Border,"(default 10)Border of the min and max positions",int,"");
 
   BBTK_OUTPUT(ImageThresholdConnectivity,Out,"Output image",vtkImageData*,"");