GDCM  2.4.5
Classes | Namespaces
gdcmRescaler.h File Reference
#include "gdcmTypes.h"
#include "gdcmPixelFormat.h"
Include dependency graph for gdcmRescaler.h:

Go to the source code of this file.

Classes

class  gdcm::Rescaler
 Rescale class This class is meant to apply the linear transform of Stored Pixel Value to Real World Value. This is mostly found in CT or PET dataset, where the value are stored using one type, but need to be converted to another scale using a linear transform. There are basically two cases: In CT: the linear transform is generally integer based. E.g. the Stored Pixel Type is unsigned short 12bits, but to get Hounsfield unit, one need to apply the linear transform:

\[ RWV = 1. * SV - 1024 \]

So the best scalar to store the Real World Value will be 16 bits signed type. More...

 

Namespaces

 gdcm
 

Generated on Fri Sep 25 2015 17:58:27 for GDCM by doxygen 1.8.9.1
SourceForge.net Logo