18#ifndef itkNaryAddImageFilter_h
19#define itkNaryAddImageFilter_h
33template <
typename TInput,
typename TOutput>
43 for (
unsigned int i = 0; i < B.size(); ++i)
47 return static_cast<TOutput
>(sum);
94template <
typename TInputImage,
typename TOutputImage>
98 Functor::Add1<typename TInputImage::PixelType, typename TInputImage::PixelType>>
119#ifdef ITK_USE_CONCEPT_CHECKING
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(Add1)
TOutput operator()(const std::vector< TInput > &B) const
bool operator==(const Add1 &) const
typename NumericTraits< TInput >::AccumulateType AccumulatorType
Base class for all process objects that output image data.
Pixel-wise addition of N images.
NaryAddImageFilter()=default
~NaryAddImageFilter() override=default
Perform a generic pixel-wise operation on N images.
Define additional traits for native types such as int or float.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....