Method for manufacturing a scanner performing shading correction
10469707 ยท 2019-11-05
Assignee
Inventors
Cpc classification
H04N1/409
ELECTRICITY
G05B19/402
PHYSICS
H04N1/4078
ELECTRICITY
H04N1/401
ELECTRICITY
International classification
H04N1/407
ELECTRICITY
H04N1/409
ELECTRICITY
H04N1/401
ELECTRICITY
Abstract
A scanner includes a marked reference plate in which a mark is made on a reference plate, and a non-volatile memory that stores reference data, which is a result of the reference plate disposed facing an image reading sensor being read by the image reading sensor, in which read data is acquired a result of the marked reference plate being read by the image reading sensor, and shading data is calculated by comparing the read data and the reference data.
Claims
1. A method for manufacturing a scanner in which a transported document is read by a sensor, the method comprising: storing reference data, which is a result of a reference plate for shading correction being read by the sensor before making a mark on the reference plate, in a storage section; forming a marked reference plate by making the mark on the reference plate; and installing a program that causes a controller to calculate shading data by comparing read data, which is a result of the marked reference plate being read by the sensor, and the reference data and offsetting at least one of the read data and the reference data, and to perform shading correction on a read image of the document read by the sensor on the basis of the shading data.
2. The method for manufacturing a scanner according to claim 1, wherein, in the forming, the mark is provided in a central portion of the reference plate in a main scanning direction, which intersects a transport direction of the document.
3. The method for manufacturing a scanner according to claim 1, wherein the program causes calculation of shading data of the position of the mark on the basis of the reference data of the position of the mark and read data in the periphery of the position of the mark.
4. The method for manufacturing a scanner according to claim 3, wherein, when a coordinate in a main scanning direction, which intersects a transport direction of the document, is defined as x, values of the coordinate x that specify a range over which the mark is formed in the main scanning direction are defined as A and B, the reference data in the coordinate x is defined as X(x), the read data at in coordinate x is defined as Y(x), the amount of shift of the reference data X(x) and the read data Y(x) in a phase in the main scanning direction is defined as x, a coordinate at which the coordinate x is offset by the amount of shift x is defined as x, post-offsetting read data in which the read data Y(x) is offset by the amount of shift x is defined as Y(x), a predetermined distance in the main scanning direction is defined as C, a predetermined width in the main scanning direction is defined as x, and shading data in the coordinate x is defined as Y(x), the program calculates the shading data Y(x) using formulae (1), (2), and (3) below:
Y(x)=Y(x+x)(1)
Y(x)=Y(x)(x<A or x>B)(2)
Y(x)=X(x)[Average{Y(xC+x)}+Average{Y(x+C+x)}]/[Average{X(xC+x)}+Average{X(x+C+x)}](A<x<B)(3).
5. A method for manufacturing a scanner in which a transported document is read by a sensor, the method comprising: storing reference data, which is a result of a reference plate for shading correction being read by the sensor, in a storage section; forming a marked reference plate by making a mark on the reference plate; and installing a program that causes a controller to calculate shading data by comparing read data, which is a result of the marked reference plate being read by the sensor, and the reference data, and to perform shading correction on a read image of the document read by the sensor on the basis of the shading data, wherein the program causes calculation of shading data of the position of the mark on the basis of the reference data of the position of the mark and read data in the periphery of the position of the mark.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The invention will be described with reference to the accompanying drawings, wherein like numbers reference like elements.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
DESCRIPTION OF EXEMPLARY EMBODIMENTS
(16) Hereinafter, a scanner, which is an embodiment of the invention, will be described with reference to the drawings.
(17) Overall Configuration
(18)
(19) The image reading sensor 5 is disposed above the transport pathway 6 in a state in which a sensor surface is directed downward. The transport mechanism 7 is provided with transport rollers 8, and a transport motor 9 that functions as a drive source of the transport roller 8. The transport rollers 8 are disposed on the upstream side and the downstream side of the reading position R in a document transport direction D that runs toward the ejection outlet 4 from the insertion inlet 3. In addition, a paper detector 10 is disposed in the transport pathway 6, between the transport rollers 8 and the insertion inlet 3. The paper detector 10 optically or mechanically detects documents inserted into the transport pathway 6 from the insertion inlet 3.
(20) The image reading sensor 5 of the present example is a contact image sensor (CIS) type sensor that uses a CMOS. The image reading sensor 5 is provided with a light source that radiates reading light toward the transport pathway 6, a plurality of light receiving elements that are arranged in a linear form in a main scanning direction S (the width direction of the transport pathway 6), which is orthogonal to the transport direction D, and a plurality of lenses that guide reflected light of the reading light from documents transported past the reading position R to each light receiving element. The plurality of lenses are arranged in a linear form in the main scanning direction S.
(21) A marked reference plate 15 is disposed at the reading position R in a position that faces the sensor surface with the transport pathway 6 interposed therebetween. As shown in
(22) Control System
(23)
(24) Reference data X(x) for calculating shading data for shading correction is stored and maintained in the non-volatile memory 22. The reference data X(x) is stored and maintained in the non-volatile memory 22 in the step for manufacturing the scanner 1. The reference data X(x) is a value obtained by the white reference plate 15A in a state before the mark 16 is made being disposed at the reading position R in a position that faces the sensor surface with the transport pathway 6 interposed therebetween and the reference plate 15A being read by the image reading sensor 5. In addition, in the step for manufacturing the scanner 1, a position (a coordinate in the main scanning direction S) of the mark 16 made on the reference plate 15A is stored and maintained in the non-volatile memory 22. Additionally, the reference data X(x) and a program that operates the controller of the control portion 21 may be present inside the same physical non-volatile memory 22, or may be present inside different physical non-volatile memories.
(25) That is, in the step for manufacturing the scanner 1, when the reference plate 15A and the sensor are disposed so that the reference plate 15A (a white rectangular plate in which the mark 16 has not been made) faces the sensor surface at the reading position R with the transport pathway 6 interposed therebetween, the work shown in
(26) In this instance, the drawing at the top of
(27) Furthermore, in the step for manufacturing the scanner 1, as shown in
(28) Next, as shown in
(29) When insertion of a document into the transport pathway 6 is detected by the paper detector 10, the reading portion 25 drives the transport motor 9 and causes the transport rollers 8 to rotate. As a result of this, the document is transported along the transport pathway 6. In addition, the reading portion 25 drives the image reading sensor 5 and radiates reading light from a light source. Further, the reading portion 25 acquires a read image on the basis of an output from each light receiving element in which reflected light of the reading light is received from a document that passes through the reading position R.
(30) The correction portion 26 acquires a corrected image by performing shading correction on a read image by using shading data. That is, the correction portion 26 generates a corrected image in which the level of the brightness of each pixel of a read image is adjusted as a result of performing shading correction on a read image acquired by the reading portion 25. In addition, the correction portion 26 acquires a front end and a trailing end of a document in a corrected image from the position at which the document covers the mark 16, and cuts out a document section only from the corrected image. Further, the correction portion 26 stores and maintains a cut-out corrected image in the storage device 23 as a reading result of a document.
(31) Additionally, the correction portion 26 may acquire a front end and a trailing end of a document in a read image from the position at which the document covers the mark 16, and cut out a document section only from the read image before performing shading correction of a read image. In this case, the correction portion 26 acquires a corrected image by carrying out shading correction on a cut-out read image, and stores and maintains the corrected image in the storage device 23 as a reading result of a document.
(32) The calculation section 27 acquires shading data at a predetermined timing that is set in advance before reading of a document is started, such as at a time at which an instruction for document reading is received by the scanner 1 or a time at which a power source is turned on.
(33) As shown in
(34) Next, the calculation section 27 performs a calculation step ST12 in which the acquired read data Y(x) and the reference data X(x) stored and maintained in the non-volatile memory 22 are compared, and shading data Y(xi) is calculated. The calculation step ST12 is provided with an offsetting step ST21 in which the read data Y(x) is offset in the main scanning direction S, and a data generation step ST22 in which shading data Y(x) is generated on the basis of the reference data X(x) and the post-offsetting read data Y(x).
(35) In the offsetting step ST21, the phase of the read data Y(x) and the phase of the reference data X(x) are matched. That is, generally, in a plurality of lenses arranged in the main scanning direction S in the image reading sensor 5, there is variation in the amount of light transmitted to each lens. Accordingly, as shown by the partially enlarged graph of the reference data X(x) in the range E shown in
(36) In order to solve such a shift in phases, in the offsetting step, the phase of the reference data X(x) and the phase of regions other than the position (a range over which the mark 16 is formed) of the mark 16 in the read data Y(x) are compared, and the amount of shift x of the phases is calculated. Further, as shown by the drawing on the lower side of
Y(x)=Y(x+x)(1)
(37) Next, in the data generation step ST22, the calculation section 27 configures unchanged post-offsetting read data Y(x) as the shading data Y(x) for regions other than the position of the mark 16 (a range over which the mark 16 is formed). In addition, the calculation section 27 calculates the shading data Y(x) for the position of the mark 16 on the basis of the reference data X(x) of the position of the mark 16, the reference data X(x) in the periphery of the mark 16, and the post-offsetting read data Y(x) in the periphery of the position of the mark 16.
(38) More specifically, when coordinates that specify a range over which the mark 16 is formed in the main scanning direction S are defined as A and B, the reference data is defined as X(x), post-offsetting read data is defined as Y(x), a predetermined distance f e position of the mark 16 is defined as C, and a predetermined width in the main scanning direction S is defined as x, the calculation section 27 calculates the shading data Y(x) using formulae (2) and (3) below.
Y(x)=Y(x)(x<A or x>B)(2)
Y(x)=X(x)[Average{Y(xC+x)}+Average{Y(x+C+x)}]/[Average{X(xC+x)}+Average{X(x+C+x)}](A<x<B)(3)
(39) Formula (2) configures unchanged post-offsetting read data Y(x) as the shading data Y(x) for regions other than the position of the mark 16.
(40) Formula (3) is a formula for calculating the shading data Y(x) of the position of the mark 16. Next, formula (3) will be described in detail with reference to
(41) Meanwhile, the post-offsetting read data Y(x) is shown in the graph in the middle of
(42) In such an instance, the calculation section 27 calculates the shading data Y(x) of the position of the mark 16 on the basis of formula (3). More specifically, as shown by the graph at the top of
(43) In a case in which shading correction is performed using the shading data Y(x) calculated on the basis of formula (3), the pixels of a read image that correspond to the position of the mark 16 are not overcorrected to be bright in comparison with regions other than the position of the mark 16. Accordingly, when a document similar to the case of
(44) In this instance,
(45) According to the observations of the present inventors, in a case in which the corrected image of the scanner, which shown in
(46) Document Reading Operation
(47) Next, an example of a document reading operation in which the scanner 1 reads a document will be described with reference to
(48) Thereafter, when insertion of a document into the transport pathway 6 is detected by the paper detector 10, the control portion 21 (the reading portion 25) drives the transport motor 9 and causes the transport rollers 8 to rotate. In addition, the control portion 21 drives the image reading sensor 5 and acquires a read image of the document that passes through the reading position R (Step ST32).
(49) In this instance, when a read image is acquired, the control portion 21 (the correction portion 26) acquires a corrected image by performing shading correction of the read image by using the shading data Y(x) (Step ST33). In addition, the control portion 21 (the correction portion 26) acquires a front end and a trailing end of the document in the corrected image from the position at which the document covers the mark 16, cuts out a document section only from the corrected image, and saves the cut-out corrected image in the storage device 23 as a reading result of the document (Step ST34).
(50) According to the present example, shading correction for a read image is performed using the shading data Y(x) calculated by the calculation section 27. Accordingly, in a case in which the marked reference plate 15 is used, it is also possible to favorably perform correction in a similar manner to a case in which read data obtained as a result of the reference plate 15A, in which the mark 16 is not made, being read, is used as the shading data.
(51) In addition, in the present example, the mark 16 is provided on the marked reference plate 15 in a central portion of the reference plate 15A in the main scanning direction S, which intersects the transport direction D of a document. Accordingly, when a document is transported to the reading position R, it is possible to cover the mark 16 with the document. Therefore, it is possible to acquire a front end and a trailing end of a document in a read image or a corrected image from the position at which the document shields the mark 16. As a result of this, it is easy to cut out the document section only from a read image or a corrected image.
(52) In this instance, in the present example, an example of white shading in which the shading data Y(x) is acquired by reading the marked reference plate 15 in a state in which the reading light is radiated from the light source is shown, but in a case in which black shading, in which the shading data Y(x) is acquired by reading the marked reference plate 15 without the reading light being radiated from the light source, it is also possible to acquire the shading data Y(x) in a similar manner to the above-mentioned example irrespective of the presence or absence of radiation of the reading light.
(53) Additionally, naturally, a second image reading sensor may be mounted in the scanner 1 of the present example, and a front surface and a rear surface of a document transported through the transport pathway 6 may be read. In this case, the second image reading sensor is disposed on the upstream side or the downstream side of the reading position R on a side opposite the image reading sensor 5 with the transport pathway 6 interposed therebetween. In addition, a second marked reference plate is disposed at a reading position of the second image reading sensor in a position that faces a sensor surface of the second image reading sensor with the transport pathway 6 interposed therebetween. Further, when shading correction is performed on a read image read by the second image reading sensor, rather than using unchanged read data obtained by the second marked reference plate being read by the second image reading sensor as shading data, shading data is calculated in a similar manner to the above-mentioned case.
(54) That is, in the step for manufacturing the scanner, second reference data, which is a result of a second reference plate being read by the second image reading sensor in a state in which a mark is not made, is stored and maintained in the non-volatile memory 22. Thereafter, a mark is provided on the second reference plate, and is disposed in a position that faces the sensor surface of the second image reading sensor as a second marked reference plate. Further, before reading of a document is started, the second read data is acquired as a result of the second marked reference plate being read by the second image reading sensor, and the shading data is calculated by comparing the second read data and the second reference data. Additionally, a mark may be made on a reference plate that faces one image reading sensor only, and not made for the other.
(55) In this instance, the image reading sensor 5 may be a CCD (Charge Coupled Device). In addition, in a case in which the invention is applied to a color scanner, reference data is stored for each color, and the above-mentioned process is performed for each color.
(56) In addition, a scanner to which the invention is applied may be a dedicated scanning machine that performs scanning only, or may be a multifunction peripheral that is provided with a printing function, a FAX communication function, and the like, in addition to scanning.