[Insight-users] ITK Series Dicom 16bit in Series dicom 8bit

mauro maiorca mauromaiorca at gmail.com
Fri May 23 12:06:41 EDT 2008


Hi Silvietta,

> I want read a dicom series and write another dicom series with the same name
> but..change from 16bit to 8bit..

it seems you are using a signed short PixelType for reading and
writing, you rescale the values to 0..255, and that's fine, but the
output pixel type is still signed short (16 bits), it should be
unsigned char (8 bits).

cheers,
Mauro


More information about the Insight-users mailing list