Go to the documentation of this file.
18 #ifndef sitkZeroCrossingImageFilter_h
19 #define sitkZeroCrossingImageFilter_h
83 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
uint8_t ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
93 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;
116 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
The Image class for SimpleITK.
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< int16_t >, BasicPixelID< int32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type SignedPixelIDTypeList
SignedPixelIDTypeList PixelIDTypeList
uint8_t GetForegroundValue() const
uint8_t GetBackgroundValue() const
Self & SetBackgroundValue(uint8_t BackgroundValue)
std::string GetName() const
Self & SetForegroundValue(uint8_t ForegroundValue)
#define SITKBasicFilters_EXPORT
The base interface for SimpleITK filters that take one input image.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
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 .
Image(Self::*)(const Image &image1) MemberFunctionType
This filter finds the closest pixel to the zero-crossings (sign changes) in a signed itk::Image .