typedef BinaryThresholdImageFilter<T> 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() );