1、INCITS/ISO/IEC 15444-5-20032009 (ISO/IEC 15444-5:2003, IDT) Information technology JPEG 2000 imagecoding system: Reference softwareINCITS/ISO/IEC 15444-5-20032009 (ISO/IEC 15444-5:2003, IDT)INCITS/ISO/IEC 15444-5-20032009 ii ITIC 2009 All rights reserved PDF disclaimer This PDF file may contain embe
2、dded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of
3、not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters
4、were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. Adopted by INCITS (InterNational Committee for Info
5、rmation Technology Standards) as an American National Standard. Date of ANSI Approval: 2/2/2009 Published by American National Standards Institute, 25 West 43rd Street, New York, New York 10036 Copyright 2009 by Information Technology Industry Council (ITI). All rights reserved. These materials are
6、subject to copyright claims of International Standardization Organization (ISO), International Electrotechnical Commission (IEC), American National Standards Institute (ANSI), and Information Technology Industry Council (ITI). Not for resale. No part of this publication may be reproduced in any form
7、, including an electronic retrieval system, without the prior written permission of ITI. All requests pertaining to this standard should be submitted to ITI, 1250 Eye Street NW, Washington, DC 20005. Printed in the United States of America ITIC 2009 All rights reserved iiiCONTENTS Page 1 Scope 1 2 N
8、ormative references . 1 2.1 Identical Recommendations | International Standards 1 2.2 Additional references 1 3 Definitions 2 4 Abbreviations and symbols 4 4.1 Abbreviations 4 4.2 Symbols. 5 5 Conventions 5 6 General description. 6 7 Copyright and licensing 6 8 Platform requirements 6 8.1 JasPer req
9、uirements. 6 8.2 JJ2000 requirements 6 9 Reference code structure 7 9.1 JasPer executables. 7 9.2 JJ2000 executables 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 Ve
10、rsion numbering 9 A.4 Software overview 9 A.5 JasPer library. 10 A.6 JasPer demo application programs 10 A.7 Software requirements 11 A.8 Building the software 11 A.9 Using the software. 11 Annex B JJ2000 JavaTMreference software software description 12 B.1 Introduction. 12 B.2 Software updates . 12
11、 B.3 Software architecture 12 B.4 Installing and running the software. 13 Electronic attachment: JASPER reference software JJ2000 reference software INCITS/ISO/IEC 15444-5-20032009iv ITIC 2009 All rights reserved Foreword ISO (the International Organization for Standardization) and IEC (the Internat
12、ional Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular field
13、s of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a jo
14、int technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committ
15、ee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this part of ISO/IEC 15444 may be the subject of patent rights. ISO a
16、nd IEC shall not be held responsible for identifying any or all such patent rights. ISO/IEC 15444-5 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 29, Coding of audio, picture, multimedia and hypermedia information, in collaboration with ITU-T. The i
17、dentical text is published as ITU-T Rec. T.804. ISO/IEC 15444 consists of the following parts, under the general title Information technology JPEG 2000 image coding system: Part 1: Core coding system Part 2: Extensions Part 3: Motion JPEG 2000 Part 4: Conformance testing Part 5: Reference software P
18、art 6: Compound image file format Part 9: Interactivity tools, APIs and protocols Part 12: ISO base media file format INCITS/ISO/IEC 15444-5-20032009ITU-T Rec. T.804 (08/2002) 1 INTERNATIONAL STANDARD ITU-T RECOMMENDATION Information technology JPEG 2000 image coding system: Reference software 1 Sco
19、pe ITU-T Rec. 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 | International Standard provides two independently created software reference implementations of ITU-T Re
20、c. T.800 | ISO/IEC 15444-1, in order to assist implementers of ITU-T Rec. T.800 | ISO/IEC 15444-1 in testing and understanding its content. The reference software is informative only. This Recommendation | International Standard does not define any additional part of the JPEG 2000 image coding syste
21、m. Each version of the reference software contains source code, which may be compiled to provide the following functionality: transcoding from selected, widely available image formats into a JPEG 2000 codestream; transcoding from selected, widely available image formats into the JP2 file format; sel
22、ection 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 available image formats; partial processing of a JP2 file to extract a JPEG 2000 codestream for decoding to a range of selected widely a
23、vailable image formats; NOTE The reference software does not implement a conforming JP2 file reader. See clause 9. some additional tools to help with evaluation and testing. The reference software is intended for use as a testing and validation tool for other implementations of JPEG 2000, and to hel
24、p in the understanding of ITU-T Rec. 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 implementors are cautioned against making any
25、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 | International Standard. At the time o
26、f 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 of the Recommendations and St
27、andards 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. 2.1 Identical Recommendations | International Standards ITU-T Recommendation
28、T.800 (2002) | ISO/IEC 15444-1:2002, Information technology JPEG 2000 Image Coding System: Core coding system. 2.2 Additional references ISO/IEC 9899:1999, Programming languages C. ISO/IEC 9945-1:1996, Information technology Portable Operating System Interface (POSIX) Part 1: System Application Prog
29、ram Interface (API) (C language). ISO/IEC 9945-2:1993, Information technology Portable Operating System Interface (POSIX) Part 2: Shell and utilities. INCITS/ISO/IEC 15444-5-200320092 ITU-T Rec. T.804 (08/2002) 3 Definitions For the purposes of this Recommendation | International Standard, the follo
30、wing 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“; a unit of information represented by a zero or a one. 3.3 bit-plane: A two-dimensional array of bits. In this Recom
31、mendation | 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, code-block, region of interest, or other. 3.4 bit stream: The actual sequence of bits resulting from the coding
32、 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 marker segments not found within the main or tile-part headers. 3.5 box: A portion of the file format define
33、d 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 are stored within the DBox field within the Box data structure. 3.7 byte: Eight bits. 3.8 channel: One logical compo
34、nent 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 codestream. 3.9 code-block: A rectangular grouping of coefficients from the same subband of a tile-component. 3.10 coder: An e
35、mbodiment 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 decoding and expansion into image data. This is the image data in a compressed form with all of the signalling needed t
36、o 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, for instance representing red, green and blue. 3.14 compressed image data: Part or all of a bit stream. Can also refe
37、r 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 reconstructed image.
38、3.17 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.18 encoder: An embodiment of an encoding proce
39、ss. 3.19 encoding process: A process, that takes as its input all or part of a source image data and outputs a codestream. 3.20 file format: A codestream and additional support data and information not explicitly required for the decoding of codestream. Examples of such support data include text fie
40、lds 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.21 header: Either a part of the codestream that contains only markers and mark
41、er segments (main header and tile-part header) or the signalling part of a packet (packet header). 3.22 image: The set of all components. 3.23 image area: A rectangular part of the reference grid, registered by offsets from the origin and the extent of the reference grid. 3.24 image area offset: The
42、 number of reference grid points down and to the right of the reference grid origin where the origin of the image area can be found. INCITS/ISO/IEC 15444-5-20032009ITU-T Rec. T.804 (08/2002) 3 3.25 image data: The components and component samples making up an image. Image data can refer to either th
43、e source image data or the reconstructed image data. 3.26 irreversible: A transformation, progression, system, quantization, or other process that, due to systemic or quantization error, disallows lossless recovery. An irreversible process can only lead to lossy compression. 3.27 JP2: The name of th
44、e file format defined by ITU-T Rec. T.800 | ISO/IEC 15444-1. 3.28 JPEG: Used to refer globally to the encoding and decoding process of the following Recommendations | International Standards: ITU-T Recommendation T.81 (1992) | ISO/IEC 10918-1:1994, Information technology Digital compression and codi
45、ng of continuous-tone still images: Requirements and guidelines. ITU-T Recommendation T.83 (1994) | ISO/IEC 10918-2:1995, Information technology Digital compression and coding of continuous-tone still images: Compliance testing. ITU-T Recommendation T.84 (1996) | ISO/IEC 10918-3:1997, Information te
46、chnology Digital compression and coding of continuous-tone still images: Extensions. ITU-T Recommendation T.84 (1996)/Amd. 1 (1999), Information technology Digital compression and coding of continuous-tone still images: Extensions Amendment 1: Provisions to allow registration of new compression type
47、s and versions in the SPIFF header. ITU-T Recommendation T.86 (1998) | ISO/IEC 10918-4, Information technology Digital compression and coding of continuous-tone still images: Registration of JPEG Profiles, SPIFF Profiles, SPIFF Tags, SPIFF colour Spaces, APPn Markers, SPIFF Compression types and Reg
48、istration authorities (REGAUT). 3.29 JPEG 2000: Used to refer globally to the encoding and decoding processes in this Recommendation | International Standard and their embodiment in applications. 3.30 layer: A collection of compressed image data from coding passes of one, or more, code-blocks of a t
49、ile-component. Layers have an order for encoding and decoding that must be preserved. 3.31 lossless: A descriptive term for the effect of the overall encoding and decoding processes in which the output of the decoding process is identical to the input to the encoding process. Distortion free restoration can be assured. All of the coding processes or steps used for encoding and decoding are reversible. 3.32 lossy: A descriptive term for the effect of the overall encoding and