18 #ifndef __itkComplexToModulusImageFilter_h
19 #define __itkComplexToModulusImageFilter_h
22 #include "vnl/vnl_math.h"
34 template<
class TInput,
class TOutput >
47 return !( *
this != other );
52 return (TOutput)( vcl_sqrt( A.real() * A.real()
53 + A.imag() * A.imag() ) );
58 template<
class TInputImage,
class TOutputImage >
62 Functor::ComplexToModulus<
63 typename TInputImage::PixelType,
64 typename TOutputImage::PixelType > >
70 TInputImage, TOutputImage,
88 #ifdef ITK_USE_CONCEPT_CHECKING
102 void operator=(
const Self &);