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 > >
89 Functor::MagnitudeAndPhaseToComplex<
90 typename TInputImage1::PixelType,
91 typename TInputImage2::PixelType,
92 typename TOutputImage::PixelType::value_type > >
104 typename TInputImage1::PixelType,
105 typename TInputImage2::PixelType,
121 #ifdef ITK_USE_CONCEPT_CHECKING
138 void operator=(const
Self &) ITK_DELETE_FUNCTION;
std::complex< TOutput > operator()(const TInput1 &A, const TInput2 &B) const
SmartPointer< const Self > ConstPointer
virtual ~MagnitudeAndPhaseToComplexImageFilter()
TInputImage2::PixelType InputPixel2Type
Base class for all process objects that output image data.
bool operator!=(const MagnitudeAndPhaseToComplex &) const
TInputImage1::PixelType InputPixel1Type
BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::MagnitudeAndPhaseToComplex< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType::value_type > > Superclass
TOutputImage::PixelType OutputPixelType
MagnitudeAndPhaseToComplex()
MagnitudeAndPhaseToComplexImageFilter Self
MagnitudeAndPhaseToComplexImageFilter()
SmartPointer< Self > Pointer
Implements pixel-wise conversion of magnitude and phase data into complex voxels. ...
bool operator==(const MagnitudeAndPhaseToComplex &other) const
#define itkConceptMacro(name, concept)
Templated n-dimensional image class.
Implements pixel-wise generic operation of two images, or of an image and a constant.
~MagnitudeAndPhaseToComplex()