Go to the source code of this file.
Classes | |
class | gdcm::Rescaler |
Rescale class This class is meant to apply the linear tranform 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:
So the best scalar to store the Real World Value will be 16 bits signed type. In PET: the linear transform is generally floating point based. Since the dynamic range can be quite high, the Rescale Slope / Rescale Intercept can be changing thoughout the Series. So it is important to read all linear transform and deduce the best Pixel Type only at the end (when all the images to be read have been parsed). More... | |
Namespaces | |
namespace | gdcm |