Contact image sensor and image processing method
By using a combination of vertical and tilted lenses in the contact image sensor, clear and stable image collection of smooth objects is achieved, which solves the problem of unsatisfactory scanning and detection of smooth objects in the existing technology.
Patent Information
- Application Number
- CN202010093105.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-02-14
AI Technical Summary
Existing contact image sensors are prone to problems such as overexposure and reflection when scanning and detecting smooth objects, resulting in unclear images and missing image information.
A contact image sensor is designed, which uses a preset scanning surface, including vertical and tilted lenses and photosensitive parts. The original is illuminated through the light source part. The vertical lens and tilted lens receive reflected light at the same time. The photosensitive part obtains image information from different angles. , and perform image registration processing.
It achieves clear and stable image collection of smooth objects, avoids overexposure and reflection problems, and ensures the integrity of image information.
Smart Images

Figure CN111163240B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image sensors, and in particular to a contact image sensor and an image processing method. Background Art
[0002] In the existing contact image sensor, structures such as a lens and a photosensitive part are provided. The axis of the lens is usually arranged perpendicularly to the surface to be scanned of the original document to be detected. The lens collects the reflected light reflected by the original document. The photosensitive part receives the reflected light collected by the lens and performs photoelectric conversion, and then obtains the image information of the original document after processing.
[0003] When this type of contact image sensor is working, it is impossible to read information from multiple angles. For scanning and detecting smooth objects, such as glass surface defect detection, problems such as overexposure and reflection are prone to occur, resulting in unclear image scanning and missing image information. Summary of the invention
[0004] The invention provides a contact image sensor and an image processing method to solve the problem that the contact image sensor in the prior art has an unsatisfactory scanning and detecting effect on smooth objects.
[0005] In order to solve the above-mentioned problem, according to one aspect of the present invention, there is provided a contact image sensor, the contact image sensor having a preset scanning surface, the scanning surface being used to correspond to the surface to be scanned of an original document, the contact image sensor comprising: a light source portion, being used to irradiate the original document; a first lens, the axis of the first lens being arranged perpendicularly relative to the scanning surface, the first lens being used to collect reflected light emitted by the light source portion and reflected by the original document; a second lens, the axis of the second lens being arranged obliquely relative to the scanning surface, the second lens being used to collect reflected light emitted by the light source portion and reflected by the original document; a first photosensitive portion, located on a side of the first lens away from the scanning surface, the first photosensitive portion being used to receive the reflected light collected by the first lens; and a second photosensitive portion, located on a side of the second lens away from the scanning surface, the second photosensitive portion being used to receive the reflected light collected by the second lens.
[0006] Furthermore, the contact image sensor also includes a frame, the first lens, the second lens, the first photosensitive portion and the second photosensitive portion are all arranged inside the frame; the light source portion is arranged inside the frame or the light source portion is arranged outside the frame.
[0007] Furthermore, the light source unit is arranged inside the frame, and the contact image sensor further comprises: a light-transmitting plate arranged inside the frame, and the light-transmitting plate is located on the irradiation path of the light source unit.
[0008] Further, an irradiation path of the light source unit is arranged obliquely relative to the scanning surface, and the light source unit and the light-transmitting plate are both located on a side of the first lens away from the second lens.
[0009] Furthermore, the light source unit is arranged outside the frame, and the contact image sensor further comprises: a light shielding plate, and the light shielding plate is located between the first lens and the second lens.
[0010] Furthermore, the light source unit includes: a first light source, the irradiation path of the first light source is arranged obliquely relative to the scanning surface, and the first light source is located on a side of the first lens away from the second lens.
[0011] Furthermore, the light source unit further includes: a second light source, the irradiation path of the second light source is arranged obliquely relative to the scanning surface, and the second light source is located on a side of the second lens away from the first lens.
[0012] Furthermore, the axis of the first lens passes through the first photosensitive portion, and the axis of the second lens passes through the second photosensitive portion, and the contact image sensor also includes: a first substrate, on which the first photosensitive portion is arranged, and the axis of the first lens is arranged perpendicularly relative to the surface of the first photosensitive portion; and a second substrate, on which the second photosensitive portion is arranged, and the axis of the second lens is arranged perpendicularly relative to the surface of the second photosensitive portion.
[0013] Furthermore, the contact image sensor further includes: a processing unit, the first photosensitive unit and the second photosensitive unit are both electrically connected to the processing unit, and the processing unit is used to receive and process image information acquired by the first photosensitive unit and the second photosensitive unit.
[0014] According to another aspect of the present invention, the present invention provides an image processing method for the above-mentioned contact image sensor, the image processing method comprising: the light source unit irradiates the surface to be scanned of the original; the first photosensitive unit receives the reflected light collected by the first lens and obtains image information; the second photosensitive unit receives the reflected light collected by the second lens and obtains image information; the image information read by the first photosensitive unit and the image information read by the second photosensitive unit are subjected to image registration processing.
[0015] The technical solution of the present invention is applied to provide a contact image sensor, which has a preset scanning surface, and the scanning surface is used to correspond to the surface to be scanned of the manuscript. The contact image sensor includes: a light source part, which is used to irradiate the manuscript; a first lens, the axis of the first lens is vertically arranged relative to the scanning surface, and the first lens is used to collect the reflected light of the light source part reflected by the manuscript; a second lens, the axis of the second lens is inclined relative to the scanning surface, and the second lens is used to collect the reflected light of the light source part reflected by the manuscript; a first photosensitive part, which is located on the side of the first lens away from the scanning surface, and the first photosensitive part is used to receive the reflected light collected by the first lens; a second photosensitive part, which is located on the side of the second lens away from the scanning surface, and the second photosensitive part is used to receive the reflected light collected by the second lens. Through the above solution, the two vertical and inclined lenses simultaneously receive the reflected light of the manuscript, and the two photosensitive parts can synchronously obtain the image information of the object from different angles, and then the image information is registered and synthesized, so as to achieve the purpose of clear and stable images collected for smooth objects. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0017] Figure 1 A schematic diagram of the structure of a contact image sensor provided by Embodiment 1 of the present invention is shown;
[0018] Figure 2 A schematic diagram of the structure of a contact image sensor provided by Embodiment 2 of the present invention is shown;
[0019] Figure 3 A schematic structural diagram of a contact image sensor provided in Embodiment 3 of the present invention is shown.
[0020] The above drawings include the following reference numerals:
[0021] 10. Light source unit; 11. First light source; 12. Second light source; 21. First lens; 22. Second lens; 31. First photosensitive unit; 32. Second photosensitive unit; 40. Frame; 51. Transparent plate; 52. Shading plate; 61. First substrate; 62. Second substrate; 70. Original document. DETAILED DESCRIPTION
[0022] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0023] As shown in the accompanying drawings, an embodiment of the present invention provides a contact image sensor, which has a preset scanning surface, which is used to correspond to the surface to be scanned of the original document. The contact image sensor includes: a light source unit 10, which is used to irradiate the original document; a first lens 21, the axis of the first lens 21 is vertically arranged relative to the scanning surface, and the first lens 21 is used to collect the reflected light emitted by the light source unit 10 and reflected by the original document; a second lens 22, the axis of the second lens 22 is inclined relative to the scanning surface, and the second lens 22 is used to collect the reflected light emitted by the light source unit 10 and reflected by the original document; a first photosensitive unit 31, which is located on the side of the first lens 21 away from the scanning surface, and the first photosensitive unit 31 is used to receive the reflected light collected by the first lens 21; a second photosensitive unit 32, which is located on the side of the second lens 22 away from the scanning surface, and the second photosensitive unit 32 is used to receive the reflected light collected by the second lens 22.
[0024] By applying the technical solution of the present invention, a contact image sensor is provided. The contact image sensor has a preset scanning surface, which is used to correspond to the surface to be scanned of the original 70. The contact image sensor includes: a light source unit 10, which is used to irradiate the original 70; a first lens 21, the axis of the first lens 21 is vertically arranged relative to the scanning surface, and the first lens 21 is used to collect the reflected light of the light source unit 10 reflected by the original 70; a second lens 22, the axis of the second lens 22 is inclined relative to the scanning surface, and the second lens 22 is used to collect the reflected light of the light source unit 10 reflected by the original 70; a first photosensitive unit 31, which is located on the side of the first lens 21 away from the scanning surface, and the first photosensitive unit 31 is used to receive the reflected light collected by the first lens 21; a second photosensitive unit 32, which is located on the side of the second lens 22 away from the scanning surface, and the second photosensitive unit 32 is used to receive the reflected light collected by the second lens 22. Through the above scheme, the vertical and tilted lenses simultaneously receive the reflected light of the original 70, and the two photosensitive parts can synchronously obtain the image information of the object from different angles, and then align and synthesize the image information, so as to achieve the purpose of clear and stable images captured for smooth objects.
[0025] In this embodiment, the contact image sensor further includes a frame 40, and the first lens 21, the second lens 22, the first photosensitive portion 31 and the second photosensitive portion 32 are all arranged inside the frame 40; the light source portion 10 is arranged inside the frame 40 or the light source portion 10 is arranged outside the frame 40. The arrangement and assembly of various components are facilitated by the frame 40. Moreover, the position of the light source portion 10 can be set as required.
[0026] like Figure 1 As shown, the light source unit 10 is arranged inside the frame 40, and the contact image sensor further includes: a light-transmitting plate 51, which is arranged inside the frame 40 and is located on the irradiation path of the light source unit 10. The light-transmitting plate 51 can make the light emitted by the light source unit 10 dispersed more evenly. Moreover, the light-transmitting plate 51 can protect the light source unit 10.
[0027] In this embodiment, the irradiation path of the light source unit 10 is arranged obliquely relative to the scanning surface, and the light source unit 10 and the light-transmitting plate 51 are both located on the side of the first lens 21 away from the second lens 22. In this way, the light emitted by the light source unit 10 is irradiated onto the original document and then reflected onto the first lens 21 and the second lens 22. The original document in this embodiment refers to the object to be scanned and detected.
[0028] The light source unit 10 can also be arranged outside the frame 40, and the contact image sensor further includes: a light shielding plate 52, and the light shielding plate 52 is located between the first lens 21 and the second lens 22. This contact image sensor structure can realize the detection requirements that require special light source angle illumination. The light shielding plate 52 can prevent the light emitted by the light source unit 10 from directly entering the second lens 22 without being reflected by the original.
[0029] Specifically, Figure 2 As shown, the light source unit 10 includes: a first light source 11, the irradiation path of the first light source 11 is arranged obliquely relative to the scanning surface, and the first light source 11 is located on the side of the first lens 21 away from the second lens 22. Through the above arrangement, the detection requirements requiring special light source angle irradiation can be achieved.
[0030] like Figure 3 As shown, Figure 2 The difference is that the light source unit 10 further includes: a second light source 12, the irradiation path of the second light source 12 is arranged obliquely relative to the scanning surface, and the second light source 12 is located on the side of the second lens 22 away from the first lens 21. This contact image sensor structure adopts a dual light source method, which not only realizes the detection requirements that require special light source angle illumination, but also further increases the light intensity and improves the output characteristics of the product.
[0031] In this embodiment, the axis of the first lens 21 passes through the first photosensitive portion 31, and the axis of the second lens 22 passes through the second photosensitive portion 32. The contact image sensor further includes: a first substrate 61, on which the first photosensitive portion 31 is disposed, and the axis of the first lens 21 is disposed perpendicularly relative to the first photosensitive portion 31 carried by the first substrate 61; and a second substrate 62, on which the second photosensitive portion 32 is disposed, and the axis of the second lens 22 is disposed perpendicularly relative to the second photosensitive portion 32 carried by the second substrate 62. The first substrate 61 and the second substrate 62 facilitate the arrangement of the first photosensitive portion 31 and the second photosensitive portion 32. Specifically, the first photosensitive portion 31 and the second photosensitive portion 32 are both photosensitive integrated circuits.
[0032] In this embodiment, the contact image sensor further includes: a processing unit, the first photosensitive unit 31 and the second photosensitive unit 32 are both electrically connected to the processing unit, and the processing unit is used to receive and process the image information acquired by the first photosensitive unit 31 and the second photosensitive unit 32. The processing unit can receive and process the image information acquired by the first photosensitive unit 31 and the second photosensitive unit 32 to obtain a clear and accurate image.
[0033] Another embodiment of the present invention provides an image processing method, which is used for the above-mentioned contact image sensor, and the image processing method includes: the light source unit 10 irradiates the surface to be scanned of the original; the first photosensitive unit 31 receives the reflected light collected by the first lens 21 and obtains image information; the second photosensitive unit 32 receives the reflected light collected by the second lens 22 and obtains image information; the image information read by the first photosensitive unit 31 and the image information read by the second photosensitive unit 32 are subjected to image registration processing. Through the above scheme, the two vertical and tilted lenses simultaneously receive the reflected light of the original, and the two photosensitive units can synchronously obtain the image information of the object from different angles, and then the image information is registered and synthesized, so as to achieve the purpose of clear and stable images collected for smooth objects.
[0034] Optionally, the image registration process includes using a feature point-based method to complete the matching between the features of the two images using the extracted features, and adjusting the registration transformation of the two images to obtain a clear and stable image. The two images are image information read by the first photosensitive unit 31 and image information read by the second photosensitive unit 32.
[0035] In the above scheme, the light emitted by the light source passes through the light-transmitting plate and irradiates the manuscript outside. The light in the text (or image) area on the manuscript will be reflected, refracted, scattered, etc. The above factors cause these reflected lights to contain light of various angles. These reflected lights pass through the light-transmitting plate and are collected by the lens, and then irradiate the photosensitive area of the photosensitive part on the substrate. The photosensitive part is composed of many photosensitive areas and a driving circuit. The driving circuit can perform photoelectric conversion on the light irradiated to each photosensitive area and output the signal. The received light is converted into an electrical signal and output through the driving circuit, and then output as image information. The manuscript keeps moving, and the image information recorded on it will be continuously read.
[0036] The contact image sensor includes two groups of lenses, one vertical and one tilted, working together to form an image. The light emitted by the light source is irradiated onto the manuscript through a light-transmitting plate at a certain angle. The light irradiated onto the manuscript is reflected, and these reflected lights enter the two groups of lenses and converge onto the photosensitive part. The two groups of lenses, one vertical and one tilted, simultaneously receive the reflected light from the manuscript. The photosensitive part can read the image information from different angles, align and synthesize the image information, thereby achieving the purpose of scanning and detecting smooth objects and collecting clear and stable images.
[0037] The contact image sensor provided by the present invention has two sets of vertical and tilted lenses working in combination. The installation positions and installation angles of the two sets of lenses are designed according to the angle requirements of smooth object scanning. The two sets of lenses have different installation positions and installation angles, and the collected image information will be different. In the contact image sensor of the present invention, the two sets of vertical and tilted lenses work in combination at the same time, and the image information read from different angles by the photosensitive part is processed for image registration. A method based on feature points is adopted to complete the matching between the features of the two images using the extracted features, and the registration transformation of the two images is adjusted, thereby achieving the purpose of smooth object scanning detection.
[0038] The light source in the above embodiment is designed with a light emitting angle and installation position according to the angle required to read the detected object, such as detecting scratches on a glass surface, a smooth metal plate, etc. The light emitting angle and installation position of the light source are different depending on the material to be scanned. The light source described in the present invention can be installed inside the frame, and the light emitted by the light source is reflected by the manuscript and irradiated onto two sets of vertical and inclined lenses, and the photosensitive part reads the optical information. For the requirement of special light source brightness, the light source can also be installed outside the frame.
[0039] The vertical and tilted lenses of the contact image sensor work together to form an image simultaneously. According to the material requirements of the object to be detected, the image information to be detected is read from different angles, and the read image information is processed for image registration. The registration transformation of the two images is adjusted according to the detection requirements, and finally the synthesized image information is obtained to meet the needs of scanning detection, ensure that the image information of the object to be detected is clear and stable, and avoid unclear images and missing image information due to reflection and overexposure of smooth objects.
[0040] Among them, the reflected light received by the vertical lens (i.e., the first lens) and the image information read by the photosensitive part can identify the main features of the object to be detected. The reflected light received by the inclined lens (i.e., the second lens) and the image information read by the photosensitive part can identify the subtle surface features of the object to be detected. The two read images are processed by image registration, and the registration transformation of the two images is adjusted. A composite image is obtained according to the requirements of the detection, and the overall features of the object to be detected can be obtained on one image at the same time, thereby achieving the purpose of detection.
[0041] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A contact image sensor, characterized in that: The contact image sensor has a preset scanning surface, and the scanning surface is used to correspond to the surface to be scanned of the original document. The contact image sensor includes: A light source unit (10) for irradiating the original document; a first lens (21), wherein the axis of the first lens (21) is arranged perpendicularly to the scanning surface, and the first lens (21) is used to collect reflected light emitted by the light source unit (10) and reflected by the original document; a second lens (22), the axis of the second lens (22) being arranged to be inclined relative to the scanning surface, the second lens (22) being used to collect reflected light emitted by the light source unit (10) and reflected by the original document; A first light-sensing portion (31) is located on a side of the first lens (21) away from the scanning surface, the first light-sensing portion (31) being used to receive reflected light collected by the first lens (21); a second light-sensing portion (32), located on a side of the second lens (22) away from the scanning surface, the second light-sensing portion (32) being used to receive reflected light collected by the second lens (22); The contact image sensor further comprises a frame (40), the first lens (21), the second lens (22), the first photosensitive portion (31) and the second photosensitive portion (32) are all arranged inside the frame (40), and the light source portion (10) is arranged outside the frame (40); a light shielding plate (52), the light shielding plate (52) being located between the first lens (21) and the second lens (22); The light source unit (10) comprises: a first light source (11), the irradiation path of the first light source (11) being arranged obliquely relative to the scanning surface, and the first light source (11) being located on a side of the first lens (21) away from the second lens (22); and a second light source (12), the irradiation path of the second light source (12) being arranged obliquely relative to the scanning surface, and the second light source (12) being located on a side of the second lens (22) away from the first lens (21); A processing unit, wherein the first photosensitive unit (31) and the second photosensitive unit (32) are both electrically connected to the processing unit, and the processing unit is used to receive and process image information acquired by the first photosensitive unit (31) and the second photosensitive unit (32).
2. The contact image sensor according to claim 1, characterized in that: The axis of the first lens (21) passes through the first photosensitive portion (31), and the axis of the second lens (22) passes through the second photosensitive portion (32). The contact image sensor further comprises: a first substrate (61), the first light-sensing portion (31) being arranged on the first substrate (61), and the axis of the first lens (21) being arranged perpendicularly to the surface of the first light-sensing portion (31); A second substrate (62), the second light-sensitive portion (32) being arranged on the second substrate (62), and the axis of the second lens (22) being arranged perpendicularly to the surface of the second light-sensitive portion (32).
3. An image processing method, used for the contact image sensor according to any one of claims 1 to 2, characterized in that: The image processing method comprises: The light source unit (10) illuminates the surface of the original document to be scanned; The first light sensing unit (31) receives the reflected light collected by the first lens (21) and acquires image information; The second light sensing unit (32) receives the reflected light collected by the second lens (22) and acquires image information; Image registration processing is performed on the image information read by the first light-sensitive portion (31) and the image information read by the second light-sensitive portion (32).
Citation Information
Patent Citations
Contact type image sensor
CN201360289Y
