Image forming apparatus capable of producing a pseudo half-tone image by using dither patterns

Abstract: The present invention is intended to provide an image forming apparatus capable of representing a plurality of gradations by using halftone patterns without increasing the pixels in the matrix. The halftone patterns are stored in the storage circuit (14a). The halftone patterns have different numbers of ON bits corresponding to black pixels, and remaining halftone patterns have the same number of ON bits which form different patterns. The halftone patterns stored in the storage circuit (14a) are matrix patterns which have gradation values determined in accordance with variations of gray levels which are caused by effects derived from adjacent pixels. Therefore, the gradation values of the halftone patterns are determined according to the position of ON bits regardless of the same number of ON bits. The halftone conversion circuit (12) converts multi-level image data to binary image data represented by the halftone patterns. The image forming device (2) forms an image according to the binary image data and reproduces the gradations of the halftone patterns.

Description: The present invention relates to an image forming apparatus for forming a half-tone image represented in a multidensity level on an image forming medium and, more particularly to the image forming apparatus which can produce a pseudo half-tone image by using dither patterns. A dither method has been used as one of area gradation methods for expressing continuous gray level images only with binary data of white and black. This area gradation method has been developed as to how smooth gradation can be represented and an original image can be faithfully reproduced without deteriorating the resolution. The dither matrix proposed by B. E. Bayer (discussed in Modification of a picture signal for FAX and OA", page 20 to 21, Japanese document published by Nikkan koggo shimbünsya, 20.10.1982) refers to the base for half-tone expression. Black pixels and white pixels of the Bayer's dither matrix are arranged so that a spatial frequency remains highest and deterioration of the resolution can be prevented. Specifically, an average gray level of the dither pattern is gradually increased as shown in Fig. 1B by filling pixels with black in the sequence of numbers of pixels as shown in Fig. 1A. By doing so, the gray level can theoretically be represented in 17 steps as shown in Fig. 2. However, if the area gradation presentation with this Bayer's matrix is applied to an electrophotographic image forming apparatus, it is known that the theoretical result as shown in Fig. 2 cannot be obtained and an average gray level is not proportional to the number of black dots as shown with a curve (a) in Fig. 3, and thus a reversal of the gray level will be caused. To eliminate the disadvantage of Bayer's matrix, a centralized dither matrix is used in place of the Bayan's matrix. According to the centralized dither matrix, black pixels are arranged from the center of the matrix toward the periphery of the matrix. The centralized dither matrix contributes to improvement of the stability of the gradation characteristic as shown with a curve (b) in Fig. 3. This method has been actually used in many printing machines. On the other hand, an error diffusion method has been actually used as another half-tone presentation method. It compensates discrete errors which are caused when a continuous gray level gradation is discretely distributed. This error diffusion method diffuses errors caused upon discrete distribution to adjacent matrices while weighting the gray scale and has achieved appreciable results in practical use. In the above dither method, the number of pixels in the matrix should be large to increase the number of gradations, however, this causes deterioration of the resolution of the whole image which can be represented. When the number of pixels in the matrix decreases to actually raise the resolution, the number of gradations which can be represented is decreased. Thus, increasing the number of gradations and the resolution have been considered incompatible. The error diffusion method is disadvantageous in that basically an effect of a matrix in which discrete errors occur propagates to adjacent matrices and consequently the resolution is deteriorated. In addition, it is also disadvantageous in that complex calculation is required in processing, and high speed processing cannot therefore be carried out. US-A-4,593,297 discloses a halftone image recording system for an electrophotographic apparatus which records a halftone image of input image data using black dots and white dots. Various different densities are rendered by various different gradation density patterns each of which is determined by a number of black dots or that of white dots in a two-dimensional dot matrix and a direction of arrangement of the black or white dots. US-A-4,084,259 relates to an apparatus for dot matrix recording. A dot matrix recording system records a wide range of gray levels without compromising recording resolution. Resolution is maintained by using a relatively small dot matrix, preferably a 2 by 2 matrix, for representation of the graphic information at a point within an image being reproduced. When adjacent points within the image have the same optical density, then the matrix representation thereof is altered from point to point so as to produce a matrix of effectively increased size. The larger matrix or matrix group may comprise 4 of the 2 by 2 matrices positioned in a square arrangement. Thus, when two horizontally adjacent points within an image have the same optical density and are situated immediately above two other points having the same optical density, then the four-point area is represented by a matrix group comprising a total of 16 matrix cells arranged in a 4 by 4 pattern. An object of the present invention is to eliminate the disadvantages of the prior art and to provide an image forming apparatus capable of particularly increasing the number of gradations which can be represented by the area gradation method without deterioration of the resolution, and to provide an image forming apparatus which can reproduce the gray scale of half-tone images in high precision. The object is achieved by the features of the claims. The dither patterns stored in the storage circuit have different gradation values which denote the grey levels added by variations of the gray level due to the effect of adjacent pixels which is caused during the image forming operation. Therefore, a plurality of gradations can be reproduced in spite of the same number of ON bits, and thus the number of gradations can be remarkably increased. Particularly, if the image forming device is an electrophotographic printer, the dither patterns to be reproduced on a printing medium (photoconductor drum) have gradation values which are varied due to the effect of adjacent pixels. The effect depends on the relationship between the spot diameter of a laser beam to which a photoconductor drum is exposed and the size of one pixel to be exposed. The image forming apparatus of the present invention further includes a control circuit for calculating the gradation values of the dither patterns. The control circuit stores the value of each pixel of a conversion matrix. The conversion matrix is determined in view of the effect from adjacent pixels. Moreover, the control circuit calculates a square of a product of a value of each element of a conversion matrix and a value of each pixel of the dither pattern, and then, calculates an average of the square values. Accordingly, the gray level based on the gradation value of the multi-level image data well agrees with the gray level represented by the corresponding dither pattern. Fig. 1A is a diagram showing an example of a conventional dither matrix; Fig. 1B is a diagram showing conventional dither patterns produced by using the conventional dither matrix of Fig. 1A; Fig. 2 is a graph showing a theoretical gray level gradation; Fig. 3 shows graphs of gray level gradations based on conventional dither methods; Fig. 4 is a block diagram of an image forming apparatus according to an embodiment of the present invention; Fig. 5 is a block diagram showing contents of a lookup table of the image forming apparatus shown in Fig. 4; Fig. 6 is a schematic diagram showing an arrangement of an image forming unit of the printing apparatus shown in Fig. 4; Fig. 7 is a circuit diagram showing an image conversion circuit of the image forming apparatus shown in Fig. 4; Fig. 8 is a diagram showing a conversion matrix to be stored in the image conversion circuit shown in Fig. 7; Fig. 9 is a diagram showing an example of the conversion matrix shown in Fig. 8; Fig. 10 is a diagram illustrating gray level enhancement which arises between adjacent pixels; Figs. 11A, 11B, and 11C are respectively a diagram for depicting a threshold calculation method according to the image conversion circuit shown in Fig. 7; Fig. 12 is a flowchart of a control program for converting the dither image by the image conversion circuit; Fig. 13 is a graph showing the gray level gradation in the embodiments according to the present invention; and Fig. 14 is a graph showing a conventional gray level gradation for ten density levels. An image forming apparatus in the embodiment of the present invention shown in Fig. 4 has a dither converter 1 for converting multi-level image data represented in multi-density levels to binary image data represented by dither patterns, and an electrophotographic image forming unit 2 for forming images according to the binary image data on an image forming medium, such as a photocondutor drum. The multi-level image data supplied to the dither converter 1 have multi-level values between 0 to 1. They are obtained by a CCD which scans an original document and a circuit for converting the data values of the multi-level image data to the values between 0 to 1, or obtained by a computer. The dither converter 1 includes a multi-level image memory 11 for storing the multi-level image data, an image conversion circuit 12 for converting the multi-level image data stored in the multi-level image memory 11 to the binary image data by using the dither patterns stored in a lookup table (memory)14, and a binary image memory 13 for storing the binary image data supplied from the image conversion circuit 12. A RAM (Random Access Memory) is employed in the multi-level image memory 11 and the binary image memory 13. Moreover, the image conversion circuit 12 has a microcomputer and a ROM storing a microprogram. The image conversion circuit 12 and the binary image memory 13 correspond to dither conversion means. The image conversion circuit 12 is connected with the lookup table 14 which is referred to in dither conversion of the multi-level image data. As shown in Fig. 5, the lookup table 14 is provided with a dither pattern table 14a for storing a plurality of dither patterns 140 and a threshold table 14b for storing a threshold which corresponds to a gray level value of each dither pattern 140 stored in the dither pattern table 14a. The dither patterns 140 stored include a plurality of dither patterns having the same number of ON bits (number of black pixels "1") which are different patterns. The image conversion circuit 12 selects the binary image data of the dither patterns from the lookup table 14 corresponding to the multi-level image data, and stores the binary image data in the binary image memory 13. In Fig. 6, the electrophotographic image forming unit 2 forms an image on the image forming medium according to the binary image data stored in the binary image memory 13 and then prints the image to a printing paper. It is provided with a photoconductor drum 200 as the image forming medium, an exposure unit having a laser scan unit 203 for forming a static latent image on an external periphery of the photoconductor drum 200, a developer 204 for developing a toner image on the photoconductor drum 200 according to the static latent image, a transfer unit 205 for transferring the toner image to the printing paper, and a fixing unit 206 for fixing the toner image. The following depicts a relationship between the dither pattern table 14a and the threshold table 14b. In Fig. 5, the dither pattern table 14a contains dither patterns of 20 types of 3 x 3 matrices which are set in view of the gray level enhancement which arises between adjacent pixels. The threshold table 14b stores a plurality of thresholds S for selecting one of the dither patterns 140 which most appropriately reproduces a gray level close on the gradation value of the multi-level image data from the multi-level image memory 11. The maximum value of the thresholds S is 1 and the minimum value is 0. Since the multi-level image data also have data values between 0 and 1, there is the threshold which is close to the gradation value of the multi-level image data. The image conversion circuit 12 selects the dither pattern which corresponds to the threshold close to the gradation value of the multi-level image data supplied from the multi-level image memory 11. Fig. 7 is a circuit diagram showing the internal circuit of the image conversion circuit 12. The image conversion circuit 12 has a conversion matrix memory 121, RAM 122, ROM 123, and ROM 124 and they are connected to the lookup table 14 through a bus 125. The image conversion circuit 12 functions to calculate automatically the thresholds S to be stored in the threshold table 14b. In calculation of the thresholds, the CPU 120 of the image conversion circuit 12 executes the control according to a threshold calculation program stored in the ROM 123. The calculation procedures of thresholds S is as follows: I) A conversion matrix A mn which represents a degree of effect of adjacent pixels shown in Fig. 8 is stored in advance in the conversion matrix memory 121. The conversion matrix is set to be 3 lines x 3 rows. An element A 11 at the center of the matrix corresponds to one pixel D1 (a pixel tb be affected by an adjacent pixel D2) shown in Fig. 10 and is given a gray level value under a condition that the pixel D1 is not affected by an adjacent pixel D2. Other elements around the element A 11 are given gray level values which are respectively added by the gray level due to the effect of adjacent pixels corresponding to respective elements. For example, the gray level value of element A10 increases when a left adjacent element is black and A12 increases when a right adjacent element is black. Similarly, the gray level values are respectively given to elements A 01 , A 02 , A 12 , A 20 , A 21 and A 22 . Those values to be set for elements A 00 , A 01 , A 10 , A 02 , A 12 , A 20 , A 21 and A 22 are referred to as adjacent effect coefficients for convenience. These values are determined so that the theoretical gray level values are relatively approximate to the gray level values measured in an experiment. Fig. 9 shows practical preset values. Optimum values of the adjacent effect coefficients differ with the characteristics of the electrophotography image forming unit 2 and particularly depend on a relationship between a spot diameter of the laser beam 202 shown in Fig. 6 to which the photoconductor drum 200 is exposed and a size of one pixel to be exposed by the laser beam. In Fig. 9, the adjacent effect coefficient "0.1" is obtained when the half-amplitude level of the laser beam is almost equivalent to one pixel. Since the effect of a slant adjacent element is little, a value 0.0 is given. II) The CPU 120 activates a threshold calculating function for calculating the appropriate thresholds S to be stored in the threshold table 14b. First, the dither pattern shown in, for example, Fig. 11A is selected from the dither pattern memory 14a. Then, the CPU 120 generates a matrix which is periodically arrayed as shown in Fig. 11B with the dither pattern B i,j and the matrix is stored in the RAM 122.Second, the CPU 120 carries out the calculation for calculating gradation values of the pixels which form the dither pattern B i,j shown at the center of Fig. 11B. The calculation is performed by using the conversion matrix Amn stored in the conversion matrix memory 121. If the gradation value at a center position (i, j) of the dither pattern B i,j is represented by T i,j , it is obtained by the following calculation. T i,j = (A 00 xB i-1,j-1 + A 01 xB i-1,j + A 02 xB i-1,j+1 + A 10 xB i,j-1 + A 11 xB i,j + A 12 xB i,j+1 + A 20 xB i+1,j-1 + A 21 xB i+1,j + A 22 xB i+1,j+1 ) 2 In this way, the other gradation values T i-1,j-1 to T i+1,j+1 at positions (i-1,j-1) to (i+1,j+1) in the dither pattern B i,j are calculated. Fig. 11C shows a matrix representing the gray levels of the respective pixels obtained by the above calculation. The calculated matrix T mn of Fig. 11C is stored in the RAM 122. III) Subsequently, the CPU 120 calculates an average value of respective elements of the matrix T mn . (0.00 + 0.01 + 0.00 + 0.01 + 0.36 + 0.01 + 0.00 + 0.01 + 0.00)/(3x3) = 0.044 This value represents the gradation value corresponding to the dither pattern Bi,j shown in Fig. 11A, and is stored to the threshold table 14b as the threshold S. The thresholds of the others dither patterns are calculated by similarly carrying out the calculations. Results of threshold calculation are stored in the threshold table 14b in the order of smaller values. Since the thresholds are calculated as described above, the gradation values of the dither patterns are accurately and automatically calculated. Fig. 12 is a flowchart showing the operation of dither image conversion in the image conversion circuit 12 shown in Fig. 12. In Figs. 7 and 12, a control program for the dither image conversion is stored in the ROM 124. First, the CPU 120 reads the multi-level image data from the multi-level image memory 11 (Fig. 4) in the dither image conversion mode (step T1). Subsequently, the CPU 120 determines the range of thresholds where a gradation value K of the multi-level image data exists (step T2). For example, if the gradation value K is 0.05, the CPU 120 refers to the threshold table 14b shown in Fig. 5 and determines that 0.044 ≦ K < 0.093. The CPU 120 selects the lower threshold 0.044 for the gradation value K (step T3). Then the CPU 120 reads a dither pattern 140 corresponding to the selected threshold S=0.044 from the dither pattern memory 14a (step T4) and stores the dither pattern in the binary image memory 13 as binary image data (step T5). When the image conversion circuit 12 converts a series of multi-level image data to the binary image data and stores the data in the binary image memory 13, the electrophotographic image forming unit 2 appropriately switches over the laser beam 202 (fig .6) to form an assemblage of dither patterns corresponding to the binary image data on the external periphery of the photoconductor drum 200 as the static latent image. The static latent image is developed as a toner image, fixed on a paper and outputted. In this case, an intensity distribution of the laser beam for exposing the surface of the photoconductor drum 200 appears as a Gaussian distribution as shown in Fig. 10. The hem of the Gaussian distribution profile protrudes into adjacent pixels to affect a latent image of the adjacent portion. Fig. 10 shows that one pixel D1 is affected by the left-side adjacent pixel D2, and an evidence of effect is found on a portion shown with symbol A. Actually the subject pixel is affected by upper and lower adjacent pixels, right and left-side adjacent pixels and slant adjacent pixels and the degree of the effect is inversely proportional to the distance between adjacent pixels. It is known that a correlative effect of adjacent pixels is shared by almost all electrophotographic image forming units. In this embodiment, specified gray level variations due to correlation between adjacent pixels occur due to the variation of the ON bit position in the dither patterns having the same numbers of ON bits. Thus a plurality of gradations can be represented by changing the ON bit position. Specifically, 20 gradations can be represented by only the 3 x 3 dither matrix as shown in Fig. 13. From comparison of the above result with 10 gradations according to the conventional 3 x 3 dither matrix shown in Fig. 14, the two-fold gradations can be represented without deterioration of the resolution. Particularly, a bright portion of the image can be reproduced fidelity for each arrangement and it is that image reproduction is remarkably improved. The image conversion circuit 12 selects an optimum dither pattern 140 by referring to the threshold table 14b for binary-coding multi-level image data, and therefore, complex calculation as the error diffusion method is not required for the image conversion and binary coding conversion can be carried out at a high speed. The thresholds are calculated according to respective dither patterns 140 in a specified procedure by the threshold calculating function in the image conversion circuit 12, and the image conversion circuit 12 provides and presets the threshold table 14b in accordance with the dither patterns 140. Accordingly, the correspondence of the gray level represented by multi-level image data and the gray level represented by binary image data is visually improved and the gray level of the half-tone image can be reproduced in high precision. Although a 3 x 3 array matrix is used as the dither matrix in this embodiment, a matrix having another type of array such as a 4 x 4 array can be arranged. If the dither matrices are arranged, for example, as 4 x 4 arrays, approximately 80 gradation levels can be theoretically represented and, from an experiment with an actual test sample, it is clarified that approximately 40 gradation levels, as many as a half of the theoretically possible number, can be reproduced. The dither patterns 140 in the present embodiment are only examples and other types of dither patterns can be used. If the shape of the laser beam spot is oval, the thresholds can be calculated by setting the adjacent effect coefficient in the vertical direction and that in the horizontal direction to different values.

Claims: An image forming apparatus for forming a pseudo half-tone image on an image forming medium corresponding to multi-level image data having plenty of gradation values, comprising: storage means (14a) for storing dither patterns (140) having different numbers of ON bits corresponding to black pixels and for storing dither patterns having the same number of ON bits which are different patterns, said dither patterns (140) respectively having different gradation values which denote gray levels added to variations caused by effects derived from adjacent pixels; threshold storing means (14b) for storing thresholds representing the gradation values of said dither patterns (140); means for comparing a gradation value of said multi-level image data with said thresholds and selecting a threshold close to the gradation value of said multi-level image data; means for reading said dither pattern from said storage means corresponding to the threshold selected as binary image data; electrophotographic image forming means (2) for forming an image represented by pixels responsive to said binary image data on said image forming medium; further comprising calculating means (12) for calculating said threshold on the basis of said dither pattern (140); wherein said calculating means (12) comprises means for providing a conversion matrix A whose elements are determined to take into account the effect of variations of the gradation level when printing adjacent pixels; means for providing a matrix T having the size of a pattern matrix B corresponding to the selected dither pattern (140); and means for calculating the value of each element T i,j of said matrix T from a squared scalar product of the conversion matrix A and the matrix B and setting the threshold value to be calculated to the average of the elements' values of the matrix T. The apparatus according to claim 1, wherein said electrophotographic image forming means (2) comprises a photoconductor drum (200) as said image forming medium, and an electrophotographic device (203, 204) for forming an image pixel by pixel on said photoconductor drum (200) responsive to said binary image data by a laser light which has a Gaussian distribution, and wherein said effect of the adjacent pixels is caused by said Gaussian distribution.

Inventors: ABE HIDEAKI, ABE, HIDEAKI
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1995
Main classification: H04N1
IPC codes: H04N1, G06T5