18 #ifndef sitkBinaryNotImageFilter_h
19 #define sitkBinaryNotImageFilter_h
71 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
81 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
88 std::string
GetName()
const {
return std::string (
"BinaryNotImageFilter"); }
91 std::string ToString()
const;
99 Image Execute (
const Image& image1,
double foregroundValue,
double backgroundValue );
105 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
106 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList
#define SITKBasicFilters_EXPORT
BinaryNotImageFilter Self
Self & SetBackgroundValue(double BackgroundValue)
double GetBackgroundValue() const
Image BinaryNot(const Image &image1, double foregroundValue=1.0, double backgroundValue=0.0)
Implements the BinaryNot logical operator pixel-wise between two images.
std::string GetName() const
double GetForegroundValue() const
Implements the BinaryNot logical operator pixel-wise between two images.
IntegerPixelIDTypeList PixelIDTypeList
The Image class for SimpleITK.
Self & SetForegroundValue(double ForegroundValue)
The base interface for SimpleITK filters that take one input image.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory