Three-dimensional measurement device

The device addresses inaccuracies in stripe number identification by using a striped pattern with directional brightness changes and a consistent stripe number identifying pattern, improving the accuracy of three-dimensional shape measurements.

JP2024129318AActive Publication Date: 2024-09-27DENSO WAVE INC

Patent Information

Application Number
JP2023038443
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-13
Publication Date
2024-09-27
Estimated Expiration
2043-03-13

AI Technical Summary

Technical Problem

Existing three-dimensional measuring devices face inaccuracies in identifying stripe numbers due to incorrect fringe numbers near color transitions, leading to erroneous distance calculations.

Method used

A three-dimensional measuring device that projects a striped pattern with brightness changing in one direction and remaining constant in another, using a stripe number identifying pattern with consistent brightness changes to accurately determine fringe numbers based on luminance and phase values.

Benefits of technology

Improves the accuracy of fringe number identification by ensuring consistent brightness changes, reducing errors near color transitions, and enhancing the precision of three-dimensional shape measurements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024129318000001
    Figure 2024129318000001
Patent Text Reader

Abstract

To provide a configuration that identifies the stripe number of a predetermined stripe pattern for three-dimensional measurement, thereby improving the precision of stripe number identification.SOLUTION: A stripe pattern to be projected to a measurement object by a projection section is generated such that a plurality of stripe areas with a change of luminance in a lateral direction and without a change of luminance in a vertical direction are arranged in the lateral direction. A stripe number identification pattern NP to be projected to identify a stripe number by the projection section is generated to allow luminance to change at a fixed rate in the lateral direction and not to allow the luminance to change in the vertical direction. A measurement section identifies the stripe number, for each pixel, based on a phase value θ to be calculated in response to a three-dimensional shape of the measurement object from a captured image when the strip pattern is projected and also based on stripe luminance SL to be calculated from a captured image when the stripe number identification pattern NP is projected, and then measures the three-dimensional shape of the measurement object based on the stripe number and the phase value θ.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a three-dimensional measuring device for measuring the three-dimensional shape of a measurement object. [Background technology]

[0002] Conventionally, as a technology related to a three-dimensional measuring device that measures the three-dimensional shape of a measurement target, for example, a three-dimensional information input camera disclosed in the following Patent Document 1 is known. This three-dimensional information input camera is configured to obtain three-dimensional information of a subject based on a phase value calculated according to the three-dimensional shape of the subject from an image captured when stripe pattern light is projected and a so-called stripe number identified from an image captured when stripe specific light is projected. At this time, a gray code that functions as stripe specific light for identifying the stripe number is added to both the upper and lower ends of the stripe pattern light and projected from the stripe pattern projection unit together with the stripe pattern light. As a result, the stripe pattern light and the stripe specific light can be captured simultaneously, improving the accuracy of identifying the stripe number. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2000-287735 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, in a configuration in which stripe numbers are specified by projecting a gray code, which is generated so that the combination of white and black changes in a stripe region, as stripe-specifying light as in Patent Document 1, an incorrect stripe number may be specified for a pixel located near the boundary of the stripe region (the boundary between a light color region and a dark color region). If an incorrect stripe number is specified in this way, even if a correct phase value is obtained from the captured image when the stripe pattern is projected, an incorrect distance value is calculated, which makes it difficult to perform accurate three-dimensional measurement.

[0005] The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a configuration that can improve the accuracy of identifying stripe numbers by identifying the stripe numbers based on information equivalent to luminance values ​​and phase values ​​obtained from an image of a stripe number identifying pattern projected so that the luminance changes at a constant rate along the direction in which the stripe areas of a predetermined stripe pattern for three-dimensional measurement are arranged. [Means for solving the problem]

[0006] In order to achieve the above object, the invention described in claim 1 of the claims is as follows: a projection unit (20) that projects a predetermined stripe pattern (SP) onto a measurement object (R); an imaging unit (30) that images the measurement object onto which the predetermined stripe pattern is projected; a measurement unit (40) that measures a three-dimensional shape of the measurement object imaged by the imaging unit; A three-dimensional measuring device (10) comprising: the predetermined stripe pattern is generated such that a plurality of stripe regions, each of which has a luminance that changes in a first direction and a luminance that does not change in a second direction perpendicular to the first direction, are arranged along the first direction; The projection unit further projects a stripe number identifying pattern (NP) for identifying a stripe number (SN) that distinguishes the stripe region from other stripe regions; the stripe number specifying pattern is generated so that the luminance changes at a constant rate along the first direction and the luminance does not change along the second direction, The measurement unit identifies the stripe number for each pixel based on a phase value (θ) obtained from the captured image when the specified stripe pattern is projected according to the three-dimensional shape of the object to be measured and information (SL) equivalent to a luminance value obtained from the captured image when the stripe number identifying pattern is projected, and measures the three-dimensional shape of the object to be measured based on the stripe number and the phase value. The symbols in parentheses above indicate the corresponding relationship with the specific means described in the embodiments described later. Effect of the Invention

