18 #ifndef itkMagnitudeAndPhaseToComplexImageFilter_h
19 #define itkMagnitudeAndPhaseToComplexImageFilter_h
57 template<
typename TInput1,
typename TInput2,
typename TOutput >
70 return !( *
this != other );
73 inline std::complex< TOutput >
operator()(
const TInput1 & A,
const TInput2 & B)
const
75 return std::complex< TOutput >( std::polar( static_cast< TOutput >( A ), static_cast< TOutput >( B ) ) );
80 template<
typename TInputImage1,
81 typename TInputImage2 = TInputImage1,
83 TInputImage1::ImageDimension > >
107 typename TInputImage2::PixelType,
108 typename TOutputImage::PixelType::value_type >;
116 #ifdef ITK_USE_CONCEPT_CHECKING
130 #if !defined( ITK_WRAPPING_PARSER )
~MagnitudeAndPhaseToComplexImageFilter() override=default
std::complex< TOutput > operator()(const TInput1 &A, const TInput2 &B) const
typename TOutputImage::PixelType OutputPixelType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
MagnitudeAndPhaseToComplex()=default
Base class for all process objects that output image data.
bool operator!=(const MagnitudeAndPhaseToComplex &) const
typename TInputImage1::PixelType InputPixel1Type
typename TInputImage2::PixelType InputPixel2Type
Implements pixel-wise generic operation of two images, or of an image and a constant.
void SetFunctor(const std::function< ConstRefFunctionType > &f)
MagnitudeAndPhaseToComplexImageFilter()
Implements pixel-wise conversion of magnitude and phase data into complex voxels. ...
~MagnitudeAndPhaseToComplex()=default
Functor::MagnitudeAndPhaseToComplex< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType::value_type > FunctorType
bool operator==(const MagnitudeAndPhaseToComplex &other) const
#define itkConceptMacro(name, concept)
Templated n-dimensional image class.