|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkNaryAddImageFilter_h
19 #define itkNaryAddImageFilter_h
33 template <
typename TInput,
typename TOutput>
46 for (
unsigned int i = 0; i < B.size(); i++)
48 sum += static_cast<AccumulatorType>(B[i]);
50 return static_cast<TOutput>(sum);
101 template <
typename TInputImage,
typename TOutputImage>
105 Functor::Add1<typename TInputImage::PixelType, typename TInputImage::PixelType>>
126 #ifdef ITK_USE_CONCEPT_CHECKING
bool operator!=(const Add1 &) const
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
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