DCMJ2PNM and GE Vingmed Ultrasound

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
martinrame
Posts: 347
Joined: Mon, 2009-02-23, 19:57

DCMJ2PNM and GE Vingmed Ultrasound

#1 Post by martinrame »

Hi, I'm trying to convert an GE Vingmed Ultrasound image (JPEGLossless:Non-hierarchical-1stOrderPrediction), but I'm getting a wrong result. This is the 1nst time dcmj2pnm cannot convert an image, what can be wrong with this image?.

This is the resulting image:

Image

P.S.: I've sent the original image to dicom@offis.de

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1444
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: DCMJ2PNM and GE Vingmed Ultrasound

#2 Post by Marco Eichelberg »

Hard to say. The green color is caused by the fact that the image (incorrectly) claims to be encoded with YCbCr color model, while in fact it is RGB.
Calling

Code: Select all

dcmodify -m PhotometricInterpretation=RGB <filename>
will fix that, but not the whole image.
The fact that some information seems to appear 3 times in the image indicates some problem with pixel-by-color vs. pixel-by-plane encoding (PlanarConfiguration), but changing that does not help. I suspect that the planar configuration got scrambled during the compression process; I don't think this can be fixed by DCMTK as is, but perhaps somebody else has a better idea.

martinrame
Posts: 347
Joined: Mon, 2009-02-23, 19:57

Re: DCMJ2PNM and GE Vingmed Ultrasound

#3 Post by martinrame »

That's weird, apparently Synapse PACS is the only able to display correctly those images, or it is mangling them when exporting/sending to an external PACS.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 1 guest