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.
TPixel operator()(const TPixel &A)
PixelType m_ForegroundValue
SmartPointer< const Self > ConstPointer
virtual void PrintSelf(std::ostream &os, Indent indent) const
TImage::PixelType PixelType
SmartPointer< Self > Pointer
bool operator!=(const BinaryNot &) const
void operator=(const Self &)
Implements the BinaryNot logical operator pixel-wise between two images.
void PrintSelf(std::ostream &os, Indent indent) const
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.
virtual void GenerateData() ITK_OVERRIDE