impossible to convert some dicom files

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
terrordar
Posts: 2
Joined: Tue, 2007-01-16, 17:51

impossible to convert some dicom files

#1 Post by terrordar »

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 win32 bin version of dcm2pnm I can successfully convert several files like "working1.dcm" and "working2.dcm". But when i try to convert "notworking1.dcm" or "notworking2.dcm" I get only a black or almost black image.

Is this a bug? Please help me. Thx

Michael Onken
DCMTK Developer
Posts: 2054
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#2 Post by Michael Onken »

Hi,

use the windowing options of dcm2pnm to adjust grayscale levels, e. g. set a min max windows with option "+Wm". Then your files will show more than a black screen :)

Regards,
Michael

terrordar
Posts: 2
Joined: Tue, 2007-01-16, 17:51

#3 Post by terrordar »

Thank you very much! It worked perfectly! :)

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 1 guest