[Insight-users] DicomSeriesReadImageWrite2

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Jan 4 11:21:27 EST 2007


예동해 wrote:
> Dear all,
> 
> I am trying to convert .dic to .img.
> 
> I used DicomSeriesReadImageWrite2.exe on the example.
> 
>  
> 
> It works good, but some warning message comes out.
> 
> The message is "Must downscale data from 16 bits to 12"

Hi 예동해,

  This is a warning you can simply discard it. To only way to safely
remove this warning is to call your private vendor that delivered this
buggy DICOM file. Basically the DICOM header is saying that the JPEG
stream will be encoded on 16bits, but when reading the raw jpeg segment
GDCM (Actually ijg) is finding that the jpeg stream was encoded only on
12bits, thus the warning. In a fully compliant system (eg dcmtk) the
image will not (shall not !) be decompressed correctly since the only
information we should be using is the one specified in the DICOM header.

  I only see that happen on some old Philips DICOM file, by any chance
could you please send me a copy of this file.

2 cents,
Mathieu




More information about the Insight-users mailing list