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 >
71 typename TOutputImage::PixelType >;
84 #ifdef ITK_USE_CONCEPT_CHECKING
94 #if !defined( ITK_WRAPPING_PARSER )
~ComplexToPhaseImageFilter() override=default
Define numeric traits for std::vector.
Computes pixel-wise the modulus of a complex image.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ComplexToPhaseImageFilter()
Base class for all process objects that output image data.
void SetFunctor(const std::function< ConstRefFunctionType > &f)
TOutput operator()(const TInput &A) const
typename NumericTraits< InputPixelType >::ValueType InputPixelValueType
bool operator!=(const ComplexToPhase &) const
Functor::ComplexToPhase< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
typename TOutputImage::PixelType OutputPixelType
~ComplexToPhase()=default
typename TInputImage::PixelType InputPixelType
bool operator==(const ComplexToPhase &other) const
#define itkConceptMacro(name, concept)
Implements pixel-wise generic "operation" on one image.