X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fitk%2Fsrc%2FbbitkBinaryThresholdImageFilter.h;h=0ea322d32cf1b78333c1d8592d0a708714b41f80;hb=2b7ac5ab18a67097a812e20a5ecba3dac63f29cc;hp=1e2677a0fba7248d06ce279036f66bc4718e5233;hpb=d73a7833a28e6111e1e805efae5df3ab18a240e2;p=bbtk.git diff --git a/packages/itk/src/bbitkBinaryThresholdImageFilter.h b/packages/itk/src/bbitkBinaryThresholdImageFilter.h index 1e2677a..0ea322d 100644 --- a/packages/itk/src/bbitkBinaryThresholdImageFilter.h +++ b/packages/itk/src/bbitkBinaryThresholdImageFilter.h @@ -1,6 +1,6 @@ #ifdef _USE_ITK_ -#include "bbtkUserBlackBox.h" +#include "bbtkAtomicBlackBox.h" #include "itkBinaryThresholdImageFilter.h" #include "bbitkImage.h" @@ -10,11 +10,11 @@ namespace bbitk template class /*BBTK_EXPORT*/ BinaryThresholdImageFilter : - public bbtk::UserBlackBox, + public bbtk::AtomicBlackBox, public itk::BinaryThresholdImageFilter { BBTK_USER_BLACK_BOX_INTERFACE(BinaryThresholdImageFilter, - bbtk::UserBlackBox); + bbtk::AtomicBlackBox); typedef itk::BinaryThresholdImageFilter itkParent; BBTK_DECLARE_ITK_INPUT(itkParent,In,const T*); BBTK_DECLARE_ITK_PARAM(itkParent,LowerThreshold,typename T::PixelType); @@ -54,10 +54,10 @@ namespace bbitk //=================================================== class /*BBTK_EXPORT*/ BinaryThresholdImageFilterGeneric : - public bbtk::UserBlackBox + public bbtk::AtomicBlackBox { BBTK_USER_BLACK_BOX_INTERFACE(BinaryThresholdImageFilterGeneric, - bbtk::UserBlackBox); + bbtk::AtomicBlackBox); BBTK_DECLARE_INPUT(In,anyImagePointer); BBTK_DECLARE_INPUT(LowerThreshold,double); BBTK_DECLARE_INPUT(UpperThreshold,double); @@ -74,9 +74,10 @@ namespace bbitk }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(BinaryThresholdImageFilterGeneric, - bbtk::UserBlackBox); + bbtk::AtomicBlackBox); BBTK_NAME("BinaryThresholdImageFilter"); - BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr"); + BBTK_AUTHOR("laurent.guigues at creatis.insa-lyon.fr"); + BBTK_CATEGORY("filter;image"); BBTK_DESCRIPTION("Binarizes an image by thresholding (generic bbification of itk::BinaryThresholdImageFilter)"); BBTK_INPUT(BinaryThresholdImageFilterGeneric,In, "Input image. Can be any itk::Image*",anyImagePointer);