 |
ITK
5.4.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkTernaryMagnitudeSquaredImageFilter_h
19 #define itkTernaryMagnitudeSquaredImageFilter_h
32 template <
typename TInput1,
typename TInput2,
typename TInput3,
typename TOutput>
48 operator()(
const TInput1 & A,
const TInput2 & B,
const TInput3 & C)
const
50 return static_cast<TOutput>(A * A + B * B + C * C);
66 template <
typename TInputImage1,
typename TInputImage2,
typename TInputImage3,
typename TOutputImage>
81 typename TInputImage2::PixelType,
82 typename TInputImage3::PixelType,
83 typename TOutputImage::PixelType>;
94 #if !defined(ITK_WRAPPING_PARSER)
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(ModulusSquare3)
bool operator==(const ModulusSquare3 &) const
~TernaryMagnitudeSquaredImageFilter() override=default
TOutput operator()(const TInput1 &A, const TInput2 &B, const TInput3 &C) const
Base class for all process objects that output image data.
Implements pixel-wise generic operation of three images or images with constants.
void SetFunctor(const std::function< ConstRefFunctionType > &f)
Functor::ModulusSquare3< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TInputImage3::PixelType, typename TOutputImage::PixelType > FunctorType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
TernaryMagnitudeSquaredImageFilter()
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
~ModulusSquare3()=default
Compute the pixel-wise squared magnitude of three images.