Embodiments described herein relate generally to an image reading apparatus which optically reads an image on a document, a control method for the same, and an image forming apparatus.
An image forming apparatus, for example, a copier has an image reading apparatus or so-called scanning unit including an automatic document feeder (ADF). In this scanning unit, plural sheets of documents set on a tray are fed one by one to a scanning window and passed over the scanning window. Thus, an image on the passing document is read by optical line scan through the scanning window.
A glue of a sticker tag may be adhering to a document. When this document is fed to the scanning window by the automatic document feeder, the glue adhering to the document adheres to the scanning window. Also, ink and dust on the document may adhere to the glue adhering to the scanning window.
As the glue, ink, dust and the like are adhering to the scanning window, the scanned image includes an image of unwanted stripes.
In general, according to one embodiment, an image reading apparatus includes: a scanning unit which feeds a document to a scanning window, passes the document over the scanning window, and reads an image of the passing document by optical line scan through the scanning window; an adhering matter detecting section which detects whether the image read by the scanning unit includes one or plural images of adhering matter in the scanning window or not, when the scanning unit operates; and an adhering matter removing section which removes the image of the adhering matter from the image read by the scanning unit when a result of the detection by the adhering matter detecting section is positive.
Hereinafter, an embodiment will be described with reference to the drawings.
As shown in
A carriage 14 is provided to the lower side of the document plate 11. An exposure lamp 15 is provided in the carriage 14. The carriage 14 reciprocates along the lower side of the document plate 11. As the exposure lamp 15 turns on while the carriage 14 moves forward along the document plate 11, a document D placed on the document plate 11 is exposed to light. With this exposure, a reflected light image from the document D is acquired. This reflected light image is projected to an image data output unit, for example, a CCD (charge coupled device) sensor 20, by reflection mirrors 16, 17 and 18 and a variable-power lens block 19.
The CCD sensor 20 performs line scan with the received light along the axial direction of the exposure lamp 15 and thus outputs red image data R, green image data G, blue image data B and black image data BK corresponding to the image of the document D. The CCD sensor 20 repeats this line scan as the carriage 14 moves forward. The direction of the line scan by the CCD sensor 20 is a main scanning direction X. The direction of the forward movement of the carriage 14 is a sub scanning direction Y.
An automatic document feeder (ADF) 21 which also serves as a cover is arranged over the document plate 11, the indicator 12 and the scanning window 13 in such a manner that the automatic document feeder 21 can freely open and close. The automatic document feeder 21 feeds the document D including plural sheets set on a tray 22 to the scanning window 13 sheet by sheet, then passes the document over the scanning window 13, and discharges the passed document D to a tray 23. When the automatic document feeder 21 operates, the exposure lamp 15 emits light at a position corresponding to the scanning window 13 and the light is cast through the scanning window 13 onto the document D passed over the scanning window 13. The document D passing over the scanning window 13 is exposed by the casting. A reflected light image acquired by this exposure is projected to the CCD sensor 20 by the reflection mirrors 16, 17 and 18 and the variable-power lens block 19.
The document plate 11, the scanning window 13, the carriage 14, the exposure lamp 15, the reflection mirrors 16, 17 and 18, the variable-power lens block 19, the CCD sensor 20, and the automatic document feeder 21 constitute the scanning unit 2. The scanning window 13, the carriage 14, the exposure lamp 15, the reflection mirrors 16, 17 and 18, the variable-power lens block 19, and the CCD sensor 20 constitute an exposure unit for the automatic document feeder 21. That is, the exposure unit for the automatic document feeder 21 casts the light of the exposure lamp 15 through the scanning window 13 onto the document D passing over the scanning window 13, then projects the reflected light image from the document D to the CCD sensor 20 via the reflection mirrors 16, 17 and 18 and the variable-power lens block 19, and reads the image of the document D by repeating the line scan by the CCD sensor 20.
A printing unit 3 is provided below the scanning unit 2 in the body 1. The printing unit 3 prints an image read by the exposure unit onto a sheet.
A bus 31 is connected to a CPU 30 as a main control unit. The scanning unit 2, the printing unit 3, a main memory 32, a control panel 33, an input-output interface 34, a hard disk drive (HDD) 35, a local memory 36, and an image processing unit 40 are connected to the bus 31. The control panel 33 is for the user to set operation conditions. The local memory 36 is for temporarily storing image data that is processed by the image processing unit 40. Plural client terminals, for example, personal computers 71 are connected to the input-output interface 34 via a network cable 70.
The image processing unit 40 includes a shading correcting section 41, an interline processing section 42, an enlarging and reducing section 43, an image compressing section 44, a page memory 45, an image expanding section 46, a final processing section 47, an adhering matter detecting section 50, and an adhering matter removing section 60 or the like.
The shading correcting section 41 corrects the shading of the image data R, G, B and BK outputted from the CCD sensor 20. The interline processing section 42 performs interline processing of the image data R, G, B and BK that shading-corrected by the shading correcting section 41. The enlarging and reducing section 43 enlarges or reduces the image data R, G, B and BK that are processed by the interline processing section 42. The image compressing section 44 compresses the image data R, G, B and BK that are enlarged or reduced by the enlarging and reducing section 43. The page memory 45 sequentially and temporarily stores the image data R, G, B equivalent to one page that are compressed by the image compressing section 44, and properly executes rotation of the temporarily stored image data R, G, B equivalent to one page in response to an instruction from the CPU 30. The image expanding section 46 expands the image data R, G, B equivalent to one page in the page memory 45. The final processing section 47 performs final processing of the image data R, G, B equivalent to one page that are processed by the adhering matter removing section 60, such as color conversion, filtering, and gradation processing.
The adhering matter detecting section 50 is for detecting whether the image data R, G, B and BK processed by the interline processing section 42 include one or plural image data of adhering matter in the scanning window 13. The adhering matter detecting section 50 includes a monochrome converting section 51, a differential value calculating section 52, an average value calculating section 53, and a determining section 54. The adhering matter is, for example, glue, ink, dust and the like.
The monochrome converting section 51 converts the image data R, G, B processed by the interline processing section 42 to one monochrome data P by calculating “(image data R+image data G+image data B)/3” when the scanning unit 2 operates.
The differential value calculating section 52 calculates the differential value (absolute value) between the monochrome data P converted by the monochrome converting section 51 and the black image data BK processed by the interline processing section 42, for each pixel in the read image equivalent to one page, when the reading of the image equivalent to one page by the scanning unit 2 is completed.
The read image equivalent to one page is acquired as the line scan (in the main scanning direction X) of n pixels by the CCD sensor 20 is repeated for m lines in the sub scanning direction Y, as shown in
The differential value calculating section 52 calculates the differential value (absolute value) P between the monochrome data P and the black image data BK for each of the “n×m” pixels. That is, when the monochrome data P of the pixel with the coordinate value “0, 0” is P00 and the black image data BK of the pixel with the same coordinate value “0, 0” is BK00, the differential value calculating section 52 calculates “P00−BK00” to find the differential value Q00 of the pixel with the coordinate value “0, 0”. When the image data R, G, B of the pixel with the coordinate value “0, 0” includes no “image data of adhering matter”, the monochrome data P00 is equal to the black image data BK00. When the image data R, G, B of the pixel with the coordinate value “0, 0” includes “image data of adhering matter”, there is a difference between the monochrome data P00 and the black image data BK00.
Similarly, when the monochrome data P of the pixel with the coordinate value “1, 0” is P10 and the black image data BK of the pixel with the same coordinate value “1, 0” is BK10, the differential value calculating section 52 calculates “P10−BK10” to find the differential value Q10 of the pixel with the coordinate value “1, 0”. When the monochrome data P of the pixel with the coordinate value “n, 0” is Pn0 and the black image data BK of the pixel with the same coordinate value “n, 0” is BKn0, the differential value calculating section 52 calculates “Pn0−BKn0” to find the differential value Qn0 of the pixel with the coordinate value “n, 0”. When the monochrome data P of the pixel with the coordinate value “0, 1” is P01 and the black image data BK of the pixel with the same coordinate value “0, 1” is BK01, the differential value calculating section 52 calculates “P01−BK01” to find the differential value Q01 of the pixel with the coordinate value “0, 1”. When the monochrome data P of the pixel with the coordinate value “1, 1” is P11 and the black image data BK of the pixel with the same coordinate value “1, 1” is BK11, the differential value calculating section 52 calculates “P11−BK11” to find the differential value Q11 of the pixel with the coordinate value “1, 1”. When the monochrome data P of the pixel with the coordinate value “n, 1” is Pn1 and the black image data BK of the pixel with the same coordinate value “n, 1” is BKn1, the differential value calculating section 52 calculates “Pn1−BKn1” to find the differential value Qn1 of the pixel with the coordinate value “n, 1”.
When the reading of the image equivalent to one page by the scanning unit 2 is completed, the average value calculating section 53 adds the differential values Q calculated by the differential value calculating section 52, by each pixel in the direction of the line scan by the CCD sensor 20 (the main scanning direction X) and divides the “added value by pixel” by the number of lines in the line scan for one page by the CCD sensor 20. Thus, the average value calculating section 53 calculates the “average value of differential values by pixel” in the direction of the line scan by the CCD sensor 20.
That is, the m “differential values by pixel” for the coordinate values “0, 0”, “0, 1”, . . . “0, m” corresponding to the first pixel on the CCD sensor 20 are added along the sub scanning direction Y, as indicated by double-dotted chain lines surrounding the coordinates values in
The determining section 54 determines whether any of the image data of each pixel in the direction of the line scan by the CCD sensor 20 includes the “image data of adhering matter” or not, on the basis of the “average value of differential values by pixel” calculated by the average value calculating section 53. When the result of this determination is positive, the determining section 54 determines the pixel of the image data including the “image data of adhering matter”. The CPU 30 receives the result of the determination by the determining section 54.
When the result of the detection by the adhering matter detecting section 50 is positive, the adhering matter removing section 60 removes the image data of adhering matter from the image data R, G, B equivalent to one page that is expanded by the image expanding section 46. Specifically, when it is determined by the determining section 54 that any of the image data R, G, B of each pixel in the direction of the line scan by the CCD sensor 20 includes the “image data of adhering matter” and the pixel of the image data R, G, B including the “image data of adhering matter” is determined by the determining section 54, the adhering matter removing section 60 corrects the image data R, G, B of the determined pixel to image data R, G, B that does not include the “image data of adhering matter” by linear interpolation. The adhering matter removing section 60 includes a pixel interpolating section 61 and a selector 62. The adhering matter removing section 60 grasps the result of each determination by the determining section 54 on the basis of a notification from the CPU 30.
The pixel interpolating section 61 grasps the pixel of the image data R, G, B including the “image data of adhering matter” on the basis of a notification from the CPU 30 and corrects the image data R, G, B of the grasped pixel to image data R, G, B that does not include the “image data of adhering matter” by linear interpolation.
The selector 62 selects and outputs either the image data R, G, B expanded by the image expanding section 46 or the image data R, G, B corrected by the pixel interpolating section 61 on the basis of an instruction from the CPU 30.
The CPU 30 has a correcting section 30a and an instructing section 30b as its main functions. When one kind of processing of enlargement, reduction, and rotation by the enlarging and reducing section 43 is carried out to the image read by the scanning unit 2, the correcting section 30a corrects the pixel of the image data R, G, B including the “image data of adhering matter” determined by the determining section 54, along the performed processing. The instructing section 30b notifies the pixel interpolating section 61 of the result of the correction by the correcting section 30a. Also, when it is determined by the determining section 54 that the “image data of adhering matter” is included, the instructing section 30b instructs the selector 62 to selectively output the image data R, G, B corrected by the pixel interpolating section 61. When it is not determined by the determining section 54 that the “image data of adhering matter” is included, the instructing section 30b instructs the selector 62 to selectively output the image data R, G, B expanded by the image expanding section 46.
The enlarging and reducing section 43 changes the magnifying power in the main scanning direction X within the range of 25 to 400% in accordance with a magnifying power setting operation on the control panel 33. Where the maximum number of pixels that can be printed in the main scanning direction X with the magnifying power of 100% in the main scanning direction X is 7000 and the pixel of the image data R, G, B including “image data of adhering matter” is, for example, the 1000th pixel, when the magnifying power of 25% is set on the control panel 33, the correcting section 30a of the CPU 30 corrects the pixel of the image data R, G, B including the “image data of adhering matter” to the 250th pixel by calculating “1000×0.25”. When the magnifying power of 141% is set on the control panel 33, the correcting section 30a of the CPU 30 corrects the pixel of the image data R, G, B including the “image data of adhering matter” to the 1410th pixel by calculating “1000×1.41”. However, when the position of the corrected pixel exceeds the maximum number of pixels 7000, the correcting section 30a of the CPU 30 determines that there is no adhering matter, as exceptional processing, and notifies the adhering matter removing section 60 of this processing. When the position of the corrected pixel exceeds the maximum number of pixels 7000, there is no problem because an unwanted image due to the adhering matter is not printed.
When the image data R, G, B equivalent to one page in the page memory 45 is rotated by 90 degrees to the right and the pixel of the image data R, G, B including “image data of adhering matter” is the 1000th pixel, the correcting section 30a of the CPU 30 corrects the pixel of the image data R, G, B including the “image data of adhering matter” to the 1000th pixel in the sub scanning direction Y in the read image shown in
In the 2 in 1 mode where images equivalent to two pages are to be printed on one print sheet, the magnifying power is 71% and therefore, for the image of the first page, the correcting section 30a of the CPU 30 corrects the pixel of the image data R, G, B including “image data of adhering matter” to the “number of margin pixels+710”th pixel by calculating “the number of margin pixels+1000×0.71”, as shown in
As the automatic document feeder 21 starts reading (YES in ACT 101) and the reading of an image equivalent to one page is completed (YES in ACT 102), the CPU 30 checks the result of the detection by the adhering matter detecting section 50 (ACT 103), as shown in the flowchart of
As described above, when the scanning unit 2 operates, whether an image read by the scanning unit 2 includes one or plural images of adhering matter in the scanning window 13 is detected. When an image of adhering matter is included, the image of adhering matter is removed from the image read by the scanning unit 2. Thus, even when glue, ink or dust is adhering to the scanning window 13, an unwanted stripe image due to the adhering matter is not printed.
The subjective bodies performing the operations are associated with a computer such as hardware, a combination of hardware and software, software, and software in operation. Although the subjective bodies performing the operations are, for example, processes, processors, object-executing files, threads, programs, and computers, the invention is not limited to these subjective bodies. For example, an image reading apparatus or an application executed therein may be the subjective body performing the operations. The plural subjective bodies performing the operations may be distributed to a process or a thread. The subjective bodies performing the operations may exist in a single image reading apparatus, or may be distributed to plural image reading apparatuses.
Although the functions putting the invention into practice are recorded in advance in the apparatus in this embodiment, the invention is not limited to this configuration. The functions may be downloaded onto the apparatus from a network, or a recording medium storing the functions may be installed in the apparatus. The type of the recording medium is not particularly limited, as long as it is a recording medium which can store programs and which can be read by the apparatus, such as a CD-ROM. The functions obtained by the installation or the download in advance may be embodied in cooperation with the OS (operating system) of the apparatus.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
This application is based upon and claims the benefit of priority from U.S. Provisional Application No. 61/263,480, filed on Nov. 23, 2009, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61263480 | Nov 2009 | US |