A deep learning sample generation method based on 3D point cloud

Through 3D point cloud scanning and virtual camera model generation technology, the problem of difficulty and high cost in sample generation in the target detection algorithm is solved, the sample richness is improved and the cost is reduced, and the generated samples are more in line with the actual environment.

CN112669436BActive Publication Date: 2024-10-18BOCHUANG MATERIALS BRANCH OF JIAXING HENGCHUANG POWER GRP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011563204.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-25
Publication Date
2024-10-18
Estimated Expiration
2040-12-25

AI Technical Summary

Technical Problem

Existing target detection algorithms based on convolutional neural networks are limited by the lack of data samples in specific target detection and recognition, resulting in difficult, high-cost, and long-time sample generation problems.

Method used

3D point cloud scanning is used to generate color point cloud data. By building a virtual camera model, setting the focal length and attitude, calculating the illumination correction coefficient, and adding noise, target detection samples are automatically generated, simplifying the sample construction process and improving sample richness.

Benefits of technology

It effectively reduces the difficulty of sample generation, improves the richness of samples, simplifies the sample construction process, reduces cost and time, and generates samples that are more in line with the actual environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112669436B_ABST
    Figure CN112669436B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for generating deep learning samples based on 3D point clouds, including: obtaining a color point cloud data set of a target to be detected; constructing a virtual camera model; setting the focal length and posture of the virtual camera, inputting each point in the color point cloud data set into the virtual camera model, obtaining the pixel coordinates for each point, and generating an image output by the virtual camera model for the target to be detected; calculating an illumination correction coefficient, superimposing the illumination correction coefficient on the color component of the color point cloud data set, inputting the points in the color point cloud data set after the virtual illumination change into the virtual camera model one by one, and obtaining an image of the target to be detected after the virtual illumination change; adding noise to obtain a new image based on the obtained image; repeating the above steps until a preset number of images are obtained as deep learning samples of the target to be detected. The present invention simplifies the difficulty of sample construction and improves sample richness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of deep learning artificial intelligence, and specifically relates to a deep learning sample generation method based on 3D point cloud. Background Art

[0002] With the rapid development of deep learning and computer vision, both have been widely used in many fields. As a common application of the combination of the two, object detection has become an important part of image understanding. Its task is to find all the targets (objects) of interest in the image and determine the position and size of each target. It is one of the core issues in the field of machine vision.

[0003] At present, the object detection algorithm based on convolutional neural network requires the weight parameters in the convolutional neural network to be trained with a large number of data samples. Generally, the more data there is, the better the regularization effect of the trained parameters. However, in reality, the detection and recognition of specific targets, such as image detection of professional equipment and image detection of specific defects, are greatly limited in the application of convolutional neural networks due to the lack of a large number of data sets and sufficient data samples. Summary of the invention

[0004] The purpose of this application is to provide a deep learning sample generation method based on 3D point cloud, simplify the difficulty of sample construction, and improve the richness of samples.

[0005] In order to achieve the above purpose, the technical solution adopted by this application is:

[0006] A deep learning sample generation method based on 3D point cloud is used to generate deep learning samples of a target to be detected in target detection. The deep learning sample generation method based on 3D point cloud comprises:

[0007] Step 1: Scan the target to be detected using a 3D scanner to obtain a color point cloud data set of the target to be detected, where each point in the color point cloud data set has a three-dimensional coordinate and a color component;

[0008] Step 2: Build a virtual camera model;

[0009] Step 3: Set the focal length and posture of the virtual camera, input each point in the color point cloud data set into the virtual camera model, obtain the pixel coordinates of each point, and generate an image output by the virtual camera model for the target to be detected;

[0010] Step 4: Calculate the illumination correction coefficient, superimpose the illumination correction coefficient on the color component of the color point cloud data set, obtain the color point cloud data set after the virtual illumination change, input the points in the color point cloud data set after the virtual illumination change into the virtual camera model one by one, and obtain the image of the target to be detected after the virtual illumination change;

[0011] Step 5: Based on the images obtained in step 3 and step 4, noise is added to obtain a new image;

