Optical inspection method, program, and optical inspection device using same

The optical inspection method uses patterned light with spatial intensity modulation to create a singular light scattering image, addressing the inefficiency of existing methods by accurately detecting unique regions with fewer pixels, thus improving inspection accuracy and efficiency.

JP2024135247AInactive Publication Date: 2024-10-04KK TOSHIBA
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023045841
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-10-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing non-contact optical inspection methods require a large number of pixels to accurately project trigonometric function wave pattern light, which is inefficient and resource-intensive.

Method used

An optical inspection method using patterned light with spatial intensity modulation, projecting two patterns with different modulation modes and generating a singular light scattering image by analyzing the difference between these patterns to emphasize unique regions, allowing accurate inspection with fewer pixels.

Benefits of technology

The method enables precise detection of unique regions such as cracks and foreign objects with improved accuracy and reduced pixel requirements, enhancing the efficiency of optical inspection processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135247000001_ABST
    Figure 2024135247000001_ABST
Patent Text Reader

Abstract

To provide an optical inspection method, a program and an optical inspection device using the same, capable of inspecting characteristics of an object by using pattern light capable of presenting accurate expression despite a small number of pixels.SOLUTION: An optical inspection method includes: projecting, onto an object, first pattern light in a first basic modulation mode in which brightness and darkness are periodically changed; imaging the object on which the first pattern is projected, to obtain a first image; projecting, onto the object, second pattern light in a first inversion modulation mode in which brightness and darkness are inverted with respect to the first basic modulation mode; imaging the object on which the second pattern light is projected, to obtain a second image; and generating a specific light scattering image in which a specific region extracted based on at least the first image and the second image and causing specific light scattering is emphasized.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to an optical inspection method and program, and an optical inspection device using the same. [Background technology]

[0002] In various industries, non-contact optical inspection of objects is becoming important. One method of non-contact optical inspection is pattern projection imaging, in which pattern light with spatial intensity modulation that can be expressed by a trigonometric function is projected onto an object in succession, the object is imaged each time, and the properties of the object are obtained from the multiple images obtained by imaging. Here, the closer the pattern light is to a trigonometric function wave, the more accurately the properties of the object can be obtained. However, to accurately project a trigonometric function wave pattern light, a large number of pixels are required for the projection image to form the pattern light. [Prior art documents] [Non-patent literature]

[0003] [Non-Patent Document 1] DJ Cuccia, et. al., “Quantitation and mapping of tissue optical properties using modulated imaging,” Journal of Biomedical Optics 14(2), (2009). Summary of the Invention [Problem to be solved by the invention]

[0004] The embodiments provide an optical inspection method and program capable of inspecting the properties of an object using pattern light that can be accurately represented even with a small number of pixels, and an optical inspection apparatus using the same. [Means for solving the problem]

[0005] One embodiment of an optical inspection method includes projecting a first pattern light of a first basic modulation mode in which light and dark change periodically onto an object, capturing an image of the object onto which the first pattern light is projected to obtain a first image, projecting a second pattern light of a first inverted modulation mode in which light and dark are inverted relative to the first basic modulation mode onto the object, capturing an image of the object onto which the second pattern light is projected to obtain a second image, and generating a specific light scattering image in which specific regions exhibiting specific light scattering are highlighted, extracted based on at least the first image and the second image. [Brief description of the drawings]

[0006] [Figure 1] FIG. 1 is a diagram showing a configuration of an example of an optical inspection device according to the first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of the control device. [Diagram 3] FIG. 3 is a schematic diagram showing the optical inspection method according to the first embodiment. [Figure 4] FIG. 4 is a schematic diagram of the inside of an object that does not have a peculiar region and a ray diagram of light passing through the object. [Diagram 5] FIG. 5 is a schematic diagram of the inside of an object having a peculiar region and a ray diagram of light passing through the object. [Figure 6] FIG. 6 is a flowchart showing the optical inspection method according to the first embodiment. [Figure 7] FIG. 7 is a flowchart showing an optical inspection method according to a modified example of the first embodiment. [Figure 8A] FIG. 8A is a diagram showing an example of pattern light in the second embodiment. [Figure 8B] FIG. 8B is a diagram showing an example of pattern light in the second embodiment. [Figure 8C] FIG. 8C is a diagram showing an example of pattern light in the second embodiment. [Figure 8D] FIG. 8D is a diagram showing an example of pattern light in the second embodiment. [Figure 9]FIG. 9 is a diagram showing an example of pattern light in the third embodiment. [Figure 10] FIG. 10 is a diagram showing a configuration of an example of an optical inspection device according to the third embodiment. [Figure 11A] FIG. 11A is a diagram showing an image of a ceramic substrate captured by a conventional camera in the lighting of a typical office environment. [Figure 11B] FIG. 11B is a diagram showing an image of the ceramic substrate obtained by the unique region extraction process based on the method of the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Hereinafter, the embodiments will be described with reference to the drawings. The drawings are schematic or conceptual. The relationship between the thickness and width of each part, the size ratio between parts, etc., shown in the drawings are not necessarily the same as the actual ones. Even when the same part is shown, the dimensions and ratios of each part may be different 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 descriptions are omitted as appropriate.

[0008] Furthermore, the term "light" used in the following description is a type of electromagnetic wave, and includes gamma rays, X-rays, ultraviolet rays, visible light, infrared rays, radio waves, and the like. In the following description, light will be described as visible light. Visible light belongs to a wavelength range of, for example, 400 nm to 750 nm. Meanwhile, when light is mentioned in the following description, it may be replaced with gamma rays, X-rays, ultraviolet rays, visible light, infrared rays, radio waves, and the like.

[0009] (First embodiment) A first embodiment will be described. Fig. 1 is a diagram showing a configuration of an example of an optical inspection device according to the first embodiment. The optical inspection device 1 of the first embodiment has a projector 10, an imaging device 20, and a control device 30.

[0010] The projector 10 projects a pattern light having a spatial intensity modulation pattern onto the object O. The pattern light in the embodiment is light whose brightness changes periodically on the object O. Here, the periodic change in brightness corresponds to a change in intensity such that a region with high intensity and a region with low intensity are periodically located. However, the periodic does not necessarily mean only a pattern that is repeated at a constant interval. That is, the period may vary. In other words, the periodic corresponds to a region with high intensity and a region with low intensity being repeatedly located. In the following, for the sake of simplicity, unless otherwise specified, the periodic refers to a pattern having a constant period. In addition, as will be described in detail later, in the first embodiment, the projector 10 is configured to be able to project the pattern light in two modulation modes corresponding to two different spatial intensity modulation patterns. In the following description, the term "projection" may be used in the same sense as the term "projection".

[0011] Here, the object O is, for example, transparent to visible light and is composed of a uniform scattering medium. The material, shape, and thickness of the object O are not particularly limited. In the following, the object O in this embodiment is described as a plate having a thickness of about several millimeters and having light transparency. In addition, the description will be continued assuming that the surface onto which the pattern light is projected, of the two surfaces facing each other in the thickness direction of the plate-like object O, is the back side, and the surface onto which the image is captured is the front side. In the example of FIG. 1, the pattern light is projected from the back side surface of the object, passes through the object while being scattered within the object, reaches the front side surface of the object, and is emitted from the object. The object O is imaged with the light emitted from the object O. The surface onto which the light is projected is generally called the projection surface Pp, and the surface onto which the image is captured is called the object surface Po. That is, in the example of FIG. 1, the projection surface Pp is the back side surface of the object O, and the object surface Po is the front side surface of the object O.

