X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fitk%2Fsrc%2FbbitkBinaryThresholdImageFilter.h;h=bda1917b7d38b87db1aef7eea08384569258c25b;hb=160a7addf97aff527f10d0a1cddca2f068ee0034;hp=0fa8e972515043b304d33090dcb9a9ea7bb3a5f1;hpb=560f6b3560c3d4062d4f2413d5202a1318acb801;p=bbtk.git diff --git a/packages/itk/src/bbitkBinaryThresholdImageFilter.h b/packages/itk/src/bbitkBinaryThresholdImageFilter.h index 0fa8e97..bda1917 100644 --- a/packages/itk/src/bbitkBinaryThresholdImageFilter.h +++ b/packages/itk/src/bbitkBinaryThresholdImageFilter.h @@ -204,29 +204,23 @@ namespace bbitk template void BinaryThresholdImageFilterGeneric::Process() { -printf("EED BinaryThresholdImageFilterGeneric::Process Start\n"); bbtkDebugMessageInc("Core",9, "bbitk::BinaryThresholdImageFilterGeneric::Process<" <()<<">()"< FilterType; typename FilterType::Pointer f = FilterType::New("Temp"); - typedef T* TPointer; - f->bbSetInputIn( this->bbGetInputIn().get < TPointer > () ); - f->bbSetInputLowerThreshold ( (typename T::PixelType) - this->bbGetInputLowerThreshold() ); - f->bbSetInputUpperThreshold ( (typename T::PixelType) - this->bbGetInputUpperThreshold() ); - f->bbSetInputInsideValue ( (typename T::PixelType) - this->bbGetInputInsideValue() ); - f->bbSetInputOutsideValue ( (typename T::PixelType) - this->bbGetInputOutsideValue() ); + typedef T* TPointer; + f->bbSetInputIn( this->bbGetInputIn().get < TPointer > () ); + f->bbSetInputLowerThreshold ( (typename T::PixelType)this->bbGetInputLowerThreshold() ); + f->bbSetInputUpperThreshold ( (typename T::PixelType)this->bbGetInputUpperThreshold() ); + f->bbSetInputInsideValue ( (typename T::PixelType)this->bbGetInputInsideValue() ); + f->bbSetInputOutsideValue ( (typename T::PixelType)this->bbGetInputOutsideValue() ); f->bbExecute(); f->bbGetOutputOut()->Register(); this->bbSetOutputOut( f->bbGetOutputOut() ); bbtkDebugDecTab("Core",9); -printf("EED BinaryThresholdImageFilterGeneric::Process End\n"); } //===================================================