[0012] Step 6: Repeat steps 3 to 5 until a preset number of images are obtained as deep learning samples of the target to be detected.

[0013] Several optional methods are also provided below, but they are not intended to be additional limitations on the above-mentioned overall solution, but are merely further supplements or preferences. Under the premise that there are no technical or logical contradictions, each optional method can be combined with the above-mentioned overall solution separately, and multiple optional methods can also be combined.

[0014] Preferably, the scanning accuracy of the 3D scanner is not less than 1 mm.

[0015] Preferably, the constructing of the virtual camera model comprises:

[0016] Construct the virtual camera model as follows:

[0017]

[0018] In the formula, Z c is the proportional constant, u and v are the pixel coordinates of the image, and f x 、f y is the focal length of the virtual camera, u0 and v0 are the coordinates of the optical center of the virtual camera, R is the rotation matrix of the virtual camera's posture relative to the world coordinate system, t is the translation matrix of the virtual camera's posture relative to the world coordinate system, and x w ,y w 、z w is the position of the point in the world coordinate system;

[0019] The rotation matrix R is defined by the Euler angles (α, β, γ) as follows:

[0020]

[0021] In the formula, the angles of α, β, and γ are between 0 and 360;

[0022] The translation matrix t can be expressed as:

[0023]

[0024] Where, t x,t y ,t z is the coordinate of the center of the virtual camera in the world coordinate system.

[0025] Preferably, the step of inputting each point in the color point cloud data set into the virtual camera model to obtain the pixel coordinates of each point comprises:

[0026] The color point cloud data set is and Where (x i ,y i ,z i ) is the three-dimensional coordinate of point i, (r i ,g i ,b i ) is the color component of point i, and n is the number of points;

[0027] The three-dimensional coordinates (x i ,y i ,z i ) as (x w ,y w ,z w ) is input into the virtual camera model to obtain the pixel coordinates (u i ,v i ), and the pixel coordinates (u i ,v i ) is the color component of point i (r i ,g i ,b i );

[0028] If multiple points in the color point cloud data set correspond to the same pixel coordinate, then the coordinates of the multiple points and the virtual camera center (t x ,t y ,t z ) and take the color component corresponding to the point with the smallest distance as the color of the pixel coordinates.

[0029] Preferably, generating an image output by the virtual camera model for the target to be detected includes:

[0030] Obtain the pixel coordinates of each point output by the virtual camera model and the color corresponding to each pixel coordinate to obtain an initial image;

[0031] Traverse all pixel coordinates in the initial image to determine whether there are pixels with color 0. If not, output the initial image as the image of the target to be detected; otherwise, fill in the pixels with color 0, and output the image after color filling as the image of the target to be detected.

[0032] Preferably, the color filling of pixels with a color of 0 includes:

[0033] Let the pixel coordinates of the pixel to be filled with color 0 be (u k ,v k );

[0034] Take the pixel coordinates (u k ,v k ) is the effective pixel θ{(u q ,v q ),-d≤u q -u k ≤d,-d≤v q -v k ≤d,(r q ,g q ,b q )≠0}, (u q ,v q ) is the pixel coordinate of the effective pixel, (r q ,g q ,b q ) is the color of the effective pixel;

[0035] Calculate the pixel coordinates as (u k ,v k ) is filled with (r k ,g k ,b k ):

[0036]

[0037] Where, d qk is the effective pixel (u q ,v q ) and the pixel to be filled (u k ,v k ) between the two.

[0038] Preferably, the calculating of the illumination correction coefficient and superimposing the illumination correction coefficient on the color component of the color point cloud data set to obtain the color point cloud data set after the virtual illumination change comprises:

[0039] For each point to be corrected (x i ,y i ,z i ) Calculate the illumination correction factor as follows:

[0040] I d =IK d (N·L)

[0041] In the formula, I dis the illumination correction factor, I is the external illumination (R I ,G I ,B I ), R I , G I , B I The value of K is between 0 and 1. d is the reflection coefficient (K r ,K g ,K b ), K r , K g , K b The value of is between 0 and 1, N is the normalized normal vector of the point to be corrected, and L is the normalized vector of the virtual camera center;

