Go to the documentation of this file.
18 #ifndef sitkZeroCrossingImageFilter_h
19 #define sitkZeroCrossingImageFilter_h
82 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue ( uint8_t ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
92 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue ( uint8_t BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
100 std::string
GetName()
const {
return std::string (
"ZeroCrossingImageFilter"); }
103 std::string ToString()
const;
115 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
123 uint8_t m_ForegroundValue{1u};
125 uint8_t m_BackgroundValue{0u};
The Image class for SimpleITK.
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.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< int16_t >, BasicPixelID< int32_t >, BasicPixelID< float >, BasicPixelID< double > > SignedPixelIDTypeList
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 .