The present disclosure relates to a three-dimensional measurement device.
As a three-dimensional measurement method of the related art, there is, for example, a method disclosed in Specification of United States Patent Application Publication No. 2008/0240502 (Patent Literature 1). In this method of Patent Literature 1, an object to be measured is irradiated with random dot patterns, and images of dot patterns located at the same position are captured by two cameras. The three-dimensional measurement of the object to be measured is performed using the principle of triangulation on the basis of a disparity between the two dot patterns.
In addition, for example, a method disclosed in Japanese Unexamined Patent Publication No. 2011-242178 (Patent Literature 2) is a measurement method using a phase shift method. In this method of Patent Literature 2, a reference flat plate having a reference surface onto which a lattice pattern is projected is prepared, and the reference flat plate is moved by a stage in parallel to a normal direction. An image of the lattice pattern projected onto the reference surface and an image of the lattice pattern projected onto an object to be measured are captured, and the spatial coordinates of the object to be measured are calculated using a table in which the phases and spatial coordinates of the lattice pattern are associated with each other.
A projector is used as a light source in the above-described method of Patent Literature 1, and an LED array is used as a light source in the method of Patent Literature 2. For this reason, there is a problem in that a three-dimensional measurement device becomes relatively large. As an image capturing device, for example, a subminiature camera having a size of 1 square mm or less has also been developed, and in order to reduce the size of the three-dimensional measurement device as a whole, it is important to reduce the size of the light source. In a case where the overall size of the three-dimensional measurement device can be reduced, it can be considered possible to apply the three-dimensional measurement device in applications such as, for example, mouth inspection, endoscopic inspection, inspection of narrow places such as the inside of a tube or a gap between walls, or inspection of household furniture, a device, or the like from below the floor, and to construct a handy-type three-dimensional measurement device. In addition, when the light source is applied to the three-dimensional measurement device, the light source is preferably a light source in which noise or distortion of light to be output is suppressed from the viewpoint of improving accuracy of measurement.
The present disclosure was contrived in order to solve the above problem, and an object thereof is to provide a three-dimensional measurement device in which the expansion of an application range is achieved by a reduction in the size of the device and an improvement in the accuracy of measurement is achieved.
According to an aspect of the present disclosure, there is provided a three-dimensional measurement device including: one or a plurality of light source units configured to irradiate an object to be measured with measurement light having a predetermined pattern; one or a plurality of image capture units configured to capture an image of the object to be measured which is irradiated with the measurement light; and a measurement unit configured to measure a three-dimensional shape of the object to be measured on the basis of results of image capture performed by the image capture units, wherein the light source units are constituted by an S-iPMSEL of M-point oscillation.
In the three-dimensional measurement device, the light source units are constituted by an S-iPMSEL of M-point oscillation. The S-iPMSEL includes a phase modulation layer having a fundamental layer and a plurality of different refractive index regions that differ in refractive index from the fundamental layer, and the position of the center of gravity of each different refractive index region is shifted from the lattice point position of a virtual square lattice in accordance with an output light image. The S-iPMSEL is configured to have, for example, about the size of a needle tip, and can output a light image of a two-dimensional pattern in a direction perpendicular to or inclined with respect to the main surface of a substrate provided with the phase modulation layer. Therefore, by using the S-iPMSEL as a light source, it is possible to realize a reduction in the overall size of the three-dimensional measurement device, and to achieve the expansion of the application range of the device. In addition, by using the S-iPMSEL of M-point oscillation, it is possible to eliminate an output of 0-order light (a diffracted wave component which is not phase-modulated) different from the light image of a desired two-dimensional pattern. Thereby, it is possible to irradiate the object to be measured with the measurement light having a pattern without noise or distortion caused by the 0-order light, and to achieve an improvement in the accuracy of measurement.
The three-dimensional measurement device may further include a single light source unit and a plurality of the image capture units, the predetermined pattern of the measurement light may be a periodic pattern consisting of any of a dot pattern, a stripe pattern, and a lattice pattern, and the measurement unit may measure the three-dimensional shape of the object to be measured on the basis of an active stereo method using the periodic pattern. In this case, it is possible to perform three-dimensional measurement using an image having little texture and three-dimensional measurement in a dark portion.
The three-dimensional measurement device may further include a single light source unit and a plurality of the image capture units, the predetermined pattern of the measurement light may be a random dot pattern, and the measurement unit may measure the three-dimensional shape of the object to be measured on the basis of an active stereo method using the random dot pattern. In this case, by using the random dot pattern instead of a periodic dot pattern, it is possible to suppress misrecognition when the same point of the dot pattern is imaged by a different image capture unit.
The three-dimensional measurement device may further include a single light source unit and a plurality of the image capture units, the predetermined pattern of the measurement light may be a pattern having a uniform density, and the measurement unit may measure the three-dimensional shape of the object to be measured on the basis of an active stereo method using the pattern having a uniform density. Since light emitted from the S-iPMSEL is a laser beam, speckles can occur in scattered light. Therefore, even in a case where the pattern having a uniform density is used, the random dot pattern is formed in the pattern of the measurement light. By using this random dot pattern, it is possible to suppress misrecognition when the same point of the dot pattern is imaged by a different image capture unit.
The three-dimensional measurement device may further include a plurality of the light source units and a single image capture unit, the predetermined pattern of the measurement light may be a gray code pattern, and the measurement unit may measure the three-dimensional shape of the object to be measured on the basis of a triangulation method using the gray code pattern. Since the number of patterns of the gray code pattern may be smaller than the number of pixels of the image capture unit, irradiation with the measurement light having the gray code pattern can be realized by a small number of light source units. In a case where the gray code is used, a Hamming distance between adjacent pixels is set to 1. Even in a case where a bit error occurs when a bit string is restored, the error falls within 1 That is, in the gray code, a code resistant to noise is obtained.
The three-dimensional measurement device may further include a plurality of the light source units and a single image capture unit, the predetermined pattern of the measurement light may be a sinusoidal stripe pattern, and the measurement unit may measure the three-dimensional shape of the object to be measured on the basis of a phase shift method using the sinusoidal stripe pattern. In this case, the measured phase is converted into height, so that it is possible to measure the height of the object to be measured at an interval smaller than the pitch of the sinusoidal stripe pattern.
The plurality of light source units may output sinusoidal stripe patterns having different periods from each other. In the phase shift method, discontinuity in a phase of 2π has arisen as a problem. On the other hand, by using the sinusoidal stripe patterns having different periods from each other, it is possible to improve the discontinuity in a phase of 2π, and to realize high-accuracy three-dimensional measurement using a small number of patterns.
The three-dimensional measurement device may further include a plurality of the light source units and a single image capture unit, the predetermined pattern of the measurement light may be a sinusoidal stripe pattern, and the measurement unit may measure the three-dimensional shape of the object to be measured on the basis of a sampling moire method using the sinusoidal stripe pattern. In this case, it is possible to realize high-accuracy three-dimensional measurement using a smaller number of patterns.
The three-dimensional measurement device may further include a plurality of the light source units and a single image capture unit, the predetermined pattern of the measurement light may be a superimposition pattern obtained by superimposing a sinusoidal stripe pattern on a random dot pattern, and the measurement unit may measure the three-dimensional shape of the object to be measured on the basis of a phase shift method using the superimposition pattern. In the phase shift method, discontinuity in a phase of 2π has arisen as a problem. On the other hand, by using the random dot pattern, it is possible to improve the discontinuity in a phase of 2π, and to realize high-accuracy three-dimensional measurement using a small number of patterns.
The three-dimensional measurement device may further include a plurality of the light source units and a single image capture unit, the predetermined pattern of the measurement light may include a sinusoidal stripe pattern and a gray code pattern, and the measurement unit may measure the three-dimensional shape of the object to be measured on the basis of a phase shift method using the sinusoidal stripe pattern and a triangulation method using the gray code pattern. In the phase shift method, the discontinuity in a phase of 2π has arisen as a problem. On the other hand, by using the gray code, it is possible to improve the discontinuity in a phase of 2π, and to realize high-accuracy three-dimensional measurement using a small number of patterns.
The three-dimensional measurement device may further include a plurality of the light source units and a plurality of the image capture units, the predetermined pattern of the measurement light may be a sinusoidal stripe pattern, and the measurement unit may measure the three-dimensional shape of the object to be measured on the basis of a phase shift method and an active stereo method using the sinusoidal stripe pattern. In this case, the measured phase is converted into height, so that it is possible to measure the height of the object to be measured at an interval smaller than the pitch of the sinusoidal stripe pattern. In addition, in the phase shift method, the discontinuity in a phase of 27r has arisen as a problem. On the other hand, by also using the active stereo method using the plurality of image capture units, it is possible to improve the discontinuity in a phase of 2π, and to realize high-accuracy three-dimensional measurement using a small number of patterns.
The light source units and the image capture units may be disposed on a surface of a three-dimensional object. In this case, the three-dimensional object on which the light source units and the image capture units are disposed can be constituted as a probe of the three-dimensional measurement device. By using the three-dimensional object, sets of the light source units and the image capture units can be directed in different directions from each other, and thus it is possible to perform the three-dimensional shape measurement of the object to be measured at a wide solid angle. In addition, it is easy to apply the three-dimensional measurement device in applications such as, for example, mouth inspection, endoscopic inspection, inspection of narrow places such as the inside of a tube or a gap between walls, or inspection of household furniture, a device, or the like from below the floor, and to construct a handy-type three-dimensional measurement device.
Hereinafter, a preferred embodiment of a three-dimensional measurement device according to an aspect of the present disclosure will be described in detail with reference to the accompanying drawings.
A three-dimensional measurement device 101 according to the present embodiment is configured to include one or a plurality of light source units 102 that irradiate an object to be measured SA with measurement light 105 having a predetermined pattern, one or a plurality of image capture units 103 that capture an image of the object to be measured SA with which the measurement light 105 is irradiated, and a measurement unit 104 that measures a three-dimensional shape of the object to be measured SA on the basis of results of image capture performed by the image capture unit 103 (see
In the three-dimensional measurement device 101, the light source unit 102 is constituted using the S-iPMSEL 1 configured to have about the size of a needle tip, so that it is possible to reduce the size of the entire device, and to achieve the expansion of the application range of the device. In addition, in the three-dimensional measurement device 101, by using the S-iPMSEL 1 of M-point oscillation, it is possible to eliminate an output of 0-order light (a diffracted wave component which is not phase-modulated) different from the light image of a desired two-dimensional pattern. Thereby, it is possible to irradiate the object to be measured SA with the measurement light 105 having a pattern without noise or distortion caused by the 0-order light, and to achieve an improvement in the accuracy of measurement.
First, the S-iPMSEL 1 of M-point oscillation will be described.
The S-iPMSEL 1 is a laser light source that forms standing waves in an XY in-plane direction and outputs phase-controlled plane waves in a Z-axis direction. The S-iPMSEL 1 outputs a light image having an arbitrary two-dimensional shape including a direction perpendicular to a main surface 10a of a semiconductor substrate 10 (that is, the Z-axis direction), a direction inclined with respect to the main surface, or both directions.
As shown in
The S-iPMSEL 1 further includes a phase modulation layer 15 which is the optically coupled to active layer 12. In the present embodiment, the phase modulation layer 15 is provided between the active layer 12 and the cladding layer 13. The thickness direction of the phase modulation layer 15 coincides with the Z-axis direction. The phase modulation layer 15 may be provided between the cladding layer 11 and the active layer 12. A light guide layer may be provided as necessary in at least one location between the active layer 12 and the cladding layer 13 or between the active layer 12 and the cladding layer 11. The light guide layer may include a carrier barrier layer for efficiently confining carriers in the active layer 12.
The phase modulation layer 15 is configured to include a fundamental layer 15a which is formed of a medium having a first refractive index and a plurality of different refractive index regions 15b which are formed of a medium having a second refractive index different from the refractive index of the medium having the first refractive index and are present within the fundamental layer 15a. The plurality of different refractive index regions 15b include an approximately periodic structure. In a case where the equivalent refractive index of a mode is set to n, a wavelength λ0 (=√2)a×n; a is a lattice spacing) selected by the phase modulation layer 15 is included in the emission wavelength range of the active layer 12. The phase modulation layer 15 can be configured to select a band edge wavelength in the vicinity of the wavelength λ0 out of the emission wavelengths of the active layer 12 and to output it to the outside. A laser beam that enters the phase modulation layer 15 forms a predetermined mode according to the arrangement of the different refractive index regions 15b within the phase modulation layer 15, and is emitted from the surface of the S-iPMSEL 1 to the outside as a laser beam having a desired pattern.
The S-iPMSEL 1 further includes an electrode 16 provided on the contact layer 14 and an electrode 17 provided on a rear surface 10b of the semiconductor substrate 10. The electrode 16 is in ohmic contact with the contact layer 14, and the electrode 17 is in ohmic contact with the semiconductor substrate 10. The electrode 17 has an opening 17a. The electrode 16 is provided in the central region of the contact layer 14. Portions on the contact layer 14 other than the electrode 16 are covered with a protective film 18 (see
In the S-iPMSEL 1, when a driving current is supplied between the electrode 16 and the electrode 17, the recombination of electrons and holes occurs within the active layer 12, and the active layer 12 emits light. The electrons, holes, and light generated in the active layer 12 which contribute to this light emission are efficiently trapped between the cladding layer 11 and the cladding layer 13.
The light emitted from the active layer 12 enters the phase modulation layer 15, and forms a predetermined mode according to a lattice structure inside the phase modulation layer 15. The laser beam emitted from the phase modulation layer 15 is directly output from the rear surface 10b through the opening 17a to the outside of the S-iPMSEL 1. Alternatively, the laser beam emitted from the phase modulation layer 15 is reflected from the electrode 16, and then is output from the rear surface 10b through the opening 17a to the outside of the S-iPMSEL 1. In this case, signal light (the measurement light 105) included in the laser beam is emitted in an arbitrary two-dimensional direction including a direction perpendicular to the main surface 10a or a direction inclined with respect to this direction. A desired light image is formed by this signal light. The signal light is mainly 1-order light and −1-order light of the laser beam. The 0-order light of the laser beam is not output from the phase modulation layer 15 of the present embodiment.
The ratio of an area S of the different refractive index region 15b to one unit configuration region R is referred to as a filling factor (FF). In a case where the lattice spacing of the square lattice is set to a, the filling factor FF of the different refractive index region 15b is given as S/a2. S is the area of the different refractive index region 15b in the XY plane. For example, in a case where the shape of the different refractive index region 15b is perfectly circular, the filling factor FF is given as S=π(d/2)2 using the diameter d of a perfect circle. In a case where the shape of the different refractive index region 15b is square, the filling factor FF is given as S=LA2 using the length LA of one side having a square shape.
As shown in
The light image of the output beam pattern of the S-iPMSEL 1 includes at least one of a spot, a dot, a straight line, a cross, a line drawing, a lattice pattern, a photograph, a stripe-like pattern, computer graphics (CG), and text. In order to obtain a desired light image, the rotation angle distribution φ(x, y) of the different refractive index region 15b in the phase modulation layer 15 is determined by the following procedure.
As a first precondition, in the XYZ orthogonal coordinate system defined by the Z axis coinciding with a normal direction and the X-Y plane coinciding with one surface of the phase modulation layer 15 including the plurality of different refractive index regions 15b, the virtual square lattice constituted by M1 (an integer equal to or greater than 1)×N1 (an integer equal to or greater than 1) unit configuration regions R having a square shape is set on the X-Y plane.
As a second precondition, as shown in
When a beam pattern equivalent to a light image which is output from the S-iPMSEL 1 is defined as a set of bright spots toward a direction specified by the angles θtilt and θrot, the angles θtilt and θrot are assumed to be converted into a coordinate value kx on a Kx axis corresponding to the X axis which is a normalized wavenumber defined in the following Expression (4) and a coordinate value ky on a Ky axis corresponding to the Y axis and orthogonal to the Kx axis which is a normalized wavenumber defined in the following Expression (5). The normalized wavenumber is a wavenumber in which a wavenumber 2π/a equivalent to the lattice spacing of the virtual square lattice is standardized as 1.0. In this case, in a wavenumber space which is defined by the Kx axis and the Ky axis, specific wavenumber ranges including a beam pattern equivalent to a light image are each constituted by M2 (an integer equal to or greater than 1)×N2 (an integer equal to or greater than 1) image regions FR having a square shape. The integer M2 does not have to coincide with the integer M1. Similarly, the integer N2 does not have to coincide with the integer N1. Expressions (4) and (5) are disclosed in, for example, Y. Kurosaka et al., “Effects of non-lasing band in two-dimensionalphotonic-crystal lasers clarified using omnidirectional band structure,” Opt. Express 20, 21773-21783 (2012).
a: the lattice constant of the virtual square lattice
λ: the oscillation wavelength of the S-iPMSEL 1
As a third precondition, in the wavenumber space, a complex amplitude F(x, y) obtained by performing a two-dimensional inverse discrete Fourier transform on each image region FR(kx, ky) specified by a coordinate component kx (an integer between 0 and M2−1) in a Kx-axis direction and a coordinate component ky (an integer between 0 and N2−1) in a Ky-axis direction into the unit configuration region R(x, y) on the X-Y plane specified by a coordinate component x (an integer between 0 and M1−1) in an X-axis direction and a coordinate component y (an integer between 0 and N1−1) in a Y-axis direction is given by the following Expression (6) with j as an imaginary unit. The complex amplitude F(x, y) is defined by the following Expression (7) when the amplitude term is A(x, y) and the phase term is P(x, y). As a fourth precondition, the unit configuration region R(x, y) is defined by an s axis and a t axis which are parallel to the X axis and the Y axis, respectively, and are orthogonal to each other at the lattice point O(x, y) that is the center of the unit configuration region R(x, y).
Under the first to fourth preconditions, the phase modulation layer 15 is configured to satisfy the following fifth condition and sixth condition. That is, the fifth condition is satisfied by the center of gravity G being disposed away from the lattice point O(x, y) within the unit configuration region R(x, y). The sixth condition is satisfied by a corresponding different refractive index region 15b being disposed within the unit configuration region R(x, y) so that an angle φ(x, y) between the s axis and a segment that links the lattice point O(x, y) to the center of gravity G corresponding thereto satisfies the following relation in a state where a segment length r2(x, y) from the lattice point O(x, y) to the center of gravity G corresponding thereto is set to a common value in each of M1×N1 unit configuration regions R.
φ(x,y)=C×P(x,y)+B
C: a proportionality constant, for example, 180°/π
B: an arbitrary constant, for example, 0
Next, the M-point oscillation of the S-iPMSEL 1 will be described. For the M-point oscillation of the S-iPMSEL 1, it is only required that the lattice spacing a of the virtual square lattice, the emission wavelength) of the active layer 12, and the equivalent refractive index n of a mode satisfy the condition of λ=(√2)n×a.
The shape and magnitude of the wavenumber spread SP are the same as those in the case of the above-described Γ-point oscillation. In the S-iPMSEL 1 of M-point oscillation, the magnitude of the in-plane wavenumber vectors K1 to K4 (that is, the magnitude of standing waves in an in-plane direction) is smaller than the magnitude of the fundamental reciprocal lattice vector B1. Therefore, since the vector sum of the in-plane wavenumber vectors K1 to K4 and the fundamental reciprocal lattice vector B1 is not set to 0 and the wavenumber in an in-plane direction cannot be set to 0 due to diffraction, diffraction in a direction perpendicular to the plane (the Z-axis direction) does not occur. As it is, in the S-iPMSEL 1 of M-point oscillation, 0-order light in the direction perpendicular to the plane (the Z-axis direction), and 1-order light and −1-order light in a direction inclined with respect to the Z-axis direction are not output.
In the present embodiment, the following scheme is performed on the phase modulation layer 15 in the S-iPMSEL 1 of M-point oscillation, and thus some of the 1-order light and the −1-order light can be output without outputting the 0-order light. Specifically, as shown in
The in-plane wavenumber vectors K1 to K4 shown by broken lines in
Subsequently, the magnitude and direction of the diffraction vector V for causing at least one of the in-plane wavenumber vectors K1 to K4 to fall within the light line LL will be examined. The following Expressions (8) to (11) represent the in-plane wavenumber vectors K1 to K4 before the diffraction vector V is added.
The spreads Δkx and Δky of the wavenumber vector satisfy the following Expressions (12) and (13), respectively. The maximum value Δkxmax of spread of the in-plane wavenumber vector in the x-axis direction and the maximum value Δkymax of spread thereof in the y-axis direction are defined by the angle spread of the light image of a design.
Δkxmax≤Δkx≤ΔKxmax (12)
Δkymax≤Δky≤Δkymax (13)
When the diffraction vector V is represented as in the following Expression (14), the in-plane wavenumber vectors K1 to K4 after the diffraction vector V is added become the following Expressions (15) to (18).
Considering that any of the wavenumber vectors K1 to K4 falls within the light line LL in Expressions (15) to (18), the relation of the following Expression (19) is established.
That is, any of the wavenumber vectors K1 to K4 falls within the light line LL when the diffraction vector V satisfying Expression (19) is added, and some of the 1-order light and the −1-order light is output.
The magnitude (radius) of the light line LL is set to 2π/λ for the following reason.
In
As an example of a specific method of adding the diffraction vector V to the in-plane wavenumber vectors K1 to K4, a method of superimposing a rotation angle distribution φ2(x, y) (second phase distribution) irrelevant to the light image on a rotation angle distribution φ1(x, y) (first phase distribution) which is a phase distribution according to the light image can be considered. In this case, the rotation angle distribution φ(x, y) of the phase modulation layer 15 is represented as φ(x, y)=φ1(x, y)+φ2(x, y). Here, φ1(x, y) is equivalent to the phase of a complex amplitude when a Fourier transform is performed on the light image as described above. In addition, φ2(x, y) is a rotation angle distribution for adding the diffraction vector V satisfying Expression (19) stated above.
In the above embodiment, in a case where the wavenumber spread based on the angle spread of the light image is included in a circle with a radius Δk centering on a certain point in the wavenumber space, the following can also be considered simply. The diffraction vector V is added to the in-plane wavenumber vectors K1 to K4 in four directions, and thus the magnitude of at least one of the in-plane wavenumber vectors K1 to K4 in four directions is made smaller than 2π/λ (the light line LL). This may mean that by adding the diffraction vector V to vectors obtained by excluding the wavenumber spread Δk from the in-plane wavenumber vectors K1 to K4 in four directions, the magnitude of at least one of the in-plane wavenumber vectors K1 to K4 in four directions is made smaller than a value {(2π/λ)−Δk} obtained by subtracting the wavenumber spread Δk from 2π/λ.
In the present embodiment, the magnitude and direction of the diffraction vector V for causing at least one of the in-plane wavenumber vectors K1 to K4 to fall within the region LL2 will be described. The following Expressions (20) to (23) represent the in-plane wavenumber vectors K1 to K4 before the diffraction vector V is added.
Here, when the diffraction vector V is represented as in Expression (14) stated above, the in-plane wavenumber vectors K1 to K4 after the diffraction vector V is added become the following Expressions (24) to (27).
Considering that any of the in-plane wavenumber vectors K1 to K4 falls within the region LL2 in Expressions (24) to (27), the relation of the following Expression (28) is established. That is, any of the in-plane wavenumber vectors K1 to K4 excluding the wavenumber spread Δk falls within the region LL2 by adding the diffraction vector V satisfying Expression (28). Even in such a case, some of the 1-order light and the −1-order light can be output without outputting the 0-order light.
The angle of inclination θ is constant within the phase modulation layer 15B. The angle of inclination θ satisfies 0°<θ<90°, and the relation of θ=45° is established in an example. Alternatively, the angle of inclination θ satisfies 180°<θ<270°, and the relation of θ=225° is established in an example. In a case where the angle of inclination θ satisfies 0°<θ<90° or 180°<θ<270°, the straight line D extends from the first quadrant of the coordinate plane defined by the X axis and the Y axis to the third quadrant thereof. The angle of inclination θ satisfies 90°<θ<180°, and the relation of θ=135° is established in an example. Alternatively, the angle of inclination θ satisfies 270°<θ<360°, and the relation of θ=315° is established in an example. In a case where the angle of inclination θ satisfies 90°<θ<180° or 270°<θ<360°, the straight line D extends from the second quadrant of the coordinate plane defined by the X axis and the Y axis to the fourth quadrant thereof. In this manner, the angle of inclination θ is an angle excluding 0°, 90°, 180° and 270°.
Here, a distance between the lattice point O and the center of gravity G is defined as r(x, y). Here, x is the position of an x-th lattice point on the X axis, and y is the position of a y-th lattice point on the Y axis. In a case where the distance r(x, y) is a positive value, the center of gravity G is located at the first quadrant (or the second quadrant). In a case where the distance r(x, y) is a negative value, the center of gravity G is located at the third quadrant (or the fourth quadrant). In a case where the distance r(x, y) is 0, the lattice point O and the center of gravity G coincide with each other. The angle of inclination is preferably 45°, 135°, 225°, or 275°. At these angles of inclination, since only two of four wavenumber vectors (for example, in-plane wavenumber vectors (±π/a, ±π/a)) forming M-point standing waves are phase-modulated, and the other two are not phase-modulated, stable standing waves can be formed.
The distance r(x, y) between the center of gravity G of each different refractive index region and the lattice point O corresponding to each unit configuration region R is individually set for each different refractive index region 15b in accordance with a phase pattern corresponding to a desired light image. The phase pattern, that is, the distribution of the distances r(x, y) has a specific value for each position which is determined by the values of x and y, but is not necessarily represented by a specific function. The distribution of the distances r(x, y) is determined from a phase distribution extracted in a complex amplitude distribution obtained by performing an inverse Fourier transform on a desired light image.
As shown in
When the lattice spacing of the virtual square lattice is set to a, the maximum value R0 of r(x, y) is set to be, for example, in the range of the following Expression (29). When the complex amplitude distribution is obtained from the desired light image, the reproducibility of a beam pattern can be improved by applying an iterative algorithm such as a Gerchberg-Saxton (GS) method which is generally used during the calculation of hologram generation.
In the present embodiment, a desired light image can be obtained by determining the distribution of the distance r(x, y) between the different refractive index regions 15b of the phase modulation layer 15. Under the same first to fourth preconditions as in the above-described embodiment, the phase modulation layer 15 is configured to satisfy the following conditions. That is, a corresponding different refractive index region 15b is disposed within the unit configuration region R(x, y) so that the distance r(x, y) from the lattice point O(x, y) to the center of gravity G of the corresponding different refractive index region 15b satisfies the following relation.
r(x,y)=C×(P(x,y)−P0)
C: a proportionality constant, for example, R0/π
P0: an arbitrary constant, for example, 0
The distance r(x, y) is set to 0 in a case where the phase P(x, y) at certain coordinates (x, y) is P0. The distance r(x, y) is set to the maximum value R0 in a case where the phase P(x, y) is π+P0. The distance r(x, y) is set to the minimum value −R0 in a case where the phase P(x, y) is −π+P0. In order to obtain a desired light image, it is only required that an inverse Fourier transform is performed on the light image, and that the distribution of the distance r(x, y) according to the phase P(x, y) of its complex amplitude is given to the plurality of different refractive index regions 15b. The phase P(x, y) and the distance r(x, y) may be proportional to each other.
In the present embodiment, similarly to the above-described embodiment, the lattice spacing a of the virtual square lattice and the emission wavelength λ of the active layer 12 also satisfy the conditions of M-point oscillation. In considering a reciprocal lattice space in the phase modulation layer 15, the magnitude of at least one of in-plane wavenumber vectors in four directions including wavenumber spread according to the distribution of the distances r(x, y) can be made smaller than 2π/λ (the light line).
In the present embodiment, the following scheme is performed on the phase modulation layer 15 in the S-iPMSEL 1 of M-point oscillation, and thus some of the 1-order light and the −1-order light are output without outputting the 0-order light into the light line. Specifically, as shown in
As shown in
As an example of a specific method of adding the diffraction vector V to the in-plane wavenumber vectors K1 to K4, a method of superimposing a distance distribution r2(x, y) (second phase distribution) irrelevant to the light image on a distance distribution r1(x, y) (first phase distribution) which is a phase distribution according to the light image can be considered. In this case, the distance distribution r(x, y) of the phase modulation layer 15 is represented as follows.
r(x,y)=r1(x,y)+r2(x,y)
Here, r1(x, y) is equivalent to the phase of a complex amplitude when a Fourier transform is performed on the light image as described above. In addition, r2(x, y) is a distance distribution for adding the diffraction vector V satisfying Expression (19) or (28) stated above. A specific example of the distance distribution r2(x, y) is the same as that in
In the present embodiment, a predetermined pattern of the measurement light 105 is a periodic pattern W1 consisting of any of a dot pattern, a stripe pattern, and a lattice pattern. In the example of
The image capture unit 103 is constituted by a device sensitive to the measurement light 105 which is emitted from the light source unit 102. Examples of the image capture unit 103 capable of being used include a charge coupled device (CCD) camera, a complementary MOS (CMOS) camera, other two-dimensional image sensors, and the like. The image capture unit 103 captures an image of the object to be measured SA in a state of being irradiated with the measurement light 105, and outputs an output signal indicating results of image capture to the measurement unit 104.
The measurement unit 104 is constituted by, for example, a computer system configured to include a processor, a memory, and the like. The measurement unit 104 executes various control functions using the processor. Examples of the computer system include a personal computer, a microcomputer, a cloud server, a smart device (such as a smartphone or a tablet terminal), and the like. The measurement unit 104 may be constituted by a programmable logic controller (PLC), or may be constituted by an integrated circuit such as a field-programmable gate array (FPGA).
The measurement unit 104 is communicably connected to the image capture unit 103, and performs the three-dimensional shape measurement of the object to be measured SA on the basis of an output signal which is input from the image capture unit 103. In the present embodiment, the measurement unit 104 measures the three-dimensional shape of the object to be measured SA on the basis of an active stereo method using the periodic pattern W1. Here, as an example, a three-dimensional shape measurement method based on the principle of parallel coordinate stereo is shown. In a case where a disparity arising from a pair of image capture units 103 and 103 is set to D, a distance between the pair of image capture units 103 and 103 is set to b, a focal length of the pair of image capture units 103 and 103 is set to f, and a distance from the pair of image capture units 103 and 103 to the object to be measured SA is set to Z, the disparity D is given by D=(f/Z)b. Since the distance b between the image capture units 103 and 103 and the focal length of image capture units 103 and 103 are both unique values, the distance Z to the object to be measured SA can be obtained by obtaining the disparity D.
In the present embodiment, the object to be measured SA is irradiated with the measurement light 105 having the periodic pattern W1. In this case, the same point of the periodic pattern W1 of which an image is captured by each of the image capture units 103 and 103 can be discriminated by the measurement unit 104. In addition, it is possible to perform three-dimensional measurement using an image having little texture and three-dimensional measurement in a dark portion which are a problem in a passive stereo method. By using the periodic pattern W1 represented by periodic dots, it is possible to suppress a bias in the pattern density of the measurement light 105, and to suppress non-uniformity of the accuracy of measurement caused by the position of illumination with the measurement light 105.
In the present embodiment, for example, a random dot pattern W2 as shown in
In this case, since the random dot pattern W2 has a pseudo periodicity, it is possible to suppress a bias in the pattern density of the measurement light 105, and to suppress non-uniformity of the accuracy of measurement caused by the position of illumination with the measurement light 105. In addition, by using the random dot pattern W2 instead of a periodic dot pattern, it is possible to suppress misrecognition when the same point of the dot pattern is imaged by a different image capture unit 103. Therefore, it is possible to improve the accuracy of measurement of the disparity D, and to improve the accuracy of three-dimensional shape measurement.
In the present embodiment, a pattern W3 having a uniform density as shown in
In the example of
In the gray code, a Hamming distance between adjacent pixels is set to 1. The term “Hamming distance” refers to the number of digits having different values located at corresponding positions when two values having the same number of digits are compared with each other. Therefore, in the gray code having a Hamming distance of 1, an error falls within 1 even in a case where a bit error occurs when a bit string is restored. In a simple binary code, an error in a position in a case where an error occurs in a high-order bit becomes larger, but in the gray code, a code resistant to noise is obtained.
In a case where the gray code is used, it is only required that the number of light source units 102 arranged is the number of patterns corresponding to each digit of the binary number. That is, the gray code patterns W4a to W4d are constituted by a plurality of stripe-like patterns in which 0 and 1 of each pixel of each digit from the most significant bit to the least significant bit are set to be different from each other. In a case where the image capture unit 103 performs image capture while sequentially switching each pattern from the gray code pattern W4a of the most significant bit to the gray code pattern W4d of the least significant bit in the light source unit 102, a value X is obtained by image capture Mx times. It can be understood that the position of an X-th pixel is measured on the basis of this value X. Similarly, in the Y direction, a value Y is obtained by image capture My times by the image capture unit 103 performing image capture while sequentially switching the gray code patterns W4a to W4d. It can be understood that the position of a Y-th pixel is measured on the basis of this value Y.
In order to avoid misrecognition due to the color of the surface of the object to be measured SA, the gray code patterns W4a to W4d shown in
In the present embodiment, for example, as shown in
Here, a case where four sinusoidal stripe patterns W5 having different phase shifts are used will be illustrated. In a case where the light intensities of the measurement light 105 having four sinusoidal stripe patterns W5 are set to I0 to I3, respectively, and the pixels of the image capture unit 103 are set to (x, y), the light intensities I0 to 13 on the surface of the object to be measured SA are represented by the following Expressions (30) to (33). Ia(x, y) is the amplitude of a lattice pattern, Ib(x, y) is a background intensity, and θ(x, y) is an initial phase.
I0=Ia(x,y)cos{θ(x,y)}+Ib(x,y) (30)
I1=Ia(x,y)cos{θ(x,y)+π/2}+Ib(x,y) (31)
I2=Ia(x,y)cos{θ(x,y)+π}+Ib(x,y) (32)
I3=Ia(x,y)cos{θ(x,y)+3π/2}+Ib(x,y) (33)
The initial phase θ can be obtained by tan θ=−(I3−I1)/(I2−I0). In a case where the phase shift number of the sinusoidal stripe pattern W5 is N, the initial phase θ can be obtained by the following Expression (34).
In a case where such a phase shift method is used, the measured phase is converted into height, so that it is possible to measure the height of the object to be measured SA at an interval smaller than the pitch of the sinusoidal stripe pattern W5. In the configuration of the three-dimensional measurement device 101B, the light source units 102 may be arrayed in a direction parallel to the stripe in the sinusoidal stripe pattern W5. In this case, it is possible to eliminate a phase shift caused by the positional shift of the light source unit 102, and to eliminate a shift of the initial phase in each of the plurality of the sinusoidal stripe patterns W5.
In the present embodiment, the light source units 102 may be arrayed in biaxial directions orthogonal to each other. In this case, by switching on/off of the measurement light 105 for each axis, the height profile of the object to be measured SA can be acquired on two axes. For example, as shown in
In the present embodiment, the plurality of light source units 102 may output the sinusoidal stripe patterns W5 having different periods from each other. In the above-described phase shift method, the discontinuity in a phase of 2π has arisen as a problem. On the other hand, in a case where the sinusoidal stripe patterns W5 having different periods from each other are used, for example, as shown in
In the present embodiment, the measurement unit 104 may measure the three-dimensional shape of the object to be measured SA on the basis of a sampling moire method using the sinusoidal stripe pattern W5. The sampling moire method uses the deformation of the lattice of the sinusoidal stripe pattern W5 projected onto the surface of the object to be measured SA in accordance with the height of the object to be measured SA. Here, in an image captured by the image capture unit 103, the stripe interval of one sinusoidal pattern of the phase shift number N at the height of the reference surface is adjusted in advance so as to correspond to N pixels of a camera. Here, the phase shift number N is set to 4. Irradiation with one sinusoidal pattern is performed, and the pixels of the image capture unit 103 are sampled for every N=4 pixels, so that four patterns P1 to P4 imaged for every four pixels (with three pixels between imaging pixels thinned out) are obtained as shown in
In the present embodiment, for example, as shown in
In the present embodiment, both the sinusoidal stripe pattern W5 and the gray code pattern W4 may be used. In this case, the measurement unit 104 measures the three-dimensional shape of the object to be measured SA on the basis of a phase shift method using the sinusoidal stripe pattern W5 and a triangulation method using the gray code pattern W4. In this case, a pixel level can be measured by the triangulation method using the gray code pattern W4, and a sub-pixel level can be measured by the phase shift method using the sinusoidal stripe pattern W5. In addition, by using the gray code, it is possible to improve the discontinuity in a phase of 2π, and to realize high-accuracy three-dimensional measurement using a small number of patterns.
In the present embodiment, the measured phase is converted into height, so that it is possible to measure the height of the object to be measured SA at an interval smaller than the pitch of the sinusoidal stripe pattern W5. In addition, by also using an active stereo method using the plurality of image capture units 103, it is possible to improve the discontinuity in a phase of 2π, and to realize high-accuracy three-dimensional measurement using a small number of patterns. In a case where the active stereo method is used, the method may be used while switching the above-described dot patterns.
In the S-iPMSEL 1, the −1-order light symmetric with respect to the normal line of a light emission surface is output in addition to the designed 1-order light (see
A
1
=a
1 cos(Kx+θ)exp{j(ωt−kxx−kyy−kzz)} (35)
A
−1
=a
−1 cos(Kx+θ)exp{j(ωt+kxx+kyy−kzz)} (36)
In this case, a composite amplitude A can be obtained by the following Expression (37) on the basis of the amplitudes of the 1-order light and the −1-order light.
Λ=cos(Kx+θ){a1 exp[j{ωt−kzz−(kxx+kyy)}]+a−1 exp[j{ωt−kzz+(kxx+kyy)}]} (37)
Since the actual light intensity is proportional to the square of the composite amplitude A, it can be obtained by the following Expression (38).
I=AĀ=cos2(Kx+θ){a12+a−12+2a1a−1 cos(kxx+kyy)} (38)
The period of a fundamental light wave is sufficiently smaller than the period of the sine wave (k<<Λ). Therefore, the wavenumber k of the fundamental light wave is sufficiently larger than the wavenumber K of the stripe of the sine wave (k>>K). Therefore, in Expression (38), it can be considered that terms corresponding to a change in k may be averaged. In this case, the intensity I of light obtained by superimposing the ±1-order light can be approximated by the following Expression (39).
From these expressions, in a case where the phase shift of the sinusoidal stripe pattern W5 is performed, it can be understood that the stripe can be shifted with the sine wave shape maintained even when beams of the ±1-order light overlap each other. In addition, in a sinusoidal pattern in which beams of the ±1-order light overlap each other, it can be understood that an interval between the stripes having light intensity (square of the sum of the amplitudes of the ±1-order light) actually obtained with respect to a design pattern (1-order light amplitude) is halved, and that the phase shift amount is doubled for one period. Therefore, in a case where a phase shift of π/2 is realized, for example, in light intensity obtained finally, the design value of the phase shift amount of the 1-order light amplitude is preferably set to π/4. The same is true of the sinusoidal matrix pattern W6 having a period in biaxial directions.
As shown in
In a case where the 1-order light and the −1-order light are asymmetric patterns, there is a problem in that a designed pattern is not obtained when the 1-order light and the −1-order light overlap each other. An example of such a problem is that the structure of the 1-order light per bright spot has asymmetric spread and a design pattern becomes unclear. In this case, it is only required that the emission region of the 1-order light is limited to a region in which a solid angle is π. For example, in a case where the emission region of the 1-order light is limited to the first quadrant and the second quadrant, the emission region of the −1-order light becomes the fourth quadrant and the third quadrant, and thus it is possible to avoid the 1-order light and the −1-order light overlapping each other. This makes it possible to suppress the spread of the bright spot due to overlap of the 1-order light and −1-order light. In a case where the lattice pattern is shifted by the phase shift method, the shift direction of the −1-order light is reversed to the shift direction of the 1-order light. Therefore, it is preferable to reverse a phase obtained by a phase shift calculation in accordance with each emission region of the 1-order light and the −1-order light. On the other hand, in a case where an image having little noise is obtained without superimposing the 1-order light and the −1-order light even when the above problem not occur, each of the projection regions of the ±1-order light may be used without superimposition thereof
The light source units 102 and the image capture units 103 are arranged at regular intervals (here, a phase angle of 45°) in a circumferential direction on a circumferential surface 111a of the cylindrical three-dimensional object 111. In the example of
According to such a configuration, the three-dimensional objects 111 and 121 on which the light source unit 102 and the image capture unit 103 are disposed can be constituted as a probe of the three-dimensional measurement device 101. By using such three-dimensional objects 111 and 121, the sets of the light source units 102 and the image capture units 103 can be directed in different directions from each other, and thus it is possible to perform the three-dimensional shape measurement of the object to be measured SA at a wide solid angle. In addition, it is easy to apply the three-dimensional measurement device in applications such as, for example, mouth inspection, endoscopic inspection, inspection of narrow places such as the inside of a tube or a gap between walls, or inspection of household furniture, a device, or the like from below the floor, and to construct a handy-type three-dimensional measurement device.
The sinusoidal stripe pattern W5 is shown in
In the example of
In the examples of
In a case where the stripe pattern is brought closer to a sinusoidal shape, for example, as shown in
In
In a case where a meta-lens is used, a resonant-type meta-lens structure 53A, for example, as shown in
As shown in
Number | Date | Country | Kind |
---|---|---|---|
2020-028446 | Feb 2020 | JP | national |
2020-142715 | Aug 2020 | JP | national |
2020-198371 | Nov 2020 | JP | national |