18 #ifndef __itkSqrtImageAdaptor_h
19 #define __itkSqrtImageAdaptor_h
22 #include "vnl/vnl_math.h"
39 template<
class TInternalType,
class TExternalType >
51 static inline void Set(TInternalType & output,
const TExternalType & input)
52 { output = (TInternalType)vcl_sqrt( (
double)input ); }
54 static inline TExternalType Get(
const TInternalType & input)
55 {
return (TExternalType)vcl_sqrt( (
double)input ); }
68 template<
class TImage,
class TOutputPixelType >
71 typename TImage::PixelType,
78 typename TImage::PixelType,
94 void operator=(
const Self &);