Three-dimensional measurement system and three-dimensional measurement method

The system uses phase-shifting sinusoidal light and a CNN to enhance three-dimensional measurement accuracy on glossy surfaces by reducing specular reflection, achieving precise measurements with fewer images.

JP7544342B2Active Publication Date: 2024-09-03TOHOKU UNIV +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020198307
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-30
Publication Date
2024-09-03
Estimated Expiration
2040-11-30

AI Technical Summary

Technical Problem

Existing three-dimensional measurement methods struggle with accuracy on objects with glossy surfaces due to high specular reflection, leading to inaccurate or impossible measurements.

Method used

A three-dimensional measurement system that uses a sinusoidal pattern light with phase shifting, combined with a convolutional neural network (CNN) to reduce the influence of specular reflection components, and optionally employs epipolar constraint conditions to enhance accuracy.

Benefits of technology

The system achieves highly accurate three-dimensional measurements on glossy surfaces by effectively mitigating the impact of specular reflections, improving measurement precision and reducing the number of required images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007544342000009
    Figure 0007544342000009
  • Figure 0007544342000003
    Figure 0007544342000003
  • Figure 0007544342000004
    Figure 0007544342000004
Patent Text Reader

Abstract

To provide a system and method capable of performing highly accurate three-dimensional measurement for an object having a glossy surface.SOLUTION: A three-dimensional measurement system includes: a projection section that irradiates an object with sinusoidal pattern light a plurality of times while shifting its phase; an imaging section that captures light reflected by the object; and a measurement processing section that generates a phase image from the captured image using a phase shift method. The measurement processing section inputs at least one of images before or after the measurement processing section performs the phase shift method to a CNN which has learned so that an image obtained by reducing the effect of a specular reflection component is generated.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a three-dimensional measurement system and a three-dimensional measurement method for an object having a glossy surface. [Background technology]

[0002] For example, three-dimensional measurement technology is used to recognize the position of a workpiece when a robot hand grasps the target workpiece on a factory production line. As a three-dimensional measurement technology, for example, a method is known in which a pattern image is projected onto the workpiece from a projector and the reflected light from the workpiece is photographed by a camera and analyzed.

[0003] Patent Document 1 discloses a three-dimensional shape measurement system that includes a projection unit that sequentially projects a sequence of coded pattern images consisting of multiple types of coded pattern images, an imaging unit that sequentially images the object onto which the coded pattern images are projected by the projection unit to obtain a sequence of captured images consisting of multiple captured images, a decoding unit that performs decoding corresponding to interreflection using the coded pattern image sequence and the captured image sequence, and a measurement unit that measures the three-dimensional shape of the object by matching the coded pattern images with the captured images using the results of the decoding in the decoding unit and the geometric relationship between the projection unit and the imaging unit. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2020-020640 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, when using active 3D measurement methods such as the phase shift method for objects with a high proportion of specular reflection, such as metals with shiny surfaces, it is known that the measurement accuracy deteriorates or measurement becomes impossible.

[0006] Therefore, an object of the present invention is to provide a system and method capable of performing three-dimensional measurement of an object having a glossy surface with high accuracy. [Means for solving the problem]

[0007] The three-dimensional measurement system of the present invention comprises: a projection unit that projects a sinusoidal pattern light onto an object multiple times while shifting the phase of the light; An imaging unit that captures light reflected by the object; a measurement processing unit that generates a phase image from the captured image by using a phase shift method; having The measurement processing unit inputs at least one of images taken before and after the measurement processing unit performs the phase shift method to a CNN that has been trained to generate an image in which the influence of specular reflection components is reduced.

[0008] In the three-dimensional measurement system of the present invention, it is preferable that the measurement processing unit generates a further phase image from one of the phase image and an image obtained by processing the phase image with CNN, by utilizing an epipolar constraint condition.

