DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomDataSet Class / SimplifyOverlays Method
Example

In This Topic
    SimplifyOverlays Method
    In This Topic
    Decompress the data, and move any overlays which are encoded with the pixel data (a method deprecated in DICOM many years ago) to stand-along overlay data in 60xx,3000.
    Syntax
    'Declaration
     
    
    Public Sub SimplifyOverlays() 
    public void SimplifyOverlays()
    Example
    DicomDataSet overlayDs = new DicomDataSet("Overlay_Dataset.dcm");
                        
    var overlayData = overlayDs[Keyword.OverlayData].Value; // null
    overlayDs.SimplifyOverlays();
    overlayData = overlayDs[Keyword.OverlayData]?.Value; // pixel data is encoded
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also