#include <itkXorImageFilter.h>
Public Types | |
typedef XorImageFilter | Self |
typedef BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::XOR< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
XorImageFilter () | |
virtual | ~XorImageFilter () |
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.
|
Definition at line 82 of file itkXorImageFilter.h. |
|
Definition at line 81 of file itkXorImageFilter.h. |
|
Standard class typedefs. Definition at line 74 of file itkXorImageFilter.h. |
|
Definition at line 80 of file itkXorImageFilter.h. |
|
Definition at line 88 of file itkXorImageFilter.h. |
|
Definition at line 89 of file itkXorImageFilter.h. |
|
Method for creation through the object factory. |