|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkTernaryMagnitudeImageFilter_h
19 #define itkTernaryMagnitudeImageFilter_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>(std::sqrt(static_cast<double>(A * A + B * B + C * C)));
70 template <
typename TInputImage1,
typename TInputImage2,
typename TInputImage3,
typename TOutputImage>
85 typename TInputImage2::PixelType,
86 typename TInputImage3::PixelType,
87 typename TOutputImage::PixelType>;
98 #if !defined(ITK_WRAPPING_PARSER)
TernaryMagnitudeImageFilter()
TOutput operator()(const TInput1 &A, const TInput2 &B, const TInput3 &C) const
bool operator!=(const Modulus3 &) 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)
Compute the pixel-wise magnitude of three images.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
bool operator==(const Modulus3 &other) const
Functor::Modulus3< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TInputImage3::PixelType, typename TOutputImage::PixelType > FunctorType
~TernaryMagnitudeImageFilter() override=default