Collaborative three-dimensional optical measurement method and system integrating photometric photography and fringe projection
Through the combination of structured light fringe projection and supervised photometric photography network, using normal vector self-supervised optimization and point cloud fusion technology, high-precision three-dimensional optical measurement of high-brightness metal surfaces is achieved, solving the problem of normal vector estimation accuracy in the existing technology. Problems such as difference and high measurement noise.
Patent Information
- Application Number
- CN202410335157.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2024-09-10
AI Technical Summary
It is difficult to perform accurate three-dimensional optical measurement of high-brightness metal surfaces with existing technology. In particular, there are problems in optical measurement such as poor normal vector estimation accuracy and high measurement noise.
Using structured light fringe projection measurement combined with a supervised photometric photography network, through self-supervised optimization of normal vectors and point cloud normal vector fusion technology based on position coding, the initial point cloud and optimized normal vectors of the metal surface are obtained, thereby achieving high-precision three-dimensional optics Measurement.
It solves the problems of poor normal vector estimation accuracy and large measurement noise, improves the precision and accuracy of highlight metal surface measurement, and reduces the missing measurement data and error accumulation.
Smart Images

Figure CN118623795A
Abstract
Description
Technical Field
[0001] This invention relates to the field of optical measurement technology, and more specifically, to a collaborative three-dimensional optical measurement method and system that integrates photometric photography and fringe projection. Background Technology
[0002] Patent document CN108225217B discloses a method for measuring the three-dimensional contour of a colored object. First, a photometer is used to measure the three-channel coupling matrix of a 3CCD camera, eliminating the influence of physical components on the measurement process. For determining the surface reflectance of the colored object, complementary colors are superimposed using complementary relationships. However, this patent cannot perform optical measurements on high-brightness metal surfaces. Summary of the Invention
[0003] To address the shortcomings of existing technologies, the purpose of this invention is to provide a collaborative three-dimensional optical measurement method and system that integrates photometric photography and fringe projection.
[0004] A collaborative three-dimensional optical measurement method integrating photometric photography and fringe projection, provided by the present invention, includes:
[0005] Step S1: Obtain the initial point cloud of the metal surface using structured light fringe projection measurement;
[0006] Step S2: Obtain the initial surface normal vector by using a supervised photometric network and combining it with the initial point cloud;
[0007] Step S3: Obtain the optimized normal vector using self-supervised optimization of the normal vector;
[0008] Step S4: Based on the optimized normal vector and the initial point cloud, a point cloud normal vector fusion technique based on position encoding is used to obtain the final fused point cloud.
[0009] Preferably, in step S1:
[0010] Step S1.1: The projector projects a specific coded stripe pattern onto the metal surface to be tested, and the corresponding image is captured by the camera;
[0011] Step S1.2: Use the phase resolution algorithm to convert the camera-acquired pattern into a continuous phase image;
[0012] Step S1.3: Convert the phase value into the corresponding depth information according to the pre-defined conversion relationship to obtain the initial point cloud of the metal surface.
[0013] Preferably, in step S2:
[0014] Step S2.1: Based on the obtained initial point, calculate the direction and intensity of the incident light rays at each pixel in the cloud computing scene;
[0015] Step S2.2: Use a fixed-position camera to capture images of point light sources at different locations;
[0016] Step S2.3: Pass the image captured by the camera and the obtained incident light direction and intensity as input to the supervised photometric network to obtain the initial surface normal vector.
[0017] Preferably, in step S3:
[0018] Step S3.1: Using the observed image, location information, and location encoding information as input, calculate the normal vector, diffuse component, and specular function weights;
[0019] Step S3.2: Re-encode the obtained normal vector and calculate the specular function value;
[0020] Step S3.3: Multiply the specular function value and the specular function weight to obtain the specular reflection component, and add it to the diffuse reflection component to obtain the rendered observation value;
[0021] Step 3.4: Compare the rendered observations with the actual observations, calculate the loss function, and optimize steps S3.1 to S3.3.
[0022] Preferably, in step S4:
[0023] Step S4.1: Calculate the position code corresponding to the pixel based on the pixel position information;
[0024] Step S4.2: Input the location information and encoding information into the point cloud normal vector fusion network based on location encoding to obtain the depth change value;
[0025] Step S4.3: Output the optimized depth value based on the average depth value calculated from the depth change value and the initial point cloud information, and calculate the corresponding point cloud information.
[0026] A collaborative three-dimensional optical measurement system integrating photometric photography and fringe projection, provided by the present invention, includes:
[0027] Module M1: Uses structured light fringe projection measurement to obtain the initial point cloud of the metal surface;
[0028] Module M2: Obtains the initial surface normal vector by using a supervised photometric network and combining it with the initial point cloud;
[0029] Module M3: Optimized normal vectors are obtained through self-supervised optimization of normal vectors;
[0030] Module M4: Based on the optimized normal vector and the initial point cloud, a point cloud normal vector fusion technique based on position encoding is used to obtain the final fused point cloud.
[0031] Preferably, in module M1:
[0032] Module M1.1: The projector projects a specific coded stripe pattern onto the metal surface to be tested, and the camera captures the corresponding image;
[0033] Module M1.2: Uses a phase resolution algorithm to convert the camera-acquired pattern into a continuous phase image;
[0034] Module M1.3: Converts phase values into corresponding depth information according to a pre-defined conversion relationship to obtain the initial point cloud of the metal surface.
[0035] Preferably, in module M2:
[0036] Module M2.1: Based on the obtained initial point, it computes the direction and intensity of the incident light rays at each pixel in the cloud computing scene;
[0037] Module M2.2: Uses a fixed-position camera to capture images illuminated by point light sources at different locations;
[0038] Module M2.3: The camera captures images and the direction and intensity of the incident light rays as inputs to the supervised photometric network to obtain the initial surface normal vector.
[0039] Preferably, in module M3:
[0040] Module M3.1: Takes the observed image, location information, and location encoding information as input to calculate the normal vector, diffuse component, and specular function weights;
[0041] Module M3.2: Re-encodes the obtained normal vectors and calculates the specular function value;
[0042] Module M3.3: Multiply the specular function value and the specular function weight to obtain the specular reflection component, and add it to the diffuse reflection component to obtain the rendered observation value;
[0043] Step 3.4: Compare the rendered observations with the actual observations, calculate the loss function, and optimize modules M3.1 to S3.3.
[0044] Preferably, in module M4:
[0045] Module M4.1: Calculates the position code corresponding to the pixel based on the pixel position information;
[0046] Module M4.2: Inputs position information and encoding information into a position-encoded point cloud normal vector fusion network to obtain depth change values;
[0047] Module M4.3: Outputs an optimized depth value based on the average depth value calculated from the depth change value and the initial point cloud information, and calculates the corresponding point cloud information.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] 1. This invention solves the problem that photometric photography networks need additional initial planar information to calculate the direction and intensity of incident light rays by using a structured light sensor;
[0050] 2. This invention solves the problem of poor accuracy in estimating the normal vector of machined metal surfaces by employing a self-supervised optimization technique for the normal vector.
[0051] 3. This invention solves the problem of error accumulation from normal vector integration to depth by adopting point cloud normal vector fusion technology based on position encoding, and also solves the problems of missing structured light measurement data, large measurement noise and poor measurement accuracy. Attached Figure Description
[0052] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0053] Figure 1 A schematic diagram of a supervised photometric photography network;
[0054] Figure 2 A schematic diagram of a self-supervised optimization network for normal vectors;
[0055] Figure 3 This is a schematic diagram of point cloud normal vector fusion technology based on position encoding;
[0056] Figure 4 This is a schematic diagram of the process of the present invention. Detailed Implementation
[0057] The present invention will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present invention, but do not limit the invention in any way. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all fall within the protection scope of the present invention.
[0058] Example 1:
[0059] This invention designs a novel three-dimensional optical measurement technology suitable for high-brightness metal surfaces. This technology fully integrates the advantages of photometric photography and fringe projection technology. It uses photometric photography to obtain complete normal vector information of the high-brightness metal surface, and guides the completion and optimization of the incomplete measurement point cloud of fringe projection, thereby realizing high-precision measurement of metal machined surfaces.
[0060] According to the present invention, a collaborative three-dimensional optical measurement method integrating photometric photography and fringe projection is provided, such as... Figures 1-3 As shown, it includes:
[0061] Step S1: Obtain the initial point cloud of the metal surface using structured light fringe projection measurement;
[0062] Specifically, in step S1:
[0063] Step S1.1: The projector projects a specific coded stripe pattern onto the metal surface to be tested, and the corresponding image is captured by the camera;
[0064] Step S1.2: Use the phase resolution algorithm to convert the camera-acquired pattern into a continuous phase image;
[0065] Step S1.3: Convert the phase value into the corresponding depth information according to the pre-defined conversion relationship to obtain the initial point cloud of the metal surface.
[0066] Step S2: Obtain the initial surface normal vector by using a supervised photometric network and combining it with the initial point cloud;
[0067] Specifically, in step S2:
[0068] Step S2.1: Based on the obtained initial point, calculate the direction and intensity of the incident light rays at each pixel in the cloud computing scene;
[0069] Step S2.2: Use a fixed-position camera to capture images of point light sources at different locations;
[0070] Step S2.3: Pass the image captured by the camera and the obtained incident light direction and intensity as input to the supervised photometric network to obtain the initial surface normal vector.
[0071] Step S3: Obtain the optimized normal vector using self-supervised optimization of the normal vector;
[0072] Specifically, in step S3:
[0073] Step S3.1: Using the observed image, location information, and location encoding information as input, calculate the normal vector, diffuse component, and specular function weights;
[0074] Step S3.2: Re-encode the obtained normal vector and calculate the specular function value;
[0075] Step S3.3: Multiply the specular function value and the specular function weight to obtain the specular reflection component, and add it to the diffuse reflection component to obtain the rendered observation value;
[0076] Step 3.4: Compare the rendered observations with the actual observations, calculate the loss function, and optimize steps S3.1 to S3.3.
[0077] Step S4: Based on the optimized normal vector and the initial point cloud, a point cloud normal vector fusion technique based on position encoding is used to obtain the final fused point cloud.
[0078] Specifically, in step S4:
[0079] Step S4.1: Calculate the position code corresponding to the pixel based on the pixel position information;
[0080] Step S4.2: Input the location information and encoding information into the point cloud normal vector fusion network based on location encoding to obtain the depth change value;
[0081] Step S4.3: Output the optimized depth value based on the average depth value calculated from the depth change value and the initial point cloud information, and calculate the corresponding point cloud information.
[0082] Example 2:
[0083] Example 2 is a preferred embodiment of Example 1, and is used to illustrate the present invention in more detail.
[0084] The present invention also provides a collaborative three-dimensional optical measurement system that integrates photometric photography and fringe projection. The collaborative three-dimensional optical measurement system that integrates photometric photography and fringe projection can be implemented by executing the process steps of the collaborative three-dimensional optical measurement method that integrates photometric photography and fringe projection. That is, those skilled in the art can understand the collaborative three-dimensional optical measurement method that integrates photometric photography and fringe projection as a preferred embodiment of the collaborative three-dimensional optical measurement system that integrates photometric photography and fringe projection.
[0085] A collaborative three-dimensional optical measurement system integrating photometric photography and fringe projection, provided by the present invention, includes:
[0086] Module M1: Uses structured light fringe projection measurement to obtain the initial point cloud of the metal surface;
[0087] Specifically, in module M1:
[0088] Module M1.1: The projector projects a specific coded stripe pattern onto the metal surface to be tested, and the camera captures the corresponding image;
[0089] Module M1.2: Uses a phase resolution algorithm to convert the camera-acquired pattern into a continuous phase image;
[0090] Module M1.3: Converts phase values into corresponding depth information according to a pre-defined conversion relationship to obtain the initial point cloud of the metal surface.
[0091] Module M2: Obtains the initial surface normal vector by using a supervised photometric network and combining it with the initial point cloud;
[0092] Specifically, in module M2:
[0093] Module M2.1: Based on the obtained initial point, it computes the direction and intensity of the incident light rays at each pixel in the cloud computing scene;
[0094] Module M2.2: Uses a fixed-position camera to capture images illuminated by point light sources at different locations;
[0095] Module M2.3: The camera captures images and the direction and intensity of the incident light rays as inputs to the supervised photometric network to obtain the initial surface normal vector.
[0096] Module M3: Optimized normal vectors are obtained through self-supervised optimization of normal vectors;
[0097] Specifically, in module M3:
[0098] Module M3.1: Takes the observed image, location information, and location encoding information as input to calculate the normal vector, diffuse component, and specular function weights;
[0099] Module M3.2: Re-encodes the obtained normal vectors and calculates the specular function value;
[0100] Module M3.3: Multiply the specular function value and the specular function weight to obtain the specular reflection component, and add it to the diffuse reflection component to obtain the rendered observation value;
[0101] Step 3.4: Compare the rendered observations with the actual observations, calculate the loss function, and optimize modules M3.1 to S3.3.
[0102] Module M4: Based on the optimized normal vector and the initial point cloud, a point cloud normal vector fusion technique based on position encoding is used to obtain the final fused point cloud.
[0103] Specifically, in module M4:
[0104] Module M4.1: Calculates the position code corresponding to the pixel based on the pixel position information;
[0105] Module M4.2: Inputs position information and encoding information into a position-encoded point cloud normal vector fusion network to obtain depth change values;
[0106] Module M4.3: Outputs an optimized depth value based on the average depth value calculated from the depth change value and the initial point cloud information, and calculates the corresponding point cloud information.
[0107] Example 3:
[0108] Example 3 is a preferred example of Example 1, and is used to illustrate the present invention in more detail.
[0109] Step 1: Use structured light fringe projection measurement technology to obtain the initial point cloud of the high-brightness metal surface;
[0110] Step 2: Obtain the initial surface normal vector by using a supervised photometric network and combining it with the initial point cloud obtained by structured light;
[0111] Step 3: Use the self-supervised optimization technique for normal vectors to obtain the optimized normal vectors;
[0112] Step 4: Based on the optimized normal vector and the initial point cloud, a point cloud normal vector fusion technique based on position encoding is used to obtain the final fused point cloud.
[0113] Step 1 includes the following steps:
[0114] Step 1.1: The projector projects a specific coded stripe pattern onto the metal surface to be tested, and the corresponding image is captured by the camera.
[0115] Step 1.2: Use the phase resolution algorithm to convert the camera-acquired pattern into a continuous phase image.
[0116] Step 1.3: Convert the phase value into the corresponding depth information according to the pre-defined conversion relationship to obtain the initial point cloud of the bright metal surface.
[0117] Step 2 includes the following steps:
[0118] Step 2.1: Based on the initial point obtained in Step 1, determine the direction and intensity of the incident light rays at each pixel in the cloud computing scene.
[0119] Step 2.2: Use a fixed-position camera to capture images of point light sources at different locations.
[0120] Step 2.3: Input the image captured by the camera and the incident light direction and intensity obtained in Step 2.1 into the supervised photometric network to obtain the initial surface normal vector.
[0121] Step 3 includes the following steps:
[0122] Step 3.1: Using the observed image, location information, and location encoding information as input, calculate the normal vector, diffuse component, and specular function weights.
[0123] Step 3.2: Re-encode the normal vector obtained in Step 3.1 and calculate the specular function value.
[0124] Step 3.3: Multiply the specular function value and the specular function weight to obtain the specular reflection component, and add it to the diffuse reflection component to obtain the rendered observation value.
[0125] Step 3.4: Compare the rendered observations with the actual observations, calculate the loss function, and optimize steps 3.1 to 3.3.
[0126] Step 4 includes the following steps:
[0127] Step 4.1: Calculate the position code corresponding to the pixel based on the pixel position information.
[0128] Step 4.2: Pass the location information and encoding information as input to the point cloud normal vector fusion network based on location encoding to obtain the depth change value.
[0129] Step 4.3: Output the optimized depth value based on the average depth value calculated from the depth change value and the initial point cloud information, and calculate the corresponding point cloud information.
[0130] Those skilled in the art will understand that, besides implementing the system and its various devices, modules, and units provided by this invention in the form of purely computer-readable program code, the same functions can be achieved entirely through logical programming of the method steps, making the system and its various devices, modules, and units of this invention function in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, the system and its various devices, modules, and units provided by this invention can be considered as a hardware component, and the devices, modules, and units included therein for implementing various functions can also be considered as structures within the hardware component; alternatively, the devices, modules, and units for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0131] Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. Unless otherwise specified, the embodiments and features described in this application can be arbitrarily combined with each other.
Claims
1. A collaborative 3D optical measurement method integrating photometric photography and fringe projection, It is characterized in that include: Step S1: using structured light fringe projection measurement to obtain an initial point cloud of the metal surface; Step S2: Obtain the initial surface normal vector by combining the initial point cloud with the supervised photometric network; Step S3: using normal vector self-supervision optimization to obtain an optimized normal vector; Step S4: According to the optimized normal vector and the initial point cloud, the point cloud normal vector fusion technology based on position coding is adopted to obtain the final fused point cloud.
2. The collaborative three-dimensional optical measurement method combining photometric photography and fringe projection according to claim 1, It is characterized in that In step S1: Step S1.1: The projector projects a specific coded stripe pattern onto the metal surface to be tested, and the camera collects the corresponding image; Step S1.2: using a phase deconvolution algorithm to convert the camera acquisition pattern into a continuous phase image; Step S1.3: Convert the phase value into corresponding depth information according to the pre-calibrated conversion relationship to obtain the initial point cloud of the metal surface.
3. The collaborative three-dimensional optical measurement method integrating photometric photography and fringe projection according to claim 1, It is characterized in that In step S2: Step S2.1: Compute the incident light direction and intensity of each pixel in the scene based on the acquired initial point cloud; Step S2.2: using a fixed position camera to capture images illuminated by point light sources at different positions; Step S2.3: The image captured by the camera and the direction and intensity of the incident light are passed as input to the supervised photometric network to obtain the initial surface normal vector.
4. The collaborative three-dimensional optical measurement method integrating photometric photography and fringe projection according to claim 1, It is characterized in that In step S3: Step S3.1: taking the observed image, the position information and the position encoding information as input, calculating the normal vector, the diffuse reflection component and the highlight function weight; Step S3.2: re-encode the obtained normal vector and calculate the highlight function value; Step S3.3: multiply the highlight function value and the highlight function weight to obtain the highlight reflection component, and add it to the diffuse reflection component to obtain the rendering observation value; Step 3.4: Compare the rendered observations with the true observations, calculate the loss function, and optimize steps S3.1 to S3.
3.
5. The collaborative three-dimensional optical measurement method integrating photometric photography and fringe projection according to claim 1, It is characterized in that In step S4: Step S4.1: Calculate the position code corresponding to the pixel according to the pixel position information; Step S4.2: passing the position information and the encoding information as input to the point cloud normal vector fusion network based on the position encoding to obtain the depth change value; Step S4.3: Outputting an optimized depth value based on the depth change value and the average depth value calculated from the initial point cloud information, and calculating the corresponding point cloud information.
6. A collaborative 3D optical measurement system integrating photometric photography and fringe projection, It is characterized in that include: Module M1: Use structured light fringe projection measurement to obtain the initial point cloud of the metal surface; Module M2: Obtain the initial surface normal vector by combining the initial point cloud with the supervised photometric network; Module M3: Use normal vector self-supervised optimization to obtain the optimized normal vector; Module M4: According to the optimized normal vector and the initial point cloud, the point cloud normal vector fusion technology based on position coding is adopted to obtain the final fused point cloud.
7. The collaborative three-dimensional optical measurement system integrating photometric photography and fringe projection according to claim 6, It is characterized in that In the module M1: Module M1.1: The projector projects a specific coded stripe pattern onto the metal surface to be tested, and the camera collects the corresponding image; Module M1.2: Use the phase deconvolution algorithm to convert the camera acquisition pattern into a continuous phase image; Module M1.3: Convert the phase value into the corresponding depth information according to the pre-calibrated conversion relationship to obtain the initial point cloud of the metal surface.
8. The collaborative three-dimensional optical measurement system integrating photometric photography and fringe projection according to claim 6, It is characterized in that In the module M2: Module M2.1: Calculate the direction and intensity of incident light for each pixel in the scene based on the acquired initial point cloud; Module M2.2: Use a fixed position camera to capture images illuminated by point light sources at different positions; Module M2.3: The camera image and the incident light direction and intensity are passed as input to the supervised photometric network to obtain the initial surface normal vector.
9. The collaborative three-dimensional optical measurement system integrating photometric photography and fringe projection according to claim 6, It is characterized in that In the module M3: Module M3.1: takes the observed image, position information and position encoding information as input, and calculates the normal vector, diffuse reflection component and highlight function weight; Module M3.2: Re-encode the obtained normal vector and calculate the highlight function value; Module M3.3: Multiply the highlight function value and the highlight function weight to obtain the highlight reflection component, and add it to the diffuse reflection component to obtain the rendering observation value; Step 3.4: Compare the rendered observations with the real observations, calculate the loss function, and optimize modules M3.1 to S3.
3.
10. The collaborative three-dimensional optical measurement system integrating photometric photography and fringe projection according to claim 6, It is characterized in that In the module M4: Module M4.1: Calculate the position code corresponding to the pixel according to the pixel position information; Module M4.2: Pass the position information and encoding information as input to the point cloud normal vector fusion network based on position encoding to obtain the depth change value; Module M4.3: Output the optimized depth value based on the depth change value and the average depth value calculated from the initial point cloud information, and calculate the corresponding point cloud information.