[0007] In the invention of claim 1, the predetermined stripe pattern projected by the projection unit onto the measurement object is generated such that a plurality of stripe regions whose luminance changes in a first direction and whose luminance does not change in a second direction perpendicular to the first direction are arranged along the first direction. Furthermore, the stripe number identification pattern projected by the projection unit to identify the stripe number is generated such that the luminance changes at a constant rate along the first direction and that the luminance does not change in the second direction. The measurement unit identifies the stripe number for each pixel based on a phase value calculated according to the three-dimensional shape of the measurement object from the captured image when the predetermined stripe pattern is projected and information corresponding to the luminance value obtained from the captured image when the stripe number identification pattern is projected, and measures the three-dimensional shape of the measurement object based on the stripe number and the phase value.

[0008] As a result, for example, when the stripe number identifying pattern is generated so as to be brighter at a constant rate along the first direction, the luminance value (hereinafter also referred to as stripe luminance) obtained from the captured image is larger for pixels onto which stripe regions with larger stripe numbers are projected, for stripe numbers that increase along the first direction. Therefore, when the stripe number identifying pattern is projected, the stripe luminance does not change significantly near the boundary of the stripe region, and the change in stripe luminance does not differ significantly between near the boundary and the center of the stripe region. In particular, when the stripe luminance increases (decreases) at a constant rate, the range of stripe luminance assumed for the pixel for which the phase value is obtained being in the k-th stripe region increases (decreases) stepwise for each stripe number. That is, the stripe number can be identified from the range of stripe luminance associated with each provisional stripe number from the phase value and the stripe luminance obtained when the stripe number identifying pattern is projected. Therefore, by setting the range of stripe luminance so as not to overlap with that of other stripe numbers, the stripe number can be identified with high accuracy without being aware of the position near the boundary or the center of the stripe region. Therefore, by identifying the stripe number based on information corresponding to the luminance value and the phase value obtained from an image of a stripe number identifying pattern projected so that the luminance changes at a constant rate along the direction in which the stripe areas of a specified stripe pattern for three-dimensional measurement are arranged, the accuracy of identifying the stripe number can be improved.

[0009] In the invention of claim 2, the projection unit is configured to control the gradation of light according to the light emission time for each pixel within a unit time, and the imaging unit is equipped with an imaging element that outputs event data including two-dimensional point data that identifies the position of a pixel corresponding to a pixel that has experienced a change in brightness when light is received, and the event camera is capable of generating an image from the event data output from the imaging element.

[0010] The event camera is a brightness value difference output camera developed based on the retinal structure of living organisms, and is configured to detect brightness changes for each pixel and output the coordinates, time, and polarity of the brightness change. Therefore, unlike conventional frame cameras, it does not output pixel information without brightness changes, i.e., redundant data, and can acquire data related to brightness changes at higher speeds. In an event camera configured in this way, when a brightness change that brightens occurs on a pixel-by-pixel basis, positive polarity (positive brightness change) event data is output, and when the light goes out, a brightness change that darkens occurs and negative polarity (negative brightness change) event data is output. In other words, the time difference between the output timing of the positive polarity event data and the output timing of the negative polarity event data corresponds to the brightness value, and since this time difference can be measured with higher accuracy, the accuracy of identifying stripe numbers can be improved.

[0011] In the invention of claim 3, the projection unit sets the unit time of the stripe number identifying pattern to be longer than the unit time of the predetermined stripe pattern. Therefore, compared to the case where the unit time of the stripe number identifying pattern is the same as the unit time of the predetermined stripe pattern, the time difference between the output timing of positive polarity event data and the output timing of negative polarity event data can be made longer even for pixels with the same luminance value. This increases the resolution of the time difference measurement, thereby further improving the accuracy of identifying the stripe number.

[0012] In the invention of claim 4, the predetermined stripe pattern is generated so that the luminance change along the first direction is the same in all stripe regions, and the measurement unit measures the three-dimensional shape of the measurement object by a light-section method based on the positions of pixels identified from event data output during the same time period when the measurement object is imaged within a unit time.

[0013] As a result, a bright line connecting pixel positions identified from event data output during the same time period is treated as the position of a pixel irradiated with linear light in the light-section method, thereby enabling three-dimensional measurement using the light-section method. In particular, since the bright line is obtained for each stripe region, the more stripe regions there are in a given stripe pattern, the shorter the imaging time, i.e., the processing time required for three-dimensional measurement processing. In this way, even if the number of stripe regions is increased to shorten the processing time, the stripe number can be accurately identified by using the stripe number identification pattern, so that it is possible to achieve both a shortened processing time and high accuracy in three-dimensional measurement. [Brief description of the drawings]

