Image signal correction light source that can cope with dust and scratch on transparent document, and its control

Abstract
In a method of controlling an image reading apparatus, which has an illumination unit adapted to irradiate an object with first and second light rays in different frequency ranges, and a light-receiving unit adapted to receive light coming from the object, and to output a signal, and reads an image of the object by moving the illumination unit and light-receiving unit relative to the object, the light-receiving unit outputs a first signal in response to irradiation with the first light ray, and outputs a second signal in response to irradiation with the second light ray. Upon reading image information for one line by the image reading apparatus, the second light ray is controlled to be sequentially turned on at a plurality of timings to sandwich the ON timing of the first light ray, and image signals for one line corresponding to the first and second light rays are obtained by averaging or adding respective pieces of image information obtained at the plurality of timings for each of the first and second signals.
Description


FIELD OF THE INVENTION

[0001] The present invention relates to a technique for reading information on a transparent document such as a photo film or the like, and correcting defects caused by, e.g., dust and scratches in an image by processing the read image signal.



BACKGROUND OF THE INVENTION

[0002] In recent years, along with the development of communication networks, high-speed computers, and large-size storage media, higher image quality is demanded upon handling color image information. Above all, a demand for accurately reading color image information at high speed and with high image quality using a scanner or the like is increasing.


[0003] Also, upon reading an image on a photo film, a demand for accurately reading photo film image information of a sleeve form having a plurality of frames at high speed and with high image quality is increasing. In order to read a film image with higher image quality, an image reading apparatus having dust/scratch removal processing unit on a film has been proposed, and Japanese Patent Laid-Open No. 2001-298593 is known as such example. According to this proposal, a light source, which has an infrared LED used to detect dust/scratch information, and a light source used to read image information, forms a surface light source, and can read an image free from the influences of dust and scratches. However, since the surface light source as an indirect illumination system has poor illumination efficiency, a method of synchronously moving an illumination system and optical system is known so as to read an image at higher speed and with higher image quality.


[0004] As the method of controlling the illumination system and optical system, Japanese Patent Laid-Open No. 10-004481 or the like is known. This proposal provides means that reduces the influences of, e.g., synchronous errors caused by positional deviation between the illumination system and optical system as much as possible. Also, as an arrangement which has a plurality of light sources, and reduces positional deviation of pixel information corresponding to the plurality of light sources by controlling the phases of ON/OFF controllers of the light sources upon reading image information while changing the light sources to be turned on by line, that is disclosed in Japanese Patent Laid-Open No. 2001-045234 is known.


[0005] An example which is designed to improve dust/scratch component removal performance from an image signal obtained by reading a transparent document will be briefly described below using FIGS. 15, 16, 17A, and 17B.


[0006]
FIG. 15 is a schematic sectional view showing an example of an image reading apparatus which can read both a reflective document such as a paper document or the like, and a transparent document such as a photo film or the like, and FIG. 16 is a partially cutaway front view showing an example of a transparent document illumination device used in the image reading apparatus having a dust/scratch removal function.


[0007] An image reading apparatus 100 includes a transparent document illumination device 200 required to read a transparent document such as a photo film or the like, and the device 200 is electrically connected to an image reading apparatus control board 3 via a transparent document light source ON/OFF inverter 7 and I/F cable 15 so as to be controlled by the control board 3. The transparent document illumination device 200 has a transparent document illumination unit 18 used to read a transparent document. An optical unit 14 has a first reflection mirror 9, second reflection mirror 10, third reflection mirror 11, and lens 12, which are required to optically form a transparent document image on a CCD image sensor 13, and also a reflective document illumination light source 8 used to illuminate a reflective document such as a paper document or the like with light. The optical unit 14 reads an image while scanning in the direction of an arrow in FIG. 15 (sub-scan direction) by the image input apparatus control board 3 and a motor 16. Note that an image falling within a range specified by the optical unit 14 indicated by the dotted line, and the position of the transparent document illumination unit 18 can be read.


[0008] The CCD image sensor 13 and image input apparatus control board 3 are electrically connected via a signal cable 17. By synchronously scanning the transparent document illumination unit 18 and optical unit 14 by the motor 16, an electrical signal photoelectrically converted by the CCD image sensor 13 can be acquired as image data. A transparent plate 19 is interposed between the transparent document illumination unit 18 and a film guide 5 on a platen glass 6, and is arranged in the transparent document illumination device 200. The transparent plate 19 uses transparent glass or a diffusion material. In the transparent document illumination unit 18, a light source 4 used to read a transparent document, and an infrared LED array 27 used to acquire dust/scratch information are nearly parallelly juxtaposed, as shown in FIG. 16.


[0009]
FIG. 17B shows the optical positional relationship upon synchronously scanning the transparent document illumination unit 18 and optical unit 14, and FIG. 17A is a graph showing the amounts of light of the light source 4 and infrared LED array 27. In FIG. 17A, the ordinate plots the amount of light, and the abscissa plots the position in the sub-scan direction in FIG. 17B. In order to read a film placed in the film guide 5, which is set at a predetermined position in advance, a diffusion sheet 30 is provided to make a light amount distribution L1a formed by light source 4 and a light amount distribution L2a formed by the infrared LED array 27 more homogeneous within a predetermined range (the read position of the optical unit 14) in the sub-scan direction.


