18 #ifndef itkComplexToPhaseImageFilter_h
19 #define itkComplexToPhaseImageFilter_h
34 template<
typename TInput,
typename TOutput >
47 return !( *
this != other );
52 return static_cast<TOutput
>( std::atan2( A.imag(), A.real() ) );
57 template<
typename TInputImage,
typename TOutputImage >
61 Functor::ComplexToPhase<
62 typename TInputImage::PixelType,
63 typename TOutputImage::PixelType > >
69 TInputImage, TOutputImage,
87 #ifdef ITK_USE_CONCEPT_CHECKING
ComplexToPhaseImageFilter Self
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ComplexToPhase< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
Computes pixel-wise the modulus of a complex image.
NumericTraits< InputPixelType >::ValueType InputPixelValueType
virtual ~ComplexToPhaseImageFilter() override
ComplexToPhaseImageFilter()
Base class for all process objects that output image data.
SmartPointer< const Self > ConstPointer
TOutput operator()(const TInput &A) const
bool operator!=(const ComplexToPhase &) const
TOutputImage::PixelType OutputPixelType
Implements pixel-wise generic operation on one image.
SmartPointer< Self > Pointer
Define additional traits for native types such as int or float.
bool operator==(const ComplexToPhase &other) const
#define itkConceptMacro(name, concept)
TInputImage::PixelType InputPixelType