EP0808055B1

Enhanced error-diffusion method for color or black-and-white reproduction

Abstract

This record has no abstract on file.

EP0808055B1, drawing sheet 1
Sheet 1 of 42

Term

Term ended

Expired 12 May 2017, 9.4 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

22 claims: 4 independent, 18 dependent

  1. 1
    A method for generating a threshold mask, the threshold mask being usable by an error diffusion halftoning process which generates halftone images by comparing gray-level pixel values against thresholds in the threshold mask, the method being characterised by comprising the steps of:defining a first gray-level patch having a constant gray level, calculated as one of the following: 1/e, 1/π and 1/φ, wherein e is the exponential constant, π is the ratio of the circumference of a circle to its diameter, and φ is the golden ratio (S1302);error-diffusing the first gray level patch against a constant threshold, so as to obtain a first intermediate threshold mask (S1303);defining a second gray-level patch having a constant gray level, calculated as 1/φ 3 (S1307);error diffusing the second gray-level patch against thresholds in the first intermediate threshold mask, so as to obtain a second intermediate threshold mask (S1308);and combining the first and second intermediate threshold masks so as to generate the threshold mask (S1309), wherein the gray levels have intensity values within the range of 0 and 1.
  2. 6
    A method according to any of claims 1 to 5, further comprising the step of incorporating the obtained threshold mask in a product for implementing an error diffusion halftoning process, so as to cause different thresholds for different pixels of an original gray-level image be used in said process.
  3. 7
    A method according to Claim 6, wherein said product includes a computer program for implementing said halftoning process.
  4. 8
    An error diffusion halftoning process for obtaining binary values for each pixel of a halftone image based on gray-level values of corresponding pixels in an original image, comprising the steps of:selecting a threshold from a threshold mask based on the location of a target pixel in the original image (S1102);comparing the gray value of the target pixel with the selected threshold value (S1103);outputting a binary 1 or 0 for a pixel in the halftone image that corresponds to the target pixel, the binary 1 or 0 being output based on said comparing step (S1104, S1105);determining the error between the binary 1 or 0 output in said outputting step and the gray level of the target pixel (S1106);and distributing the error to pixels adjacent the target pixel (S1108) ;wherein thresholds in said threshold mask are well-dispersed within the threshold mask and have a limited predetermined number of values, and wherein the gray levels have intensity values within the range of 0 and 1, characterized in that the threshold mask is formed by the following steps: defining a first gray-level patch having a constant gray level, calculated as one of the following: 1/e, 1/π and 1/φ, wherein e is the exponential constant, π is the ratio of the circumference of a circle to its diameter, and φ is the golden ratio (S1302);error-diffusing the first gray level patch against a constant threshold, so as to obtain a first intermediate threshold mask (S1303);defining a second gray-level patch having a constant gray level, calculated as 1/φ 3 (S1307);error diffusing the second gray-level patch against thresholds in the first intermediate threshold mask, so as to obtain a second intermediate threshold mask (S1308);and combining the first and second intermediate threshold masks so as to generate the threshold mask (S1309).
  5. 17
    A computer program comprising processor implementable instructions for performing a method according to any one of claims 1 to 5 or a process according to any one of claims 8 to 16.
  6. 18
    An image processing apparatus for obtaining binary values for each pixel of a halftone image based on gray-level values of corresponding pixels in an original image, comprising:means for selecting a threshold from a threshold mask based on the location of a target pixel in the original image;means for comparing the gray value of the target pixel with the selected threshold value;means for outputting a binary 1 or 0 for a pixel in the halftone image that corresponds to the target pixel, the binary 1 or 0 being output based on said comparison;means for determining the error between the binary 1 or 0 output in said outputting step and the gray level of the target pixel;and means for distributing the error to pixels adjacent the target pixel (S1108);wherein thresholds in said threshold mask are well-dispersed within the threshold mask and have a limited predetermined number of values, and wherein the gray levels have intensity values within the range of 0 and 1, characterized by further comprising means for forming the threshold mask comprising: means for defining a first gray-level patch having a constant gray level, calculated as one of the following: 1/e, 1/π and 1/φ, wherein e is the exponential constant, π is the ratio of the circumference of a circle to its diameter, and φ is the golden ratio (S1302);means for error-diffusing the first gray level patch against a constant threshold, so as to obtain a first intermediate threshold mask (S1303);means for defining a second gray-level patch having a constant gray level, calculated as 1/φ 3 (S1307);means for error diffusing the second gray-level patch against thresholds in the first intermediate threshold mask, so as to obtain a second intermediate threshold mask (S1308);and means for combining the first and second intermediate threshold masks so as to generate the threshold mask (S1309).