18 #ifndef itkBinaryNotImageFilter_h
19 #define itkBinaryNotImageFilter_h
56 template<
typename TPixel >
68 return !(*
this != other);
85 template <
typename TImage>
104 typedef typename TImage::PixelType
PixelType;
109 itkGetConstMacro(ForegroundValue,
PixelType);
118 itkGetConstMacro(BackgroundValue,
PixelType);
135 os << indent <<
"ForegroundValue: "
139 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
static ITK_CONSTEXPR_FUNC T max(const T &)
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Implements the BinaryNot logical operator pixel-wise between two images.
PixelType m_BackgroundValue
FunctorType & GetFunctor()
static ITK_CONSTEXPR_FUNC T NonpositiveMin()
bool operator==(const BinaryNot &other) const
Implements pixel-wise generic operation on one image.
Control indentation during Print() invocation.
virtual ~BinaryNotImageFilter() override
UnaryFunctorImageFilter< TImage, TImage, Functor::BinaryNot< typename TImage::PixelType > > Superclass
Define additional traits for native types such as int or float.