[0009] In the three-dimensional measurement system of the present invention, the measurement processing unit is A phase image is generated from the captured image using a phase shift method; The phase image is input to a CNN to generate a phase image in which the influence of the specular reflection component is reduced; generating a further phase image from the phase image in which the influence of the specular reflection component has been reduced, utilizing an epipolar constraint condition; A three-dimensional point cloud is preferably generated from said further phase images using the principles of triangulation.

[0010] In the three-dimensional measurement method of the present invention, A sinusoidal pattern of light is irradiated onto the target multiple times while shifting the phase. Photographing the light reflected by the object; A phase image is generated from the captured image using a phase shift method; At least one of the images before and after the phase shifting method is applied is input to a CNN trained to generate images with reduced influence of specular reflection components. Effect of the Invention

[0011] The present invention provides a system and method capable of performing three-dimensional measurement with high accuracy on an object having a glossy surface. [Brief description of the drawings]

[0012] [Figure 1] 1 is a diagram showing a configuration of a three-dimensional measurement system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram showing a flow of a three-dimensional measurement method according to an embodiment of the present invention. [Diagram 3] 1 shows sinusoidal patterns of light that are phase shifted relative to one another. [Figure 4] 1 shows a CNN constructed in one embodiment of the present invention. [Diagram 5] FIG. 13 is a diagram for explaining correction by epipolar constraint. [Figure 6] FIG. 11 is a diagram showing the flow of a three-dimensional measuring method according to a modified embodiment of the present invention. [Figure 7] In this embodiment, two scenes generated by a simulator for generating training data for CNN are shown. [Figure 8] (a) shows an image of a bulk object, and (b) shows an image of a 3D point cloud obtained by this embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] FIG. 1 is a diagram showing the configuration of a three-dimensional measurement system according to an embodiment of the present invention. The three-dimensional measurement system 10 has a projection unit 1 which is a projector, an imaging unit 2 which is a camera, and a measurement processing unit 3 which is a computer. The projection unit 1 projects sinusoidal pattern light onto the object 4 multiple times while shifting the phase of the light. The imaging unit 2 captures an image of the light reflected by the object 4.

[0014] FIG. 2 is a diagram showing a flow of a three-dimensional measuring method according to an embodiment of the present invention. In step S1, the measurement processing unit 3 generates a phase image A from a captured image by using a phase shift method. In step S2, the measurement processing unit 3 inputs the phase image A to a CNN (convolutional neural network) to generate a phase image B in which the influence of the specular reflection component is reduced. In step S3, the measurement processing unit 3 uses the epipolar constraint condition to generate a phase image C from the phase image B. Note that this step S3 is optional and can be omitted. In step S4, the measurement processing unit 3 generates a three-dimensional point cloud from the phase image C using the principle of triangulation.

[0015] First, the phase shift method will be described. 3(a) to (d) show sinusoidal pattern lights that are phase-shifted from one another. The projection unit 1 irradiates the target object 4 with a plurality of phase-shifted sinusoidal pattern lights as shown in Fig. 3. In the phase shift method, the more the number of pattern lights, the higher the measurement accuracy, but the more the amount of calculation increases. Therefore, in this embodiment, the 4-step phase shift method using four pattern lights is used, but the number of pattern lights can be any number as long as it is three or more.

[0016] Secondly, we will explain CNN. FIG. 4 shows a CNN constructed in one embodiment of the present invention. In a normal CNN, local information is lost during the image convolution process. However, in 3D measurement of bulk objects, it is necessary to restore information about pixels that are difficult to measure due to the influence of specular reflection components from the local image features around them. Therefore, it is necessary to directly transmit the local image features output in the upper layer close to the CNN input to the lower layer by Skip Connection. Therefore, in this embodiment, a CNN based on Unet, which has Skip Connection and can solve regression problems on a pixel-by-pixel basis, is used. In this way, in the measurement processing unit 3, the CNN is trained in advance to generate a phase image B from a phase image A in which the influence of the specular reflection component is reduced. It is also possible to use a CNN with a two-stage Unet structure (see Fig. 6(c) and (d) described later). In this case, the influence of specular reflection components can be reduced with greater accuracy.

