18 #ifndef __itkExpImageAdaptor_h
19 #define __itkExpImageAdaptor_h
22 #include "vnl/vnl_math.h"
39 template<
typename TInternalType,
typename TExternalType >
51 static inline void Set(TInternalType & output,
const TExternalType & input)
52 { output = (TInternalType)std::exp( (
double)input ); }
54 static inline TExternalType
Get(
const TInternalType & input)
55 {
return (TExternalType)std::exp( (
double)input ); }
68 template<
typename TImage,
typename TOutputPixelType >
71 typename TImage::PixelType,
79 typename TImage::PixelType, TOutputPixelType > >
Superclass;
static void Set(TInternalType &output, const TExternalType &input)
Presents an image as being composed of the std::exp() of its pixels.
SmartPointer< Self > Pointer
Give access to the std::exp() function of a value.
void operator=(const Self &)
SmartPointer< const Self > ConstPointer
virtual ~ExpImageAdaptor()
TExternalType ExternalType
static TExternalType Get(const TInternalType &input)
TInternalType InternalType
ImageAdaptor< TImage, Accessor::ExpPixelAccessor< typename TImage::PixelType, TOutputPixelType > > Superclass
Give access to partial aspects of voxels from an Image.
Base class for all data objects in ITK.