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 $
=========================================================================*/
/* ---------------------------------------------------------------------
BBTK_ITK_DELETE();
void bbUserConstructor() { Init(); }
- void bbUserCopyConstructor() { Init(); }
+ void bbUserCopyConstructor(bbtk::BlackBox::Pointer) { Init(); }
void Init();
};
inline void ProcessSwitch();
template <class T> void Process();
void bbUserConstructor() { Init(); }
- void bbUserCopyConstructor() { Init(); }
+ void bbUserCopyConstructor(bbtk::BlackBox::Pointer) { Init(); }
void Init();
};
typedef BinaryThresholdImageFilter<T> FilterType;
typename FilterType::Pointer f = FilterType::New("Temp");
- f->bbSetInputIn( this->bbGetInputIn().get<T*>());
+ typedef T* TPointer;
+ f->bbSetInputIn( this->bbGetInputIn().get < TPointer > ());
f->bbSetInputLowerThreshold ( (typename T::PixelType)
this->bbGetInputLowerThreshold() );
f->bbSetInputUpperThreshold ( (typename T::PixelType)