ITK
4.4.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: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 86 of file itkBinaryNotImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TImage::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryNotImageFilter | Self |
typedef UnaryFunctorImageFilter < TImage, TImage, Functor::BinaryNot< typename TImage::PixelType > > | Superclass |
Public Types inherited from itk::UnaryFunctorImageFilter< TImage, TImage, Functor::BinaryNot< TImage::PixelType > > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Functor::BinaryNot < TImage::PixelType > | FunctorType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TImage | InputImageType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef UnaryFunctorImageFilter | Self |
typedef InPlaceImageFilter < TImage, TImage > | Superclass |
Public Types inherited from itk::InPlaceImageFilter< TImage, TImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef InPlaceImageFilter | Self |
typedef ImageToImageFilter < TImage, TImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TImage > | Superclass |
Public Types inherited from itk::ImageSource< TImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::UnaryFunctorImageFilter< TImage, TImage, Functor::BinaryNot< TImage::PixelType > > | |
static Pointer | New () |
Private Member Functions | |
BinaryNotImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
PixelType | m_BackgroundValue |
PixelType | m_ForegroundValue |
Additional Inherited Members | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TImage, TImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Protected Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
typedef SmartPointer<const Self> itk::BinaryNotImageFilter< TImage >::ConstPointer |
Definition at line 99 of file itkBinaryNotImageFilter.h.
typedef TImage::PixelType itk::BinaryNotImageFilter< TImage >::PixelType |
Definition at line 106 of file itkBinaryNotImageFilter.h.
typedef SmartPointer<Self> itk::BinaryNotImageFilter< TImage >::Pointer |
Definition at line 98 of file itkBinaryNotImageFilter.h.
typedef BinaryNotImageFilter itk::BinaryNotImageFilter< TImage >::Self |
Standard class typedefs.
Definition at line 95 of file itkBinaryNotImageFilter.h.
typedef UnaryFunctorImageFilter<TImage, TImage, Functor::BinaryNot< typename TImage::PixelType> > itk::BinaryNotImageFilter< TImage >::Superclass |
Definition at line 97 of file itkBinaryNotImageFilter.h.
|
inlineprotected |
Definition at line 125 of file itkBinaryNotImageFilter.h.
References itk::NumericTraits< T >::max(), and itk::NumericTraits< T >::NonpositiveMin().
|
inlineprotectedvirtual |
Definition at line 130 of file itkBinaryNotImageFilter.h.
|
private |
|
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.
|
inlineprotectedvirtual |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TImage >.
Definition at line 148 of file itkBinaryNotImageFilter.h.
|
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.
|
private |
|
inlineprotectedvirtual |
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::InPlaceImageFilter< TImage, TImage >.
Definition at line 132 of file itkBinaryNotImageFilter.h.
|
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 160 of file itkBinaryNotImageFilter.h.
|
private |
Definition at line 159 of file itkBinaryNotImageFilter.h.