The present invention relates to automatic calibration of a printer based on a digital image of the printer's output. In particular, a distance between fiduciary marks and test marks printed by the printer, as captured by an imaging device, such as a scanner, are used to calibrate writer adjustments.
Alignment of color components in a color printer is critical to providing clear accurate prints of color images. Typically, manual visual inspection of printed documents is performed and individual fine tuning of the color component devices in the printer is undertaken until the visual inspection proves acceptable. What is needed is an automatic and inexpensive way to accurately adjust the color component devices in a color printer.
One preferred embodiment of the present invention comprises a method of determining a lateral positional relationship of data printed on a print medium by a printer. This is achieved by first scanning the printed data on the print medium, using a scanner, for generating a digital image of the printed data. The scanner is used to determine distances between selected ones of the printed data in the digital image. These printed data are usually referred to as test marks. By using those measured test mark distances and determining a difference from desired parameters, accurate adjustments can be made for precise color printer tolerances. An excellent reference distance for calibrating the scanning measurements is a hardware dimension of the printer such as the silicon print head because the manufacturing tolerances used to produce the print heads are very precise. The printed data that is determined by the silicon print head spacing are referred to as fiduciary marks. Typically, the adjustments to the printer include lateral corrections of the color stations which include cyan, magenta, yellow, and black. The present invention is also useable with five and six color printers. The additional color stations in five and six color printers are usually selected from red, green, and blue. The method further includes numerical matrix calculations using the measured distances between test marks and fiduciary marks for determining a correction magnitude.
Another preferred embodiment of the present invention is a method comprising printing a plurality of machine readable fiduciary marks on a print medium using a printer, the marks being separated by a predetermined mechanical distance typically determined by a mechanical limitation of the printer's print head. A plurality of machine readable test marks are also printed on the print medium, then a digital image of the print medium is captured. A test distance between the test marks in the digital image is determined and, based on differences from an ideal, preferred, predetermined, or preselected distance, printer color calibration devices are adjusted. The fiduciary marks are used to scale or calibrate the capturing device so that it's distance determination can be verified. Finally, an alignment of color writers in the printer is performed after all measurements are coherently evaluated. Thus, the method includes calculating an adjustment amount based on the test mark distances and on the fiduciary mark distances. An alternate optional embodiment of this method involves printing a plurality of pairs of test marks wherein each of the marks in a pair is printed by a different color station of the printer. This results in multiple pairs of marks each having the same color combination which provides multiple sample measurements for the color combination. If this particular embodiment is employed, then these measurements can be averaged to determine the relevant distance between test marks for calibration purposes. An optional preferred embodiment includes printing a number of media each having a calibration target printed thereon that is primarily printed by one of the color stations wherein only particular test marks are printed by others of the color stations. Each of these print media can be imaged or scanned and the totality of the measurements as between particular color pairs can be measured and averaged for use in calculating a calibration adjustment.
Another preferred embodiment of performing the present invention includes storing a calibrated digital image in a storage device. The digital image includes prepositioned test marks having a calibrated test mark distance between them. The stored calibrated image can be transferred to storage in a printer for printing thereon. After printing, the printed version of the image can be converted electronically through an imaging device to an electronic digital version of the printed digital image. The digital version can then be measured using the test mark distance between the printed and converted test marks on the digital version of the printed digital image. Then the distances are compared as between the measured printed test mark distance and the calibrated distance and computing a difference between them. These can then be used to calculate a correction factor. Color data can be used to define the test marks so that correction factors can be applied to different color stations of the printer and fine tune their alignment. Fiduciary marks can also be applied to the calibrated image so that a scaling factor can be applied to the test mark measurements due to potential distortion introduced by the image device, e.g. a scanner. Although it is possible to measure the distances described here in distance units, a preferred method includes using pixel units.
These, and other, aspects and objects of the present invention will be better appreciated and understood when considered in conjunction with the following description and the accompanying drawings. It should be understood, however, that the following description, while indicating preferred embodiments of the present invention and numerous specific details thereof, is given by way of illustration and not of limitation. For example, the summary descriptions above are not meant to describe individual separate embodiments whose elements are not interchangeable. In fact, many of the elements described as related to a particular embodiment can be used in, and possibly interchanged with, other described embodiments. Many changes and modifications may be made within the scope of the present invention without departing from the spirit thereof, and the invention includes all such modifications. The figures below are not intended to be drawn to any precise scale with respect to size, angular relationship, or relative position.
The invention has been described in detail with particular reference to certain preferred embodiments thereof, but it will be understood that variations and modifications can be effected within the spirit and scope of the invention.
An embodiment of the present invention is intended to automatically estimate the cross-track (lateral) positional relationship among all color channels of a printer in high precision. The print media is augmented with suitably separated marks of two different colors, where the pre-defined separation distance between a pair of selected color marks is chosen to balance between the need for high precision location estimation and wide applicable range. The distance between the two color marks will determine the range of allowable registration correction. The alignment process of one embodiment of the present invention adopts a series of line marks generated by a print head as local fiduciary marks to achieve accurate alignment despite potentially large scanner motion variation. For example, if scanning resolution is 300 dpi with the scanning speed varying up to 8 pixels, while the requirement for cross-track registration is 0.5 pixel in 600 dpi printing resolution, which is equivalent to 1200 dpi in precision, simply measuring the distance is insufficient to provide useful positional information among different color channels to automatically correct lateral registration error.
In one preferred embodiment, the calibration target contains all possible pair-wise combination such as cyan_vs_black, magenta_vs_yellow, etc. at various locations across the entire cross-track. These pair wise combinations can include all combinations in a four, five, or six color system. While all possible pair-wise combinations provides the most data for precise alignment, the present invention can be used with less print data, such as a calibration target print using one of the color stations as primary. As a result, the optimized cross-track registration offset among all color channels as well as the lateral magnification factor can be reliably estimated through solving a set of linear equation. The same technique can be easily extended to in-track registration correction.
Referring to
The calibration target image can be stored in a variety of formats, such as TIFF, PDF, a bitmap, or other formats. The fiduciary marks 204 are separated by a known distance 202, and appear on both sides of the numerals 20, 22, etc, which comprise numbering of the fiduciary marks. These marks are determined by a manufactured physical parameter of the print head which is fabricated to exact tolerances. These tolerances may be the result of silicon fabrication for particular print head technologies, however, the point is that these distances are determined by print head geometry and are not alterable after manufacture. The stored calibration target image is created as a bitmap such that the fiduciary and test marks are placed in precisely known positions in the bit map so that when the image is loaded to be printed, the pixels will be directed to predetermined LED positions in the writer, as an example. The test mark pairs 205, 206, 207, 208 consist of pairs of color test marks printed by corresponding color writers in the printer. Color pair 206 includes a black line and a cyan line, color pair 205 includes a black line and a magenta line, color pair 207 includes a black line and a yellow line, and the space designated as 208 includes a single black line with a reserved space for a fifth color. This is because the calibration target image is useable for a five color printer. However, the calibration target shown in
Step 102 of the flowchart of
Relying upon the measured distance between pairs of fiduciary marks in the scanned image and comparing those measured values to the known manufactured reference distance, a corrective scaling factor can be applied to the measured test mark distances in the scanned image, if necessary. Because each pair of test marks is proximate to a pair of fiduciary marks, the fiduciary marks likely are subject to the same scanner inaccuracies as the proximate test mark pair, so the scaling factor can be correctly assumed to be applicable to the measured distance between test marks proximate to the measure fiduciary marks. If the measured distance between fiduciary marks is exactly as it should be (according to manufacturer tolerances), then there is no need for correcting the measured distance between corresponding proximate test marks. After the test marks distances are measured, scaled if necessary, and averaged if necessary, they are stored for computation purposes of the present invention as explained below. For reference purposes as to the practice of the present invention, it should be noted that the printed calibration target illustrated in
As explained previously, a more precise method of the present invention involves printing four sets of calibration target images using each of the four color writers as primary imaging sources. In this manner the distances between pairs of color test marks generated by each of the printed calibration targets are averaged. However, as explained previously, the present invention can be used with only one test calibration target print.
With reference to
The last step of the flow chart shown in
With reference to
As explained previously, the present invention can be applied to a single scanned print medium having the calibration target image printed thereon using a single primary color. It can also be applied if two or three pages of the calibration target image were printed, one for each of a selected primary color station. For the example of a single scanned print medium having the calibration target printed thereon, if the selected primary color is black, for example, then the output at 601 would include only the first three measurements (KC, KM, KY) and would result in a 3×1 matrix for computation purposes. If two or three primary color sheets are printed, for example cyan as a second, and magenta as a third, then an additional three colors for each would be included in the output at 601-CK, CM, CY, and MK, MC, MY, respectively. Continuing with the single color example, the preselected known matrix “A” would include the first three columns of 602, for example, a 4×3 matrix (and if the second and/or third color measurements are added then the known matrix would expand to 4×6 and 4×9, respectively). The equations would proceed with the same rationale as illustrated in
Referring now to
The invention has been described in detail with particular reference to certain preferred embodiments thereof, but it will be understood that variations and modifications can be effected within the spirit and scope of the invention.
Reference is made to commonly assigned, co-pending U.S. patent application Ser. No. ______ by Chung-Hui Kuo et al. (Docket 96040) filed of even date herewith entitled “AUTOMATIC HIGH-PRECISION REGISTRATION CORRECTION SYSTEM WITH LOW RESOLUTION IMAGING”, the disclosure of which is incorporated herein by reference in their entireties.