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