[0012] In the first embodiment, the object O may have a peculiar region S. The peculiar region S is a localized region inside or on the surface of the object O that is composed of a peculiar medium or a peculiar shape. The peculiar medium or peculiar shape may be, for example, a foreign object or bubble mixed into the object, a crack or breakage that occurs in the object, a region of peculiar density caused by stress strain of the object, a minute uneven shape on the surface of the object, or a surface of the object whose surface roughness is different from the surroundings. However, the peculiar medium or peculiar shape is not limited to those listed here.

[0013] The projector 10 includes a light source 11 , a spatial modulator 12 , and projection optics 13 .

[0014] The light source 11 emits light. The light source 11 may be any light source such as a laser light source, an LD (Laser Diode) light source, an LED (Light Emitting Diode) light source, a filament light source, a halogen lamp, or a xenon lamp. For example, in the first embodiment, the description will be continued assuming that the light source 11 is a white LED light source. The wavelength spectrum of the white light has significant intensity in the wavelength range from 450 nm to 750 nm. Here, the light source 11 may be provided separately from the projector 10.

[0015] The spatial modulator 12 has a modulation surface. The modulation surface is composed of a collection of modulation pixels. The modulation surface changes the characteristics of light independently for each modulation pixel. The characteristics of light include, for example, intensity, polarization direction, wavelength spectrum, etc. The modulation surface may be, for example, a DMD (Digital Micromirror Device), an LCD (Liquid Crystal Display) panel, an LCOS (Liquid Crystal on Silicon) panel, etc. The shape of the modulation surface may be any shape. For example, the shape of the modulation surface may be an area shape or a line shape.

[0016] The projection optical element 13 has a projection optical axis zp, and images the pattern light obtained by the spatial modulation in the spatial modulator 12 onto the object O along the projection optical axis zp. As a result, a projected image corresponding to the modulation surface is formed on the object O. The projection optical element 13 is, for example, a lens. However, the projection optical element 13 may be anything that can image light emitted from an object point in space onto an image point. In the case of an optical system defined by the projection optical element 13, the object point is a point on the modulation surface of the spatial modulator 12, and the image point is a point on the projection surface Pp of the object O.

[0017] The imaging device 20 has an imaging optical element 21 and an image sensor 22. The imaging device 20 captures an image of the object O by using light emitted from an object surface Po of the object O.

[0018] The imaging optical element 21 has an imaging optical axis zi, and forms an image of light emitted from an object O on the image sensor 22. The imaging optical element 21 is, for example, a lens. The imaging optical element 21 may be anything that can form an image of light emitted from an object point in space onto an image point. In the case of an optical system defined by the imaging optical element 21, the object point is a point on the object surface Po of the object O, and the image point is a point on the pixel surface of the image sensor 22.

[0019] The image sensor 22 has a pixel surface. The pixel surface is composed of a collection of imaging pixels using photoelectric conversion elements. Each imaging pixel converts incident light into a pixel signal as an electrical signal. The collection of pixel values ​​based on the pixel signals forms an image. The image sensor 22 is, for example, a CMOS (Complementary Metal Oxide Semiconductor) image sensor. The image sensor 22 may be any type of sensor capable of acquiring an image. The shape of the pixel surface may also be any type. The shape of the pixel surface may be an area shape or a line shape.

[0020] The control device 30 is a computer that controls the optical inspection device 1. The control device 30 controls the start / stop of irradiation of the pattern light from the projector 10 and controls switching of the modulation mode. The control device 30 also generates a specific light scattering image as an inspection image from the image obtained from the imaging device 20.

[0021] Fig. 2 is a diagram showing an example of a hardware configuration of the control device 30. As shown in Fig. 2, the control device 30 includes a computer to which a control unit 31, a storage unit 32, a power supply unit 33, a timing device 34, a communication interface (I / F) 35, an input unit 36, an output device 37, and an external interface (I / F) 38 are electrically connected. Here, the control device 30 may include elements other than those shown in Fig. 2, or may not include some of the elements shown in Fig. 2. For example, the control device 30 may not include the timing device 34.

[0022] The control unit 31 includes a processor such as a CPU (Central Processing Unit), a RAM (Random Access Memory), and / or a ROM (Read Only Memory), and controls each component of the control device 30. The control unit 31 can call up an execution program stored in the storage unit 32 and execute processing.

[0023] The storage unit 32 is a medium that stores information such as a program so that the information can be read by a computer or the like. The storage unit 32 may be, for example, an auxiliary storage device such as a hard disk drive or a solid state drive. Furthermore, the storage unit 32 may include a drive. A drive is a device for reading data stored in another auxiliary storage device, a recording medium, or the like, and includes, for example, a semiconductor memory drive (a flash memory drive), a CD (Compact Disk) drive, a DVD (Digital Versatile Disk) drive, and the like. The type of drive may be appropriately selected depending on the type of storage medium.

[0024] The power supply unit 33 supplies power to each element of the control device 30. The power supply unit 33 may include, for example, a secondary battery or an AC power supply.

[0025] The timing device 34 is a device that measures time. For example, the timing device 34 may be a clock including a calendar, and transmits information on the current year, month, and / or date to the control unit 31. The timing device 34 may be used to record the date and time of an examination, etc.

[0026] The communication interface 35 is, for example, a short-distance wireless communication (for example, Bluetooth (registered trademark)) module, a wired LAN (Local Area Network) module, a wireless LAN module, etc., and is an interface for performing wired or wireless communication via a network. The communication via this network may be either wireless or wired. The network may be an internetwork including the Internet, or may be another type of network such as an in-house LAN. Furthermore, the communication interface 35 may perform one-to-one communication using a USB (Universal Serial Bus) cable or the like. Furthermore, the communication interface 35 may include a micro USB connector. The communication interface 35 is an interface for connecting to an external device such as various communication devices. The communication interface 35 is controlled by the control unit 31, and sends various information to the external device via a network or the like. The various information is, for example, an inspection image of the object O.

[0027] The input unit 36 ​​is a device that accepts input, and may be, for example, a touch panel, a physical button, a mouse, a keyboard, etc. The output device 37 is a device that performs output, and may be, for example, a display that outputs information by display or the like.

[0028] The external interface 38 is for intermediating between the main body of the optical inspection device 1 and an external device. The external device may be, for example, a printer, a memory, a communication device, or the like.

[0029] Next, an optical inspection method using the optical inspection device 1 will be described. FIG. 3 is a schematic diagram showing the optical inspection method of the first embodiment. In the optical inspection method of the first embodiment, pattern light having a spatial intensity modulation pattern is projected onto an object. Then, the object is imaged by the light transmitted through the object, and an image is acquired based on pixel signals obtained by imaging. The pattern light is formed of, for example, white light.

