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 static_cast<TOutput
>( A * A + B * B + C * C ); }
66 template<
typename TInputImage1,
typename TInputImage2,
67 typename TInputImage3,
typename TOutputImage >
71 TInputImage3, TOutputImage,
72 Functor::ModulusSquare3<
73 typename TInputImage1::PixelType,
74 typename TInputImage2::PixelType,
75 typename TInputImage3::PixelType,
76 typename TOutputImage::PixelType > >
84 TInputImage1, TInputImage2,
85 TInputImage3, TOutputImage,
87 typename TInputImage1::PixelType,
88 typename TInputImage2::PixelType,
89 typename TInputImage3::PixelType,
90 typename TOutputImage::PixelType > >;
Compute the pixel-wise squared magnitude of three images.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Implements pixel-wise generic operation of three images.
Base class for all process objects that output image data.
~ModulusSquare3()=default
TOutput operator()(const TInput1 &A, const TInput2 &B, const TInput3 &C) const
bool operator!=(const ModulusSquare3 &) const
~TernaryMagnitudeSquaredImageFilter() override=default
bool operator==(const ModulusSquare3 &other) const
TernaryMagnitudeSquaredImageFilter()=default