1. Field of the Invention
The present invention relates to an image forming apparatus and an image forming method that reduces variations in printing characteristics among a plurality of print elements in a print head, fluctuations of scans of the print head, and density unevenness resulting from unstable conveying of a print medium.
2. Description of the Related Art
Among the printing systems using a print head with a plurality of print elements is an ink jet printing system that ejects ink from individual print elements to form dots on a print medium. An ink jet printing apparatus of a serial type in particular forms an image by intermittently alternates a printing scan, that scans the print head at a speed corresponding to its ink ejection frequency, and a conveying operation, that conveys the print medium in a direction crossing the direction of printing scan. Such a serial type of ink jet printing apparatus can be manufactured in a relatively small size and at a low cost and therefore has found a wide range of applications for personal use.
In a print head having a plurality of print elements arrayed, variations in ink ejection volume and ejection direction occur among print elements. These variations may cause density unevenness or stripes.
To deal with this problem, a conventional practice has been to use a characteristic printing method called a multipass printing.
The above arrangement prevents those dots printed by a single print element from continuing in the main scan direction. So, if individual print elements have ejection characteristic variations, influences of these variations can be scattered in a wide range, helping to form a uniform and smooth printed image. While the figure takes up a 2-pass printing as an example, the effect of the multipass printing increases as the number of passes, i.e., the number of print elements used to print one scan raster, increases. However, since the printing speed decreases as the number of passes increases, the serial type printing apparatus often provides a plurality of print modes with different passes.
When such a multipass printing is performed, it is necessary to distribute the image data to individual printing scans. Such data distribution has often been done using a mask pattern having arrayed therein print-permitted pixels (1) where dots are allowed to be printed and print-not-permitted pixels (0) where dots are not allowed to be printed.
By performing a logical AND operation between the mask patterns and binary image data, the binary image data is distributed into two pieces of image data that need to be printed in two printing scans. For example, as shown in
While such a multipass printing is in wide use today, increasingly onerous demands are being made for higher quality of image. Under this circumstance, density unevenness and fluctuations resulting from registration deviations among different printing scans have come to be seen as a new problem. Registration deviations between different printing scans are caused by variations in distance between a print medium and an ejection face of the print head and variations in conveying distance of the print medium.
Referring to
Today, with increasingly higher quality being called for, there is a growing demand for an image data processing method which, during a multipass printing, can deal with possible registration deviations between planes caused by variations in many printing conditions. In the following descriptions, a tolerance or resistance to density unevenness or fluctuations caused by inter-plane registration deviations that result from whatever variations in printing conditions is called a “robustness”.
Japanese Patent Laid-Open No. 2000-103088 discloses an image data processing method for enhancing the robustness. This document focuses on the fact that image density unevenness resulting from variations in many printing conditions are caused by a perfect complementary relation between distributed pieces of binary image data allocated to different printing scans. The document also recognizes that a multipass printing with an excellent “robustness” can be realized by generating pieces of image data corresponding to different printing scans in such a way that reduces the complementary relationship between the pieces of image data. To that end, Japanese Patent Laid-Open No. 2000-103088 distributes the image data in the form of the multivalued data before being binarized and then independently binarizes the distributed pieces of multivalued data. This process prevents large density unevenness from occurring even if the distributed image data allocated to different planes for different printing scans are printed deviated from each other.
Let us consider a case similar to
Further, Japanese Patent Laid-Open No. 2006-231736 discloses a technique that, while distributing image data in the form of multivalued image data to a plurality of printing scans or a plurality of print element columns, changes a distribution factor according to the position of the pixel of interest. This document describes an advantage of being able to suppress undesired banding or color unevenness during a multipass printing by changing a distribution factor linearly, cyclically, sinusoidally or based on combined high and low frequency waves according to the position of the image data in the main or subscan direction.
However, the study of the inventors of this invention has found that, even with the methods of Japanese Patent Laid-Open No. 2000-103088 and 2006-231736, the ink ejected from the printing elements near the ends of the print head may deflect from the intended direction (this phenomenon is hereinafter referred to as an “end deflection”), forming visible boundary lines between print head scans. Image impairments caused by the end deflections will be briefly explained as follows.
In a print head having printing elements arrayed at high density and capable of ejecting small ink droplets at high frequency, an air flow is produced between the print head and the print medium, influencing the direction of individual ink droplets being ejected. More specifically, a phenomenon is observed in which when the print head ejects ink from a plurality of its print elements arrayed in line, ink ejected from those print elements located near the ends of the print head deflects toward the center of the print head.
Such a density unevenness from the end deflections is not caused by problematic ejection characteristics of individual print elements nor by inter-plane registration deviations. Since the density area of a certain width printed by the print elements near the ends of the print head is constantly lower than other areas, this problem cannot be solved easily even with the above multipass printing. In a print mode with a small number of passes of multipass printing, the ink ejection frequency in individual printing scans becomes high, making the end deflection phenomenon more visible. Unless an end deflection phenomenon is involved if there are large variations in printing characteristics according to the positions of print elements, the print mode with a small number of multipass printing cannot fully eliminate the image impairments caused by the problematic print elements.
The present invention has been accomplished to solve the above problems. It is therefore an object of this invention to produce an image with high robustness while keeping image impairments caused by printing characteristic variations according to the positions of print elements, such as caused by the end deflections, hardly noticeable.
The first aspect of the present invention is an image forming apparatus for forming an image on a print medium by using a print head having a plurality of print elements that print dots, the image forming apparatus comprising: distribution unit configured to distribute multilevel grayscale data of pixels according to distribution coefficients determined for the print elements to be used to print dots to the pixels; grayscale reduction unit configured to reduce values of the grayscale data distributed by said distribution unit; and printing controller configured to cause the print head to print the dots on the print medium according to the data whose values are reduced by said grayscale reduction unit.
The second aspect of the present invention is an image forming method for forming an image on a print medium by using a print head having print elements that print dots on the print medium, the image forming method comprising: a distribution step of distributing multilevel grayscale data of pixels according to distribution coefficients determined for the print elements to be used to print dots to the pixels; a grayscale reduction step of reducing values of the grayscale data distributed by said division step; and a step of printing dots on the print medium according to the data whose values are reduced by said grayscale reduction step.
The third aspect of the present invention is a data processing apparatus for processing data used to form an image on a print medium by using a print head having print elements that print dots, the processing comprising: a distribution step of distributing multilevel grayscale data of pixels according to distribution coefficients determined for the print elements to be used to print dots to the pixels; and a step of reducing values of the grayscale data distributed by said division step.
Further features of the present invention will become apparent from the following description of exemplary embodiments (with reference to the attached drawings).
Now, embodiments of this invention will be described in detail by referring to the accompanying drawings.
First, terminologies employed in this specification will be defined. “Relative scan (relative movement)” refers to an operation to move (scan) a print head relative to a print medium.
The “multipass printing” refers to a printing method which completes an image to be formed in a same image area of a print medium by performing a plurality of relative scans of a print head over the same image area. The “number of passes (M)” refers to the number of relative movements of the print head over the same image area. M is an integer equal to 2 or more. If M=2, the multipass printing is a 2-pass printing; and if M=4, it is a 4-pass printing. In the case of an M-pass printing, image data is generated for M planes corresponding to the M passes according to multivalued image data for the same image area. The image data for the M planes are printed in M passes.
The “planes” refer to sets of image data corresponding to the relative movements of the print head over the print medium. So, different planes correspond to different relative print head movements. Further, the “pixels” each refer to a minimum unit area whose grayscale level can be represented by multivalued image data.
The print head 105 comprises black (K), cyan (C), magenta (M) and yellow (Y) print heads arranged parallelly side by side in the main scan direction, as shown. Each of these color print heads has a plurality of print elements arrayed in line in the subscan direction at a density corresponding to a print resolution.
In this embodiment a 2-pass printing is taken for example. Referring again to
An image distribution unit 103 distributes the whole image data 108 to a plurality of planes 110-01 to 110-X.
In this embodiment, each of the 10 print elements 111 are assigned a distribution coefficient 109 defining a grayscale value distribution factor. Each print element 111 prints image data based on the assigned distribution coefficient in every printing scan. The image distribution unit 103 matches the distribution coefficients 109 to the positions of the image data to be printed in the first printing scan (uppermost part of the image data) to generate a first plane 110-01 to be printed in the first printing scan. More specifically, the grayscale value of each pixel is multiplied by its associated distribution coefficient 109 to determine a new grayscale value for each pixel.
For example, a distribution coefficient 109 corresponding to the print element located at the center of the print head is 0.7. So, a central part of the first plane 110-01 is assigned a grayscale value of 100×0.7=70. For a print element located at the end of the print head, their distribution coefficient 109 is 0.3, so that an end portion of the first plane 110-01 is assigned a grayscale value of 100×0.3=30. In other areas, too, grayscale values 40, 50 and 60 obtained from distribution coefficients 0.4, 0.5 and 0.6 are assigned to the corresponding positions.
As to a plane 110-02 for the second printing scan, the distribution coefficients 109 are matched to a portion of the image data 108 that is shifted five pixels from the first plane and grayscale values of individual pixels are calculated in the same way as in the first plane 110-01. Also for succeeding third to ninth plane 110-03 to 110-09, grayscale values are determined in the similar manner. The grayscale values thus obtained are transferred to the binarization unit 104 for each plane (see
This embodiment performs a 2-pass printing in which individual pixel lines running along the main scan direction are printed by two different print elements in two printing scans. For example, the first pixel line of the image data 108 is printed by a print element situated at the center of the print head in the first printing scan and by a print element situated at the end of the print head in the second printing scan. As can be seen from
The image data sent to the binarization unit 104 is binarized for each plane. The method of this binarization may be based on a known error diffusion method or dither matrix method. It is, however, preferred to use different binarization methods on these two planes so that an image has areas of pixels where, when the two processed planes are overlapped, dots overlap and areas where they do not. If, for example, an error diffusion method is used as the binarization method, it is desired that some provisions be made, such as using different thresholds or different error distribution matrices for the two planes, to ensure that, if image data of the same grayscale values are entered, the results of binarization of the two planes differ. For example, the dot arrangements can be made to differ between the two planes by using an error distribution matrix of
The above binarization process, when two planes are overlapped, allows pixels where dots overlap (pixels with “1” in both planes) and pixels where dots do not overlap (pixels with “1” in only one plane) to exist in an image being formed. Therefore, as explained with reference to
Then, according to the binary data stored in the planes, printing scans are successively executed by the print head 105. Performing the printing scan a plurality of times over the same image area causes the image data stored in the memory buffer 101 to be printed progressively on a print medium.
Referring again to
This embodiment is characterized in that the distribution coefficients are determined according to the positions of the print elements in the print head. In addition to the end deflection, this embodiment is also effectively applicable to other image impairment problems as long as the position of a print element that causes some impairments in a printed image can be determined.
Although the 2-pass printing has been described for the sake of simplicity, this embodiment can also be applied to more than 2 passes. When, for example, M-pass printing is done, the same effect as this embodiment can be produced by determining individual distribution coefficients for the print elements involved in the printing of the same pixel line such that the sum of these distribution coefficients is 1.0 and by executing the printing scan M times over the same image area.
In the embodiment described above, a binarization operation is adopted as quantization processing to transform multivalued data into binary data by the binarization unit 104. However, the quantization processing applicable to this embodiment is not limited to the binarization operation but may use an N-value transformation operation in general (N is an integer equal to or higher than 2), such as 3- or 4-value transformation as long as a sum of the distribution coefficients for a plurality of print elements that print the same pixel line is 1.0. When a 3-value transformation operation is employed, for example, the binarization unit 104 needs only to be replaced by a 3-value transformation unit, so that the ink ejection is performed based on the 3-value data.
This embodiment also uses the printing apparatus of embodiment 1 shown in
As in embodiment 1, this embodiment also sets a distribution coefficient for the central print elements of the print head at 0.7 and a distribution coefficient for the end print elements at 0.3. It is noted, however, that the number of distribution coefficients to be stored is 10, the same as in embodiment 1, and these are matched to every other print element. The remaining print elements are each allocated an average of distribution coefficients of two adjoining print elements. In
It is noted that the distribution coefficients 109 need not be matched to every other print element when stored in memory. Where the distribution coefficient is changed progressively as in this embodiment, the other distribution coefficients can be interpolated by a simple linear equation, thus minimizing the memory capacity. Also as shown in
In this embodiment, too, the printing apparatus of embodiment 1 shown in
Multivalued image data input_12 that has been color-separated by the CMYK conversion unit 102 and transferred to the image distribution/binarization unit 107 is entered into the 3-value transformation unit 151 and the image distribution unit 170. In the 3-value transformation unit 151 an error Err_12(x) stored in an accumulated error line buffer is added to the Input_12 and then I_12=Input_12+Err_12(x) is sent to the quantization unit 155.
In the accumulated error line buffer 153, memories Err_12(x) corresponding in number to pixels w, that store accumulated errors corresponding to the position x of pixel of interest in the main scan direction (that is, 1≦x≦w), are provided. In addition to this, an error memory Err_12_0 for one pixel is also provided.
The threshold selection unit 154 selects a threshold for 3-level value conversion according to a value of Input_12. The input image data Input_12 of this embodiment is represented by a 0-255 level 8-bit signal and the threshold selection unit 154 sets a threshold Th_12 to Th_12=63 (0≦Input_12<128) and Th_12=191 (128≦Input_12≦255).
The quantization unit 155 uses the threshold Th_12 selected by the threshold selection unit 154 to quantize the image data I_12, to which errors are added, into a 3-value. As a result, the quantization unit 155 outputs Out_12. That is, if the quantized output is Out_12, then Out_12=0 (0≦Input_12<128 and I_12<Th_12=63), Out_12=127 (0≦Input_12<128 and I_12≧Th_12=63) or (128≦Input_12≦255 and I_12<Th_12=191), and Out_12=255 (128≦Input_12≦255 and I_12≧Th_12=191)
In this embodiment, Out_12 is a 3-level value representing the number of dots that are to be printed in the first and second scan on a pixel of interest. More specifically, Out_12=0 means that no dot is printed in the pixel of interest. Out_12=127 means that one dot is printed in the pixel of interest by one of the first and second scan. Out_12=255 means that two dots are printed in the pixel of interest by both of the first and second scan.
The error computation unit 156 calculates an error Err_12 produced by the quantization operation, from an input value I_12 to and an output value Out_12 from the quantization unit 155. That is, Err_12=I_12−Out_12.
The error diffusion unit 157 diffuses (distributes) Err_12 to surrounding pixels according to the position x in the main scan direction of the pixel of interest.
E
—12(x+1)=E—12(x+1)+Err—12×K1(x<w)
E
—12(x−1)=E—12(x−1)+Err—12×K2(x>1)
E
—12(x)=E—12—0+Err—12×K3(1<x<w)
E
—12(x)=E—12—0+Err—12×(K2+K3)(x=1)
E
—12(x)=E—12—0+Err—12×(K1+K3+K4)(x=w)
E
—12—0=Err—12×K4(x<w)
E
—12—0=0(x=w)
Initial values for the accumulated error line buffer 153 may all be 0 or set with random numbers.
The multivalued image data Input_12 is distributed by the image distribution unit 170 to generate nearly halved, multivalued data which is to be printed in the first scan. This distribution method, as described in the above embodiments, is performed according to a predetermined distribution coefficient to extract grayscale value only for the first scan.
The distributed, multivalued data Input is entered into the binarization unit 161. To the input signal value Input is added an error Err_1(x) stored in an accumulated error line buffer 163 by an addition unit 162, which sends I=Input+Err(x) to the quantization unit 165.
Input is also sent to a threshold selection unit 164 which selects a threshold for binarization according to the value of Input. The selection operation by the threshold selection unit 164 may be similar to that performed by the above threshold selection unit 154. It is however not essential in this embodiment to prepare a plurality of thresholds in the binarization unit. Whatever the value of the input image data Input, the threshold selection unit 164 may set the threshold Th at Th=64 (0≦Input_1≦255). To avoid dot generation delays, it is possible to change the threshold Th more precisely according to the input image data Input.
The quantization unit 165 compares the threshold Th selected by the threshold selection unit 164, the image data I to which an error is added, and an output value Out_12 from the 3-value transformation unit 151 and then determines an output value for the first scan Out_1 and an output value for the second scan Out_2. That is, when Out_12=0, Out_1=0 and Out_2=0; when Out_12=255, Out_1=1 and Out_2=1; and when Out_12=127, Out_1=1 and Out_2=0 (Out_12−I<Th), and Out_1=0 and Out_2=1 (Th≦Out_12−I). With this configuration, the output value for the first scan Out_1 and the output value for the second scan Out_2 can be determined simultaneously by the quantization unit 165.
An error calculation unit 166 calculates an error Err_1, a difference between I and an output pixel value Out_1. That is,
Err—1=I−Out—1
An error diffusion unit 167 diffuses the error Err_1 to the surrounding pixels according to the position x in the main scan direction of a pixel of interest in the same way as the 3-value transformation unit 151. Let w stand for a maximum value of the coordinate x, i.e., the number of pixels in the main scan direction, and E_1(x) stand for an accumulated error at the coordinate x. Then, the error is diffused to the adjoining pixels as follows.
E
—1(x+1)=E—1(x)+Err—1×K1(x<w)
E
—1(x−1)=E—1(x)+Err—1×K2(1<x)
E
—1(x)=Err—1—0+Err—1×K3(1<x<w)
E
—1(x)=Err—1—0+Err—1×(K2+K3)(x=1)
E
—1(x)=Err—1—0+Err—1×(K1+K3+K4)(x=w)
Err—1—0=Err—1*(K4)(x<w)
Err—1—0=0(x=w)
To diffuse and accumulate errors as described above, the accumulated error line buffer 163 has a memory area Err_1_0 for one pixel and memory areas E_1(x) for w of the pixels arrayed in the main scan direction. Each time the pixel of interest is changed, the error is accumulated according to the above equations. The initial values for the accumulated error line buffer 163 may all be 0 or set with random numbers.
This embodiment is characterized in that one quantization unit 165 simultaneously outputs both binary data for the first scan and binary data for the second scan.
In this embodiment also, the printing apparatus of embodiment 1 shown in
Grayscale value distributed for a plurality of planes by the image distribution unit 103 is stored in individual areas of the memory buffer 204. A plane corresponding to the first printing scan for the same image area on a print medium is defined to be a first plane and a plane corresponding to the second printing scan for the same image area on the print medium is defined to be a second plane.
The following processing is executed beginning with the first plane. Grayscale value for the first plane is stored as is in the memory buffer 204 and then sent to the binarization unit 205.
The binarization unit 205, as in the preceding embodiments, performs binarization operation on each of grayscale value stored in the memory buffer 204 by using an error diffusion method or a dither matrix method. Binary data thus obtained is transferred to a print buffer 208. When image data for one printing scan is accumulated, the print head 207 performs the printing scan according to the binary data stored in the memory buffer 204. The binarized result for the first plane is also transferred to the limitation information calculation unit 206.
In the processing for the next second plane, the multivalued image data is added to the above limitation information (multivalued correction data) stored in advance in the memory buffer 204 and saved there. Then, as in the case of the first plane, the data in the memory buffer 204 is binarized and transferred to the print buffer 208. The binarized result for the second plane is also transferred to the limitation information calculation unit 206 as with the first plane. The above binarization operation is repeated until the planes for all printing scans are completely binarized.
In the binarization of the second plane, the data values for those pixels that have been determined to be printed (1) in the first plane become lower than the original values, reducing the possibility of the pixel and its neighboring pixels to be printed (1) by the binarization operation. As a result, in an area of a print medium printed by the first plane (first printing scan) and the second plane (second printing scan), a likelihood of two dots being printed overlapping is reduced. This in turn can prevent a degradation of granularity caused by too much overlapping of dots.
As described above, to suppress density unevenness caused by inter-plane registration deviations, it is effective to make sure that dots printed by a plurality of printing scans are not in a complementary relation with each other, that is, it is effective to have pixels where dots printed by two or more different printing scans overlap. However, too many of such pixels will give rise to a possibility of causing a reduction in the density of image due to a reduced coverage or degrading granularity due to too much overlapping of dots. By allowing for the presence of those pixels where dots are overlappingly printed in a plurality of printing scans and at the same time keeping the likelihood of occurrence of such pixels low, as in this embodiment, the density variations can be suppressed to an appropriate degree without producing too many of such pixels with overlapping dots. As described above, with this embodiment, dot arrangements can be obtained that produce high density, low granularity and high resistance to density variations.
Further, since this embodiment employs an error diffusion technique, dots printed by a plurality of printing scans can be scattered properly, suppressing low-frequency components of image produced by the dot arrangements. This in turn reduces granularity of a printed image caused by dot arrangement in a plane (in the same printing scan). Generally, registration shifts between different planes (printing scans) can result in a dot arrangement pattern (texture) being visible and recognized as image impairments. However, if the dot arrangement in each plane is well resistant to granularity as in this embodiment, inter-plane registration deviations can hardly result in image impairments. That is, while adjusting the print duties of individual print elements according to their positions on the print head, this embodiment can enhance the robustness against not only density variations but textures, thus producing an image with reduced granularity.
While we have explained the 2-pass printing, this invention can produce an image with a greater number of passes. That is, this embodiment can be applied to an M-pass printing (M is an integer equal to or larger than 2). When an M-pass printing is performed, the image distribution unit 103 distributes the entered multivalued image data into a plurality of planes according to distribution coefficients for individual print elements in the same way as in the preceding embodiments. Then, the limitation information calculation unit 206 accumulates successively at predetermined pixel positions in the memory buffer 204 the image data of the first to (M−1)st plane after being subjected to the filtering operation. As a result, when data of M planes are binarized, those pixels that have been specified to be printed (1) in one of 1st to (M−1)st plane are less likely to be printed with a dot in an Mth printing scan. As described above, a probability of dots printed in different printing scans overlapping each other can be lowered.
While this embodiment uses as a filter for the limitation information calculation unit 206 an isotropic weighted mean filter having a 3×3-pixel area with coefficients arranged almost concentric as shown in
As described in the preceding embodiments, the present invention is characterized in that the distribution coefficients are determined according to the positions of print elements on the print head, not the positions of print data. Thus, the image data distribution method described above is also effectively applied to a full-line type printing apparatus having a plurality of print heads, such as shown in
Although the above embodiments employ a binarization operation as a grayscale level number reduction operation, other grayscale level number reduction operations may be used. For example, 3-level or 4-level transformation operation may be used, which in general form is expressed as an N-level transformation operation (N is an integer equal to or higher than 2).
An image processing apparatus that executes characteristic image processing of this invention has been explained by taking as an example the printing apparatus having an image processing function shown in
This invention is also implemented by a program code that realizes the above image processing function or by a storage media containing the program code. In that case, the image processing is implemented by a host device or a computer (or CPU and MPU) in a printing apparatus reading and executing the program code. As described above, this invention also includes a computer-readable program to cause the computer to execute the above image processing operation and a storage media storing that program.
Among the storage media for supplying the program code are floppy disks (registered trade mark), hard disks, optical discs, magnetooptical discs, CD-ROMs, CD-Rs, magnetic tapes, non-volatile memory cards and ROMs.
Not only is the function of the above embodiments implemented by the computer executing the loaded program code, but an operating system running on the computer may also execute a part or all of the actual processing according to instructions of the program code. Another configuration is also possible, in which, after the program code is written into a memory of a function expansion board inserted into the computer or of a function expansion unit connected to the computer, a CPU may execute a part or all of the actual processing according to the instructions of the program code.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2007-329335, filed Dec. 20, 2007, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2007-329335 | Dec 2007 | JP | national |