[0030] In the first embodiment, pattern lights corresponding to two modulation modes are irradiated onto an object from the projector 10 with a time interval or over time. As a result, two images corresponding to the pattern lights of the respective modulation modes are acquired by the imaging device 20. Based on these two images, the control device 30 acquires information regarding the peculiar region S of the object O.

[0031] Light incident on the peculiar region S exhibits different scattering characteristics than light incident on a uniform medium surrounding the peculiar region S. That is, the light scattering distribution is different in a uniform medium and in the peculiar region. In other words, the peculiar region S is a localized region that exhibits light scattering characteristics different from the light scattering characteristics of a uniform medium. The peculiar region S can be any localized region that causes peculiar light scattering. For example, a crack causes peculiar light scattering. Therefore, the presence or absence of a crack in an object O can be inspected by detecting the presence or absence of a peculiar region S on the object O.

[0032] In the first embodiment, the two different modulation modes include a fundamental modulation mode and an inverse modulation mode.

[0033] Fig. 3(a) shows an example of a pattern light in the basic modulation mode projected onto a projection surface Pp of an object O. The horizontal axis of Fig. 3(a) indicates a position on a line segment on the projection surface Pp of the object O. The vertical axis of Fig. 3(a) indicates the intensity In of the pattern light on the projection surface Pp.

[0034] In the basic modulation mode, the light and dark in the pattern light periodically changes (modulates) on the projection surface Pp of the object O. Here, the periodic change in light and dark corresponds to the change in intensity In such that an area with high intensity In and an area with low intensity In are periodically located when viewed in a line segment direction of the projection surface, as shown in FIG. 3(a). In other words, the periodic change in light and dark is the same as the periodic change in intensity. However, periodic does not mean only a pattern with a constant period. In other words, it also includes cases where the period varies. In other words, periodic may be anything as long as the intensity changes repeatedly. Here, the pattern light in the first embodiment may be any light whose light and dark periodically changes, such as a trigonometric function wave. For example, the pattern light in FIG. 3(a) is a square wave pattern light in which the light and dark change in a square wave shape.

[0035] The intensity In of the pattern light projected onto the projection surface Pp of the object O is the sum of the intensity of the uniform component and the intensity of the modulated component. The uniform component is sometimes called the DC component, and the modulated component is sometimes called the AC component. The uniform component is the average or median of the intensity In. The modulated component oscillates around the uniform component. Therefore, the average value of the intensity of the modulated component is 0.

[0036] Furthermore, if the absolute value of the intensity of the modulated component is the modulation amplitude, the modulation amplitude is equal to the absolute value of the intensity In minus the intensity of the uniform component. If the modulation amplitude of the pattern light in the basic modulation mode projected onto the projection surface Pp of the object O is the first modulation amplitude A1, it will be as shown in FIG. 3(a). Here, the first modulation amplitude A1 is spatially uniform. However, this is not limited to the above.

[0037] The pattern light in the basic modulation mode projected onto the object O is scattered by and transmitted through the object O. Then, this pattern light reaches the front surface of the object O. The object O is imaged with the light that has reached the front surface of the object in this manner, and an image is acquired.

[0038] When the object O is a homogeneous medium, the brightness of the light that reaches the front surface of the object O changes periodically, just like the pattern light projected onto the object O. In other words, when the object O is a homogeneous medium, there is a positive correlation between the intensity of the pattern light projected onto the projection surface Pp and the intensity of the light that reaches the object surface Po. As a result, the intensity In of the region of the object surface Po facing the region on the projection surface Pp where the intensity In is high is greater than the intensity In of the region of the object surface Po facing the region on the projection surface Pp where the intensity In is low.

[0039] Usually, background light B exists around the optical inspection device 1. Then, reflected light due to the background light B may occur on the object surface Po. The object O is imaged including the reflected light due to this background light B. The background light B differs depending on the usage environment of the optical inspection device 1, but may be, for example, general lighting in an office, sunlight outdoors, or sunlight entering a room through a window. In other words, the background light is light other than the light of the two modulation modes.

[0040] Fig. 3(b) shows an example of light on an object plane Po in response to the projection of the pattern light of Fig. 3(a). The horizontal axis of Fig. 3(b) indicates the position on a line segment on the object plane Po that corresponds to a line segment on the projection plane Pp of the object O. The vertical axis of Fig. 3(b) indicates the light intensity In on the object plane Po.

[0041] As shown in (b) of Figure 3, due to background light B, the light intensity at the object surface Po is the sum of the uniform component, modulated component, and the component of background light B. Therefore, the image obtained by imaging also contains a background light component in addition to the uniform component and modulated component. Here, if the modulation amplitude of the light in the basic modulation mode that reaches the object surface Po of the object O is the second modulation amplitude A2, the second modulation amplitude A2 is spatially uniform except for the unique region S.

[0042] Fig. 3(c) shows an example of pattern light in the inverted modulation mode projected onto the projection surface Pp of the object O. The horizontal axis of Fig. 3(c) indicates the position on a line segment on the projection surface Pp of the object O. The vertical axis of Fig. 3(c) indicates the intensity In of the pattern light on the projection surface Pp.

[0043] In the inverse modulation mode, as in the basic modulation mode, the light and dark of the pattern light periodically changes (modulates) on the projection plane Pp of the object O. However, the modulation components in the inverse modulation mode are inverted with respect to the basic modulation mode. That is, when the intensity In of the pattern light in the basic modulation mode is maximum, the intensity In of the pattern light in the inverse modulation mode is minimum, and when the intensity In of the pattern light in the basic modulation mode is minimum, the intensity In of the pattern light in the inverse modulation mode is maximum. The modulation amplitude of the pattern light in the inverse modulation mode may be the first modulation amplitude A1, which is the same as the modulation amplitude of the pattern light in the basic modulation mode. However, this is not limited to the above, and the modulation amplitude of the pattern light in the inverse modulation mode and the modulation amplitude of the pattern light in the basic modulation mode may be different.

[0044] The pattern light in the inverted modulation mode projected onto the object O is scattered by and passes through the object O, similar to the pattern light in the basic modulation mode. Then, this pattern light reaches the front surface of the object O. In this way, the object O is imaged with the light that has reached the front surface of the object O, and an image is acquired.

[0045] Fig. 3(d) shows an example of light on the object surface Po in response to the projection of the pattern light of Fig. 3(b). The horizontal axis of Fig. 3(d) indicates the position on a line segment on the object surface Po that corresponds to a line segment on the projection surface Pp of the object O. The vertical axis of Fig. 3(d) indicates the light intensity In on the object surface Po.

[0046] When the object O is a homogeneous medium, the modulation amplitude of the light in the inverted modulation mode on the object plane Po can be the second modulation amplitude A2, which is the same as the modulation amplitude of the light in the basic modulation mode except for the unique region S. This is because the modulation amplitude of the pattern light on the projection plane Pp is the first modulation amplitude A1, which is the same in the basic modulation mode and the inverted modulation mode. In other words, when the modulation amplitudes of the basic modulation mode and the inverted modulation mode on the projection plane Pp are different, the modulation amplitudes of the basic modulation mode and the inverted modulation mode on the object plane Po are also different. In addition, the components of the background light B do not change between the basic modulation mode and the inverted modulation mode as long as the environment in which the optical inspection device 1 is used does not change.

