Skip to content
Related Articles

Related Articles

JBIG2 compression
  • Last Updated : 04 Oct, 2019
GeeksforGeeks - Summer Carnival Banner

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 losy 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.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :