|
ITK
5.2.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>
72 return !(*
this != other);
75 inline std::complex<TOutput>
78 return std::complex<TOutput>(std::polar(static_cast<TOutput>(A), static_cast<TOutput>(B)));
83 template <
typename TInputImage1,
84 typename TInputImage2 = TInputImage1,
85 typename TOutputImage =
106 typename TInputImage2::PixelType,
107 typename TOutputImage::PixelType::value_type>;
115 #ifdef ITK_USE_CONCEPT_CHECKING
126 #if !defined(ITK_WRAPPING_PARSER)
~MagnitudeAndPhaseToComplexImageFilter() override=default
bool operator!=(const MagnitudeAndPhaseToComplex &) const
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
~MagnitudeAndPhaseToComplex()=default
Base class for all process objects that output image data.
std::complex< TOutput > operator()(const TInput1 &A, const TInput2 &B) const
#define itkConceptMacro(name, concept)
MagnitudeAndPhaseToComplex()=default
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
bool operator==(const MagnitudeAndPhaseToComplex &other) const
void SetFunctor(const std::function< ConstRefFunctionType > &f)