Материал: part05

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам

PS3.5​

DICOM PS3.5 2020a - Data Structures and Encoding​

Page 2​

PS3.5: DICOM PS3.5 2020a - Data Structures and Encoding​

Copyright © 2020 NEMA​

A DICOM® publication​

- Standard -​

DICOM PS3.5 2020a - Data Structures and Encoding​ Page 3​

Table of Contents​

Notice and Disclaimer ...........................................................................................................................................

13​

Foreword ............................................................................................................................................................

15​

1. Scope and Field of Application .............................................................................................................................

17​

2. Normative References .......................................................................................................................................

19​

3. Definitions .......................................................................................................................................................

23​

4. Symbols and Abbreviations .................................................................................................................................

27​

5. Conventions .....................................................................................................................................................

29​

6. Value Encoding ................................................................................................................................................

31​

6.1. Support of Character Repertoires ...................................................................................................................

31​

6.1.1. Representation of Encoded Character Values ............................................................................................

31​

6.1.2. Graphic Characters ..............................................................................................................................

32​

6.1.2.1. Default Character Repertoire ...........................................................................................................

32​

6.1.2.2. Extension or Replacement of the Default Character Repertoire ...............................................................

32​

6.1.2.3. Encoding of Character Repertoires ....................................................................................................

33​

6.1.2.4. Code Extension Techniques ............................................................................................................

34​

6.1.2.5. Usage of Code Extension ................................................................................................................

34​

6.1.2.5.1. Assumed Initial States ..............................................................................................................

35​

6.1.2.5.2. Restrictions for Code Extension .................................................................................................

35​

6.1.2.5.3. Requirements .........................................................................................................................

35​

6.1.2.5.4. Levels of Implementation and Initial Designation ............................................................................

35​

6.1.3. Control Characters ...............................................................................................................................

36​

6.2. Value Representation (VR) ...........................................................................................................................

37​

6.2.1. Person Name (PN) Value Representation .................................................................................................

47​

6.2.1.1. Examples of PN VR and Notes .........................................................................................................

47​

6.2.1.2. Ideographic and Phonetic Characters in Data Elements with VR of PN .....................................................

47​

6.2.2. Unknown (UN) Value Representation .......................................................................................................

48​

6.2.3. URI/URL (UR) Value Representation .......................................................................................................

49​

6.3. Enumerated Values and Defined Terms ..........................................................................................................

49​

6.4. Value Multiplicity (VM) and Delimitation ...........................................................................................................

50​

7. The Data Set ....................................................................................................................................................

51​

7.1. Data Elements ...........................................................................................................................................

51​

7.1.1. Data Element Fields .............................................................................................................................

52​

7.1.2. Data Element Structure with Explicit VR ....................................................................................................

53​

7.1.3. Data Element Structure with Implicit VR ....................................................................................................

53​

7.2. Group Length ............................................................................................................................................

54​

7.3. Little Endian Byte Ordering ...........................................................................................................................

54​

7.4. Data Element Type .....................................................................................................................................

55​

7.4.1. Type 1 Required Data Elements ..............................................................................................................

55​

7.4.2. Type 1C Conditional Data Elements .........................................................................................................

55​

7.4.3. Type 2 Required Data Elements ..............................................................................................................

55​

7.4.4. Type 2C Conditional Data Elements .........................................................................................................

56​

7.4.5. Type 3 Optional Data Elements ...............................................................................................................

56​

7.4.6. Data Element Types Within A Sequence ...................................................................................................

56​

7.5. Nesting of Data Sets ...................................................................................................................................

56​

7.5.1. Item Encoding Rules .............................................................................................................................

57​

7.5.2. Delimitation of The Sequence of Items .....................................................................................................

57​

7.5.3. Sequence Inheritance ...........................................................................................................................

59​

7.6. Repeating Groups ......................................................................................................................................

59​

7.7. Retired Data Elements .................................................................................................................................

59​

7.8. Private Data Elements .................................................................................................................................

60​

7.8.1. Private Data Element Tags ....................................................................................................................

60​

7.8.2. Encoding of Private Elements .................................................................................................................

61​

8. Encoding of Pixel, Overlay and Waveform Data .......................................................................................................

63​

8.1. Pixel and Overlay Data, and Related Data Elements ..........................................................................................

63​

8.1.1. Pixel Data Encoding of Related Data Elements ..........................................................................................

63​

8.1.2. Overlay Data Encoding of Related Data Elements ......................................................................................

64​

8.2. Native or Encapsulated Format Encoding ........................................................................................................

65​

- Standard -​

Page 4​

DICOM PS3.5 2020a - Data Structures and Encoding​

 

8.2.1. JPEG Image Compression .....................................................................................................................

66​

8.2.2. Run Length Encoding Image Compression ................................................................................................

68​

8.2.3. JPEG-LS Image Compression ................................................................................................................

69​

8.2.4. JPEG 2000 Image Compression .............................................................................................................

70​

