1、B CReference numberISO/IEC 12087-5:1998(E)INTERNATIONALSTANDARDISO/IEC12087-5First edition1998-10-15Information technology Computergraphics and image processing ImageProcessing and Interchange (IPI) Functional specification Part 5:Basic Image Interchange Format (BIIF)Technologies de linformation Inf
2、ographie et traitement de limage Spcification fonctionnelle pour le traitement de limage et lchange (IPI) Partie 5: Format dchange de limage de base (BIIF)Adopted by INCITS (InterNational Committee for Information Technology Standards) as an American National Standard.Date of ANSI Approval: 2/5/99Pu
3、blished by American National Standards Institute,25 West 43rd Street, New York, New York 10036Copyright 2002 by Information Technology Industry Council (ITI).All rights reserved.These materials are subject to copyright claims of International Standardization Organization (ISO), InternationalElectrot
4、echnical 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, including an electronic retrieval system, withoutthe prior written permission of ITI. All requests per
5、taining to this standard should be submitted to ITI, 1250 Eye Street NW,Washington, DC 20005.Printed in the United States of AmericaISO/IEC 12087-5:1998(E) ISO/IEC 1998All rights reserved. Unless otherwise specified, no part of this publication may be reproducedor utilized in any form or by any mean
6、s, electronic or mechanical, including photocopying andmicrofilm, without permission in writing from the publisher.ISO/IEC Copyright Office Case postale 56 CH-1211 Genve 20 SwitzerlandPrinted in SwitzerlandiiContentsContents.iiList of Figures . vList of Tables.viForeword. viii1 Scope. 12 Normative r
7、eferences 23 Terms, definitions and abbreviations . 43.1 Definitions 43.2 Abbreviations: 74 Basic Image Interchange Format (BIIF) specification 84.1 Format overview 84.1.1 Description 94.1.1.1 Format fields.94.1.1.2 Standard data types .94.1.1.3 Extensions94.1.1.4 Transportable file structure (TFS).
8、104.1.1.5 Complexity Levels 104.1.2 Interoperability/exchange 104.1.3 Fields. 114.1.3.1 Valid data .114.1.3.2 Date and time expressions.114.1.3.3 Representation of textual information in fields .114.1.4 Logical structure of pixel storage. 124.1.4.1 Pixel coordinates .124.1.4.2 PIKS pixel coordinates
9、 .124.1.5 Common coordinate system . 134.1.5.1 Common coordinate system structure134.1.5.2 Row and column coordinates .134.1.5.3 CCS Boundaries.144.1.6 Display and attachment levels. 144.1.6.1 Display levels .144.1.6.2 Attachment levels.154.2 Format . 164.2.1 Data recording formats 164.2.2 Encoding
10、174.2.3 Header. 184.2.4 Image segment 264.2.4.1 Image subheader .264.2.4.2 Look-up tables (LUTS) .274.2.5 Image data field format . 364.2.5.1 Blocked images364.2.5.2 Image data masking.374.2.5.3 Compressed image data format.424.2.5.4 Uncompressed image data format .424.2.5.5 Vector quantized data 43
11、4.2.5.6 Number of bands (NBANDS)434.2.5.7 PIKS Objects 434.2.5.8 Image representation .44ISO/IEC ISO/IEC 12087-5:1998(E)iii4.2.6 Symbol segment 454.2.6.1 Symbol subheader. 454.2.6.2 Symbol data. 484.2.7 Text information segment . 484.2.7.1 Text subheader 484.2.7.2 Text 504.2.8 Data Extensions 504.2.
12、8.1 Tagged Record Extensions (TRE): Public and Private. . 504.2.8.2 Data extension segments (DES) 524.2.8.3 Defined DESs . 544.2.8.4 Reserved extension segments (RES) 565 Conformance profiles and extensions . 585.1 Profiles 585.2 Profile specific header/subheader dependencies proforma 585.3 Complexi
13、ty level proforma. 585.4 Implementation support requirements. 595.4.1 General support requirements 595.4.2 Producing and interpreting BIIF files . 595.4.2.1 Producing BIIF files 595.4.2.2 Interpreting BIIF files 595.5 Defined extensions 595.6 Profile registration. 59Annex A (normative) Transportable
14、 file structure 61A.1 Transportable file structure (TFS). 61A.1.1 TFS Commands 61A.1.2 TFS encoding 62A.1.3 TFS command flow. 62A.2 TFS command formats . 63A.2.1 TFS delimiter commands 63A.2.1.1 Begin TFS command. 63A.2.1.2 Begin transport command . 64A.2.1.3 Begin transport body command. 64A.2.1.4
15、Begin transport profile command 64A.2.1.5 Begin transport profile body command 65A.2.1.6 End transport profile command . 65A.2.1.7 End transport command 65A.2.1.8 End TFS command 65A.2.2 TFS descriptor commands . 65A.2.2.1 TFS version command 66A.2.2.2 TFS security command 66A.2.2.3 TFS subscription
16、 command. 66A.2.2.4 TFS configuration command . 67A.2.2.5 TFS configuration data command . 68A.2.2.6 TFS metadata command. 68A.2.2.7 TFS index command . 68A.2.3 Transport descriptor commands. 69A.2.3.1 Transport security command. 69A.2.3.2 Transport metadata command 70A.2.3.3 Transport index command
17、. 70A.2.4 Transport Profile descriptor commands 70A.2.4.1 Transport Profile security command 70A.2.4.2 Transport profile metadata command 70A.2.4.3 Transport profile index command 70A.2.5 Transport profile commands. 70A.2.5.1 Transport profile action command. 71A.2.5.2 Transport profile object comma
18、nd. 71A.2.6 TFS escape command . 79Annex B (normative) Vector Quantization 80B.1 Vector Quantized Data 80B.2 Quantization Process 80B.3 Reconstruction 81B.3.1 Spatial reconstruction . 82B.3.2 Color reconstruction 83B.3.3 Data elements. 84ISO/IEC 12087-5:1998(E)ISO/IECivB.3.3.1 Quantization ratio. 84
19、B.3.3.2 Masked vs unmasked 84B.3.3.3 Code book organization . 84B.3.3.4 Spatial data section 85B.4 File organization 85B.5 Definitions - image data section 87B.6 Definitions - BIIF header and image subheader . 87Annex C (normative) Profiling BIIF . 89C.1 Profiling process . 89C.2 Profile proforma 89
20、C.2.1 Use of the model profile 89C.2.2 Rules for filling out the proforma tables 89C.2.2.1 Profile Tables.91Annex D (informative) Implementation Considerations and Product Configurations 123D.1 Implementation considerations and product configurations 123D.2 TRE_OVERFLOW example . 123D.3 Scope of imp
21、lementation 123D.3.1 Creating headers and subheaders . 123D.3.2 Character counts 123D.3.3 Data entry . 124D.3.4 Tagged Record Extensions 124D.3.5 Out-of-bounds field values 124D.3.6 Use of images. 124D.3.7 Use of text files . 124D.3.7.1 BCS (TXTFMT=STA). 124D.3.7.2 Additional TXTFMT Codes 124D.3.8 F
22、ile system constraints . 130D.3.9 Security considerations. 130D.4 Product configurations 131D.4.1 General . 131D.4.1.1 Single file, single base image 131D.4.1.2 Single file, multiple images 132D.4.1.3 Single file, no image 134D.4.1.4 Multiple correlated files 134Annex E (informative) Examples BIIF P
23、rofiles 135E.1 Example file. 135E.1.1 Use of this example 135E.1.2 BIIF Model Profile for example file 135E.1.2.1 Explanation of the file header 137E.1.2.2 Explanation of the image subheaders138E.1.2.3 Explanation of the symbol subheaders 142E.1.2.4 Explanation of the text subheaders147E.2 Examples
24、using the Transportable File Structure (TFS). 147E.2.1 Use of TFS 147E.2.2 TFS Examples 147E.2.2.1 TFS example of PIKS processing for an image .147E.2.2.2 TFS example of requesting imagery and patient history148E.2.2.3 TFS example of using configuration and a five band image 148E.3 Open Skies Digita
25、l Data Exchange Profile example (Informative) 149E.3.1 Open Skies Digital Data Exchange File Header . 150E.3.2 Open Skies Image Data Subheader . 151E.3.3 Open Skies SAR Information 154E.3.4 Open Skies Text Data Subheader 156E.3.5 Open Skies Annotation Text Format 157E.3.6 Data Extension Segment Subh
26、eader 159E.3.7 Open Skies Digital Data Exchange Format (OSDDEF) DCRsi TAPE ANNOTATION and TAPEDIRECTORY File Examples 160E.3.8 Example Entries in Data and Field Tables 163ISO/IEC ISO/IEC 12087-5:1998(E)vList of FiguresFigure 1 - Translation process. 8Figure 2 - Structure 9Figure 3 - Image Array Stru
27、cture. 12Figure 4 - Common coordinate system . 13Figure 5 - Display level and attachment level relationships. 15Figure 6 - Display and attachment levels 16Figure 7 - Octet sequence order 17Figure 8 - Header structure . 18Figure 9a - A blocked image 37Figure 9b - A blocked padded image. 37Figure 10 -
28、 A blocked padded image with empty blocks . 38Figure B.1 - Vector quantization process flow . 80Figure B.2 - BIIF file structure with VQ data 81Figure B.3 - VQ reconstruction procedure. 82Figure B.4 - Spatial reconstruction 83Figure B.5 - Color reconstruction. 84Figure B.6 - Structure of the BIIF VQ
29、 image data section . 86Figure D.1 - Single file, single base image representation 131Figure D.2 - Single file, multiple images representation 133Figure E.1 - Sample file composite image. 135ISO/IEC 12087-5:1998(E)ISO/IECviList of TablesTable 1 - Header 19Table 2 - Image pixel data type codes and de
30、scriptions . 27Table 3 - Image subheader . 28Table 4 - Image data mask table. 39Table 5 - Representative examples of IREP and associated fields 45Table 6 - Symbol subheader 46Table 7 - Text subheader 49Table 8 - TRE subheader 52Table 9 - Data extension segment subheader. 53Table 10 - Data extension
31、segment subheader for TRE OVERFLOW . 54Table 11 - Data extension segment subheader for TRANSPORTABLE_FILE_STRUCT 55Table 12 - Reserved extension segment subheader 57Table A.1 - Encoding of a TFS command . 62Table A.2 - TFS delimiter command table. 63Table A.3 - TFS command even form . 64Table A.4 -
32、TFS command odd form. 64Table A.5 - TFS descriptor command table. 65Table A.6 - TFS version. 66Table A.7 - TFS subscription command 67Table A.8 - TFS subscription contents table 67Table A.9 - TFS configuration command. 68Table A.10 - TFS config data command 68Table A.11 - TFS index command. 69Table
33、A.12 - Transport descriptor command table 69Table A.13 - Transport profile descriptor command table . 70Table A.14 - Transport profile command table 71Table A.15 - Transport profile object command 72Table A.16 - Object data for BIIF transport profile object 72Table A.17 - Object storage and object d
34、ata format 73Table A.18 PIKS Objects minimum size 73Table A.19 - PIKS objects data structures. 74Table B.1 - BIIF header and subheader specified data values 88Table C.1 - File header fields. 91Table C.2 - Security fields specification. 96Table C.3 - Image subheader fields 97Table C.4 - Image data ma
35、sk table . 107Table C.5 - Symbol subheader 108Table C.6 - Text subheader. 111Table C.7 - Tagged record extensions . 112Table C.8a - Data extension segment proforma . 113Table C.8b - Reserved extension segment proforma 114Table C.9 - TFS profile proforma table 115Table C.10 Implementation Support Req
36、uirements. 122Table D.1 - Basic Latin character set 125Table D.2 - Basic Latin character set explanation . 126Table D.3 - Latin-1 supplement character set . 128Table D.4 - Latin-1 supplement character set explanation 129Table E.1 - Example BIIF file header. 136Table E.2 - Example of the first image
37、subheader 138Table E.3 - Example of the second image subheader 140Table E.4 - Symbol subheader for the first symbol 142Table E.5 - Symbol subheader for the second symbol 143Table E.6 - Symbol subheader for the third symbol. 144Table E.7 - Symbol subheader for the fourth symbol. . 145Table E.8 - Symb
38、ol subheader for the fifth symbol 146Table E.9 - Text subheader for the text document 147Table E.10 - Open Skies Digital Data Exchange File Header . 150Table E.11 - Image Data Subheader. 151Table E.12 - Tagged Record Extension for SAR Information Parameters 154Table E.13 - SAR Information Parameters
39、 154ISO/IEC ISO/IEC 12087-5:1998(E)viiTable E.14 - Text Data Subheader 156Table E.15 - Treaty on Open Skies Annotation Text Format 157Table E.16 - Data Extension Segment Subheader 159Table E.17 - Tape annotation file example 160Table E.18 - Tape annotation file example 160Table E.19 - Tape annotatio
40、n file 161Table E.20 - Tape Directory File Example. 161Table E.21 - Tape Directory File 162Table E.22 - Data Field Table Example. 162Table E.23 - Header example for various exchange files examples . 163Table E.24 - Image data subheader 164Table E.25 - Text subheader. 165Table E.26 - RETAG data for S
41、AR initial phase data 165Table E.27 - User defined registered extension 166Table E.28 - Expansion of SAR micronavigational parameters 166Table E.29 - Configuration of SAR 166Table E.30 - 2nd example of configuration of SAR . 166Table E.31 - Data extension segment for SAR . 167ISO/IEC 12087-5:1998(E)
42、ISO/IECviiiForewordISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission)form the specialized system for worldwide standardization. National bodies that are members of ISO or IECparticipate in the development of International Standards throug
43、h technical committees established by therespective organization to deal with particular fields of technical activity. ISO and IEC technical committeescollaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, inliaison with ISO and IEC, also take
44、 part in the work.In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1.Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting.Publication as an International Standard requires appr
45、oval by at least 75 % of the national bodies casting a vote.International Standard ISO/IEC 12087-5 was prepared by Joint Technical Committee ISO/IEC JTC 1, Informationtechnology, Subcommittee SC 24, Computer graphics and image processing.ISO/IEC 12087 consists of the following parts, under the gener
46、al title Information technology Computer graphicsand image processing Image Processing and Interchange (IPI) Functional specification: Part 1: Common architecture for imaging Part 2: Programmers imaging kernel system application programme interface Part 3: Image Interchange Facility (IIF) Part 4: PI
47、CS DTC Part 5: Basic Image Interchange Format (BIIF)Annexes A to C form an integral part of this part of ISO/IEC 12087. Annexes D and E are for information only.INTERNATIONAL STANDARD ISO/IEC ISO/IEC 12087-5:1998(E)1Information technology Computer graphics and imageprocessing Image Processing and In
48、terchange (IPI) Functional Specification Part 5:Basic Image Interchange Format (BIIF)1 ScopeThis part of ISO/IEC 12087 establishes the specification of the Basic Image Interchange Format (BIIF) part of the standard.BIIF is a standard developed to provide a foundation for interoperability in the inte
49、rchange of imagery and imagery-related dataamong applications. This part of ISO/IEC 12087 provides a detailed description of the overall structure of the format, as well asspecification of the valid data and format for all fields defined with BIIF. Annex C contains a model profile in tables to assist inprofile development.As part of the ISO/IEC 12087 family of image processing and interchange standards, BIIF conforms to the architectural