[0047] After the images of the object O are acquired for each of the light in the basic modulation mode and the light in the inverted modulation mode, the difference between the pixel values ​​of each pixel of the image in the basic modulation mode and the image in the inverted modulation mode is taken to generate a peculiar light scattering image as an inspection image. That is, the difference between the pixel values ​​of the image based on the pattern light of FIG. 3(b) and the image based on the pattern light of FIG. 3(d) is taken. FIG. 3(e) shows an example of a peculiar light scattering image. The horizontal axis of FIG. 3(e) indicates the position of a line segment on the image plane corresponding to a line segment on the projection plane object plane Po of the object O. The image plane is defined as Pi. The vertical axis of FIG. 3(e) indicates the pixel value Pixel Value. The pixel value Pixel Value may be a digital value obtained by converting the intensity In of the pattern light. As shown in FIG. 3(e), the peculiar light scattering image does not have a uniform component and a background light component. Furthermore, the peculiar light scattering image emphasizes the component of the peculiar region S. As described above, the presence or absence of cracks in the object O can be inspected by detecting the presence or absence of a peculiar region S of the object O. By emphasizing the components of the peculiar region S, it is expected that the accuracy of the inspection for the presence or absence of cracks will be improved.

[0048] Here, when an image has a plurality of color channels, a difference can be taken for each color channel. For example, by forming a color filter having a spectral sensitivity to a specific wavelength spectrum in each imaging pixel of the image sensor 22, an image can have color channels. For example, an imaging pixel formed with a blue color filter receives a wavelength spectrum having a peak at a wavelength of 450 nm to obtain a pixel signal of the blue color channel. Similarly, an imaging pixel formed with a green color filter receives a wavelength spectrum having a peak at a wavelength of 550 nm to obtain a pixel signal of the green color channel. Similarly, an imaging pixel formed with a red color filter receives a wavelength spectrum having a peak at a wavelength of 650 nm to obtain a pixel signal of the red color channel. In the image, the pixel values ​​of the pixels of the blue color channel, the pixel values ​​of the pixels of the green color channel, and the pixel values ​​of the pixels of the red color channel are independent. In the following, the image will be described as a monochrome image having only one channel for white light.

[0049] Next, the principle of the optical inspection method will be explained. First, consider the case where the object O is a homogeneous medium. In other words, consider the case where the object O does not have a peculiar region S. Figure 4 shows a schematic diagram of the inside of the object O that does not have a peculiar region S, and a light ray diagram of light passing through the object O. In Figure 4, the light intensity is represented diagrammatically by the number of black arrows and the thickness of the dashed arrows.

[0050] The pattern light projected onto the projection surface Pp of the object O is scattered by the object O while passing through the object O, and reaches the object surface Po of the object O. Here, as described above, the pattern light in the basic modulation mode and the inverted modulation mode has bright and dark regions when projected onto the projection surface Pp.

[0051] When there is no unique region S, the light in the bright region on the projection surface Pp of the pattern light in the basic modulation mode and the inverted modulation mode, that is, the light L1a with high intensity, travels through the object O while being scattered from the projection surface Pp of the object O toward the object surface Po. At this time, a part of the light L1a is scattered toward the dark region. This reduces the intensity of the light L1a. Therefore, the intensity of the light L1b emitted from the object surface Po becomes smaller than the intensity of the light L1a.

[0052] On the other hand, light in a dark area on the projection surface Pp of the pattern light in the basic modulation mode and the inverted modulation mode, that is, light L2a with low intensity, travels from the projection surface Pp of the object O toward the object surface Po while being scattered. At this time, a part of the light L2a is scattered toward the bright area. Also, the light L2a that is not scattered toward the bright area is combined with the light L1a scattered toward the dark area. Since the increase in the intensity of the light L2a due to the combination with the light L1a is greater than the decrease in the intensity due to scattering, the intensity of the light L2a increases as a result. The light L2a reaches the object surface Po while increasing in intensity in this way, and becomes light L2b. Therefore, the intensity of the light L2b emitted from the object surface Po is greater than the intensity of the light L2a.

[0053] From the above, in the absence of the unique region S, in either the basic modulation mode or the inverted modulation mode, the brightness difference, i.e., the contrast, on the projection plane Pp is lower than the contrast on the object plane Po. In other words, the modulation amplitude of the light on the object plane Po is smaller than the modulation amplitude of the light on the projection plane Pp.

[0054] Next, consider a case where the object O has a peculiar region S. FIG. 5 shows a schematic diagram of the inside of the object O having the peculiar region S and a ray diagram of light passing through the object O. In FIG. 5, as in FIG. 4, the intensity of light is represented diagrammatically by the number of black arrows and the thickness of the dashed arrows. In the example of FIG. 5, the peculiar region S is, for example, a crack. Generally, a crack has two opposing first and second interfaces I1 and I2. In the example, it is assumed that air exists between the first and second interfaces I1 and I2. However, the crack may contain a medium other than air, such as a liquid or solid foreign object.

[0055] Even if the object O has a unique region S, the pattern light in the basic modulation mode and the inverted modulation mode has bright and dark regions when projected onto the projection surface Pp, just as in the case where the object O does not have a unique region S.

[0056] Here, suppose that the unique region S exists between a bright region and a dark region. In this case, the light of the bright region on the projection surface Pp of the pattern light of the basic modulation mode and the inverted modulation mode, that is, the light L1a with high intensity, moves from the projection surface Pp of the object O toward the object surface Po while being scattered. A part of the scattered light L1a tries to move toward the dark region and reaches the unique region S. However, the light L1a that reaches the unique region S is reflected by the second interface I2 of the unique region S. This reflection occurs because there is a large refractive index difference between the air that constitutes the second interface I2 of the unique region S and the object. Generally, reflection occurs when the refractive index is discontinuous. And, due to this reflection, the light L1a that reaches the unique region S cannot move toward the dark region. Therefore, the intensity of the light L1b emitted from the object surface Po is the same as the intensity of the light L1a.

[0057] On the other hand, light in a dark region on the projection surface Pp of the pattern light in the basic modulation mode and the inverted modulation mode, i.e., light L2a with low intensity, also travels from the projection surface Pp of the object O toward the object surface Po while being scattered. A part of the scattered light L2a attempts to travel toward the bright region and reaches the unique region S. However, the light L2a that reaches the unique region S is reflected by the first interface I1 of the unique region S. And, due to such reflection, the light L2a that reaches the unique region S cannot travel toward the bright region. Therefore, the intensity of the light L2b emitted from the object surface Po is the same as the intensity of the light L2a.

[0058] From the above, when there is a unique region S, the contrast on the projection plane Pp and the contrast on the object plane Po are approximately the same in either the basic modulation mode or the inverted modulation mode. In other words, for light that has passed through the unique region S and its vicinity, the modulation amplitude of the light on the object plane Po and the modulation amplitude of the light on the projection plane Pp are approximately the same.

