X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkApplyMask.h;h=ead804f8ba01f5da997521bb4fa19b31e73c33c1;hb=484e89eb49fd85ad27c8e6d81fa550d8895e799b;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..ead804f 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkApplyMask.h +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkApplyMask.h @@ -21,8 +21,11 @@ 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(BackgroundToAnalice,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(); @@ -36,9 +39,12 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ApplyMask,bbtk::AtomicBlackBox); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); - BBTK_INPUT(ApplyMask,Background,"Background value",double,""); + BBTK_INPUT(ApplyMask,Background,"(default 0) type 0: Background value in output image type 1: Nothing type 2: Nothing",double,""); + BBTK_INPUT(ApplyMask,BackgroundToAnalice,"(default 0) Background to check in the mask ",double,""); + BBTK_INPUT(ApplyMask,Label,"(double 255) type 0: Nothing type 1: valueOut in the mask type 2: Nothing ",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); //=====