EP0902398A2

System for compressing and decompressing binary representations of dithered images

Abstract

A method for compression and decompression of dithered images is disclosed. Logical units (tiles) of the binary representation are classified (205) into equivalence classes which are then compressed (206). Each equivalence class represents tiles having similar gray levels (i.e. the same number of black pixels), but which may have different sequences of black and white pixels. Each equivalence class has associated with it a predefined set of rendering exemplars. Each of the exemplars has a similar gray level. Upon decompression, each instance of an equivalence class takes on the value of one of the rendering exemplars which is selected pseudo-randomly. This effectively causes the image to be re-dithered so there is no loss of critical image information on decompression.

EP0902398A2, drawing sheet 1
Sheet 1 of 11

Term

Term ended

Projected expiry passed 7 September 2018, 8 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

3 claims: 3 independent, 0 dependent

  1. 1
    A method for processing a binary representation of a dithered image so that it may be compressed without losing essential information, said method comprising the steps of:a) defining a plurality of equivalence classes for tiles of multi-pixel binary data contained in said dithered image, wherein tiles are of a predetermined organization of binary data, each of said equivalence classes further having defined and associated therewith a plurality of rendering exemplars having the same gray level;b) identifying one equivalence class for each tile in said dithered image;c) encoding each of said equivalence classes into an alternating sequence of literal elements and copy elements, said literal elements containing equivalence class information for one or more consecutive tiles and said copy elements containing information for copying previously encoded equivalence class information.
  2. 2
    A method for decompressing a compressed binary representation of a dithered image, said dithered image organized into a plurality of tiles representing multiple pixels, said method comprising the steps of:a) decoding said compressed binary representation into a plurality of literal elements and copy elements;b) decoding each of said literal elements and copy elements into equivalence class identifiers, each equivalence class identifier corresponding to a tile of said dithered image;c) selecting an equivalence class exemplar from a rendering dictionary for each equivalence class identifier, said rendering dictionary comprised of a plurality of representative tile configurations for said class.
  3. 3
    A system for compression and decompression of dithered images, said system comprising:input means for receiving a dithered image;a processor for performing operations for compressing said dithered image and decompressing a compressed representation of said dithered image;storage means for storing tile equivalence class definitions, each of said tile equivalence class definitions for categorizing a plurality of tile configurations into a single class;said storage means further for storing data including operations for compressing said dithered image, said operations including: operations for creating a binary representation of said dithered image;operations for extracting tiles from said binary representation and determining the equivalence class for a tile;operations for compressing a predetermined collection of tiles based on their determined equivalence class creating an alternating sequence of literal elements and copy elements;said storage means further for storing equivalence class exemplars, each of said equivalence class exemplars comprising a plurality of representative tile configurations for said class, each of said tile configurations have the same gray level;said storage means further for storing data including operations for decompressing a compressed representation of a dithered image including: operations for decompressing sequences of literal and copy elements into instances of equivalence classes;operations for selecting one of said plurality of representative tile configurations for an instance of an equivalence class.