[0059] To summarize the above, when the object O does not have a unique region S, the modulation amplitude on the object surface Po is smaller than the modulation amplitude on the projection surface Pp in both the basic modulation mode and the inverse modulation mode. That is, the modulation amplitude on the object surface Po is attenuated compared to the modulation amplitude on the projection surface Pp. On the other hand, when the object O has a unique region S, the modulation amplitude on the unique region S and its vicinity on the object surface Po is approximately the same as the modulation amplitude on the unique region S and its vicinity on the projection surface Pp in both the basic modulation mode and the inverse modulation mode. That is, the modulation amplitude on the object surface Po is not attenuated compared to the modulation amplitude on the projection surface Pp. As a result, on the object surface, the modulation amplitude on the unique region S and its vicinity on the object surface Po is larger than the modulation amplitude on the object surface Po of the region other than the unique region S and its vicinity.

[0060] As described above, each pixel of the captured image has a pixel value in which three components, a background light component, a uniform component, and a modulated component, are superimposed. Here, the background light component and the uniform component can be removed by calculating the idiosyncratic light scattering image by subtracting the image in the basic modulation mode from the image in the inverted modulation mode. On the other hand, since the positive and negative of the modulated component are inverted between the basic modulation mode and the inverted modulation mode, the modulated component in the idiosyncratic light scattering image remains without being removed. Furthermore, the modulation amplitude of the idiosyncratic region S among the modulated components is larger than the modulation amplitude of the region other than the idiosyncratic region S. This is because, as described above, the modulation amplitude of the idiosyncratic region S and its neighboring object plane Po is not attenuated compared to the modulation amplitude on the projection plane Pp, whereas the modulation amplitude of the idiosyncratic region S and its neighboring object plane Po is attenuated compared to the modulation amplitude on the projection plane Pp.

[0061] From the above, the position of a pixel in the peculiar light scattering image having a pixel value equal to or greater than a threshold value, for example, can be identified as the position of the peculiar region S. By inspecting for the presence or absence of such a peculiar region S, it is possible to accurately inspect for foreign matter mixed into an object, air bubbles, cracks and fractures that have occurred in an object, regions of peculiar density caused by stress and strain of an object, surfaces on the surface of an object whose minute unevenness shape differs from the surrounding area, surfaces on an object whose surface roughness differs from the surrounding area, etc.

[0062] 6 is a flowchart showing the optical inspection method according to the first embodiment. The operation of FIG.

[0063] In step S1, the control unit 31 causes the projector 10 to project pattern light in the basic modulation mode onto the object O. In step S2, the control unit 31 causes the imaging device 20 to capture an image of the object O. An image in the basic modulation mode obtained by imaging with the imaging device 20 is stored in a predetermined storage area of ​​the storage unit 32 of the control device 30. Here, the operation of step S1 and the operation of step S2 may be performed sequentially or simultaneously.

[0064] In step S3, the control unit 31 causes the projector 10 to project pattern light in the inverted modulation mode onto the object O. In step S4, the control unit 31 causes the imaging device 20 to capture an image of the object O. The image in the inverted modulation mode obtained by imaging with the imaging device 20 is stored in a storage area of ​​the storage unit 32 of the control device 30, separate from the storage area in which the image in the basic modulation mode is stored. Here, the operation of step S3 and the operation of step S4 may be performed sequentially or simultaneously.

[0065] In step S5, the control unit 31 calculates the difference in pixel value for each pixel between the image in the inverted modulation mode and the image in the basic modulation mode as a peculiar region extraction process. The peculiar region S is emphasized compared to other homogeneous medium regions due to the peculiar light scattering image as the inspection image obtained by the peculiar region extraction process.

[0066] In step S6, the control unit 31 outputs an inspection image of the object O. Thereafter, the process of FIG. 6 ends. For example, the control unit 31 displays the inspection image on the display of the output device 37. Alternatively, the control unit 31 transmits the inspection image to an analysis device (not shown) using the communication interface 35. The analysis device analyzes the presence or absence of defects such as cracks by, for example, comparing the pixel value of each pixel of the inspection image with a threshold value representing a peculiar region S stored in advance. Such an analysis may be performed by the control unit 31.

[0067] As described above, in the first embodiment, a pattern light of a basic modulation mode having a pattern in which light and dark change periodically and a pattern light of an inverted modulation mode having a pattern in which the light and dark pattern is inverted with respect to the basic modulation mode are projected onto an object, and a peculiar light scattering image is generated from two images obtained by imaging the object. In the peculiar light scattering image, a peculiar region of the object can be emphasized. Therefore, information on the peculiar region of the object can be obtained from the peculiar light scattering image. Furthermore, in the first embodiment, information on the peculiar region can be extracted with high accuracy even if any pattern light in which light and dark change periodically is used.

[0068] Here, in the first embodiment, it is described that the intensity In on the projection surface Pp of the pattern light of the basic modulation mode and the pattern light of the inverse modulation mode is the same. However, the intensity In on the projection surface Pp of the pattern light of the basic modulation mode and the pattern light of the inverse modulation mode may not be the same. Similarly, in the first embodiment, it is described that the modulation amplitude on the projection surface Pp of the pattern light of the basic modulation mode and the pattern light of the inverse modulation mode is the same. However, the modulation amplitude on the projection surface Pp of the pattern light of the basic modulation mode and the pattern light of the inverse modulation mode may not be the same. When the intensity In or the modulation amplitude on the projection surface Pp of the pattern light of the basic modulation mode and the pattern light of the inverse modulation mode are different, in the singular area extraction process, the pixel values ​​of the image of the basic modulation mode and the image of the inverse modulation mode may be normalized according to the intensity ratio or the modulation amplitude ratio, and then the difference may be taken.

[0069] In the first embodiment, the object O is imaged with light transmitted from the back surface to the front surface of the object O. In contrast, the object O may be imaged with light reflected at the back surface of the object O. In this case, the projector 10 and the image capturing device 20 are both installed on the back surface of the object O. In this case, the projection surface Pp and the object surface Po of the object O are both the back surface of the object O.

[0070] (Modification of the first embodiment) A modified example of the first embodiment will be described. In the first embodiment, the pattern light of the basic modulation mode and the pattern light of the inverse modulation mode are white light. In contrast, in the modified example of the first embodiment, the pattern light of the basic modulation mode and the pattern light of the inverse modulation mode have different wavelength spectra. For example, the pattern light of the basic modulation mode is blue light, and the pattern light of the inverse modulation mode is red light. The blue light is light having a peak wavelength at, for example, a wavelength of 450 nm, and the red light is light having a peak wavelength at, for example, a wavelength of 650 nm. However, the combination of the pattern light of the basic modulation mode and the pattern light of the inverse modulation mode is not limited to this. In other words, the combination of the pattern light of the basic modulation mode and the pattern light of the inverse modulation mode may be a combination of different wavelength spectra.

[0071] The image sensor 22 in the modified example of the first embodiment is configured to be able to independently receive pattern light in the basic modulation mode and pattern light in the inverted modulation mode, each having a spectrum of different wavelengths. For example, the image sensor 22 includes imaging pixels having a spectral sensitivity to red light and imaging pixels having a spectral sensitivity to blue light. As a result, an image acquired by the image sensor 22 has a color channel corresponding to red light and a color channel corresponding to blue light. An image in the basic modulation mode can be acquired from the color channel corresponding to red light. Similarly, an image in the inverted modulation mode can be acquired from the color channel corresponding to blue light.

