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>
83#if !defined(ITK_WRAPPING_PARSER)
SmartPointer< const Self > ConstPointer
UnaryGeneratorImageFilter< TInputImage, TOutputImage > Superclass
ComplexToPhaseImageFilter Self
SmartPointer< Self > Pointer
ComplexToPhaseImageFilter()
typename TOutputImage::PixelType OutputPixelType
Functor::ComplexToPhase< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
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
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....