1、 I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n ITU-T T.804 TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (04/2015) SERIES T: TERMINALS FOR TELEMATIC SERVICES Still-image compression JPEG 2000 Information technology JPEG 2000 image coding system: Reference software Recommend
2、ation ITU-T T.804 ITU-T T-SERIES RECOMMENDATIONS TERMINALS FOR TELEMATIC SERVICES Facsimile Framework T.0T.19 Still-image compression Test charts T.20T.29 Facsimile Group 3 protocols T.30T.39 Colour representation T.40T.49 Character coding T.50T.59 Facsimile Group 4 protocols T.60T.69 Telematic serv
3、ices Framework T.70T.79 Still-image compression JPEG-1, Bi-level and JBIG T.80T.89 Telematic services ISDN Terminals and protocols T.90T.99 Videotext Framework T.100T.109 Data protocols for multimedia conferencing T.120T.149 Telewriting T.150T.159 Multimedia and hypermedia framework T.170T.189 Coope
4、rative document handling T.190T.199 Telematic services Interworking T.300T.399 Open document architecture T.400T.429 Document transfer and manipulation T.430T.449 Document application profile T.500T.509 Communication application profile T.510T.559 Telematic services Equipment characteristics T.560T.
5、649 Still-image compression JPEG 2000 T.800T.829 Still-image compression | JPEG XR T.830T.849 Still-image compression JPEG-1 extensions T.850T.899 For further details, please refer to the list of ITU-T Recommendations. Rec. ITU-T T.804 (04/2015) i INTERNATIONAL STANDARD ISO/IEC 15444-5 RECOMMENDATIO
6、N ITU-T T.804 Information technology JPEG 2000 image coding system: Reference software Summary Rec. ITU-T T.800 | ISO/IEC 15444-1 defines a set of lossless and lossy compression methods for coding continuous-tone, bi-level, greyscale or colour digital still images. This Recommendation | Internationa
7、l Standard provides three independently created software reference implementations of Rec. ITU-T T.800 | ISO/IEC 15444-1, in order to assist implementers of Rec. ITU-T T.800 | ISO/IEC 15444-1 in testing and understanding its content: JASPER JJ2000 OPENJPEG The three reference software packages are i
8、nformative only. This Recommendation | International Standard does not define any additional part of the JPEG 2000 image coding system. Each version of the reference software contains source code, which may be compiled to provide the following functionality: transcoding from selected, widely availab
9、le image formats into a JPEG 2000 codestream; transcoding from selected, widely available image formats into the JP2 file format; selection of a wide range of JPEG 2000 encoding options (as documented in each reference software); decoding from a JPEG 2000 codestream to a range of selected widely ava
10、ilable image formats; partial processing of a JP2 file to extract a JPEG 2000 codestream for decoding to a range of selected widely available image formats (not included in the reference software); some additional tools to help with evaluation and testing. The reference software packages are intende
11、d for use as a testing and validation tool for other implementations of JPEG 2000, and to help in the understanding of Rec. ITU-T T.800 | ISO/IEC 15444-1. Although components of the reference software may find application in software intended for product development, this was not an objective of the
12、 development of this software, and prospective implementers are cautioned against making any estimations of performance or resource usage based on the reference software. This new edition integrates the contents of Rec. ITU-T T.804 (2002) | ISO/IEC 15444-5:2003, its Amendment 1 (2014) | Amd.1:2003 a
13、nd its Amendment 2 (2015) | Amd.2:2015. History Edition Recommendation Approval Study Group Unique ID* 1.0 ITU-T T.804 2002-08-29 16 11.1002/1000/6124 1.1 ITU-T T.804 (2002) Amd. 1 2014-10-14 16 11.1002/1000/12303 1.2 ITU-T T.804 (2002) Amd. 2 2015-04-29 16 11.1002/1000/12473 2.0 ITU-T T.804 2015-04
14、-29 16 11.1002/1000/12595 _ * To access the Recommendation, type the URL http:/handle.itu.int/ in the address field of your web browser, followed by the Recommendations unique ID. For example, http:/handle.itu.int/11.1002/1000/11830-en. ii Rec. ITU-T T.804 (04/2015) FOREWORD The International Teleco
15、mmunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tar
16、iff questions and issuing Recommendations on them with a view to standardizing telecommunications 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 Recomm
17、endations on these topics. The approval of ITU-T Recommendations is covered by the 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 Recommen
18、dation, the expression “Administration“ is used for conciseness to indicate both 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., interoperabi
19、lity or applicability) and compliance with the Recommendation is achieved when all 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 comp
20、liance with the Recommendation is required of any party. INTELLECTUAL PROPERTY RIGHTSITU 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
21、 or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. As of the date of approval of this Recommendation, ITU had received notice of intellectual property, protected by patents, which may be required to
22、implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at http:/www.itu.int/ITU-T/ipr/. ITU 2015 All rights reserved. No part of this publication may be reproduced, by a
23、ny means whatsoever, without the prior written permission of ITU. Rec. ITU-T T.804 (04/2015) iii CONTENTS Page 1 Scope 1 2 Normative references 1 2.1 Identical Recommendations | International Standards 1 2.2 Additional references 2 3 Definitions 2 4 Abbreviations and symbols 4 4.1 Abbreviations 4 4.
24、2 Symbols . 5 5 Conventions 5 6 General description . 5 7 Copyright and licensing 6 8 Platform requirements 6 8.1 JasPer requirements . 6 8.2 JJ2000 requirements 6 8.3 OpenJPEG requirements . 7 9 Reference code structure 7 9.1 JasPer executables . 7 9.2 JJ2000 executables 7 9.3 OpenJPEG executables
25、. 7 10 Intellectual Property . 7 11 Software availability and updates . 8 Annex A JASPER C reference software software description . 9 A.1 Introduction . 9 A.2 Software updates . 9 A.3 Version numbering 9 A.4 Software overview 9 A.5 JasPer library . 10 A.6 JasPer demo application programs 10 A.7 Sof
26、tware requirements. 10 A.8 Building the software 11 A.9 Using the software . 11 Annex B JJ2000 Java reference software software description 12 B.1 Introduction . 12 B.2 Software updates . 12 B.3 Software architecture. 12 B.4 Installing and running the software . 13 Annex C OpenJPEG C reference softw
27、are - software description . 14 C.1 Introduction . 14 C.2 Getting and updating the software . 14 C.3 Building and using the software 14 C.4 Testing the software 14 Electronic attachment: JASPER, JJ2000, OPENJPEG reference packages Rec. ITU-T T.804 (04/2015) 1 INTERNATIONAL STANDARD ITU-T RECOMMENDAT
28、ION Information technology JPEG 2000 image coding system: Reference software 1 Scope Rec. ITU-T T.800 | ISO/IEC 15444-11 defines a set of lossless and lossy compression methods for coding continuous-tone, bi-level, greyscale or colour digital still images. This Recommendation | International Standar
29、d provides three independently created software reference implementations of Rec. ITU-T T.800 | ISO/IEC 15444-1, in order to assist implementers of Rec. ITU-T T.800 | ISO/IEC 15444-1 in testing and understanding its content. The packages are JASPER, JJ2000 and OPENJPEG. The reference software packag
30、es are informative only. This Recommendation | International Standard does not define any additional part of the JPEG 2000 image coding system. Each version of the reference software contains source code, which may be compiled to provide the following functionality: transcoding from selected, widely
31、 available image formats into a JPEG 2000 codestream; transcoding from selected, widely available image formats into the JP2 file format; selection of a wide range of JPEG 2000 encoding options (as documented in each reference software); decoding from a JPEG 2000 codestream to a range of selected wi
32、dely available image formats; Processing of a JP2 file to extract a JPEG 2000 codestream for decoding and conversion to a range of selected widely available image formats. The ability to extract metadata from a JP2 file, including the contents of the Image Header box and the colour space. The decodi
33、ng of JP2 files that use the Three-Component Matrix-Based form of the Restricted ICC method for the specification of colour space and the conversion of the decoded image data to the sRGB colour space for display, including limited upsampling of all decoded components to the same resolution. The deco
34、ding of JP2 files that use the Monochrome form of the Restricted ICC method for the specification of colour space and the conversion of the decoded image data to the sRGB based greyscale space as defined within the JP2 file format. The decoding of JP2 files that use the sYCC colour space and the con
35、version of the decoded image data to the sRGB colour space for display, including upsampling of all decoded components to the same resolution. some additional tools to help with evaluation and testing. The reference software is intended for use as a testing and validation tool for other implementati
36、ons of JPEG 2000, and to help in the understanding of Rec. ITU-T T.800 | ISO/IEC 15444-1. Although components of the reference software may find application in software intended for product development, this was not an objective of the development of this software, and prospective implementers are c
37、autioned against making any estimations of performance or resource usage based on the reference software. 2 Normative references The following Recommendations and International Standards contain provisions which, through reference in this text, constitute provisions of the Recommendation | Internati
38、onal 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 investigate the possibility of applying the most recent edition o
39、f 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 Recommendations. _ 1 This Specification includes an electronic att
40、achment containing the JASPER, JJ2000 and OPENJPEG reference packages. 2 Rec. ITU-T T.804 (04/2015) 2.1 Identical Recommendations | International Standards ITU-T Recommendation T.800 (2002) | ISO/IEC 15444-1:2002, Information technology JPEG 2000 Image Coding System: Core coding system. 2.2 Addition
41、al references ISO/IEC 9899:1999, Programming languages C. ISO/IEC 9945-1:1996, Information technology Portable Operating System Interface (POSIX) Part 1: System Application Program Interface (API) (C language). ISO/IEC 9945-2:1993, Information technology Portable Operating System Interface (POSIX) P
42、art 2: Shell and utilities. 3 Definitions For the purposes of this Recommendation | International Standard, the following definitions apply: 3.1 big endian: The bits of a value representation occur in order from most significant to least significant. 3.2 bit: A contraction of the term “binary digit“
43、; a unit of information represented by a zero or a one. 3.3 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-compo
44、nent, code-block, region of interest, or other. 3.4 bit stream: 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 mar
45、kers and marker segments not found within the main or tile-part headers. 3.5 box: A portion of the file format defined by a length and unique box type. Boxes of some types may contain other boxes. 3.6 box contents: Refers to the data wrapped within the box structure. The contents of a particular box
46、 are stored within the DBox field within the Box data structure. 3.7 byte: Eight bits. 3.8 channel: One logical component of the image. A channel may be a direct representation of one component from the codestream, or may be generated by the application of a palette to a component from the codestrea
47、m. 3.9 code-block: A rectangular grouping of coefficients from the same subband of a tile-component. 3.10 coder: An embodiment of either an encoding or decoding process. 3.11 codestream: A collection of one or more bit streams and the main header, tile-part headers, and the EOC required for their de
48、coding and expansion into image data. This is the image data in a compressed form with all of the signalling needed to decode. 3.12 coefficient: The values that are the result of a transformation. 3.13 component: A two-dimensional array of samples. An image typically consists of several components,
49、for instance representing red, green and blue. 3.14 compressed image data: Part or all of a bit stream. Can also refer to a collection of bit streams in part or all of a codestream. 3.15 decoder: An embodiment of a decoding process, and optionally a colour transformation process. 3.16 decoding process: A process which takes as its input all or part of a codestream and outputs all or part of a reconstru