8.2.5. MPEG2 Main Profile / Main Level Video Compression .................................................................................

72​

8.2.6. MPEG2 Main Profile / High Level Video Compression .................................................................................

74​

8.2.7. MPEG-4 AVC/H.264 High Profile / Level 4.1 Video Compression ...................................................................

77​

8.2.8. MPEG-4 AVC/H.264 High Profile / Level 4.2 Video Compression ...................................................................

79​

8.2.9. MPEG-4 AVC/H.264 Stereo High Profile / Level 4.2 Video Compression .........................................................

81​

8.2.10. HEVC/H.265 Main Profile / Level 5.1 Video Compression ...........................................................................

81​

8.2.11. HEVC/H.265 Main 10 Profile / Level 5.1 Video Compression .......................................................................

83​

8.2.12. Constraints for Audio Data Integration in AVC and HEVC Compressed Bit Streams .........................................

84​

8.2.13. Constraints For SMPTE ST 2110-20 Uncompressed Active Video For DICOM-RTV .........................................

86​

8.3. Waveform Data and Related Data Elements ....................................................................................................

87​

8.4. Pixel Data Provider Service ..........................................................................................................................

 

87​

8.4.1. JPIP Referenced Pixel Data ...................................................................................................................

87​

8.5. Security Considerations for Encoding of Pixel, Overlay, and Waveform Data (Informative) .....................................

88​

9. Unique Identifiers (UIDs) ....................................................................................................................................

 

89​

9.1. UID Encoding Rules ....................................................................................................................................

 

89​

9.2. Unique Identifier Registration ........................................................................................................................

 

90​

9.2.1. DICOM Defined and Registered Unique Identifiers ......................................................................................

90​

9.2.2. Privately Defined Unique Identifiers .........................................................................................................

90​

10. Transfer Syntax ..............................................................................................................................................

 

91​

10.1. DICOM Default Transfer Syntax ...................................................................................................................

91​

10.2. Transfer Syntax for a DICOM Default of Lossless JPEG Compression .................................................................

92​

10.3. Transfer Syntaxes for a DICOM Default of Lossy JPEG Compression ..................................................................

92​

10.4. Transfer Syntax For DICOM RLE Image Compression .....................................................................................

92​

10.5. Transfer Syntax For A DICOM Default of Lossless and Lossy (Near-lossless) JPEG-LS Compression .......................

93​

10.6. Transfer Syntax For JPEG 2000 Compression ................................................................................................

93​

10.7. Transfer Syntax For MPEG2 Main Profile / Main Level Video Compression ...........................................................

93​

10.8. Transfer Syntax For JPIP Referenced Pixel Data .............................................................................................

93​

10.9. Transfer Syntax For MPEG2 Main Profile / High Level Video Compression ...........................................................

93​

10.10. Transfer Syntax For MPEG-4 AVC/H.264 High Profile / Level 4.1 Video Compression ...........................................

94​

10.11. Transfer Syntaxes for MPEG-4 AVC/H.264 High Profile / Level 4.2 Video Compression .........................................

94​

10.12. Transfer Syntax For MPEG-4 AVC/H.264 Stereo High Profile / Level 4.2 Video Compression .................................

94​

10.13. Transfer Syntax for HEVC/H.265 Main Profile / Level 5.1 Video Compression ......................................................

94​

10.14. Transfer Syntax for HEVC/H.265 Main 10 Profile / Level 5.1 Video Compression .................................................

94​

10.15. Transfer Syntax for SMPTE ST 2110-20 Uncompressed Progressive Active Video ...............................................

94​

10.16. Transfer Syntax for SMPTE ST 2110-20 Uncompressed Interlaced Active Video ..................................................

94​

10.16.1. Interlaced Vs. Progressive Video .........................................................................................................

94​

10.17. Transfer Syntax for SMPTE ST 2110-30 PCM Digital Audio .............................................................................

95​

A. Transfer Syntax Specifications (Normative) ............................................................................................................

97​

A.1. DICOM Implicit VR Little Endian Transfer Syntax ..............................................................................................

97​

A.2. DICOM Little Endian Transfer Syntax (Explicit VR) ............................................................................................

98​

A.3. DICOM Big Endian Transfer Syntax (Explicit VR) ............................................................................................

100​

A.4. Transfer Syntaxes For Encapsulation of Encoded Pixel Data .............................................................................

100​

A.4.1. JPEG Image Compression ...................................................................................................................

103​

A.4.2. RLE Image Compression .....................................................................................................................

 

104​

A.4.3. JPEG-LS Image Compression ..............................................................................................................

104​

A.4.4. JPEG 2000 Image Compression ...........................................................................................................

105​

A.4.5. MPEG2 Video Compression .................................................................................................................

107​

A.4.6. MPEG-4 AVC/H.264 High Profile / Level 4.1 Video Compression .................................................................

107​

A.4.7. MPEG-4 AVC/H.264 High Profile / Level 4.2 Video Compression .................................................................

107​

