18 #ifndef __itkMagnitudeAndPhaseToComplexImageFilter_h
19 #define __itkMagnitudeAndPhaseToComplexImageFilter_h
55 template<
typename TInput1,
typename TInput2,
typename TOutput >
68 return !( *
this != other );
71 inline std::complex< TOutput >
operator()(
const TInput1 & A,
const TInput2 & B)
const
73 return std::complex< TOutput >( std::polar( static_cast< TOutput >( A ), static_cast< TOutput >( B ) ) );
78 template<
typename TInputImage1,
79 typename TInputImage2 = TInputImage1,
81 TInputImage1::ImageDimension > >
87 Functor::MagnitudeAndPhaseToComplex<
88 typename TInputImage1::PixelType,
89 typename TInputImage2::PixelType,
90 typename TOutputImage::PixelType::value_type > >
102 typename TInputImage1::PixelType,
103 typename TInputImage2::PixelType,
119 #ifdef ITK_USE_CONCEPT_CHECKING
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
void operator=(const Self &)
#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()