[0010] Upon reading a transparent document image, the light source 4 and infrared LED array 27 are line-sequentially switched and scanned, while maintaining the positional relationship shown in FIG. 17B all the time, thus reading a high-quality image by utilizing the dust/scratch removal function in one scan.


[0011] However, it is often difficult to accurately detect position information of dust, scratches, and the like on a film.


[0012] For example, FIG. 18 simply shows a method of reducing image positional deviation.


[0013] In FIG. 18, Motor HSYNC indicates a period signal for 1 Line to be scanned by the motor 16. In 1 Line, the accumulation time (CCD Shift gate pulse period) of the CCD image sensor 13 is divided into two periods, as shown in, e.g., FIG. 18, and a signal component as image information obtained by an ON/OFF control pulse of the light source 4, and a signal component as image information obtained by a relative ON time based on an ON/OFF control pulse of the infrared LED array 27 are line-sequentially obtained as CCD output signals in these periods. However, positional deviation of image information cannot be perfectly removed by only control based on the relative ON time with respect to the light amount distributions of the respective light sources in FIG. 17A. Also, the ON times of the respective light sources may become considerably shorter than the CCD accumulation time, resulting in poor S/N.


[0014] In the method using the conventional means proposed by Japanese Patent Laid-Open No. 2001-045234, the infrared LED array 27 is required to emit a large amount of light to obtain a homogeneous light amount distribution within the range on a document corresponding to RGB, 3-line range. Hence, the cost increases due to an increase in the number of chips of the LED array.



SUMMARY OF THE INVENTION

[0015] The present invention has been made in consideration of the above situation, and has as its first object to suppress positional deviation of image information and to improve the S/N.


[0016] It is a second object of the present invention to reduce the cost of an infrared light source without causing a quality drop of a CCD output signal.


[0017] According to the present invention, the foregoing first object is attained by providing a method of controlling an image reading apparatus, which comprises an illumination unit adapted to irradiate an object with first and second light rays in different frequency ranges, and a light-receiving unit adapted to receive light coming from the object, and to output a signal, and reads an image of the object by moving the illumination unit and light-receiving unit relative to the object, comprising: outputting from the light-receiving unit a first signal in response to irradiation with the first light ray, and a second signal in response to irradiation with the second light ray; and controlling to sequentially turn on the second light ray at a plurality of timings to sandwich an ON timing of the first light ray, and to obtain image signals for one line corresponding to the first and second light rays by averaging or adding respective pieces of image information obtained at the plurality of timings for each of the first and second signals, upon reading image information for one line by the image reading apparatus.


[0018] Further, according to the present invention, the first object of the present invention is also attained by providing an image reading apparatus comprising: an illumination unit adapted to irradiate an object with first and second light rays in different frequency ranges; a light-receiving unit adapted to receive light coming from the object, and to output a signal; a read controller adapted to read an image of the object by moving the illumination unit and the light-receiving unit relative to the object; a drive signal supply unit adapted to supply drive signals to the light-receiving unit to sequentially turn on the second light ray at a plurality of timings to sandwich an ON timing of the first light ray, and to output a first signal in response to irradiation with the first light ray, and a second signal in response to irradiation with the second light ray, upon reading image information for one line by the light-receiving unit; and a signal controller adapted to control to average or add a plurality of pieces of image information in one line obtained at the plurality of ON timings for each of the first and second signals.


[0019] Furthermore, the first object of the present invention is also attained by providing an illumination apparatus comprising a first light source unit adapted to emit light in a first frequency range, and a second light unit adapted to emit light in a second frequency range, which are arranged on substantially one line.


[0020] Further, the second object of the present invention is attained by providing an image sensing apparatus comprising: a fist light source unit having a line shape adapted to irradiate an object with light in a first frequency range; a second light source unit having a line shape adapted to irradiate the object with light in a second frequency range which is different from the first frequency range and has an invisible light range; a photoelectric conversion unit including a plurality of line sensors which receive light coming from the object irradiated with light emitted by the first and second light source units and output electrical signals; and a first optical unit, arranged on an optical axis of the second light source unit, adapted to converge light from the second light source unit, wherein an edge of the optical unit ends between the first and second light source units.


[0021] Further, the second object of the present invention is also attained by providing an image sensing apparatus comprising: a fist light source unit having a line shape adapted to irradiate an object with light in a first frequency range; a second light source unit having a line shape adapted to irradiate the object with light in a second frequency range which is different from the first frequency range and has an invisible light range; a photoelectric conversion unit including a plurality of line sensors which receive light coming from the object irradiated with light emitted by the first and second light source units and output electrical signals; and a first optical unit, arranged on an optical axis of the first light source unit, adapted to homogeneously distribute the light emitted by the first light source unit within a predetermined illumination range, wherein the first optical unit ends between the first and second light source units.


[0022] Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.







BRIEF DESCRIPTION OF THE DRAWINGS

[0023] 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.


[0024]
FIG. 1 is a block diagram showing principal part of an image reading apparatus according to a first embodiment of the present invention;


