Go to the documentation of this file.
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; }
89 std::string
GetName()
const {
return std::string (
"BinaryNotImageFilter"); }
92 std::string ToString()
const;
106 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
114 double m_ForegroundValue{1.0};
116 double m_BackgroundValue{0.0};
119 bool m_InPlace{
false};
The Image class for SimpleITK.
Self & SetForegroundValue(double ForegroundValue)
Implements the BinaryNot logical operator pixel-wise between two images.
double GetBackgroundValue() const
IntegerPixelIDTypeList PixelIDTypeList
std::string GetName() const
Image(Self::*)(const Image &image1) MemberFunctionType
#define SITKBasicFilters_EXPORT
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
double GetForegroundValue() const
The base interface for SimpleITK filters that take one input image.
Self & SetBackgroundValue(double BackgroundValue)
Image BinaryNot(Image &&image1, double foregroundValue=1.0, double backgroundValue=0.0)
Implements the BinaryNot logical operator pixel-wise between two images.
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList