Method for processing FM-AM mixed halftone images on a multi-bit depth imaging apparatus
First Claim
1. A method for processing FM-AM mixed halftone images on a multi-bit depth imaging apparatus, comprising:
- 1) dividing averagely an interval [0, 255] into 2n+1 gradations in light of a bit depth n of the apparatus;
[0, R1], (R1,R2], . . . , (Ri-1, Ri], . . . (R2-2n, 255], whereini is a positive integer and less than 2n−
2, corresponding ranges of a dot-matrix of bit-outputting are(0,Out1), (Out1,Out2), . . . , (Outi-1,Outi), . . . (Out2-2n,11 . . .
1),the Outi being a binary representation of the n-bit depth, anda threshold Mi of a central point of each of the gradations is sampled as a threshold comparison parameter for the gradation;
2) setting output probability thresholds with a n-bit imaging depth in the interval [0, 255];
3) processing respectively the dots in the 2n−
1 gradations (Ri-1, Ri) based on an FM-AM mixed screening process using a dual-feedback error diffusion; and
4) computing dynamically output dot-matrix data, by using a dynamic gradation-changeable output mechanism with adjacent output gray levels in light of the probability thresholds Fi and an accumulated value ShapeCur for controlling the shape of a current dot, when mixed screening in the gradations (Ri-1, Ri) is achieved.
2 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is a method for processing FM-AM mixed halftone images on a multi-bit depth imaging apparatus, which relates to a method for producing halftone dots in the field of image hard copying. In the prior art, since it is hard to avoid the impact of the error diffusion for the output apparatus to control the mixed dots with multi-bit imaging depth based on the error diffusion, the output of the mixed dots with multi-bit imaging depth cannot satisfy requirements of the apparatus. According to the method of the present invention, the dynamic algorithm for controlling the multi-bit mixed dots is used for screening based on the existing mixed screening process using dual-feedback error diffusion. Furthermore, multi-bit halftone images with high quality and rich gradations can be output by the multi-bit depth imaging apparatus. The method of the present invention can solve the phenomenon of sawtooth in the margins of the mixed dots output by the conventional single-bit apparatus and obtain the FM-AM mixed dots with the effect of high resolution and continuous gradations, which are output under low resolution.
-
Citations
11 Claims
-
1. A method for processing FM-AM mixed halftone images on a multi-bit depth imaging apparatus, comprising:
-
1) dividing averagely an interval [0, 255] into 2n+1 gradations in light of a bit depth n of the apparatus; [0, R1], (R1,R2], . . . , (Ri-1, Ri], . . . (R2-2n, 255], wherein i is a positive integer and less than 2n−
2, corresponding ranges of a dot-matrix of bit-outputting are(0,Out1), (Out1,Out2), . . . , (Outi-1,Outi), . . . (Out2-2n,11 . . .
1),the Outi being a binary representation of the n-bit depth, and a threshold Mi of a central point of each of the gradations is sampled as a threshold comparison parameter for the gradation; 2) setting output probability thresholds with a n-bit imaging depth in the interval [0, 255]; 3) processing respectively the dots in the 2n−
1 gradations (Ri-1, Ri) based on an FM-AM mixed screening process using a dual-feedback error diffusion; and4) computing dynamically output dot-matrix data, by using a dynamic gradation-changeable output mechanism with adjacent output gray levels in light of the probability thresholds Fi and an accumulated value ShapeCur for controlling the shape of a current dot, when mixed screening in the gradations (Ri-1, Ri) is achieved. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
adjusting the probability thresholds based on requirements of the apparatus.
-
-
3. The method of claim 1, wherein the step 3) further comprises:
-
(a) carrying out an operation T of threshold comparison on a final input value g″
(m, t) of a current pixel of an original image, and then converting a result of the operation to a corresponding value b(m, t) of the current pixel for a halftone image;(b) comparing the value b(m, t) of the current pixel with an input value g′
(m, t) of the current pixel to obtain a difference between b(m, t) and g′
(m, t), wherein the difference is an error value e(m, t), and the input value g′
(m, t) is used for the operation T of threshold comparison;(c) multiplying the error value e(m, t) by preset weight distribution coefficients through an error diffusion filter e and then diffusing results of the multiplying to unprocessed pixels around the current pixel, wherein each of the diffused results to the unprocessed pixels around the current pixel is weightedly added to an original input value g(m, t) of the corresponding pixel of the original image to obtain an input value g′
(m, t) of the corresponding pixel of the original image;(d) diffusing processed results to corresponding unprocessed pixels surrounding the current pixel, respectively, and weightedly adding each of the diffused processed results to the original input value g(m, t) of the corresponding pixel of the original image to obtain the final input value g″
(m, t) of the corresponding pixel, wherein the processed results are obtained by implementing a multiplying operation on the output value b(m, t) of the current pixel using a diffusion filter w which has been processed with a dithering algorithm, and the step (d) is implemented in parallel with the steps (b) and (c); and(e) repeating the steps (a)-(d) until the original input values g(m, t) of all pixels are processed.
-
-
4. The method of claim 3, wherein the step (a) uses a process of bidirectional scanning when the original image is scanned, wherein, when a certain row is scanned from left to right, a next row is subsequently scanned from right to left.
-
5. The method of claim 4, wherein the error diffusion filter e uses a diffusion principle and a weight distribution mode as below:
-
6. The method of claim 5, wherein a diffusion mode of the diffusion filter w is set as:
-
7. The method of claim 6, wherein the dithering algorithm for the diffusion filter w in the step (d) are as below:
-
fRand=(R(m,t)/R_MAX−
0.5)×
cDither
dw0=w0−
fRand
dw2=w2+fRand
dw1=w1+fRand
dw3=w3−
fRandwherein, fRand is a parameter for fine adjusting dithering;
R(m, t) is a parameter with random value for the current dot;
being scanned;
R_MAX is a maximum of a random parameter R(i);
cDither is a parameter for adjusting amplitude of dithering; and
dw0˜
dw3 are the diffusion weight coefficients of the diffusion filter w in different directions after dithering.
-
-
8. The method of claim 1, wherein the dynamic gradation-changeable output mechanism in the step 4) comprises:
-
generating a pseudo-random value of the current dot in light of ShapeCurr;
Fi=random(ShapeCur)
Formula 1wherein, the pseudo-random function random is to be generated automatically in a compiling environment, Fiε
[0, 255]; andthe output dot-matrix data are computed dynamically;
-
-
9. The method of claim 2, wherein the dynamic gradation-changeable output mechanism in the step 4) comprises:
-
generating a pseudo-random value of the current dot in light of ShapeCur;
Fi=random(ShapeCur)
Formula 1wherein, the pseudo-random function random is to be generated automatically in a compiling environment, Fiε
[0, 255]; andthe output dot-matrix data are computed dynamically;
-
-
10. The method of claim 3, wherein the dynamic gradation-changeable output mechanism in the step 4) comprises:
-
generating a pseudo-random value of the current dot in light of ShapeCur;
Fi=random(ShapeCur)
Formula 1wherein, the pseudo-random function random is to be generated automatically in a compiling environment, Fiε
[0, 255]; andthe output dot-matrix data are computed dynamically;
-
-
11. The method of claim 7, wherein the dynamic gradation-changeable output mechanism in the step 4) comprises:
-
generating a pseudo-random value of the current dot in light of ShapeCur;
Fi=random(ShapeCur)
Formula 1wherein, the pseudo-random function random is to be generated automatically in a compiling environment, Fiε
[0, 255]; andthe output dot-matrix data are computed dynamically;
-
Specification