ITK
6.0.0
Insight Toolkit
|
#include <itkBinaryNotImageFilter.h>
Implements the BinaryNot logical operator pixel-wise between two images.
This class is parameterized over the types of the two input images and the type of the output image. Numeric conversions (castings) are done by the C++ defaults.
The total operation over one pixel will be
output_pixel = static_cast<PixelType>( input1_pixel != input2_pixel )
Where "!=" is the equality operator in C++.
This implementation was taken from the Insight Journal paper: https://doi.org/10.54294/q6auw4
Definition at line 86 of file itkBinaryNotImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::UnaryFunctorImageFilter< TImage, TImage, Functor::BinaryNot< TImage::PixelType > > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TImage, TImage > | |
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 () |
Private Attributes | |
PixelType | m_BackgroundValue {} |
PixelType | m_ForegroundValue {} |
Additional Inherited Members | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TImage, TImage > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TImage, TImage > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TImage > | |
static constexpr unsigned int | OutputImageDimension |
Protected Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
Static Protected Member Functions inherited from itk::ImageSource< TImage > | |
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< TImage > | |
bool | m_DynamicMultiThreading |
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::BinaryNotImageFilter< TImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 96 of file itkBinaryNotImageFilter.h.
using itk::BinaryNotImageFilter< TImage >::PixelType = typename TImage::PixelType |
Definition at line 104 of file itkBinaryNotImageFilter.h.
using itk::BinaryNotImageFilter< TImage >::Pointer = SmartPointer<Self> |
Definition at line 95 of file itkBinaryNotImageFilter.h.
using itk::BinaryNotImageFilter< TImage >::Self = BinaryNotImageFilter |
Standard class type aliases.
Definition at line 93 of file itkBinaryNotImageFilter.h.
using itk::BinaryNotImageFilter< TImage >::Superclass = UnaryFunctorImageFilter<TImage, TImage, Functor::BinaryNot<typename TImage::PixelType> > |
Definition at line 94 of file itkBinaryNotImageFilter.h.
|
inlineprotected |
Definition at line 119 of file itkBinaryNotImageFilter.h.
References itk::BinaryNotImageFilter< TImage >::m_BackgroundValue, itk::BinaryNotImageFilter< TImage >::m_ForegroundValue, itk::NumericTraits< T >::max(), and itk::NumericTraits< T >::NonpositiveMin().
|
overrideprotecteddefault |
|
inlineoverrideprotectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
Definition at line 139 of file itkBinaryNotImageFilter.h.
References itk::ImageSource< TOutputImage >::GenerateData(), itk::UnaryFunctorImageFilter< TImage, TImage, Functor::BinaryNot< TImage::PixelType > >::GetFunctor(), itk::Functor::BinaryNot< TPixel >::m_BackgroundValue, itk::BinaryNotImageFilter< TImage >::m_BackgroundValue, itk::Functor::BinaryNot< TPixel >::m_ForegroundValue, and itk::BinaryNotImageFilter< TImage >::m_ForegroundValue.
|
virtual |
Set/Get the value used as "background". Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
virtual |
Set/Get the value in the image considered as "foreground". Defaults to maximum value of PixelType.
|
overridevirtual |
Reimplemented from itk::ProcessObject.
|
static |
Method for creation through the object factory.
|
inlineoverrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ProcessObject.
Definition at line 127 of file itkBinaryNotImageFilter.h.
References itk::BinaryNotImageFilter< TImage >::m_BackgroundValue, itk::BinaryNotImageFilter< TImage >::m_ForegroundValue, and itk::InPlaceImageFilter< TInputImage, TOutputImage >::PrintSelf().
|
virtual |
Set/Get the value used as "background". Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
virtual |
Set/Get the value in the image considered as "foreground". Defaults to maximum value of PixelType.
|
private |
Definition at line 148 of file itkBinaryNotImageFilter.h.
Referenced by itk::BinaryNotImageFilter< TImage >::BinaryNotImageFilter(), itk::BinaryNotImageFilter< TImage >::GenerateData(), and itk::BinaryNotImageFilter< TImage >::PrintSelf().
|
private |
Definition at line 147 of file itkBinaryNotImageFilter.h.
Referenced by itk::BinaryNotImageFilter< TImage >::BinaryNotImageFilter(), itk::BinaryNotImageFilter< TImage >::GenerateData(), and itk::BinaryNotImageFilter< TImage >::PrintSelf().