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 ); }
71 template<
typename TInputImage1,
typename TInputImage2 = TInputImage1,
typename TOutputImage = TInputImage1 >
76 typename TInputImage1::PixelType,
77 typename TInputImage2::PixelType,
78 typename TOutputImage::PixelType > >
84 TInputImage1, TInputImage2, TOutputImage,
86 typename TInputImage1::PixelType,
87 typename TInputImage2::PixelType,
88 typename TOutputImage::PixelType >
101 #ifdef ITK_USE_CONCEPT_CHECKING
105 typename TInputImage2::PixelType > ) );
108 typename TOutputImage::PixelType > ) );
111 typename TInputImage2::PixelType > ) );
Base class for all process objects that output image data.
bool operator==(const Minimum &other) const
BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Minimum< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > Superclass
TOutput operator()(const TInput1 &A, const TInput2 &B) const
void operator=(const Self &)
virtual ~MinimumImageFilter()
SmartPointer< Self > Pointer
Implements a pixel-wise operator Min(a,b) between two images.
SmartPointer< const Self > ConstPointer
#define itkConceptMacro(name, concept)
bool operator!=(const Minimum &) const
Implements pixel-wise generic operation of two images, or of an image and a constant.