A.4.8. MPEG-4 AVC/H.264 Stereo High Profile / Level 4.2 Video Compression .......................................................

107​

A.4.9. HEVC/H.265 Main Profile / Level 5.1 Video Compression ...........................................................................

108​

A.4.10. HEVC/H.265 Main 10 Profile / Level 5.1 Video Compression .....................................................................

108​

A.5. DICOM Deflated Little Endian Transfer Syntax (Explicit VR) ..............................................................................

108​

A.6. DICOM JPIP Referenced Transfer Syntax (Explicit VR) ....................................................................................

109​

A.7. DICOM JPIP Referenced Deflate Transfer Syntax (Explicit VR) ..........................................................................

109​

A.8. SMPTE ST 2110-20 Uncompressed Progressive Active Video Transfer Syntax .....................................................

109​

- Standard -​

DICOM PS3.5 2020a - Data Structures and Encoding​

Page 5​

A.9. SMPTE ST 2110-20 Uncompressed Interlaced Active Video Transfer Syntax .......................................................

111​

A.10. : SMPTE ST 2110-30 PCM Audio Transfer Syntax .........................................................................................

111​

B. Creating a Privately Defined Unique Identifier (Informative) ......................................................................................

113​

B.1. Organizationally Derived UID ......................................................................................................................

113​

B.2. UUID Derived UID ....................................................................................................................................

113​

C. DICOM Unique Identifier Registration Process (Informative) ....................................................................................

115​

D. Examples of Various Pixel Data and Overlay Encoding Schemes (Informative) ............................................................

117​

D.1. Detailed Example of Pixel Data Encoding ......................................................................................................

117​

D.2. Various Additional Examples of Pixel and Overlay Data Cells ............................................................................

120​

D.3. Examples of Float and Double Float Pixel Data ..............................................................................................

122​

E. DICOM Default Character Repertoire (Normative) ..................................................................................................

123​

F. Encapsulated Images As Part of A DICOM Message (Informative) ............................................................................

125​

F.1. Encapsulated JPEG Encoded Images ...........................................................................................................

125​

F.2. Encapsulated JPEG-LS Encoded Images ......................................................................................................

127​

F.3. Encapsulated JPEG 2000 Encoded Images ...................................................................................................

127​

G. Encapsulated RLE Compressed Images (Normative) .............................................................................................

129​

G.1. Summary ................................................................................................................................................

129​

G.2. Byte Segments ........................................................................................................................................

129​

G.3. The RLE Algorithm ...................................................................................................................................

129​

G.3.1. The RLE Encoder ..............................................................................................................................

129​

G.3.2. The RLE Decoder ..............................................................................................................................

130​

G.4. Organization of RLE Compressed Frame ......................................................................................................

130​

G.5. RLE Header Format ..................................................................................................................................

131​

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

131​

H. Character Sets and Person Name Value Representation in the Japanese Language (Informative) ...................................

133​

H.1. Character Sets for the Japanese Language ...................................................................................................

133​

H.1.1. JIS X 0201 .......................................................................................................................................

133​

H.1.2. JIS X 0208 .......................................................................................................................................

133​

H.1.3. JIS X 0212 .......................................................................................................................................

133​

H.2. Internet Practice .......................................................................................................................................

134​

H.3. Example of Person Name Value Representation in the Japanese Language .........................................................

135​

H.3.1. Value 1 of Attribute Specific Character Set (0008,0005) is Not Present. ........................................................

135​

H.3.2. Value 1 of Attribute Specific Character Set (0008,0005) is ISO 2022 IR 13. ....................................................

136​

I. Character Sets and Person Name Value Representation in the Korean Language (Informative) .......................................

139​

I.1. Character Sets For The Korean Language in DICOM ........................................................................................

139​

I.2. Example of Person Name Value Representation in the Korean Language .............................................................

139​

I.3. Example of Long Text Value Representation in the Korean Language Without Explicit Escape Sequences Between Char-​

acter Sets .....................................................................................................................................................

140​

J. Character Sets and Person Name Value Representation using Unicode UTF-8, GB18030 and GBK (Informative) ...............

143​

J.1. Example of Person Name Value Representation in the Chinese Language Using Unicode .......................................

143​

J.2. Example of Long Text Value Representation in the Chinese Language Using Unicode ............................................

144​

J.3. Example of Person Name Value Representation in the Chinese Language Using GB18030 .....................................

144​

J.4. Example of Long Text Value Representation in the Chinese Language Using GB18030 ..........................................

145​

J.5. Person Name Value Representation in Other Languages Using Unicode ..............................................................

146​

K. Character Sets and Person Name Value Representation in the Chinese Language with Code Extensions (Informative) .......

147​

K.1. Character Sets for the Chinese Language in DICOM .......................................................................................

147​

K.2. Example of Person Name Value Representation in the Chinese Language ...........................................................

147​

K.3. Example of Long Text Value Representation in the Chinese Language with GB2312 G1 .........................................

148​

- Standard -​