Optical line sensor, method for manufacturing the same, and correction processing method

The optical line sensor addresses image displacement issues by using a correction processing method with a reading and parameter storage unit to align and correct misalignments, ensuring high-resolution imaging and reduced power consumption.

JP7957422B2Active Publication Date: 2026-11-27KANEKA CORP +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022145591
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-09-13
Publication Date
2026-11-27
Estimated Expiration
2042-09-13

AI Technical Summary

Technical Problem

Contact image sensors experience image displacement due to deformation of the lens array, which is caused by the holding member twisting or curving during mounting, leading to inaccuracies in image reading.

Method used

An optical line sensor with a reading processing unit, parameter storage unit, and correction processing unit that utilizes correction parameters generated from a reference image to correct image errors. These parameters are calculated using an n-th degree function and stored in a PLD or FPGA, allowing for sub-pixel processing to align and correct misalignments.

Benefits of technology

The optical line sensor effectively corrects image errors due to lens array deformation, ensuring high-resolution imaging by aligning and correcting misalignments, reducing power consumption, and maintaining image accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007957422000001
    Figure 0007957422000001
  • Figure 0007957422000002
    Figure 0007957422000002
  • Figure 0007957422000003
    Figure 0007957422000003
Patent Text Reader

Abstract

To provide an optical line sensor capable of satisfactorily correcting an error of an image based on the deformation of a lens array, a manufacturing method for the optical line sensor, and a correction processing method.SOLUTION: In a contact optical line sensor 100, when a read image for correction 30 including a reference image is read by a reading processing unit 110, a parameter storage unit 120 stores a parameter for correction in a conveyance direction generated based on the read image for correction 30. The parameter for correction in a conveyance direction is generated by calculating an approximate curve of the reference image read by the reading processing unit 110, using an nth-degree function (n≥3).SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to an optical line sensor that reads an image of an object conveyed along a conveyance direction with a plurality of imaging elements arranged in a line, a method for manufacturing the same, and a correction processing method. [Background Art]

[0002] A contact image sensor (CIS) as exemplified in Patent Document 1 below generally includes a plurality of light receiving IC chips as imaging elements. Each light receiving IC chip includes a plurality of photoelectric conversion elements, such as photodiodes, arranged in a straight line. Each light receiving IC chip is arranged along the longitudinal direction on a long mounting board by a mounting apparatus called a mounter. [Prior Art Documents] [Patent Documents]

[0003] [Patent Document 1] Japanese Unexamined Patent Application Publication No. 2019-139489 [Summary of the Invention] [Problems to be Solved by the Invention]

[0004] In such a contact image sensor, light transmitted through the lens array is received by each light receiving IC chip. The lens array includes a plurality of lenses and a holding member that holds the plurality of lenses. When the lens array is mounted on the housing of the contact image sensor, the holding member may deform. Specifically, the holding member may twist or curve about the longitudinal direction as an axis. Therefore, when an object is read by such a contact image sensor, an image may be displaced.

[0005] The present invention has been made in view of the above circumstances, and aims to provide an optical line sensor, a method for manufacturing the same, and a correction processing method that can suitably correct image errors due to deformation of a lens array in a configuration in which a plurality of high-resolution image sensors are arranged in a line. [Means for solving the problem]

[0006] (1) The optical line sensor according to the present invention is an optical line sensor that reads an image of an object being transported along the transport direction by exposing it to a plurality of image sensors arranged in a line via a lens array, and comprises a reading processing unit, a parameter storage unit, and a correction processing unit. The reading processing unit reads an image of the object based on input signals from the plurality of image sensors. The parameter storage unit stores correction parameters generated based on the correction reading image when a correction reading image including a reference image extending in a direction intersecting the transport direction is read by the reading processing unit as an image of the object. When a reading image different from the correction reading image is read by the reading processing unit as an image of the object, the correction processing unit corrects the reading image based on the correction parameters. The correction parameters include transport direction correction parameters. The transport direction correction parameters are generated by calculating an approximate curve of the reference image read by the reading processing unit using an n-th degree function (n≧3).

[0007] With this configuration, transport direction correction parameters can be generated based on a correction reading image including a reference image, and errors in the image to be read due to deformation of the lens array can be suitably corrected based on these transport direction correction parameters.

[0008] (2) The reference image may be a line image extending in a line direction perpendicular to the transport direction.

[0009] With this configuration, parameters for correcting the transport direction can be appropriately calculated using line images, thereby more effectively correcting errors in the image being read.

[0010] (3) The transport direction correction parameter may be generated by dividing the correction read image read by the read processing unit into a plurality of segmented images corresponding to each image sensor, and for each segmented image, calculating an approximate curve of the reference image read by the read processing unit using the nth-degree function (n≧3).

[0011] With this configuration, parameters for correcting the transport direction can be calculated for each segmented image, allowing for more effective correction of errors in the image being read.

[0012] (4) The correction reading image includes equally spaced images arranged at equal intervals in the line direction, and the correction parameters may include line direction correction parameters generated by calculating the amount of displacement of the equally spaced images along the line direction based on the correction reading image read by the reading processing unit.

[0013] With this configuration, line direction correction parameters can be generated based on a correction reading image that includes equally spaced images, and errors in the read image due to the misalignment of each image sensor can be suitably corrected based on these line direction correction parameters.

[0014] (5) The parameter storage unit and the correction processing unit may be configured as a PLD that stores the correction parameters and corrects the image to be read, which is read by the reading processing unit based on the correction parameters.

[0015] With this configuration, different correction parameters can be written to the PLD for each optical line sensor, and the error in the image being read can be suitably corrected based on these correction parameters.

[0016] (6) The PLD may be configured using an FPGA.

