1、 INTERNATIONAL TELECOMMUNICATION UNION ITU-T T.803TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (11/2002) SERIES T: TERMINALS FOR TELEMATIC SERVICES Information technology JPEG 2000 image coding system: Conformance testing ITU-T Recommendation T.803 ITU-T Rec. T.803 (11/2002) i INTERNATIONAL STAND
2、ARD ISO/IEC 15444-4 ITU-T RECOMMENDATION T.803 Information technology JPEG 2000 image coding system: Conformance testing Summary ITU-T Rec. T.800 | ISO/IEC 15444-1 is a specification that describes an image compression system that allows great flexibility, not only for the compression of images but
3、also for access into the codestream. The codestream provides a number of mechanisms for locating and extracting portions of the compressed image data for the purpose of retransmission, storage, display, or editing. This access allows storage and retrieval of compressed image data appropriate for a g
4、iven application without decoding. This Recommendation | International Standard provides the framework, concepts, and methodology for testing and the criteria to be achieved to claim compliance to ITU-T Rec. T.800 | ISO/IEC 15444-1. The objective of standardization in this field is to promote intero
5、perability between JPEG 2000 encoders and decoders and to test these systems for compliance to this Specification. Compliance testing is the testing of a candidate product for the existence of specific characteristics required by a standard. It involves testing the capabilities of an implementation
6、against both the compliance requirements in the relevant standard and the statement of the implementations capability. The purpose of this Recommendation | International Standard is to define a common test methodology, to provide a framework for specifying abstract test suites (ATS), and to define t
7、he procedures to be followed during compliance testing. Any organization contemplating the use of test methods defined in this Recommendation | International Standard should carefully consider the constraints on their applicability. Compliance testing does not include robustness testing, acceptance
8、testing, and performance testing. Source ITU-T Recommendation T.803 was prepared by ITU-T Study Group 16 (2001-2004) and approved on 29 November 2002. An identical text is also published as ISO/IEC 15444-4. ii ITU-T Rec. T.803 (11/2002) FOREWORD The International Telecommunication Union (ITU) is the
9、 United Nations specialized agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing te
10、lecommunications on a worldwide basis. The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. The approval of ITU-T Recommendations is covered by th
11、e procedure laid down in WTSA Resolution 1. In some areas of information technology which fall within ITU-Ts purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. NOTE In this Recommendation, the expression “Administration“ is used for conciseness to indicate both
12、a telecommunication administration and a recognized operating agency. Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all
13、 of these mandatory provisions are met. The words “shall“ or some other obligatory language such as “must“ and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. INTELLECTUAL PROPERTY RIG
14、HTS ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by IT
15、U members or others outside of the Recommendation development process. As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this
16、may not represent the latest information and are therefore strongly urged to consult the TSB patent database. ITU 2004 All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. ITU-T Rec. T.803 (11/2002) iii CONTENTS Pag
17、e 1 Scope 1 2 Normative references . 1 3 Definitions 1 4 Abbreviations . 4 5 Symbols 5 6 General description. 6 6.1 Profiles and compliance classes 6 6.2 Decoders 7 6.3 Encoders and codestreams 7 6.4 Implementation compliance statement 7 6.5 Abstract test suites. 7 6.6 Encoder compliance testing pro
18、cedure 7 6.7 Decoder compliance testing procedure . 7 7 Conventions 7 8 Copyright 8 9 Compliance files availability and updates 8 Annex A Decoder compliance classes 8 A.1 Compliance class parameter definitions 8 A.2 Compliance class definitions. 11 A.3 Lossless encoding and decoding . 12 Annex B Dec
19、oder compliance testing procedures 12 B.1 General 12 B.2 Decoder test procedure 12 Annex C Compliance tests 17 C.1 Abstract test suite (informative) 17 C.2 Executable test suite (ETS) . 19 Annex D Encoder compliance test procedure. 25 D.1 General 25 D.2 Reference decoder. 25 D.3 Compliance requireme
20、nt and acceptance 26 D.4 Encoding compliance test procedure. 26 Annex E Decoder Implementation Compliance Statement 28 E.1 General 28 E.2 Decoder implementation compliance statement 28 E.3 Extended support. 28 Annex F Encoder implementation compliance statement. 30 F.1 General 30 F.2 Encoder descrip
21、tion. 31 Annex G JP2 File Format Reader Compliance Testing Procedure. 36 G.1 General 36 G.2 Compliance requirement and acceptance 36 G.3 Reading a JP2 file compliance test procedure. 36 G.4 JP2 file format test codestreams and images. 37 Electronic attachments: JPEG 2000 Compliance Test Vectors iv I
22、TU-T Rec. T.803 (11/2002) LIST OF FIGURES Page Figure B.1 Decoder compliance test flow chart . 13 Figure D.1 Encoder compliance test block diagram . 27 Figure G.1 JP2 file format reader compliance test block diagram . 37 LIST OF TABLES Table A.1 Definitions of compliance classes (Cclass) 11 Table C.
23、1 Class 0 Profile 0 reference images and allowable errors 20 Table C.2 Items tested by Profile 0 codestreams 20 Table C.3 Profile 0 codestream 0 contents . 21 Table C.4 Class 0 Profile 1 reference images and allowable errors 22 Table C.5 Items tested by Profile 1 codestreams 22 Table C.6 Class 1 Pro
24、file 0 reference files and maximum error. 24 Table C.7 Class 1 Profile 1 reference images and allowable error . 25 Table E.1 ICS for profiles and Cclass. 28 Table E.2 Extended capabilities for Cclass 0 29 Table E.3 Extended capabilities for Cclass 1 29 Table E.4 Extended capabilities for Cclass 2 29
25、 Table F.1 Encoder implementation marker usage 30 Table F.2 Delimiting markers and marker segments 31 Table F.3 Fixed information marker segments . 32 Table F.4 Functional marker segments. 32 Table F.5 Pointer marker segments 34 Table F.6 In bitstream markers and marker segments 35 Table F.7 Informa
26、tional marker segments 35 Table G.1 JP2 reference images and allowable error 37 ISO/IEC 15444-4:2004 (E) ITU-T Rec. T.803 (11/2002) 1 INTERNATIONAL STANDARD ITU-T RECOMMENDATION Information technology JPEG 2000 image coding system: Conformance testing 1 Scope This Recommendation | International Stan
27、dard specifies the framework, concepts, methodology for testing, and criteria to be achieved to claim compliance to ITU-T Rec. T.800 | ISO/IEC 15444-1. It provides a framework for specifying abstract test suites and for defining the procedures to be followed during compliance testing. This Recommend
28、ation | International Standard: specifies compliance testing procedures for encoding and decoding using JPEG 2000 Part 1 (ITU-T Rec. T.800 | ISO/IEC 15444-1); specifies codestreams, decoded images, and error metrics to be used with the testing procedures; specifies abstract test suites; provides gui
29、dance for creating an encoder compliance test. This Recommendation | International Standard does not include the following tests: Acceptance testing: the process of determining whether an implementation satisfies acceptance criteria and enables the user to determine whether or not to accept the impl
30、ementation. This includes the planning and execution of several kinds of tests (e.g., functionality, quality, and speed performance testing) that demonstrate that the implementation satisfies the user requirements. Performance testing: measures the performance characteristics of an Implementation Un
31、der Test (IUT) such as its throughput, responsiveness, etc., under various conditions. Robustness testing: the process of determining how well an implementation processes data which contains errors. 2 Normative references The following references document the technical details and legal codestream s
32、yntax that serve as a basis for this Recommendation | International Standard. At the time of publication, the editions indicated were valid. All Recommendations and Standards are subject to revision, and parties to agreements based on this Recommendation | International Standard are encouraged to in
33、vestigate the possibility of applying the most recent edition of the Recommendations and Standards listed below. Members of IEC and ISO maintain registers of currently valid International Standards. The Telecommunication Standardization Bureau of the ITU maintains a list of currently valid ITU-T Rec
34、ommendations. ITU-T Recommendation T.800 (2002) | ISO/IEC 15444-1:2003, Information technology JPEG 2000 image coding system: Core coding system. 3 Definitions For the purposes of this Recommendation | International Standard, the following definitions apply. The definitions from ITU-T Rec. T.800 | I
35、SO/IEC 15444-1 clause 3 also apply to this Recommendation | International Standard. 3.1 abstract test suite: Generic compliance testing concepts and procedures for a given requirement. 3.2 arithmetic coder: An entropy coder that converts variable length strings to variable length codes (encoding) an
36、d vice versa (decoding). 3.3 big endian: An order of bytes with the most significant byte first. 3.4 bit: A contraction of the term “binary digit“; a unit of information represented by a zero or a one. ISO/IEC 15444-4:2004 (E) 2 ITU-T Rec. T.803 (11/2002) 3.5 bit-depth: The number of bits required t
37、o represent an original component of an image. 3.6 bit-plane: A two-dimensional array of bits. In this Recommendation | International Standard, a bit-plane refers to all the bits of the same magnitude in all coefficients or samples. This could refer to a bit-plane in a component, tile- component, co
38、de-block, region of interest, or other. 3.7 bitstream: The actual sequence of bits resulting from the coding of a sequence of symbols. It does not include the markers or marker segments in the main and tile-part headers or the EOC marker. It does include any packet headers and in stream markers and
39、marker segments not found within the main or tile-part headers. 3.8 box: A portion of the file format defined by a length and unique box type. Boxes of some types may contain other boxes. 3.9 byte: Eight bits. 3.10 Cclass: Defines a level of performance for a decoder. Also provides guidance for enco
40、ders to produce codestreams that are easily decodable by compliant decoders. 3.11 code-block: A rectangular grouping of coefficients from the same sub-band of a tile-component. 3.12 coder: An embodiment of either an encoding or decoding process. 3.13 codestream: A collection of one or more bitstream
41、s and the main header, tile-part headers, and the EOC required for their decoding and expansion into image data. This is the image data in a compressed form with all of the signalling needed to decode. This does not include the file format. 3.14 coding pass: A procedure accessing coefficients in a c
42、ode-block where the context and bit are determined. Typically there are three different coding passes for each bitplane, each coefficient will be represented in exactly one of the three passes. For an encoder a coding pass examines coefficients and augments a bitstream. For a decoder a coding pass r
43、eads a bitstream and updates coefficients. 3.15 coefficient: The values that are the result of a transformation. 3.16 component: A two-dimensional array of samples. An image typically consists of several components (e.g., red, green, and blue). 3.17 compressed image data: Part or all of a codestream
44、. Can also refer to a collection of bitstreams in part or all of a codestream. 3.18 compliance: Fulfilment of the specified requirements, as defined in this Specification, for a given Profile and Cclass. 3.19 compliance test procedure: The process of assessing compliance. 3.20 context: Function of c
45、oefficients previously decoded and used to condition the decoding of the present coefficient. 3.21 decoder: An embodiment of a decoding process, and optionally a colour transformation process. 3.22 decoding process: A process that takes as its input all or part of a codestream and outputs all or par
46、t of a reconstructed image. 3.23 decomposition level: A collection of wavelet sub-bands where each coefficient has the same spatial impact or span with respect to the source component samples. These include all sub-bands of the same two-dimensional sub-band decomposition. For the last decomposition
47、level, the LL sub-band is also included. 3.24 Discrete Wavelet Transformation (DWT): A transformation that iteratively transforms one signal into two or more filtered and decimated signals corresponding to different frequency bands. This transformation operates on spatially discrete samples. 3.25 en
48、coder: An embodiment of an encoding process, and optionally a colour transformation process. 3.26 encoding process: A process that takes as its input all or part of a source image data and outputs a codestream. 3.27 executable test suite: Set of executable test cases that support the abstract test c
49、ases. 3.28 file format: A codestream and additional support data and information not explicitly required for the decoding of the codestream. Examples of such support data include text fields providing titling, security and historical information, data to support placement of multiple codestreams within a given data file, and data to support exchange between platforms or conversion to other file formats. 3.29 fully decode: Applying ITU-T Rec. T.800 | ISO/IEC 15444-1 to produce an image from a codest