1. Field of the Invention
The present invention relates to an image processing apparatus for adjusting a recording position of a recording head for discharging ink, and an image processing system, and an image processing method.
2. Description of the Related Art
In an inkjet recording apparatus, an ink impact position (a recording position) on a recording medium such as recording paper may be shifted due to a mounting error of a recording head for discharging ink or a manufacturing error in a process of manufacturing the recording head. The shift in the recording position includes a shift in a recording position between a monochrome chip and a color chip, a shift in a recording position between forward recording and backward recording in a predetermined nozzle array, and a shift in a recording position between different passes in multi-pass recording.
Regarding the above-mentioned issue, Japanese Patent Application Laid-Open No. 10-315560 discusses a method for adjusting a shift in a recording position. In a technique discussed in Japanese Patent Laid-Open No. 10-315560, a recording position adjustment chart including a ruled line pattern recording a reference line and a non-reference line with a plurality of shifting amounts, and a dot pattern recording a reference patch and a non-reference patch with a plurality of shifting amounts is output. The recording position adjustment chart which is output is read as image data with a scanner, to determine a reference position adjustment value based on a shifting amount in which a shift between the reference line and the non-reference line is smallest and an average density difference in the dot pattern is smallest.
In the method discussed in Japanese Patent Application Laid-Open No. 10-315560, if the recording position adjustment chart is placed inclining on a document positioning plate when read by the scanner, the density (luminance) of the dot pattern cannot be accurately measured under the influence of shaggy or the like, so that an error occurs in the recording position adjustment value.
According to an aspect of the present invention, an image processing apparatus includes a recording control unit configured to cause a recording head for discharging ink to record a recording position adjustment chart including at least one pattern for adjusting a recording position of the recording head, a reading unit configured to read the recording position adjustment chart as image data, and a determination unit configured to determine an adjustment value for adjusting the recording position based on the recording position adjustment chart read as the image data, in which the recording position adjustment chart includes a plurality of patterns that differs in the degree of irregularity or roughness of a pixel value read by the reading unit according to a shifting amount of the recording position of the recording head, and a mark for detecting an inclination in reading the recording position adjustment chart, and the determination unit determines the adjustment value based on the degree of irregularity or roughness of each of the plurality of patterns.
According to another aspect of the present invention, an image processing apparatus includes a recording control unit configured to cause a recording head for discharging ink to record a recording position adjustment chart including a pattern for adjusting a recording position of the recording head, and a determination unit configured to determine an adjustment value for adjusting the recording position based on data relating to the pattern included in the image data from which the recording position adjustment chart is read by a reading unit, in which the recording position adjustment chart includes a plurality of patterns that differs in the degree of irregularity or roughness of a pixel value read by the reading unit according to a shift in the recording position of the recording head, and the determination unit determines the adjustment value based on an average of the degrees of irregularity or roughness for areas obtained by dividing a predetermined area inscribed in each of the plurality of patterns.
According to yet another aspect of the present invention, an image processing system includes a recording control unit configured to cause a recording head for discharging ink to record a recording position adjustment chart including at least one pattern for adjusting a recording position of the recording head, a reading unit configured to read the recording position adjustment chart as image data, and a determination unit configured to determine an adjustment value for adjusting the recording position based on the recording position adjustment chart read as the image data, in which the recording position adjustment chart includes a plurality of patterns that differs in the degree of irregularity or roughness of a pixel value read by the reading unit according to a shifting amount of the recording position of the recording head, and a mark for detecting an inclination in reading the recording position adjustment chart, and the determination unit determines the adjustment value based on the degree of irregularity or roughness of each of the plurality of patterns.
According to yet another aspect of the present invention, an image processing method includes causing a recording head for discharging ink to record a recording position adjustment chart including at least one pattern for adjusting a recording position of the recording head, reading the recording position adjustment chart as image data, and determining an adjustment value for adjusting the recording position based on the recording position adjustment chart read as the image data, in which the recording position adjustment chart includes a plurality of patterns that differs in the degree of irregularity or roughness of a pixel value according to a shifting amount of the recording position of the recording head and a mark for detecting an inclination in reading the recording position adjustment chart, and the adjustment value is determined based on the degree of irregularity or roughness of each of the plurality of patterns.
According to the present invention, even if the recording position adjustment chart is placed in an inclined position on a document positioning plate when read by a scanner, the recording position adjustment value can be accurately acquired.
Further features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the invention and, together with the description, serve to explain the principles of the invention.
Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the drawings.
First, a multifunctional recording apparatus (hereinafter referred to as MFP) 100 according to a first exemplary embodiment of the present invention will be described.
The MFP 100 includes a printer function, a scanner function, and an external memory reading function. An inkjet recording apparatus is mounted on a printer unit (image recording unit) 103 (see
In
The recording head 215 is detachably attached to a carriage 214 that moves along a guide shaft 213, and discharges ink droplets from a plurality of discharge ports (also referred to as nozzles) based on a recording signal while moving in a main scanning direction. Thus, the recording medium 212 is subjected to recording corresponding to a single scanning/recording operation. When the scanning/recording operation is performed once, the recording medium 212 is conveyed in a sub-scanning direction by an amount corresponding to the recording width of the recording head 215. Such a scanning/recording operation and a conveying operation are alternately repeated so that an image is sequentially formed on the recording medium 212. Two chips, i.e., a monochrome chip and a color chip are provided on the discharge port surface of the recording head 215, and a black nozzle array for discharging black ink is disposed in the monochrome chip. Three nozzle arrays for discharging cyan ink, magenta ink, and yellow ink are respectively arranged in a main scanning direction in the color chip.
The ink discharged by the recording head 215 is supplied from an ink supply device (not illustrated) fixed in the MFP 100. The MFP 100 also includes a recording medium supply unit for supplying the recording medium 212 before recording, to the paper feed roller pair 211, and a recording medium discharge unit for discharging the recording medium 212 after recording. Further, the MFP 100 can include a recovery unit for maintaining the recording head 215, a preliminary auxiliary unit, and so on to stably obtain the effect of the present invention. These units include a capping unit for capping the discharge port surface of the recording head 215, a cleaning unit for wiping a foreign substance or the like on the discharge port surface, a unit for pressurizing or sucking the inside of the discharge port, and a unit for receiving ink preliminarily discharged.
A storage unit 107 stores image data input via the card I/F unit 9, the external I/F unit 101, or the scanner unit 104. Further, the storage unit 107 has the function of storing various programs and data for executing recording position adjustment processing described below, and an adjustment value found by the recording position adjustment processing. The storage unit 107 is also used as a work area and a registration area for various setting items, as needed, to execute control. The image processing unit 108 controls recording of the MFP 100, executes document area detection processing for the image data stored in the storage unit 107, and executes print data generation processing for recording an image from the image data.
In the recording position adjustment chart in the present exemplary embodiment, recording position adjustment patterns relating to a plurality of adjustment items are recorded. The recording position adjustment pattern 203a is used to adjust a recording position between the monochrome chip and the color chip on the recording head 215. The recording position adjustment chart also includes the recording position adjustment pattern 203b between forward recording and backward recording in a predetermined nozzle array (e.g., a cyan array), and the recording position adjustment pattern 203c between different passes in multi-pass recording. The recording position adjustment pattern 203a between the monochrome chip and the color chip includes nine patterns Pa0 to Pa8, and the recording position adjustment pattern 203b between forward recording and backward recording includes nine patterns Pb0 to Pb8. The recording position adjustment pattern 203c between different passes includes three patterns Pc0 to Pc2.
Each of the recording position adjustment patterns includes a plurality of patterns, which is made to differ in optical characteristic (luminance) by changing ink discharge timing in one of different recording operations with respect to that in the other recording operation at predetermined intervals. The recording position adjustment pattern 203a, for example, includes a plurality of patterns, which is differentiated in optical characteristic (luminance) by shifting ink discharge timing in the cyan nozzle array in the color chip relative to the black nozzle array in the monochrome chip. The degree at which ink discharge timing in one of different recording operations is shifted relative to the other recording operation is also referred to as a shifting amount.
A luminance variation (a fringe pattern) occurs in a pattern included in each of recording position adjustment patterns if its recording position is shifted. In recording position adjustment processing, a pattern that least varies in luminance (a uniform pattern with no fringe) is detected. A recording position of the pattern can be adjusted to its optimum recording position based on ink discharge timing (a shifting amount) at which the pattern has been recorded. More specifically, in the recording position adjustment processing, the ink discharge timing (shifting amount) of the pattern at the optimum recording position corresponds to an adjustment value for adjusting a shift in the recording position. The recording position can also be adjusted by calculating an approximate equation based on a luminance variation (a degree of irregularity or roughness, described below) of a pattern in each of adjustment items, to determine the adjustment value in finer units than a shifting amount in which the pattern in the adjustment item is recorded. The details will be described below.
If the user operates the operation unit 4, to give an instruction to read the recording position adjustment chart, then in step S302, the control unit 106 causes the scanner unit 104 to start to read the recording position adjustment chart under conditions such as a gray scale, a reading resolution of 600 dpi, and γ correction (γ=1.0).
In step S303, the control unit 106 causes the image processing unit 108 to reduce the read recording position adjustment chart to image data having a resolution of 300 dpi while subjecting the chart to bilinear correction, and stores the obtained image data in the storage unit 107. In the present exemplary embodiment, the image processing unit 108 reads the recording position adjustment chart at a resolution of 600 dpi, and then reduces the recording position adjustment chart to image data having a resolution of 300 dpi while subjecting the chart to bilinear correction. When the recording position adjustment chart is directly read at a resolution of 300 dpi, moiré may be generated by interference with a fringe in the pattern included in the chart, which may affect determination of a recording position adjustment value.
In step S304, the control unit 106 detects whether the reference mark 201 exists at the upper left of the image data stored in the storage unit 107, by pattern matching. The control unit 106 searches for a pixel pattern in white, black, white, . . . , to detect the reference mark 201, and at the same time detects a central position of the reference mark 201. If the reference mark 201 is not detected (NO in step S304), the processing proceeds to step S307. In step S307, the control unit 106 displays an error warning on the display unit 5, to terminate the processing. If the reference mark 201 is detected (YES in step S304), the processing proceeds to step S305.
In step S305, the control unit 106 detects the non-reference marks 202a to 202c. A method for detecting the non-reference marks 202a to 202c uses pattern matching, similarly to the method for detecting the reference mark 201. If the control unit 106 has failed to detect any one of the non-reference marks 202a to 202c (NO in step S305), the processing proceeds to step S307. In step S307, the control unit 106 displays an error warning on the display unit 5, to terminate the processing. If the control unit 106 has succeeded in detecting all the non-reference marks 202a to 202c (YES in step 305), the processing proceeds to step S306.
In step S306, the control unit 106 calculates an inclination angle of the recording position adjustment chart from positions of the reference mark 201 detected in step S304 and the non-reference marks 202a to 202c detected in step S305. For example, an inclination angle θ of the recording position adjustment chart can be calculated by the following equation (1), where (xm0, ym0) is a detection position of the reference mark 201, and (xm1, ym1) is a detection position of the non-reference mark 202a:
In step S308, the control unit 106 then detects respective upper left coordinate positions of the patterns Pa0 to Pa8, Pb0 to Pb8, and Pc0 to Pc2. The storage unit 107 holds data relating to distances in the x-direction and the y-direction from the reference mark 201 to the upper left coordinate position of each of the patterns when the reference position adjustment chart is not inclined. The control unit 106 calculates the upper left coordinate position of each of the patterns by affine transformation using the coordinate position (xm0, ym0) of the reference mark 201 detected in step S304 and the inclination angle θ of the reference position adjustment chart calculated in the equation (1). For example, coordinates (xp′, yp′) after affine transformation can be expressed by the following equation (2), where (xp, yp) is an upper left coordinate position of a mark, and lx and ly are respectively distances in the x-direction and the y-direction of the mark from the reference mark 201:
In step S309, the control unit 106 clips, based on the upper left coordinate position of each of the patterns calculated in step S308, a rectangular area that circumscribes the pattern.
In step S311, the control unit 106 performs filter processing so that an embossing effect is obtained for image data in an area having a width W and a height H at the point P′ after the inclination correction in step S310 as the origin in order to highlight a fringe pattern generated by a shift in a recording position. In the filter processing, a filter factor to be applied is switched depending on a direction of fringes generated in a pattern.
A filter factor 1, described below, is applied to patterns in which horizontal fringes are generated, such as the recording position adjustment pattern 203a between the monochrome chip and the color chip, and the recording position adjustment pattern 203c between the passes:
On the other hand, a filter factor 2, described below, is applied to patterns in which vertical fringes are generated, such as the recording position adjustment pattern 203b between forward recording and backward recording.
A pixel value obtained by adding a constant c (c=128) to image data to which the filter factor 1 or the filter factor 2 is applied, as described above, is set to zero if the pixel value is less than zero, and set to 255 if it exceeds 255, to obtain image data in which a fringe pattern generated by a shift in a recording position is more highlighted.
In step S312, the control unit 106 then measures the degree of irregularity or roughness (uniformity) of a pixel value in each of the patterns. In the present exemplary embodiment, a pattern is analyzed based on the degree of irregularity or roughness of a pixel value in the pattern to determine a recording position adjustment value. Each of pixel values in the pattern area that has been subjected to the filter processing in step S311 has irregularity or roughness.
A method for measuring the degree of irregularity or roughness of a pattern (203b) in which vertical fringes are generated when a recording position of the pattern is shifted will be described with reference to
First, a mean value Pmean
Here, P (x, y) is a pixel value at a coordinate position (x, y).
The degree of irregularity and roughness R of the pattern is then measured using the following equation (4):
Here, Pmean
A method for measuring the degree of irregularity or roughness of a pattern in which vertical fringes are generated when a recording position of the pattern is shifted will be then described with reference to
Here, P (x, y) is a pixel value at a coordinate position (x, y).
The degree of irregularity or roughness R of the pattern is then measured using the following equation (6):
Here, Pmean
When the degree of irregularity or roughness R of a pattern is measured, a mean value of pixel values on one line is used to alleviate the effect of ink non-discharge due to clogging of an ink discharge port during pattern recording, the effect of contamination due to rubbing of the recording head 215, and the effect of contamination of the document positioning plate 52 during reading as much as possible.
The above-mentioned processing in steps S309 to S312 is repeatedly performed for all the patterns in each of the adjustment items. If the degrees of irregularity or roughness R of all the patterns are measured, the processing proceeds to step S313.
In step S313, the control unit 106 searches for the pattern having the minimum degree of irregularity or roughness for each of the adjustment items, from the measured degrees of irregularity or roughness R.
In step S314, the control unit 106 checks whether the optimum recording position is to be determined in finer units (at a sub-level) than a shifting amount in which the recording position adjustment pattern is recorded. The adjustment items for which the optimum recording positions are determined in finer units than the shifting amount in the present exemplary embodiment include recording position adjustment between the monochrome chip and the color chip and recording position adjustment between forward recording and backward recording. On the other hand, optimum recording position adjustment is not made at the sub-level for recording position adjustment between the passes. The adjustment value for the optimum recording position determined by the degree of irregularity or roughness R is stored in the storage unit 107 and the processing is terminated. If optimum recording position adjustment is made at the sub-level, the processing proceeds to step S315.
In step S315, the control unit 106 selects the degree of irregularity or roughness around the minimum degree of irregularity or roughness R. The number of degrees of irregularity or roughness R to be selected is four which includes the minimum degree of irregularity or roughness.
First, degrees of irregularity or roughness Rmin+1 and Rmin+1 at positions Popt−1 and Popt+1 adjacent to the position Popt having the minimum degree or irregularity or roughness Rmin detected in step S313 are compared with each other. Degrees of irregularity or roughness to be selected are switched, as illustrated in the following condition 1, depending on which of the degrees of irregularity or roughness Rmin−1 and Rmin+1 is greater:
As illustrated in
In step S316, the control unit 106 generates an approximate curve from the selected four degrees of irregularity or roughness, and determines a position at the minimum value of the approximate curve as an adjustment value for an optimum recording position at a sub-level, as illustrated in
According to the present exemplary embodiment, the recording position adjustment chart includes a mark for detecting the inclination of the chart and the position of each of the patterns. The inclination of the chart can be corrected in the data based on the mark. In the present exemplary embodiment, even if the chart is placed in an inclined position on the document positioning plate 52 when read with the scanner, the recording position adjustment value can be accurately acquired.
According to a second exemplary embodiment of the present invention, an area inscribed in a pattern area is clipped, and is divided into division areas in a predetermined direction. An adjustment value for an optimum recording position is determined by an average of degrees of irregularity or roughness of the division areas. Therefore, the present exemplary embodiment differs from the first exemplary embodiment in a method for extracting a pattern area (step 909 in
First, processing of a pattern (203b) in which vertical fringes are generated when its recording position is shifted will be described.
In step S909, a control unit 106 clips, based on an upper left coordinate position of a pattern calculated in step S908, a rectangular area almost inscribed in the pattern.
In step S911, the control unit 106 divides the pattern area clipped in step S909 into i division areas with a height h (h is one pixel or more and its maximum is five pixels) in the y-axis direction, and measures degrees of irregularity or roughness R1, R2, . . . , Ri using the foregoing equations (3) and (4) for the division areas. A mean value of the measured degrees of irregularity or roughness R in the i division areas is obtained using the following equation (7), and is taken as the final degree of irregularity or roughness.
The height of the division area is set to a maximum of five pixels because, when a mean value of pixel values is obtained on a line-by-line basis using the equation (3) with the pattern inclined, the mean values of the pixel values on a line-by-line basis need to be prevented from being almost constant on adjacent lines under the influence of a fringe pattern.
Processing of a pattern (203a, 203c) in which horizontal fringes are generated when its recording position is shifted will be then described. In step S909, the control unit 106 clips, based on the upper left coordinate position of the pattern calculated in step S908, a rectangular area almost inscribed in the pattern.
As illustrated in
In step S911, the control unit 106 divides the pattern area clipped in step S909 into i division areas with a width w (w is one pixel or more and a maximum of five pixels) in the x-axis direction, and measures degrees of irregularity or roughness R1, R2, . . . , Ri using the foregoing equations (5) and (6) for the division areas. A mean value of the measured degrees of irregularity or roughness R in the i division areas is obtained using the following equation (7), and is taken as the final degree of irregularity or roughness. The reason why the width of the division area is at a maximum five pixels is similar to a case where the pattern in which vertical fringes are generated is processed.
According to the present exemplary embodiment, the recording position adjustment value can be accurately acquired by dividing the clipped inscribed area and obtaining an average of the degrees of irregularity or roughness even if the recording position adjustment chart is placed in an inclined position on the document positioning plate when read with a scanner.
The objective of present invention of accurately determining a recording position adjustment value is achieved even when a recording chart is placed in an inclined position on a document positioning plate as long as the recording position adjustment value is determined based on the image data read by the reading unit such as the scanner unit. Therefore, the image processing apparatus according to the present invention may be a multifunctional recording apparatus including a printer unit and a scanner unit as well as an external apparatus connected to the recording apparatus via an external I/F. The above-mentioned processing can also be executed by both the recording apparatus and the external apparatus. In such a case, an image processing system including the recording apparatus and the external apparatus achieves the object of the present invention.
The object of the present invention is also achieved if a storage medium storing a program code of software implementing the above-mentioned function is supplied to an image processing system or an image processing apparatus and the system or a computer in the apparatus reads out and executes the program code stored in the storage medium. In this case, the program code itself read out of the storage medium implements a new function of the present invention. The storage medium storing the program code constitutes the present invention.
Storage media for supplying a program code include a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a compact disk read-only memory (CD-ROM), a compact disk recordable (CD-R), a magnetic tape, a nonvolatile memory card, and a read-only memory (ROM). The program code read out by the computer is executed, to implement the function of the above-mentioned exemplary embodiment. In addition thereto, an operating system (OS) operating on the computer performs a part or the whole of actual processing based on an instruction to execute the program code. The function of the above-mentioned exemplary embodiment can also be implemented by the processing.
Although in the above-mentioned exemplary embodiment, the scanner unit reads the luminance of the recording position adjustment pattern to adjust the recording position, the recording position may be adjusted based on another optical information such as a reflection optical density (OD).
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 modifications, equivalent structures, and functions.
This application claims priority from Japanese Patent Application No. 2009-155670 filed Jun. 30, 2009, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2009-155670 | Jun 2009 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
6076915 | Gast et al. | Jun 2000 | A |
6082911 | Murakami | Jul 2000 | A |
6219517 | Takahashi et al. | Apr 2001 | B1 |
6283570 | Komiya et al. | Sep 2001 | B1 |
6404517 | Chao | Jun 2002 | B1 |
6408156 | Miyazaki et al. | Jun 2002 | B1 |
6554390 | Arquilevich et al. | Apr 2003 | B2 |
6700593 | Otsuki | Mar 2004 | B2 |
6883892 | Sievert et al. | Apr 2005 | B2 |
6886904 | Otsuki | May 2005 | B2 |
7006246 | Nakajima | Feb 2006 | B1 |
7071956 | Conrow et al. | Jul 2006 | B2 |
7420719 | Mongeon | Sep 2008 | B2 |
7568781 | Yoshida et al. | Aug 2009 | B2 |
7571978 | Nakano et al. | Aug 2009 | B2 |
7726765 | Yoshida et al. | Jun 2010 | B2 |
7735949 | Takahashi et al. | Jun 2010 | B2 |
7760370 | Oki | Jul 2010 | B2 |
7784897 | Fletcher et al. | Aug 2010 | B2 |
20030133000 | Conrow et al. | Jul 2003 | A1 |
20050270325 | Cavill et al. | Dec 2005 | A1 |
20090021551 | Fletcher et al. | Jan 2009 | A1 |
Number | Date | Country |
---|---|---|
H02-092668 | Apr 1990 | JP |
7081190 | Mar 1995 | JP |
H10-315560 | Dec 1998 | JP |
2006056077 | Mar 2006 | JP |
2006293213 | Oct 2006 | JP |
2006305952 | Nov 2006 | JP |
Entry |
---|
Data and Error Analysis, University of Arizona Physics Department Downloaded from http://www.physics.arizona.edu/physics/gdresources/documents/Appendix—%202—Data—analysis.pdf. |
Number | Date | Country | |
---|---|---|---|
20100328390 A1 | Dec 2010 | US |