[0072] 7 is a flowchart showing an optical inspection method according to a modified example of the first embodiment. The operation of FIG.

[0073] In step S11a, the control unit 31 causes the projector 10 to project pattern light in the basic modulation mode onto the object O. In addition, in step S11b, the control unit 31 causes the projector 10 to project pattern light in the inverted modulation mode onto the object O. That is, in the modified example of the first embodiment, projection of pattern light in the basic modulation mode and projection of pattern light in the inverted modulation mode can be performed at the same time.

[0074] In step S12a, the control unit 31 causes the imaging device 20 to capture an image of the object O. The image in the basic modulation mode obtained by the imaging device 20 is stored in a predetermined storage area of ​​the storage unit 32 of the control device 30. In addition, in step S12b, the control unit 31 causes the imaging device 20 to capture an image of the object O. The image in the inverted modulation mode obtained by the imaging device 20 is stored in a storage area different from that of the image in the basic modulation mode of the storage unit 32 of the control device 30. That is, in the modified example of the first embodiment, the imaging of the object O in the basic modulation mode and the imaging of the object O in the inverted modulation mode can be performed at the same time.

[0075] In step S13, the control unit 31 calculates the difference in pixel value for each pixel between the image in the inverse modulation mode and the image in the basic modulation mode as a unique region extraction process.

[0076] In step S14, the control unit 31 outputs an inspection image of the object O. Thereafter, the process of FIG. 7 ends. For example, the control unit 31 displays the inspection image on the display of the output device 37. Alternatively, the control unit 31 transmits the inspection image to an analysis device (not shown) using the communication interface 35. The analysis device analyzes the presence or absence of defects such as cracks by, for example, comparing the pixel value of each pixel of the inspection image with a threshold value representing a peculiar region S stored in advance. Such an analysis may be performed by the control unit 31.

[0077] As described above, in the modification of the first embodiment, by providing the pattern light of the basic modulation mode and the pattern light of the inverse modulation mode with different wavelength spectra, the pattern light of the basic modulation mode and the pattern light of the inverse modulation mode can be irradiated onto the object O at the same time, and imaging for the basic modulation mode and imaging for the inverse modulation mode can be performed at the same time. In other words, it is not necessary to wait a time after processing for the basic modulation mode before processing for the inverse modulation mode pattern. This can shorten the inspection time.

[0078] Second embodiment Next, a second embodiment will be described. In the following, the description common to the first embodiment will be omitted as appropriate. Here, the basic configuration of the optical inspection device in the second embodiment can be the same as that shown in FIG. 1 and FIG. 2.

[0079] In the first embodiment, the pattern light of the basic modulation mode and the pattern light of the inverted modulation mode are arbitrary lights whose brightness changes periodically. Here, the resolution of the projection image formed on the projection surface is determined by the size of the modulation pixels on the modulation surface of the spatial modulator and the projection optical element. Specifically, the product of the magnification of the projection optical element and the size of the modulation pixels is the size of the projection pixels constituting the projection image to be projected. In a projection image formed by projection pixels with a large size, the sensitivity to a minute unique area is reduced. Also, in order to reproduce a projection image including a curve such as a trigonometric function wave with high accuracy, many modulation pixels are required. On the other hand, a square wave, a triangular wave, and a polygonal wave can be reproduced with high accuracy even with a small number of modulation pixels. In the second embodiment, an example of a pattern light that can perform inspection of a unique area with high accuracy even with a small number of modulation pixels is described.

[0080] Figures 8A, 8B, 8C, and 8D are diagrams showing examples of pattern light in the second embodiment. The vertical axis of Figures 8A, 8B, 8C, and 8D is the intensity In of the pattern light, and the horizontal axis is the position of the projected pixel on a line segment on the projection surface Pp of the object O. For example, the direction of the line segment coincides with the direction of the x-axis of the projection surface Pp.

[0081] FIG. 8A is a diagram showing a square wave pattern light having a period of two projected pixels, a bright projected pixel and a dark projected pixel. The modulation component that can be configured with the minimum number of projected pixels is the square wave shown in FIG. 8A having a period of two projected pixels. In other words, the square wave pattern light having a period of two projected pixels has a modulation component with the minimum period. Such a square wave pattern light having a period of two projected pixels has sensitivity even to a minute unique region S.

[0082] FIG. 8B is a diagram showing a rectangular wave pattern light having a period of four projected pixels as a rectangular wave pattern light having a period of an even multiple of the projected pixels. As described above, the intensity of the modulated component is obtained by subtracting the intensity of the uniform component from the intensity In of the pattern light. Therefore, the intensity of the modulated component changes so that positive and negative alternate with respect to 0. In this case, if the number of projected pixels in the positive area and the negative area are made to match, the period will always be an even number. In other words, by making the period an even multiple of the projected pixels, a rectangular wave without positive and negative bias can be generated. As a result, when the pattern light passes through the uniform medium of the object O, the modulation amplitude can be reduced more quickly than when there is a positive and negative bias. As described above, the reduction in the modulation amplitude when the pattern light passes through the uniform medium of the object O leads to a reduction in contrast. In this way, the projection of a rectangular wave pattern light without positive and negative bias can relatively improve the contrast of the pattern light passing through the unique area S.

[0083] FIG. 8C is a diagram showing a concave-convex wave pattern light having a period of eight projected pixels. In the pattern light of FIG. 8C, the number of projected pixels in the positive region and the negative region is four, respectively. Also, the pattern light of FIG. 8D is a diagram showing a concave-convex wave pattern light having a period of an even multiple of the projected pixels. In the pattern light of FIG. 8D, the number of projected pixels in the positive region and the negative region is two, respectively. Here, unlike the square wave pattern light, the modulation amplitude is not constant for each projected pixel in the concave-convex wave pattern light. However, in either the pattern light of FIG. 8C or the pattern light of FIG. 8D, the contrast of the pattern light passing through the unique region S can be relatively improved, as in the case of the square wave.

[0084] Next, the effects of the second embodiment will be described. It is known that in a steady state, light scattering can be predicted using the light diffusion equation. The light diffusion equation assumes that isotropic scattering occurs at medium points within an object. When the light diffusion equation is used, the modulation component φ of the scattering intensity of light propagating within an object can be written as follows:

number

[0085] In formula (1), when the modulation component of the pattern light is inverted, that is, when Φ is changed to −Φ, formula (1) becomes formula (2).

number

[0086] For this reason, when the modulated components of the pattern light projected onto the projection surface are inverted, the modulated components of the pattern light reaching the object surface are also inverted. This is true whether the object is a homogeneous medium or has a singular area. When the object has a singular area, the coefficient μ has a spatial distribution. In other words, the coefficient μ depends on the spatial position.

[0087] In this way, because the modulation components are inverted, when the difference between the image in the basic modulation mode and the image in the inverted modulation mode is taken in the peculiar region extraction process, the modulation components remain. On the other hand, the uniform components and background light components are not inverted, so they are removed by taking the difference. In other words, only the modulation components can be extracted by the peculiar region extraction process.

