Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage > Class Template Reference
[Intensity Image FiltersMultithreaded Filters]

Implements the XOR logical operator pixel-wise between two images. More...

#include <itkXorImageFilter.h>

List of all members.

Public Types

typedef XorImageFilter Self
typedef BinaryFunctorImageFilter<
TInputImage1, TInputImage2,
TOutputImage, Functor::XOR<
typename TInputImage1::PixelType,
typename TInputImage2::PixelType,
typename TOutputImage::PixelType > > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Static Public Member Functions

Pointer New ()

Protected Member Functions

 XorImageFilter ()
virtual ~XorImageFilter ()


Detailed Description

template<class TInputImage1, class TInputImage2, class TOutputImage>
class itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >

Implements the XOR 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.

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 62 of file itkXorImageFilter.h.


Member Typedef Documentation

template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef SmartPointer<const Self> itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer
 

Definition at line 82 of file itkXorImageFilter.h.

template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef SmartPointer<Self> itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer
 

Definition at line 81 of file itkXorImageFilter.h.

template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef XorImageFilter itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::Self
 

Standard class typedefs. Definition at line 74 of file itkXorImageFilter.h.

template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef BinaryFunctorImageFilter<TInputImage1,TInputImage2,TOutputImage, Functor::XOR< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType> > itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::Superclass
 

Definition at line 80 of file itkXorImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage1, class TInputImage2, class TOutputImage>
itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::XorImageFilter  )  [inline, protected]
 

Definition at line 88 of file itkXorImageFilter.h.

template<class TInputImage1, class TInputImage2, class TOutputImage>
virtual itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::~XorImageFilter  )  [inline, protected, virtual]
 

Definition at line 89 of file itkXorImageFilter.h.


Member Function Documentation

template<class TInputImage1, class TInputImage2, class TOutputImage>
Pointer itk::XorImageFilter< TInputImage1, TInputImage2, TOutputImage >::New  )  [static]
 

Method for creation through the object factory.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 02:58:18 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000