[0042] The calculation process of the normalized normal vector N of the point to be corrected is as follows:

[0043] Get the point to be corrected (x i ,y i ,z i ) plane fitting is performed on the four points closest to each other to obtain the plane AX+BY+CZ+D=0;

[0044] Get the normalized normal vector based on the fitted plane

[0045] The calculation process of the normalized vector L of the virtual camera center is as follows:

[0046] Let the virtual camera center and the point to be corrected (x i ,y i ,z i ) is d v , then the normalized vector of the virtual camera center is

[0047] The calculated illumination correction factor I d and the point to be corrected (x i ,y i ,z i ) corresponding to the color component (r i ,g i ,b i ) and we get (I d r i ,I d g i ,I d b i ) as the point (x i ,y i ,z i ) color after the virtual lighting changes;

[0048] Perform illumination correction on each point one by one to obtain a color point cloud data set after virtual illumination changes.

[0049] Preferably, the noise is Gaussian noise and / or salt and pepper noise.

[0050] The deep learning sample generation method based on 3D point cloud provided in this application automatically generates data set images through 3D point cloud scanning and the use of computer vision geometric model methods, and improves the richness of samples by changing the shooting posture of the virtual camera, the change of virtual lighting, and the addition of random noise. The use of virtual modeling eliminates the need to actually acquire images and process the images, greatly simplifying the difficulty of sample construction. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 This is a flowchart of the deep learning sample generation method based on 3D point cloud of this application. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0054] In order to overcome the problems of difficulty, high cost and long time in sample generation in the prior art, a deep learning sample generation method based on 3D point cloud is provided in this embodiment, which is used to generate deep learning samples of targets to be detected in target detection through 3D point cloud, effectively reducing the difficulty of sample generation and improving the richness of samples.

[0055] like Figure 1 As shown, the deep learning sample generation method based on 3D point cloud in this embodiment includes the following steps:

[0056] Step 1: Use a 3D scanner to scan the target to be detected to obtain a color point cloud data set of the target to be detected, where each point in the color point cloud data set has a three-dimensional coordinate and a color component.

[0057] In order to ensure that the 3D point cloud can restore the shape of the real target to a large extent, the scanning accuracy of the 3D scanner is set to be no less than 1mm in this embodiment. The color point cloud data set obtained by scanning is and Where (x i ,y i ,z i ) is the three-dimensional coordinate of point i, (r i ,g i ,b i ) is the color component of point i, and n is the number of points.

[0058] Step 2: Build a virtual camera model as follows:

[0059]

[0060] In the formula, Z c is the proportional constant, u and v are the pixel coordinates of the image, and f x 、f y is the focal length of the virtual camera, u0 and v0 are the coordinates of the optical center of the virtual camera, R is the rotation matrix of the virtual camera's posture relative to the world coordinate system, t is the translation matrix of the virtual camera's posture relative to the world coordinate system, and x w ,y w 、z w is the position of the point in the world coordinate system.

[0061] The rotation matrix R is defined by the Euler angles (α, β, γ) as follows:

[0062]

[0063] Wherein, the angles of α, β, and γ are between 0 and 360 degrees.

[0064] The translation matrix t can be expressed as:

[0065]

[0066] Where, t x ,t y ,t z is the coordinate of the center of the virtual camera in the world coordinate system.

[0067] Step 3: Set the focal length and posture of the virtual camera, input each point in the color point cloud data set into the virtual camera model, obtain the pixel coordinates of each point, and generate an image output by the virtual camera model for the target to be detected.

[0068] Different images can be obtained for the same target under different focal lengths and postures of the camera. Therefore, this embodiment obtains target images under multiple angles by setting the focal length and posture of the virtual camera to enrich the samples.

[0069] The focal length of the virtual camera is f x 、f y The value can be 2000, and of course it can be any focal length value set as needed. The optical center coordinates u0 and v0 of the virtual camera are determined according to the pixel size of the sample image to be generated. For example, if a 600×600 pixel image needs to be generated, the optical center coordinates are (300,300).

