Creating Frame-Specific DICOM Presentation State using DicomObjects
Sometimes we are asked about how to create frame-specific DICOM presentation state files for multiframe images. This is not difficult in DicomObjects and can by done in a slightly awkward way. Instead of adding the entire “Referenced Series Sequence” to the top level of the presentation state file, all you need to do is adding the “Referenced Frame Number” item into “Referenced Image Sequence” under “Graphic Annotation Sequence”, as shown in the following picture:
A Presentation State is an independent DICOM SOP Instance that contains information on how a particular image should be displayed. The Presentation State may contain label information(types of Label and Positions), windowing values, zoom value, scrolling (panning) values, rotations or any other visual display element that is defined within the DICOM standard.
However Presentation States contain no Pixel Data as they are intended for use with an existing Dicom Image.
Store PresentationState into a DicomImage
PresentationStates are normally saved as external files but sometimes people may want to store them within the associated DicomImage.