[Insight-users] Reading Dicom PET signed image

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Apr 12 15:09:16 EDT 2006


Alban Gaignard wrote:
>    Hello ITK users,
> I'm trying to read a dicom PET image that contains 16bits signed values
> and I've a strange output image. I use GDCMImageIO and declare a "signed 
> short" itkImage.
> I've tried to dump the min and max values :
>     dcmtk says min value (0028|0106) = -5276
>     gdcm  says min value (0028|0106) = 60260 !!
>    max values are the same : 32767.
> 
> thank you in advance for your help !!
> Alban

Hi Alban,

	Just looking at the max value, I'd say dcmtk is correct. Could you 
confirm you are reading in an implicit dataset (no explicit Value 
Representation) ? In this case gdcm lack a better logic to find out the 
correct type for the variable.

Mathieu


More information about the Insight-users mailing list