[Insight-users] Modality LUT transform with gdcmIO

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Feb 8 13:47:49 EST 2007

Jesús Spí­nola wrote:
> Hello,
> I'm reading a series of DICOM images with the itk::ImageSeriesReader 
> class attaching the itk::GDCMImageIO as the ImageIO for the series reader.
> When the rescale intercept and rescale slope values are present in the 
> dicom series, this parameters are applied to the resulting itk::Image. 
> Another way of define a rescale of the values of the raw pixels of the 
> dicom images is the modality lut. If present, does gdcm apply this 
> modality lut to the resulting image? If it does not, there's any method 
> to make gdcm apply this lut?

Hi Jesús,

   Yes GDCM will apply any modality lut directly for you. In case of an 
RGB image be sure to construct a RGB pixeltype for reading your image.


More information about the Insight-users mailing list