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] ) )
103 template<
typename TInputImage,
typename TOutputImage >
107 Functor::Maximum1< typename TInputImage::PixelType,
108 typename TInputImage::PixelType > >
114 TInputImage, TOutputImage,
128 #ifdef ITK_USE_CONCEPT_CHECKING
132 typename TOutputImage::PixelType > ) );
NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Maximum1< typename TInputImage::PixelType, typename TInputImage::PixelType > > Superclass
NaryMaximumImageFilter Self
SmartPointer< const Self > ConstPointer
Base class for all process objects that output image data.
bool operator!=(const Maximum1 &) const
NumericTraits< TOutput >::ValueType OutputValueType
Perform a generic pixel-wise operation on N images.
virtual ~NaryMaximumImageFilter() override
SmartPointer< Self > Pointer
static ITK_CONSTEXPR_FUNC T NonpositiveMin()
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.