ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkXorImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef XorImageFilter | Self |
typedef BinaryFunctorImageFilter < TInputImage1, TInputImage2, TOutputImage, Functor::XOR < typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
typedef (Concept::LogicalOperators< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType >) Input1Input2OutputLogicalOperatorsCheck | |
Static Public Member Functions | |
static Pointer | New () |
XorImageFilter () | |
virtual | ~XorImageFilter () |
XorImageFilter (const Self &) | |
void | operator= (const Self &) |
Computes the XOR logical operator pixel-wise between two images.
This class is templated over the types of the two input images and the type of the output image. Numeric conversions (castings) are done by the C++ defaults.
Since the logical XOR operation 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
output_pixel = static_cast<OutputPixelType>( input1_pixel ^ input2_pixel )
Where "^" is the boolean XOR operator in C++.
Definition at line 84 of file itkXorImageFilter.h.
typedef SmartPointer< const Self > itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer |
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::XOR< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Definition at line 104 of file itkXorImageFilter.h.
typedef SmartPointer< Self > itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer |
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::XOR< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Definition at line 103 of file itkXorImageFilter.h.
typedef XorImageFilter itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::XOR< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Definition at line 95 of file itkXorImageFilter.h.
typedef BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::XOR< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::Superclass |
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::XOR< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Definition at line 101 of file itkXorImageFilter.h.
itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::XorImageFilter | ( | ) | [inline, protected] |
End concept checking
Definition at line 123 of file itkXorImageFilter.h.
virtual itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::~XorImageFilter | ( | ) | [inline, protected, virtual] |
End concept checking
Definition at line 124 of file itkXorImageFilter.h.
itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::XorImageFilter | ( | const Self & | ) | [private] |
End concept checking
virtual::itk::LightObject::Pointer itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::CreateAnother | ( | void | ) | const [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::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::XOR< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
virtual const char* itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::XOR< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
static Pointer itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::XOR< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
void itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::operator= | ( | const Self & | ) | [private] |
End concept checking
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::XOR< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::typedef | ( | Concept::LogicalOperators< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > | ) |
Begin concept checking This class requires Input1Input2OutputLogicalOperatorsCheck in the form of ( Concept::LogicalOperators< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > )