Delimitation of the last Item of a Sequence of Items, encapsulated in a Data Element of Value Representation SQ, shall be in one of the two following ways:
a) Explicit Length: The number of bytes (even) contained in the Data Element Value (following but not including the Data Element Length Field) is encoded as a 32-bit unsigned integer value (see Section 7.1). This length shall include the total length resulting from the sequence of zero or more items conveyed by this Data Element. This Data Element Length shall be equal to 00000000H if the sequence of Items contains zero Items.
b) Undefined Length: The Data Element Length Field shall contain a Value FFFFFFFFH to indicate an Undefined Sequence length. It shall be used in conjunction with a Sequence Delimitation Item. A Sequence Delimitation Item shall be included after the last Item in the sequence. Its Item Tag shall be (FFFE,E0DD) with an Item Length of 00000000H. No Value shall be present.
The encoder of a Sequence of Items may choose either one of the two ways of encoding. Both ways of encoding shall be supported by decoders of the Sequence of Items.
Note: The Sequence Delimitation Item Tag (FFFE,E0DD) is different from the Item Delimitation Tag (FFFE,E00D) introduced above in that it indicates the end of a Sequence of Items whose Length was left undefined. If an undefined length Item is the last Item of a Sequence of Items of undefined length, then an Item Delimitation Tag will be followed by a Sequence Delimitation Tag.
For an example of an SQ Data Element of Explicit Length encapsulating Items of Explicit Length see Table 7.5-1.
For an example of an SQ Data Element of Undefined Length encapsulating Items of Explicit Length see Table 7.5-2.
For an example of an SQ Data Element of Undefined Length encapsulating Items of both Explicit and Undefined Length see Table 7.5-3.
Table 7.5-1 EXAMPLE OF A DATA ELEMENT WITH IMPLICIT VR DEFINED AS A SEQUENCE OF ITEMS (VR = SQ) WITH THREE ITEMS OF EXPLICIT LENGTH
|Data Element Tag||Data Element Length||Data Element Value|
|(gggg, eeee) with VR of SQ||00000F00H||First Item||Second Item||Third Item|
|Item Tag (FFFE, E000)||Item Length 0000 04F8H||Item Value Data Set||Item Tag (FFFE, E000)||Item Length 0000 04F8H||Item Value Data Set||Item Tag (FFFE, E000)||Item Length 0000 04F8H||Item Value Data Set|
|4 bytes||4 bytes||4 bytes||4 bytes||04F8H bytes||4 bytes||4 bytes||04F8H bytes||4 bytes||4 bytes||04F8H bytes|
Table 7.5-2 EXAMPLE OF A DATA ELEMENT WITH EXPLICIT VR DEFINED AS A SEQUENCE OF ITEMS (VR = SQ) OF UNDEFINED LENGTH, CONTAINING TWO ITEMS OF EXPLICIT LENGTH
|Data Element Tag||Value Representation||Data Element Length||Data Element Value|
|(gggg, eeee) with VR of SQ||SQ||0000H Reserved||FFFF FFFFH un-defined length||First Item||Second Item||Sequence Delimitation Item|
|First Item||Second Item||Sequence Delimitation Item|
|(gggg, eeee) with VR of SQ||FFFF FFFFH un-defined length||Item Tag (FFFE, E000||Item Length 0000 17B6H||Item Value Data Set||Item Tag (FFFE, E000)|
|525-line NTSC||Full||30||33.33 ms||480||720|
|625-line PAL||Full||25||40.0 ms||576||720|
Notes: 1. Although different combinations of values for Rows and Columns values are possible while respecting the maximum values listed above, it is recommended that the typical 4:3 ratio of image width to height be maintained in order to avoid image deformation by MPEG2 decoders. A common way to maintain the ratio of width to height is to pad the image with black areas on either side.
2. "Half" definition of pictures (240x352 and 288x352 for NTSC and PAL, respectively) are always supported by decoders.
3. MP@ML allows for various different display and pixel aspect ratios, including the use of square pixels, and the use of non-square pixels with display aspect ratios of 4:3 and 16:9. DICOM specifies no additional restrictions beyond what is provided for in MP@ML. All permutations allowed by MP@ML are valid and are require to be supported by all DICOM decoders.
4. The actual frame rate for NTSC MPEG2 is approximately 29.97 frames/sec.
5. The nominal Frame Time is supplied for the purpose of inclusion on the DICOM Cine Module Attributes, and should be calculated from the actual frame rate.
One fragment shall contain the whole stream.
Notes: 1. If a video stream exceeds the maximum length of one fragment, it may be sent as multiple SOP Instances.
2. This constraint limits the length of the compressed bit stream to no longer than 2 32 -2 bytes.
The Basic Offset Table shall be empty (present but zero length).
Note: The Basic Offset Table is not used because MPEG2 contains its own mechanism for describing navigation of frames. To enable decoding of only a part of the sequence, MPEG2 manages a header in any group of pictures (GOP) containing a time_code – a 25-bit integer containing the following: drop_frame_flag, time_code_hours, time_code_minutes, marker_bit, time_code_seconds and time_code_pictures.
Any audio components present within the MPEG bit stream shall comply with the following restrictions:
- CBR MPEG-1 LAYER III (MP3) Audio Standard
- up to 24 bits
- 32 kHz, 44.1 kHz or 48 kHz for the main channel (the complementary channels can be sampled at the half rate, as defined in the Standard)
- one main mono or stereo channel, and optionally one or more complementary channel(s)
Note : Although MPEG describes each channel as including up to 5 signals (e.g. for surround effects), it is recommended to limit each of the two channels to 2 signals each one (stereo).