X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fitk%2Fsrc%2FbbitkBinaryThresholdImageFilter.h;h=eb26cab1f340a7aaf62e3b45984748f45aa43373;hb=0e7db59ef7d65efd7477ab1f214f8a83c6ad3eb4;hp=6365032c3bd0f21bca1aa4b1f7aabf69441c2d49;hpb=6575a389b71b1b85c79e4444885becb76ecf16e4;p=bbtk.git diff --git a/packages/itk/src/bbitkBinaryThresholdImageFilter.h b/packages/itk/src/bbitkBinaryThresholdImageFilter.h index 6365032..eb26cab 100644 --- a/packages/itk/src/bbitkBinaryThresholdImageFilter.h +++ b/packages/itk/src/bbitkBinaryThresholdImageFilter.h @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbitkBinaryThresholdImageFilter.h,v $ Language: C++ - Date: $Date: 2008/10/17 08:18:21 $ - Version: $Revision: 1.8 $ + Date: $Date: 2008/11/25 11:17:15 $ + Version: $Revision: 1.10 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -58,7 +58,7 @@ namespace bbitk BBTK_ITK_DELETE(); void bbUserConstructor() { Init(); } - void bbUserCopyConstructor() { Init(); } + void bbUserCopyConstructor(bbtk::BlackBox::Pointer) { Init(); } void Init(); }; @@ -102,7 +102,7 @@ namespace bbitk inline void ProcessSwitch(); template void Process(); void bbUserConstructor() { Init(); } - void bbUserCopyConstructor() { Init(); } + void bbUserCopyConstructor(bbtk::BlackBox::Pointer) { Init(); } void Init(); }; @@ -143,7 +143,8 @@ namespace bbitk typedef BinaryThresholdImageFilter FilterType; typename FilterType::Pointer f = FilterType::New("Temp"); - f->bbSetInputIn( this->bbGetInputIn().get()); + typedef T* TPointer; + f->bbSetInputIn( this->bbGetInputIn().get < TPointer > ()); f->bbSetInputLowerThreshold ( (typename T::PixelType) this->bbGetInputLowerThreshold() ); f->bbSetInputUpperThreshold ( (typename T::PixelType)