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.
- Quantum Computing - pros and cons
- Monitoring cluster in Cassandra
- Sierpinski Triangle using Graphics
- Difference between SVG and JPEG
- Difference between LED and LCD
- Difference between Function and Procedure
- Cloud Deployment Model
- Basics of Input and Output in Windows PowerShell
- Difference between JPEG and GIF
- Difference between SVG file and PNG file
- Difference between PNG and GIF
- Difference between JPEG and PNG
- Random-Scan Display
- Raster-Scan Displays
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.