template <class T>
void BinaryThresholdImageFilterGeneric::Process()
{
-printf("EED BinaryThresholdImageFilterGeneric::Process Start\n");
bbtkDebugMessageInc("Core",9,
"bbitk::BinaryThresholdImageFilterGeneric::Process<"
<<bbtk::TypeName<T>()<<">()"<<std::endl);
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() );
bbtkDebugDecTab("Core",9);
-printf("EED BinaryThresholdImageFilterGeneric::Process End\n");
}
//===================================================