DICOM conversion results in a too blank image

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
newmagickuser

DICOM conversion results in a too blank image

Post 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-
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: DICOM conversion results in a too blank image

Post 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.
newmagickuser

Re: DICOM conversion results in a too blank image

Post by newmagickuser »

Hi magick!
I've sent u a PM with the megaupload link to my problematic image!
Bye-
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: DICOM conversion results in a too blank image

Post 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.
newmagickuser

Re: DICOM conversion results in a too blank image

Post by newmagickuser »

Hi! Your command runs perfectly...
You're great!!!
Really thank u! Bye
Post Reply