|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkMagnitudeAndPhaseToComplexImageFilter_h
19 #define itkMagnitudeAndPhaseToComplexImageFilter_h
57 template <
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)));
77 template <
typename TInputImage1,
78 typename TInputImage2 = TInputImage1,
79 typename TOutputImage =
100 typename TInputImage2::PixelType,
101 typename TOutputImage::PixelType::value_type>;
109 #ifdef ITK_USE_CONCEPT_CHECKING
120 #if !defined(ITK_WRAPPING_PARSER)
~MagnitudeAndPhaseToComplexImageFilter() override=default
MagnitudeAndPhaseToComplexImageFilter()
Implements pixel-wise generic operation of two images, or of an image and a constant.
Implements pixel-wise conversion of magnitude and phase data into complex voxels.
typename TInputImage2::PixelType InputPixel2Type
Base class for all process objects that output image data.
bool operator==(const MagnitudeAndPhaseToComplex &) const
std::complex< TOutput > operator()(const TInput1 &A, const TInput2 &B) const
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(MagnitudeAndPhaseToComplex)
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Functor::MagnitudeAndPhaseToComplex< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType::value_type > FunctorType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Templated n-dimensional image class.
typename TInputImage1::PixelType InputPixel1Type
typename TOutputImage::PixelType OutputPixelType
void SetFunctor(const std::function< ConstRefFunctionType > &f)