18 #ifndef __itkComplexToPhaseImageAdaptor_h
19 #define __itkComplexToPhaseImageAdaptor_h
40 template<
class TInternalType,
class TExternalType >
52 static inline void Set(TInternalType & output,
const TExternalType & input)
53 { output = (TInternalType)( input ); }
55 static inline TExternalType Get(
const TInternalType & input)
56 {
return (TExternalType)( vcl_atan2( input.imag(), input.real() ) ); }
69 template<
class TImage,
class TOutputPixelType >
72 Accessor::ComplexToPhasePixelAccessor<
73 typename TImage::PixelType,
80 typename TImage::PixelType,
95 void operator=(
const Self &);