[0070] The rotation matrix R can be obtained by taking any value (α, β, γ), and the translation matrix t can be obtained by taking any value t x ,t y ,t z get.

[0071] After completing the focus and posture setting of the virtual camera, the image can be generated through the 3D point cloud to realize the sample generation of the target to be detected. In one embodiment, the process of generating the image is as follows:

[0072] The three-dimensional coordinates (x i ,y i ,z i ) as (x w ,y w ,z w ) is input into the virtual camera model to obtain the pixel coordinates (u i ,v i ), and the pixel coordinates (u i ,v i ) is the color component of point i (r i ,g i ,b i ).

[0073] If multiple points in the color point cloud data set correspond to the same pixel coordinate, then the coordinates of the multiple points and the virtual camera center (t x ,t y ,t z ) and take the color component corresponding to the point with the smallest distance as the color of the pixel coordinates.

[0074] Each point in the color point cloud data set is traversed to obtain the pixel coordinates of each point output by the virtual camera model and the color corresponding to each pixel coordinate, and the image of the target to be detected at this time is obtained as the initial image.

[0075] Due to the limitations of the scanning accuracy of the 3D scanner and environmental interference, the points in the color point cloud data set may not fully reflect the target to be detected, that is, the initial image currently obtained may have holes that need to be filled. Therefore, it is necessary to perform hole filling detection on the initial image:

[0076] Traverse all pixel coordinates in the initial image to determine whether there are pixels with color 0 (hole pixels). If not, output the initial image as the image of the target to be detected; otherwise, fill the pixels with color 0, and output the image after color filling as the image of the target to be detected.

[0077] When color filling is performed, the color of any adjacent pixel of the hole pixel can be taken as the color of the hole pixel, or the color of the pixel at a certain distance and direction from the hole pixel can be taken as the color of the hole pixel. In order to improve the effectiveness of color filling and avoid color abruptness, in one embodiment, a color filling method is provided as follows:

[0078] Let the pixel coordinates of the pixel to be filled with color 0 be (u k ,v k ).

[0079] Take the pixel coordinates (u k ,v k ) is the effective pixel θ{(u q ,v q ),-d≤u q -u k ≤d,-d≤v q -v k ≤d,(r q ,g q ,b q )≠0}, (u q ,v q ) is the pixel coordinate of the effective pixel, (r q ,g q ,b q ) is the color of the effective pixel; generally d is taken as 5.

[0080] Calculate the pixel coordinates as (u k ,v k ) is filled with (r k ,g k ,b k ):

[0081]

[0082] Where, d qk is the effective pixel (u q ,v q) and the pixel to be filled (u k ,v k ), that is,

[0083] Step 4: calculate the illumination correction coefficient, superimpose the illumination correction coefficient on the color component of the color point cloud data set to obtain the color point cloud data set after the virtual illumination change, input the points in the color point cloud data set after the virtual illumination change into the virtual camera model one by one, and obtain the image of the target to be detected after the virtual illumination change.

[0084] Considering that when obtaining samples of the target to be detected in the actual environment, the ambient light will greatly affect the imaging color of the target to be detected, the present embodiment introduces a light correction coefficient, which is used to simulate the change of ambient light, thereby obtaining richer samples.

[0085] Compared with obtaining samples in the actual environment, this embodiment can simulate multiple types of ambient lighting through the lighting correction coefficient, without the need to match the lighting conditions in the actual environment, and can more easily and quickly obtain samples in more lighting environments.

[0086] In one embodiment, obtaining an image of the target to be detected after the virtual illumination changes includes the following steps:

[0087] For each point to be corrected (x i ,y i ,z i ) Calculate the illumination correction factor as follows:

[0088] I d =IK d (N·L)

[0089] In the formula, I d is the illumination correction factor, I is the external illumination (R I ,G I ,B I ), R I , G I , B I The value of K is between 0 and 1. d is the reflection coefficient (K r ,K g ,K b ), K r , K g , K b The value is between 0 and 1, N is the normalized normal vector of the point to be corrected, and L is the normalized vector of the virtual camera center (observation position).

[0090] The calculation process of the normalized normal vector N of the point to be corrected is as follows:

