18 #ifndef sitkGreaterEqualImageFilter_h
19 #define sitkGreaterEqualImageFilter_h
66 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
uint8_t BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
78 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
uint8_t ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
86 std::string
GetName()
const {
return std::string (
"GreaterEqualImageFilter"); }
89 std::string ToString()
const;
100 Image Execute (
const Image& image1,
double constant );
101 Image Execute (
double constant,
const Image& image2 );
110 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
111 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
117 typedef Image (Self::*MemberFunction1Type)(
double constant,
const Image& image2 );
118 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
122 typedef Image (Self::*MemberFunction2Type)(
const Image& image1,
double constant );
123 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
double constant );
Self & SetBackgroundValue(uint8_t BackgroundValue)
uint8_t GetBackgroundValue() const
Implements pixel-wise generic operation of two images, or of an image and a constant.
#define SITKBasicFilters_EXPORT
uint8_t m_BackgroundValue
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
BasicPixelIDTypeList PixelIDTypeList
uint8_t m_ForegroundValue
Image GreaterEqual(const Image &image1, const Image &image2, uint8_t backgroundValue=0u, uint8_t foregroundValue=1u)
Implements pixel-wise generic operation of two images, or of an image and a constant.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetForegroundValue(uint8_t ForegroundValue)
uint8_t GetForegroundValue() const
The Image class for SimpleITK.
std::string GetName() const
GreaterEqualImageFilter Self
The base interface for SimpleITK filters that take one input image.