G.1 SUMMARY

This annex describes how to apply RLE Compression to an i mage 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 PS 3.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)