DicomObjects.NET.V8
DicomObjects Namespace / DicomImage Class / DecompressAll Method



In This Topic
    DecompressAll Method (DicomImage)
    In This Topic
    Causes all the frames of an image to be decompressed.
    Causes all the frames of an image to be decompressed into a byte array
    Syntax
    'Declaration
     
    Public Sub DecompressAll() 
    'Usage
     
    Dim instance As DicomImage
     
    instance.DecompressAll()
    public void DecompressAll()
    public:
    void DecompressAll(); 
    Remarks

    The normal policy adopted by DicomObjects for the handling of compressed images is to decompress frames only when necessary, and to keep the decompressed versions only for as long as is necessary for display or transmission, thereby minimising image load times, and memory use. This behaviour is not, however, always appropriate, especially when cine sequences are shown, or where modifications need to be made to the image. When this method is called, all frames are decompressed and held in RAM, replacing the original compressed version, thereby greatly speeding subsequent display, though needing much more memory.

    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also