18#ifndef itkComplexToModulusImageFilter_h
19#define itkComplexToModulusImageFilter_h
34template <
typename TInput,
typename TOutput>
49 return (TOutput)(std::sqrt(A.real() * A.real() + A.imag() * A.imag()));
54template <
typename TInputImage,
typename TOutputImage>
82#if !defined(ITK_WRAPPING_PARSER)
ComplexToModulusImageFilter()
~ComplexToModulusImageFilter() override=default
typename TOutputImage::PixelType OutputPixelType
typename NumericTraits< InputPixelType >::ValueType InputPixelValueType
SmartPointer< const Self > ConstPointer
ComplexToModulusImageFilter Self
typename TInputImage::PixelType InputPixelType
UnaryGeneratorImageFilter< TInputImage, TOutputImage > Superclass
SmartPointer< Self > Pointer
Functor::ComplexToModulus< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(ComplexToModulus)
bool operator==(const ComplexToModulus &) const
TOutput operator()(const TInput &A) const
Implements transparent reference counting.
UnaryGeneratorImageFilter()
void SetFunctor(const std::function< ConstRefFunctionType > &f)
Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....