18 #ifndef itkBinaryNotImageFilter_h 19 #define itkBinaryNotImageFilter_h 56 template<
typename TPixel >
68 return !(*
this != other);
85 template <
typename TImage>
89 Functor::BinaryNot< typename TImage::PixelType > >
108 typedef typename TImage::PixelType
PixelType;
112 itkSetMacro(ForegroundValue, PixelType);
113 itkGetConstMacro(ForegroundValue, PixelType);
118 itkSetMacro(BackgroundValue, PixelType);
122 itkGetConstMacro(BackgroundValue, PixelType);
134 Superclass::PrintSelf(os,indent);
139 os << indent <<
"ForegroundValue: " 143 os << indent <<
"BackgroundValue: " 152 Superclass::GenerateData();
157 void operator=(
const Self&) ITK_DELETE_FUNCTION;
BinaryNotImageFilter Self
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateData() override
TPixel operator()(const TPixel &A)
PixelType m_ForegroundValue
SmartPointer< const Self > ConstPointer
TImage::PixelType PixelType
SmartPointer< Self > Pointer
bool operator!=(const BinaryNot &) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
static ITK_CONSTEXPR_FUNC T max(const T &)
Implements the BinaryNot logical operator pixel-wise between two images.
virtual ~BinaryNotImageFilter()
PixelType m_BackgroundValue
static ITK_CONSTEXPR_FUNC T NonpositiveMin()
bool operator==(const BinaryNot &other) const
Implements pixel-wise generic operation on one image.
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
UnaryFunctorImageFilter< TImage, TImage, Functor::BinaryNot< typename TImage::PixelType > > Superclass
Define additional traits for native types such as int or float.