18 #ifndef __itkMagnitudeAndPhaseToComplexImageFilter_h
19 #define __itkMagnitudeAndPhaseToComplexImageFilter_h
55 template<
class TInput1,
class TInput2,
class 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<
class TInputImage1,
79 class 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
136 void operator=(
const Self &);