[0025]
FIG. 2 is a schematic view showing an LED array according to the first embodiment of the present invention;


[0026]
FIGS. 3A and 3B are schematic views of a transparent document illumination unit and optical system;


[0027]
FIG. 4 is an operation timing chart for explaining the first embodiment of the present invention;


[0028]
FIG. 5 is a schematic view showing an LED array according to a second embodiment of the present invention;


[0029]
FIG. 6 is an operation timing chart for explaining a third embodiment of the present invention;


[0030]
FIG. 7 is an operation timing chart for explaining a fourth embodiment of the present invention;


[0031]
FIG. 8 is a schematic view showing an LED array according to a fifth embodiment of the present invention;


[0032]
FIG. 9A is a graph showing the amounts of light of respective LEDs in the fifth embodiment of the present invention;


[0033]
FIG. 9B is a schematic view showing the optical positional relationship between a transparent document illumination unit and optical unit;


[0034]
FIGS. 10A and 10B are schematic views showing an example of a light guide used in the fifth embodiment of the present invention;


[0035]
FIG. 11 is a timing chart showing the operation timings to explain the fifth and sixth embodiments of the present invention;


[0036]
FIG. 12 is a block diagram showing the arrangement of a distance correction processing circuit in the fifth embodiment of the present invention;


[0037]
FIG. 13 is a view for explaining an image reading position in a sixth embodiment of the present invention;


[0038]
FIG. 14 is a block diagram showing the arrangement of a distance correction processing circuit in the sixth embodiment of the present invention;


[0039]
FIG. 15 is a schematic sectional view showing an example of a conventional image reading apparatus;


[0040]
FIG. 16 is a partially cutaway front view showing an example of a transparent document illumination device used in the conventional image reading apparatus having a dust/scratch removal function;


[0041]
FIGS. 17A and 17B are views showing the optical positional relationship between a conventional transparent document illumination unit and optical unit, and the intensity levels of light; and


[0042]
FIG. 18 is an operation timing chart of the conventional apparatus.







DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0043] Preferred embodiments of the present invention will be described in detail in accordance with the accompanying drawings.


[0044] (First Embodiment)


[0045] <Block Diagram of Image Reading Apparatus According to First Embodiment>


[0046]
FIG. 1 is a block diagram showing the system arrangement which comprises an image reading apparatus 301 according to the first embodiment. Referring to FIG. 1, reference numeral 104 denotes an optical system unit which is formed on the side of a scanner main body; 112, an imaging lens which forms an optical image of light that has been transmitted through a transparent document; 113, an optical axis that passes through the center of the imaging lens; and 114, a glass plate used to correct the optical path length difference caused by the wavelength difference between visible light and infrared light. Reference numeral 114a denotes a state wherein the glass plate is placed parallel to a plane nearly perpendicular to the optical axis 113; and 114b, a state wherein the glass plate 114a is rotated through about 90° to escape from the optical path of an optical image. These states are controlled by a glass plate control motor 117. Reference numeral 115 denotes a CCD linear image sensor which outputs an optical image formed by the imaging lens 112 as electrical signals (e.g., R, G, and B image signals). The image sensor 115 uses, e.g., a 3-line linear sensor comprising three, R, G, and B color filters.


[0047] Reference numeral 118 denotes a lighting circuit for LED1 (to be described later); 119, a lighting circuit for an infrared LED array 2 (to be referred to as infrared LED2 hereinafter). Reference numeral 130 denotes a motor for driving a transparent document illumination unit 28 (to be described later) having a plurality of light sources with respect to an object. Reference numeral 120 denotes an analog signal processing circuit for processing R, G, and B image signals output from the CCD linear image sensor 115; 121, an A (analog)/D (digital) conversion circuit; and 122, an image processing circuit which executes image processes required for the image reading apparatus. Since the image processes to be executed by the circuit 122 are not directly related to the present invention, a detailed description thereof will be omitted.


[0048] Reference numeral 123 denotes an offset RAM (random-access memory) used by the image processing circuit 122; 124, an interface; 125, an external apparatus such as a personal computer or the like; 126, a system controller; 127, a line buffer; and 128, a CPU (central processing unit) bus. The interface 124 temporarily stores image signals output from the image processing circuit 122 in the line buffer 127, and then outputs it to the personal computer 125. The system controller 126 is connected to the image processing circuit 122, line buffer 127, interface 124, and offset RAM 123 via the CPU bus 128 which includes address and data buses, as shown in FIG. 1. With this arrangement, data communications among circuits can be made.


[0049] <Acquire Signal for Dust/scratch Removal>


[0050]
FIG. 2 shows an LED array 29 on which LED1 elements which correspond to an LED light source used to read image information, and infrared LED2 elements which correspond to a light source used to detect dust/scratch information are alternately arranged on 1 Line in nearly the main scan direction.


[0051] The LED1 and LED2 elements are respectively arranged at pitches d1 and d2 and can independently undergo ON/OFF control. Note that the pitches d1 and d2 need not be fixed, and may be freely set based on design factors such as the light amount level, homogeneity in the main scan direction, and the like. Note that the LED1 elements can use a plurality of types of LEDs such as R (red), G (green), B (blue), white, and the like.


[0052]
FIG. 3B shows the optical positional relationship for synchronously scanning the transparent document illumination unit 28 including the LED array 29 with the arrangement shown in FIG. 2, and the optical unit 104. As described above, in order to read a film placed in a film guide 5 which is set in advance at a predetermined position, the transparent document illumination unit 28 includes the LED1 and LED2 elements. As shown in FIG. 3A, a light amount distribution L1b of LED1, and a light amount distribution L2b of LED2 can be formed as nearly equal light amount distributions, since the LED1 and LED2 elements are arranged on 1 Line, as shown in FIG. 2, thus eliminating positional deviation factors of optical image information.


[0053] In FIG. 4, Motor HSYNC indicates a period signal for 1 Line to be scanned by the motor 130. Note that Motor HSYNC, CCD Shift gate pulses, and ON/OFF control pulses of the light sources shown in FIG. 4 are output in accordance with an instruction from the system controller 126.


[0054] The accumulation time (CCD Shift gate pulse period) of the CCD image sensor 115 is divided into, e.g., four periods in 1 Line, as shown in FIG. 4, and a signal component as image information obtained by an ON/OFF control pulse of LED1, and a signal component as image information obtained based on a relative ON time based on an ON/OFF control pulse of LED2 are alternately obtained in line sequence as CCD output signals in these periods. By averaging or adding CCD image sensor outputs corresponding to signal components of each LED, positional deviation of image information can be nearly removed. Also, since the relative ON time of each light source in 1 Line increases, the S/N can be improved.


[0055] By dividing the accumulation time (CCD Shift gate pulse period) of the CCD image sensor 115 into shorter periods in 1 Line, positional deviation factors can be further eliminated.


[0056] When a light source that can emit white light is used as LED1, and the CCD image sensor 115 outputs a plurality of color signals such as R, G, and B signals or the like, signals may be averaged or added for each color component, and image signals corresponding to the ON times of LED2 may also be averaged or added.


[0057] Upon reading an image, a high-quality image signal for dust/scratch removal can be read by a single scan by line-sequentially switching the respective light sources and averaging or adding signals while maintaining the above positional relationship all the time. Furthermore, S/N deterioration can be improved.


[0058] <Dust/scratch Removal>


[0059] The read process of a high-quality image signal free from the influences of dust and scratches using the high-quality image signal acquired for dust/scratch removal will be explained below. Note that the process to be described below is executed by the signal processing circuit 120 in accordance with an instruction from the system controller 126.


[0060] Dust/scratch information of a film is reflected in image information obtained by irradiating the film with light emitted by infrared LED2. Cyan, yellow, and magenta of a general negative/positive color film have high transmittance in infrared light. Therefore, such positive/negative color film transmits nearly all light components coming from infrared LED2 independently of an image on the film. On the other hand, if dust or scratches are present on the film, they do not transmit light. Hence, if dust or scratches are present on the film, information that reflects such dust/scratch image can be acquired independently of an image on the film.


[0061] On the other hand, dust/scratch information of a film is reflected in image information obtained by irradiating the film with light emitted by LED1, and an image on the film is also reflected in that information.


[0062] By processing image information obtained by irradiating a film with light emitted by infrared LED2 and LED1, a high-quality image free from the influences of dust and scratches can be read.


[0063] In this embodiment, an image is read while fixing a document as an object. Alternatively, a scan may be made by moving an object.


[0064] (Second Embodiment)


[0065]
FIG. 5 shows the second embodiment of the LED array 29 on which LED1 elements which correspond to an LED light source used to read image information, and infrared LED2 elements which correspond to a light source used to detect dust/scratch information are arranged on nearly 1 Line in the main scan direction.


[0066] The LED1 and LED2 elements are respectively arranged at pitches d3 and d4 and can independently undergo ON/OFF control. In FIG. 5, the present invention can be practiced without limiting the number of LED elements.


[0067] Note that the pitches d3 and d4 need not be fixed, and may be freely set based on design causes such as the light amount level, homogeneity in the main scan direction, and the like. Note that the LED1 elements can use a plurality of types of LEDs such as R, G, B, white, and the like.


[0068] With the layout shown in FIG. 5 as well, the light amount distribution L1b formed by LED1, and the light amount distribution L2b formed by LED2 can be made nearly equal, as shown in FIG. 3A, since the LED1 and LED2 elements are arranged on 1 Line, similarly to the arrangement shown in FIG. 2. Thus positional deviation factors of optical image information can be eliminated.


[0069] (Third Embodiment)


[0070] In FIG. 6, Motor HSYNC indicates a period signal for 1 Line to be scanned by the motor 130.


[0071] The accumulation time (CCD Shift gate pulse period) of the CCD image sensor 115 is divided into, e.g., four periods in 1 Line, as shown in FIG. 6, and a signal component as image information obtained by an ON/OFF control pulse of LED1, and a signal component as image information obtained based on a relative ON time based on an ON/OFF control pulse of LED2 are alternately obtained in line sequence as CCD output signals in these periods. By averaging or adding CCD image sensor outputs corresponding to signal components of each LED, positional deviation of image information can be mostly removed.


