×

Image processing method, program, storage medium, and apparatus for executing a quantization process of image data by error diffusion

  • US 7,672,525 B2
  • Filed: 07/23/2004
  • Issued: 03/02/2010
  • Est. Priority Date: 07/30/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. An image processing method for executing a quantization process of image data by error diffusion, using a computer to perform steps comprising:

  • a step of calculating a diffusion error for a pixel of interest based on quantization errors, stored in a storing unit, of neighboring pixels of the pixel of interest;

    a step of generating first image data by adding the calculated diffusion error to input image data of the pixel of interest;

    a step of generating second image data by quantizing the first image data by comparing the first image data with a threshold value;

    a step of generating third image data by dequantizing the second image data;

    a quantization error calculation step of calculating a quantization error for each pixel on the basis of a difference between the first and third image data;

    a storage step of storing the calculated quantization error for a predetermined number of pixels in the storage unit;

    a counting step of counting a number of neighboring pixels of the pixel of interest having a quantization error with a predetermined sign based on sign bits of the calculated quantization error for neighboring pixels of the pixel of interest, wherein each sign bit indicates that the corresponding calculated quantization error is positive or negative; and

    a control step of controlling the threshold value of the pixel of interest according to a count result in said counting step.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×