18 #ifndef itkNaryMaximumImageFilter_h
19 #define itkNaryMaximumImageFilter_h
33 template<
typename TInput,
typename TOutput >
43 inline TOutput
operator()(
const std::vector< TInput > & B)
const
47 for (
unsigned int i = 0; i < B.size(); i++ )
49 if ( A < static_cast< OutputValueType >( B[i] ) )
104 template<
typename TInputImage,
typename TOutputImage >
108 Functor::Maximum1< typename TInputImage::PixelType,
109 typename TInputImage::PixelType > >
117 TInputImage, TOutputImage,
119 typename TInputImage::PixelType > >;
131 #ifdef ITK_USE_CONCEPT_CHECKING
135 typename TOutputImage::PixelType > ) );
Define numeric traits for std::vector.
NaryMaximumImageFilter()=default
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
~NaryMaximumImageFilter() override=default
bool operator!=(const Maximum1 &) const
Perform a generic pixel-wise operation on N images.
TOutput operator()(const std::vector< TInput > &B) const
bool operator==(const Maximum1 &) const
#define itkConceptMacro(name, concept)
Computes the pixel-wise maximum of several images.
typename NumericTraits< TInputImage::PixelType >::ValueType OutputValueType