[0091] Get the point to be corrected (x i ,y i ,z i ) is used to perform plane fitting on the four points closest to it to obtain the plane AX+BY+CZ+D=0.

[0092] Get the normalized normal vector based on the fitted plane

[0093] The calculation process of the normalized vector L of the observation position is as follows:

[0094] Let the observed position and the point to be corrected (x i ,y i ,z i ) is d v , then the normalized vector of the observation position is

[0095] The calculated illumination correction factor I d and the point to be corrected (x i ,y i ,z i ) corresponding to the color component (r i ,g i ,b i ) and we get (I d r i ,I d g i ,I d b i ) as the point (x i ,y i ,z i ) after the virtual lighting changes.

[0096] Perform illumination correction on each point one by one to obtain a color point cloud data set after virtual illumination changes.

[0097] After obtaining the color point cloud data set after the virtual illumination change, the color point cloud data set after the virtual illumination change is input into the virtual camera model to obtain the image after the virtual illumination change. It should be noted that the process of inputting the color point cloud data set after the virtual illumination change into the virtual camera model to obtain the image is the same as the process of directly inputting the color point cloud data set into the virtual camera model to obtain the image, and the same focal length and posture as set in step 3 can be used, or the focal length and posture can be reset, which will not be repeated here.

[0098] Step 5: Based on the images obtained in step 3 and step 4, noise is added to obtain a new image. The noise here can be Gaussian noise and / or salt and pepper noise to expand the sample and make the sample more consistent with the image collected in the actual environment.

[0099] Step 6: Repeat steps 3 to 5 until a preset number of images are obtained as deep learning samples of the target to be detected.

[0100] This embodiment can obtain rich and realistic samples based on the point cloud data of the target to be detected by continuously changing the focal length and posture of the virtual camera, as well as the virtual lighting environment, thereby greatly simplifying the difficulty and cost of obtaining samples.

[0101] It should be noted that, according to actual needs, the obtained image can also be cropped, scaled, and other operations, for example, using the findContour function of opencv to obtain the image contour, the boundingRect function to obtain the minimum bounding rectangle of the contour, and the image is cropped to meet the size of the minimum bounding rectangle. Then the image is scaled according to the sample image size requirements.

[0102] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0103] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A deep learning sample generation method based on 3D point cloud, used to generate deep learning samples of a target to be detected in target detection, characterized in that: The deep learning sample generation method based on 3D point cloud includes: Step 1: Scan the target to be detected using a 3D scanner to obtain a color point cloud data set of the target to be detected, where each point in the color point cloud data set has a three-dimensional coordinate and a color component; Step 2: Build a virtual camera model, including: Construct the virtual camera model as follows: In the formula, Z c is the proportional constant, u and v are the pixel coordinates of the image, and f x 、f y is the focal length of the virtual camera, u0 and v0 are the coordinates of the optical center of the virtual camera, R is the rotation matrix of the virtual camera's posture relative to the world coordinate system, t is the translation matrix of the virtual camera's posture relative to the world coordinate system, and x w ,y w 、z w is the position of the point in the world coordinate system; The rotation matrix R is defined by the Euler angles (α, β, γ) as follows: In the formula, the angles of α, β, and γ are between 0 and 360; The translation matrix t can be expressed as: Where, t x ,t y ,t z is the coordinate of the center of the virtual camera in the world coordinate system; Step 3: Set the focal length and posture of the virtual camera, input each point in the color point cloud data set into the virtual camera model, obtain the pixel coordinates of each point, and generate an image output by the virtual camera model for the target to be detected; Step 4: Calculate the illumination correction coefficient, superimpose the illumination correction coefficient on the color component of the color point cloud data set, obtain the color point cloud data set after the virtual illumination change, input the points in the color point cloud data set after the virtual illumination change into the virtual camera model one by one, and obtain the image of the target to be detected after the virtual illumination change; Step 5: Based on the images obtained in step 3 and step 4, noise is added to obtain a new image; Step 6: Repeat steps 3 to 5 until a preset number of images are obtained as deep learning samples of the target to be detected.

