18 #ifndef __itkNaryAddImageFilter_h
19 #define __itkNaryAddImageFilter_h
33 template<
class TInput,
class TOutput >
40 inline TOutput
operator()(
const std::vector< TInput > & B)
const
45 for (
unsigned int i = 0; i < B.size(); i++ )
49 return static_cast< TOutput
>( sum );
97 template<
class TInputImage,
class TOutputImage >
101 Functor::Add1< typename TInputImage::PixelType, typename TInputImage::PixelType > >
107 TInputImage, TOutputImage,
121 #ifdef ITK_USE_CONCEPT_CHECKING
125 typename TOutputImage::PixelType > ) );
138 void operator=(
const Self &);