18 #ifndef itkOrImageFilter_h
19 #define itkOrImageFilter_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 > >
97 TInputImage1, TInputImage2, TOutputImage,
99 typename TInputImage2::PixelType,
112 #ifdef ITK_USE_CONCEPT_CHECKING
116 typename TInputImage2::PixelType,
117 typename TOutputImage::PixelType > ) );
BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::OR< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > Superclass
void operator=(const Self &)
Base class for all process objects that output image data.
SmartPointer< const Self > ConstPointer
Implements the OR bitwise operator pixel-wise between two images.
bool operator==(const OR &other) const
bool operator!=(const OR &) const
TOutput operator()(const TInput1 &A, const TInput2 &B) const
#define itkConceptMacro(name, concept)
SmartPointer< Self > Pointer
Implements pixel-wise generic operation of two images, or of an image and a constant.