[0017] With this configuration, correction parameters can be pre-programmed into the FPGA, and the corrected image to be read can be output by the FPGA.

[0018] (7) The correction processing unit may perform sub-pixel processing based on the correction parameters.

[0019] With this configuration, subpixel processing can be used to further suitably correct errors in the image being read due to misalignment of each image sensor.

[0020] (8) The optical line sensor may be of the contact type.

[0021] With this configuration, the distance between the object and the optical line sensor is short, which reduces the loss of light. In other words, the power consumption of the optical line sensor can be reduced.

[0022] (9) A method for manufacturing an optical line sensor according to the present invention is a method for manufacturing an optical line sensor, comprising a correction reading step, a parameter generation step, and a writing step. In the correction reading step, the reading processing unit reads the correction reading image as an image of the object. In the parameter generation step, correction parameters are generated based on the correction reading image. In the writing step, the correction parameters are written to the parameter storage unit.

[0023] With this configuration, it is possible to manufacture optical line sensors in which different correction parameters are pre-written in the parameter storage unit for each optical line sensor. When an image to be read is read using such an optical line sensor, the error in the image to be read can be suitably corrected based on the correction parameters.

[0024] (10) A correction processing method according to the present invention is a correction processing method for the optical line sensor, including a read-target image reading step and a correction step. In the read-target image reading step, the read-target image is read by the reading processing unit as an image of the object. In the correction step, the correction processing unit corrects the read-target image based on the correction parameters.

[0025] According to such a configuration, errors in the read-target image can be suitably corrected based on the correction parameters pre-written in the parameter storage unit.

Effects of the Invention

[0026] According to the present invention, in a configuration in which a plurality of high-resolution imaging elements are arranged side by side in a line, image errors caused by deformation of the lens array can be suitably corrected.

Brief Description of Drawings

[0027] [Figure 1] FIG. 1 is a schematic cross-sectional view illustrating an example of a configuration of a contact-type optical line sensor according to a first embodiment. [Figure 2] FIG. 2 is a schematic cross-sectional view illustrating another example of the configuration of the contact-type optical line sensor according to the first embodiment. [Figure 3A] FIG. 3 is a schematic diagram illustrating an example of a configuration of a light receiving unit according to the first embodiment. [Figure 3B] FIG. 4 is a schematic diagram illustrating another example of the configuration of the light receiving unit according to the first embodiment. [Figure 4] FIG. 5 is a diagram illustrating an example of a read image for correction in the first embodiment. [Figure 5] FIG. 6 is a block diagram illustrating a part of an electrical configuration of the contact-type optical line sensor according to the first embodiment. [Figure 6] FIG. 7 is a diagram for explaining an aspect when generating correction parameters in the first embodiment. [Figure 7] FIG. 8 is a diagram for explaining an aspect when generating correction parameters in the first embodiment. [Figure 8]This is a block diagram illustrating the manner in which correction processing is performed in the first embodiment. [Figure 9] This figure illustrates a specific example of the correction process in the first embodiment. [Figure 10] This figure shows an example of a correction reading image in a modified example of the first embodiment. [Figure 11] This figure illustrates the method for generating correction parameters in a modified example of the first embodiment. [Figure 12] This figure illustrates the method for generating correction parameters in a modified example of the first embodiment. [Figure 13] This figure shows an example of a correction image in the second embodiment. [Figure 14] This figure illustrates the method for generating correction parameters in the second embodiment. [Figure 15] This figure illustrates the method for generating correction parameters in the second embodiment. [Figure 16] This figure shows an example of a correction image in the third embodiment. [Figure 17] This is a schematic perspective view showing an example of the lens array configuration in the third embodiment. [Figure 18] This figure illustrates the method for generating correction parameters in the third embodiment. [Figure 19] This figure illustrates the method for generating correction parameters in the third embodiment. [Modes for carrying out the invention]

[0028] 1. Overall configuration of a contact-type optical line sensor Figure 1 is a schematic cross-sectional view showing an example of the configuration of the contact-type optical line sensor 100 in the first embodiment, but in the first embodiment, the configuration of the contact-type optical line sensor 100 is not limited to a contact-type. This contact-type optical line sensor (CIS: Contact Image Sensor) 100 reads an image of an object being transported along the transport direction (y direction) and has the function of correcting and outputting the read image. Paper sheets can be given as an example of an object, but it is not limited to this and is possible to read images of any object.

[0029] This close-contact optical line sensor 100 comprises a housing 16, a line illumination light source 10 for illuminating an object, a lens array 11 for guiding the light emitted from the line illumination light source 10 toward the focal plane 20 and reflected by the object, and a light receiving unit 12 mounted on a CIS substrate 13 for receiving light transmitted through the lens array 11. The object is transported in one direction (y direction) along the focal plane 20. These housing 16, line illumination light source 10, light receiving unit 12, and lens array 11 extend in the x direction, that is, in the direction perpendicular to the plane of the paper in Figure 1, and Figure 1 shows a cross-section perpendicular to the x direction.

[0030] The line illumination light source 10 is a unit that emits light toward an object located at the focal plane 20. The types of light emitted are, for example, visible light and ultraviolet light, and infrared light may also be emitted. However, it is also possible to configure the line illumination light source 10 to emit only visible light toward the object.

[0031] The line illumination light source 10 is provided with a transparent light guide 1 extending along the x-direction (longitudinal direction). Each outer side of the light guide 1 is held by a cover member 2. A light source (not shown) is provided at one or both ends of the light guide 1 in the x-direction. Light entering the light guide 1 from the light source is diffused by a light diffusion pattern P and emitted from the side of the light guide 1 that is not covered by the cover member 2.

