18#ifndef itkMagnitudeAndPhaseToComplexImageFilter_h
19#define itkMagnitudeAndPhaseToComplexImageFilter_h
57template <
typename TInput1,
typename TInput2,
typename TOutput>
69 inline std::complex<TOutput>
72 return std::complex<TOutput>(std::polar(
static_cast<TOutput
>(A),
static_cast<TOutput
>(B)));
77template <
typename TInputImage1,
78 typename TInputImage2 = TInputImage1,
79 typename TOutputImage =
100 typename TInputImage2::PixelType,
101 typename TOutputImage::PixelType::value_type>;
116#if !defined(ITK_WRAPPING_PARSER)
BinaryGeneratorImageFilter()
void SetFunctor(const std::function< ConstRefFunctionType > &f)
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(MagnitudeAndPhaseToComplex)
bool operator==(const MagnitudeAndPhaseToComplex &) const
std::complex< TOutput > operator()(const TInput1 &A, const TInput2 &B) const
Templated n-dimensional image class.
SmartPointer< Self > Pointer
MagnitudeAndPhaseToComplexImageFilter Self
Functor::MagnitudeAndPhaseToComplex< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType::value_type > FunctorType
typename TInputImage2::PixelType InputPixel2Type
MagnitudeAndPhaseToComplexImageFilter()
~MagnitudeAndPhaseToComplexImageFilter() override=default
typename TOutputImage::PixelType OutputPixelType
SmartPointer< const Self > ConstPointer
typename TInputImage1::PixelType InputPixel1Type
BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage > Superclass
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....