1、 Approved August 30, 2017 Copyright 2017 by THE SOCIETY OF MOTION PICTURE AND TELEVISION ENGINEERS 445 Hamilton Avenue., White Plains, NY 10601 (914) 761-1100 SMPTE ST 2067-102:2017 SMPTE STANDARD Interoperable Master Format Common Image Pixel Color Schemes Page 1 of 35 pages Table of Contents 1 Sco
2、pe 3 2 Conformance Notation 3 3 Normative References 3 4 General 4 4.1 XML Schema Definitions 4 4.2 Common Type Definitions 4 4.3 Mathematical Functions 6 5 REC709-RGB-8 7 6 REC709-RGB-10 8 7 REC709-Full-RGB-10 9 8 REC709-YCbCr-8 10 9 REC709-YCbCr-10 11 10 xvYCC-YCbCr-8 12 11 xvYCC-YCbCr-10 13 12 RE
3、C2020-YCbCr-10 14 13 REC2020-YCbCr-12 15 14 REC2020-RGB-10 16 15 REC2020-RGB-12 17 16 REC2020-Full-RGB-10 18 17 REC2020-Full-RGB-12 19 18 COLOR6-RGB-10 20 19 COLOR6-Full-RGB-10 21 20 COLOR6-RGB-12 22 21 COLOR6-Full-RGB-12 23 22 COLOR6-RGB-16 24 23 COLOR6-Full-RGB-16 25 24 COLOR7-YCbCr-10 26 25 COLOR
4、7-YCbCr-12 27 26 COLOR7-YCbCr-16 28 SMPTE ST 2067-102:2017 Page 2 of 35 pages 27 COLOR7-RGB-10 29 28 COLOR7-Full-RGB-10 30 29 COLOR7-RGB-12 31 30 COLOR7-Full-RGB-12 32 31 COLOR7-RGB-16 33 32 COLOR7-Full-RGB-16 34 Annex A Consolidated Schema (Informative) 35 Foreword SMPTE (the Society of Motion Pict
5、ure and Television Engineers) is an internationally-recognized standards developing organization. Headquartered and incorporated in the United States of America, SMPTE has members in over 80 countries on six continents. SMPTEs Engineering Documents, including Standards, Recommended Practices, and En
6、gineering Guidelines, are prepared by SMPTEs Technology Committees. Participation in these Committees is open to all with a bona fide interest in their work. SMPTE cooperates closely with other standards-developing organizations, including ISO, IEC and ITU. SMPTE Engineering Documents are drafted in
7、 accordance with the rules given in its Standards Operations Manual. This SMPTE Engineering Document was prepared by Technology Committee 35PM. Intellectual Property At the time of publication no notice had been received by SMPTE claiming patent rights essential to the implementation of this Enginee
8、ring Document. However, attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. SMPTE shall not be held responsible for identifying any or all such patent rights. SMPTE ST 2067-102:2017 Page 3 of 35 pages 1 Scope This document defines Ima
9、ge Pixel Color Schemes, as specified in SMPTE ST 2067-101, that are of general use to Interoperable Master Format (IMF) Applications. 2 Conformance Notation Normative text is text that describes elements of the design that are indispensable or contains the conformance language keywords: “shall“, “sh
10、ould“, or “may“. Informative text is text that is potentially helpful to the user, but not indispensable, and can be removed, changed, or added editorially without affecting interoperability. Informative text does not contain any conformance keywords. All text in this document is, by default, normat
11、ive, except: the Introduction, any section explicitly labeled as “Informative“ or individual paragraphs that start with “Note:” The keywords “shall“ and “shall not“ indicate requirements strictly to be followed in order to conform to the document and from which no deviation is permitted. The keyword
12、s, “should“ and “should not“ indicate that, among several possibilities, one is recommended as particularly suitable, without mentioning or excluding others; or that a certain course of action is preferred but not necessarily required; or that (in the negative form) a certain possibility or course o
13、f action is deprecated but not prohibited. The keywords “may“ and “need not“ indicate courses of action permissible within the limits of the document. The keyword “reserved” indicates a provision that is not defined at this time, shall not be used, and may be defined in the future. The keyword “forb
14、idden” indicates “reserved” and in addition indicates that the provision will never be defined in the future. A conformant implementation according to this document is one that includes all mandatory provisions (“shall“) and, if implemented, all recommended provisions (“should“) as described. A conf
15、ormant implementation need not implement optional provisions (“may“) and need not implement them as described. Unless otherwise specified, the order of precedence of the types of normative information in this document shall be as follows: Normative prose shall be the authoritative definition; Tables
16、 shall be next; then formal languages; then figures; and then any other language forms. 3 Normative References The following standards contain provisions which, through reference in this text, constitute provisions of this standard. At the time of publication, the editions indicated were valid. All
17、standards are subject to revision, and parties to agreements based on this standard are encouraged to investigate the possibility of applying the most recent edition of the standards indicated below. SMPTE ST 2067-20:2016, Interoperable Master Format Application #2 SMPTE ST 2067-21:2016, Interoperab
18、le Master Format Application #2E SMPTE ST 2067-101:2014, Interoperable Master Format Output Profile List Common Image Definitions and Macros SMPTE ST 2067-102:2017 Page 4 of 35 pages World Wide Web Consortium (W3C) (2004, October 28). XML Schema Part 1: Structures (Second Edition). World Wide Web Co
19、nsortium (W3C) (2004, October 28). XML Schema Part 2: Datatypes (Second Edition). 4 General 4.1 XML Schema Definitions This section shall apply whenever a data structure is specified using XML schema definitions as specified in W3C XML Schema Part 1: Structures and W3C XML Schema Part 2: Datatypes.
20、In order to avoid duplication between text and schema, the cardinality and default values of elements are specified in the schema definitions only. In the event of a conflict between schema definitions and the prose, the prose shall take precedence. The XML schema root element shall be as defined in
21、 Table 1. Table 1 XML Schema root element definition 4.2 Common Type Definitions 4.2.1 Integer1024TripletType Integer1024TripletType represents a triplet of integers between 0 and 1023, inclusively. It shall be as specified in Table 2. Table 2 Integer1024TripletType definition SMPTE ST 2067-102:2017
22、 Page 5 of 35 pages 4.2.2 Integer256TripletType Integer256TripletType represents a triplet of integers between 0 and 255, inclusively. It shall be as specified in Table 3. Table 3 Integer256TripletType definition 4.2.3 Integer4096TripletType Integer4096TripletType represents a triplet of integers be
23、tween 0 and 4095, inclusively. It shall be as specified in Table 4. Table 4 Integer4096TripletType definition 4.2.4 Integer65536TripletType Integer65536TripletType represents a triplet of integers between 0 and 65535, inclusively. It shall be as specified in Table 5. Table 5 Integer65536TripletType
24、definition SMPTE ST 2067-102:2017 Page 6 of 35 pages 4.3 Mathematical Functions 4.3.1 Floor floor(x) shall be equal to the largest integer not greater than x. 4.3.2 Clamp clamp(a, b, x) shall be defined as follows: clamp(a, b, x) = x, if x a, b a if x b SMPTE ST 2067-102:2017 Page 7 of 35 pages 5 RE
25、C709-RGB-8 The REC709-RGB-8 color scheme shall be as specified in Table 6. Table 6 REC709-RGB-8 Color Scheme Name REC709-RGB-8 URI http:/www.smpte-ra.org/schemas/2067-102/2017#REC709-RGB-8 Description R, G and B components as specified in SMPTE ST 2067-20, using 8-bit bit depth, COLOR.3 colorimetry
26、and QE.1 quantization system. Mapping from Reference Image Pixel R = floor( 219 clamp(0, 1, P1) + 0.5) + 16 G = floor( 219 clamp(0, 1, P2) + 0.5) + 16 B = floor( 219 clamp(0, 1, P3) + 0.5) + 16 Mapping to Reference Image Pixel P1 = (R 16) / 219 P2 = (G 16) / 219 P3 = (B 16) / 219 P4 = 1.0 Pixel Enco
27、ding Type The three elements of the triplet shall correspond to the R, G and B components. SMPTE ST 2067-102:2017 Page 8 of 35 pages 6 REC709-RGB-10 The REC709-RGB-10 color scheme shall be as specified in Table 7. Table 7 REC709-RGB-10 Color Scheme Name REC709-RGB-10 URI http:/www.smpte-ra.org/schem
28、as/2067-102/2017#REC709-RGB-10 Description R, G and B components as specified in SMPTE ST 2067-20, using 10-bit bit depth, COLOR.3 colorimetry and QE.1 quantization system. Mapping from Reference Image Pixel R = floor( 876 clamp(0, 1, P1) + 0.5) + 64 G = floor( 876 clamp(0, 1, P2) + 0.5) + 64 B = fl
29、oor( 876 clamp(0, 1, P3) + 0.5) + 64 Mapping to Reference Image Pixel P1 = (R 64) / 876 P2 = (G 64) / 876 P3 = (B 64) / 876 P4 = 1.0 Pixel Encoding Type The three elements of the triplet shall correspond to the R, G and B components. SMPTE ST 2067-102:2017 Page 9 of 35 pages 7 REC709-Full-RGB-10 The
30、 REC709-Full-RGB-10 color scheme shall be as specified in Table 8. Table 8 REC709-Full-RGB-10 Color Scheme Name REC709-Full-RGB-10 URI http:/www.smpte-ra.org/schemas/2067-102/2017#REC709-Full-RGB-10 Description R, G and B components as specified in SMPTE ST 2067-20, using 10-bit bit depth, COLOR.3 c
31、olorimetry and QE.2 quantization system. Mapping from Reference Image Pixel R = floor( 1023 clamp(0, 1, P1) + 0.5) G = floor( 1023 clamp(0, 1, P2) + 0.5) B = floor( 1023 clamp(0, 1, P3) + 0.5) Mapping to Reference Image Pixel P1 = R / 1023 P2 = G / 1023 P3 = B / 1023 P4 = 1.0 Pixel Encoding Type The
32、 three elements of the triplet shall correspond to the R, G and B components. SMPTE ST 2067-102:2017 Page 10 of 35 pages 8 REC709-YCbCr-8 The REC709-YCbCr-8 color scheme shall be as specified in Table 9. Table 9 REC709-YCbCr-8 Color Scheme Name REC709-YCbCr-8 URI http:/www.smpte-ra.org/schemas/2067-
33、102/2017#REC709-YCbCr-8 Description Y, CB, and CR components as specified in SMPTE ST 2067-20, using 8-bit bit depth, COLOR.3 colorimetry and QE.1 quantization system. Mapping from Reference Image Pixel Y = floor( 219 clamp(0, 1, P1) + 0.5) + 16 CB = floor( 224 clamp(-0.5, 0.5, P2) + 0.5) + 128 CR =
34、 floor( 224 clamp(-0.5, 0.5, P3) + 0.5) + 128 Mapping to Reference Image Pixel P1 = (Y 16) / 219 P2 = (CB 128) / 224 P3 = (CR 128) / 224 P4 = 1.0 Pixel Encoding Type The three elements of the triplet shall correspond to the Y, CB, and CR components. SMPTE ST 2067-102:2017 Page 11 of 35 pages 9 REC70
35、9-YCbCr-10 The REC709-YCbCr-10 color scheme shall be as specified in Table 10. Table 10 REC709-YCbCr-10 Color Scheme Name REC709-YCbCr-10 URI http:/www.smpte-ra.org/schemas/2067-102/2017#REC709-YCbCr-10 Description Y, CB, and CR components as specified in SMPTE ST 2067-20, using 10-bit bit depth, CO
36、LOR.3 colorimetry and QE.1 quantization system. Mapping from Reference Image Pixel Y = floor( 876 clamp(0, 1, P1) + 0.5) + 64 CB = floor( 896 clamp(-0.5, 0.5, P2) + 0.5) + 512 CR = floor( 896 clamp(-0.5, 0.5, P3) + 0.5) + 512 Mapping to Reference Image Pixel P1 = (Y 64) / 876 P2 = (CB 512) / 896 P3
37、= (CR 512) / 896 P4 = 1.0 Pixel Encoding Type The three elements of the triplet shall correspond to the Y, CB, and CR components. SMPTE ST 2067-102:2017 Page 12 of 35 pages 10 xvYCC-YCbCr-8 The xvYCC-YCbCr-8 color scheme shall be as specified in Table 11. Table 11 xvYCC-YCbCr-8 Color Scheme Name xvY
38、CC-YCbCr-8 URI http:/www.smpte-ra.org/schemas/2067-102/2017#xvYCC-YCbCr-8 Description Y, CB, and CR components as specified in SMPTE ST 2067-21, using 8-bit bit depth, COLOR.4 colorimetry and QE.1 quantization system. Mapping from Reference Image Pixel Y = floor( 219 clamp(0, 1, P1) + 0.5) + 16 CB =
39、 floor( 224 clamp(-0.5, 0.5, P2) + 0.5) + 128 CR = floor( 224 clamp(-0.5, 0.5, P3) + 0.5) + 128 Mapping to Reference Image Pixel P1 = (Y 16) / 219 P2 = (CB 128) / 224 P3 = (CR 128) / 224 P4 = 1.0 Pixel Encoding Type The three elements of the triplet shall correspond to the Y, CB, and CR components.
40、SMPTE ST 2067-102:2017 Page 13 of 35 pages 11 xvYCC-YCbCr-10 The xvYCC-YCbCr-10 color scheme shall be as specified in Table 12. Table 12 xvYCC-YCbCr-10 Color Scheme Name xvYCC-YCbCr-10 URI http:/www.smpte-ra.org/schemas/2067-102/2017#xvYCC-YCbCr-10 Description Y, CB, and CR components as specified i
41、n SMPTE ST 2067-21, using 10-bit bit depth, COLOR.4 colorimetry and QE.1 quantization system. Mapping from Reference Image Pixel Y = floor( 876 clamp(0, 1, P1) + 0.5) + 64 CB = floor( 896 clamp(-0.5, 0.5, P2) + 0.5) + 512 CR = floor( 896 clamp(-0.5, 0.5, P3) + 0.5) + 512 Mapping to Reference Image P
42、ixel P1 = (Y 64) / 876 P2 = (CB 512) / 896 P3 = (CR 512) / 896 P4 = 1.0 Pixel Encoding Type The three elements of the triplet shall correspond to the Y, CB, and CR components. SMPTE ST 2067-102:2017 Page 14 of 35 pages 12 REC2020-YCbCr-10 The REC2020-YCbCr-10 color scheme shall be as specified in Ta
43、ble 13. Table 13 REC2020-YCbCr-10 Color Scheme Name REC2020-YCbCr-10 URI http:/www.smpte-ra.org/schemas/2067-102/2017#REC2020-YCbCr-10 Description Y, CB, and CR components as specified in SMPTE ST 2067-21, using 10-bit bit depth, COLOR.5 colorimetry and QE.1 quantization system. Mapping from Referen
44、ce Image Pixel Y = floor( 876 clamp(0, 1, P1) + 0.5) + 64 CB = floor( 896 clamp(-0.5, 0.5, P2) + 0.5) + 512 CR = floor( 896 clamp(-0.5, 0.5, P3) + 0.5) + 512 Mapping to Reference Image Pixel P1 = (Y 64) / 876 P2 = (CB 512) / 896 P3 = (CR 512) / 896 P4 = 1.0 Pixel Encoding Type The three elements of
45、the triplet shall correspond to the Y, CB, and CR components. SMPTE ST 2067-102:2017 Page 15 of 35 pages 13 REC2020-YCbCr-12 The REC2020-YCbCr-12 color scheme shall be as specified in Table 14. Table 14 REC2020-YCbCr-12 Color Scheme Name REC2020-YCbCr-12 URI http:/www.smpte-ra.org/schemas/2067-102/2
46、017#REC2020-YCbCr-12 Description Y, CB, and CR components as specified in SMPTE ST 2067-21, using 12-bit bit depth, COLOR.5 colorimetry and QE.1 quantization system. Mapping from Reference Image Pixel Y = floor( 3504 clamp(0, 1, P1) + 0.5) + 256 CB = floor( 3584 clamp(-0.5, 0.5, P2) + 0.5) + 2048 CR
47、 = floor( 3584 clamp(-0.5, 0.5, P3) + 0.5) + 2048 Mapping to Reference Image Pixel P1 = (Y 256) / 3504 P2 = (CB 2048) / 3584 P3 = (CR 2048) / 3584 P4 = 1.0 Pixel Encoding Type The three elements of the triplet shall correspond to the Y, CB, and CR components. SMPTE ST 2067-102:2017 Page 16 of 35 pag
48、es 14 REC2020-RGB-10 The REC2020-RGB-10 color scheme shall be as specified in Table 15. Table 15 REC2020-RGB-10 Color Scheme Name REC2020-RGB-10 URI http:/www.smpte-ra.org/schemas/2067-102/2017#REC2020-RGB-10 Description R, G and B components as specified in SMPTE ST 2067-21, using 10-bit bit depth,
49、 COLOR.5 colorimetry and QE.1 quantization system. Mapping from Reference Image Pixel R = floor( 876 clamp(0, 1, P1) + 0.5) + 64 G = floor( 876 clamp(0, 1, P2) + 0.5) + 64 B = floor( 876 clamp(0, 1, P3) + 0.5) + 64 Mapping to Reference Image Pixel P1 = (R 64) / 876 P2 = (G 64) / 876 P3 = (B 64) / 876 P