Mixed raster content
Mixed raster content (MRC) is a method for compressing images that contain both binary-compressible text and continuous-tone components, using image segmentation methods to improve the level of compression and the quality of the rendered image. By separating the image into components with different compressibility characteristics, the most efficient and accurate compression algorithm for each component can be applied.
MRC-compressed images are typically packaged into a hybrid file format such as DjVu and sometimes PDF. This allows for multiple images, and the instructions to properly render and reassemble them, to be stored within a single file.
Some image scanners optionally support MRC when scanning to PDF. A typical manual states that without MRC, the image is generated in a single process, with text and graphics not distinguished. With MRC, separate processes are used for text, graphics, and other elements, producing clearer graphics and sharper text, at the price of slightly slower processing. MRC is recommended to optimise the scanning of documents with harder-to-read text or lower-quality graphics. MRC can also reduce the size of the scanned file.
|Standard||ISO/IEC 16485:2000; ITU-T Recommendation T.44 (01/2005)|
A form of MRC is defined by international standard bodies as ISO/IEC 16485, or ITU recommendation T.44 (accessible free of charge). It defines a file format with bilevel masks and two data layers in each "stripe" of the image. The mask can be encoded in ITU T.4, JBIG1, or JBIG2, while the images can be JPEG, JBIG1, or run-length encoded color. The format is loosely based on JPEG, with a APP13 segment registered for this purpose.
It is not known whether this file format is actually used, as formats like DjVu and PDF have their own ways of defining layers and masks.
- Binary image
- Image segmentation § Compression-based methods
- Joint Photographic Experts Group (JPEG)
- Group 4 compression (MMR; T.6)
- JPEG 2000 Compound image file format (JPM; T.805)
- ^ de Queiroz, Ricardo; Buckley, Robert; Xu, Ming (28 December 1998). Mixed Raster Content (MRC) Model for Compound Image Compression (PDF). Visual Communications and Image Processing '99. ISBN 9780819431240. Retrieved 2012-08-03.
- ^ a b "The MRC (Mixed Raster Content) Model and DjVu". PlanetDjVu. 10 June 2003.
- ^ "Text Formats". Visioneer OneTouch Scanning Guide (PDF). October 2019. p. 33.
- ^ "Image Compression". Kofax. Retrieved 11 March 2021.
- Mixed Raster Content (MRC) - Programme of Work Allocated to ISO/IEC JTC 1/SC 29/WG