18 #ifndef __itkAddImageFilter_h
19 #define __itkAddImageFilter_h
33 template<
class TInput1,
class TInput2 = TInput1,
class TOutput = TInput1 >
48 return !( *
this != other );
51 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
const
55 return static_cast< TOutput
>( sum + B );
109 template<
class TInputImage1,
class TInputImage2 = TInputImage1,
class TOutputImage = TInputImage1 >
114 typename TInputImage1::PixelType,
115 typename TInputImage2::PixelType,
116 typename TOutputImage::PixelType > >
124 typename TInputImage1::PixelType,
125 typename TInputImage2::PixelType,
138 #ifdef ITK_USE_CONCEPT_CHECKING
142 typename TInputImage2::PixelType,
143 typename TOutputImage::PixelType > ) );
154 void operator=(
const Self &);