Go to the documentation of this file.
18 #ifndef sitkBinaryNotImageFilter_h
19 #define sitkBinaryNotImageFilter_h
70 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
80 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;
105 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
113 double m_ForegroundValue{1.0};
115 double m_BackgroundValue{0.0};
118 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)
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > > IntegerPixelIDTypeList
Image BinaryNot(Image &&image1, double foregroundValue=1.0, double backgroundValue=0.0)
Implements the BinaryNot logical operator pixel-wise between two images.