Optical inspection method, optical inspection program and optical inspection device
The optical inspection method and device address the challenge of inspecting objects with scattered or diffracted light by using multiple wavelength spectra and color channels to estimate light directional distribution, effectively determining surface textures and microdefects.
Patent Information
- Application Number
- JP2023045753
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-10-04
AI Technical Summary
Existing optical inspection methods struggle to accurately obtain information about object surfaces or interiors when light is scattered, diffused, or diffracted in various directions, limiting their effectiveness in non-contact inspection.
An optical inspection method and device that selectively passes light with at least two different wavelength spectra through an object, using a wavelength selection unit and imaging system with multiple color channels to form signal vectors, allowing for the estimation of light directional distribution and identification of surface properties, even in the presence of scattering or diffraction.
Enables accurate determination of surface textures and presence of microdefects by analyzing the spread of Bidirectional Reflectance Distribution Function (BRDF) distributions, enhancing the capability to inspect objects with scattered or diffracted light.
Smart Images

Figure 2024135189000001_ABST
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to an optical inspection method, an optical inspection program, and an optical inspection apparatus. [Background technology]
[0002] Non-contact inspection of objects is becoming important in various industries. Conventional methods involve identifying the direction of a light beam by making a one-to-one correspondence between the color (wavelength spectrum) of a dispersed light beam and the light beam direction, and acquiring information on the surface or inside of the object. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] “Color ranging method for high speed low-cost 3D surface profile measurement” US patent 5,675,407 [Non-patent literature]
[0004] [Non-Patent Document 1] W.L. Hows, “Rainbow schlieren and its application,” Applied Optics, vol. 23, No. 14, 1984 [Non-Patent Document 2] H. Ohno, “One-shot three-dimensional measurement method with the color mapping of light direction,” OSA Continuum, Vol. 4, Issue 3, 2021 Summary of the Invention [Problem to be solved by the invention]
[0005] The problem that the present invention aims to solve is to provide an optical inspection method, an optical inspection program, and an optical inspection device that can obtain information about an object, such as the object surface or inside the object, even when light is scattered, diffused, or diffracted in various directions within the object. [Means for solving the problem]
[0006] According to an embodiment, an optical inspection method includes selectively passing light having at least two different wavelength spectra from an object point using a wavelength selection unit, imaging the object point using an imaging unit having at least two color channels that can receive light of the wavelength spectrum, converting the light of the at least two different wavelength spectra into signal vectors each having a different direction based on the received light data in the at least two color channels for the object point, and estimating the spread of the directional distribution of light at the object point based on the directions of the signal vectors. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a schematic diagram showing an optical inspection device according to a first embodiment. [Diagram 2] 1 is a schematic diagram showing a first color vector and a second color vector in a color coordinate space in which the color coordinates corresponding to the first color channel, the second color channel, and the third color channel are B, R, and G, respectively. [Diagram 3] 5 is a flowchart for acquiring information about an object surface of an object using the optical inspection device according to the first embodiment. [Figure 4] FIG. 11 is a schematic diagram showing, in a color coordinate space according to variant 1 of the first embodiment, the direction of a color vector for a first object point in a reference image captured by an imaging unit of a standard object as a first reference direction, the direction of a color vector for a second object point as a second reference direction, and the color vectors of the captured image. [Diagram 5] 11 is a flowchart for acquiring information about an object surface of an object using the optical inspection device according to the first modification of the first embodiment. [Figure 6] FIG. 11 is a schematic diagram showing an optical inspection device according to a second modified example of the first embodiment. [Figure 7] FIG. 11 is a schematic diagram showing an optical inspection device according to a third modified example of the first embodiment. [Figure 8] 13 is an example of a color vector in a BRG color coordinate space by an optical inspection device according to Modification 3 of the first embodiment. [Figure 9] FIG. 11 is a schematic diagram showing an optical inspection device according to a second embodiment. [Figure 10] 10 is a schematic diagram showing an illumination side and an imaging side with respect to an object plane of the optical inspection device shown in FIG. 9. [Figure 11] FIG. 13 is a schematic diagram showing an illumination unit of an optical inspection device according to a first modified example of the second embodiment. [Figure 12] FIG. 13 is a schematic diagram showing an illumination unit of an optical inspection device according to a second modification of the second embodiment. [Figure 13] FIG. 11 is a schematic diagram showing an optical inspection device according to a third embodiment. [Figure 14] FIG. 13 is a schematic diagram showing a wavelength selection unit of an optical inspection device according to a first modified example of the third embodiment. [Figure 15] 13 is a flowchart showing a method for extracting an image of a minute defect by an optical inspection device according to a first modified example of the third embodiment. [Figure 16] 1A and 1B are diagrams showing an image of a minute defect on a white plastic plate and an image with the background removed. [Figure 17] FIG. 13 is a schematic diagram showing an optical inspection device according to a second modified example of the third embodiment. [Figure 18] FIG. 13 is a schematic diagram showing an optical inspection device according to a fourth embodiment. [Figure 19] FIG. 13 is a schematic diagram showing an illumination unit of an optical inspection device according to a first modified example of the fourth embodiment. [Figure 20] FIG. 13 is a schematic diagram showing a wavelength selection unit of an optical inspection device according to a second modified example of the fourth embodiment. [Figure 21] 21 is a cross-sectional view taken along line XXI-XXI of the wavelength selection section shown in FIG. 20. [Figure 22] FIG. 13 is a schematic diagram showing an optical inspection device according to a fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Each embodiment will be described below with reference to the drawings. The drawings are schematic or conceptual, and the relationship between the thickness and width of each part, the size ratio between parts, etc. are not necessarily the same as in reality. Even when the same part is shown, the dimensions and ratios may be shown differently depending on the drawing. In this specification and each drawing, elements similar to those described above with respect to the previous drawings are given the same reference numerals, and detailed explanations are omitted as appropriate.
[0009] In this specification, light is a type of electromagnetic wave, and includes gamma rays, X-rays, ultraviolet rays, visible light, infrared rays, radio waves, etc. In this embodiment, the light is visible light, and has a wavelength in the range of, for example, 400 nm to 750 nm.
[0010] (First embodiment) An optical inspection device 10 according to the first embodiment will be described below with reference to FIGS. 1 to 3. FIG.
[0011] 1 shows a schematic cross-sectional view of an optical inspection device 10 according to this embodiment. The optical inspection device 10 according to this embodiment includes an imaging unit 12, a wavelength selection unit 14, a shielding unit 16, and a processing unit 18. However, the imaging unit 12 includes an image sensor 22. There are also cases where the imaging unit 12 includes at least one of the wavelength selection unit 14 and the shielding unit 16.
[0012] A point on the surface of object O or inside object O is called an object point. In the following, unless otherwise specified, the object point is assumed to be on the surface of object O.
[0013] In this specification, imaging an object point with light means that light from the object point is focused on an image point on the image sensor 22 of the imaging unit 12 and received by the pixels of the image sensor 22. However, the image sensor 22 may be an area sensor or a line sensor, and may be anything that can convert light into a received light signal. The received light signal may also be simply called a signal, a signal value, or a pixel value. Also, imaging light may be said to have the same meaning as "imaging an object point with light."
[0014] An imaging optical system such as an imaging lens in the imaging unit 12 is not shown. The imaging unit 12 images light from object points O1 and O2 along the optical axis OA onto an image point on the image sensor 22. In addition, "on the optical axis OA of the imaging unit 12" means "on the path of light that travels when light is assumed to be emitted from the imaging unit 12 along the optical axis OA." Therefore, when light is folded back by a mirror or a beam splitter, "along the optical axis OA" means "on the path of the light ray." In particular, when light is split into two rays by a beam splitter (not shown), "on the optical axis OA" means both of the two split paths.
[0015] In this specification, a state in which object points O1 and O2 can be imaged means that image points corresponding to object points O1 and O2 are located on image sensor 22 in imaging unit 12 or in the vicinity of image sensor 22. Here, when the image point is on image sensor 22, the image is captured clearly, and when the image point is away from image sensor 22, the image is captured blurry.
[0016] The wavelength selection unit 14 includes a first wavelength selection region 31 and a second wavelength selection region 32. The first wavelength selection region 31 and the second wavelength selection region 32 pass light of different wavelength spectra from each other. Here, passing light means that light from an object point of an object to be imaged is allowed to reach the image sensor 22 of the imaging unit 12 and made available for imaging by the image sensor 22. On the other hand, light that does not pass through the wavelength selection unit 14 is blocked by the wavelength selection unit 14. Here, blocking light means making the light from the object unavailable for imaging by the image sensor 22 of the imaging unit 12.
[0017] The wavelength spectrum passing through the first wavelength selection region 31 of the wavelength selection unit 14 is defined as the first wavelength spectrum, and the wavelength spectrum passing through the second wavelength selection region 32 is defined as the second wavelength spectrum. Here, for example, the first wavelength spectrum has significant light intensity in the wavelength range of 400 nm to 500 nm, and is called blue (B) light. The peak wavelength of blue light is in the vicinity of 450 nm. Also, for example, the second wavelength spectrum has significant light intensity in the wavelength range of 600 nm to 700 nm, and is called red (R) light. The peak wavelength of red light is in the vicinity of 650 nm. However, the wavelength spectrum is not limited to this and may be anything. For example, it may have a single wavelength. Also, each of the wavelength selection regions 31 and 32 may have any shape. For example, the wavelength selection regions 31 and 32 may be concentric circles, stripes, rotationally symmetric, polygonal, radial, or elliptical. The wavelength selection regions 31 and 32 in Fig. 1 are, for example, substantially rectangular and are arranged in a direction intersecting the optical axis OA. That is, the optical axis OA and the wavelength selection regions 31 and 32 intersect with each other. In Fig. 1, the second wavelength selection region 32 intersects with the optical axis OA.
[0018] The shielding unit 16 is provided, for example, outside the wavelength selecting unit 14, and shields light that can be imaged without passing through the wavelength selecting unit 14. The shielding unit 16 shields light having at least a first wavelength spectrum and a second wavelength spectrum. In other words, the shielding unit 16 shields a wavelength range in which the wavelength spectrum obtained by superposing the first wavelength spectrum and the second wavelength spectrum has significant light intensity.
[0019] The complementary color of a certain wavelength spectrum has significant light intensity in a wavelength region that does not include the wavelength range in which the wavelength spectrum has significant light intensity.
[0020] The image sensor 22 of the imaging unit 12 acquires a color image, and the processing unit 18 processes the color image captured by the image sensor 22. Here, the image sensor 22 is assumed to have two color channel components in each pixel that can receive at least a first wavelength spectrum and a second wavelength spectrum as different signal vectors. These color channels are assumed to be a first color channel (B channel) and a second color channel (R channel), respectively. The first color channel is assumed to receive a strong signal for blue light, and the second color channel is assumed to receive a strong signal for red light.
[0021] In each pixel of an image, a vector whose components are the pixel values of each color channel is called a color vector or a signal vector. For example, in a certain pixel, if the pixel values of the first color channel, the second color channel, and the third color channel are b, r, and g, respectively, the color vector or signal vector can be expressed as (b, r, g). In addition, a coordinate space in which the pixel values of each color channel are taken on mutually orthogonal coordinates is called a color coordinate space. The number of components of a color vector (signal vector), that is, the number of dimensions, may be any natural number equal to or greater than 2, and may be 2, 3, 4, or more. In particular, when a hyperspectral camera is used for the image sensor 22 of the imaging unit 12, the number of dimensions is a number greater than 3.
[0022] The processing unit 18 controls the image sensor 22 of the imaging unit 12, and also performs processing for estimating the spread of the directional distribution of light, which will be described later.
[0023] The processing unit 18 is composed of, for example, a computer or the like, and includes a processor (processing circuit) and a storage medium. The processor includes any of a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), a microcomputer, an FPGA (Field Programmable Gate Array), and a DSP (Digital Signal Processor). The storage medium may include a non-transient auxiliary storage device in addition to a main storage device such as a memory. Examples of the storage medium include a hard disk drive (HDD), a solid state drive (SSD), a magnetic disk, an optical disk (CD-ROM, CD-R, DVD, etc.), a magneto-optical disk (MO, etc.), and a non-volatile memory such as a semiconductor memory that can be written to and read from at any time.
[0024] The processing unit 18 may be provided with only one processor and one storage medium, or may be provided with multiple processors and storage media. In the processing unit 18, the processor performs processing by executing a program or the like stored in a storage medium or the like. The program executed by the processor of the processing unit 18 may be stored in a computer (server) connected to the processing unit 18 via a network such as the Internet, or in a server in a cloud environment. In this case, the processor downloads the program via the network. The processing unit 18 according to this embodiment implements, for example, an optical inspection program described below.
[0025] In the processing unit 18, acquisition of an image from the image sensor 22 and various calculation processes based on the image acquired from the image sensor 22 are executed by a processor or the like, and the storage medium functions as a data storage unit.
[0026] At least a part of the processing by the processing unit 18 may be executed by a cloud server configured in a cloud environment. The infrastructure of the cloud environment is configured by a virtual processor such as a virtual CPU and a cloud memory. In one example, image acquisition from the image sensor 22 and various calculation processes based on the image acquired from the image sensor 22 are executed by the virtual processor, and the cloud memory functions as a data storage unit.
[0027] In this embodiment, the processing unit 18 controls the image sensor 22 and performs various calculations on the image data obtained from the image sensor 22 .
[0028] The processing unit 18 distinguishes between the light of the first wavelength spectrum and the light of the second wavelength spectrum based on the light receiving signal strength (pixel value) of the two color channels in each pixel of the color image acquired by the image sensor 22. Furthermore, the processing unit 18 can identify whether the light of the first wavelength spectrum and the light of the second wavelength spectrum have been captured simultaneously, or only one of them has been captured, based on the pixel value of each color channel. That is, the processing unit 18 can identify whether only the first wavelength spectrum has been captured, only the second wavelength spectrum has been captured, or both have been captured simultaneously, or neither has been captured, at each pixel.
[0029] With the above configuration, the operating principle of the optical inspection device 10 according to this embodiment will be described.
[0030] 1, a first object point O1 and a second object point O2 are taken on the surface of an object O. However, this is not limiting, and the first object point O1 and the second object point O2 may be taken inside the object O. The first object point O1 and the second object point O2 may be anywhere on the surface or inside the object O.
[0031] Assume that the first object point O1 is on a standard surface. Assume that the standard surface does not have any defects such as micro defects and is almost a mirror surface. In other words, when light is incident on a standard surface, the reflected light is mainly a regular reflection component. However, this is not limited, and the standard surface may have any characteristics. Assume that the second object point O2 has a minute uneven defect of a few tens of micrometers or less. In other words, the scale is a few tens of times the wavelength scale (for example, 450 nm, 650 nm). Such defects are called micro defects. When light is incident on a micro defect, the light is generally scattered. Scattering can occur due to geometrical optical reflection, but can also occur due to diffraction. Here, such diffraction phenomena are also called scattering. When the object O is opaque, scattering occurs on the surface of the object O. Scattering can also be said to be a phenomenon in which an incident light, which is a single light ray, branches into at least two light rays in different directions. On the other hand, when light is incident on a mirror surface, regular reflection occurs. The incident angle and reflection angle of the specular reflected light with respect to the normal direction of the surface are equal, and the reflected light becomes one light ray without branching. In addition, if the object O is a transparent body and there is a micro defect in the transparent body, one light ray incident on the micro defect branches into at least two light rays due to scattering. On the other hand, if the light incident on a transparent body without a micro defect in the object O is continuous in its refractive index distribution, it passes through without branching. In addition, if the refractive index distribution is discontinuous, Fresnel reflection occurs at the discontinuous surface, and a component is reflected in the opposite direction to the incident direction at the discontinuous interface. In other words, if there is no micro defect, the light ray branches into two light rays in different directions at most. However, even if a reflected light component occurs, it travels in the opposite direction to the imaging side, so it does not reach the imaging unit 12. As a result, the incident light ray is scattered by the micro defect and branched into two light rays (scattered light) in different directions due to scattering.
[0032] The directional distribution of light at an arbitrary object point is called the light ray direction distribution. In particular, the directional dependency of the intensity distribution of reflected light on the surface of object O can be described by BRDF (Bidirectional Reflectance Distribution Function). Hereinafter, unless otherwise specified, the object point is assumed to be on the surface of object O, and imaging by image sensor 22 is assumed to be performed by light reflected on the surface of object O. However, even if the object point is inside object O and light reaches image sensor 22 by passing through object O, the same effect as in the case of reflection can be basically expected.
[0033] The BRDF at the first object point O1 is the first BRDF, and the BRDF at the second object point O2 is the second BRDF. Because the first object point O1 is on a standard surface and the second object point O2 has a micro defect, the first BRDF has a narrower (angular) distribution than the second BRDF. In other words, the second BRDF has a wider distribution than the first BRDF. In this way, when a micro defect exists, the BRDF generally has a wider distribution. However, this is not necessarily the case, and the reverse is also possible. At the very least, the BRDF distribution differs depending on whether or not there is a micro defect.
[0034] Since the light reflected by the first object point O1 has a narrow BRDF distribution, in this embodiment, it passes only through the first wavelength selection region 31 of the wavelength selection unit 14. The light reflected by the first object point O1 passes only through the first wavelength selection region 31 and becomes light having a first wavelength spectrum. On the other hand, the light reflected by the second object point O2 has a wide BRDF distribution and passes through both the first wavelength selection region 31 and the second wavelength selection region 32 of the wavelength selection unit 14. Therefore, the light reflected by the second object point O2 becomes light having a wavelength spectrum in which the first wavelength spectrum passed through the first wavelength selection region 31 and the second wavelength spectrum passed through the second wavelength selection region 32 are superimposed.
[0035] The image sensor 22 of the imaging unit 12 is controlled by the processing unit 18 to capture an image of an area including a first object point O1 and a second object point O2. At this time, in a pixel corresponding to the first object point O1 in the captured image, the pixel value of the first color channel that receives light of the first wavelength spectrum has a larger value than the pixel value of the second color channel that receives light of the second wavelength spectrum. On the other hand, in a pixel corresponding to the second object point O2, both the pixel values of the first color channel that receives light of the first wavelength spectrum and the second color channel that receives light of the second wavelength spectrum have significant values. That is, the processing unit 18 can obtain information regarding the spread of the distribution of the BRDF based on the ratio of the pixel values of the color channels at each pixel.
[0036] The shielding unit 16 shields light that does not pass through the wavelength selection unit 14 and becomes available for imaging by the imaging unit 12. If the shielding unit 16 does not exist, there may be light that does not pass through the wavelength selection unit 14 and is received by the first color channel or the second color channel. This makes it difficult to obtain information about the spread of the BRDF distribution based on the ratio of pixel values of the color channels at each pixel. In other words, the shielding unit 16 is necessary to obtain information about the spread of the BRDF distribution. In other words, the presence of the shielding unit 16 has the effect of enabling the processing unit 18 to estimate the spread of the BRDF distribution with high accuracy, regardless of the environment.
[0037] In an image captured by the image sensor 22 of the imaging unit 12, a color vector in a pixel corresponding to a first object point O1 is defined as a first color vector, and a color vector in a pixel corresponding to a second object point O2 is defined as a second color vector. As shown in FIG. 2, color coordinates corresponding to the first color channel, the second color channel, and the third color channel are defined as B, R, and G, respectively, and a color coordinate space is taken. The magnitude of each color vector is the pixel value of the first color channel, the pixel value of the second color channel, and the pixel value of the third color channel at a certain pixel. In FIG. 2, the first color vector and the second color vector have different BRDF distributions, and therefore the vector directions are different from each other. In other words, it can be said that the processing unit 18 can identify the spread of the BRDF distribution of each object point O1, O2 based on the direction of the color vector.
[0038] That is, the light of different wavelength spectra passing through the first wavelength selection region 31 and the second wavelength selection region 32 becomes signal vectors (color vectors) having two different directions. The signal vector of the light of the wavelength spectrum passing through the first wavelength selection region 31 is defined as a first basic color vector. The signal vector of the light of the wavelength spectrum passing through the second wavelength selection region 32 is defined as a second basic color vector.
[0039] The color vector of an image captured by the image sensor 22 of the imaging unit 12 is the sum (linear combination) of the basic color vectors (first basic color vector and second basic color vector) multiplied by a coefficient. Based on the mathematical property of linear independence of vectors, it can be shown that the first basic color vector, the second basic color vector, and the linear combination vector obtained by multiplying them by a non-zero coefficient and adding them together have different directions. Therefore, the processing unit 18 can identify whether the light from each object point O1, O2 passed through either the first wavelength selection region 31 or the second wavelength selection region 32, or both, from the direction of the color vector.
[0040] Here, the linear independence of the color vector (signal vector) can be used because the shielding portion 16 allows the signal vector of the captured image to be formed only from the light of the first wavelength spectrum and the second wavelength spectrum that have passed through the wavelength selection portion 14. On the other hand, if the shielding portion 16 does not exist, light that does not pass through the wavelength selection portion 14 and reaches the image sensor 22 of the imaging portion 12 may also be captured by the image sensor 22 of the imaging portion 12. In other words, the presence of the shielding portion 16 makes it possible to determine that the light captured by the image sensor 22 is the light that has passed through the wavelength selection portion 14. On the other hand, if the shielding portion 16 does not exist, it becomes difficult to estimate the path that the light captured by the image sensor 22 has passed through, even if the direction of the color vector is different. However, even if such shielding is not complete, there is an effect that the accuracy of estimating the path that the light captured by the image sensor 22 has passed through is increased by reducing the light that does not pass through the wavelength selection portion 14 and is captured by the image sensor 22.
[0041] Also, if the directions of the two color vectors (signal vectors) of the light passing through the first wavelength selection region 31 and the second wavelength selection region 32 are different, there may be an overlapping region between the first wavelength spectrum and the second wavelength spectrum. This is because linear independence can be mathematically applied to a vector obtained by linearly combining two vectors with different directions. In other words, if the directions of the first basic color vector and the second basic color vector are different from each other, the direction of the vector obtained by linearly combining them by multiplying them by a non-zero coefficient is also different from that of the basic color vector. Therefore, the processing unit 18 can distinguish the light of the first wavelength spectrum, the light of the second wavelength spectrum, and the light obtained by superimposing them from the difference in the direction of the color vector. Therefore, the wavelength spectra of the light passing through the wavelength selection regions 31 and 34 may overlap, and there is an effect that various wavelength selection regions 31 and 32 can be applied.
[0042] As a result, for light having at least two different first and second wavelength spectra, the first wavelength selection region 31 blocks light of at least one wavelength that is not included in the light of the first wavelength spectrum, and the second wavelength selection region blocks light of at least one wavelength that is not included in the light of the second wavelength spectrum.
[0043] In this manner, the object information acquisition process using the processing unit 18 of the optical inspection device 10 according to this embodiment is performed as shown in FIG. 3. The processing unit 18 first acquires image data by imaging an area including the first object point O1 and the second object point O2 with the image sensor 22 through the wavelength selection unit 14 while blocking appropriate light with the shielding unit 16 (step ST101). Then, the processing unit 18 processes the acquired image data. Based on the pixel values of each color channel of the acquired image data, the processing unit 18 calculates a first color vector at the pixel corresponding to the first object point O1 and calculates a second color vector at the pixel corresponding to the second object point O2 (step ST102). Then, the processing unit 18 identifies the distribution spread of the first BRDF at the first object point O1 and the distribution spread of the first BRDF at the second object point O2. That is, the processing unit 18 determines the surface texture of the first object point O1 and the surface texture of the second object point O2 (step ST103).
[0044] As described above, the optical inspection device 10 according to this embodiment can identify the spread of the BRDF distribution based on the direction of the color vector. This is because "when the object points O1 and O2 are imaged using light of at least one of two wavelength spectrums of light passing through at least two different wavelength selection regions 31 and 32 of the wavelength selection unit 14 by the imaging unit 12 configured to block light that does not pass through the wavelength selection unit 14, it is possible to obtain images imaged in color channels that receive the light of the two different wavelength spectrums as signal vectors each having a different direction."
[0045] The optical inspection method according to the present embodiment includes selectively passing light including at least two different wavelength spectrums from object points O1, O2 by a wavelength selection unit 14, capturing images of the object points O1, O2 by an imaging unit 12 having at least two color channels capable of receiving the light of the wavelength spectrum, forming the light of the at least two different wavelength spectrums into signal vectors having different directions based on the light reception data in the at least two color channels for the object points O1, O2, and estimating the spread of the directional distribution of light at the object points O1, O2 based on the directions of the signal vectors. The optical inspection method program according to the present embodiment performs the above-mentioned optical inspection method-related processes by having a computer execute the processes. Therefore, by using an optical inspection method or an optical inspection program, the spread of the BRDF distribution at the object points O1 and O2 can be identified, and the surface texture of the object points O1 and O2 can be determined. A signal vector is a vector whose end point is a point in a color coordinate space in which pixel values of at least two color channels are taken on mutually orthogonal coordinates.
[0046] As described above, according to this embodiment, it is possible to provide an optical inspection method, an optical inspection program, and an optical inspection apparatus 10 that can acquire information about an object O even when light is scattered, diffused, or diffracted in various directions within the object O.
[0047] (Variation 1) A first modified example of the optical inspection device 10 will be described with reference to FIGS.
[0048] The standard object (not shown) has only a standard surface without minute defects. The standard object is imaged by the image sensor 22 of the imaging unit 12 to form a reference image. As shown in Fig. 4, the direction of a color vector relative to a first object point O1 in the reference image is set as a first reference direction, which is stored in advance in a storage medium of the processing unit 18. Similarly, the direction of a color vector relative to a second object point O2 is set as a second reference direction, which is stored in advance in a storage medium of the processing unit 18.
[0049] Then, the processing unit 18 judges whether the first reference direction and the direction of the captured first color vector (see FIG. 2) substantially match with the error taken into consideration. Similarly, the processing unit 18 judges whether the second reference direction and the direction of the captured second color vector (see FIG. 2) substantially match with the error taken into consideration. If the direction of the first color vector substantially matches with the first reference direction, the first object point O1 is said to be on the standard plane. Similarly, if the direction of the second color vector substantially matches with the second reference direction, the second object point O2 is said to be on the standard plane. Alternatively, if the direction of the color vector of either the first object point O1 or the second object point O2 is different from the reference direction, the processing unit 18 finds that the distribution of the BRDF is different from that of the standard plane. In other words, the processing unit 18 finds that the spread of the directional distribution of light is different from that of the standard plane. This allows the processing unit 18 to estimate that a micro defect exists at that object point.
[0050] Similarly, if the processing unit 18 stores color vectors for various BRDFs as reference directions in advance in a storage medium of the processing unit 18, the processing unit 18 can estimate the spread of the BRDF at the object points O1 and O2 by comparing the direction of the captured color vector with the reference direction. BRDFs vary greatly depending on the type of minute defect. Therefore, the processing unit 18 can estimate the type of minute defect by identifying the difference in BRDF.
[0051] In this manner, the object information acquisition process using the processing unit 18 of the optical inspection device 10 according to this embodiment is performed as shown in FIG. 5. The processing unit 18 first acquires image data by imaging an area including the first object point O1 and the second object point O2 with the image sensor 22 through the wavelength selection unit 14 while blocking appropriate light with the shielding unit 16 (step ST101). Then, the processing unit 18 processes the acquired image data. Based on the pixel values of each color channel of the acquired image data, the processing unit 18 calculates a first color vector in the pixel corresponding to the first object point O1 and calculates a second color vector in the pixel corresponding to the second object point O2 (step ST102). Then, the processing unit 18 compares the direction of the first color vector in the pixel corresponding to the first object point O1 with the first reference direction and compares the direction of the second color vector in the pixel corresponding to the second object point O2 with the second reference direction (ST103a). Then, the processing unit 18 determines the surface texture at the first object point O1 and also determines the surface texture at the second object point O2 (step ST103).
[0052] Therefore, in the optical inspection method according to the present embodiment described above, the estimation process includes estimating the spread of the directional distribution of light at object points O1 and O2 by comparing the captured image based on the received light data with a reference image. Therefore, by using an optical inspection method, the spread of the BRDF distribution at the object points O1 and O2 can be estimated and the surface texture of the object points O1 and O2 can be determined.
[0053] (Variation 2) A second modified example of the optical inspection device 10 will be described with reference to FIG.
[0054] As shown in FIG. 6, the shielding unit 16 may have a wavelength shielding region 16a disposed between (at the boundary between) the first wavelength selection region 31 and the second wavelength selection region 32 of the wavelength selection unit 14. In this second modification, it is assumed that the optical axis OA is located at the boundary between the second wavelength selection region 32 of the wavelength selection unit 14 and the wavelength shielding region 16a of the shielding unit 16. The wavelength shielding region 16a functions in the same manner as the shielding unit 16. That is, the wavelength shielding region 16a of the shielding unit 16 prevents light of all wavelengths, including light of the first wavelength spectrum and light of the second wavelength spectrum, from passing through the wavelength selection unit 14 at the wavelength shielding region 16a. It is assumed that the first object point O1 is on a standard surface, and that the second object point O2 has a minute defect.
[0055] The blocking region 16a of the present modified example 2 can prevent, for example, light from the first object point O1 from passing through the first wavelength selection region 31 and the second wavelength selection region 32 at the same time.
[0056] In the case where the wavelength shielding region 16a is not arranged, when the light from the first object point O1 passes through the boundary (see FIG. 1) between the first wavelength selection region 31 and the second wavelength selection region 32, the color vector for the light becomes the same as that of the second object point O2. Therefore, the spread of the distribution of the BRDF of the first object point O1 and the spread of the distribution of the BRDF of the second object point O2 are estimated to be the same. On the other hand, by appropriately providing the wavelength shielding region 16a, the light from the first object point O1 can be passed through either the first wavelength selection region 31 or the second wavelength selection region 32. In other words, by providing the shielding region 16a, the optical inspection device 10 has the effect of being able to reliably estimate the difference in the distribution of the BRDF of the first object point O1 and the second object point O2 in the processing unit 18.
[0057] (Variation 3) A third modified example of the optical inspection device 10 will be described with reference to FIGS.
[0058] As shown in Fig. 7, the wavelength selection unit 14 may include a third wavelength selection region 33. The third wavelength selection region 33 is provided between (or at the boundary between) the first wavelength selection region 31 and the second wavelength selection region 32. The third wavelength selection region 33 in Fig. 7 is disposed in place of the shielding region 16a in Fig. 6 of the second modification.
[0059] The light passing through the first wavelength selection region 31, the second wavelength selection region 32, and the third wavelength selection region 33 becomes light of different wavelength spectra. In addition, when the light of each wavelength spectrum is captured by the image sensor 22 of the imaging unit 12, it becomes a color vector having a different direction. Here, the dimension of the color vector is N-dimensional, where N is the number of wavelength selection regions. In this modification 3, since N is 3, the dimension of the color vector is three-dimensional. That is, in this modification 3, the image sensor 22 has a first color channel that receives light of the first wavelength spectrum from the object points O1 and O2, a second color channel that receives light of the second wavelength spectrum, and a third color channel that receives light of the third wavelength spectrum, in each pixel, and receives the light of the first wavelength spectrum, the light of the second wavelength spectrum, and the light of the third wavelength spectrum as different signal vectors. The wavelength selection unit 14 and the image sensor 22 are arranged so that the magnitude relationship between the pixel values of the first color channel, the second color channel, and the third color channel changes in accordance with the spread of the directional distribution of light at the object points O1 and O2 in the pixels of the image sensor 22 relative to the object points O1 and O2 on the object plane O.
[0060] The light of the first BRDF at the first object point O1 passes through the boundary between the first wavelength selection region 31 and the third wavelength selection region 33. Also, the light of the second BRDF at the second object point O2 passes through the first wavelength selection region 31, the second wavelength selection region 32, and the third wavelength selection region 33. At this time, the first color vector of the first object point O1 has a different direction from the second color vector of the second object point O2. Therefore, the processing unit 18 correctly estimates that the spread of the distribution of the BRDF of the first object point O1 and the second object point O2 is different. On the other hand, if the third wavelength selection region 33 does not exist, the processing unit 18 may estimate that the spread of the distribution of the BRDF of the first object point O1 and the second object point O2 is the same due to the light passing through the boundary (see FIG. 1) between the first wavelength selection region 31 and the second wavelength selection region 32. In other words, according to this modification example 3, the wavelength selection unit 14 has the third wavelength selection region 33 in addition to the first wavelength selection region 31 and the second wavelength selection region 32, and this has the effect of enabling the processing unit 18 to reliably estimate the difference in the BRDF distribution between the first object point O1 and the second object point O2.
[0061] A color vector corresponding to the first wavelength spectrum is defined as a first basic color vector, a color vector corresponding to the second wavelength spectrum is defined as a second basic color vector, and a color vector corresponding to the third wavelength spectrum is defined as a third basic color vector. For example, when light from a first object point O1 passes through either the first wavelength selection region 31, the third wavelength selection region 33, or the boundary between the first wavelength selection region 31 and the third wavelength selection region 33, the color vector in the BRG color coordinate space is as shown in FIG. 8. That is, the end point of the color vector is located on a plane spanned by the first basic color vector and the third basic color vector. Similarly, when light from a first object point O1 passes through the third wavelength selection region 33, the second wavelength selection region 32, or the boundary between the third wavelength selection region 33 and the second wavelength selection region 32, the end point of the color vector is located on a plane spanned by the third basic color vector and the second basic color vector. On the other hand, the color vector at the second object point O2 is a linear combination of the first basic color vector, the second basic color vector, and the third basic color vector, all of which are multiplied by a non-zero coefficient. At this time, the direction of the color vector of the second object point O2 is shown to be different from the direction of the color vector of the first object point O1 due to the linear independence of the vectors. In other words, this modification 3 has the effect of allowing the processing unit 18 to distinguish the spread of the directional distribution of light rays from the first object point O1 and the second object point O2.
[0062] On the other hand, when the light passing through the first wavelength selection region 31, the second wavelength selection region 32, and the third wavelength selection region 33 is captured by the image sensor 22 of the imaging unit 12, the respective signal vectors are considered to be signal vectors (color vectors) that are not "linearly independent" from each other. For example, the light passing through the first wavelength selection region 31 is blue light, the light passing through the second wavelength selection region 32 is red light, and the light passing through the third wavelength selection region 33 is blue-red light obtained by adding blue light and red light. In this case, the three signal vectors for blue light, red light, and blue-red light are not linearly independent from each other. In other words, the signal vector of blue-red light can be expressed as a linear combination of the signal vectors of blue light and red light. Therefore, it is not possible to distinguish whether the light from an object point includes two lights, blue light and red light, or includes one light, blue-red light. Therefore, if it is not assumed (taken into account) that the light is scattered and branched when the blue-red light is received by the imaging unit 12, the light can only be considered to have passed through the third wavelength region 33. On the other hand, if it is assumed that the light is scattered and branched, it can be inferred that the light has either passed through the third wavelength region 33 or the first and second wavelength regions 31 and 32. This prevents light distribution in the direction of light caused by minute defects from being overlooked. In other words, there is an effect of preventing minute defects from being overlooked.
[0063] In this way, the optical system is configured so that the signal vectors for at least two different wavelength spectrum lights passing through the wavelength selection region are linearly independent from each other. Here, "configuring the optical system so that they are linearly independent" means that the positional relationship of the wavelength selection region, the imaging unit, and the lighting, and the shapes and characteristics of each are appropriately set to make the signal vectors linearly independent.
[0064] Second embodiment The optical inspection device 10 according to this embodiment will be described below with reference to Figures 9 and 10. The basic configuration of the optical inspection device 10 according to this embodiment is similar to that of the optical inspection device 10 of the first embodiment, but some different parts and differences will be described below. For this reason, the same components as those described in the first embodiment or components having the same functions will be given the same reference numerals, and detailed descriptions will be omitted.
[0065] 9 shows a schematic cross-sectional view of the optical inspection device 10 according to this embodiment. The optical inspection device 10 according to this embodiment includes an imaging unit 12, a wavelength selection unit 14, and an illumination unit 40 that illuminates an object surface O.
[0066] The imaging unit 12 has an image sensor 22 controlled by the processing unit 18, and an imaging-side shielding unit 16 that adjusts the aperture 22a of the image sensor 22. The imaging unit 12 may have an imaging optical element, not shown. The imaging-side shielding unit 16 is provided at the aperture 22a of the image sensor 22 of the imaging unit 12. The imaging-side shielding unit 16 sets the imaging aperture 22a of the light received by the image sensor 22 such that the magnitude relationship between the pixel values of the first color channel and the second color channel changes in accordance with the spread of the directional distribution of light at the object points O1 and O2, in the pixels of the image sensor 22 with respect to the object points O1 and O2.
[0067] Moreover, the wavelength selection unit 14 is disposed along the optical axis OA at a position farther away from the image sensor 22 of the imaging unit 12 than the object points O1 and O2. That is, in this embodiment, the wavelength selection unit 14 is not provided between the object points O1 and O2 and the imaging unit 12. The wavelength selection unit 14 may be provided in the illumination unit 40.
[0068] In this embodiment, the illumination section 40 further includes a light diffusion section 42 that diffuses the illumination light.
[0069] For the illumination light, a special light source may be prepared, but this is not necessarily required. For example, ambient light in an office or natural light such as sunlight may be used. In other words, a light source for illumination light is not necessarily required.
[0070] In this embodiment, the illumination light is ambient light from a ceiling lamp installed above the light diffusion unit 42. If the distance between the light diffusion unit 42 and the ceiling is sufficiently long, about several meters, a highly parallel beam-like white light reaches the light diffusion unit 42.
[0071] The light diffusion section 42 splits one light beam incident on the light diffusion section 42 into at least two lights in different directions. That is, the light diffusion section 42 diffuses the light incident on the light diffusion section 42 as diffused light DL. The diffusion may be caused by, for example, a diffraction phenomenon caused by minute irregularities. Alternatively, the diffusion may be caused by any phenomenon, such as a light absorption / emission phenomenon, a light absorption / fluorescence phenomenon, a geometric refraction phenomenon caused by a refractive index medium, a light scattering phenomenon caused by a reflective scatterer, or a light scattering phenomenon caused by a transparent scatterer or a white scatterer. In this embodiment, the light diffusion section 42 uses ground glass. That is, the ground glass used as the light diffusion section 42 diffuses the incident light to widen the divergence angle, and transmits the light as diffused light DL.
[0072] The operation of the optical inspection device 10 according to this embodiment will be described.
[0073] For example, illumination light from ambient light reaches the light diffusion section 42, is diffused, and is transmitted as diffused light DL. Then, the transmitted diffused light DL reaches both the first wavelength selection region 31 and the second wavelength selection region 32 of the wavelength selection section 14. The light that passes through the first wavelength selection region 31 becomes light of the first wavelength spectrum, and the light that passes through the second wavelength selection region 32 becomes light of the second wavelength spectrum. The light of the first wavelength spectrum has significant light intensity in the wavelength range of 400 nm to 550 nm, for example, blue light. Also, the second wavelength spectrum has significant light intensity in the wavelength range of 500 nm to 700 nm, for example, red light. However, the wavelength spectrum is not limited to this and may be anything. The light of the wavelength spectrum that passes through the first wavelength selection region 31 and the second wavelength selection region 32 may have a single wavelength, for example.
[0074] The image sensor of the imaging unit 12 receives light of the first wavelength spectrum and light of the second wavelength spectrum as color vectors (signal vectors) in different directions. The signal vector of the light of the first wavelength spectrum is defined as a first basic color vector. The signal vector of the light of the second wavelength spectrum is defined as a second basic color vector. The processing unit 18 can distinguish between the first wavelength spectrum and the second wavelength spectrum based on the difference in the direction of the color vectors.
[0075] In FIG. 10, the object plane O (surface (including object points O1 and O2) captured by the imaging unit 12 in the image) of the imaging unit 12 is used as a boundary in the cross-sectional view shown in FIG. 9, and the imaging side and the illumination side are simultaneously and diagrammatically drawn at the top and bottom, respectively. Here, among the normal directions on the object plane O, the normal direction facing the imaging side (image sensor 22 side) is defined as the imaging side normal direction. On the other hand, among the normal directions on the object plane O, the normal direction facing the illumination side is defined as the illumination side normal direction. Then, the solid angle based on the imaging side normal direction is defined as the imaging side solid angle, and the solid angle based on the illumination side normal direction is defined as the illumination side solid angle. In FIG. 10, when the object O (see FIG. 9) reflects light on its surface, the actual illumination side is virtually drawn as mirror symmetrical with respect to the object plane O. On the other hand, when the object O is transparent and transmits light, it can be regarded as an actual cross-sectional view.
[0076] In this specification, when comparing the imaging-side solid angle and the illumination-side solid angle, we consider one of the solid angles that is point-symmetric with respect to object points O1 and O2, and compare it with the other. For example, the imaging-side solid angle and the illumination-side solid angle at object points O1 and O2 being equal means that they are both point-symmetric with respect to object points O1 and O2.
[0077] The illumination-side solid angle at which the light of the first wavelength spectrum passing through the first wavelength selection region 31 reaches the first object point O1 is defined as the 1-1 illumination-side solid angle α11. The illumination-side solid angle at which the light of the second wavelength spectrum passing through the second wavelength selection region 32 reaches the first object point O1 is defined as the 1-2 illumination-side solid angle α12. The imaging-side solid angle of the light reaching the opening 22a of the image sensor 22 of the imaging unit 12 from the first object point O1 is defined as the 1-1 imaging-side solid angle β11. The imaging-side solid angle of the light reaching the imaging-side shielding unit 16 from the first object point O1 is defined as the 1-2 imaging-side solid angle β12. When a horizontal object plane is taken as in Fig. 10, the illumination-side solid angle is folded back with respect to the object plane, and the illumination-side solid angle and the imaging-side solid angle are compared on the imaging side, the 1-1 imaging-side solid angle β11 is included in the 1-1 illumination-side solid angle α11 (1-2 illumination-side solid angle α11 ≧ 1-2 imaging-side solid angle β11). Similarly, when a horizontal object plane is taken as in Fig. 10, the illumination-side solid angle is folded back with respect to the object plane, and the illumination-side solid angle and the imaging-side solid angle are compared on the imaging side, the 1-2 imaging-side solid angle β12 is included in the 1-2 illumination-side solid angle α12 (1-2 illumination-side solid angle α12 ≦ 1-2 imaging-side solid angle β12). In other words, when the illumination-side solid angle α12 of 1-2 in FIG. 10 is folded back at the object plane O and the illumination-side solid angle α12 of 1-2 and the imaging-side solid angle β11 of 1-1 are compared on the imaging side, they have no common area.
[0078] The solid angle occupied by light rays reaching the aperture (imaging aperture) 22a of the image sensor 22 of the imaging unit 12 from the object points O1 and O2 is called the imaging aperture solid angle β. For example, the 1-1 imaging side solid angle β11 is the imaging aperture solid angle β at the first object point O1.
[0079] The illumination-side solid angle at which the light of the first wavelength spectrum passing through the first wavelength selection region 31 reaches the second object point O2 is defined as a 2-1 illumination-side solid angle α21. Also, the illumination-side solid angle at which the light of the second wavelength spectrum passing through the second wavelength selection region 32 reaches the second object point O2 is defined as a 2-2 illumination-side solid angle α22.
[0080] A first object point O1 is assumed to be on a standard surface of an object O (see FIG. 9), and a second object point O2 is assumed to be on a small defect of the object O (see FIG. 9).
[0081] When a ray of light of the first wavelength spectrum within the 1-1 illumination side solid angle α11 is incident on the first object point O1, the reflected light has a 1-1 light ray direction distribution (BRDF) that is almost similar to regular reflection. When a ray of light of the second wavelength spectrum within the 1-2 illumination side solid angle α12 is incident on the first object point O1, the reflected light has a 1-2 light ray direction distribution (BRDF) that is almost similar to regular reflection. When a ray of light within the 2-1 illumination side solid angle α21 or the 2-2 illumination side solid angle α22 is incident on the second object point O2, the reflected light has a second light ray direction distribution (BRDF) that is almost similar to Lambertian (Lambertian reflection) in either case. Here, the 1-1 light ray direction distribution and the 1-2 light ray direction distribution are narrower than the second light ray direction distribution.
[0082] The solid angle occupied by the light ray direction distribution of 1-1 has a common area with, for example, the imaging side solid angle β11 of 1-1 and the imaging side solid angle β12 of 1-2. The solid angle occupied by the light ray direction distribution of 1-2 is included in, for example, the imaging side solid angle β12 of 1-2. In other words, the solid angle occupied by the light ray direction distribution of 1-2 does not have a common area with the imaging side solid angle β11 of 1-1. Therefore, the first object point O1 is imaged on the image sensor 22 only by the light of the first wavelength spectrum. In other words, the first object point O1 is not imaged on the image sensor 22 by the light of the second wavelength spectrum. This is because the light of the second wavelength spectrum passing through the imaging side solid angle β12 of 1-2 is blocked by the blocking portion 16.
[0083] The second light ray direction distribution is wider than the light ray direction distribution of 1-1 and the light ray direction distribution of 1-2. The first wavelength spectrum at the illumination side solid angle α21 of 2-1 and the second wavelength spectrum at the illumination side solid angle α22 of 2-2 are both reflected by the second object point O2 to become the second light ray direction distribution. The solid angle occupied by the second light ray direction distribution has a common area with the solid angle occupied by the light reaching the imaging aperture 22a from the second object point O2. As a result, the second object point O2 is imaged with both the light of the first wavelength spectrum and the light of the second wavelength spectrum.
[0084] Therefore, in the pixel for the first object point O1 of the captured image, the pixel value of the first color channel that receives light of the first wavelength spectrum has a larger value than the pixel value of the second color channel that receives light of the second wavelength spectrum. On the other hand, in the pixel for the second object point O2, both the pixel values of the first color channel that receives light of the first wavelength spectrum and the second color channel that receives light of the second wavelength spectrum have significant values. That is, the processing unit 18 can obtain information about the spread of the BRDF distribution based on the ratio of the pixel values of the color channels at each pixel. Therefore, as described with reference to Figs. 2 and 3 of the first embodiment, the processing unit 18 can determine the surface texture of the first object point O1 and the surface texture of the second object point O2.
[0085] As a result, the processing unit 18 can distinguish the difference in BRDF between the first object point O1 and the second object point O2 as the difference in the direction of the first color vector and the second color vector. This enables the processing unit 18 to distinguish the presence or absence of a minute defect in the object O. If the processing unit 18 previously acquires a reference (reference direction) of the color vector for the standard surface and the minute defect, the processing unit 18 can distinguish whether the target object points O1, O2 are on the standard surface or on the minute defect by comparing the direction of the captured color vector with the reference. Therefore, as described with reference to Figs. 4 and 5 of the first embodiment, the processing unit 18 can determine the surface texture of the first object point O1 and the surface texture of the second object point O2.
[0086] In this embodiment, if the image-capturing side shielding portion 16 does not exist, that is, if the light of the second wavelength spectrum having the 1-2 light ray direction distribution (BRDF) can reach the opening 22a of the image sensor 22 of the imaging unit 12, the first object point O1 is imaged with the light of the second wavelength spectrum. In other words, if the image-capturing side shielding portion 16 does not exist and the size of the opening 22a is not adjusted by the image-capturing side shielding portion 16, that is, if the solid angle occupied by the 1-2 light ray direction distribution (BRDF) is larger than the 1-2 image-capturing side solid angle β12 (0 in this case), the first object point O1 is imaged with both the light of the first wavelength spectrum and the light of the second wavelength spectrum. At this time, it becomes difficult for the processing portion 18 to distinguish between the first color vector at the first object point O1 and the second color vector at the second object point O2. This is because, at this time, the first color vector and the second color vector are respectively a superposition of both the light of the first wavelength spectrum and the light of the second wavelength spectrum. Therefore, the direction of the first color vector and the direction of the second color vector become close to each other, or the two become coincident. On the other hand, when the image capturing side shielding portion 16 is present and the opening 22a is adjusted, that is, when the light of the second wavelength spectrum having the 1-2 light ray direction distribution (BRDF) is shielded by the image capturing side shielding portion 16, the first object point O1 is not imaged by the image sensor 22 in the second wavelength spectrum. Therefore, the first color vector and the second color vector do not match based on the linear independence of the vectors. In other words, the directions of the first color vector and the second color vector are always different, and the two do not match. Therefore, the processing portion 18 can distinguish the difference in the direction between the first color vector and the second color vector, and has the effect of distinguishing the difference in the directional distribution of light. Based on this, the processing portion 18 has the effect of distinguishing the presence or absence of a micro defect on the object surface O.
[0087] The above description can be restated as follows. In other words, the illumination light has at least two different first and second wavelength spectra, and passes through a wavelength selection unit 14 having a first wavelength selection region 31 that blocks light of at least one wavelength not included in the light of the first wavelength spectrum and a second wavelength selection region 32 that blocks light of at least one wavelength not included in the light of the second wavelength spectrum. Then, the light of the first wavelength spectrum and the light of the second wavelength spectrum are irradiated onto object points O1 and O2, and the object plane including the object points O1 and O2 captured as images by the light that has passed through the imaging aperture 22a of the imaging unit 12 is used as a boundary, with the side closer to the imaging unit 12 being the imaging side and the side farther from the imaging unit being the illumination side. Furthermore, a first (1-1) illumination side solid angle α11 corresponding to the first wavelength selection region 31 and a second (1-2) illumination side solid angle α12 corresponding to the second wavelength selection region 32 are defined for the object points O1 and O2, an imaging aperture solid angle β corresponding to the imaging aperture 22a is defined for the object points O1 and O2, and either the first (1-1) illumination side solid angle α11 or the second (1-2) illumination side solid angle α12 does not have a common area with the imaging aperture solid angle β, and the object points O1 and O2 are imaged by an imaging unit 12 having at least two color channels that can receive light of the first wavelength spectrum and light of the second wavelength spectrum. This has the effect of making it possible to identify the presence or absence of a micro defect on the object surface O.
[0088] In this embodiment, both the first object point O1 and the second object point O2 are imaged with light of the first wavelength spectrum. This has the effect that the processing unit 18 can obtain information on the presence or absence of an object at each object point O1, O2 with blue light. In other words, it has the effect that if an object O exists at each object point O1, O2, it can be recognized by the processing unit 18. In addition, when the processing unit 18 images the first object point O1 and the second object point O2 with light of the first wavelength spectrum, it has the effect that the processing unit 18 can identify the difference in reflectance between the object points O1, O2 from the signal intensity of the color vectors of both objects (the first color vector and the second color vector).
[0089] As a result of the above, the optical inspection device 10 has the effect of "using at least two illumination lights each having a different illumination side solid angle α1 (α11, α12), α2 (α21, α22) and a different wavelength spectrum (blue light, red light), imaging an object O with an imaging unit 12 configured so that light from an imaging side solid angle (β11, β12) equal to the illumination side solid angle α1 (α11, α12), α2 (α21, α22) of one of the illumination lights is blocked, and the optical inspection device 10 can identify differences in the directional distribution of light from an object point based on an image captured with a color channel that receives light of two different wavelength spectra as signal vectors each having a different direction."
[0090] Alternatively, the optical inspection method according to this embodiment includes "estimating the spread of the directional distribution of light at object points O1 and O2 based on an image captured in a color channel that receives light of two different wavelength spectra as signal vectors each having a different direction by the imaging unit 12 configured such that, among light of two wavelength spectrums that pass through at least two different wavelength selection regions 31 and 32 of the wavelength selection unit 14, the illumination-side solid angle α11 of light of at least one of the wavelength spectrums has a common area with the imaging aperture solid angle β, and the illumination-side solid angle α12 of light of the other wavelength spectrum does not have a common area with the imaging aperture solid angle β."
[0091] In the optical inspection method according to the present embodiment, illumination light has at least two different first and second wavelength spectra, and the illumination light is passed through a wavelength selection unit 14 having a first wavelength selection region 31 that blocks light of at least one wavelength not included in the light of the first wavelength spectrum and a second wavelength selection region 32 that blocks light of at least one wavelength not included in the light of the second wavelength spectrum, and the illumination light is irradiated onto object points O1 and O2. At the same time, an object plane O including object points O1 and O2 captured as images by light that has passed through an imaging opening 22a of the imaging unit 12 is defined as a boundary, with the side closer to the imaging unit 12 as the imaging side and the side farther from the imaging unit 12 as the illumination side, and first illumination side solid angles α11 and α21 corresponding to the first wavelength selection region 31 and second illumination side solid angles α21 and α22 corresponding to the second wavelength selection region 32 are defined as a boundary, with respect to the object points O1 and O2, The present invention includes: defining second illumination-side solid angles α12, α22 corresponding to the object points O1, O2; defining an imaging aperture solid angle β corresponding to the imaging aperture 22a for the object points O1, O2; imaging the object points O1, O2 by an imaging unit 12 having at least two color channels capable of receiving light of a first wavelength spectrum and light of a second wavelength spectrum such that either the first illumination-side solid angles α11, α21 or the second illumination-side solid angles α12, α22 do not have a common area with the imaging aperture solid angle β; forming the light of the first wavelength spectrum and the light of the second wavelength spectrum into signal vectors having different directions based on the light reception data in the at least two color channels for the object points O1, O2; and estimating the spread of the directional distribution of light at the object points O1, O2 based on the directions of the signal vectors. The optical inspection method program according to this embodiment performs the above-mentioned optical inspection method-related processing by having a computer execute the processing. The optical inspection device 10 according to this embodiment performs the above-mentioned optical inspection method-related processing by having a processing unit 18 execute the processing. Therefore, by using the optical inspection method, the optical inspection program, or the optical inspection device 10, the spread of the BRDF distribution at the object points O1 and O2 can be identified, and the surface texture of the object points O1 and O2 can be determined.
[0092] The optical inspection method includes passing the light through a light diffusion section 42 that diffuses light of at least two different wavelength spectrums, and then passing the light through a wavelength selection region 14. The light diffusion section 42 allows the illumination light to be incident on the wavelength selection section 14 with a wider divergence angle.
[0093] The optical inspection device 10 according to the present embodiment includes a wavelength selection unit 14, an image sensor 22, and a shielding unit 16. Illumination light including light of at least two different wavelength spectra is incident on the wavelength selection unit 14. The wavelength selection unit 14 irradiates light of a first wavelength spectrum and light of a second wavelength spectrum onto an object plane O including object points O1 and O2. The image sensor 22 has a first color channel for receiving light of the first wavelength spectrum from the object point and a second color channel for receiving light of the second wavelength spectrum in each pixel, and receives the light of the first wavelength spectrum and the light of the second wavelength spectrum as different signals. The shielding unit 16 adjusts the area where light is incident on the image sensor 22, so that the pixels of the image sensor 22 for the object points O1 and O2 on the object plane O receive different signal vectors according to the spread of the distribution of the BRDFs of the object points O1 and O2. For example, signal vectors of two modes, such as a first mode in which one of the pixel values of the first color channel and the pixel values of the second color channel has a larger value than the other, and a second mode in which both the pixel values of the first color channel and the pixel values of the second color channel have significant values, are received according to the spread of the BRDF distribution. Therefore, depending on whether the image sensor 22 receives a signal in the first mode or the second mode, the spread of the BRDF distribution at the object points O1 and O2 can be identified, and the surface texture of the object points O1 and O2 can be determined.
[0094] As described above, according to this embodiment, it is possible to provide an optical inspection method, an optical inspection program, and an optical inspection apparatus 10 that can acquire information about an object O even when light is scattered, diffused, or diffracted in various directions within the object O.
[0095] (Variation 1) The first modification will be described with reference to FIG.
[0096] In the optical inspection device 10 according to the second embodiment, the illumination section 40 may use a light source 44 as shown in FIG. 11 in addition to or instead of the ambient light.
[0097] The light source 44 may be, for example, a laser light source. In this case, the image sensor 22 of the imaging unit 12 can capture an image of the object O brighter than the ambient light. This increases the pixel value of the captured image, making it more resistant to pixel value noise such as dark current noise, thereby improving the S / N ratio.
[0098] Since the laser light source 44 is generally monochromatic, it is preferable to use a phosphor as the light diffusion unit 42. For example, the laser light source may emit blue light, and the phosphor may absorb the blue light and emit green light. The phosphor can emit light in various directions when it emits light.
[0099] The light source 44 may be, for example, a white LED. However, in many cases, the white LED is composed of multiple blue point light sources and green or red phosphors. Here, the phosphors can function as the light diffusion section 42. Therefore, the white LED may be regarded as a combination of the light source 44 and the light diffusion section 42. However, by arranging the light diffusion section 42 at a distance from the light source 44, the light can be diffused closer to the object point. Therefore, the white LED as the light source 44 can generate illumination light with a wider variety of solid angles.
[0100] Alternatively, the illumination light source 44 may be anything that emits light, such as an LD light source, a halogen lamp, or a xenon lamp.
[0101] Furthermore, the illumination light source 44 can generate illumination light with a higher degree of uniformity by using the light diffusion unit 42. Also, by using the light diffusion unit 42 to diffuse the illumination light into diffused light DL, the luminance of light from ambient light can be reduced. This has the effect of preventing the optical inspection device 10 from becoming noise light that drastically changes the color vector processed by the processing unit 18 due to ambient light being incident on the image sensor 22 at a specific illumination side solid angle.
[0102] In addition, the presence of the light diffusion section 42 has the effect of allowing ambient light to reach the entire wavelength selection section 14 and generating illumination light of various solid angles, even without the need for a special light source.
[0103] (Variation 2) The second modification will be described with reference to FIG.
[0104] FIG. 12 shows an example in which the light source 44 includes a first light source 44a, a second light source 44b, and a beam splitter 44c, each having a different wavelength spectrum. The light from the first light source 44a and the second light source 44b is combined (light on two different light beam paths is combined into light on the same path) by the beam splitter 44c. The beam splitter 44c may be a non-polarizing beam splitter (half mirror), a polarizing beam splitter, or a dichroic mirror. The beam splitter 44c is not limited to this, and may be anything that can combine two lights. When using a polarizing beam splitter, if a polarizing camera that can sense the polarization direction is used for the image sensor 22 of the imaging unit 12, the polarization information can be used in the same way as the color information, and information on the directional distribution of light at the object point can be obtained more robustly. In addition, the two light sources 44a and 44b can generate a new wavelength spectrum having, for example, two peaks spaced apart from each other in the wavelength spectrum. Alternatively, the light intensities of the two light sources 44a and 44b can be appropriately adjusted, which allows, for example, the direction of the color vector of the first wavelength spectrum to be significantly different from the direction of the color vector of the second wavelength spectrum, allowing the processing unit 18 to obtain information on the directional distribution of light more accurately.
[0105] Also, for example, the processing unit 18 may electrically turn on or off the two light sources 44a and 44b. The processing unit 18 can, for example, independently control ON / OFF for each of the two light sources 44a and 44b. In this embodiment, the wavelength selection unit 14 associates the direction of light with the wavelength spectrum. Therefore, the processing unit 18 controls the two light sources 44a and 44b independently in this way, so that the processing unit 18 can change the directional distribution of light in a time series. This has the effect of making the correspondence between the directional distribution of light and the wavelength spectrum more clear. In addition, the processing unit 18, which controls the ON / OFF of the light sources 44a and 44b, has the effect of reducing crosstalk between two lights having similar wavelength spectra.
[0106] Third embodiment The optical inspection device 10 according to this embodiment will be described with reference to Fig. 13. The optical inspection device 10 according to this embodiment is basically the same as the optical inspection device 10 of the first embodiment. The differences from the optical inspection device 10 of the first embodiment will be described.
[0107] FIG. 13 shows a schematic cross-sectional view of the optical inspection device 10 of this embodiment. In FIG. 13, similar to FIG. 10 of the second embodiment, the object plane O of the imaging unit 12 is used as a reference, and the imaging side and the illumination side are simultaneously drawn above and below the object plane O. The first object point O1 is imaged to a first image point I1 by the imaging unit 12, and the second object point O2 is imaged to a second image point I2. In this embodiment, the imaging unit 12 includes an image sensor 22 and an imaging optical element 24. In addition, the optical inspection device 10 includes an illumination unit 40 having a white LED light source 44 and an illumination lens 46 on the illumination side.
[0108] The wavelength selection unit 14 includes a first wavelength selection region 31, a second wavelength selection region 32, and a third wavelength selection region 33. The first wavelength selection region 31 is provided between the second wavelength selection region 32 and the third wavelength selection region 33. The first wavelength selection region 31 intersects with the optical axis OA. The first wavelength spectrum passes through the first wavelength selection region 31, the second wavelength spectrum passes through the second wavelength selection region 32, and the third wavelength spectrum passes through the third wavelength selection region 33. The first wavelength spectrum is blue light (B), the second wavelength spectrum is red light (R), and the third wavelength spectrum is green light (G). The first wavelength spectrum, the second wavelength spectrum, and the third wavelength spectrum have peaks at wavelengths of 450 nm, 650 nm, and 550 nm, respectively.
[0109] The image sensor 22 of the imaging unit 12 is an area sensor. However, the image sensor 22 is not limited to this and may be any sensor capable of acquiring an image, such as a line sensor. The image sensor 22 has three different color channels (B, R, G).
[0110] In an image captured by the image sensor 22 of the imaging unit 12, the light of the first wavelength spectrum, the second wavelength spectrum, and the third wavelength spectrum become color vectors (signal vectors) whose directions are different from each other. These are called the first basic color vector, the second basic color vector, and the third basic color vector, respectively. Here, the linear combination of the first basic color vector and the second basic color vector (multiplied by a non-zero coefficient and added together) always has a different direction from the linear combination of the first basic color vector, the second basic color vector, and the third basic color vector. In other words, due to mathematical linear independence, the two always have different directions, and can be identified by the processing unit 18. In other words, these three basic color vectors are linearly independent from each other, so they can be identified by the processing unit 18.
[0111] The imaging optical element 24 is, for example, an imaging lens. In FIG. 13, the imaging lens as the imaging optical element 24 is typically depicted as one lens, but may be a lens assembly composed of a plurality of lenses. Alternatively, the imaging optical element 24 may be a concave mirror, a convex mirror, or a combination thereof. In other words, the imaging optical element 24 may be any optical element having a function of collecting a group of rays emitted from one point of the object O, that is, object points O1 and O2, at conjugate image points I1 and I2. The imaging optical element 24 collects (concentrates) a group of rays emitted from object points O1 and O2 on the surface of the object O at image points I1 and I2, which is called imaging. Alternatively, imaging may be said to move the object points O1 and O2 to image points (conjugate points of the object points) I1 and I2. Moreover, the collection plane of conjugate points to which a group of light rays emitted from a sufficiently distant object point are transferred by the imaging optical element 24 is called the focal plane of the imaging optical element 24. Moreover, the line perpendicular to the focal plane and passing through the center of the imaging optical element 24 is called the optical axis OA. In this case, the image points I1 and I2 conjugate to the object points O1 and O2 transferred by these light rays are called foci.
[0112] In this embodiment, the wavelength selection section 14 is disposed between the imaging optical element (imaging lens) 24 and the object points O1 and O2 along the optical axis OA.
[0113] On the illumination side, for example, a Fresnel lens is used as the illumination lens 46. Light from a white LED light source 44 placed at the focus of the illumination lens 46 is converted into parallel illumination light by the Fresnel lens 46 and irradiated toward the object O. As a result, white light having a 1-1 illumination side solid angle α11 is incident on the first object point O1. White light having a 2-1 illumination side solid angle α21 is incident on the second object point O2. The 1-1 illumination side solid angle α11 and the 2-1 illumination side solid angle α21 are assumed to be equal. Here, the white light includes all of the first wavelength spectrum, the second wavelength spectrum, and the third wavelength spectrum.
[0114] On the imaging side, the solid angle occupied by the light rays reaching the first wavelength selection region 31 from the first object point O1 is the 1-1 imaging side solid angle β11, and the solid angle occupied by the light rays reaching the second wavelength selection region 32 from the first object point O1 is the 1-2 imaging side solid angle β12. The solid angle occupied by the light rays reaching the first wavelength selection region 31 from the second object point O2 is the 2-1 imaging side solid angle β21, and the solid angle occupied by the light rays reaching the second wavelength selection region 32 is the 2-2 imaging side solid angle β22. And the solid angle occupied by the light rays reaching the third wavelength selection region 33 from the second object point O2 is the 2-3 imaging side solid angle β23.
[0115] When a horizontal object plane is taken as in Fig. 13, and the illumination-side solid angle is folded back with respect to the object plane to compare the illumination-side solid angle and the imaging-side solid angle on the imaging side, the illumination-side solid angle α11 of 1-1 is included in the imaging-side solid angle β11 of 1-1 (illumination-side solid angle α11 of 1-1≦imaging-side solid angle β11 of 1-1). Similarly, when a horizontal object plane is taken as in Fig. 13, and the illumination-side solid angle is folded back with respect to the object plane to compare the illumination-side solid angle and the imaging-side solid angle on the imaging side, the illumination-side solid angle α21 of 2-1 is included in the imaging-side solid angle β22 of 2-2 (illumination-side solid angle α21 of 2-1≦imaging-side solid angle β21 of 2-1).
[0116] The operation of the optical inspection device 10 according to this embodiment will now be described.
[0117] Assume that the first object point O1 is on a standard surface, and the second object point O2 is on a small defect. Therefore, the light ray direction distribution of the first object point O1 is relatively narrow, and the light ray direction distribution of the second object point O2 is relatively wide. However, this is not limited to the above, and depending on the small defect, the light ray direction distribution of the second object point O2 may be narrower than the light ray direction distribution of the first object point O1.
[0118] When a light ray having a 1-1 illumination side solid angle α11 is incident on a first object point O1, a light ray having a 1-1 light ray direction distribution (BRDF) passes through. That is, a light ray having a 1-1 light ray direction distribution passes through a 1-1 image-side solid angle β11 and a 1-2 image-side solid angle β12. Then, among the light rays having a 1-1 light ray direction distribution, light of a first wavelength spectrum passes through a first wavelength selection region 31, and light of a second wavelength spectrum passes through a second wavelength selection region 32. Then, the processing unit 18 images the first object point O1 with light of the first wavelength spectrum and light of the second wavelength spectrum by the image sensor 22 of the imaging unit 12. The color vector of the first image point I1 for the first object point O1 in the captured image is defined as a first color vector.
[0119] On the other hand, when a light ray having a 2-1 illumination side solid angle α21 is incident on the second object point O2, a light ray having a 2-1 light ray direction distribution (BRDF) passes through. That is, the light ray having the 2-1 light ray direction distribution passes through the 2-1 image-side solid angle β21, the 2-2 image-side solid angle β22, and the 2-3 image-side solid angle β23. Then, the light ray having the 2-1 light ray direction distribution passes through the first wavelength selection region 31, the second wavelength selection region 32, and the third wavelength selection region 33 at the same time, and the second object point O2 is imaged by the image sensor 22 of the imaging unit 12 with the light of the first wavelength spectrum, the light of the second wavelength spectrum, and the light of the third wavelength spectrum. The color vector of the second image point I2 for the second object point O2 in the captured image is defined as the second color vector.
[0120] Since the directions of the first basic color vector (signal vector of light of wavelength spectrum passing through the first wavelength selection region 31), the second basic color vector (signal vector of light of wavelength spectrum passing through the second wavelength selection region 32), and the third basic color vector (signal vector of light of wavelength spectrum passing through the third wavelength selection region 33) are linearly independent from each other, the directions of the color vectors (first color vector and second color vector) at the first object point O1 and the second object point O2 are different from each other. This has the effect that the processing unit 18 can identify the difference in the light ray direction distribution at each of the first object point O1 and the second object point O2. If the processing unit 18 can identify the difference in the light ray direction distribution, the processing unit 18 can obtain information on the presence or absence of a minute defect. Furthermore, if the processing unit 18 prepares in advance reference color vectors for the light direction distributions on the standard surface and on the minute defect and stores them in a storage medium or the like, the processing unit 18 can identify whether each object point O1, O2 is on the standard surface or on the minute defect by comparing the reference color vector with the captured color vector (see Figures 4 and 5).
[0121] In this embodiment, the imaging side solid angle for each of the wavelength selection regions 31, 32, and 33 can be changed by adjusting the distance between the wavelength selection unit 14 and the object surface O. Therefore, there is an advantage that the processing unit 18 can acquire information on the spread of the light ray direction distribution at the object points O1 and O2 with a desired range and sensitivity.
[0122] As described above, according to this embodiment, it is possible to provide an optical inspection method, an optical inspection program, and an optical inspection apparatus 10 that can acquire information about an object O even when light is scattered, diffused, or diffracted in various directions within the object O.
[0123] (Variation 1) The first modification will be described with reference to FIG.
[0124] A first modified example of the optical inspection device 10 according to the present embodiment will be described. In this first modified example, as shown in FIG. 14, the wavelength selection regions 31, 32, and 33 of the wavelength selection unit 14 are repeatedly arranged. For this reason, the wavelength selection unit 14 has a first set 141 in which a plurality of different wavelength selection regions 31, 32, and 33 are arranged, and a second set 142 in which a plurality of wavelength selection regions 31, 32, and 33 are arranged in the same arrangement as the first set 141, and the first set 141 and the second set 142 are arranged on the same surface. Although not shown, it is also preferable that the wavelength selection unit 14 further has a third set in which a plurality of wavelength selection regions 31, 32, and 33 are arranged in the same arrangement as the first set 141.
[0125] The first wavelength selection region 31, the second wavelength selection region 32, and the third wavelength selection region 33 pass light of the first wavelength spectrum, light of the second wavelength spectrum, and light of the third wavelength spectrum, respectively. The first wavelength spectrum, the second wavelength spectrum, and the third wavelength spectrum are blue light (B), green light (G), and red light (R) having peaks at wavelengths of 450 nm, 550 nm, and 650 nm, respectively. In this way, the wavelength selection unit 14 has an arrangement in which the first wavelength selection region 31, the second wavelength selection region 32, and the third wavelength selection region 33 are periodically repeated, thereby suppressing the number of color channels required by the image sensor 22 of the imaging unit 12, while the optical inspection device 10 can expand the inspection range of the object surface O. In addition, when the wavelength selection unit 14 is captured as background noise in the captured image, the background noise has periodicity. Therefore, the processing unit 18 has an effect of being able to distinguish the information of the object surface O by separating the object surface information from the background noise by utilizing the periodicity.
[0126] In optical inspection using captured images, if an image of only minute defects can be extracted, the inspection becomes easier. Therefore, the processing unit 18 prepares a background image in which anything other than minute defects appears, and subtracts it from the original captured image. Here, the background image may be an image of a standard plane in advance, or may be one that has been created in advance by some method.
[0127] The captured image acquired by the image sensor 22 of the imaging unit 12 is a three-channel color image (RGB image) of R, G, and B. Various signal vectors can be created based on this three-channel color image. In other words, a signal vector can be created based on light reception data in at least two color channels for an object point. Any method of creating a signal vector is acceptable. For example, a signal vector may be created in which the pixel values of the three channels of a three-channel color image of R, G, and B are directly used as vector components. In this case, the signal vector can be converted into a one-channel RGB image using an RGB color scale. RGB images are often commonly used when displaying three-channel color images on various devices. Alternatively, the RGB image can be converted into an HSV color space consisting of three components, hue, saturation (Saturation·Chroma), and brightness (Value·Brightness), and a signal vector can be created in which each of these components is a vector component. At this time, a hue image, a saturation image, and a brightness image, each of which is one channel, can be obtained. In this embodiment, the hue has a strong correlation with the direction of the signal vector. Alternatively, the RGB image can be converted into a one-channel monochrome image by using a grayscale signal vector with the pixel values of the three channels as vector components. Alternatively, the image can be converted into various one-channel images. Here, the processing unit 18 converts the image into a hue image in the HSV color space. At this time, the pixel value of each pixel is I(m,n), where m and n are integers that represent the position coordinates of the two-dimensional image.
[0128] At each position (m,n) of the hue image, the color vector is a linear combination of the first basic color vector, the second basic color vector, and the third basic color vector. At the object point O1 on the standard plane, the color vector corresponding to the directional distribution of light is a combination of two basic color vectors from the first basic color vector, the second basic color vector, and the third basic color vector. In other words, a combination of two basic color vectors is selected from the three basic color vectors, and the two basic color vectors are multiplied by a non-zero coefficient and linearly combined. In other words, the color vector is a linear combination of three combinations: the first basic color vector and the second basic color vector, the second basic color vector and the third basic color vector, and the third basic color vector and the first basic color vector.
[0129] Furthermore, at an object point O1 on the standard plane, the color vector corresponding to the directional distribution of light may be determined by one of the first, second, and third basic color vectors.
[0130] On the other hand, at an object point on a minute defect, the color vector corresponding to the directional distribution of light is a combination of all the basic color vectors, the first basic color vector, the second basic color vector, and the third basic color vector. Here, the first basic color vector, the second basic color vector, and the third basic color vector each have a different direction and are linearly independent, so based on the linear independence, the color vectors at the first object point O1 and the second object point O2 each have a different direction.
[0131] This allows the processing unit 18 to distinguish whether each of the object points O1 and O2 is on a standard surface or on a minute defect from the direction of the color vector.
[0132] The processing unit 18 creates a background image based on the captured image acquired by the image sensor 22. When the color vector of each pixel of the captured image is a combination of all of the basic color vectors, namely the first basic color vector, the second basic color vector, and the third basic color vector, the pixel value of the background image is set to 0. In addition, the color vector in other cases is set to I(m,n), where m and n are integers that represent the position coordinates of the two-dimensional image.
[0133] Then, as shown in the process flow of Fig. 15, the processing unit 18 subtracts the background image from the original captured image, so that only the image of the minute defect remains. In other words, the processing unit 18 can remove the unnecessary background image.
[0134] FIG. 16 shows an actual image of a minute defect on a white plastic plate (left image) and its background-removed image (right image).
[0135] The above-described background removal process by the processing unit 18 can be performed for each pixel. Therefore, when the process is performed by the processing unit 18 (computer), it is possible to increase the speed by parallelizing the process.
[0136] Moreover, the above-mentioned background image is identical to an image of a standard object having a standard surface without minute defects. Therefore, an image of a standard object may be taken in advance as the background image. In this case, the process of creating the background image is omitted, and therefore the processing unit 18 can further increase the speed of the process of creating the background-removed image.
[0137] (Variation 2) (Multi-wavelength aperture placed on the focal plane) A second modified example of the optical inspection device 10 of the present embodiment will be described.
[0138] Fig. 17 shows a schematic cross-sectional view of the optical inspection device 10 of the present modified example 2. In the present modified example 2, the wavelength selection unit 14 is disposed on the focal plane of the imaging optical element 24. The wavelength selection unit 14 has the same structure as the wavelength selection unit 14 of the optical inspection device 10 shown in Fig. 13. In addition, the optical axis OA intersects with the first wavelength selection region 31.
[0139] As a result, the 1-1 imaging side solid angle β11 of the first object point O1 and the 2-1 imaging side solid angle β21 of the second object point O2 are equal. Similarly, the 1-2 imaging side solid angle β12 of the first object point O1 and the 2-2 imaging side solid angle β22 of the second object point O2 are also equal. That is, the solid angles of the light rays reaching the wavelength selection regions 31, 32, and 33 are equal at the first object point O1 and the second object point O2.
[0140] On the other hand, on the illumination side, the solid angles of the illumination light incident on the first object point O1 and the second object point O2 are equal to each other. In other words, the 1-1 illumination-side solid angle α11 of the first object point O1 is equal to the 2-1 illumination-side solid angle α21 of the second object point O2.
[0141] As described above, when the surface of the object O is flat, all light from object points on the standard surface passes through the same imaging-side solid angle. Similarly, at any object point, all light from minute defects with the same BRDF passes through the same imaging-side solid angle. This has the effect that the processing unit 18 can inspect the color vectors of all object points O1, O2 using the same standard. In other words, at all object points O1, O2, the processing unit 18 can obtain information about the directional distribution of light from the direction of the color vector using the same reference direction. This has the effect that the processing unit 18 can simplify and speed up the processing.
[0142] (Fourth embodiment) Hereinafter, the optical inspection device 10 according to this embodiment will be described with reference to Fig. 18. The optical inspection device 10 according to this embodiment is basically the same as the optical inspection device 10 according to the second embodiment (see Figs. 9 and 10), but differences will be described.
[0143] 18 shows a schematic cross-sectional view of the optical inspection device 10 according to this embodiment. The optical inspection device 10 according to this embodiment has a wavelength selection section 14 and an illumination section 40 on the illumination side. The illumination section 40 includes a light diffusion section 42 and an illumination optical element 48. The optical inspection device 10 also includes an imaging optical element 24 and an imaging-side shielding section 16 on the imaging side.
[0144] The illumination optical element 48 may be an imaging optical element that forms an image of light. In other words, it may be an element that forms an image of light from an object point on an image point. The illumination optical element 48 may be, for example, a lens, a lens assembly consisting of a plurality of lenses, a concave lens, a convex lens, a GRIN lens, a concave mirror, a parabolic mirror, a reflector, or the like. In other words, the illumination optical element 48 may be anything that forms an image of light. However, this is not limited to this, and the illumination optical element 48 may be a non-imaging optical element. The illumination optical element 48 may be, for example, a CPC (Compound Parabolic Concentrator) or a total reflection lens. However, the non-imaging optical element used as the illumination optical element 48 has a function of converting a group of light rays emitted from a point into parallel light. Such a point is defined as the illumination side focus, or the illumination side focus. It is assumed that there is at least one such point, and the surface on which the point is located is defined as the illumination side focal plane. In other words, the illumination optical element 48 has an illumination-side focal plane. An illumination-side optical axis OA is defined as a plane that is perpendicular to the illumination-side focal plane and passes through the center of the illumination optical element.
[0145] In this embodiment, the illumination optical element 48 is a Fresnel lens. A Fresnel lens is characterized by having a large effective diameter and being thin.
[0146] The wavelength selection unit 14 is disposed on or near the illumination-side focal plane of the illumination optical element 48. The wavelength selection unit 14 has the same structure as the wavelength selection unit 14 of the optical inspection device 10 shown in Fig. 13. The illumination-side optical axis OA intersects with the first wavelength selection region 31.
[0147] The light diffusion section 42 is disposed at a position farther away from the illumination optical element 48 along the illumination-side optical axis OA than the wavelength selection section 14. In this embodiment, the light diffusion section 42 is disposed so that light from the light diffusion section 42 is imaged onto object points O1 and O2 by the Fresnel lens. However, this is not a limitation, and the light diffusion section 42 may be disposed anywhere as long as it is farther away from the illumination optical element 48 along the illumination-side optical axis OA than the wavelength selection section 14.
[0148] White light from the ambient light reaches the light diffusion section 42, which diffuses the white light toward the wavelength selection section 14. However, in this embodiment, the ambient light that does not reach the wavelength selection section 14 is configured to be blocked. Here, the light diffusion section 42 is assumed to be frosted glass. However, the light diffusion section 42 may be any material that diffuses light, and may be a plate coated with a phosphor, a plate coated with a scattering material, a plate with a rough surface, a porous transparent plate, or the like.
[0149] In the image sensor 22 of the imaging unit 12, an imaging aperture 22a is formed between the imaging side shielding portions 16. Light that reaches the imaging side shielding portions 16 is shielded. In other words, light from object points O1 and O2 that does not reach the imaging aperture 22a is not imaged on the image sensor 22.
[0150] The operation of the optical inspection device 10 according to this embodiment will be described.
[0151] Assume that the first object point O1 is on a standard surface of object O, and the second object point O2 is on a small defect of object O. Assume that the BRDF of the standard surface is close to that due to specular reflection, and has a narrower distribution than the BRDF of the small defect.
[0152] The wavelength selection unit 14 has a first wavelength selection region 31 and a second wavelength selection region 32, which respectively transmit light of a first wavelength spectrum and light of a second wavelength spectrum. The first wavelength spectrum is blue light, and the second wavelength spectrum is red light. In an image captured by the image sensor 22 of the imaging unit 12, the first basic color vector for the first wavelength spectrum and the second basic color vector for the second wavelength spectrum are in different directions. The color vector in the image captured by the image sensor 22 by the light that has passed through the wavelength selection unit 14 is a linear combination of the first basic color vector and the second basic color vector.
[0153] The ambient light is white light, and is diffused at the first light diffusion point D1 and the second light diffusion point D2 of the light diffusion unit 42. That is, at these light diffusion points D1 and D2, the divergence angle of the ambient light after incidence is increased. This makes it possible to increase the variation in the direction of light incident on the wavelength selection unit 14.
[0154] On the other hand, without the light diffusion section 42, the direction of the ambient light that directly reaches the wavelength selection section 14 becomes nearly parallel. Therefore, light from various directions cannot be made incident on the object points O1 and O2. In other words, the presence of the light diffusion section 42 has the effect of generating various illumination side solid angles at the object points O1 and O2 without any light rays missing.
[0155] The diffused light diffused at the first light diffusion point D1 and the second light diffusion point D2 passes through the wavelength selection unit 14 and is incident on the first object point O1 and the second object point O2 by the illumination optical element 48, respectively. Here, the wavelength selection unit 14 is disposed on the focal plane of the illumination optical element 48. Therefore, the illumination-side solid angles at the first object point O1 and the second object point O2 are the same. In other words, the illumination-side solid angle α11 of 1-1 is the same as the illumination-side solid angle α21 of 2-1, and the illumination-side solid angle α12 of 1-2 is the same as the illumination-side solid angle α22 of 2-2.
[0156] When the illumination-side solid angle α11 of 1-1 is folded back at the object plane O and the illumination-side solid angle α11 of 1-1 and the imaging-side solid angle β of 1-1 are compared on the imaging side, the illumination-side solid angle α11 of 1-1 includes the imaging aperture solid angle β of the imaging side (illumination-side solid angle α11 of 1-1≧imaging aperture solid angle β). On the other hand, when the illumination-side solid angle α12 of 1-2 is folded back at the object plane O and the illumination-side solid angle α12 of 1-2 and the imaging aperture solid angle β of 1-2 are compared on the imaging side, the illumination-side solid angle α12 of 1-2 does not have a common area with the imaging aperture solid angle β of the imaging side. When the light of the illumination-side solid angle α11 of 1-1 is incident on the first object point O1, the light of the light ray direction distribution (BRDF) of 1-1 is reflected. When the light of the illumination side solid angle α12 of 1-2 is incident on the first object point O1, the light of the 1-2 light ray direction distribution (BRDF) is reflected. The image-capturing side solid angle occupied by the 1-2 light ray direction distribution (BRDF) does not have a common area with the image-capturing aperture solid angle β. On the other hand, the image-capturing side solid angle occupied by the 1-1 light ray direction distribution has a common area with the image-capturing aperture solid angle β. As a result, when the light from the wavelength selection unit 14 is incident on the first object point O1, the first object point O1 is imaged by the image sensor 22 only with the light of the first wavelength spectrum. That is, when the light from the wavelength selection unit 14 is incident on the first object point O1, the light of the second wavelength spectrum is blocked by the shielding unit 16 with the opening 22a adjusted.
[0157] When light at the 2-1 illumination side solid angle α21 or the 2-2 illumination side solid angle α22 is incident on the second object point O2, light rays of the second light ray direction distribution (BRDF) are reflected in either case. The imaging side solid angle occupied by the second light ray direction distribution has a common area with the imaging aperture solid angle β. As a result, when light from the wavelength selection unit 14 is incident on the second object point O2, the second object point O2 is imaged by the image sensor 22 with both the light of the first wavelength spectrum and the light of the second wavelength spectrum.
[0158] As a result, the first color vector of the first object point O1 and the second color vector of the second object point O2 have different directions. This has the effect of allowing the processing unit 18 to distinguish the difference in the spread of the directional distribution of light at each object point O1, O2. If the processing unit 18 prepares in advance a reference color vector for the BRDF of a standard surface or a minute defect at each object point O1, O2 and stores it in a storage medium or the like, the processing unit 18 can obtain detailed information about the spread of the directional distribution of light by comparing the reference color vector with the color vector of the captured image.
[0159] In this embodiment, the wavelength selection unit 14 is disposed on the focal plane of the illumination optical element 48. Therefore, the illumination side solid angle at the first object point O1 and the second object point O2 coincide. This makes it possible to equalize the incident light of the BRDF of each object point O1, O2. In other words, the BRDF of each object point O1, O2 can be compared under the same incident condition. This has the effect of enabling the optical inspection device 10 to improve the inspection accuracy.
[0160] In this embodiment, the processing unit 18 can distinguish the difference in the spread of the light directional distribution of each object point O1, O2 for the following reason. That is, "at least one wavelength selection region of the wavelength selection unit 14 is disposed at a location away from the illumination-side focal point, and its illumination-side solid angle does not have a common area with the imaging aperture solid angle β." This has the effect of allowing the processing unit 18 to distinguish the spread of the light directional distribution depending on whether or not an object point is imaged with the second wavelength spectrum.
[0161] As described above, according to this embodiment, it is possible to provide an optical inspection method, an optical inspection program, and an optical inspection apparatus 10 that can acquire information about an object O even when light is scattered, diffused, or diffracted in various directions within the object O.
[0162] (Variation 1) FIG. 19 shows a schematic cross-sectional view of the illumination unit 40 of the optical inspection device 10 according to the first modified example of this embodiment.
[0163] In this first modification, the optical inspection device 10 includes an illumination unit 40 on the illumination side. The illumination unit 40 includes an LED light source 44, a light diffusion unit 42, an illumination optical element 50, and a heat dissipation unit 52.
[0164] The illumination optical element 50 of this embodiment is, for example, a parabolic mirror, and has an illumination-side focal plane 50a. A parabolic mirror is one form of a concave mirror.
[0165] The LED light source 44 includes, for example, a blue LED 44a and a phosphor 44b. The phosphor 44b is used as a light diffusion section for diffusing light and is provided on the blue LED 44a. Therefore, the LED light source 44 emits white diffused light.
[0166] The wavelength selection unit 14 has at least a first wavelength selection region 31 (see FIG. 13) and a second wavelength selection region 32 (see FIG. 13), which pass light of a first wavelength spectrum and light of a second wavelength spectrum, respectively. The optical axis OA intersects with the first wavelength selection region 31. The wavelength selection unit 14 is disposed on the illumination side focal plane 50a or in its vicinity. The second wavelength selection region 32 is disposed at a position away from the illumination side focus. This results in a configuration in which "at least one wavelength selection region 32 of the wavelength selection unit 14 is disposed at a position away from the illumination side focus 50b, and its illumination side solid angle does not have a common area with the imaging aperture solid angle."
[0167] In this first modification, the light diffusion unit 42 includes a white diffusion plate. The white diffusion plate 42 reflects the incident light in a Lambertian manner. Between the white diffusion plate 42 and the LED light source 44, the wavelength selection unit 14 is disposed along the optical axis OA on the illumination side, that is, along the light path. For example, the white diffusion plate 42 and the wavelength selection unit 14 are integrated. In this modification, the light of the first wavelength spectrum and the light of the second wavelength spectrum among the white light from the LED light source 44 pass through the wavelength selection unit 14 once, are reflected by the white diffusion plate 42, and pass through the wavelength selection unit 14 again. In other words, in this first modification, the situation is equivalent to two white diffusion plates 42 being disposed along the optical axis OA on the illumination side so as to sandwich the wavelength selection unit 14 therebetween.
[0168] The heat dissipation section 52 dissipates heat from the LED light source 44 to the outside of the illumination section 40 .
[0169] With the above configuration, the illumination unit 40 irradiates the light from the LED light source 44, the light of the first wavelength spectrum and the light of the second wavelength spectrum that pass through the wavelength selection unit 14 and further pass through the white diffusion plate 42 while being diffused, and the light of the first wavelength spectrum and the light of the second wavelength spectrum that are reflected by the white diffusion plate 42, pass through the wavelength selection unit 14, and are reflected by the illumination optical element 50, onto the object surface O including the object points O1 and O2. Therefore, in this modification 1, the illumination unit 40 has an effect of being able to irradiate the light of the first wavelength spectrum and the light of the second wavelength spectrum toward the object O in different directions. In addition, by using a reflector such as a parabolic mirror as the illumination optical element 50 as in this modification 1, the illumination unit 40 has an effect of being able to effectively use a large amount of light flux as illumination compared to the case where a lens is used. In addition, by using such a reflector, the illumination unit 40 has an effect of not generating chromatic aberration compared to the case where a lens is used. As a result, the optical inspection device 10 can improve the directional accuracy of the illumination side solid angle.
[0170] (Variation 2) FIG. 20 shows a top view of the wavelength selection unit 14 of the optical inspection device 10 according to the second modified example of the fourth embodiment, and FIG. 21 shows a cross-sectional view taken along line XXI-XXI in FIG.
[0171] In the present modified example 2, the wavelength selection unit 14 on the illumination side has a concentric center and a 120° rotationally symmetrical outer side. In other words, the center is axially symmetrical and the outer side changes in the azimuth direction. In the wavelength selection unit 14, the first wavelength selection region 31 and the second wavelength selection region 32 constitute the central part of the concentric circle, and the third wavelength selection region 33, the fourth wavelength selection region 34, and the fifth wavelength selection region 35 constitute the outer 120° rotationally symmetrical area. The second wavelength selection region 32 is provided on the outer periphery side of the first wavelength selection region 31. Also, the third wavelength selection region 33, the fourth wavelength selection region 34, and the fifth wavelength selection region 35 are provided on the outer periphery side of the second wavelength selection region 32 at intervals of 120° in the circumferential direction.
[0172] By using such a wavelength selection unit 14, the optical inspection device 10 can obtain not only information about the spread of the directional distribution of light (BRDF) in the processing unit 18, but also information about the azimuth angle direction of the directional distribution of light. In other words, the processing unit 18 can obtain a more detailed BRDF distribution. This provides the optical inspection device 10 with an advantage of improving the inspection accuracy.
[0173] In addition, although the present modified example 2 has been described with respect to the wavelength selection unit 14 on the illumination side, the wavelength selection unit 14 shown in Fig. 20 and Fig. 21 may be used as the wavelength selection unit on the imaging side (see Figs. 1, 6, 7, 9, 10, 13, 17, 18, and 19), thereby obtaining the same effect as described above.
[0174] Fifth embodiment Hereinafter, the optical inspection device 10 according to this embodiment will be described with reference to Fig. 22. Fig. 22 shows a perspective view of the optical inspection device 10 according to this embodiment. Note that in Fig. 22, the processing unit 18 of the optical inspection device 10 is omitted. The optical inspection device 10 is basically the same as the third embodiment shown in Fig. 13. Differences will be described below.
[0175] The optical inspection device 10 according to this embodiment is provided with wavelength selection units 14a, 14b on both the illumination side and the imaging side with respect to the object surface O. That is, the optical inspection device 10 is provided with an illumination-side wavelength selection unit 14a and an imaging-side wavelength selection unit 14b. The surface of the object O (object surface O) is assumed to be flat. The standard surface is assumed to be a substantially mirror surface.
[0176] The imaging unit 12 includes an image sensor 22 and an imaging optical element 24. The image sensor 22 of the imaging unit 12 is a line sensor.
[0177] The illumination-side wavelength selecting section 14a and the imaging-side wavelength selecting section 14b are configured to have a complementary color relationship under specular reflection conditions. That is, when the surface of the object O is a mirror surface, the light of the wavelength spectrum passing through the illumination-side wavelength selecting section 14a is specularly reflected by the surface of the object O and is blocked by the imaging-side wavelength selecting section 14b. On the other hand, when the surface of the object O is not a mirror surface but a rough surface, the light of the wavelength spectrum passing through the illumination-side wavelength selecting section 14a is scattered by the surface of the object O, the BRDF spreads, and some of the light of the wavelength spectrum is transmitted through the imaging-side wavelength selecting section 14b.
[0178] Both the illumination-side wavelength selecting section 14a and the imaging-side wavelength selecting section 14b have a plurality of wavelength selection regions that extend in a direction along the longitudinal direction of the line sensor 22. Both the illumination-side wavelength selecting section 14a and the imaging-side wavelength selecting section 14b have wavelength selection regions arranged in a direction perpendicular to the longitudinal direction of each wavelength selection region, and the plurality of wavelength selection regions are arranged in a striped pattern as a whole. The direction along which the wavelength selection regions change on the wavelength selecting sections 14a and 14b is the arrangement direction. In addition, an imaging-side shielding section 16 is provided on the outer side of the imaging-side wavelength selecting section 14b.
[0179] When a light ray is projected onto a cross section that includes the optical axis OA of the imaging optical element 24 on the image-capturing side and the arrangement direction of the illumination-side wavelength selecting section 14a and the imaging-side wavelength selecting section 14b, the light from the illumination section 40 becomes light that is focused onto the object point O (concentrated light). This cross section is defined as a first cross section S1. Meanwhile, a cross section perpendicular to the first cross section S1 is defined as a second cross section S2. When a light ray is projected onto the second cross section S2, the light from the illumination section 40 becomes diffuse light that diverges (divergent light) instead of focused light.
[0180] The illumination-side wavelength selecting section 14a and the imaging-side wavelength selecting section 14b each include a plurality of wavelength selecting regions, and each wavelength selecting region is striped, so that a plurality of wavelength selecting regions are arranged in the first cross section S1. In other words, the first cross section S1 includes a direction in which the wavelength selecting regions of the illumination-side wavelength selecting section 14a and the imaging-side wavelength selecting section 14b are arranged.
[0181] Among the light emitted from the illumination unit 40, the light of the wavelength spectrum corresponding to each wavelength selection region of the illumination-side wavelength selection unit 14a passes through the illumination-side wavelength selection unit 14a to illuminate the surface of the object O, forming an illumination field F. Furthermore, when a first object point O1 on the surface of the object O has a minute defect, the light of the wavelength spectrum corresponding to each wavelength selection region of the imaging-side wavelength selection unit 14b passes through the imaging-side wavelength selection unit 14b to form an image of the first object point O1 on the line sensor (image sensor) 22. On the other hand, when the first object point O1 is on the standard plane, the illumination is blocked by the imaging-side wavelength selection unit 14b. This is because the wavelength selection regions of the illumination-side wavelength selection unit 14a and the imaging-side wavelength selection unit 14b are configured (arranged) in a complementary color relationship.
[0182] When light rays are projected onto the first cross section S1, the light passing through the wavelength selection region of the image-capturing side wavelength selection section 14b changes due to the spread of the distribution of the first BRDF. On the other hand, when light rays are projected onto the second cross section S2, it is understood that the angle of view at the image-capturing section 12 becomes wider because the light from the illumination section 40 is diffused light. In other words, this embodiment has the effect of making it possible to widely and effectively use the angle of view in the longitudinal direction of the line sensor 22. In addition, by arranging the image-capturing side wavelength selection section 14b in front of the image-capturing section 12 (the imaging optical element 24 and the line sensor 22), this optical system can be easily assembled for any image-capturing section 12 (i.e., camera).
[0183] This embodiment provides information about the spread of the directional distribution of light at the object point O. This enables the processing unit 18 to inspect the properties or shape of the surface of the object O.
[0184] As described above, according to this embodiment, it is possible to provide an optical inspection method, an optical inspection program, and an optical inspection apparatus 10 that can acquire information about an object O even when light is scattered, diffused, or diffracted in various directions within the object O.
[0185] According to at least one of the embodiments described above, it is possible to provide an optical inspection method, an optical inspection program, and an optical inspection apparatus 10 that can acquire information about an object O even when light is scattered, diffused, or diffracted in various directions within the object O.
[0186] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0187] 10...optical inspection device, 12...imaging section, 14...wavelength selection section, 16...shielding section, 18...processing section, 22...image sensor, 22a...imaging aperture, 24...imaging optical element, 31-35...wavelength selection region, 40...illumination section, 42...light diffusion section, 44...light source, 46...illumination lens, 48...illumination optical element, 50...illumination optical element
Claims
1. Selectively passing light including at least two different wavelength spectrums from an object point by a wavelength selection unit, and capturing an image of the object point by an imaging unit having at least two color channels capable of receiving light of the wavelength spectrums; forming the at least two different wavelength spectrums of light into signal vectors each having a different direction based on the light reception data in the at least two color channels for the object point; estimating the extent of the directional distribution of the light at the object point based on the direction of the signal vector; An optical inspection method comprising:
2. The signal vector is a vector whose end point is a point in a color coordinate space in which pixel values of the at least two color channels are taken on mutually orthogonal coordinates. The optical inspection method according to claim 1 .
3. The estimation process includes estimating a spread of the directional distribution of the light at the object point by comparing a captured image based on the light reception data with a reference image. The optical inspection method according to claim 1 or 2.
4. The illumination light has at least two different wavelength spectra, a first wavelength spectrum and a second wavelength spectrum, and the illumination light is passed through a wavelength selection section having a first wavelength selection region that blocks light of at least one wavelength not included in the light of the first wavelength spectrum and a second wavelength selection region that blocks light of at least one wavelength not included in the light of the second wavelength spectrum, and the illumination light is irradiated onto an object point; an object plane including the object point captured as an image by light passing through an imaging aperture of an imaging unit is defined as a boundary, the side closer to the imaging unit is defined as an imaging side, and the side farther from the imaging unit is defined as an illumination side; defining a first illumination-side solid angle corresponding to the first wavelength-selective region and a second illumination-side solid angle corresponding to the second wavelength-selective region for the object point; defining an imaging aperture solid angle corresponding to the imaging aperture for the object point; capturing an image of the object point by the imaging unit having at least two color channels capable of receiving light of the first wavelength spectrum and light of the second wavelength spectrum, such that either the first illumination side solid angle or the second illumination side solid angle does not have a common area with the imaging aperture solid angle; forming the light of the first wavelength spectrum and the light of the second wavelength spectrum into signal vectors each having a different direction based on the light reception data in the at least two color channels for the object point; estimating the extent of the directional distribution of the light at the object point based on the direction of the signal vector; An optical inspection method comprising:
5. The light of at least two different wavelength spectrums is diffused by a light diffusion section and passed through the light, and then the light is passed through the wavelength selection region. The optical inspection method according to claim 4 .
6. After the at least two light beams having different wavelength spectra are multiplexed, the multiplexed light beams are passed through the light diffusion unit. The optical inspection method according to claim 5 .
7. Selectively passing light of at least two different wavelength spectrums from an object point by a wavelength selection unit, and capturing an image of the object point by an imaging unit having at least two color channels capable of receiving the light of the wavelength spectrums; Based on the light reception data in the at least two color channels for the object point, the light of the at least two different wavelength spectra is treated as a signal vector having a different direction, estimating the spread of the directional distribution of the light at the object point based on the direction of the signal vector; An optical inspection program that causes a computer to carry out the above steps.
8. The illumination light has at least two different wavelength spectra, a first wavelength spectrum and a second wavelength spectrum, and the illumination light is passed through a wavelength selection section having a first wavelength selection region that blocks light of at least one wavelength not included in the light of the first wavelength spectrum and a second wavelength selection region that blocks light of at least one wavelength not included in the light of the second wavelength spectrum, and the illumination light is irradiated onto an object point; an object plane including the object point captured as an image by light passing through an imaging aperture of an imaging unit is defined as a boundary, the side closer to the imaging unit is defined as an imaging side, and the side farther from the imaging unit is defined as an illumination side; defining a first illumination-side solid angle corresponding to the first wavelength-selective region and a second illumination-side solid angle corresponding to the second wavelength-selective region for the object point; defining an imaging aperture solid angle corresponding to the imaging aperture for the object point; capturing an image of the object point by the imaging unit having at least two color channels capable of receiving light of the first wavelength spectrum and light of the second wavelength spectrum, such that either the first illumination side solid angle or the second illumination side solid angle does not have a common area with the imaging aperture solid angle; forming the light of the first wavelength spectrum and the light of the second wavelength spectrum into signal vectors each having a different direction based on the light reception data in the at least two color channels for the object point; estimating the extent of the directional distribution of the light at the object point based on the direction of the signal vector; An optical inspection program that causes a computer to execute the above steps.
9. 9. An optical inspection device comprising a processing unit that implements the optical inspection program according to claim 7.
10. Selectively passing light of at least two different wavelength spectrums from an object point by a wavelength selection unit, and capturing an image of the object point by an imaging unit having at least two color channels capable of receiving the light of the wavelength spectrums; Based on the light reception data in the at least two color channels for the object point, the light of the at least two different wavelength spectra is treated as a signal vector having a different direction, Estimating the spread of the directional distribution of the light at the object point based on the direction of the signal vector; An optical inspection device having a processing section.
11. an optical system configured so that the signal vectors for the at least two different wavelength spectrums of light are linearly independent of each other; The optical inspection apparatus of claim 10.
12. the imaging unit having the color channels controlled by the processing unit; the wavelength selection unit selectively passing light including the at least two different wavelength spectrums from the object point; The wavelength selection unit is provided between the object point and the imaging unit, a shielding section that blocks light that can be imaged without passing through the wavelength selection section; The optical inspection apparatus of claim 10 .
13. The wavelength selection unit is a first wavelength selection region that blocks light of at least one wavelength that is not included in light of a first wavelength spectrum among the light including the at least two different wavelength spectrums; and a second wavelength selection region that blocks light of at least one wavelength that is not included in light of a second wavelength spectrum. having the shielding portion is provided between the first wavelength selection region and the second wavelength selection region and has a shielding region that blocks light of the first wavelength spectrum and light of the second wavelength spectrum. The optical inspection apparatus of claim 12.
14. a wavelength selection unit including a first wavelength selection region that blocks light of at least one wavelength not included in a first wavelength spectrum of illumination light including at least two different wavelength spectra, and a second wavelength selection region that blocks light of at least one wavelength not included in a second wavelength spectrum, the wavelength selection unit passing the illumination light toward an object point; an imaging unit having an image sensor having color channels for receiving the light of the first wavelength spectrum and the light of the second wavelength spectrum of the reflected light from the object point as signal vectors in different directions; a shielding portion that defines an imaging aperture through which the image sensor receives light from the object point; Equipped with an object surface including the object point captured as an image by the light passing through the imaging aperture is defined as a boundary, the side closer to the imaging unit is defined as an imaging side, and the side farther from the imaging unit is defined as an illumination side; defining a first illumination-side solid angle corresponding to the first wavelength-selective region and a second illumination-side solid angle corresponding to the second wavelength-selective region for the object point; defining an imaging aperture solid angle corresponding to the imaging aperture for the object point; the shielding portion defines the imaging aperture such that either the first illumination side solid angle or the second illumination side solid angle does not have a common area with the imaging aperture solid angle; Optical inspection equipment.
15. a wavelength selection unit including a first wavelength selection region that blocks light of at least one wavelength not included in a first wavelength spectrum of illumination light including at least two different wavelength spectra, and a second wavelength selection region that blocks light of at least one wavelength not included in a second wavelength spectrum, the wavelength selection unit passing the illumination light toward an object point; From the object point, a first color channel for receiving light of the first wavelength spectrum; a second color channel for receiving light of the second wavelength spectrum; and an image sensor having each pixel thereof, the image sensor receiving the light of the first wavelength spectrum and the light of the second wavelength spectrum as different signals; a shielding unit that sets an imaging aperture for light received by the image sensor such that a magnitude relationship between pixel values of the first color channel and the second color channel changes in accordance with a spread of a directional distribution of light at the object point in a pixel of the image sensor for the object point; An optical inspection device comprising:
16. an illumination unit including a light diffusion unit that diffuses the illumination light so as to branch the illumination light into at least two lights in different directions and then causes the light to enter the wavelength selection unit; 16. An optical inspection device according to claim 14 or 15.
17. The wavelength selection unit is provided in at least one of the image sensor and the illumination unit.
17. The optical inspection apparatus of claim 16.
18. an illumination optical element that forms an image of light passing through the wavelength selection unit; 16. An optical inspection device according to claim 14 or 15.
19. An illumination unit that irradiates parallel light is provided.
16. An optical inspection device according to claim 14 or 15.
20. The wavelength selection unit is A first set in which a plurality of mutually different wavelength selective regions are arranged; a second set in which the plurality of wavelength selective regions are arranged in the same arrangement as the first set; and having 16. An optical inspection device according to claim 14 or 15.
21. An image of the object surface is captured by the image sensor; A background image is created based on the captured image. creating a background-removed image by subtracting the background image from the captured image; The optical inspection device of claim 14, further comprising a processing section.
22. An illumination optical element that forms an image of light, The wavelength selection unit is disposed on a focal plane of the illumination optical element.
16. An optical inspection device according to claim 14 or 15.
23. an imaging optical element provided at least one between the object point and the image sensor, between the wavelength selection unit and the image sensor, or between the object point and the wavelength selection unit, and capable of forming an image of the light of the first wavelength spectrum and the light of the second wavelength spectrum on the image sensor; 16. An optical inspection device according to claim 14 or 15.
24. a concave mirror having an illumination-side focal plane, the wavelength selection unit being disposed on or near the illumination-side focal plane; A light source that emits white light; having the first wavelength selection region of the wavelength selection unit is provided at a focus of the illumination-side focal plane, the second wavelength selection region of the wavelength selection unit is provided at a position away from a focus of the illumination-side focal plane; 16. An optical inspection device according to claim 14 or 15.
25. When illumination light including light of a first wavelength spectrum, light of a second wavelength spectrum different from the light of the first wavelength spectrum, and light of a third wavelength spectrum different from the light of the first wavelength spectrum and the light of the second wavelength spectrum is irradiated onto an object surface including an object point, a first wavelength selective region that passes light of the first wavelength spectrum and blocks light having at least one wavelength outside the first wavelength spectrum; a second wavelength selective region that passes light of the second wavelength spectrum and blocks light having at least one wavelength outside the second wavelength spectrum; a third wavelength selective region that passes light of the third wavelength spectrum and blocks light having at least one wavelength outside the third wavelength spectrum; A wavelength selection unit having From the object point, a first color channel for receiving light of the first wavelength spectrum; a second color channel for receiving light of the second wavelength spectrum; and a third color channel for receiving light of the third wavelength spectrum; and an image sensor having each pixel thereof, the image sensor receiving the light of the first wavelength spectrum, the light of the second wavelength spectrum, and the light of the third wavelength spectrum as different signal vectors; Equipped with At a pixel of the image sensor for the object point of the object plane, The wavelength selection unit and the image sensor are arranged so that a magnitude relationship between pixel values of the first color channel, the second color channel, and the third color channel changes according to a spread of a directional distribution of light at the object point. Optical inspection equipment.
Citation Information
Patent Citations
Detection system for surface defect type of super-smooth optical element and measurement method of detection system
CN108827981A
Method for detecting defect in metal component
JP2005024560A
Optical inspection device and optical inspection method
JP2020076717A
Optical inspection device
JP2021076423A
Optical device
JP2022049881A
