JBIG2

JBIG2

JBIG2 is an image compression standard for bi-level images, developed by the Joint Bi-level Image Experts Group. It is suitable for both lossless and lossy compression. According to a press release [ [http://www.jpeg.org/public/mauijbig.pdf Press release from the Joint Bi-level Image experts Group] ] from the Group, in its lossless mode JBIG2 typically generates files one third to one fifth the size of Fax Group 4 and one half to one quarter the size of JBIG, the previous bi-level compression standard released by the Group. JBIG2 has been published in 2000 as the international standard ITU T.88, and in 2001 as ISO/IEC 14492.

Functionality

Ideally, a JBIG2 encoder will segment the input page into regions of text, regions of halftone images, and regions of other data. Regions which are neither text nor halftones are typically compressed using a context-dependent arithmetic coding algorithm called the MQ coder. Textual regions are compressed as follows: the foreground pixels in the regions are grouped into symbols. A dictionary of symbols is then created and encoded, typically also using context-dependent arithmetic coding, and the regions are encoded by describing which symbols appear where. Typically, a symbol will correspond to a character of text, but this is not required by the compression method. For lossy compression the difference between similar symbols (e.g., slightly different impressions of the same letter) can be neglected; for lossless compression, this difference is taken into account by compressing one similar symbol using another as a template. Halftone images may be compressed by reconstructing the grayscale image used to generate the halftone and then sending this image together with a dictionary of halftone patterns. An overview of JBIG2 may be found in ["JBIG2-the ultimate bi-level image coding standard", by F. Ono, W. Rucklidge, R. Arps, and C. Constantinescu, in pp. 140–143, Proceedings, 2000 International Conference on Image Processing, (Vancouver, BC, Canada), vol. 1.] . Overall, the algorithm used by JBIG2 to compress text is very similar to the JB2 compression scheme used in the DjVu file format for coding binary images.

PDF files versions 1.4 and above may contain JBIG2 compressed data. Open source decoders for JBIG2 are jbig2dec [ [http://jbig2dec.sourceforge.net/ jbig2dec home page] ] and the decoder found in versions 2.00 and above of xpdf. An open source encoder is jbig2enc [ [http://www.imperialviolet.org/jbig2.html jbig2enc home page] ] .

Technical Details

Typically, a bi-level image consists mainly of a large amount of textual and halftone data in which the same shapes appear repeatedly and the bi-level image is segmented into three regions: text, halftone, and generic regions. Each region is coded differently and the coding methodologies are described in the following passage.

Text Image Data

Text coding is based on the nature of human visual interpretation. A human observer cannot tell the difference of two instances of the same characters in a bi-level image even though they may not exactly match pixel by pixel. Therefore, only the bitmap of one representative character instance needs to be coded instead of coding the bitmaps of each occurrence of the same character individually. For each character instance, the coded instance of the character is then stored into a “symbol dictionary” [F. Ono, W. Rucklidge, R. Arps, and C. Constantinescu, "JBIG2-the ultimate bi-level image coding standard," Image Processing, 2000. Proceedings. 2000 International Conference on , vol.1, pp.140-143 vol.1, 2000.] . There are two encoding methods for text image data: pattern matching and substitution (PM&S) and soft pattern matching (SPM). These methods are presented in the following subsections [P. Howard, F. Kossentini, B. Martins, S. Forchhammer, and W. Rucklidge, "The emerging JBIG2 standard," Circuits and Systems for Video Technology, IEEE Transactions on , vol.8, no.7, pp.838-848, Nov 1998.] .

"Pattern matching and substitution:" After performing image segmentation and match searching, and if a match exists, we code an index of the corresponding representative bitmap in the dictionary and the position of the character on the page. The position is usually relative to another previously coded character. If a match is not found, the segmented pixel block is coded directly and added into the dictionary. Typical procedures of pattern matching and substitution algorithm are displayed in the left block digram of the figure below. Although the method of PM&S can achieve outstanding compression, substitution errors could be made during the process if the image resolution is low.

"Soft pattern matching:" In addition to a pointer to the dictionary and position information of the character, refinement data is also required because it is a crucial piece of information used to reconstruct the original character in the image. The deployment of refinement data can make character-substitution error mentioned earlier highly unlikely. The refinement data contains the current desired character instance which is coded using the pixels of both the current character and the matching character in the dictionary. Since it is known that the current character instance is highly correlated with the matched character, the prediction of the current pixel is more accurate.

Halftones

Halftone images can be compressed using two methods. One of the methods is similar to the context-based arithmetic coding algorithm which adaptively positions the template pixels in order to obtain correlations between the adjacent pixels. In the second method, descreening is performed on the halftone image so that the image is converted back to grayscale. The converted grayscale values are then used as indexes of fixed-sized tiny bitmap patterns contained in a halftone bitmap dictionary. This allows decoder to successfully render a halftone image by presenting indexed dictionary bitmap patterns neighboring with each other.

Arithmetic Entropy Coding

All three region types including text, halftone, and generic regions may all use arithmetic coding. JBIG2 specifically uses the MQ coder.

External links

* [http://jbig2.com/ A JBIG2 Primer]
* [http://www.jpeg.org/public/fcd14492.pdf The final draft of the specification]

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • JBIG2 — JBIG2  это стандарт сжатия изображений, предложенный Группой Экспертов в Сжатии Бинарных Изображений (Joint Bi level Image Experts Group), и стандартизованный Международной Организацией по стандартизации ISO/IEC. Он применяется как для… …   Википедия

  • JBIG2 — ist ein Verfahren zur Bildkompression von Binärbildern für sowohl verlustfreie als auch verlustbehaftete Kompression. JBIG2 wurde von der „Joint Bi level Image Experts Group“[1] entwickelt und wurde im Jahre 2000 als internationaler Standard ITU… …   Deutsch Wikipedia

  • JBIG2 — ● ►en sg. m. ►GRAPH Comme son nom l indique, deuxième version du format de compression d image bi level produit par le groupe JBIG. 2 à 4 fois plus efficace que JBIG1 …   Dictionnaire d'informatique francophone

  • JPEG — For other uses, see JPEG (disambiguation). Joint Photographic Experts Group A photo of a cat compressed with successively more lossy compression ratios from right to left Filename extension .jpg …   Wikipedia

  • Portable Document Format — PDF redirects here. For other uses, see PDF (disambiguation). Portable Document Format Adobe Reader icon Filename extension .pdf Internet media type application/pdf application/x pdf application/x bzpdf application/x gzpdf …   Wikipedia

  • Tagged Image File Format — TIF and TIFF redirect here. For other uses, see TIF (disambiguation) and TIFF (disambiguation). Tagged Image File Format Filename extension .tiff, .tif Internet media type image/tiff, image/tiff fx Type code TIFF Unifo …   Wikipedia

  • Multiple-image Network Graphics — MNG redirects here. For other uses, see MNG (disambiguation). Multiple image Network Graphics Filename extension .mng Internet media type video/x mng (unofficial) Type of format computer animation Container for PNG, JN …   Wikipedia

  • Portable Network Graphics — PNG A PNG image with an 8 bit transparency channel (top). The same image is overlaid onto a checkered background (botto …   Wikipedia

  • PCX — may also refer to the Pacific Exchange. PCX Filename extension .pcx Internet media type image/x pcx Developed by ZSoft Corporation Type of format lossless bitmap image format …   Wikipedia

  • Netpbm format — Portable pixmap Filename extension .ppm, .pgm, .pbm, .pnm Internet media type image/x portable pixmap, graymap, bitmap, anymap all unofficial Developed by Jef Poskanzer Type of format Image file formats …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”