ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkNotImageFilter.h>
Implements the NOT logical operator pixel-wise on an image.
This class is templated over the type of an input image and the type of the output image. Numeric conversions (castings) are done by the C++ defaults.
Since the logical NOT operation operates only on boolean types, the input type must be implicitly convertible to bool, which is only defined in C++ for integer types, the images passed to this filter must comply with the requirement of using integer pixel type.
The total operation over one pixel will be
Where "!" is the unary Logical NOT operator in C++.
Definition at line 56 of file itkNotImageFilter.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = NotImageFilter |
using | Superclass = UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NOT< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
Public Types inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NOT< TInputImage::PixelType, TOutputImage::PixelType > > | |
using | ConstPointer = SmartPointer< const Self > |
using | FunctorType = Functor::NOT< TInputImage::PixelType, TOutputImage::PixelType > |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::ConstPointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = UnaryFunctorImageFilter |
using | Superclass = InPlaceImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | Self = InPlaceImageFilter |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NOT< TInputImage::PixelType, TOutputImage::PixelType > > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
using itk::NotImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer< const Self > |
Definition at line 76 of file itkNotImageFilter.h.
using itk::NotImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer< Self > |
Definition at line 75 of file itkNotImageFilter.h.
using itk::NotImageFilter< TInputImage, TOutputImage >::Self = NotImageFilter |
Standard class type aliases.
Definition at line 68 of file itkNotImageFilter.h.
using itk::NotImageFilter< TInputImage, TOutputImage >::Superclass = UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NOT< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
Definition at line 73 of file itkNotImageFilter.h.
|
inlineprotected |
Definition at line 135 of file itkNotImageFilter.h.
References itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NOT< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor(), itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::SetBackgroundValue(), and itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::SetForegroundValue().
|
overrideprotecteddefault |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
inline |
Set/Get the value used to mark the false pixels of the result of the operator. Defaults to 0
Definition at line 95 of file itkNotImageFilter.h.
References itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::GetBackgroundValue(), and itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NOT< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor().
Referenced by itk::NotImageFilter< TInputImage, TOutputImage >::SetBackgroundValue().
|
inline |
Set/Get the value used to mark the false pixels of the result of the operator. Defaults to 1
Definition at line 114 of file itkNotImageFilter.h.
References itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::GetForegroundValue(), and itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NOT< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor().
Referenced by itk::NotImageFilter< TInputImage, TOutputImage >::SetForegroundValue().
|
virtual |
Runtime information support.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NOT< TInputImage::PixelType, TOutputImage::PixelType > >.
|
static |
Method for creation through the object factory.
|
inline |
Set/Get the value used to mark the false pixels of the result of the operator. Defaults to 0
Definition at line 87 of file itkNotImageFilter.h.
References itk::NotImageFilter< TInputImage, TOutputImage >::GetBackgroundValue(), itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NOT< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor(), itk::Object::Modified(), itk::Math::NotExactlyEquals(), and itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::SetBackgroundValue().
|
inline |
Set/Get the value used to mark the false pixels of the result of the operator. Defaults to 1
Definition at line 104 of file itkNotImageFilter.h.
References itk::NotImageFilter< TInputImage, TOutputImage >::GetForegroundValue(), itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NOT< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor(), itk::Object::Modified(), itk::Math::NotExactlyEquals(), and itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::SetForegroundValue().