[0017] Third, we explain the epipolar constraint. FIG. 5 is a diagram for explaining correction by epipolar constraint. point O L When an observation point x is photographed with a camera at L In this case, the observation point x and the point x L Point x between 1 , x 2 , x 3 is point O R The image is projected onto the epipolar line of the projection plane of the projector at . Thus, in a projector-camera system, the projector pixel corresponding to any camera pixel must lie on the corresponding epipolar line, and this epipolar line can be calculated in advance using extrinsic and intrinsic parameters. If there is a point (phase) that deviates from the epipolar line, the measurement processing unit 3 draws a perpendicular line from that point onto the epipolar line, and modifies the point of intersection between the perpendicular line and the epipolar line as the correct point.

[0018] In the above-described embodiment, the measurement processing unit 3 executes the steps of the phase shifting method, CNN, and epipolar constraint in this order. First, the phase shifting method is used to generate a phase image A from a captured image, and the phase image A is input to the CNN to generate a phase image B in which the influence of the specular reflection component is reduced, thereby making it possible to reduce the number of images captured in the real environment. For example, assume that 100 images are used as input data for CNN. When photographed images are input to CNN, 100 images must be photographed. On the other hand, when a phase image is generated from the photographed images using the phase shift method first and then input to CNN, the photographed images and simulation data are combined to generate a phase image, so that, for example, 10 images need to be photographed (the remaining 90 images use simulation data), reducing the effort and time required for photographing. However, the order of each step is not limited to that of the above-described embodiment, and various modifications are possible. The following describes such modifications.

[0019] 6(a) to (d) are diagrams showing the flow of a three-dimensional measuring method according to a modified embodiment of the present invention. In Fig. 6(a), CNN is executed before the phase shift method. That is, the measurement processing unit 3 inputs the captured image, which is the image before the phase shift method is executed, to the CNN to generate an image in which the influence of the specular reflection component is reduced, and then generates a phase image A using the phase shift method. In this specification, the expression "generating a phase image from a captured image" includes not only the case where a phase image is generated directly from a captured image, but also the case where a phase image is generated from an image obtained by processing the captured image (for example, an image obtained by processing the captured image using CNN, as shown in Figure 6(a)).

[0020] In Fig. 6(b), CNN is executed after epipolar constraint. That is, the measurement processing unit 3 generates a phase image A from the captured image using the phase shift method, generates a phase image B using the epipolar constraint condition, and inputs the phase image B to the CNN to generate a phase image C in which the influence of the specular reflection component is reduced.

[0021] 6(c), CNN is executed twice. That is, the measurement processing unit 3 inputs phase image A to the CNN to generate phase image B in which the influence of the specular reflection component is reduced, and inputs phase image B to the CNN to generate phase image C in which the influence of the specular reflection component is further reduced.

[0022] In Fig. 6(d), two CNNs are executed before and after the phase shift method. That is, the measurement processing unit 3 inputs the captured image to the CNN to generate an image in which the influence of the specular reflection component is reduced, generates a phase image A using the phase shift method, and inputs the phase image A to the CNN to generate a phase image B in which the influence of the specular reflection component is reduced. EXAMPLES

[0023] Hereinafter, an embodiment of the present invention will be described. In this embodiment, the steps were performed in the order shown in FIG. The projector and camera used in this embodiment have the following configurations. Projector: Panasonic PT-VMZ50J Resolution: 1920 x 1080 Effective luminous flux: 5000lm Contrast: 3,000,000:1 Camera: Baumer VCxU-124 Lens: VS TECHNOLOGY VS-1614H1N Resolution: 800 x 600 Field of view: 400 x 300 mm WD:550mm Spatial resolution: 0.50×0.50mm / pixel In addition, the Zhang method was used for the calibration between the projector and the camera. The calibration test results are as follows.

number

