1. Field of the Invention
The present invention relates to a surface resolution calibration method utilized in an optical image system, and in particular to a calibration method that can be used to correct the image magnification factor of the corresponding pixel.
2. The Prior Arts
In the prior art, the optical image system surface resolution calibration method is used by the imaging device for calibration, thus the magnification factor of images produced by the pixel of CCD sensor or CMOS sensor is determined. Usually, this kind of technology is realized through a scaled image having size indication produced by an imaging device. Referring to
Therefore, the research and development of an optical image system surface resolution calibration method and device that can be used to raise the accuracy and speed of the calibration and simplify its complexity, is the most important task in this field.
The objective of the present invention is to provide an optical image system surface resolution calibration method that can be utilized to achieve the calibration of the image sensor device through the image information of the calibration standard fetched by the image sensor device, by making use of a standard sheet having parallel interleaving bright/dark line pairs as the calibration standard.
The another objective of the present invention is to provide an optical image system surface resolution calibration method that can be used to simplify the calibration procedure, raise the calibration speed, accuracy and convenience.
To achieve the above-mentioned objective, the present invention provides an optical image system surface resolution calibration method that includes a calibration standard and an image sensor device. The surface of the calibration standard is provided with a plurality of interleaving dark/bright straight lines, and the calibration standard is disposed on a plane to be measured; the image sensor device is provided with an imaging means, a memory means, and a logic-arithmetic means. The surface resolution calibration method is realized through the following steps: selecting a plurality of sequentially arranged dark lines and bright lines in the effective sensing range of the image sensor device; fetching the image information of the calibration standard through the image sensor device and storing the image information thus obtained; utilizing an image processing method to determine the image boundary by the logic-arithmetic means, defining the orthogonal first axis and second axis by utilizing the pixel of the image sensor device as the reference coordinate, and calculating to obtain the number of the selected bright lines and their linear equations. Wherein, the parameters related to the linear equation include the slope (a) and the intersection distance (b), thus the slope (a) represents the distance increased along the second axis vs the distance increased along the first axis, while the intersection distance (b) represents the distance from the point of the straight line crossing the first axis to the origin of the coordinate; utilizing the logic-arithmetic means to calculate the average distance Δb between the adjacent bright lines in the direction of the second axis by making use of the intersection distances (b) of the respective bright line linear equations; and utilizing the logic-arithmetic means to calculate and obtain the magnification factor Δb/√{square root over (1+a2)} of the image fetched by the image sensor device.
In addition, the method mentioned above may further comprise the following steps: calculating and obtaining the second linear equation of the selected bright line. Wherein, the parameters related to the second linear equation include the slope a2 and the intersection distance b2, thus the slope a2 represents the distance increased along the first axis vs the distance increased in the second axis, while the intersection distance b2 represents the distance from the point of the straight line crossing the first axis to the origin of the coordinate; utilizing the logic-arithmetic means to calculate the average distance Δb2 between the adjacent bright lines in the direction of the first axis by making use of the intersection distances b2 of the respective bright line linear equations; and utilizing the logic-arithmetic means to calculate and obtain the magnification factor Δb2 /√{square root over (1+a22)} of the image fetched by the image sensor device.
Furthermore, if it is determined by the arithmetic-logic means that the average variation along the first axis is greater than the average variation along the second axis, then select to execute the step of calculating the slope (a), the intersection distance (b), the average distance Δb, and the image magnification factor Δb/√{square root over (1+a2)} of the bright line linear equation; and if it is determined by the arithmetic-logic means that the average variation along the first axis is less than the average variation along the second axis, then select to execute the step of calculating the slope a2, the intersection distance b2, the average distance Δb2, and the image magnification factor Δb2/√{square root over (1+a22)} of the bright line linear equation.
Further scope of the applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the present invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the present invention will become apparent to those skilled in the art from this detailed description.
The related drawings in connection with the detailed description of the present invention to be made later are described briefly as follows, in which:
The purpose, construction, features, and functions of the present invention can be appreciated and understood more thoroughly through the following detailed description with reference to the attached drawings.
Firstly, referring to
In the above description, in addition to the CCD sensor, the CMOS sensor may also be utilized as the image sensor device.
Then, referring to
In the above descriptions, the calibration standard 1 utilized may be the standard sheet produced by Edmund Industrial Optics Co.
Moreover, in the above steps 101 to 106, the position of a pixel in image sensor device 3 is utilized as a reference coordinate to calculate the linear equations of the respective bright lines 11. According to the example mentioned earlier, the linear equation of the respective bright line 11 can be represented by the expression that its value on y-axis is obtained by multiplying the slope of this particular bright line by its value on x-axis, and then adding to the result thus obtained with its intersection distance on y-axis. Since the slopes of the respective bright lines 11 are known and are the same, the only difference is their intersection positions on y-axis, however, the differences of intersection distances between the adjacent bright lines are the same.
Furthermore, in the above-mentioned steps, in case that the pixel of the image sensor device utilized is of square shape, then the above calculation process has only to be executed for either the x-axis or the y-axis, hereby obtaining the image magnification or reduction factor corresponding to the minimum resolution length of the pixel of the image sensor device. However, in case that the pixel of the image sensor device utilized is of rectangular shape, then the above calculation process has to be executed for both the x-axis and the y-axis, so as to obtain the image magnification or reduction factor corresponding to the minimum resolution length of the pixel of the image sensor device along the x-axis and y-axis respectively. Moreover, in case that the lines of the calibration standards are close to parallel to x-axis or y-axis, then the above calculation process has to be executed for both the x-axis and the y-axis, so as to obtain the image magnification or reduction factor corresponding to the minimum resolution length of the pixel of the image sensor device along the x-axis and y-axis respectively. In this case, if the average variations of the bright line along the x-axis is greater than the average variations of the bright line along the y-axis, then the above calculation process is executed for the y-axis, hereby obtaining the image magnification or reduction factor corresponding to the minimum resolution length of the pixel of the image sensor device, however, if the average variations of the bright line along the x-axis is less than the average variations of the bright line along the y-axis, then the above calculation process is executed for the x-axis, thus obtaining the image magnification or reduction factor corresponding to the minimum resolution length of the pixel of the image sensor device.
The above detailed description of the preferred embodiment is intended to describe more clearly the characteristics and spirit of the present invention. However, the preferred embodiments disclosed above is not intended to be any restrictions to the scope of the present invention. Conversely, its purpose is to include the various changes and equivalent arrangements which are within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
94134499 A | Oct 2005 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
4736739 | Flaton | Apr 1988 | A |
5967979 | Taylor et al. | Oct 1999 | A |
6320641 | Bauer et al. | Nov 2001 | B1 |
Number | Date | Country | |
---|---|---|---|
20070076170 A1 | Apr 2007 | US |