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,
81 typename TImage::PixelType,
TOutputPixelType ExternalType
TImage::PixelType InternalType
static void Set(TInternalType &output, const TExternalType &input)
Presents an image as being composed of the std::log10() of its pixels.
Log10ImageAdaptor()=default
Give access to the std::log10() function of a value.
Give access to partial aspects of voxels from an Image.
Base class for most ITK classes.
Base class for all data objects in ITK.
static TExternalType Get(const TInternalType &input)
~Log10ImageAdaptor() override=default