18 #ifndef __itkXorImageFilter_h
19 #define __itkXorImageFilter_h
33 template<
typename TInput1,
typename TInput2 = TInput1,
typename TOutput = TInput1 >
47 return !( *
this != other );
50 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
const
52 return static_cast< TOutput
>( A ^ B );
83 template<
typename TInputImage1,
typename TInputImage2 = TInputImage1,
typename TOutputImage = TInputImage1 >
88 typename TInputImage1::PixelType,
89 typename TInputImage2::PixelType,
90 typename TOutputImage::PixelType > >
98 typename TInputImage1::PixelType,
99 typename TInputImage2::PixelType,
100 typename TOutputImage::PixelType >
113 #ifdef ITK_USE_CONCEPT_CHECKING
117 typename TInputImage2::PixelType,
118 typename TOutputImage::PixelType > ) );
bool operator==(const XOR &other) const
virtual ~XorImageFilter()
TOutput operator()(const TInput1 &A, const TInput2 &B) const
BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::XOR< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > Superclass
Base class for all process objects that output image data.
Computes the XOR bitwise operator pixel-wise between two images.
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
bool operator!=(const XOR &) const
void operator=(const Self &)
#define itkConceptMacro(name, concept)
Implements pixel-wise generic operation of two images, or of an image and a constant.