[0032] Light emitted from the line illumination light source 10 passes through the protective glass 14 and is focused at the focal plane 20. The protective glass 14 is not strictly necessary and can be omitted, but it is desirable to install it to protect the line illumination light source 10 and lens array 11 from scattering of dust and scratches during use. The material of the protective glass 14 can be any material that transmits the light emitted from the line illumination light source 10, such as a transparent resin such as acrylic resin or cycloolefin resin, or white glass or borosilicate glass.

[0033] A light source substrate 5 for fixing the light source unit is installed opposite the bottom surface of the line lighting light source 10. This light source substrate 5 is a thin insulating board made of phenol, glass epoxy, etc., and a wiring pattern made of copper foil is formed on its back surface. By inserting the terminals of the light source unit into holes formed at various locations on the light source substrate 5 and joining them to the wiring pattern on the back surface of the light source substrate 5 with solder, the light source unit can be mounted and fixed to the light source substrate 5, and power can be supplied to the light source unit from a predetermined drive power supply (not shown) through the wiring pattern on the back surface of the substrate.

[0034] The lens array 11 is an optical element that forms an image of light reflected from an object onto the light-receiving unit 12, and can be composed of a rod lens array. In the first embodiment, the magnification of the lens array 11 is set to 1 (erect). An ultraviolet light blocking filter film 15 may be provided at any position from the focal plane 20 to the light-receiving unit 12 to block ultraviolet light by reflecting or absorbing it, so that ultraviolet light does not enter the light-receiving unit 12.

[0035] The light-receiving unit 12 is mounted on the CIS substrate 13 and includes multiple photoelectric conversion elements that receive reflected light from an object and read an image by photoelectric conversion. The material and structure of the photoelectric conversion elements are not particularly limited and may include photodiodes and phototransistors made of amorphous silicon, crystalline silicon, CdS, or CdSe. In the first embodiment, a light-receiving IC (Integrated Circuit) chip in which multiple photoelectric conversion elements are arranged in a straight line in the x-direction is arranged along the length direction (x-direction) on a long CIS substrate 13. In addition, if necessary, electrical circuits such as drive circuits or amplification circuits, A / D converters, or connectors for extracting signals to the outside can also be mounted on the CIS substrate 13.

[0036] Figure 2 is a schematic cross-sectional view showing another example of the configuration of the close-contact optical line sensor 100 in the first embodiment. Referring to Figure 1, a reflective close-contact optical line sensor 100 was described in which light is irradiated from a line illumination light source 10 toward an object and the light reflected by the object is received. However, the first embodiment is not limited to the reflective close-contact optical line sensor 100, but is also applicable to a transmissive close-contact optical line sensor as shown in Figure 2, in which the line illumination light source 10 is positioned on the opposite side of the focal plane 20 from the light receiving unit 12 side, and the light emitted from the line illumination light source 10 toward the object and transmitted through the object is received. In this case, the only difference from the arrangement in Figure 1 is that the position of the line illumination light source 10 is below the focal plane 20, and the configuration of the line illumination light source 10 itself is the same as the configuration in Figure 1.

[0037] 2. Configuration of the light-receiving section Figure 3A is a schematic diagram showing an example of the configuration of the light-receiving unit 12 in the first embodiment. Figure 3B is a schematic diagram showing another example of the configuration of the light-receiving unit 12 in the first embodiment. Figures 3A and 3B show bottom views of the light-receiving unit 12 and the CIS substrate 13 as viewed along the z-direction.

[0038] The light-receiving unit 12 is equipped with multiple light-receiving IC chips 121 as image sensors. The image of the object is read by being exposed to the multiple light-receiving IC chips 121 via the lens array 11. The multiple light-receiving IC chips 121 are arranged in a line along the x-direction. Here, "line" is not limited to a configuration in which the multiple light-receiving IC chips 121 are arranged on a straight line along the x-direction as shown in Figure 3A, but also includes a configuration in which the multiple light-receiving IC chips 121 are arranged in a staggered pattern on two straight lines parallel to the x-direction as shown in Figure 3B. When the multiple light-receiving IC chips 121 are arranged in a staggered pattern as shown in Figure 3B, the ends of each light-receiving IC chip may be arranged so that they overlap with the ends of adjacent light-receiving IC chips in the y-direction.

[0039] Each light-receiving IC chip 121 has multiple photoelectric conversion elements (not shown) arranged in a straight line along the x-direction. Specifically, each light-receiving IC chip 121 is equipped with 300 photoelectric conversion elements and can perform readings with 300 pixels. In this embodiment, 10 such light-receiving IC chips 121 are arranged in a line. However, the number of light-receiving IC chips 121 and the number of photoelectric conversion elements provided in each light-receiving IC chip 121 are not limited to the numbers described above.

[0040] 3. An example of a reading image for correction. In the first embodiment, when manufacturing the contact-type optical line sensor 100, a correction reading image is read by the light-receiving unit 12, thereby generating correction parameters. When reading an image to be read (the actual object to be read) that is different from the correction reading image, a correction process is performed based on the pre-generated correction parameters.

[0041] Figure 4 shows an example of a correction reading image 30 in the first embodiment. In this example, a black correction reading image 30 is displayed on a plain white (monochromatic) surface. By transporting a sheet of paper with such a correction reading image 30 along the focal plane 20 as the object and reading the correction reading image 30, correction parameters can be generated.

[0042] Specifically, the correction reading image 30 includes a line image 31 extending in the x-direction (line direction), which is perpendicular to the y-direction, and equally spaced images 32 arranged at equal intervals in the x-direction. The line image 31 is represented in a straight line with a uniform thickness along the x-direction. The equally spaced images 32 are line-shaped images extending along the y-direction, and multiple equally spaced images 32 are represented parallel to each other at regular intervals in the x-direction.

