18 #ifndef itkTernaryAddImageFilter_h
19 #define itkTernaryAddImageFilter_h
32 template<
typename TInput1,
typename TInput2,
typename TInput3,
typename TOutput >
46 return !( *
this != other );
51 const TInput3 & C)
const
52 {
return (TOutput)( A + B + C ); }
65 template<
typename TInputImage1,
typename TInputImage2,
66 typename TInputImage3,
typename TOutputImage >
70 TInputImage3, TOutputImage,
71 Functor::Add3< typename TInputImage1::PixelType,
72 typename TInputImage2::PixelType,
73 typename TInputImage3::PixelType,
74 typename TOutputImage::PixelType > >
80 TInputImage1, TInputImage2,
81 TInputImage3, TOutputImage,
83 typename TInputImage2::PixelType,
84 typename TInputImage3::PixelType,
103 void operator=(const
Self &) ITK_DELETE_FUNCTION;
TernaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TOutputImage, Functor::Add3< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TInputImage3::PixelType, typename TOutputImage::PixelType > > Superclass
TOutput operator()(const TInput1 &A, const TInput2 &B, const TInput3 &C) const
Implements pixel-wise generic operation of three images.
virtual ~TernaryAddImageFilter()
Base class for all process objects that output image data.
TernaryAddImageFilter Self
bool operator==(const Add3 &other) const
SmartPointer< Self > Pointer
bool operator!=(const Add3 &) const
Pixel-wise addition of three images.
SmartPointer< const Self > ConstPointer