Iso/Iec 14492:2001(E)
Total Page:16
File Type:pdf, Size:1020Kb
This is a preview - click here to buy the full publication INTERNATIONAL ISO/IEC STANDARD 14492 First edition 2001-12-15 Information technology — Lossy/lossless coding of bi-level images Technologies de l'information — Codage avec/sans perte d'images à deux niveaux Reference number ISO/IEC 14492:2001(E) © ISO/IEC 2001 This is a preview - click here to buy the full publication ISO/IEC 14492:2001(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobe's 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 not infringing Adobe's 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 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. © ISO/IEC 2001 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISO's member body in the country of the requester. ISO copyright office Case postale 56 • CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail [email protected] Web www.iso.ch Printed in Switzerland ii © ISO/IEC 2001 – All rights reserved This is a preview - click here to buy the full publication ISO/IEC 14492:2001(E) CONTENTS Page 0 Introduction ............................................................................................................................................. viii 0.1 Interpretation and use of the requirements.................................................................................... viii 0.1.1 Subject matter for JBIG2 coding................................................................................... viii 0.1.2 Relationship between segments and documents............................................................. ix 0.1.3 Structure and use of segments....................................................................................... ix 0.1.4 Internal representations ................................................................................................ ix 0.1.5 Decoding results........................................................................................................... xi 0.1.6 Decoding procedures.................................................................................................... xi 0.2 Lossy coding............................................................................................................................... xii 0.2.1 Symbol coding............................................................................................................. xii 0.2.2 Generic coding............................................................................................................. xii 0.2.3 Halftone coding............................................................................................................ xiii 0.2.4 Consequences of inadequate segmentation.................................................................... xiii 1 Scope....................................................................................................................................................... 1 2 Normative References.............................................................................................................................. 1 3 Terms and Definitions.............................................................................................................................. 1 4 Symbols and Abbreviations...................................................................................................................... 3 4.1 Abbreviations.............................................................................................................................. 3 4.2 Symbol definitions...................................................................................................................... 4 4.3 Operator definitions .................................................................................................................... 10 5 Conventions............................................................................................................................................. 10 5.1 Typographic conventions ............................................................................................................ 10 5.2 Binary notation ........................................................................................................................... 10 5.3 Hexadecimal notation.................................................................................................................. 11 5.4 Integer value syntax .................................................................................................................... 11 5.4.1 Bit packing................................................................................................................... 11 5.4.2 Multi-byte values ......................................................................................................... 11 5.4.3 Bit numbering.............................................................................................................. 11 5.4.4 Signedness................................................................................................................... 11 5.5 Array notation and conventions ................................................................................................... 11 5.6 Image and bitmap conventions ....................................................................................................11 6 Decoding Procedures................................................................................................................................ 12 6.1 Introduction to decoding procedures............................................................................................ 12 6.2 Generic region decoding procedure.............................................................................................. 13 6.2.1 General description ...................................................................................................... 13 6.2.2 Input parameters........................................................................................................... 13 6.2.3 Return value................................................................................................................. 13 6.2.4 Variables used in decoding........................................................................................... 14 6.2.5 Decoding using a template and arithmetic coding.......................................................... 14 6.2.6 Decoding using MMR coding....................................................................................... 18 6.3 Generic Refinement Region Decoding Procedure......................................................................... 19 6.3.1 General description ...................................................................................................... 19 6.3.2 Input parameters........................................................................................................... 19 6.3.3 Return value................................................................................................................. 19 6.3.4 Variables used in decoding........................................................................................... 20 6.3.5 Decoding using a template and arithmetic coding.......................................................... 20 © ISO/IEC 2001 – All rights reserved iii This is a preview - click here to buy the full publication ISO/IEC 14492:2001(E) Page 6.4 Text Region Decoding Procedure ................................................................................................ 23 6.4.1 General description ...................................................................................................... 23 6.4.2 Input parameters........................................................................................................... 23 6.4.3 Return value................................................................................................................. 24 6.4.4 Variables used in decoding........................................................................................... 24 6.4.5 Decoding the text region............................................................................................... 25 6.4.6 Strip delta T ................................................................................................................. 28 6.4.7 First symbol instance S coordinate................................................................................ 28 6.4.8 Subsequent symbol instance S coordinate ..................................................................... 28 6.4.9 Symbol instance T coordinate......................................................................................