[0043] Furthermore, the correction reading image 30 includes magnification calculation images 33 (33a, 33b) in addition to the equally spaced images 32. The magnification calculation images 33 consist of a pair of first magnification calculation images 33a and second magnification calculation images 33b. The first magnification calculation images 33a and second magnification calculation images 33b are line-shaped images extending along the y-direction, and multiple first magnification calculation images 33a and multiple second magnification calculation images 33b are arranged in the x-direction.

[0044] The pitch between the multiple equally spaced images 32 corresponds to the placement pitch of each light-receiving IC chip 121 on the substrate. In other words, one equally spaced image 32 is associated with one light-receiving IC chip 121. Also, one magnification calculation image 33 is associated with one light-receiving IC chip 121. In other words, one first magnification calculation image 33a and one or more second magnification calculation images 33b are associated with one light-receiving IC chip 121. One end of each equally spaced image 32 is connected to a line image 31. Similarly, one end of each first magnification calculation image 33a and each second magnification calculation image 33b is also connected to a line image 31. As a result, the correction reading image 30 is represented as an image in which a combination image consisting of a T-shaped image and magnification calculation images 32 is continuously combined in the x direction. The number of combination images corresponds to the number of light-receiving IC chips 121 (e.g., 10).

[0045] Furthermore, the equally spaced images 32 are associated with the center of each light-receiving IC chip 121 in the line direction, and the first magnification calculation image 33a and the second magnification calculation image 33b are associated with each light-receiving IC chip 121 so as to sandwich the equally spaced images 32 in the line direction. Preferably, the equally spaced images 32 are associated with the center position in the line direction of each light-receiving IC chip 121. Also, preferably, the first magnification calculation image 33a and the second magnification calculation image 33b are associated with both ends of each light-receiving IC chip 121 in the line direction. In other words, it is preferable that the first magnification calculation image 33a and the second magnification calculation image 33b corresponding to each light-receiving IC chip 121 are arranged as far apart as possible.

[0046] However, the correction reading image 30 is not limited to the image shown in Figure 4. For example, the equally spaced image 32 and the magnification calculation image 33 do not have to be combined with the line image 31, and they may extend along a direction inclined with respect to the y direction. Also, the equally spaced image 32 and the magnification calculation image 33 may not be line-shaped images, but rather dot-shaped images, etc. Thus, the correction reading image 30 is not limited to an image formed by combining multiple combined images. Furthermore, the correction reading image 30 is not limited to black, and the plane on which the correction reading image 30 is represented may be a single color other than white or multiple colors. Moreover, each equally spaced image 32 may be associated with a part of the light-receiving IC chip 121 other than the center in the line direction, for example, one end. Furthermore, if one magnification calculation image 33 is associated with one light-receiving IC chip 121, the spacing between multiple magnification calculation images 33 is not particularly limited. In this case, the intervals between the first magnification calculation image 33a and the second magnification calculation image 33b may be different in each magnification calculation image 33.

[0047] 4. Electrical configuration of a contact-type optical line sensor Figure 5 is a block diagram showing a part of the electrical configuration of the contact-type optical line sensor 100 in the first embodiment. In addition to the CIS substrate 13 described above, the contact-type optical line sensor 100 includes an FPGA substrate 17 and the like.

[0048] The CIS board 13 constitutes the reading processing unit 110. The reading processing unit 110 is a functional component of the contact-type optical line sensor 100, and the CIS board 13 functions as a reading processing unit 110 that reads an image of an object based on input signals from multiple light-receiving IC chips 121. As shown in Figure 5, when the correction reading image 30 is read by the reading processing unit 110 as an image of an object, data representing the correction reading image 30 is output from the CIS board 13 to the FPGA board 17.

[0049] The FPGA board 17 comprises a parameter storage unit 120 and a correction processing unit 130. The parameter storage unit 120 and the correction processing unit 130 are functional configurations provided in the contact-type optical line sensor 100, respectively. The FPGA board 17 functions as a parameter storage unit 120 that stores correction parameters generated based on the correction reading image 30, and as a correction processing unit 130 that corrects the image to be read based on the correction parameters.

[0050] An FPGA (Field-Programmable Gate Array) is mounted on the FPGA board 17. An FPGA is an integrated circuit that can be programmed by the purchaser or designer after manufacturing, and in a broad sense, it is a type of PLD (Programmable Logic Device). As shown in Figure 5, when the correction reading image 30 is read by the reading processing unit 110 as an image of the target object, data representing the correction reading image 30 is output from the CIS board 13 to the correction terminal 200 via the FPGA board 17.

[0051] The correction terminal 200 is configured, for example, as a personal computer and can communicate with the contact-type optical line sensor 100 via wired or wireless connection. When data representing the correction reading image 30 is input to the correction terminal 200, it performs a process to generate correction parameters based on that data. The correction parameters generated by the correction terminal 200 are written to and stored in the FPGA on the FPGA board 17, which serves as the parameter storage unit 120.

[0052] Thus, when manufacturing the contact-type optical line sensor 100, the correction reading image 30 is read by the reading processing unit 110 as an image of the target object (correction reading step). Then, a predetermined operation is performed on the correction terminal 200, which has data representing the correction reading image 30 as input, and correction parameters are generated based on the correction reading image 30 (parameter generation step).

[0053] The correction parameters generated at the correction terminal 200 are input from the correction terminal 200 to the contact-type optical line sensor 100 and written to the FPGA on the FPGA board 17 that constitutes the parameter storage unit 120 (writing process). The correction parameters written and stored in the FPGA as the parameter storage unit 120 are read out when the FPGA functions as a correction processing unit 130.