[0072] In FIG. 6, even when positional deviation is too large to ignore the difference between the light amount distributions of LED1 and LED2 shown in FIGS. 2 or 5, or when the difference between the output levels of the LED elements is large, the ON time of LED1 can be controlled as L11 and L12, and that of LED2 can be controlled as L21 and L22 so as to allow fine adjustment. In addition, since the relative ON time of each light source in 1 Line increases compared to the conventional apparatus, the S/N can be improved.


[0073] By dividing the accumulation time (CCD Shift gate pulse period) of the CCD image sensor 115 into shorter periods in 1 Line, positional deviation factors can be further eliminated. Upon reading an image, a high-quality image signal from which effects of dust/scratch are removed can be obtained by a single scan by line-sequentially switching the respective light sources and averaging or adding signals while maintaining the above positional relationship all the time.


[0074] (Fourth Embodiment)


[0075]
FIG. 7 shows an embodiment in which an output component based on LED2 is output twice in addition to output of a signal component based on LED1 upon reading an image for 1 Line. For example, as shown in FIG. 7, upon reading an image for 1 Line, a signal component based on LED2 is output first, a signal component based on LED1 is then output, and a signal component based on LED2 is output again and is averaged with or added to the signal component based on LED2 which was output at the beginning of reading of 1 Line. In this manner, positional deviation of image information can be nearly eliminated. Also, since the relative ON time of each light source in 1 Line increases, the S/N can be improved, as in the above embodiments.


[0076] As described above, according to the first to fourth embodiments, since a document reading light source and dust/scratch detection light source can form nearly equal light amount distributions, positional deviation factors of optical image information can be removed.


[0077] The accumulation time (CCD Shift gate pulse period) of the CCD image sensor 115 is divided into, e.g., a plurality of periods in 1 Line, and a signal component as image information obtained by an ON/OFF control pulse of LED1, and a signal component as image information obtained based on a relative ON time based on an ON/OFF control pulse of LED2 are line-sequentially obtained as CCD output signals in these periods. By averaging or adding CCD image sensor outputs corresponding to signal components of each LED, positional deviation of image information can be nearly removed. Also, since the relative ON time of each light source in 1 Line increases, the S/N can be improved. Hence, an image reading apparatus which can assure higher image quality can be provided.


[0078] (Fifth Embodiment)


[0079]
FIG. 8 shows an LED array according to the fifth embodiment of the present invention. On an LED array 29, LED1 elements which correspond to an LED light source used to read color image information, and infrared LED2 elements which correspond to a light source used to detect dust/scratch information are arranged parallel to each other to be spaced a distance D. Note that limitations associated with the distance D will be described in detail later. The LED1 and LED2 elements are respectively arranged at pitches d1 and d2 and can independently undergo ON/OFF control. Note that the pitches d1 and d2 need not be fixed, and may be freely set based on design causes such as the light amount level, homogeneity in the main scan direction, and the like. Note that the LED1 elements can use a plurality of types of LEDs such as R, G, B, white, and the like.


[0080] Using a transparent document illumination unit that uses the LED array 29 with the arrangement shown in FIG. 8 in place of the transparent document illumination unit 18 of the image input apparatus shown in FIG. 15, an image input apparatus can be provided at lower cost than the conventional apparatus while maintaining high performance of the dust/scratch removal function.


[0081] Since the schematic sectional view of an image input apparatus which adopts the LED array 29 according to the fifth embodiment is substantially the same as that shown in FIG. 15 except for the transparent document illumination unit 18, the same reference numerals denote the same parts as in FIG. 15.


[0082] In a transparent document illumination device 200, FIG. 9B shows the optical positional relationship for synchronously scanning a transparent document illumination unit 28 including the LED array 29 with the arrangement shown in FIG. 8, and an optical unit 14, and FIG. 9A is a graph showing the amounts of light of LED1 and infrared LED2. In FIG. 9A, the ordinate plots the amount of light, and the abscissa plots the position in the sub-scan direction in FIG. 9B.


[0083] The optical unit 14 reads an image while being scanned in the direction of an arrow (sub-scan direction) in FIG. 9B, as in the conventional apparatus. In order to read a film placed in the film guide 5, which is set at a predetermined position in advance, the optical unit 14 has a diffusion sheet 40 to make a light amount distribution L1b formed by LED1 of the transparent document illumination unit 28 more homogeneous within a predetermined range (the read position of the optical unit 14) in the sub-scan direction. That is, three, R, G, and B lines formed on a CCD image sensor 13 correspond to document positions 41, 42, and 43 on a document, and the unit 28 is designed so that a homogeneous light amount distribution is obtained within this range.


[0084] On the other hand, the diffusion sheet 40 is designed not to cover infrared LED2, and a light guide 44 which forms a homogeneous light amount distribution in the main scan direction is arranged. With this arrangement, infrared LED2 forms a considerably sharp light amount distribution L2b, whose peak has a very large light amount. In this manner, a sufficiently large light amount can be obtained using a fewer number of infrared LED2 elements.


