DICOM Conversion creates BLACK image

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ademmler

DICOM Conversion creates BLACK image

Post by ademmler »

Dear IM Users!

I want to convert DICOM files to JPEG ort TIFF. I have tried yet:
convert -normalize test.dicm test.jpeg

The result has the right dimension, but ist only a "total black" page.
Anny suggestions, hints?

Regards Alex
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: DICOM Conversion creates BLACK image

Post by magick »

Can you post a URL to your image so we can download it and inspect it. Perhaps its contains a lossless JPEG image and you do not have lossless JPEG enabled in your version of ImageMagick.
ademmler

Re: DICOM Conversion creates BLACK image

Post by ademmler »

Here is the link:

http://www.ademmler.de/download/test.dcm.zip

#If this is the case, how do I install lossless JPEG.
#Which is the correct lib?
I have compile IM newly with all JPEG libs.
JBIG --with-jbig=yes yes
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes yes
PNG --with-png=yes yes
ZLIB --with-zlib=yes yes

I have done the test again, but I still get a black square.
Help would be create.
Post Reply