2. The method for generating deep learning samples based on 3D point cloud according to claim 1, characterized in that: The scanning accuracy of the 3D scanner is not less than 1 mm.

3. The method for generating deep learning samples based on 3D point cloud according to claim 1, characterized in that: The step of inputting each point in the color point cloud data set into the virtual camera model to obtain the pixel coordinates of each point includes: The color point cloud data set is and Where (x i ,y i ,z i ) is the three-dimensional coordinate of point i, (r i ,g i ,b i ) is the color component of point i, and n is the number of points; The three-dimensional coordinates (x i ,y i ,z i ) as (x w ,y w ,z w ) is input into the virtual camera model to obtain the pixel coordinates (u i ,v i ), and the pixel coordinates (u i ,v i ) is the color component of point i (r i ,g i ,b i ); If multiple points in the color point cloud data set correspond to the same pixel coordinate, then the coordinates of the multiple points and the virtual camera center (t x ,t y ,t z ) and take the color component corresponding to the point with the smallest distance as the color of the pixel coordinates.

4. The method for generating deep learning samples based on 3D point cloud according to claim 3, characterized in that: The generating of the image output by the virtual camera model for the target to be detected comprises: Obtain the pixel coordinates of each point output by the virtual camera model and the color corresponding to each pixel coordinate to obtain an initial image; Traverse all pixel coordinates in the initial image to determine whether there are pixels with color 0. If not, output the initial image as the image of the target to be detected; otherwise, fill in the pixels with color 0, and output the image after color filling as the image of the target to be detected.

5. The method for generating deep learning samples based on 3D point cloud according to claim 4, characterized in that: The color filling of pixels with a color of 0 includes: Let the pixel coordinates of the pixel to be filled with color 0 be (u k ,v k ); Take the pixel coordinates (u k ,v k ) is the effective pixel θ{(u q ,v q ),-d≤u q -u k ≤d,-d≤v q -v k ≤d,(r q ,g q ,b q )≠0}, (u q ,v q ) is the pixel coordinate of the effective pixel, (r q ,g q ,b q ) is the color of the effective pixel; Calculate the pixel coordinates as (u k ,v k ) is filled with (r k ,g k ,b k ): Where, d qk is the effective pixel (u q ,v q ) and the pixel to be filled (u k ,v k ) between the two.

6. The method for generating deep learning samples based on 3D point cloud according to claim 1, characterized in that: The calculating of the illumination correction coefficient and superimposing the illumination correction coefficient on the color component of the color point cloud data set to obtain the color point cloud data set after the virtual illumination change includes: For each point to be corrected (x i ,y i ,z i ) Calculate the illumination correction factor as follows: I d =I d (N·L) In the formula, I d is the illumination correction factor, I is the external illumination (R I ,G I ,B I ), R I , G I , B I The value of K is between 0 and 1. d is the reflection coefficient (K r ,K g ,K b ), K r , K g , K b The value of is between 0 and 1, N is the normalized normal vector of the point to be corrected, and L is the normalized vector of the virtual camera center; The calculation process of the normalized normal vector N of the point to be corrected is as follows: Get the point to be corrected (x i ,y i ,z i ) plane fitting is performed on the four points closest to each other to obtain the plane AX+BY+CZ+D=0; Get the normalized normal vector based on the fitted plane The calculation process of the normalized vector L of the virtual camera center is as follows: Let the virtual camera center and the point to be corrected (x i ,y i ,z i ) is d v , then the normalized vector of the virtual camera center is The calculated illumination correction factor I d and the point to be corrected (x i ,y i ,z i ) corresponding to the color component (r i ,g i ,b i ) and we get (I d r i ,I d g i ,I d b i ) as the point (x i ,y i ,z i ) color after the virtual lighting changes; Perform illumination correction on each point one by one to obtain a color point cloud data set after virtual illumination changes.

7. The method for generating deep learning samples based on 3D point cloud according to claim 1, characterized in that: The noise is Gaussian noise and / or salt and pepper noise.

Citation Information

Patent Citations

  • Three-dimensional object model classification method based on multi-view image

    CN109635843A

  • Visual tracking and positioning method based on dense point cloud and composite view

    CN110853075A