[0085] A rod-like transparent member which has a sectional shape shown in, e.g., FIG. 10A, can be used as the light guide 44. In this case, light components that come from infrared LED2 and become incident on the light guide 44 at various angles of incidence are refracted by an M-shaped surface portion, and go downward to be nearly parallel to each other. FIG. 10B is a side view of infrared LED2 and the light guide 44 (view along the sub-scan direction). Light components which are radiated radially can be converted into a homogenous light amount distribution in the main scan direction, as shown in FIG. 10B.


[0086] As shown in FIGS. 9A and 9B, the peak position of the light amount distribution of infrared LED2 is separated the distance D shown in FIG. 8 from the center of the light amount distribution of LED1. This distance D is nearly equal to the distance between neighboring reading positions 41, 42, and 43 of three, R, G, and B lines of the CCD image sensor 13. Therefore, if the center of the light amount distribution of LED1 is set to agree with the reading position of the G line, the peak position of the light amount distribution of infrared LED2 on a transparent document agrees with the reading position of the R line. That is, when light that comes from infrared LED2 and is transmitted through a document, i.e., infrared light, forms an image on the R line of the CCD image sensor 13, dust/scratch information can be acquired from an electrical signal photoelectrically converted on the R line.


[0087]
FIG. 11 is a timing chart showing the drive timings and output signals of the apparatus according to the fifth embodiment of the present invention.


[0088] Referring to FIG. 11, (a) indicates a period signal corresponding to the read time for one line to be scanned by the motor 16, and is called Motor HSYNC. The accumulation time (CCD Shift gate pulse period) of the CCD image sensor 13 is divided, as indicated by (b) of FIG. 11, in synchronism with the 1-line period. Also, (c) and (d) indicate ON/OFF control pulses of LED1 and LED2, and CCD output signals CCD-R, CCD-G, and CCD-B indicated by (e), (f), and (g) are obtained at their ON timings. Therefore, R, G, and B signal components R1(n), G1(n), and B1(n) for the n-th line, which are output from the CCD image sensor 13 at the ON timing of LED1, and R, G, and B signal components R2(n), G2(n), and B2(n) for the n-th line, which are output at the ON timing of LED2 are line-sequentially and alternately obtained.


[0089] As described above, since the peak of the light amount distribution of LED2 corresponds to the R line of the CCD image sensor 13, signal outputs obtained from G2(n) and B2(n) are very smaller than the signal component R2(n). Therefore, this fifth embodiment uses the signal component R2(n) alone.


[0090] The positions of images read as the signal components R1(n) and R2(n) are separated about the distance D from that of an image read as G1(n) in the sub-scan direction, and are separated substantially a distance 2D from that of an image read as B1(n). Hence, these images must be corrected.


[0091]
FIG. 12 is a block diagram of such distance correction processing circuit. Reference numerals 51, 52, and 53 denote A/D conversion circuits; and 54 and 55, memories. As indicated by the scan direction of the optical unit in FIG. 9, the image read positions of R1(n) and R2(n) are located about the distance 2D ahead of that of B1(n). If the distance D is equal to the moving distance of the optical unit 14 for K lines in the sub-scan direction by the motor 16, the memory 54 can have a capacity for 2K lines. By storing the signal components R1(n) and R2(n) in the memory 54, and reading them out after a delay time for 2K lines, their read positions can approximately match that of the signal component B1(n). Likewise, in order to match the image read position of G1(n) with that of B1(n), the memory 55 suffices to have a capacity for K lines.


[0092] As described above, according to the fifth embodiment, by forming a sharp light distribution of the infrared LED light source used in dust/scratch detection with respect to the light source used to obtain R, G, and B images, and by matching the peak position of the light amount with the read position of the CCD, a high CCD output signal can be obtained without increasing the number of chips of the infrared LED.


[0093] Note that the distance correction processing circuit shown in FIG. 12 is mounted on the board 3 or an external processing apparatus such as a personal computer or the like (not shown), to which the readout signals are output.


[0094] (Sixth Embodiment)


[0095] The sixth embodiment of the present invention will be described below. Since the apparatus arrangement in the sixth embodiment is substantially the same as that of the fifth embodiment except for the arrangement of the distance correction processing circuit, a description thereof will be omitted.


[0096] The fifth embodiment has explained a case wherein the image positions of R1(n) and R2(n) match. However, when an image is read while moving the optical unit 14 at a constant speed in the sub-scan direction by the motor 16, since the ON/OFF control pulse of infrared LED2 delays 0.5 lines behind the ON/OFF control pulse of LED1, R2(n) is consequently deviated 0.5 lines from R1(n). FIG. 13 schematically shows the read positions of R, G, and B images for two lines, and those of an infrared light image for two lines. In order to correct such positional deviation, as indicated by (h) of FIG. 11, an average signal R2a(n) is calculated by:




R


2


a
(n)={R2(n−1)+R2(n)}/2



[0097] That is, the average signal of a signal R2(n−1) for the (n−1)-th line, and a signal R2(n) for the n-th line is calculated, and correction is made using this signal to match the image positions of R1(n) and R2(n). Using these signals R2a(n) and R1(n), dust and scratches on a transparent document are detected.


