18 #ifndef itkLog10ImageAdaptor_h
19 #define itkLog10ImageAdaptor_h
40 template<
typename TInternalType,
typename TExternalType >
52 static inline void Set(TInternalType & output,
const TExternalType & input)
53 { output = (TInternalType)std::log10( (
double)input ); }
55 static inline TExternalType
Get(
const TInternalType & input)
56 {
return (TExternalType)std::log10( (
double)input ); }
69 template<
typename TImage,
typename TOutputPixelType >
72 typename TImage::PixelType,
79 typename TImage::PixelType,
virtual ~Log10ImageAdaptor() override
static void Set(TInternalType &output, const TExternalType &input)
Presents an image as being composed of the std::log10() of its pixels.
ImageAdaptor< TImage, Accessor::Log10PixelAccessor< typename TImage::PixelType, TOutputPixelType > > Superclass
TExternalType ExternalType
TInternalType InternalType
SmartPointer< const Self > ConstPointer
Give access to the std::log10() function of a value.
Give access to partial aspects of voxels from an Image.
SmartPointer< Self > Pointer
Base class for all data objects in ITK.
static TExternalType Get(const TInternalType &input)