18 #ifndef itkTernaryMagnitudeSquaredImageFilter_h
19 #define itkTernaryMagnitudeSquaredImageFilter_h
32 template <
typename TInput1,
typename TInput2,
typename TInput3,
typename TOutput>
48 return !(*
this != other);
52 operator()(
const TInput1 & A,
const TInput2 & B,
const TInput3 & C)
const
54 return static_cast<TOutput>(A * A + B * B + C * C);
70 template <
typename TInputImage1,
typename TInputImage2,
typename TInputImage3,
typename TOutputImage>
76 Functor::ModulusSquare3<typename TInputImage1::PixelType,
77 typename TInputImage2::PixelType,
78 typename TInputImage3::PixelType,
79 typename TOutputImage::PixelType>>
91 typename TInputImage2::PixelType,
92 typename TInputImage3::PixelType,
93 typename TOutputImage::PixelType>>;