18 #ifndef sitkZeroCrossingImageFilter_h
19 #define sitkZeroCrossingImageFilter_h
84 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
uint8_t ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
94 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
uint8_t BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
101 std::string
GetName()
const {
return std::string (
"ZeroCrossingImageFilter"); }
104 std::string ToString()
const;
119 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
120 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< int16_t >, BasicPixelID< int32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type SignedPixelIDTypeList
uint8_t m_BackgroundValue
std::string GetName() const
Image ZeroCrossing(const Image &image1, uint8_t foregroundValue=1u, uint8_t backgroundValue=0u)
This filter finds the closest pixel to the zero-crossings (sign changes) in a signed itk::Image ...
#define SITKBasicFilters_EXPORT
uint8_t m_ForegroundValue
Self & SetForegroundValue(uint8_t ForegroundValue)
uint8_t GetForegroundValue() const
ZeroCrossingImageFilter Self
uint8_t GetBackgroundValue() const
Self & SetBackgroundValue(uint8_t BackgroundValue)
The main Image class for SimpleITK.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.
SignedPixelIDTypeList PixelIDTypeList
This filter finds the closest pixel to the zero-crossings (sign changes) in a signed itk::Image ...