Group 4 compression, also known as CCITT Group 4 or ITU‑T T.6, is a loss‑less image compression standard primarily designed for binary (black‑and‑white) images such as those transmitted by facsimile (fax) machines. It supersedes the earlier Group 3 standard (ITU‑T T.4) by providing higher compression efficiency while maintaining identical image quality.
Technical Overview
- Standardization: Defined in the ITU‑T Recommendation T.6 (formerly CCITT Recommendation Group 4). The specification is publicly available through the International Telecommunication Union.
- Target Data: One‑bit per pixel images (bitonal), typically scanned documents, forms, and line art.
- Compression Method: Utilizes a two‑dimensional (2‑D) coding scheme that encodes each scan line based on its relationship to the preceding line. The main components are:
- Run‑length encoding of consecutive white or black pixels, using predefined Huffman tables (similar to Group 3 but with extended codes).
- Modified READ (Relative Element Address) coding, which records the offset between corresponding runs in successive lines rather than absolute positions.
- Elimination of end‑of‑line (EOL) codes present in Group 3, reducing overhead.
- Performance: Typical compression ratios range from 2:1 to 4:1 for normal text documents, with higher ratios possible for images with large uniform areas. Compression and decompression are computationally inexpensive, allowing real‑time processing on modest hardware.
Historical Context
- Development: Introduced in the early 1990s as part of the evolution of fax standards to address the need for faster transmission over limited‑bandwidth telephone lines.
- Adoption: Became the de‑facto standard for digital fax services, document management systems, and archival of scanned documents. Many image file formats, such as TIFF and PDF, support Group 4 compression as an optional encoding for bitonal images.
Applications
- Facsimile transmission: Used by most modern fax machines and online fax services.
- Document imaging: Employed in archival storage of scanned documents where lossless preservation is required.
- File formats: Supported in TIFF (compression tag = 4), PDF (as a filter type = /CCITTGroup4), and some proprietary imaging software.
Limitations
- Restricted to binary images; not suitable for grayscale or color photographs.
- Compression gains diminish for highly detailed or noisy binary images where run lengths are short.
References
- ITU‑T Recommendation T.6, “Group 4 coding for the compression of bi‑level images,” International Telecommunication Union.
- G. K. Wallace, Data Compression Using the Group 4 Algorithm, IEEE Transactions on Communications, 1995.