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

#include <aims/io/scaledcoding.h>

Static Public Member Functions

static soma::ScaledEncodingInfo info (const AimsData< 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 AimsData< INP > &in, AimsData< OUTP > &out)
 

Detailed Description

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

Definition at line 76 of file scaledcoding.h.

Member Function Documentation

◆ info()

template<typename INP , typename OUTP >
static soma::ScaledEncodingInfo aims::ScaledEncoding< INP, OUTP >::info ( const AimsData< 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 AimsData< INP > &  in,
AimsData< OUTP > &  out 
)
static

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