1. Field of the Invention
The present invention relates to image reading apparatuses that read an image of an original while transporting the original, to methods of controlling image reading apparatuses, and storage medium.
2. Description of the Related Art
Conventionally there are image reading apparatuses that use an automatic original transport device (automatic document feeder, hereinafter “ADF”) to carry out “flowing document reading” in which multiple originals are read. When a foreign substance such as dirt, dust, or an abrasion or smearing (hereinafter “dust”) adheres to a reading position of the original in the image reading apparatus, pixels in the area are distinguished as black pixels, thereby generating black streaks in the sub scanning direction (original feeding direction). As a technique for suppressing the generation of these black streaks, a technique relating to so-called dust correction in which dust adhering to a reading position of the original is detected and the black pixel data that has been generated by this dust is corrected in order to make the black streaks inconspicuous is known (Japanese Patent Laid-Open No. 2002-185725).
Dust detection is carried out immediately prior to reading each original, but there are cases where dust adheres to a reading position of the original while the original is being read. For example, there are cases where, during the reading of an original, dust that has adhered to the original then adheres onto a reading position at which a sensor reads the original. In this case, the detection of this adhered dust is carried out immediately prior to the reading of the next original after the original that was the cause of the dust adherence, and therefore dust correction can be carried out on the image data that has been read from the next original. However, the fact that dust correction cannot be carried out on the image data of the original that was the cause of the dust adherence during reading is a problem, as poor quality image data is obtained with black streaks remaining in the image data of the original.
An aspect of the present invention is to eliminate the above-mentioned problems with the conventional technology.
A feature of the invention of the present application is to provide a technique by which correction of image data of an original can be performed even in a case where dust has adhered to the original during reading.
According to an aspect of the present invention, there is provided an image reading apparatus, comprising: a conveying unit configured to convey an original, a reading unit configured to read the original conveyed by the conveying unit, a generation unit configured to generate image data corresponding to the original that has been read by the reading unit, a reversing unit configured to reverse the original that has been read by the reading unit, a determination unit configured to determine whether or not an abnormal pixel is included in the image data generated by the generation unit, a conveying control unit configured to, in a case where the determination unit has determined that an abnormal pixel is included, control the conveying unit so that after the original has been reversed by the reversing unit for re-reading of the original by the reading unit, the original is conveyed to a reading position of the reading unit, and a correction unit configured to cause the reading unit to read the original conveyed according to control by the conveying control unit and causes the generation unit to generate image data and corrects the image data.
Further features and aspects of the present invention will become apparent from the following 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 embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Embodiments of the present invention will be described hereinafter in detail, with reference to the accompanying drawings. It is to be understood that the following embodiment is not intended to limit the claims of the present invention, and that not all of the combinations of the aspects that are described according to the following embodiment are necessarily required with respect to the means to solve the problems according to the present invention.
In
A CPU 110 executes programs stored on a ROM 220 such that various types of control are executed by the controller 100 and the image forming apparatus 10 is comprehensively controlled. The controller 100 carries out transport control and reading control of originals by a double-side ADF-equipped scanner (hereinafter “scanner”) 2000, and transport control and printing control of recording papers by a printer engine 1600. An image processor 120 executes various types of image processing for executing the print jobs received from the PC 11, and image processing on image data that has been read by the scanner 2000. A PC interface (I/F) 130 controls communications with the PC 11. A RAM interface 140 carries out exchanges of data with the RAM 210. A panel interface 150 carries out communications with a console unit 1500, which functions as a user interface (UI). A printer interface 160 carries image data transfers to and communications with a printer engine 1600. A ROM interface 170 carries out exchanges of data with the ROM 220. The system bus 180 connects the aforementioned units and the CPU 110. A scanner interface 200 inputs image data that has been read optically by the scanner 2000 and carries out communication with the scanner 2000. The RAM 210 provides an area for executing control programs, an area for work data for image processing, and a storage area for output data. The ROM 220 stores control programs and various types of data. The printer engine 1600 is a printer engine that carries out printing using an electrophotographic method for example. It should be noted that the printer engine 1600 is not limited to the printer engine of the present embodiment, and may be a printer engine of an inkjet printer, or the like, for example.
In
Originals 2100 that are loaded in the paper feed tray 2001 are fed sheet by sheet by a feed roller and a conveyance roller, then transported at a constant velocity due to the rotation of a driving roller 2005 to pass through a reading position 2008 of the original, after which the originals are discharged to the discharge tray 2003. During transport of the original, an image sensor 2006 inputs reflected light from the original at the reading position 2008 to generate main scanning direction image signals. The image signals are converted to digital signals then undergo image processing by the image processor 120 by way of the scanner I/F 200 in the printer controller 100. Numeral 2004 denotes a platen glass. In the present embodiment, since the originals are read using flowing document reading, a description is omitted relating to the reading of originals using this platen glass 2004.
Numeral 2007 denotes a separation pawl, which fulfills the role of a switch for switching the destination of transport of the original 2100 that has been transported by the driving roller 2005 to either a reversing tray 2002 or the discharge tray 2003. Numeral 2200 denotes a path along which the original moves when the original 2100 is transported to the reversing tray 2002. When the separation pawl 2007 is switched to a position indicated by ON, the original 2100 transported by the rotation of the driving roller 2005 is transported to the reversing tray 2002. Furthermore, when the separation pawl 2007 is switched to a position indicated by OFF, the original 2100 transported by the rotation of the driving roller 2005 is transported to the discharge tray 2003 as indicated by numeral 2201.
Next, description is given with reference to
In step S300, the CPU 110 reads a first original 2100 using the scanner 2000. The original 2100 placed on the paper feed tray 2001 is transported by the driving roller 2005. An image of the transported original is read by the image sensor 2006. The scanner 2000 generates image data in accordance with the image data of the original that has been read. This image data is stored in the RAM 210 by way of the scanner I/F 200. Next, the procedure proceeds to step S301 and the CPU 110 detects for a presence/absence of an abnormal pixel originating from a foreign substance (hereinafter known as “dust”) such as dirt or dust that has adhered to the reading position 2008 of the original. This is referred to as dust detection. The dust detection is carried out in the following manner. In a state in which no original is present at the reading position 2008 of originals, the scanner 2000 reads a white reference plate (white image) that is positioned at an upper surface of the reading position 2008 of the originals, and detects whether or not black pixel data is present in the image data that has been read. This dust detection may be carried out by the image processor 120, which is hardware, or may be carried out according to a program that is expanded in the RAM 210 and executed by the CPU 110. According to this dust detection, the CPU 110 determines the positions of pixels for which dust correction is to be carried out and stores these positions in the RAM 210.
Next, the procedure proceeds to step S302 where the CPU 110 determines whether or not the dust detection result for the original that has been read in step S300 exceeds a threshold for dust detection that has been set in advance by the user. For example, the CPU 110 determines, in the image data of the original that has been read in step S302, whether or not the number of abnormal pixels exceeds a predetermined number. Alternatively, the CPU 110 may determine, in the image data of the original that has been read in step S302, whether or not a sum of density values of abnormal pixels is equal to or greater than a predetermined value. In a case where the threshold is exceeded according to these methods (where the number of abnormal pixels is equal to or greater than the predetermined number or the density value of abnormal pixels is equal to or greater than the predetermined value), the process proceeds to step S303, but in a case where the threshold is not exceeded, it determines that the original has been read normally and proceeds to step S309. The threshold is a value for determining whether or not the effect of the size or the like of the detected dust is of an extent that can be ignored from the perspective of the quality of image data that has been read. Accordingly, when it is determined that the threshold has not been exceeded, the image data that has been obtained by reading is processed without dust correction being carried out, which is the same as a case of no dust.
On the other hand, in a case where the effect of dust cannot be ignored, the CPU 110 generates data (dust correction data) indicating the position of the dust based on the image data of the original used in the detection of the dust, and stores the data in the RAM 210. Then the procedure proceeds to step S303 and the CPU 110 switches the separation pawl 2007 to the position indicated by ON in
In step S309, the CPU 110 causes the driving roller 2005 to rotate such that the original 2100 that has been read is transported to the discharge tray 2003. At this time, the separation pawl 2007 is as it is in the position indicated by OFF in
In this way, in a case where it has been determined abnormal pixels are included during reading of an original, the image reading apparatus reverses that original using the reversing tray 2002 so as to read that original again. The thus-reversed original is again transported to the reading position 2008 and read by the image sensor 2006.
In contrast to this, in the dust detection after the second original has been read, the result of the dust detection is that the threshold is exceeded. For this reason, the procedure proceeds from step S302 to step S303 in
It should be noted that in
According to the present embodiment described above, in a case where dust has adhered to the reading position of the original during reading of the original, the original is re-read and the image data of the original that has been read can then be corrected based on the dust detected data thereof, and therefore image data of the original can be obtained in which the effect of the dust is removed.
It should be noted that when reading an original subsequent to the second original for which adherence of dust has been detected, there is a risk that the position of that dust may vary and therefore detailed dust detection processing (the dust detection process 602 of
Furthermore, in regard to the simple dust detection test 601 of
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiment(s), and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiment(s). For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (for example, computer-readable medium).
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. 2010-182590, filed Aug. 17, 2010, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2010-182590 | Aug 2010 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
8009912 | Tanaka | Aug 2011 | B2 |
20030007196 | Ishimaru et al. | Jan 2003 | A1 |
20030090742 | Fukuda et al. | May 2003 | A1 |
20060256398 | Ishimaru et al. | Nov 2006 | A1 |
20090059277 | Murata et al. | Mar 2009 | A1 |
20100157386 | Okumura | Jun 2010 | A1 |
Number | Date | Country |
---|---|---|
101378435 | Mar 2009 | CN |
101646003 | Feb 2010 | CN |
1085746 | Mar 2001 | EP |
2001-157053 | Jun 2001 | JP |
2002-185725 | Jun 2002 | JP |
2003-018363 | Jan 2003 | JP |
Entry |
---|
Chinese Office Action dated Nov. 22, 2013, in counterpart Chinese Patent Application No. 201110231943.1, and English translation thereof. |
Number | Date | Country | |
---|---|---|---|
20120044541 A1 | Feb 2012 | US |