Page 1 of 1

DICOM Conversion creates BLACK image

Posted: 2007-10-09T12:49:43-07:00
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

Re: DICOM Conversion creates BLACK image

Posted: 2007-10-09T12:52:48-07:00
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.

Re: DICOM Conversion creates BLACK image

Posted: 2007-10-09T13:11:59-07:00
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.