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;
113 itkGetConstMacro(ForegroundValue,
PixelType);
122 itkGetConstMacro(BackgroundValue,
PixelType);
139 os << indent <<
"ForegroundValue: "
143 os << indent <<
"BackgroundValue: "
BinaryNotImageFilter Self
Light weight base class for most itk classes.
void GenerateData() override
TPixel operator()(const TPixel &A)
PixelType m_ForegroundValue
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void GenerateData() override
SmartPointer< const Self > ConstPointer
TImage::PixelType PixelType
SmartPointer< Self > Pointer
bool operator!=(const BinaryNot &) const
void operator=(const Self &)
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Implements the BinaryNot logical operator pixel-wise between two images.
virtual ~BinaryNotImageFilter()
PixelType m_BackgroundValue
FunctorType & GetFunctor()
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
static T NonpositiveMin()
Define additional traits for native types such as int or float.