[0024] 7(a) and (b) show two scenes generated by a simulator for generating training data for CNN in this embodiment. Blender is used as the simulator, and the Blender settings are as follows. Metallic: 1.00 Specular: 0.50 Roughness: 0.30 Diffuse reflection count: 4 Specular reflection count: 4 Number of renders: 1024 / pixel

[0025] In the first experiment, we verified the reduction of the effect of specular reflection components by the phase shifting method, CNN, and epipolar constraint through simulation. That is, phase image A generated by the phase shifting method, phase image B generated by CNN, and phase image C generated by the epipolar constraint were each converted into a 3D point cloud. It was visually confirmed that the accuracy of the 3D point cloud converted from phase image B was higher than that of the 3D point cloud converted from phase image A, and that the accuracy of the 3D point cloud converted from phase image C was even higher. This means that the influence of the specular reflection component can be reduced with each step.

[0026] As the second experiment, we carried out an evaluation of the measurement accuracy error through simulation. In the conventional method (a method in which CNN was removed from this embodiment), the average was 7.21 mm, the standard deviation (σ) was 6.39 mm, and 3σ was 19.17 mm. In this example, the average was 0.21 mm, the standard deviation (σ) was 0.68 mm, and the 3σ was 1.64 mm. This shows that the measurement accuracy is significantly improved in this embodiment compared to the conventional method.

[0027] In the third experiment, we performed three-dimensional measurements in a real environment and calculated the measurement error. FIG. 8(a) shows an image of the bulk object, and FIG. 8(b) shows an image of the 3D point cloud obtained by this example. A three-dimensional point cloud was obtained for one object on a workbench using the method of this embodiment. The object was moved by 1 mm, 5 mm, and 10 mm, and three-dimensional point clouds were similarly acquired at each position after the movement. The 3D point clouds before and after the movement were read into a computer, displayed on the image, and manually overlaid. The amount of movement between each group of three-dimensional points was calculated, and the average of the amounts of movement was taken as the measurement error. The measurement error in this environment was 0.4 mm, and it was found that the measurement error was small in this embodiment. [Explanation of symbols]

[0028] 1...projection unit, 2...imaging unit, 3...measurement processing unit, 4...object, 10...three-dimensional measurement system

Claims

1. 1. A three-dimensional measurement system, comprising: a projection unit that projects a sinusoidal pattern light onto an object multiple times while shifting the phase of the light; An imaging unit that captures light reflected by the object; a measurement processing unit that generates a phase image from the captured image by using a phase shift method; having The measurement processing unit includes: A phase image is generated from the captured image using a phase shift method; The phase image is input to a CNN trained to generate an image with reduced influence of the specular reflection component to generate a phase image with reduced influence of the specular reflection component; generating a further phase image from the phase image in which the influence of the specular reflection component has been reduced, utilizing an epipolar constraint condition; generating a three-dimensional point cloud from said further phase images using the principles of triangulation; Three-dimensional measuring system.

2. A three-dimensional measurement method, comprising: A sinusoidal pattern of light is irradiated onto the target object multiple times while shifting the phase. Photographing the light reflected by the object; A phase image is generated from the captured image using a phase shift method; The phase image is input to a CNN trained to generate an image with reduced influence of the specular reflection component to generate a phase image with reduced influence of the specular reflection component; generating a further phase image from the phase image in which the influence of the specular reflection component has been reduced, utilizing an epipolar constraint condition; generating a three-dimensional point cloud from said further phase images using the principles of triangulation; Three-dimensional measurement methods.

Citation Information

Patent Citations

  • Image processing method, image processing apparatus, and imaging apparatus

    JP2019074777A

  • Three-dimensional shape measuring device and three-dimensional shape measuring method

    JP2019090782A

  • Information processing apparatus, information processing method, and program

    JP2019184340A

  • Three-dimensional shape measuring system, three-dimensional shape measuring method, and three-dimensional shape measuring program

    JP2020020640A

  • Bright spot removal using a neural network

    WO2020095233A1