18 #ifndef itkMinimumImageFilter_h
19 #define itkMinimumImageFilter_h
32 template<
typename TInput1,
typename TInput2 = TInput1,
typename TOutput = TInput1 >
46 return !( *
this != other );
49 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
const
50 {
return static_cast< TOutput
>( ( A < B ) ? A : B ); }
72 template<
typename TInputImage1,
typename TInputImage2 = TInputImage1,
typename TOutputImage = TInputImage1 >
87 typename TInputImage2::PixelType,
88 typename TOutputImage::PixelType >;
97 #ifdef ITK_USE_CONCEPT_CHECKING
101 typename TInputImage2::PixelType > ) );
104 typename TOutputImage::PixelType > ) );
107 typename TInputImage2::PixelType > ) );
114 #if !defined( ITK_WRAPPING_PARSER )
Functor::Minimum< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
~MinimumImageFilter() override=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.
bool operator==(const Minimum &other) const
TOutput operator()(const TInput1 &A, const TInput2 &B) const
Implements pixel-wise generic operation of two images, or of an image and a constant.
void SetFunctor(const std::function< ConstRefFunctionType > &f)
Implements a pixel-wise operator Min(a,b) between two images.
#define itkConceptMacro(name, concept)
bool operator!=(const Minimum &) const