Contrast Issue with DICOM format to jpeg

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
samuelsoe

Contrast Issue with DICOM format to jpeg

Post by samuelsoe »

Hello:

I am trying to read dcm format and write it to jpeg using imagemagick 6.5.3.
It successfully convert the image, but the result is different from the original image. Please download the dcm and jpeg result here:

http://theseconddot.com/tmp/image.zip

here is just pure reading and writing

Code: Select all

status = MagickReadImage(Mymagick_wand,imagePath);
	
	
	if (status == MagickFalse) {
		
		ThrowWandException(Mymagick_wand);		
		return nil;
	}
and i simply use MagickWriteImage to write the image. Any idea on this will be really helpful. I'm pretty new to imagemagick but starting to like it a lot :D
jfburr
Posts: 1
Joined: 2012-01-09T02:51:03-07:00
Authentication code: 8675308

Re: Contrast Issue with DICOM format to jpeg

Post by jfburr »

Hello samuelsoe,

I would like to know if you did find any solution to your dicom contrast issue.
I'm encountering the same problem, and that would be really helpful.

Regards,

JF
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Contrast Issue with DICOM format to jpeg

Post by fmw42 »

see viewtopic.php?f=1&t=19748&hilit=DICOM Perhaps this is related to your problem?
Post Reply