[0088] In the following description, the projection plane is assumed to be a plane parallel to the xy plane, and the projection optical axis is assumed to be the z axis perpendicular to the xy plane. The pattern light is assumed to be a rectangular wave whose intensity is modulated in the x direction. The pattern light is assumed to be a pattern light whose intensity is periodically modulated in the x direction. In this case, the intensity Φ of the modulated component of the pattern light can generally be described as a sum of trigonometric functions. This is also called Fourier series expansion or Fourier transform. In other words, the intensity Φ can be described as shown in equation (3) using a cos function and a sine function.

number

number

number

number

[0089] In equation (6), the first term on the right-hand side, i.e., the coefficient of the fundamental mode, is 2 / π. 2 / π is approximately 0.64, which is greater than 1 / 2 (i.e., 0.5). From this, it can be seen that when comparing the intensity of the fundamental mode of a square wave and a trigonometric wave (sine wave) having the same modulation amplitude, the intensity of the fundamental mode of the square wave is greater than that of the trigonometric wave. This means that at the maximum brightness that can be projected by the projector 10, the intensity of the fundamental mode of the square wave can be greater than that of the trigonometric wave.

[0090] Here, the modulation component φ when the pattern light propagates through an object that is a uniform medium is a component φ that depends only on the positions x and y on the projection surface. xyand φ, which depends only on the position z on the projection optical axis z In particular, when the pattern light is a square wave represented by equation (5), φ xy is expressed as equation (7) by solving equation (1) using equation (5).

number

number

[0091] As described above, in the second embodiment, by projecting pattern light including harmonics onto the projection surface, the presence or absence of a peculiar region can be inspected with high accuracy. In particular, a rectangular wave, a triangular wave, and a polygonal wave can be reproduced with high accuracy even with a small number of modulation pixels. Therefore, in the second embodiment, the presence or absence of a peculiar region can be inspected with high accuracy even with a small number of modulation pixels.

[0092] (Third embodiment) Next, a third embodiment will be described. In the following, descriptions common to the first and second embodiments will be omitted as appropriate.

[0093] Fig. 9 is a diagram showing an example of a pattern light in the third embodiment. Here, in Fig. 9, the vertical axis represents the intensity In of the pattern light, and the horizontal axis represents the position of a projected pixel on a line segment on the projection plane Pp of the object O. For example, the direction of the line segment coincides with the direction of the x-axis of the projection plane Pp.

[0094] In the third embodiment, a pattern light of a modulation mode having a reference phase and a pattern light of a modulation mode having a 1 / 4 phase shift with respect to the reference phase are used as the pattern light projected on the projection surface. For example, when the phase of the pattern light of the modulation mode having the reference phase is 0, the phase of the pattern light of the modulation mode having a 1 / 4 phase shift is +1 / 4 or -1 / 4. The pattern light of the modulation mode having the reference phase and the pattern light of the modulation mode having a 1 / 4 phase shift each have a basic modulation mode and an inverted modulation mode. Therefore, the pattern light projected on the projection surface in the third embodiment includes four types of pattern light, namely, a pattern light of a basic modulation mode having a reference phase, a pattern light of a basic modulation mode having a phase shifted by 1 / 4, a pattern light of an inverted modulation mode having a reference phase, and a pattern light of an inverted modulation mode having a phase shifted by 1 / 4. Here, the pattern light in FIG. 9 is a rectangular wave pattern light having a period that is an even multiple of the projection pixel shown in FIG. 8B. However, the pattern light that can be used in the third embodiment is not limited to the rectangular wave pattern light having a period that is an even multiple of the projection pixels.

[0095] In the following, the pattern light in the basic modulation mode having the reference phase will be referred to as the pattern light in the basic modulation mode with a phase of 0, the pattern light in the basic modulation mode having a phase shifted by 1 / 4 will be referred to as the pattern light in the basic modulation mode with a phase of 1 / 4, the pattern light in the inverted modulation mode having the reference phase will be referred to as the pattern light in the inverted modulation mode with a phase of 0, and the pattern light in the inverted modulation mode having a phase shifted by 1 / 4 will be referred to as the pattern light in the inverted modulation mode with a phase of 1 / 4.

[0096] Here, the pattern light with a phase of 0 and the pattern light with a phase of 1 / 4 may be projected onto the object sequentially, or may be projected onto the object simultaneously by giving each pattern light a different wavelength spectrum as described in the modified example of the first embodiment.

[0097] FIG. 10 is a diagram showing the configuration of an example of an optical inspection device according to the third embodiment. The optical inspection device 1 of the third embodiment has a projector 10, an imaging device 20, a control device 30, and a beam splitter 40. As shown in FIG. 10, in the third embodiment, the projector 10 and the imaging device 20 are arranged so that the projection optical axis zp of the projector 10 and the imaging optical axis zi of the imaging device 20 intersect perpendicularly at the beam splitter 40. However, this is not limited, and an oblique incidence arrangement in which the projector 10 and the imaging device 20 are arranged so that the projection optical axis zp and the imaging optical axis zi intersect at an angle may be used.

[0098] In the third embodiment, the image of the object O is not captured by light transmitted from the back surface to the front surface of the object O, but by light reflected by the back surface of the object O. That is, in the third embodiment, the projection plane Pp and the object plane Po of the object O are both the back surface of the object O.

[0099] The beam splitter 40 is a non-polarizing splitter or a polarizing splitter. Alternatively, the beam splitter 40 may be a dichroic mirror. When the beam splitter 40 is a polarizing splitter, it transmits the regular reflection component from the object O among the pattern light projected on the object O, and reflects only the scattered component that is scattered and reflected toward the imaging device 20. This is because the polarization generally changes due to scattering. As described above, the unique region S exhibits unique scattering characteristics different from the surrounding uniform medium. On the other hand, the reflected light from the uniform medium generally contains a large amount of regular reflection components. In other words, when the beam splitter 40 is a polarizing splitter, it is easy to extract only the scattered light from the unique region. When the beam splitter 40 is a non-polarizing splitter, it is possible to make the projection optical axis zp and the imaging optical axis zi coincident.

[0100] Next, the effect of the third embodiment will be described. For example, when a pattern light of the basic modulation mode with a phase of 0 shown in FIG. 9 is projected onto a projection surface, the light intensity distribution φ A0 can be expressed as equation (9).

number

[0101] Similarly, the light intensity distribution φ on the object plane when the pattern light of the fundamental modulation mode of phase 1 / 4 shown in FIG. 9 is projected onto the projection plane is A1 / 4 can be expressed as equation (10).

number

[0102] The pattern light in the inverted modulation mode is the inversion of the pattern light in the basic modulation mode. Therefore, the light intensity distribution φ on the object plane when the pattern light in the inverted modulation mode with a phase of 0 is projected onto the projection plane is B0, and the light intensity distribution φ on the object plane when a pattern light of a phase 1 / 4 inversion modulation mode is projected onto the projection plane. B1 / 4 can be expressed as equations (11) and (12), respectively.

number

[0103] In the third embodiment, four types of pattern light are projected onto a projection surface, and an image for each pattern light is acquired by the imaging device 20. If the pixel value of the image acquired by the imaging device 20 is I(m,n), I(m,n) is expressed as in equation (13). Here, (m,n) is a set of integers that represents the two-dimensional position of a pixel that constitutes the image. Also, I in equation (13) noise is the pixel value representing the background light component. DC is the pixel value representing the uniform component. AC is a pixel value representing the modulation component, and is obtained by converting the intensities shown in equations (9), (10), (11), and (12) into pixel values. Δφ in equation (13) is a pixel value representing the modulation component from the peculiar region.