[0014] [Figure 1] 1 is a block diagram showing a schematic configuration of a three-dimensional measuring apparatus according to a first embodiment. [Diagram 2] FIG. 1 is an explanatory diagram illustrating a state in which a stripe pattern for a general phase shift method is projected onto a measurement object. [Diagram 3] FIG. 3(A) is an explanatory diagram explaining a stripe number identifying pattern, and FIG. 3(B) is an explanatory diagram explaining the relationship between the brightness value of the stripe number identifying pattern in FIG. 3(A) and pixels to the left and right. [Figure 4] FIG. 1 is an explanatory diagram for explaining three-dimensional measurement by a phase shift method. [Diagram 5] FIG. 5(A) is an explanatory diagram explaining the positional relationship between a conventional stripe number identifying pattern and stripe numbers, FIG. 5(B) is an explanatory diagram explaining the phase value obtained per stripe area, and FIG. 5(C) is an explanatory diagram explaining the stripe brightness and stripe brightness range obtained when projecting the stripe number identifying pattern of FIG. 5(A). [Figure 6] FIG. 6(A) is an explanatory diagram explaining the positional relationship between the stripe number identifying pattern and the stripe number in this embodiment, FIG. 6(B) is an explanatory diagram explaining the phase value obtained per stripe area, and FIG. 6(C) is an explanatory diagram explaining the stripe brightness and stripe brightness range obtained when projecting the stripe number identifying pattern of FIG. 6(A). [Figure 7]11A to 11C are explanatory diagrams illustrating specific examples of ideal fringe luminance and fringe luminance ranges obtained for each fringe number for each phase value. [Figure 8] FIG. 11 is an explanatory diagram illustrating the relationship between the time difference between the output timings of two event data and a luminance value in the second embodiment. [Figure 9] 13 is an explanatory diagram illustrating the relationship between a change in unit time of a stripe number identifying pattern and an event time difference in the third embodiment. FIG. [Figure 10] FIG. 10(A) is an explanatory diagram illustrating a stripe pattern in the fourth embodiment, and FIG. 10(B) is an explanatory diagram illustrating the relationship between the light emission time for projecting the stripe pattern of FIG. 10(A) and the position of pixels in the left-right direction. [Figure 11] 11A and 11B are explanatory diagrams illustrating captured images generated using event data output when the stripe pattern of FIG. 10 is projected onto a measurement object having a spherical surface, where FIG. 11A shows the state 10 μs after the start of projection of the stripe pattern of FIG. 10, FIG. 11B shows the state 20 μs after, and FIG. 11C shows the state 30 μs after. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] [First embodiment] Hereinafter, a first embodiment of a three-dimensional measuring device according to the present invention will be described with reference to the drawings. The three-dimensional measuring device 10 according to the present embodiment is a device for measuring the three-dimensional shape of a measurement object R, and is configured to include a control unit 11 for overall control, a projection unit 20 for projecting a predetermined stripe pattern (hereinafter also referred to as stripe pattern SP) for the phase shift method onto the measurement object R, an imaging unit 30 for capturing an image of the measurement object R onto which the stripe pattern SP is projected, and a measurement unit 40 for measuring the three-dimensional shape of the measurement object R from the captured image by the phase shift method, as shown in Figs. 1 and 2. The three-dimensional measuring device 10 configured in this manner measures the three-dimensional shape of the measurement object R, such as a workpiece, which is attached to the hand of a robot, for example, and moves relatively to the hand at high speed. Here, the relative movement refers to the relative movement between the movement of the three-dimensional measuring device 10 attached to the hand of the robot and the high-speed movement of the measurement object R. When the position of the three-dimensional measuring device 10 is fixed, the relative movement is the movement of the measurement object R.

[0016] For convenience, Fig. 2 shows a simplified stripe pattern SP with 13 stripe regions each consisting of a pair of light and dark parts. More specifically, since a typical stripe pattern is represented as a sine wave pattern, the light and dark parts of the stripe pattern SP have the same width, but for convenience, the dark parts are shown in Fig. 2 with smaller widths as lines. Also, the number of stripe regions is 13 or more in the embodiment, but is abbreviated to 13.

[0017] The control unit 11 is mainly composed of a microcomputer and has a CPU, a system bus, an input / output interface, etc., and constitutes an information processing device together with a storage unit consisting of a ROM, a RAM, a non-volatile memory, etc. In addition to programs related to robot control, the storage unit stores in advance programs related to control of the projection unit 20 and programs for executing control processing using the three-dimensional measurement results by the measurement unit 40, etc., which are executable by the control unit 11.

[0018] The projection unit 20 is a so-called DLP projector, and is controlled by the control unit 11 to project a stripe pattern SP and a stripe number identification pattern NP as described below by reflecting light from a light source with a DMD element. The DMD element is an array of fine mirrors corresponding to each pixel of an image projected on a screen, and is configured to turn on / off the light emitted to the screen by changing the angle of each mirror in microsecond units. Therefore, the state is switched to a light projection state by changing from reflection OFF to reflection ON, and the state is switched to an off state by changing from reflection ON to reflection OFF, on a mirror-by-mirror basis. That is, the projection unit 20 functions to project a stripe pattern SP, etc. by controlling the ON / OFF of the reflection of incident light by the DMD, which is an array of multiple mirrors, for each mirror by the control unit 11. Therefore, the gradation (brightness) of the reflected light is changed depending on the ratio of the time each mirror is turned on and off within a unit time, thereby making it possible to display gradations based on the image data of the image to be projected. In this embodiment, the projection unit 20 includes mirrors corresponding to k×l pixels (for example, 1140×912), with the upper left being (1, 1) and the lower right being (k, l).