[0054] 5. Generation of correction parameters Figures 6 and 7 illustrate the method for generating correction parameters in the first embodiment. Figure 6 shows the line image 31, the equally spaced image 32, and the magnification calculation image 33 (33a, 33b) that constitute the correction reading image 30 before correction. Figure 7 shows the line image 41, the equally spaced image 42, and the magnification calculation image 43 (43a, 43b) that constitute the correction image 40 after correction using the correction parameters.

[0055] When the correction reading image 30 is read by the reading processing unit 110, a portion of the line image 31 may be shifted in the y-direction due to misalignment of the placement of each light-receiving IC chip 121, as shown in Figure 6. Similarly, the pitch P between the equally spaced images 32 may be shifted in the x-direction due to misalignment of the placement of each light-receiving IC chip 121. Furthermore, the combined image may be enlarged in the x-direction due to similar misalignment of the placement of each light-receiving IC chip 121. Here, misalignment of the placement of the light-receiving IC chip 121 includes at least one of the concepts of the light-receiving IC chip 121 being slid from its original position before being placed, and the light-receiving IC chip 121 being placed in a tilted state on the xy plane. Also, the shift of the image in the y-direction includes at least one of the concepts of the image sliding in the y-direction from its original position, and the image being tilted with respect to the x-direction so that a skew transformation in the y-direction is performed on the image. Specifically, the image slides in the y-direction due to the sliding of the light-receiving IC chip 121 in the y-direction. Furthermore, the image slides in the x-direction due to the sliding of the light-receiving IC chip 121 in the x-direction. In addition, the image tilts with respect to the x-direction and the magnification M in the x-direction increases due to the tilting of the light-receiving IC chip 121 on the xy-plane. The generated correction parameters include transport direction correction parameters to correct the deviation in the transport direction and line direction correction parameters to correct the deviation in the line direction.

[0056] As shown by the dashed lines in Figure 6, the parameters for correcting the transport direction are generated by dividing the correction read image 30 read by the read processing unit 110 into multiple (10) segmented images corresponding to each light receiving IC chip 121, and calculating the amount of displacement of the line image 31 along the y direction and the inclination of the line image 31 with respect to the x direction for each segmented image.

[0057] At this time, parameters for correcting the transport direction are generated using the linear function equation y = ax + b. "b" represents the amount of displacement of the line image 31 along the y direction, and "a" represents the slope of the line image 31 with respect to the x direction. By substituting the x and y coordinates of the line image 31 in each segmented image into the above linear function, parameters for correcting the transport direction can be generated.

[0058] The line direction correction parameters are generated by calculating the amount of displacement of the equally spaced images 32 along the line direction based on the equally spaced images 32 read by the reading processing unit 110, and by calculating the magnification of the images read by each light-receiving IC chip 121 based on the magnification calculation image 33 read by the reading processing unit 110.

[0059] The line direction correction parameters specifically include a first line direction correction parameter and a second line direction correction parameter.

[0060] The first line direction correction parameter is generated by calculating the amount of displacement of the equally spaced images 32 (equally spaced images 42) along the line direction based on the equally spaced images 32 (equally spaced images 42). The second line direction correction parameter is generated by calculating the magnification of the image read by each light-receiving IC chip 121 based on the distance between the first magnification calculation image 33a and the second magnification calculation image 33b for each light-receiving IC chip 121 read by the reading processing unit 110.

[0061] For example, the reading processing unit 110 generates a corrected image 40 (see Figure 7) by correcting the y-direction displacement and tilt, and the x-direction magnification M, based on the corrected reading image 30 (see Figure 6) read by the reading processing unit 110, the generated transport direction correction parameters, and the generated second line direction correction parameters. Subsequently, the first line direction correction parameters are generated by calculating the displacement of the equally spaced images 42 along the x-direction. In other words, in such a case, the second line direction correction parameters are generated so that the distances between the first magnification calculation image 33a and the second magnification calculation image 33b become their original distances, and then the first line direction correction parameters are generated so that the pitch P between the equally spaced images 42 is constant in the x-direction.

[0062] In the example shown in Figure 6, an equally spaced image 32 exists in the center of each divided image in the line direction. Therefore, changes in magnification in the x-direction do not significantly affect the displacement of the equally spaced image 32. On the other hand, if an equally spaced image 32 does not exist in the center of each divided image in the line direction, changes in magnification in the x-direction will significantly affect the displacement of the equally spaced image 32.

[0063] Therefore, when correction of the magnification in the x-direction is required, that is, when the line direction correction parameter includes a second line direction correction parameter, it is preferable that the first line direction correction parameter is calculated after generating a corrected image 40 that reflects the second line direction correction parameter.

[0064] 6. Correction Processing Method Figure 8 is a block diagram illustrating the manner in which the correction process is performed. In Figure 8, the electrical configuration of the contact-type optical line sensor 100 is the same as in Figure 5.

[0065] When a user uses the contact-type optical line sensor 100, the user allows the reading processing unit 110 to read the image to be read 50 as an image of the target object (image to be read process). At this time, data representing the image to be read 50 is output from the CIS board 13 to the FPGA board 17.

[0066] As described above, correction parameters are pre-programmed into the FPGA on the FPGA board 17. In the FPGA acting as the correction processing unit 130, the image to be read 50 is corrected based on these correction parameters (correction process). Specifically, the y-direction deviation of the image to be read 50 is corrected by the transport direction correction parameter, and the x-direction deviation of the image to be read 50 is corrected by the line direction correction parameter.

[0067] However, in the first embodiment, the transport direction correction parameters are modified as needed. For example, when the image to be read 50 is read by the reading processing unit 110 as an image of an object with a resolution of about 600 dpi, the pixel pitch in the x and y directions becomes about 42 μm.

