This application claims priority to Taiwan Application Serial Number 103142200, filed Dec. 4, 2014, which is herein incorporated by reference.
1. Field of Disclosure
The present disclosure relates to an image inspection system, and particularly, to an inspection system for obtaining an adjusted light intensity image.
2. Description of Related Art
An inspection system uses a light source to illuminate a sample under test and capture an image thereof, so as to inspect the quality of the sample. Nowadays, a lens is mostly used to capture the image of the sample under test. However, the intensity of light decreases as being closer to an edge of the field of view of the lens after the light passes through the lens, and thus details of the image at the edge of the field of view s hard to be analyzed. Although the light intensity of the image can be compensated by a function of vignetting calibration of a software, the noise of the image at the edge is simultaneously increased, and thus a S/N ratio can not substantially be improved. With a development of technology and products changed overtime, demands on an illuminance and a stability of the inspection system are increasing. Therefore, how to design the inspection system to improve the aforementioned drawbacks is an urgent problem to be solved in industry.
One aspect of the present disclosure is to provide a method for an inspection system obtaining an adjusted light intensity image. The inspection system includes a light source, an image capturing device, and a controller. The method includes adjusting a field of view of the image capturing device to be within an illumination area of the light source. A plurality of light emitting units of the light source are turned on in sequence. A calibration image is captured by the image capturing device when each of the light emitting units is turned on so as to obtain a plurality of calibration images. Light emitting intensities of the light emitting units are adjusting respectively by the controller according to light intensity distributions of the calibration images, so as to obtain an inspection image in the field of view having a specific light intensity distribution.
Another aspect of the present disclosure is to provide an inspection system for obtaining an adjusted light intensity image. The inspection system includes a light source, an image capturing device, and a controller. The light source includes a plurality of light emitting units. The light source has an illumination area. The image capturing device has a field of view smaller than the illumination area. The controller is electrically connected to the image capturing device and the light source. The image capturing device is controlled to capture a calibration image when each of the light emitting units is turned on, so as to obtain a plurality of calibration images. Light emitting intensities of the light emitting units are adjusted respectively according to light intensity distributions of the calibration images, so as to obtain an inspection image in the field of view having a specific light distribution.
FIG, 3A is a light intensity distribution of an illumination area before and after the light source was calibrated according to one example.
Reference will now be made in detail to the present embodiments of the disclosure, examples of which are illustrated in the accompanying, drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
Briefly speaking, the inspection system in this embodiment of the present disclosure can respectively controls the light emitting intensities of the light emitting units 112 in accordance with the field of view 125 of the image capturing device 120, such that the inspection image DI in the field of view 125 has the specific light intensity distribution. For example, the uniform light intensity distribution is formed. Due to a vignetting effect of the image capturing device 120, the light intensity at an edge of the field of view 125 is lower than the light intensity at a center C2 of the field of view 125. The controller 130 can respectively adjust the light emitting intensities of the light emitting units 112, for example, the light emitting units 112 that illuminates the edge of the field of view 125 has higher light emitting intensities than the light emitting units 112 that illuminates the center C2 of the field of view 125 do, such that the darkened inspection image DI resulted from the vignetting of the image capturing device 120 is compensated, and the inspection image DI in the field of view 125 has the uniform light intensity distribution. As a result, a S/N ratio at the edge of the inspection image DI can be improved. In addition, the controller 130 can respectively control each of the light emitting units 112, and thus even a location or a size of the field of view 125 of the image capturing device 120 is changed, the controller 130 can still adjust the light emitting intensities of the light emitting units 112 respectively according to the location or the size of the field of view 125, such that the inspection image DI in the field of view 125 has the specific (e.g. uniform) light intensity distribution. That is, the inspection system in the embodiment can be applied to image capturing devices 120 with different vignetting effects without changing the light source 110.
In this embodiment, the light source 110 may be a linear light source, that is, the light emitting units 112 are arranged in a straight line, and the inspection system may be a linear scanning system, for example. In other words, a sample under test (not shown) can be disposed on a measuring stage 140, and the light source 110 can obliquely illuminate the sample under test After a calibration of the light source 110 is finished, portions of the inspection image DI of the sample under test can be sequentially captured in the field of view 125 by moving the sample. If the sample under test needs to be illuminated by light with the specific light intensity distribution, the light source 110 can respectively control each of the light emitting units 112 according to a desired light intensity distribution, such that the inspection image DI in the field of view 125 has the specific light intensity distribution. Therefore, the inspection system of this embodiment also can flexibly control the light intensity distribution of the inspection image DI. In addition, each of the light emitting units 112 can be a single light-emitting diode (LED) or a plurality of LEDs. The image capturing device 120 can include a lens, and the reduced light intensity of the image due to the vignetting can be compensated by the controller 130 which controls the light emitting intensities of the light emitting units 112. Then, the inspection system can inspect the sample under test. More specifically, when the inspection system inspects the sample under test, the controller 130 turns on all of the light emitting units 112 and controls the image capturing system 120 to capture the inspection image DI.
Reference is made to
In this embodiment, the illumination area 115 represents an area on the measuring stage 140 in which the area is illuminated by all of the turned-on light emitting units 112 of the light source 110. It is necessary to adjust the, field of view 125 to be within, the illumination area 115 first, as shown in step S10. Then, the fight intensity of the image captured in the field of view 125 by the image capturing device 120 can be adjusted by changing the light emitting intensities of each of the light emitting units 112.
Next, as shown in step S20, a plurality of the light emitting units 112 are turned on in sequence. And as shown in step S30, the image capturing device 120 captures the calibration images CI when each of the light emitting units 112 is turned on, so as to obtain a plurality of the calibration images CI. More specifically, when one of the light emitting units 112 is turned on, the image capturing device 120 captures the calibration image CI, and the calibration image CI represents the light intensity distribution in the field of view 125, in which the light intensity distribution is contributed from the light emitting unit 112. Different calibration images CI (corresponding to different light emitting units) have different light intensity distributions in the field of view 125. Moreover, as for the same light emitting intensities of the light emitting units 112, when the light emitting unit 112 illuminates the center C2 of the field of view 125 is turned on, the captured image I has a higher light intensity; and when the light emitting unit 112 illuminates the edge of the field of view 125, the captured image I has a lower light intensity due to the vignetting effect of the image capturing device 120.
Thereafter, as shown in step S40, the controller 130 respectively adjusts the light emitting intensities of the light emitting units 112 according to the light intensity distributions of the calibration images CI such that the inspection image DI in the field of view 125 has the specific light intensity distribution. For example, the uniform light intensity distribution is formed (i.e. the vignetting effect is improved), the light emitting intensity of the light emitting unit 112 corresponding to the edge of the field of view 125 can be higher than the light emitting intensity of the light emitting unit 112 corresponding to the center C2 of the field of view 125, such that the vignetting effect of the image capturing device 120 is compensated, and the inspection image DI in the field of view has the uniform light intensity distribution.
The above contexts give examples aim at improving the vignetting effect, however, in some other embodiments, the method for calibrating the light source can be applied to form specific light intensity distributions of inspection images DI depending on different samples under test.
The following examples describe an effect of the aforementioned method for calibrating the light source.
Next, the controller 130 respectively adjusted the light emitting intensities of the light emitting units 112, such that the illumination area 115 of the light source 110 had a light intensity distribution shown as curve 920 or curve 930. That is, the light emitting unit 112 corresponding to the center C1 of the illumination area 115 had a lower light emitting intensity, while the light emitting units 112 corresponding to the edge of the illumination area 115 had higher light emitting intensities. The curve 920 and the curve 930 respectively represented light intensity distributions obtained by the calibrated light source 110 in different situations. For example, the curve 930 represented a maximum compensation value of the corrected vignetting under a maximum illuminance of the center C1 of the illumination area 115. Moreover, difference between the maximum point of the curve 920 (930) and the minimum point at the center C1 of the curve 920 (930) represented a compensation ability of the light intensity of the light source 110.
Next,
The normalized light intensity distribution of the light source 125 was shown as curve 970 in
Thereafter, details of the step S20 in the
Next, details of the step S40 in
Thereafter, details of the step S20 in
Next, details of the step S40 are described from step S42. All of the light emitting units 112 are turned on, and the light intensity of the image corresponding to the center C2 of the field of view 125 is referred to as a reference. Then, as shown in step S44, when the light intensity of the edge of the image is lower than the light intensity of the reference, the light emitting intensities of the corresponding light emitting units 112 are increased according to the calibration images CI. As mentioned above, the farther away from the center C2, the light intensity of the obtained image becomes lower due to the vignetting effect of the image capturing device 120. Therefore, according to a difference between the light intensity distributions of the calibration images CI and the reference, the light emitting intensities of the corresponding light emitting units 112 can be increased.
In conclusion, the inspection system of the embodiments can respectively control the light emitting intensities of the light emitting units in accordance with the field of view of the image capturing device, such that the inspection image in the visual filed has the specific light intensity distribution. More specifically, the controller can respectively adjust the light emitting intensities of the light emitting units according to the effect of the light emitting units on the field of view after the location of the field of view is determined, such that the darkened image resulted from the vignetting effect of the image capturing device is compensated, and the inspection image in the field of view has the specific light intensity distribution. In addition, the controller can respectively control the light emitting units, even the location or the size of the field of view of the image capturing device is changed, the controller can still adjust the light emitting intensities of the light emitting units according to the location or the size of the field of view, such that the light source has the specific light intensity distribution on the field of view. That is, the inspection system of the embodiment can be applied to image capturing devices having different vignettings. Moreover, the light source and the image capturing device can be disposed in various ways by adjusting the light intensity distribution of the inspection image depending on requirements of the sample under test.
Although the present disclosure has been described in considerable detail with reference to certain embodiments thereof, other embodiments are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the embodiments contained herein.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present disclosure without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the present disclosure cover modifications and variations of this disclosure provided they fall within the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
103142200 | Dec 2014 | TW | national |