![]() |
ITK
5.4.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://www.insight-journal.org/browse/publication/176
Definition at line 88 of file itkBinaryNotImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Private Attributes | |
PixelType | m_BackgroundValue {} |
PixelType | m_ForegroundValue {} |
Additional Inherited Members | |
![]() | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
![]() | |
static constexpr unsigned int | OutputImageDimension |
![]() | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
![]() | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
![]() | |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
![]() | |
bool | m_DynamicMultiThreading |
![]() | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::BinaryNotImageFilter< TImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 98 of file itkBinaryNotImageFilter.h.
using itk::BinaryNotImageFilter< TImage >::PixelType = typename TImage::PixelType |
Definition at line 106 of file itkBinaryNotImageFilter.h.
using itk::BinaryNotImageFilter< TImage >::Pointer = SmartPointer<Self> |
Definition at line 97 of file itkBinaryNotImageFilter.h.
using itk::BinaryNotImageFilter< TImage >::Self = BinaryNotImageFilter |
Standard class type aliases.
Definition at line 95 of file itkBinaryNotImageFilter.h.
using itk::BinaryNotImageFilter< TImage >::Superclass = UnaryFunctorImageFilter<TImage, TImage, Functor::BinaryNot<typename TImage::PixelType> > |
Definition at line 96 of file itkBinaryNotImageFilter.h.
|
inlineprotected |
Definition at line 121 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 141 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.
|
virtual |
Runtime information support.
Reimplemented from itk::UnaryFunctorImageFilter< TImage, TImage, Functor::BinaryNot< TImage::PixelType > >.
|
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 129 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 150 of file itkBinaryNotImageFilter.h.
Referenced by itk::BinaryNotImageFilter< TImage >::BinaryNotImageFilter(), itk::BinaryNotImageFilter< TImage >::GenerateData(), and itk::BinaryNotImageFilter< TImage >::PrintSelf().
|
private |
Definition at line 149 of file itkBinaryNotImageFilter.h.
Referenced by itk::BinaryNotImageFilter< TImage >::BinaryNotImageFilter(), itk::BinaryNotImageFilter< TImage >::GenerateData(), and itk::BinaryNotImageFilter< TImage >::PrintSelf().