[0068] The pixel pitch in the x-direction depends on the arrangement of the light-receiving IC chip 121. On the other hand, the pixel pitch in the y-direction depends on the transport speed of the object and the exposure time of the object. In other words, if at least one of the transport speed and exposure time when the image to be read 50 is read as an image of the object by the reading processing unit 110 changes, the pixel pitch in the y-direction changes. Note that the exposure time refers to the storage time during which the light-receiving unit 12 stores the amount of light for one line, and if the exposure time is longer, the reading time for one line of the image will be longer.

[0069] Therefore, for example, when the image to be read 50 is read by the reading processing unit 110 as an image of an object at a resolution of approximately 300 dpi, compared to when it is read at a resolution of approximately 600 dpi, either the object transport speed or the object exposure time is doubled, and the pixel pitch in the y direction is doubled. Note that not only when changing the resolution, but also when changing the aspect ratio of the image, at least one of the object transport speed and exposure time may change.

[0070] Since the transport direction correction parameters are generated using the linear function y = ax + b, if the pixel pitch in the y direction changes, the coefficients a and b of the linear function must be modified to obtain appropriate transport direction correction parameters for each segmented image. For example, if the pixel pitch in the y direction doubles as described above, the transport direction correction parameters must be modified so that the linear function becomes y = 2ax + 2b.

[0071] Therefore, in the first embodiment, the transport direction correction parameter is modified based on at least one of the transport speed and exposure time when the image to be read 50 is read as an image of an object by the reading processing unit 110. Specifically, the transport direction correction parameter is modified by multiplying it by a constant based on at least one of the transport speed and exposure time. That is, in the linear function equation y=ax+b used when generating the transport direction correction parameter, the transport direction correction parameter is modified by multiplying the coefficients a and b by the above constant. The optical line sensor 100 acquires information about the transport speed by being communicated with, for example, the transport mechanism, but the method of acquiring this information is not particularly limited.

[0072] Furthermore, when correction is performed based on the second line direction correction parameter, the image is reduced in size, which may result in some parts of the corrected image being missing. In such cases, further correction may be performed to interpolate the missing parts using well-known techniques.

[0073] The corrected image to be read (corrected image) is output to the user terminal 300. The user terminal 300 is, for example, a personal computer and can communicate with the contact-type optical line sensor 100 via wired or wireless connection. The corrected image may be displayed or printed on the user terminal 300 upon receiving the input.

[0074] Figure 9 is a diagram illustrating a specific example of the correction process. Figure 9(a) shows a portion of the image 50 to be read by the reading processing unit 110, and Figure 9(b) shows a corrected image in which a portion of the image 50 to be read in Figure 9(a) has been corrected by the FPGA. In Figures 9(a) and 9(b), the hatched pixels represent a portion of the corrected reading image 30 (line image 31).

[0075] When a corrected image is output from the FPGA, the data of each pixel is sequentially read in an order based on the correction parameters (transport direction correction parameters and line direction correction parameters) pre-written to the FPGA, and output to the user terminal 300. As a result, the user terminal 300 obtains a corrected image of the read image (corrected image) with the misalignment corrected, as shown in Figure 9(b).

[0076] The correction method may include so-called subpixel processing. Subpixel processing may include bilinear processing, which calculates the brightness value after movement from the brightness values ​​of the four surrounding pixels of the pixel position before movement, or bicubic processing, which calculates the brightness value after movement from the brightness values ​​of the sixteen surrounding pixels of the pixel position before movement. Alternatively, the correction method may include non-subpixel processing such as nearest neighbor processing, which moves pixels by an integer number of pixels based on the amount of displacement.

[0077] 7. Modified form of the first embodiment In the modified version of the first embodiment, the correction reading image 30 and the method for calculating the correction parameters are changed, but otherwise it is the same as the first embodiment. Therefore, redundant explanations regarding this modified version of the first embodiment may be omitted.

[0078] In this modified example, the correction reading image 30 includes the line image 31, the equally spaced image 32, and one of the first magnification calculation image 33a and the second magnification calculation image 33b, with the equally spaced image 32 playing the same role as the other of the first magnification calculation image 33a and the second magnification calculation image 33b. In other words, in this modified example, the magnification calculation image 33 includes only one of the first magnification calculation image 33a and the second magnification calculation image 33b, so one magnification calculation image 33 is associated with each light-receiving IC chip 121.

[0079] Figure 10 shows an example of a correction reading image 30 in a modified version of the first embodiment. In the example shown in Figure 10, the correction reading image 30 includes a line image 31, an equally spaced image 32, and a second magnification calculation image 33b, with the equally spaced image 32 playing the same role as the first magnification calculation image 33a. Hereinafter, a modified version of the first embodiment will be described using this case as an example.

[0080] Figures 11 and 12 illustrate the manner in which correction parameters are generated in a modified version of the first embodiment. In the modified version of the first embodiment, the second line direction correction parameter is generated by calculating the magnification of the image read by each light-receiving IC chip 121 based on the distance between one second magnification calculation image 33b and the equally spaced image 32 for each light-receiving IC chip 121 read by the reading processing unit 110.

[0081] In other words, in this modified example, the line direction correction parameter is generated by calculating the amount of displacement of the equally spaced images 32 along the line direction based on the equally spaced images 32 read by the reading processing unit 110, and by calculating the magnification of the image read by each light-receiving IC chip 121 based on the distance between the equally spaced images 32 and one second magnification calculation image 33b for each light-receiving IC chip 121 read by the reading processing unit.

