18 #ifndef itkAddImageFilter_h
19 #define itkAddImageFilter_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 );
106 template<
typename TInputImage1,
typename TInputImage2 = TInputImage1,
typename TOutputImage = TInputImage1 >
111 typename TInputImage1::PixelType,
112 typename TInputImage2::PixelType,
113 typename TOutputImage::PixelType > >
121 typename TInputImage1::PixelType,
122 typename TInputImage2::PixelType,
135 #ifdef ITK_USE_CONCEPT_CHECKING
139 typename TInputImage2::PixelType,
140 typename TOutputImage::PixelType > ) );
Pixel-wise addition of two images.
SmartPointer< const Self > ConstPointer
bool operator==(const Add2 &other) const
virtual ~AddImageFilter()
Base class for all process objects that output image data.
BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > Superclass
SmartPointer< Self > Pointer
TOutput operator()(const TInput1 &A, const TInput2 &B) const
bool operator!=(const Add2 &) const
#define itkConceptMacro(name, concept)
Implements pixel-wise generic operation of two images, or of an image and a constant.