Page 1 of 1

impossible to read dicom files?

Posted: 2007-01-16T14:39:42-07:00
by terror
Hi all
I have a problem reading some DICOM files. I have attached a rar containing 4 dcm images. Here's the link (just click the download button):

http://www.keepmyfile.com/download/db1d0b1331880

Using the latest versions of Imagemagick (6.2.x or 6.3.x) I can successfully open several files like "working1.dcm" and "working2.dcm". But when i try to open "notworking1.dcm" or "notworking2.dcm" I get only a black or almost black image.
The strange thing is that using Imagemagick 5.5.7 i can normally open those files.

Is this a bug? Please help me. Thx

Posted: 2007-01-20T05:23:44-07:00
by terror
I think I found the cause of the problem. It's something about the "width" and "center" of the dicom image, 2 dicom-specific parameters that describe the brightness and contrast of the image. Probably in the not-working pictures those values are not correctly read. Any idea on regulating those values?