[0098]
FIG. 14 is a block diagram showing the arrangement of a distance correction processing circuit in the sixth embodiment. Reference numeral 61 denotes a memory for one line; 62, an average processing circuit; and 63, a memory having a capacity for 2K lines. Other arrangements are the same as those in FIG. 12.


[0099] As described above, according to the sixth embodiment, even when an image is read while moving the optical unit 14 at a constant speed, the same effect as in the fifth embodiment can be obtained.


[0100] It should be noted that in the above fifth and sixth embodiments, both of the diffusion sheet 40 and the light guide are provided; however, the present invention is not limited to this, and either one of them may be solely provided.


[0101] s Dust/scratch removal in the second to sixth embodiments can be implemented by executing the same process as in the description of the first embodiment. Also, this process is executed by the signal processing circuit in accordance with an instruction from a controller such as the system controller 126 or the like.


[0102] In the description of the above embodiments, the transparent document illumination unit according to the present invention is used in a flatbed type image reading apparatus which can read both transparent and reflective documents. However, the present invention is not limited to such specific arrangement, and can be applied to, e.g., an image reading apparatus which moves the document position, an image reading apparatus such as a film scanner or the like, which can read a transparent document alone, and the like.


[0103] <Other Embodiment>


[0104] The present invention can be applied to a system constituted by a plurality of devices (e.g., host computer, interface, reader, printer) or to an apparatus comprising a single device (e.g., copying machine, facsimile machine).


[0105] Further, the light source drive control in the first to fourth embodiments of the present invention, and the deviation correction process of read signals in the fifth and sixth embodiments can also be achieved by providing a storage medium storing program codes for performing the aforesaid processes to a computer system or apparatus (e.g., a personal computer), reading the program codes, by a CPU or MPU of the computer system or apparatus, from the storage medium, then executing the program.


[0106] In this case, the program codes read from the storage medium realize the functions according to the embodiments, and the storage medium storing the program codes constitutes the invention.


[0107] Further, the storage medium, such as a floppy disk, a hard disk, an optical disk, a magneto-optical disk, CD-ROM, CD-R, a magnetic tape, a non-volatile type memory card, and ROM, and computer network, such as LAN (local area network) and WAN (wide area network), can be used for providing the program codes.


[0108] Furthermore, besides aforesaid functions according to the above embodiments are realized by executing the program codes which are read by a computer, the present invention includes a case where an OS (operating system) or the like working on the computer performs a part or entire processes in accordance with the designations of the program codes and realizes functions according to the above embodiments.


[0109] Furthermore, the present invention also includes a case where, after the program codes read from the storage medium are written in a function expansion card which is inserted into the computer or in a memory provided in a function expansion unit which is connected to the computer, CPU or the like contained in the function expansion card or unit performs a part or entire process in accordance with designations of the program codes and realizes functions of the above embodiments.


[0110] The present invention is not limited to the above embodiments and various changes and modifications can be made within the spirit and scope of the present invention. Therefore to apprise the public of the scope of the present invention, the following claims are made.


