Open In App

JBIG2 compression

Last Updated : 30 Nov, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

JBIG2 is an international standard for bilevel image compression. By segmenting an image into overlapping and/or non-overlapping regions of text, halftone and generic content, compression techniques that are specially optimized for each type of content are employed:

  • Text regions: Text regions are composed of characters that are ideally suited for symbol based coding approach. Typically, each symbol will correspond to a character bitmap- a subimage representing a character or text. There is normally only one character bitmap (or subimage) in the symbol dictionary for each upper and lowercase character of the front being used. For example, there would be one “a” bitmap in the dictionary, one “A” bitmap, one”b” bitmap, and so on.
  • Halftone regions: Halftone regions are similar to text regions in that they are composed of patterns arranged in regular grid.The symbols that are stored in dictionary, however are not character bitmaps but periodic patterns that represents intensities (e.g., of a photograph) that have been dithered to produce bilevel images of printing.
  • Generic regions: Generic region contain non-text, non-halftone information like line art and noise, and are compressed using either arithmetic or MMR coding.

lossy JBIG2 compression: In lossy JBIG2 compression, often called perceptually lossless or visually lossless, we neglect differences between dictionary bitmaps (i.e., the reference character bitmaps or character templates) and specific instances of the corresponding characters in the image.In lossless compression, the differences are stored and used in conjunction with the triplets encoding each character (by the decoder) to produce an actual image bitmaps.


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads