// 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();
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);
//=====