[0082] In a modified version of the first embodiment, for example, a corrected image 40 (see Figure 12) is generated by correcting the y-direction displacement and tilt, and the x-direction magnification M, based on the corrected reading image 30 (see Figure 11) read by the reading processing unit 110, the generated transport direction correction parameters, and the generated second line direction correction parameters. Subsequently, the first line direction correction parameters are generated by calculating the displacement of the equally spaced images 42 along the x-direction. That is, in this case, the second line direction correction parameters are generated so that the distances between the equally spaced images 32 and the second magnification calculation image 33b become their original distances, and then the first line direction correction parameters are generated so that the pitch P between the equally spaced images 42 is constant in the x-direction.

[0083] 8. Second Embodiment In the second embodiment, the method for calculating the correction reading image 30 and the correction parameters is changed, but otherwise it is the same as the first embodiment. Therefore, in this second embodiment, explanations that overlap with the first embodiment may be omitted.

[0084] Figure 13 shows an example of a correction reading image 30 in a modified example of the second embodiment. In the second embodiment, the correction reading image 30 includes a line image 31 and an equally spaced image 32.

[0085] Figures 14 and 15 illustrate the method for generating correction parameters in the second embodiment. The line direction correction parameters include only the first line direction correction parameters. In other words, the line direction correction parameters of the second embodiment are generated by calculating the amount of displacement of the equally spaced images 32 along the line direction, based on the equally spaced images 32.

[0086] In the second embodiment, for example, a corrected image 40 (see Figure 15) is generated by correcting the y-direction displacement and tilt based on the corrected reading image 30 (see Figure 14) read by the reading processing unit 110 and the generated transport direction correction parameters. Subsequently, line direction correction parameters are generated by calculating the displacement of the equally spaced images 42 along the x-direction. That is, in this case, line direction correction parameters are generated so that the pitch P between the equally spaced images 42 is constant in the x-direction.

[0087] 9. Third Embodiment The third embodiment is the same as the first and second embodiments, except that the correction reading image 30 and the method for calculating the correction parameters have been changed. Therefore, in this third embodiment, explanations that overlap with the first and second embodiments may be omitted.

[0088] Figure 16 shows an example of a correction reading image 30 in the third embodiment. In the third embodiment, the correction reading image 30 includes a reference image 34 extending in a direction intersecting the transport direction. In the example shown in Figure 16, the reference image 34 is an image extending in a line direction perpendicular to the transport direction, i.e., an image similar to the line image 31. Note that the reference images 34 may be curved images as long as they do not overlap each other in the transport direction. In addition, in the third embodiment, the correction reading image 30 includes equally spaced images 32. One end of each equally spaced image 32 is connected to the reference image 34. However, the equally spaced images 32 may be omitted.

[0089] Figure 17 is a schematic perspective view showing an example of the configuration of the lens array 11 in the third embodiment. The lens array 11 includes a plurality of lenses 11a and support members 11b that support the plurality of lenses 11a. The lens array 11 may be mounted on the body of the contact-type optical line sensor 100 in a deformed state. The deformed state here includes, for example, a state in which it is twisted around the longitudinal axis and a state in which it is curved. In such cases, the lens 11a is tilted, which may cause the read image to shift. Therefore, in the third embodiment, the shift of the read image caused by the lens array 11 can be corrected.

[0090] Figures 18 and 19 illustrate the method for generating correction parameters in the third embodiment. In the third embodiment, the transport direction correction parameters are generated by calculating an approximate curve of the reference image 34 read by the reading processing unit 110 using an n-th degree function (n≧3).

[0091] Specifically, the parameters for correcting the transport direction are generated by dividing the correction read image 30 read by the read processing unit 110 into multiple (10) segmented images corresponding to each light receiving IC chip 121, as shown by the dashed line in Figure 18, and then calculating an approximate curve of the reference image 34 read by the read processing unit 110 using an n-th degree function (n≧3) for each segmented image.

[0092] For example, the approximation curve of reference image 34 is a cubic equation y=Ax 3 +Bx 2 When expressed as +Cx+D, parameters for transport direction correction can be generated by substituting the x and y coordinates of the reference image 34 into the approximate curve. However, the approximate curve of the reference image 34 is not limited to a third-degree equation, but may be expressed by other correction equations such as a fourth-degree or fifth-degree equation. The method for calculating the approximate curve is not particularly limited, and the approximate curve may be calculated using well-known calculation methods such as the least squares method.

[0093] Furthermore, the line direction correction parameters include only the first line direction correction parameters. In other words, the line direction correction parameters of the third embodiment are generated by calculating the amount of displacement of the equally spaced images 32 along the line direction, based on the equally spaced images 32. In the third embodiment, the displacement of the equally spaced images 32 is due to deformation of the lens array 11.

[0094] In the third embodiment, for example, a corrected image 40 (see Figure 19) is generated by correcting the amount of deviation in the y direction based on the corrected reading image 30 (see Figure 18) read by the reading processing unit 110 and the generated transport direction correction parameters. Subsequently, line direction correction parameters are generated by calculating the amount of deviation of the equally spaced images 42 along the x direction.

[0095] The specific configurations described in each embodiment are merely examples and can be modified as appropriate according to the actual product. Therefore, the configuration of the contact-type optical line sensor 100 may be modified as appropriate within the range in which similar effects can be obtained. Furthermore, the embodiments described above may be combined as appropriate as needed.

[0096] 9. Effects (1) In each embodiment, transport direction correction parameters and line direction correction parameters are generated based on the correction reading image 30, and errors in the reading image 50 due to the misalignment of each light receiving IC chip 121 can be suitably corrected based on these correction parameters.

[0097] (2) In each embodiment, different correction parameters are written to the PLD for each contact-type optical line sensor 100, and the error of the image to be read 50 can be suitably corrected based on these correction parameters. In particular, since the PLD is made up of an FPGA, the correction parameters can be written to the FPGA in advance, and the corrected image to be read 50 can be output by the FPGA.

