DICOM PS3.5 2016c - Data Structures and Encoding

G Encapsulated RLE Compressed Images (Normative)

G.1 Summary

This annex describes how to apply RLE Compression to an image or an individual frame of a multi-frame image. This method can be used for any image, independent of the values of the data elements that describe the image (i.e., Photometric Interpretation (0028,0004) and Bits Stored (0028,0101)).

RLE Compression consists of the following steps:

  1. The image is converted to a sequence of Composite Pixel Codes (see PS3.3).

  2. The Composite Pixel Codes are used to generate a set of Byte Segments (see Section G.2).

  3. Each Byte Segment is RLE compressed to produce a RLE Segment (see Section G.4).

  4. The RLE Header is appended in front of the concatenated RLE Segments (see Section G.5).

DICOM PS3.5 2016c - Data Structures and Encoding