Large dicom files

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
George
Posts: 52
Joined: Sun, 2023-11-12, 16:50

Large dicom files

#1 Post by George »

Hello,

I am very interested in understanding why this img2dcm does not do a proper photometric conversion as it flips the image background (invert it).

img2dcm -k 0028,0004=MONOCHROME1 --input-format BMP --write-file -nsc --dataset-from Images/header.dcm Images/frame_0_8bit.bmp recovered.dcm

this is the command I used.

Best Regards
George

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

Re: Large dicom files

#2 Post by Marco Eichelberg »

Don't set the photometric interpretation manually.

George
Posts: 52
Joined: Sun, 2023-11-12, 16:50

Re: Large dicom files

#3 Post by George »

In this case the pixel values were different, and the photometric tag value was also different
Is there any way to maintain them?
Are these changes controllable or they the viewer to blame?

Post Reply

Who is online

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