A.I.M.S


scaledcoding.h File Reference
Include dependency graph for scaledcoding.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  carto::Volume< T >
 
class  AimsData< T >
 
class  aims::ScaledEncoding< INP, OUTP >
 

Namespaces

 carto
 
 aims
 The class for EcatSino data write operation.
 

Functions

template<typename T >
bool aims::canEncodeAsScaledS16 (const carto::Volume< T > &vol, float &slope, float &offset, bool enableoffset=true, double *maxerr=0)
 Checks if a volume can be encoded as 16 bit signed ints with a scale factor and optionally an offset. More...
 
template<>
bool aims::canEncodeAsScaledS16 (const carto::Volume< float > &vol, float &slope, float &offset, bool enableoffset, double *)
 
template<>
bool aims::canEncodeAsScaledS16 (const carto::Volume< double > &vol, float &slope, float &offset, bool enableoffset, double *)