[0019] In such a configuration, the longer the light emission time (the time from reflection ON to reflection OFF) of the single pulse light emitted once within the unit time secured for each light emission state, the brighter the light emission state becomes, so that the light emission state can be specified according to the light emission time. For example, when R (red), G (green), and B (blue) colors are prepared as light incident on the DMD element, an R light emission state in which R light is emitted by reflecting on a mirror, a G light emission state in which G light is emitted by reflecting on a mirror, and a B light emission state in which B light is emitted by reflecting on a mirror are repeated in a short predetermined cycle, and each light emission time is individually adjusted, so that a color image can be projected. For this reason, the control unit 11 functions to set the reflection ON / OFF timing within the unit time for each mirror according to the stripe pattern SP to be projected, the stripe number specifying pattern NP, etc.

[0020] The imaging unit 30 in this embodiment is a known camera (a so-called frame camera) in which solid-state imaging elements (light receiving elements) such as C-MOS and CCD are arranged two-dimensionally on the light receiving surface, and is configured to be able to generate an image using the output data from each imaging element.

[0021] The measurement unit 40 is controlled by the control unit 11 and measures the three-dimensional shape of the measurement object R by a phase shift method based on a plurality of images captured by the imaging unit 30 of the measurement object R in a state where a stripe pattern SP is projected from the projection unit 20 and an image captured by the imaging unit 30 of the measurement object R in a state where a stripe number identification pattern NP is projected from the projection unit 20.

[0022] In this embodiment, the stripe pattern SP projected from the projection unit 20 for the phase shift method is generated so that multiple stripe regions in which the luminance changes in a sine curve in the left-right direction (first direction) and the luminance does not change in the up-down direction (second direction perpendicular to the first direction) are arranged along the left-right direction. For this reason, a sine wave pattern specified by the luminance value I(x, y, n) of the following formula (1) is adopted as the stripe pattern SP. That is, when the number of phase shifts is N, the luminance value I(x, y, n) of N phase-shifted grid images (stripe images) is expressed by formula (1). I(x,y,n)=a(x,y)cos{θ(x,y)+2πn / N}+b(x,y) (1) Here, point (x, y) is a point in the grid image, a(x, y) is the brightness amplitude, b(x, y) is the background brightness, and θ(x, y) is a phase value equivalent to a value distorted according to the surface shape of the measurement object R in the grid where n=0, and can be obtained from the brightness values ​​I(x, y, n) of N grid images.

[0023] In this embodiment, in order to determine which stripe region the measured phase value θ belongs to, the projection unit 20 further projects a stripe number identifying pattern NP for identifying a stripe number SN that distinguishes the stripe region from other stripe regions, in accordance with the projection position of the stripe pattern SP (the position where N=0). As shown in Figs. 3(A) and (B), this stripe number identifying pattern NP is generated so that the luminance changes to become brighter at a constant rate along the left-right direction (first direction) and does not change along the up-down direction (second direction perpendicular to the first direction). For convenience of explanation, in Fig. 3(A), a dashed line is added to the outer edge of the stripe number identifying pattern NP, and in Fig. 3(B), the relationship between the luminance value of the stripe number identifying pattern NP and the pixels in the left-right direction is illustrated when the darkest left end is 0 and the brightest right end is 100.

[0024] For this reason, in the three-dimensional measurement process performed by the measurement unit 40, a stripe number SN is identified for each pixel based on a phase value θ calculated according to the three-dimensional shape of the measurement object R from the captured image when the stripe pattern SP is projected and a luminance value (hereinafter also referred to as stripe luminance SL) obtained from the captured image when the stripe number identifying pattern NP is projected. Then, based on the stripe number SN thus determined and the phase value θ calculated as described above, the distance z of each point (x, y) of the captured measurement object R is measured, and the three-dimensional shape of the measurement object R can be measured.

[0025] For example, when determining the distance z of point P1 in Fig. 4, a stripe number SN is identified based on a phase value θ (see symbol θ1 in Fig. 4) of point P1 determined from N captured images of the imaging unit 30 in a state in which the stripe pattern SP is shifted and projected from the projection unit 20 N times, and a stripe luminance SL determined from an image captured when the stripe number identifying pattern NP is projected, and from this stripe number SN and phase value θ1, the angle θp1 at the projection unit 20 and the angle θc1 at the imaging unit 30 shown in Fig. 4 can be determined. When the angle θp1 at the projection unit 20 and the angle θc1 at the imaging unit 30 are determined in this manner, the distance z of point P1 can be determined by triangulation since the distance (parallax L) between the projection unit 20 and the imaging unit 30 is known. Similarly, the distance z of point P2 in Fig. 4 can be determined by identifying the stripe number SN based on the phase value θ (see symbol θ2 in Fig. 4) of point P2 determined when projecting the stripe pattern SP and the stripe luminance SL determined when projecting the stripe number determining pattern NP, determining the angle θp2 at the projection unit 20 and the angle θc2 at the imaging unit 30 from this stripe number SN and phase value θ2, and then performing triangulation based on these angles θp2 and θc2. By performing this calculation over the entire measurement area, three-dimensional measurement can be performed.

