ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryNotImageFilter.h>
Implements the BinaryNot logical operator pixel-wise between two images.
This class is parametrized 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://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 86 of file itkBinaryNotImageFilter.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | PixelType = typename TImage::PixelType |
using | Pointer = SmartPointer< Self > |
using | Self = BinaryNotImageFilter |
using | Superclass = UnaryFunctorImageFilter< TImage, TImage, Functor::BinaryNot< typename TImage::PixelType > > |
Public Types inherited from itk::UnaryFunctorImageFilter< TImage, TImage, Functor::BinaryNot< TImage::PixelType > > | |
using | ConstPointer = SmartPointer< const Self > |
using | FunctorType = Functor::BinaryNot< TImage::PixelType > |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::ConstPointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TImage |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TImage |
using | Pointer = SmartPointer< Self > |
using | Self = UnaryFunctorImageFilter |
using | Superclass = InPlaceImageFilter< TImage, TImage > |
Public Types inherited from itk::InPlaceImageFilter< TImage, TImage > | |
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 = TImage |
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< TImage, TImage > |
Public Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
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 = TImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TImage > |
Public Types inherited from itk::ImageSource< TImage > | |
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 = TImage |
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< TImage, TImage, Functor::BinaryNot< TImage::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 () |
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) |
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 97 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 96 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 95 of file itkBinaryNotImageFilter.h.
|
inlineprotected |
Definition at line 123 of file itkBinaryNotImageFilter.h.
References itk::BinaryNotImageFilter< TImage >::m_BackgroundValue, and itk::BinaryNotImageFilter< TImage >::m_ForegroundValue.
|
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.
|
inlineoverrideprotectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
Definition at line 145 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 |
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 130 of file itkBinaryNotImageFilter.h.
References itk::BinaryNotImageFilter< TImage >::m_BackgroundValue, itk::BinaryNotImageFilter< TImage >::m_ForegroundValue, and itk::InPlaceImageFilter< TInputImage, TOutputImage >::PrintSelf().
|
virtual |
Set 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 154 of file itkBinaryNotImageFilter.h.
Referenced by itk::BinaryNotImageFilter< TImage >::BinaryNotImageFilter(), itk::BinaryNotImageFilter< TImage >::GenerateData(), and itk::BinaryNotImageFilter< TImage >::PrintSelf().
|
private |
Definition at line 153 of file itkBinaryNotImageFilter.h.
Referenced by itk::BinaryNotImageFilter< TImage >::BinaryNotImageFilter(), itk::BinaryNotImageFilter< TImage >::GenerateData(), and itk::BinaryNotImageFilter< TImage >::PrintSelf().