X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkApplyMask.h;h=687426a4827856233be4820d906cba7c702be009;hb=4cd7fa894ced073f6f803228c4f52755ecf41d75;hp=0026fbe065712e6d1acbc2e0c0072f01390e6fa2;hpb=0a78cc1bbbd1875930b8e9b74053f947e33691ef;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkApplyMask.h b/bbtk_creaVtk_PKG/src/bbcreaVtkApplyMask.h index 0026fbe..687426a 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkApplyMask.h +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkApplyMask.h @@ -21,8 +21,10 @@ class bbcreaVtk_EXPORT ApplyMask // 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(Background,double); + BBTK_DECLARE_INPUT(Label,double); BBTK_DECLARE_INPUT(Image,vtkImageData*); BBTK_DECLARE_INPUT(Mask,vtkImageData*); + BBTK_DECLARE_INPUT(Type,int); BBTK_DECLARE_OUTPUT(Out,vtkImageData*); BBTK_PROCESS(Process); void Process(); @@ -37,8 +39,10 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ApplyMask,bbtk::AtomicBlackBox); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(ApplyMask,Background,"Background value",double,""); + BBTK_INPUT(ApplyMask,Label,"(double 255) Label value (type 1,2)",double,""); BBTK_INPUT(ApplyMask,Image,"Input image",vtkImageData*,""); BBTK_INPUT(ApplyMask,Mask,"Input mask",vtkImageData*,""); + BBTK_INPUT(ApplyMask,Type,"(default 0) 0:Create new image 1:Modify the Image input with Label value at the mask place 2: Modify the Image input with the value of the mask",int,""); BBTK_OUTPUT(ApplyMask,Out,"Output image",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(ApplyMask); //=====