18 #ifndef itkAndImageFilter_h
19 #define itkAndImageFilter_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 );
81 template<
typename TInputImage1,
typename TInputImage2 = TInputImage1,
typename TOutputImage = TInputImage1 >
86 typename TInputImage1::PixelType,
87 typename TInputImage2::PixelType,
88 typename TOutputImage::PixelType > >
96 typename TInputImage1::PixelType,
97 typename TInputImage2::PixelType,
109 #ifdef ITK_USE_CONCEPT_CHECKING
113 typename TInputImage2::PixelType,
114 typename TOutputImage::PixelType > ) );
Implements the AND bitwise operator pixel-wise between two images.
bool operator==(const AND &other) const
SmartPointer< const Self > ConstPointer
bool operator!=(const AND &) const
Base class for all process objects that output image data.
virtual ~AndImageFilter()
void operator=(const Self &)
SmartPointer< Self > Pointer
TOutput operator()(const TInput1 &A, const TInput2 &B) const
BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::AND< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > Superclass
#define itkConceptMacro(name, concept)
Implements pixel-wise generic operation of two images, or of an image and a constant.