Apparatus and method for quantizing image data
First Claim
1. An image processing apparatus for quantizing image data, comprising:
- a corrector, configured to add a value of a diffusing error for a pixel of interest to input image data of the pixel of interest, wherein the value of the diffusing error is calculated from error data which are occurred in quantization of pixels adjacent to the pixel of interest;
a quantization section, configured to quantize the image data, to which the value of the diffusing error is added, using a quantization threshold value;
a calculator, configured to calculate error data of the pixel of interest from the result of the quantization and the image data to which the value of the diffusing error is added;
a detector, configured to detect pixels which are adjacent to the pixel of interest and have quantization results corresponding to the input image data of the pixel of interest; and
a setting section, configured to calculate information between pixels based on differences between input image data and quantization results of adjacent pixels which fall within ranges corresponding to the detected adjacent pixels, and to set the quantization threshold value for the pixel of interest based on the information between pixels.
1 Assignment
0 Petitions
Accused Products
Abstract
The value of a diffusing error for an interest pixel is added to image data of the interest pixel, and is calculated from error data occurred in quantization of pixels adjacent to the interest pixel. The image data, to which the value of the diffusing error is added, is quantized using a quantization threshold. Error data of the interest pixel is calculated from the result of the quantization and the image data to which the value of the diffusing error is added. Pixels which are adjacent to the interest pixel and have quantization results corresponding to the image data of the interest pixel are detected, and information between pixels is calculated based on differences between the image data and quantization results of adjacent pixels which fall within ranges corresponding to the detected adjacent pixels. The quantization threshold for the interest pixel is set based on the information between pixels.
-
Citations
6 Claims
-
1. An image processing apparatus for quantizing image data, comprising:
-
a corrector, configured to add a value of a diffusing error for a pixel of interest to input image data of the pixel of interest, wherein the value of the diffusing error is calculated from error data which are occurred in quantization of pixels adjacent to the pixel of interest; a quantization section, configured to quantize the image data, to which the value of the diffusing error is added, using a quantization threshold value; a calculator, configured to calculate error data of the pixel of interest from the result of the quantization and the image data to which the value of the diffusing error is added; a detector, configured to detect pixels which are adjacent to the pixel of interest and have quantization results corresponding to the input image data of the pixel of interest; and a setting section, configured to calculate information between pixels based on differences between input image data and quantization results of adjacent pixels which fall within ranges corresponding to the detected adjacent pixels, and to set the quantization threshold value for the pixel of interest based on the information between pixels. - View Dependent Claims (2, 3, 4)
-
-
5. A method of quantizing image data, comprising:
-
using a processor to perform the steps of; adding a value of a diffusing error for a pixel of interest to input image data of the pixel of interest, wherein the value of the diffusing error is calculated from error data which are occurred in quantization of pixels adjacent to the pixel of interest; quantizing the image data, to which the value of the diffusing error is added, using a quantization threshold value; calculating error data of the pixel of interest from the result of the quantization and the image data to which the value of the diffusing error is added; detecting pixels which are adjacent to the pixel of interest and have quantization results corresponding to the input image data of the pixel of interest; calculating information between pixels based on differences between input image data and quantization results of adjacent pixels which fall within ranges corresponding to the detected adjacent pixels; and setting the quantization threshold value for the pixel of interest based on the information between pixels.
-
-
6. A not-transitory computer readable medium storing a program for causing a computer to perform a method of quantizing image data, the method comprising the steps of:
-
adding a value of a diffusing error for a pixel of interest to input image data of the pixel of interest, wherein the value of the diffusing error is calculated from error data which are occurred in quantization of pixels adjacent to the pixel of interest; quantizing the image data, to which the value of the diffusing error is added, using a quantization threshold value; calculating error data of the pixel of interest from the result of the quantization and the image data to which the value of the diffusing error is added; detecting pixels which are adjacent to the pixel of interest and have quantization results corresponding to the input image data of the pixel of interest; calculating information between pixels based on differences between input image data and quantization results of adjacent pixels which fall within ranges corresponding to the detected adjacent pixels; and setting the quantization threshold value for the pixel of interest based on the information between pixels.
-
Specification