DICOM PS3.5 2024d - Data Structures and Encoding

G.6 Example of Elements For An Encoded YCbCr RLE Three-frame Image with Basic Offset Table

Table G.6-1 is an example of encoding of RLE Compressed Frames (described in Section G.4) with the basic offset table. Table G.6-2 is an example of Item Value data for one frame.

Table G.6-1. Example of Elements for an Encoded YCbCr RLE Three-Frame Image with Basic Offset Table

Pixel Data Element Tag

Value Representation

Data Element Length

Data Element

Basic Offset Table with Item Value

First Fragment (Frame 1) of Pixel Data

Item Tag

Item Length

Item Value

Item Tag

Item Length

Item Value

(7FE0,0010) with VR of OB

OB

0000H

FFFF FFFFH Undefined Length

(FFFE,E000)

0000 000CH

0000 0000H 0000 02D0H 0000 0642H

(FFFE,E000)

0000 02C8H

RLE Compressed Frame

4 bytes

2 bytes

2 bytes

4 bytes

4 bytes

4 bytes

000CH bytes

4 bytes

4 bytes

02C8H bytes


Table G.6-1b. Example of Elements for an Encoded YCbCr RLE Three-Frame Image with Basic Offset Table (continued)

Data Element Continued

Second Fragment (Frame 2) of Pixel Data

Third Fragment (Frame 3) of Pixel Data

Sequence Delimiter Item

Item Tag

Item Length

Item Value

Item Tag

Item Length

Item Value

Sequence Delimiter Tag

Item Length

(FFFE,E000)

0000 036AH

RLE Compressed Frame

(FFFE,E000)

0000 0BC8H

RLE Compressed Frame

(FFFE,E0DD)

0000 0000H

4 bytes

2 bytes

036AH bytes

4 bytes

4 bytes

0BC8H bytes

4 bytes

4 bytes


Table G.6-2. Example of Encoded YCbCr RLE Compressed Frame Item Value

Offset

Data

Description of Data

0000 0000H

0000 0003H

number of RLE Segments

(Header)

0000 0040H

location of RLE Segment 1 (Y component)

0000 0140H

location of RLE Segment 2 (CB component)

0000 01C0H

location of RLE Segment 3 (CR component)

0000 0000H

…..

…..

0000 0000H

0000 0040H

Y - RLE Segment Data

(DATA)

0000 0140H

CB - RLE Segment Data

(DATA)

0000 01C0H

CR - RLE Segment Data

(DATA)


DICOM PS3.5 2024d - Data Structures and Encoding