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,
            
            Presentation states
            
            
        A Presentation State is an independent DICOM SOP Instance that contains information on how a particular image should be displayed.
            
            Store PresentationState into a DicomImage
            
            
        PresentationStates are normally saved as external files but sometimes people may want to store them within the associated DicomImage.