Claims
  • 1. A method of controlling an image reading apparatus, which comprises an illumination unit adapted to irradiate an object with first and second light rays in different frequency ranges, and a light-receiving unit adapted to receive light coming from the object, and to output a signal, and reads an image of the object by moving the illumination unit and light-receiving unit relative to the object, comprising: outputting from the light-receiving unit a first signal in response to irradiation with the first light ray, and a second signal in response to irradiation with the second light ray; and controlling to sequentially turn on the second light ray at a plurality of timings to sandwich an ON timing of the first light ray, and to obtain image signals for one line corresponding to the first and second light rays by averaging or adding respective pieces of image information obtained at the plurality of timings for each of the first and second signals, upon reading image information for one line by the image reading apparatus.
  • 2. The method according to claim 1, wherein upon outputting the first and second signals, the light-receiving unit outputs a plurality of image signals in response to irradiation with each of the first and second light rays.
  • 3. The method according to claim 1, wherein a position to be corrected is determined based on the averaged or added first and second signals.
  • 4. The method according to claim 1, wherein the illumination unit includes portions that emit the first light ray, and portions that emit the second light ray, which are arranged on substantially one line.
  • 5. The method according to claim 1, wherein the first and second light rays are one of white light and infrared light.
  • 6. A storage medium computer-readably storing a control program that makes a computer implement a control method of claim 1.
  • 7. An image reading apparatus comprising: an illumination unit adapted to irradiate an object with first and second light rays in different frequency ranges; a light-receiving unit adapted to receive light coming from the object, and to output a signal; a read controller adapted to read an image of the object by moving said illumination unit and said light-receiving unit relative to the object; a drive signal supply unit adapted to supply drive signals to said light-receiving unit to sequentially turn on the second light ray at a plurality of timings to sandwich an ON timing of the first light ray, and to output a first signal in response to irradiation with the first light ray, and a second signal in response to irradiation with the second light ray, upon reading image information for one line by said light-receiving unit; and a signal controller adapted to control to average or add a plurality of pieces of image information in one line obtained at the plurality of ON timings for each of the first and second signals.
  • 8. The apparatus according to claim 7, wherein said light-receiving unit outputs a plurality of image signals in response to irradiation with each of the first and second light rays.
  • 9. The apparatus according to claim 7, wherein said signal controller determines a position to be corrected on the basis of the averaged or added first and second signals.
  • 10. The apparatus according to claim 7, wherein said illumination unit includes a portion that emits the first light ray, and a portion that emits the second light ray, which are arranged on substantially one line.
  • 11. The apparatus according to claim 7, wherein the first and second light rays are one of white light and infrared light.
  • 12. An illumination apparatus comprising a first light source unit adapted to emit light in a first frequency range, and a second light unit adapted to emit light in a second frequency range, which are arranged on substantially one line.
  • 13. An image sensing apparatus comprising: a fist light source unit having a line shape adapted to irradiate an object with light in a first frequency range; a second light source unit having a line shape adapted to irradiate the object with light in a second frequency range which is different from the first frequency range and has an invisible light range; a photoelectric conversion unit including a plurality of line sensors which receive light coming from the object irradiated with light emitted by said first and second light source units and output electrical signals; and a first optical unit, arranged on an optical axis of said second light source unit, adapted to converge light from said second light source unit, wherein an edge of said optical unit ends between said first and second light source units.
  • 14. The apparatus according to claim 13, further comprising a second optical unit, arranged on an optical axis of said first light source unit, adapted to homogeneously distribute the light emitted by said first light source unit within a predetermined illumination range, wherein said second optical unit ends between said first and second light source units.
  • 15. The apparatus according to claim 13, further comprising: a reflective document holding unit adapted to hold a reflective document; and an illumination unit adapted to illuminate the reflective document with light, wherein said photoelectric conversion unit receives light, which is output by said illumination unit and is reflected by the reflective document, and outputs an electrical signal.
  • 16. The apparatus according to claim 13, wherein said first and second light source units and said plurality of line sensors line up to be substantially parallel to each other, and are synchronously driven.
  • 17. The apparatus according to claim 13, wherein said first light source unit emits visible light.
  • 18. The apparatus according to claim 17, wherein said first light source unit includes a white LED.
  • 19. The apparatus according to claim 17, wherein said first light source unit includes red, green, and blue LEDs.
  • 20. The apparatus according to claim 13, wherein said second light source unit is a light source that allows detection of defect information of a transparent document.
  • 21. The apparatus according to claim 20, wherein said second light source unit comprises an infrared LED.
  • 22. The apparatus according to claim 13, further comprising a controller adapted to control to alternately turn on said first and second light source units.
  • 23. The apparatus according to claim 13, further comprising a correction unit adapted to correct an electrical signal obtained based on the light emitted by said first light source unit on the basis of an electrical signal which is output from said photoelectric conversion unit on the basis of the light emitted by said second light source unit.
  • 24. The apparatus according to claim 13, further comprising a position correction unit adapted to correct a positional deviation of said plurality of line sensors.
  • 25. An image sensing apparatus comprising: a fist light source unit having a line shape adapted to irradiate an object with light in a first frequency range; a second light source unit having a line shape adapted to irradiate the object with light in a second frequency range which is different from the first frequency range and has an invisible light range; a photoelectric conversion unit including a plurality of line sensors which receive light coming from the object irradiated with light emitted by said first and second light source units and output electrical signals; and a first optical unit, arranged on an optical axis of said first light source unit, adapted to homogeneously distribute the light emitted by said first light source unit within a predetermined illumination range, wherein said first optical unit ends between said first and second light source units.
  • 26. An illumination device comprising: a fist light source unit having a line shape adapted to irradiate an object with light in a first frequency range; a second light source unit having a line shape adapted to irradiate the object with light in a second frequency range which is different from the first frequency range and has an invisible light range; and a first optical unit, arranged on an optical axis of said second light source unit, adapted to converge light from said second light source unit, wherein an edge of said optical unit ends between said first and second light source units.
  • 27. The device according to claim 26, further comprising a second optical unit, arranged on an optical axis of said first light source unit, adapted to homogeneously distribute the light emitted by said first light source unit within a predetermined illumination range, wherein said second optical unit ends between said first and second light source units.
  • 28. The device according to claim 26, wherein each of said first and second light source units comprises an array of a plurality of light sources.
  • 29. The device according to claim 26, wherein said first light source unit emits visible light.
  • 30. The device according to claim 29, wherein said first light source unit includes a white LED.
  • 31. The device according to claim 29, wherein said first light source unit includes red, green, and blue LEDs.
  • 32. The device according to claim 26, wherein said second light source unit comprises an infrared LED.
  • 33. An illumination device comprising: a fist light source unit having a line shape adapted to irradiate an object with light in a first frequency range; a second light source unit having a line shape adapted to irradiate the object with light in a second frequency range which is different from the first frequency range and has an invisible light range; and a first optical unit, arranged on an optical axis of said first light source unit, adapted to homogeneously distribute the light emitted by said first light source unit within a predetermined illumination range, wherein said first optical unit ends between said first and second light source units.
Priority Claims (2)
Number Date Country Kind
017221/2002 Jan 2002 JP
030917/2002 Feb 2002 JP