ITK
6.0.0
Insight 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.
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::ImageToImageFilter< TInputImage, TOutputImage > | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Additional Inherited Members | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Static Protected Member Functions inherited from itk::ProcessObject | |
template<typename TSourceObject > | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
Protected Attributes inherited from itk::ImageSource< TOutputImage > | |
bool | m_DynamicMultiThreading { true } |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::NotImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 73 of file itkNotImageFilter.h.
using itk::NotImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 72 of file itkNotImageFilter.h.
using itk::NotImageFilter< TInputImage, TOutputImage >::Self = NotImageFilter |
Standard class type aliases.
Definition at line 66 of file itkNotImageFilter.h.
using itk::NotImageFilter< TInputImage, TOutputImage >::Superclass = UnaryFunctorImageFilter<TInputImage, TOutputImage, Functor::NOT<typename TInputImage::PixelType, typename TOutputImage::PixelType> > |
Definition at line 70 of file itkNotImageFilter.h.
|
inlineprotected |
Definition at line 130 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 |
|
inline |
Set/Get the value used to mark the false pixels of the result of the operator. Defaults to 0
Definition at line 93 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().
|
overridevirtual |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
|
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 84 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 103 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().