[0026] Here, the reason for identifying the fringe number SN based on the phase value θ and the fringe brightness SL as described above will be explained. For example, assume that a conventional stripe number identifying pattern NPo as shown in Fig. 5(A) is projected onto a measurement target object where a phase value θ as shown in Fig. 5(B) is obtained for each stripe area when a stripe pattern SP is projected. In this case, the stripe luminance SL obtained for each pixel when the stripe number identifying pattern NPo is projected increases stepwise for each stripe number as shown in Fig. 5(C), so that the stripe number to which the pixel belongs is identified depending on which stripe luminance range (ΔSL1 to ΔSL4) the obtained stripe luminance SL falls within. In Fig. 5 and Fig. 6 described later, the horizontal axis indicates pixels in the left and right directions, and the boundaries of the stripe areas are indicated by dashed lines.

[0027] In this case, for example, as shown in Fig. 5(C), the stripe luminance SL at a pixel Xk near the boundary of the stripe region is included in the stripe luminance range ΔSL2, so that stripe number "2" is specified, and the phase value θ at that pixel Xk may be calculated as θko, which is slightly shifted from the originally calculated θk (see arrow F1 in Fig. 5(B)). That is, what should be calculated as the phase value θko at stripe number "3" may end up being calculated as the phase value θko at stripe number "2" (see arrow F2 in Fig. 5(B)). Note that, for convenience, the difference between θk and θko is emphasized in Fig. 5(B) and other figures.

[0028] In this case, a pixel with a phase value θko is searched for within the pixel range specified by the stripe number “2”, so an incorrect distance value is calculated, and the measurement accuracy of the three-dimensional measurement deteriorates.

[0029] In contrast, the stripe number identifying pattern NP in this embodiment is generated so that the luminance increases at a constant rate in the left-right direction as shown in Fig. 3 and Fig. 6(A), so that the stripe luminance SL increases toward the right (the pixel on which the stripe area with the larger stripe number is projected). As a result, the range of stripe luminance (hereinafter also referred to as stripe luminance range ΔSL) assumed for the pixel for which the phase value θ is obtained being in the k-th stripe area increases stepwise for each stripe number.

[0030] Therefore, in this embodiment, a stripe brightness range ΔSL is set based on the ideal stripe brightness SLi calculated for each stripe number SN for the calculated phase value θ, and the stripe number SN is specified based on this stripe brightness range ΔSL. Specifically, the ideal stripe brightness SLi and stripe brightness range ΔSL are calculated for each of the stripe numbers SN for each calculated phase value θ using the following formulas (2) and (3) by setting the maximum stripe brightness SL, which is the maximum value of the stripe brightness SL, to SLmax and the total number of stripe regions (total number of stripes) to N. SLi=SLmax / N×{(SN-1)+θ / 360°} ···(2) ΔSL=SLi±(SLmax / N×1 / 2) ···(3)

[0031] For example, when the maximum fringe luminance SLmax is 100 and the total number of fringes N is 4, as shown in FIG. 7, the ideal fringe luminance SLi and fringe luminance range ΔSL are obtained for each of the fringe numbers SN for each obtained phase value θ.

[0032] Here, assume that the stripe number identifying pattern NP according to this embodiment (see FIG. 6(A)) is projected onto a measurement object where the phase value θ is obtained for each stripe area when the stripe pattern SP is projected, as shown in FIG. 6(B). In this case, the ideal stripe luminance SLi obtained for each pixel when the stripe number identifying pattern NP is projected increases at a constant rate so that it increases toward the right side, as shown in FIG. 6(C). In this case, the stripe luminance range ΔSL centered on the ideal stripe luminance SLi is also set to increase at a constant rate together with the ideal stripe luminance SLi.

[0033] Then, as shown in Fig. 6(B), when the phase value θ at pixel Xk is calculated as θko, which is slightly shifted from the originally calculated θk (see arrow F1 in Fig. 6(B)), the stripe luminance ranges ΔSL1-ΔSL4 calculated as described above for each stripe region from the phase value θko are compared with the stripe luminance SL at pixel Xk. From the comparison result, it is determined that the stripe luminance SL at pixel Xk is included in the stripe luminance range ΔSL3, and the stripe number "3" is specified for pixel Xk.

[0034] In this way, the stripe number SN can be identified from the stripe luminance range ΔSL (ΔSL1 to ΔSL4) associated with each provisional stripe number from the phase value θ and the stripe luminance SL obtained when projecting the stripe number identifying pattern NP. Therefore, by setting the stripe luminance range ΔSL so that it does not overlap with those of other stripe numbers (see formula (3) above), the stripe number SN can be identified with high accuracy.

[0035] As described above, in the three-dimensional measuring device 10 according to this embodiment, the stripe pattern SP projected by the projection unit 20 onto the measurement object R is generated so that a plurality of stripe regions whose luminance changes in the left-right direction (first direction) and whose luminance does not change in the up-down direction (second direction perpendicular to the first direction) are arranged along the left-right direction. Furthermore, the stripe number identifying pattern NP projected by the projection unit 20 to identify the stripe number SN is generated so that its luminance changes at a constant rate along the left-right direction and its luminance does not change in the up-down direction. The measurement unit 40 identifies the stripe number SN for each pixel based on the phase value θ calculated according to the three-dimensional shape of the measurement object R from the captured image when the stripe pattern SP is projected and the stripe luminance SL obtained from the captured image when the stripe number identifying pattern NP is projected, and measures the three-dimensional shape of the measurement object R based on the stripe number SN and the phase value θ.

