aimsdata  5.1.2
Neuroimaging data handling
aims::ScaledEncoding< INP, OUTP > Class Template Reference

#include <aims/io/scaledcoding.h>

Static Public Member Functions

static soma::ScaledEncodingInfo info (const carto::Volume< INP > &thing)
 Get the slope, offset and maximum error to encode a volume of float or double using an integer type. More...
 
static soma::ScaledEncodingInfo rescale (const carto::Volume< INP > &in, carto::Volume< OUTP > &out)
 

Detailed Description

template<typename INP, typename OUTP>
class aims::ScaledEncoding< INP, OUTP >

Definition at line 74 of file scaledcoding.h.

Member Function Documentation

◆ info()

template<typename INP , typename OUTP >
static soma::ScaledEncodingInfo aims::ScaledEncoding< INP, OUTP >::info ( const carto::Volume< INP > &  thing)
static

Get the slope, offset and maximum error to encode a volume of float or double using an integer type.

◆ rescale()

template<typename INP , typename OUTP >
static soma::ScaledEncodingInfo aims::ScaledEncoding< INP, OUTP >::rescale ( const carto::Volume< INP > &  in,
carto::Volume< OUTP > &  out 
)
static

The documentation for this class was generated from the following file: