18#ifndef itkComplexToPhaseImageFilter_h
19#define itkComplexToPhaseImageFilter_h
35template <
typename TInput,
typename TOutput>
50 return static_cast<TOutput
>(std::atan2(A.imag(), A.real()));
55template <
typename TInputImage,
typename TOutputImage>
78#ifdef ITK_USE_CONCEPT_CHECKING
87#if !defined(ITK_WRAPPING_PARSER)
Computes pixel-wise the modulus of a complex image.
ComplexToPhaseImageFilter()
typename TOutputImage::PixelType OutputPixelType
typename NumericTraits< InputPixelType >::ValueType InputPixelValueType
typename TInputImage::PixelType InputPixelType
~ComplexToPhaseImageFilter() override=default
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(ComplexToPhase)
bool operator==(const ComplexToPhase &) const
TOutput operator()(const TInput &A) const
Base class for all process objects that output image data.
Define additional traits for native types such as int or float.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Implements pixel-wise generic "operation" on one image.
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....