[0036] In this way, by identifying the stripe number SN based on the stripe brightness SL and phase value θ obtained from the captured image of the stripe number identifying pattern NP projected so that the brightness changes at a constant rate along the direction in which the stripe areas of the stripe pattern SP are arranged, the accuracy of identifying the stripe number SN can be improved without being aware of positions such as near the boundary or in the center of the stripe area.

[0037] [Second embodiment] Next, a three-dimensional measuring apparatus according to a second embodiment of the present invention will be described with reference to the drawings. The second embodiment is different from the first embodiment in that an event camera is used to perform three-dimensional measurement. Therefore, the same components as those in the first embodiment are denoted by the same reference numerals and the description thereof is omitted.

[0038] In this embodiment, an event camera is used as the imaging unit 30. The event camera includes an imaging element that outputs event data (specifically, two-dimensional point data, time, and polarity of brightness change) including two-dimensional point data that identifies the position of a pixel corresponding to a pixel that has undergone a brightness change when light is received, and is configured to be capable of generating a captured image from the event data output from the imaging element.

[0039] The event camera is a brightness value differential output camera developed based on the retinal structure of living organisms. It is configured to detect changes in brightness at each pixel and output the coordinates, time, and polarity of the brightness change. As a result, unlike conventional frame cameras, it does not output pixel information with no brightness changes, in other words, redundant data, and it can obtain data related to brightness changes more quickly.

[0040] In the imaging unit 30 configured in this way, when a luminance change that makes the pixel brighter occurs, positive polarity (positive luminance change) event data is output, and when the light goes out, a luminance change that makes the pixel darker occurs, and negative polarity (negative luminance change) event data is output. In other words, the time difference between the output timing of the positive polarity event data and the output timing of the negative polarity event data (hereinafter also referred to as the event time difference) becomes information equivalent to the luminance value.

[0041] Therefore, when three captured images for the phase shift method are captured continuously during projection of the stripe pattern SP, and event data is obtained at a pixel (x, y) as shown in FIG. 8, the luminance value I(x, y, 0) of the first image can be obtained according to the time difference between time t2 and time t1. Similarly, the luminance value I(x, y, 1) of the second image can be obtained according to the time difference between time t4 and time t3, and the luminance value I(x, y, 2) of the third image can be obtained according to the time difference between time t6 and time t5. In FIG. 8, the unit time (in this embodiment, the time required to obtain one captured image for the phase shift method) is illustrated as T / 3.

[0042] Then, even in the captured image captured in the above unit time when the stripe number specifying pattern NP is projected, the luminance value of each pixel can be obtained based on the event time difference.

[0043] Thus, in the three-dimensional measuring device 10 of this embodiment, the projection unit 20 is configured as a DLP projector that controls the gradation of light according to the light emission time for each pixel within a unit time, and the imaging unit 30 is configured as an event camera that has an imaging element that outputs event data including two-dimensional point data that identifies the position of a pixel that has experienced a change in luminance when light is received, and is capable of generating an image from the event data output from the imaging element.

[0044] In an event camera configured in this manner, the time difference (event time difference) between the output timing of positive polarity event data and the output timing of negative polarity event data corresponds to a brightness value, and since this event time difference can be measured with higher accuracy, the accuracy of identifying the stripe number SN can be further improved.

[0045] In particular, since the stripe number identifying pattern NP is captured by the imaging unit 30 configured as an event camera, the number of pixels that light up simultaneously during projection is reduced compared to when a Gray code pattern, which is a conventional pattern for identifying stripe numbers, is captured by the same imaging unit 30, and therefore the number of events output from the imaging unit 30 can be reduced.

[0046] [Third embodiment] Next, a three-dimensional measuring apparatus according to a third embodiment of the present invention will be described with reference to the drawings. The third embodiment is different from the second embodiment in that the unit time of the stripe number specifying pattern NP is longer than the unit time of the stripe pattern SP. Therefore, the same reference numerals are used for the components substantially the same as those in the second embodiment, and the description thereof will be omitted.

[0047] Increasing the number of stripe regions in the stripe pattern SP can improve the measurement accuracy of the three-dimensional measurement of the measurement object R by the three-dimensional measurement apparatus 10. However, as the number of stripe regions is increased, the possibility of erroneous identification of the stripe number SN increases, and this may result in a decrease in the measurement accuracy of the three-dimensional measurement.

[0048] For this reason, in this embodiment, the unit time of the stripe number identifying pattern NP, which was previously set to the same as the unit time of the stripe pattern SP, is set to be longer than the unit time of the stripe pattern SP, thereby improving the accuracy of identifying the stripe number SN.

[0049] The reason why the accuracy of identifying the stripe number SN is improved by setting the unit time of the stripe number identifying pattern NP to be long will be explained below. When the unit time of the stripe number identifying pattern NP is the same as the unit time of the stripe pattern SP, the event time difference obtained when projecting the stripe number identifying pattern NP ranges from approximately 0 (the darkest left end) to 100 (the brightest right end), as exemplified by the symbol ΔT1 in Figure 9.

[0050] In this case, for example, if the unit time of the stripe number identifying pattern NP is set to twice the unit time of the stripe pattern SP, the event time difference obtained when projecting the stripe number identifying pattern NP will be obtained from approximately 0 (the darkest left end) to 200 (the brightest right end), as illustrated by the symbol ΔT2 in Fig. 9. Therefore, even for pixels with the same luminance value, the obtained event time difference can be doubled. Note that in Fig. 9, the event time difference ΔT1 obtained when the unit time of the stripe number identifying pattern NP is the same as the unit time of the stripe pattern SP is illustrated by a dashed line, and the event time difference ΔT2 obtained when the unit time of the stripe number identifying pattern NP is twice the unit time of the stripe pattern SP is illustrated by a solid line.

[0051] That is, by setting the unit time of the stripe number identifying pattern NP to be longer, the event time difference can be made longer, even for pixels with the same luminance value, compared to when the unit time of the stripe number identifying pattern NP is the same as the unit time of the stripe pattern SP. Since the event time difference can be increased in this way, the resolution for time difference measurement can be improved, and as a result, the identification accuracy of the stripe number SN can be further improved. Note that the unit time of the stripe number identifying pattern NP is not limited to being set to twice the unit time of the stripe pattern SP as described above, but may be set to 1.5 times, 3 times or more, depending on the required resolution, the usage environment, etc.

[0052] [Fourth embodiment] Next, a three-dimensional measuring apparatus according to a fourth embodiment of the present invention will be described with reference to the drawings. The fourth embodiment is different from the second embodiment in that the three-dimensional shape of the measurement object R is measured by a light-section method. Therefore, the same components as those in the second embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

[0053] In the present embodiment, the three-dimensional measurement process performed by the measuring unit 40 involves processing for measuring the three-dimensional shape of the measurement object R by a light-section method. For this reason, the projection unit 20 projects onto the measurement object R a stripe pattern for the light-section method (hereinafter also referred to as stripe pattern CP) that is generated so that the luminance change along the left-right direction (first direction) is the same in all stripe regions, instead of the stripe pattern SP for the phase shift method described above.

[0054] In the imaging unit 30 that images the surface onto which the stripe pattern CP thus generated is projected, bright lines connecting the positions of pixels identified from the negative polarity event data output during the same time period are vertically line-shaped for each stripe region, and are captured as a moving image moving from left to right within a unit time. This is because the closer to the left end of the stripe region, the darker it becomes, so the timing of the end of light emission becomes earlier the closer to the left end, and the closer to the right end of the stripe region, the brighter it becomes, so the timing of the end of light emission becomes later the closer to the right end, and the timing of the end of light emission becomes almost the same in the vertical direction.

[0055] As a result, by treating the bright line connecting the pixel positions identified from the event data output during the same time period as the pixel position irradiated with the linear light in the light section method, it is possible to perform three-dimensional measurement using the light section method. In particular, since the bright line is obtained for each stripe region, the more stripe regions there are in the stripe pattern CP, the shorter the imaging time, i.e., the processing time required for three-dimensional measurement processing, can be.

[0056] Specifically, the stripe pattern CP can be generated such that four stripe regions CPa-CPd are arranged in the left-right direction, for example, like a sawtooth wave illustrated in Figures 10(A) and (B), and the luminance of each stripe region CPa-CPd changes so that it increases at a constant rate from left to right in the left-right direction, and the luminance does not change in the up-down direction. As can be seen from Figure 10(B), the light emission time of the pixels on the right side of each stripe region is made longer, and the stripe pattern CP shown in Figure 10(A) is generated and projected.

[0057] When the stripe pattern CP generated in this manner is projected onto a spherical measurement object R, a plurality of captured images for three-dimensional measurement, including the captured images exemplified in Figures 11(A) to 11(C), can be obtained by utilizing the event data output from the imaging unit 30. Note that Figure 11(A) shows an image captured 10 μs after the start of projection of the stripe pattern CP, Figure 11(B) shows the state 20 μs later, and Figure 11(C) shows the state 30 μs later.

[0058] In the stripe regions CPb and CPc immediately after the imaging of the stripe pattern CP on the measurement object R, the bright lines Sb and Sc are imaged so as to deform according to the shape of the measurement object R. Then, in the stripe regions CPb and CPc 10 μs after the start of imaging, as shown in FIG. 11(A), the bright lines Sb and Sc are imaged so as to move to the right with respect to the measurement object R and to deform according to the relationship between the positions of the bright lines Sb and Sc and the shape of the measurement object R. Thereafter, in the stripe regions CPb and CPc 20 μs and 30 μs after the start of imaging, as shown in FIG. 11(B) and (C), the bright lines Sb and Sc are imaged so as to move further to the right with respect to the measurement object R and to deform according to the relationship between the positions of the bright lines Sb and Sc and the shape of the measurement object R. On the other hand, in the stripe regions CPa and CPd, as can be seen from FIG. 11(A) to (C), the bright lines Sa and Sd are imaged so as to move to the right in a line shape in the vertical direction, respectively, in order not to overlap with the measurement object R.

[0059] Therefore, the measurement unit 40 can measure the three-dimensional shape of the measurement object R by the light cutting method based on the positions of the pixels identified from each of the emission lines Sa to Sd captured when the measurement object R is imaged within the above-mentioned unit time, i.e., the negative polarity event data output during the same time period.

[0060] As described above, in the three-dimensional measuring device 10 according to this embodiment, the stripe pattern CP, which is a predetermined stripe pattern for the light-section method, is generated so that the luminance change along the left-right direction (first direction) is the same in all stripe regions, and the measuring unit 40 measures the three-dimensional shape of the measurement object R by the light-section method based on the positions of pixels identified from the event data output during the same time period when the measurement object R is imaged within a unit time.

[0061] In this way, three-dimensional measurement by the light-section method can be performed by treating the bright line connecting the positions of pixels identified from the event data output during the same time period as the position of the pixel irradiated with the linear light in the light-section method. In particular, since the bright line is obtained for each stripe region, the more the number of stripe regions in the stripe pattern CP, the shorter the imaging time, i.e., the processing time required for three-dimensional measurement processing. In this way, even if the number of stripe regions is increased to shorten the processing time, the stripe number SN can be accurately specified by using the stripe number specifying pattern NP, so that it is possible to achieve both shortened processing time and high accuracy in three-dimensional measurement.

[0062] The number of stripe regions constituting the stripe pattern CP is not limited to four, but may be two, three, or five or more. Also in this embodiment, similarly to the third embodiment, the unit time of the stripe number identifying pattern NP is set to be long, thereby increasing the resolution of the time difference measurement and further improving the accuracy of identifying the stripe number.

[0063] The present invention is not limited to the above-described embodiments, and may be embodied as follows, for example. (1) The number of stripe regions constituting the above-mentioned stripe pattern SP is not limited to four, but may be two, three, or five or more.

[0064] (2) The three-dimensional measuring device 10 is not limited to being attached to the hand of a robot and moving to measure the three-dimensional shape of a measurement object that moves relative to the robot. For example, it may be used in a fixed state to measure the three-dimensional shape of a measurement object that moves on a conveyor line.

[0065] (3) The three-dimensional measuring device 10 may be configured such that the projection unit 20, the imaging unit 30 and the measurement unit 40 are separate entities, and the measurement unit 40 is configured as an information processing terminal capable of wireless or wired communication with the projection unit 20 and the imaging unit 30. [Explanation of symbols]

[0066] 10...3D measuring device 11...Control section 20…Projection section 30…Imaging unit 40…Measuring section NP: Stripe number identification pattern SP, CP: Striped pattern SN...Stripes number SL: Stripe brightness SLi…Ideal fringe brightness R: Measurement target θ…Phase value ΔSL, ΔSL1~ΔSL4θ…Fringe brightness range

Claims

1. a projection unit that projects a predetermined stripe pattern onto a measurement object; an imaging unit that images the measurement object onto which the predetermined stripe pattern is projected; a measurement unit that measures a three-dimensional shape of the measurement object imaged by the imaging unit; A three-dimensional measuring apparatus comprising: the predetermined stripe pattern is generated such that a plurality of stripe regions, each of which has a luminance that changes in a first direction and a luminance that does not change in a second direction perpendicular to the first direction, are arranged along the first direction; The projection unit further projects a stripe number identifying pattern for identifying a stripe number that distinguishes the stripe region from other stripe regions; the stripe number specifying pattern is generated such that the luminance changes at a constant rate along the first direction and the luminance does not change along the second direction, The measurement unit identifies the stripe number for each pixel based on a phase value calculated in accordance with the three-dimensional shape of the object to be measured from the image captured when the specified stripe pattern is projected and information corresponding to a luminance value obtained from the image captured when the stripe number identifying pattern is projected, and measures the three-dimensional shape of the object to be measured based on the stripe number and the phase value.

2. the projection unit is configured to control a gradation of light in accordance with a light emission time within a unit time for each pixel; 2. The three-dimensional measuring device according to claim 1, wherein the imaging unit is an event camera that includes an imaging element that outputs event data including two-dimensional point data that corresponds to a pixel that has experienced a luminance change when light is received and that identifies the position of the pixel, and that is capable of generating the captured image from the event data output from the imaging element.

3. The three-dimensional measuring apparatus according to claim 2 , wherein the projection unit makes the unit time of the stripe number specifying pattern longer than the unit time of the predetermined stripe pattern.

4. the predetermined stripe pattern is generated such that a luminance change along the first direction is the same in all the stripe regions; 3. The three-dimensional measuring device according to claim 2, wherein the measurement unit measures the three-dimensional shape of the measurement object by a light-section method based on pixel positions identified from the event data output during the same time period when the measurement object is imaged within the unit time.

Citation Information

Patent Citations

  • Method and device for measuring 3-dimension form, and storage medium where 3-dimension form measuring program is stored

    JP2000193438A

  • Three dimensional measuring device

    JP2021067644A

  • Projection module, stripe decoding method, apparatus, media, device and system

    JP2024502064A

  • Method and System for Generating Structured Light with Spatio-Temporal Patterns for 3D Scene Reconstruction

    US20140037146A1

  • Systems and methods for obtaining a structured light reconstruction of a 3D surface

    US20190133692A1

Cited By

  • Three-dimensional measurement device

    WO2026078772A1