magick wrote:Make sure you are running the proper version of ImageMagick. The behavior your describe is what is expected to versions of ImageMagick prior to a recent patch we applied to fix the problem you posted. The conversion command was simple: convert image.dcm image.png. The DICOM coder does not rely on any dependencies. ImageMagick 6.3.0 will be released within a day or two if you want to try it but it should not be necessary ImageMagick 6.7.2-10 works for us.
I'm sorry but the 6.7.2-10 version does not change anything for me
http://www.sendspace.com/file/lpsgdp This image is a result of the following command:
Code: Select all
convert -define dcm:display-range=reset GEORGIEV_EMILIYAN.DCM -define png:color-type=4 -quality 100 -define png:compression-level=9 GEORGIEV_EMILIYAN.DCM1.png
http://www.sendspace.com/file/eow6i3 And this is a result of the following command:
Code: Select all
convert GEORGIEV_EMILIYAN.DCM GEORGIEV_EMILIYAN.DCM2.png
I'm using with both comands:
Code: Select all
convert -version
Version: ImageMagick 6.7.2-10 2011-10-10 Q64 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP HDRI
I really don't know what is going on
Is it possible some cflags or ldflags to mess things up during compile time?
I'm using the following flags:
Code: Select all
CFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags"