18 #ifndef __itkLogImageAdaptor_h
19 #define __itkLogImageAdaptor_h
22 #include "vnl/vnl_math.h"
40 template<
class TInternalType,
class TExternalType >
52 static inline void Set(TInternalType & output,
const TExternalType & input)
53 { output = (TInternalType)vcl_log( (
double)input ); }
55 static inline TExternalType Get(
const TInternalType & input)
56 {
return (TExternalType)vcl_log( (
double)input ); }
69 template<
class TImage,
class TOutputPixelType >
72 Accessor::LogPixelAccessor<
73 typename TImage::PixelType,
81 typename TImage::PixelType,
99 void operator=(
const Self &);