number

[0104] Here, the pixel value I(m,n) of the image in the basic modulation mode with phase 0 based on equation (13) is expressed as I A0 Let I(m,n) be the pixel value of the image in the basic modulation mode with a phase of 1 / 4. A1 / 4 Let I(m,n) be the pixel value of the image in the inverted modulation mode with a phase of 0. B0 Let the pixel value of the image in the phase 1 / 4 inversion modulation mode be I B1 / 4 In the third embodiment, the peculiar region is extracted by using these I A0 , I A1 / 4 , I B0 , I B1 / 4Two combinations of the basic modulation mode and its inverted modulation mode are created, and the differences between the two sets are calculated. If this amount is the pixel value S of the specific light scattering image as the inspection image, S is calculated, for example, by the following formula (14).

number

number

number

[0105] Equation (16) is an equation obtained for a pattern light modulated in the x direction. Using a similar approach, a result similar to that of equation (16) can be obtained for a pattern light modulated in the y direction. Furthermore, the results for the x direction and the y direction may be combined. Specifically, the result of equation (16) for the x direction is taken as S x (m,n), and the result of equation (16) in the y direction is S yLet (m, n) be the pixel value of the inspection image and S(m, n) be the pixel value of the inspection image. Then, S(m, n) is expressed by the following equation (17).

number

[0106] Here, when both the pattern light modulated in the x direction and the pattern light modulated in the y direction are used in combination, the pattern light modulated in the x direction and the pattern light modulated in the y direction may be projected onto the object sequentially, or may be projected onto the object simultaneously by giving each pattern light different wavelength spectra as described in the modified example of the first embodiment.

[0107] FIG. 11A is a diagram showing an image of a ceramic substrate captured by a conventional camera under illumination in a normal office environment. FIG. 11B is a diagram showing an image of a ceramic substrate obtained by a peculiar region extraction process based on the method of the third embodiment. Here, there are two cracks in the ceramic substrate. In FIG. 11A and FIG. 11B, the positions of the cracks are indicated by S1 and S2. In FIG. 11A, the cracks are hardly imaged at the positions S1 and S2. On the other hand, in FIG. 11B, the cracks are clearly imaged at the positions S1 and S2. In this way, by projecting the pattern light of the basic modulation mode and the pattern light of the inverted modulation mode onto an object, the cracks as peculiar regions can be clearly imaged.

[0108] Although several embodiments of the present invention have been described above, 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]

[0109] 1...optical inspection device, 10...projector, 11...light source, 12...spatial modulator, 13...projection optical element, 20...imaging device, 21...imaging optical element, 22...image sensor, 30...control device, 31...control unit, 32...memory unit, 33...power supply unit, 34...timing device, 35...communication interface, 36...input unit, 37...output device, 38...external interface, 40...beam splitter.

Claims

1. projecting a first pattern light of a first basic modulation mode in which light and dark change periodically onto an object; capturing an image of the object onto which the first pattern light is projected to obtain a first image; projecting a second pattern light of a first inverted modulation mode in which light and dark are inverted with respect to the first basic modulation mode onto the object; capturing an image of the object onto which the second pattern light is projected to obtain a second image; generating a specific light scattering image in which a specific region exhibiting specific light scattering is highlighted, the specific light scattering image being extracted based on at least the first image and the second image; An optical inspection method comprising:

2. The first pattern light includes a fundamental frequency component and at least one harmonic component. The optical inspection method according to claim 1 .

3. The first pattern light is a rectangular wave pattern light. The optical inspection method according to claim 2 .

4. the first pattern light is a rectangular wave pattern light having one period that is an even multiple of the number of projected pixels that constitute the projected image formed on the object by projection; The optical inspection method according to claim 3 .

5. The first pattern light is a rectangular wave pattern light having two of the projected pixels as one period. The optical inspection method according to claim 4 .

6. The first pattern light is a rectangular wave pattern light having four projection pixels as one period. The optical inspection method according to claim 4 .

7. The first pattern light is a concave-convex wave pattern light. The optical inspection method according to claim 2 .

8. the first pattern light is a concave-convex wave having one period corresponding to eight projection pixels constituting a projected image formed on the object by projection; The optical inspection method according to claim 7.

9. the first pattern light and the second pattern light are pattern lights including wavelength spectra different from each other, The projection of the first pattern light onto the object and the projection of the second pattern light onto the object are performed at the same time. The optical inspection method according to claim 1 .

10. projecting a third pattern light of a second basic modulation mode having a phase different from that of the first basic modulation mode onto the object; capturing an image of the object onto which the third pattern light is projected to obtain at least one third image; projecting a fourth pattern light of a second inverted modulation mode having a phase different from that of the first inverted modulation mode onto the object; capturing an image of the object onto which the fourth pattern light is projected to obtain at least one fourth image; Further comprising: generating the differential light scattering image includes generating the differential light scattering image using at least the first image, the second image, the third image, and the fourth image; The optical inspection method according to claim 1 .

11. at least two of the first pattern light, the second pattern light, the third pattern light, and the fourth pattern light include wavelength spectra different from each other, The projection of the patterns including spectra of wavelengths different from each other among the first pattern light, the second pattern light, the third pattern light, and the fourth pattern light onto the object is performed at the same time. The optical inspection method according to claim 10.

12. the first basic modulation mode is a modulation mode in which light and dark change periodically in a first direction; The second basic modulation mode is a modulation mode in which light and dark change periodically in a second direction perpendicular to the first direction. The optical inspection method according to claim 10.

13. projecting a first pattern light of a first basic modulation mode in which light and dark change periodically onto an object; capturing an image of the object onto which the first pattern light is projected to obtain a first image; projecting a second pattern light of a first inverted modulation mode in which light and dark are inverted with respect to the first basic modulation mode onto the object; capturing an image of the object onto which the second pattern light is projected to obtain a second image; generating a specific light scattering image in which a specific region exhibiting specific light scattering is highlighted, the specific light scattering image being extracted based on at least the first image and the second image; An optical inspection program for causing a computer to execute the above.

14. A first pattern light of a first basic modulation mode in which light and dark change periodically is projected onto an object; capturing an image of the object onto which the first pattern light is projected to obtain a first image; projecting a second pattern light of a first inverted modulation mode in which light and dark are inverted with respect to the first basic modulation mode onto the object; capturing an image of the object onto which the second pattern light is projected to obtain a second image; generating a specific light scattering image in which a specific region exhibiting specific light scattering is highlighted, the specific light scattering image being extracted based on at least the first image and the second image; An optical inspection device having a control unit.

Citation Information

Patent Citations

  • Surface-state measuring device

    JP1984196406A

  • Work inspection method and device therefor

    JP2003185590A

  • Surface inspecting method and surface inspecting device

    JP2009264800A

  • Surface defect inspection method and surface defect inspection device

    JP2013113657A

  • Workpiece inspection device and workpiece inspection method

    JP2021173704A