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