Hi,
I just wanted to check whether it was possible to create a Jpeg image of a presentation state Dicom file. I.e. can I produce a Jpeg image of the original Dicom file and any comments or Marks that have been added to that image - that have been saved in the Presentation State Dicom information.
I seem to think this can be done using DCMP2PGM - if this can indeed be done and I am looking at the correct program, do I provide DCMP2PGM with the Presentation State Dicom file?
Thanks,
Midge
Convert a Dicom Image from Presentation State to Jpeg
Moderator: Moderator Team
-
- Posts: 2
- Joined: Tue, 2014-07-01, 09:04
-
- DCMTK Developer
- Posts: 2549
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Convert a Dicom Image from Presentation State to Jpeg
The tool dcmp2pgm comes pretty close to your requirements. However, it neither does create an output image in JPEG format nor supports all aspects of a GSPS (Grayscale Softcopy Presentation State). The latter is a consequence of the design decision for DICOMscope that all annotations are rendered by the Java GUI code and not by the underlying DCMTK C++ code.
-
- Posts: 2
- Joined: Tue, 2014-07-01, 09:04
Re: Convert a Dicom Image from Presentation State to Jpeg
Hi,
If dcmp2pgm is not the correct program to use to convert a Dicom Presentation State file to an image (JPEG, BMP etc.) is there a another option? All I would like to achieve is to be able to get an image of some description (JPEG, BMP, TIFF, PNG etc) of the original Dicom File with any marks added to the image that are stored in the Presentation State.
Is this possible?
Many thanks,
Midge
If dcmp2pgm is not the correct program to use to convert a Dicom Presentation State file to an image (JPEG, BMP etc.) is there a another option? All I would like to achieve is to be able to get an image of some description (JPEG, BMP, TIFF, PNG etc) of the original Dicom File with any marks added to the image that are stored in the Presentation State.
Is this possible?
Many thanks,
Midge
-
- DCMTK Developer
- Posts: 2549
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Convert a Dicom Image from Presentation State to Jpeg
You could write your own tool based on the classes from DCMTK's "dcmpstat" module.is there a another option?
Who is online
Users browsing this forum: No registered users and 1 guest