Page 1 of 1

DICOM conversion results in a too blank image

Posted: 2009-06-10T04:28:52-07:00
by newmagickuser
Hi all.
I've another problem with some DICOM (*.dcm) images.
When I try to convert'em into a JPG file it results in
an blank image.
The command I've tried to use is the simple

Code: Select all

convert image.dcm image.jpg
and the version of Imagemagick used is the latest 6.5.3-3
under Windows XP/Vista. Can't try on MacOSX right now.
What's the matter?
TY for all. Bye-

Re: DICOM conversion results in a too blank image

Posted: 2009-06-10T06:40:42-07:00
by magick
Post a URL to your image so we can download it and reproduce the problem. Once we do, we'll post here with a solution.

Re: DICOM conversion results in a too blank image

Posted: 2009-06-10T07:15:00-07:00
by newmagickuser
Hi magick!
I've sent u a PM with the megaupload link to my problematic image!
Bye-

Re: DICOM conversion results in a too blank image

Posted: 2009-06-10T07:40:50-07:00
by magick
Your display range (as defined by the DCM image attributes) is too narrow. Try this command:

convert -define dcm:display-range=reset 00000000.dcm 00000000.png

This concept is briefly discussed here: http://www.imagemagick.org/script/formats.php. Look for the DCM tag.

Re: DICOM conversion results in a too blank image

Posted: 2009-06-10T09:41:07-07:00
by newmagickuser
Hi! Your command runs perfectly...
You're great!!!
Really thank u! Bye