[0098] (3) In the first embodiment, when generating transport direction correction parameters based on the corrected read image, the transport direction correction parameters can be appropriately calculated by calculation using a linear function. Furthermore, the transport direction correction parameters can be appropriately corrected by multiplying them by a constant based on at least one of the transport speed and exposure time when the image to be read is read by the reading processing unit 110 as an image of the object. This allows for more favorable correction of errors in the image to be read 50 due to the misalignment of each light-receiving IC chip 121. Moreover, if correction is performed by sub-pixel processing, the errors in the image to be read 50 due to the misalignment of each light-receiving IC chip 121 can be corrected even more favorably.

[0099] (4) In the second embodiment, when generating transport direction correction parameters based on the corrected read image, the transport direction correction parameters can be appropriately calculated by calculation using a linear function, thereby more effectively correcting the error in the read image 50 due to the misalignment of each light-receiving IC chip 121. Furthermore, if correction is performed by subpixel processing, the error in the read image 50 due to the misalignment of each light-receiving IC chip 121 can be corrected even more effectively.

[0100] (5) In the third embodiment, when generating transport direction correction parameters based on the corrected read image, the transport direction correction parameters can be appropriately calculated by calculation using an n-th degree function (n≧3), so that errors in the read image 50 due to the misalignment of each light-receiving IC chip 121 can be corrected more effectively. Furthermore, if correction is performed by subpixel processing, errors in the read image 50 due to the misalignment of each light-receiving IC chip 121 can be corrected even more effectively. [Explanation of Symbols]

[0101] 12 Light receiving part 13 CIS substrates 17 FPGA boards 30 Correction reading image 31 Line Images 32 equally spaced images 33 Image for calculating magnification 33a Image for first magnification calculation 33b Image for second magnification calculation 34 Reference Image 40 Corrected Images 42 equally spaced images 43 Image used for calculating magnification 43a Image for calculating the first magnification 43b Image for calculating the second magnification 44 Standard Alcohol 50 Images to be read 100 Close-contact optical line sensors 110 Reading Processing Unit 120 Parameter storage unit 121 Light-receiving IC chip 130 Correction Processing Unit

Claims

1. An optical line sensor that reads images of objects being transported along the transport direction by exposing them to multiple image sensors arranged in a line via a lens array, A reading processing unit reads an image of the object based on input signals from the plurality of image sensors, When a correction reading image, which includes a reference image extending in a direction intersecting the transport direction, is read by the reading processing unit as an image of the object, a parameter storage unit stores correction parameters generated based on the correction reading image, The system includes a correction processing unit that corrects the image to be read based on the correction parameters when the reading processing unit reads an image to be read that is different from the correction reading image as an image of the object, The correction parameters include transport direction correction parameters generated by calculating an approximate curve of the reference image read by the reading processing unit using an n-th degree function (n≧3). The aforementioned reference image is a line image extending in a line direction perpendicular to the transport direction, The correction reading image includes equally spaced images arranged at equal intervals in the line direction, The correction parameters include line direction correction parameters generated by calculating the amount of displacement of the equally spaced images along the line direction based on the correction reading image read by the reading processing unit, An optical line sensor in which one of the image sensors is associated with one of the equally spaced images.

2. The optical line sensor according to claim 1, wherein each equally spaced image corresponds to the central portion in the line direction of each image sensor.

3. The correction reading image includes two magnification calculation images associated with each image sensor so as to sandwich the equally spaced images in the line direction, The optical line sensor according to claim 1, wherein the line direction correction parameter is generated by calculating the amount of displacement of the equally spaced images along the line direction based on the equally spaced images read by the reading processing unit, and by calculating the magnification of the image read by each image sensor based on the distance between two magnification calculation images for each image sensor read by the reading processing unit.

4. The optical line sensor according to claim 1, wherein the transport direction correction parameter is generated by dividing the correction read image read by the reading processing unit into a plurality of segmented images corresponding to each image sensor, and for each segmented image, calculating an approximate curve of the reference image read by the reading processing unit using the nth-degree function (n≧3).

5. The optical line sensor according to claim 1, wherein the parameter storage unit and the correction processing unit are configured with a PLD on which the correction parameters are written and which corrects the image to be read by the reading processing unit based on the correction parameters.

6. The optical line sensor according to claim 5, wherein the PLD is composed of an FPGA.

7. The optical line sensor according to claim 1, wherein the correction processing unit corrects the correction based on the correction parameters by sub-pixel processing.

8. The optical line sensor according to claim 1, wherein the optical line sensor is of the contact type.

9. A method for manufacturing an optical line sensor according to any one of claims 1 to 8, A correction reading step in which the correction reading image is read by the reading processing unit as an image of the object, A parameter generation step of generating correction parameters based on the correction reading image, A method for manufacturing an optical line sensor, comprising a writing step of writing the correction parameters to the parameter storage unit.

10. A correction processing method for an optical line sensor according to any one of claims 1 to 8, A reading image step in which the reading image is read by the reading processing unit as an image of the object, A correction processing method comprising a correction step of correcting the image to be read in the correction processing unit based on the correction parameters.

Citation Information

Patent Citations

  • Line sensor apparatus

    JP2009194424A

  • Method and apparatus for determining particle size

    JP2016511834A

  • Image reading apparatus and assembly method thereof

    JP2018182758A

  • Light-receiving output correction method and light-receiving output correction system of optical line sensor unit, and optical line sensor unit used for the same

    JP2019139489A

  • Medical image processing device, x-ray ct apparatus and learning data generating method

    JP2020179031A