Image processing apparatus and method thereof for decreasing the tonal number of an image
First Claim
1. An image processing apparatus comprising:
- an input section, configured to input image data of a pixel of interest;
an adder, configured to add diffusion data diffused from errors occurred by decrease of a tonal number of image data to the image data of the pixel of interest;
a converter, configured to decrease the tonal number of the image data of the pixel of interest, to which the diffusion data has been added, using an error diffusion method or minimized average error method; and
a diffuser, configured to diffuse an error occurred in the decrease of the tonal number for the pixel of interest to pixels close to the pixel of interest,wherein the apparatus further comprising;
a calculator, configured to integrate, per a pixel, the errors occurred by the decrease of the tonal number of the image data in a predetermined image region as a total amount of the errors, wherein the predetermined image region is larger than an area including the pixels to which the error is diffused by the diffuser; and
a threshold setting section, configured to set a threshold value used in the error diffusion method or minimized average error method based on the image data of the pixel of interest and the total amount so that the threshold value becomes small when the total amount becomes large, and the threshold value becomes large when the total amount becomes small.
1 Assignment
0 Petitions
Accused Products
Abstract
Image data of a pixel of interest is inputted, diffusion data diffused from errors occurred by decrease of a tonal number of image data is added to the image data of the pixel of interest, the tonal number of the image data of the pixel of interest, to which the diffusion data has been added, is decreased using an error diffusion method or minimized average error method, and an error occurred in the decrease of the tonal number for the pixel of interest is diffused to pixels close to the pixel of interest. Further, the errors occurred by the decrease of the tonal number of the image data in a predetermined image region are integrated as an integrated error, and a threshold value used in the error diffusion method or minimized average error method is set based on the image data of the pixel of interest and the integrated error.
-
Citations
14 Claims
-
1. An image processing apparatus comprising:
-
an input section, configured to input image data of a pixel of interest; an adder, configured to add diffusion data diffused from errors occurred by decrease of a tonal number of image data to the image data of the pixel of interest; a converter, configured to decrease the tonal number of the image data of the pixel of interest, to which the diffusion data has been added, using an error diffusion method or minimized average error method; and a diffuser, configured to diffuse an error occurred in the decrease of the tonal number for the pixel of interest to pixels close to the pixel of interest, wherein the apparatus further comprising; a calculator, configured to integrate, per a pixel, the errors occurred by the decrease of the tonal number of the image data in a predetermined image region as a total amount of the errors, wherein the predetermined image region is larger than an area including the pixels to which the error is diffused by the diffuser; and a threshold setting section, configured to set a threshold value used in the error diffusion method or minimized average error method based on the image data of the pixel of interest and the total amount so that the threshold value becomes small when the total amount becomes large, and the threshold value becomes large when the total amount becomes small. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14)
-
-
10. An image processing method comprising the steps of:
-
inputting image data of a pixel of interest; adding diffusion data diffused from errors occurred by decrease of a tonal number of image data to the image data of the pixel of interest; decreasing the tonal number of the image data of the pixel of interest, to which the diffusion data has been added, using an error diffusion method or minimized average error method; and diffusing an error occurred in the decrease of the tonal number for the pixel of interest to pixels close to the pixel of interest, wherein the method further comprising the steps of; integrating, per a pixel, the errors occurred by the decrease of the tonal number of the image data in a predetermined image region as a total amount of the errors, wherein the predetermined image region is larger than an area including the pixels to which the error is diffused in the diffusing step; and setting a threshold value used in the error diffusion method or minimized average error method based on the image data of the pixel of interest and the total amount so that the threshold value becomes small when the total amount becomes large, and the threshold value becomes large when the total amount becomes small.
-
-
11. A non-transitory computer-readable medium storing a computer-executable program for causing a computer to perform an image processing method, the method comprising the steps of:
-
inputting image data of a pixel of interest; adding diffusion data diffused from errors occurred by decrease of a tonal number of image data to the image data of the pixel of interest; decreasing the tonal number of the image data of the pixel of interest, to which the diffusion data has been added, using an error diffusion method or minimized average error method; and diffusing an error occurred in the decrease of the tonal number for the pixel of interest to pixels close to the pixel of interest, wherein the method further comprising the steps of; integrating, per a pixel, the errors occurred by the decrease of the tonal number of the image data in a predetermined image region as a total amount of the errors, wherein the predetermined image region is larger than an area including the pixels to which the error is diffused in the diffusing step; and setting a threshold value used in the error diffusion method or minimized average error method based on the image data of the pixel of interest and the total amount so that the threshold value becomes small when the total amount becomes large, and the threshold value becomes large when the total amount becomes small.
-
Specification