CR image is not shown good after convert to JPG

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
simeon
Posts: 35
Joined: Fri, 2006-09-15, 09:25
Location: Bulgaria
Contact:

CR image is not shown good after convert to JPG

#1 Post by simeon » Wed, 2021-09-29, 13:03

Hello,
I have a question about one image from a CR modality.
When I convert it to JPEG, it doesn't look as it must look.
I use following: >dcmj2pnm +oj 0001001A sample.jpg

The left is converted to JPG, on the right how it must look.
Image

Link to the file: https://sas.bg/temp/sample_cr_anon
Simeon Antonov

J. Riesmeier
DCMTK Developer
Posts: 2317
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: CR image is not shown good after convert to JPG

#2 Post by J. Riesmeier » Wed, 2021-10-06, 21:02

Did you already try to specify a more appropriate VOI LUT transformation (e.g. Window Center/Width) than the one stored in the DICOM dataset?

simeon
Posts: 35
Joined: Fri, 2006-09-15, 09:25
Location: Bulgaria
Contact:

Re: CR image is not shown good after convert to JPG

#3 Post by simeon » Wed, 2021-10-06, 22:05

I think it is not related with Windows Center/Width. Because I already try to change them.
Could it related with following?
- Presentation LUT Shape(2050,0020) - INVERSE
- Photometric Interpretation(0028,0004) - MONOCHROME1
Simeon Antonov

J. Riesmeier
DCMTK Developer
Posts: 2317
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: CR image is not shown good after convert to JPG

#4 Post by J. Riesmeier » Fri, 2021-10-08, 06:46

No, this has nothing to do with Presentation LUT Shape or Photometric Interpretation: the image is not inverted.

Please try again with the following VOI setting: +Ww 12000 10000

simeon
Posts: 35
Joined: Fri, 2006-09-15, 09:25
Location: Bulgaria
Contact:

Re: CR image is not shown good after convert to JPG

#5 Post by simeon » Wed, 2021-10-13, 23:39

You are right. Ty.
Simeon Antonov

Post Reply

Who is online

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