CN112233039B - Three-dimensional laser point cloud denoising method based on domain point space characteristics - Google Patents

Three-dimensional laser point cloud denoising method based on domain point space characteristics Download PDF

Info

Publication number
CN112233039B
CN112233039B CN202011180578.1A CN202011180578A CN112233039B CN 112233039 B CN112233039 B CN 112233039B CN 202011180578 A CN202011180578 A CN 202011180578A CN 112233039 B CN112233039 B CN 112233039B
Authority
CN
China
Prior art keywords
point cloud
point
plane
cloud data
data set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011180578.1A
Other languages
Chinese (zh)
Other versions
CN112233039A (en
Inventor
章立峰
谢雄耀
方志斌
周彪
艾祖斌
李文强
翟俊莅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongji University
PowerChina Roadbridge Group Co Ltd
Original Assignee
Tongji University
PowerChina Roadbridge Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tongji University, PowerChina Roadbridge Group Co Ltd filed Critical Tongji University
Priority to CN202011180578.1A priority Critical patent/CN112233039B/en
Publication of CN112233039A publication Critical patent/CN112233039A/en
Application granted granted Critical
Publication of CN112233039B publication Critical patent/CN112233039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10028Range image; Depth image; 3D point clouds

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Optical Radar Systems And Details Thereof (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention provides a three-dimensional laser point cloud denoising method based on domain point space characteristics, which comprises the following steps: s1: reading and storing original data point clouds into an n-row 3-column point cloud data set O; s2: dividing the domain point and the target point P into subsets Q; s3: performing plane fitting on all point clouds in the subset Q; s4: translating the plane of the three-dimensional plane equation to a target point P along a normal vector to obtain a new space plane; s5: calculating the average distance d from the rest points in the subset Q except the target point P to the space plane, and storing as the 4 th column of the point cloud data set O, S6: traversing all points, and repeating the steps S2-S5; s7: and (4) counting the distribution characteristics of the data in the 4 th row, selecting a threshold value f according to the distribution range and the confidence interval, and keeping the point cloud data smaller than the threshold value f as a de-noised result. The three-dimensional laser point cloud denoising method based on the domain point space characteristics improves the denoising accuracy and efficiency.

Description

基于领域点空间特征的三维激光点云去噪方法A three-dimensional laser point cloud denoising method based on spatial features of domain points

技术领域technical field

本发明涉及土木建筑、测绘领域,尤其涉及一种基于领域点空间特征的三维激光点云去噪方法。The invention relates to the fields of civil engineering and surveying and mapping, in particular to a three-dimensional laser point cloud denoising method based on the spatial characteristics of field points.

背景技术Background technique

在隧道建设中,隧道变形监测作为保证施工安全及决定支护时间具有重要作用。然而由于传统的变形测量技术测量效率极低,只能获取少量布置的测点的变形数据,无法全面反映隧道的变形。需要通过三维激光进行全空间的监测工作,由于隧道中特殊环境,采集到的三维点云数据中包含大量由于扬尘等引起的噪点,过往对数据通过采用频率域滤波、经验判断进行去噪,去噪效果不佳,效率低下。In tunnel construction, tunnel deformation monitoring plays an important role in ensuring construction safety and determining support time. However, due to the extremely low measurement efficiency of traditional deformation measurement technology, deformation data of only a small number of measuring points can be obtained, which cannot fully reflect the deformation of the tunnel. It is necessary to use 3D laser to monitor the whole space. Due to the special environment in the tunnel, the collected 3D point cloud data contains a lot of noise caused by dust. In the past, the data was denoised by frequency domain filtering and empirical judgment. The noise effect is not good and the efficiency is low.

发明内容SUMMARY OF THE INVENTION

针对上述现有技术中的不足,本发明提供一种基于领域点空间特征的三维激光点云去噪方法,通过基于领域点空间特征的方法,提高去噪的准确度及效率。In view of the above deficiencies in the prior art, the present invention provides a three-dimensional laser point cloud denoising method based on the spatial features of domain points, which improves the accuracy and efficiency of denoising through the method based on spatial features of domain points.

为了实现上述目的,本发明提供一种基于领域点空间特征的三维激光点云去噪方法,包括步骤:In order to achieve the above purpose, the present invention provides a three-dimensional laser point cloud denoising method based on the spatial characteristics of domain points, comprising the steps of:

S1:将原始数据点云读入并存储为n行3列点云数据集O,n为大于等于1的自然数;S1: Read and store the original data point cloud as a point cloud dataset O with n rows and 3 columns, where n is a natural number greater than or equal to 1;

S2:选择所述点云数据集O中的一目标点P(xp,yp,zp),xp、yp和zp分别为所述目标点P的x轴、y轴和z轴的坐标值;利用knn算法检索所述点云数据集O中距离该点距离最近的k个领域点(k≥3),将所述领域点及所述目标点P划分为一个子集Q;S2: Select a target point P (x p , y p , z p ) in the point cloud data set O, where x p , y p and z p are the x-axis, y-axis and z of the target point P, respectively The coordinate value of the axis; use the knn algorithm to retrieve the k domain points (k≥3) closest to the point in the point cloud data set O, and divide the domain points and the target point P into a subset Q ;

S3:对所述子集Q中所有点云进行平面拟合,得到三维平面方程:S3: Perform plane fitting on all point clouds in the subset Q to obtain a three-dimensional plane equation:

Ax+By+Cz+D=0 (1);Ax+By+Cz+D=0 (1);

其中A、B、C分别是平面法向量在x,y,z方向上的投影分量,D为常数项;where A, B, and C are the projection components of the plane normal vector in the x, y, and z directions, respectively, and D is a constant term;

S4:将所述三维平面方程的平面沿法向量平移至所述目标点P处得到新的空间平面,所述空间平面的公式为:S4: Translate the plane of the three-dimensional plane equation to the target point P along the normal vector to obtain a new space plane, and the formula of the space plane is:

Ax+By+Cz+D′=0 (2);Ax+By+Cz+D′=0 (2);

其中,D′=-(Axp+Byp+Czp) (3);Wherein, D′=-(Ax p +By p +Cz p ) (3);

S5:计算所述子集Q中除所述目标点P外其余点到所述空间平面的平均距离d,并保存为所述点云数据集O的第4列:S5: Calculate the average distance d from the other points in the subset Q except the target point P to the spatial plane, and save it as the fourth column of the point cloud data set O:

Figure BDA0002750019050000021
Figure BDA0002750019050000021

S6:遍历所述点云数据集O中所有点,重复S2~S5步骤,此时所述点云数据集O为n行4列;S6: Traverse all the points in the point cloud data set O, repeat steps S2 to S5, at this time the point cloud data set O is n rows and 4 columns;

S7:统计所述点云数据集O第4列数据的分布特征,根据所述点云数据集O第4列数据的分布范围和置信区间选择阈值f,保留所述第4列数据小于所述阈值f的点云数据为去噪后结果。S7: Count the distribution characteristics of the data in the fourth column of the point cloud data set O, select a threshold f according to the distribution range and confidence interval of the data in the fourth column of the point cloud data set O, and keep the data in the fourth column smaller than the The point cloud data with threshold f is the result after denoising.

本发明由于采用了以上技术方案,使其具有以下有益效果:The present invention has the following beneficial effects due to the adoption of the above technical solutions:

本发明的基于领域点空间特征的三维激光点云去噪方法,可以快速快速地去除三维点云数据中的噪音点,为隧道三维监测提供依据,在隧道监测中有很好的应用前景。The three-dimensional laser point cloud denoising method based on the spatial feature of the domain point of the present invention can quickly and quickly remove the noise points in the three-dimensional point cloud data, provides a basis for the three-dimensional monitoring of the tunnel, and has a good application prospect in the tunnel monitoring.

附图说明Description of drawings

图1为本发明实施例的基于领域点空间特征的三维激光点云去噪方法的流程图;1 is a flowchart of a method for denoising a three-dimensional laser point cloud based on spatial features of domain points according to an embodiment of the present invention;

图2为本发明实施例的去噪前点云中所有点法向量分布特征图;2 is a feature map of the normal vector distribution of all points in a point cloud before denoising according to an embodiment of the present invention;

图3为本发明实施例的去噪后点云法向量分布特征图。FIG. 3 is a characteristic diagram of the normal vector distribution of a point cloud after denoising according to an embodiment of the present invention.

具体实施方式Detailed ways

下面根据附图1~图3,给出本发明的较佳实施例,并予以详细描述,使能更好地理解本发明的功能、特点。The preferred embodiments of the present invention are given and described in detail below according to the accompanying drawings 1 to 3 , so that the functions and characteristics of the present invention can be better understood.

请参阅图1,本发明实施例的一种基于领域点空间特征的三维激光点云去噪方法,包括步骤:Referring to FIG. 1, a method for denoising a 3D laser point cloud based on spatial features of domain points according to an embodiment of the present invention includes steps:

S1:将原始数据点云读入并存储为n行3列点云数据集O,n为大于等于1的自然数;S1: Read and store the original data point cloud as a point cloud dataset O with n rows and 3 columns, where n is a natural number greater than or equal to 1;

S2:选择点云数据集O中的一目标点P(xp,yp,zp),xp、yp和zp分别为目标点P的x轴、y轴和z轴的坐标值;利用knn算法检索点云数据集O中距离该点距离最近的k个领域点(k≥3),将领域点及目标点P划分为一个子集Q;S2: Select a target point P (x p , y p , z p ) in the point cloud data set O, where x p , y p and z p are the coordinate values of the x-axis, y-axis and z-axis of the target point P, respectively ;Use the knn algorithm to retrieve the k domain points (k≥3) closest to the point in the point cloud data set O, and divide the domain points and the target point P into a subset Q;

S3:对子集Q中所有点云进行平面拟合,得到三维平面方程:S3: Perform plane fitting on all point clouds in the subset Q to obtain the three-dimensional plane equation:

Ax+By+Cz+D=0 (1);Ax+By+Cz+D=0 (1);

其中A、B、C分别是平面法向量在x,y,z方向上的投影分量,D为常数项;where A, B, and C are the projection components of the plane normal vector in the x, y, and z directions, respectively, and D is a constant term;

S4:将三维平面方程的平面沿法向量平移至目标点P处得到新的空间平面,空间平面的公式为:S4: Translate the plane of the three-dimensional plane equation to the target point P along the normal vector to obtain a new space plane. The formula of the space plane is:

Ax+By+Cz+D′=0 (2);Ax+By+Cz+D′=0 (2);

其中,D′=-(Axp+Byp+Czp) (3);Wherein, D′=-(Ax p +By p +Cz p ) (3);

S5:计算子集Q中除目标点P外其余点到空间平面的平均距离d,并保存为点云数据集O的第4列:S5: Calculate the average distance d of the remaining points in the subset Q except the target point P to the spatial plane, and save it as the fourth column of the point cloud data set O:

Figure BDA0002750019050000031
Figure BDA0002750019050000031

S6:遍历点云数据集O中所有点,重复S2~S5步骤,此时点云数据集O为n行4列;S6: Traverse all the points in the point cloud data set O, and repeat steps S2 to S5. At this time, the point cloud data set O is n rows and 4 columns;

S7:统计点云数据集O第4列数据的分布特征,根据点云数据集O第4列数据的分布范围和置信区间选择阈值f,保留第4列数据小于阈值f的点云数据为去噪后结果。S7: Count the distribution characteristics of the data in the fourth column of the point cloud data set O, select the threshold f according to the distribution range and confidence interval of the data in the fourth column of the point cloud data set O, and keep the point cloud data whose data in the fourth column is less than the threshold f as the The result after noise.

本发明实施例的一种基于领域点空间特征的三维激光点云去噪方法,通过计算与统计点云空间中所有点的领域点到其拟合面的平均距离为参数,根据统计结果设置阈值,去除噪音点,达到三维激光点云数据自动化去噪的效果。A method for denoising a 3D laser point cloud based on spatial features of domain points according to an embodiment of the present invention, by calculating the average distance from the domain points of all points in the point cloud space to the fitting surface as a parameter, and setting a threshold according to the statistical results , remove noise points, and achieve the effect of automatic denoising of 3D laser point cloud data.

具体实施时,首先任意选点作为目标点,继而检索其领域点,形成空间子集。通过对空间子集类的点进行平面拟合,获得平面,并将平面沿平面法向量方向平移至目标点处。计算领域点到平面的平均距离。遍历点云中所有点并重复以上步骤,获得各点领域点到平面平均距离的统计特征,然后根据统计特征,设置去噪阈值进行去噪。In the specific implementation, firstly, any point is selected as the target point, and then its domain points are retrieved to form a spatial subset. By performing plane fitting on the points of the spatial subset class, the plane is obtained, and the plane is translated to the target point along the plane's normal vector direction. Calculates the average distance from the domain point to the plane. Traverse all the points in the point cloud and repeat the above steps to obtain the statistical characteristics of the average distance from each point in the field to the plane, and then set the denoising threshold for denoising according to the statistical characteristics.

通过对比图2和图3,可见,经过去噪,分布的集中性更加明显,噪音干扰明显降低。By comparing Figure 2 and Figure 3, it can be seen that after denoising, the concentration of the distribution is more obvious, and the noise interference is significantly reduced.

以上结合附图实施例对本发明进行了详细说明,本领域中普通技术人员可根据上述说明对本发明做出种种变化例。因而,实施例中的某些细节不应构成对本发明的限定,本发明将以所附权利要求书界定的范围作为本发明的保护范围。The present invention has been described in detail above with reference to the embodiments of the accompanying drawings, and those skilled in the art can make various modifications to the present invention according to the above description. Therefore, some details in the embodiments should not be construed to limit the present invention, and the present invention will take the scope defined by the appended claims as the protection scope of the present invention.

Claims (1)

1.一种基于领域点空间特征的三维激光点云去噪方法,包括步骤:1. A three-dimensional laser point cloud denoising method based on domain point space features, comprising the steps of: S1:将原始数据点云读入并存储为n行3列点云数据集O,n为大于等于1的自然数;S1: Read and store the original data point cloud as a point cloud dataset O with n rows and 3 columns, where n is a natural number greater than or equal to 1; S2:选择所述点云数据集O中的一目标点P(xp,yp,zp),xp、yp和zp分别为所述目标点P的x轴、y轴和z轴的坐标值;利用knn算法检索所述点云数据集O中距离该点距离最近的k个领域点, k≥3,将所述领域点及所述目标点P划分为一个子集Q;S2: Select a target point P (x p , y p , z p ) in the point cloud data set O, where x p , y p and z p are the x-axis, y-axis and z of the target point P, respectively The coordinate value of the axis; use the knn algorithm to retrieve the k field points closest to the point in the point cloud data set O, k≥3, and divide the field points and the target point P into a subset Q; S3:对所述子集Q中所有点云进行平面拟合,得到三维平面方程:S3: Perform plane fitting on all point clouds in the subset Q to obtain a three-dimensional plane equation: Ax+By+Cz+D=0 (1);Ax+By+Cz+D=0 (1); 其中A、B、C分别是平面法向量在x,y,z方向上的投影分量,D为常数项;where A, B, and C are the projection components of the plane normal vector in the x, y, and z directions, respectively, and D is a constant term; S4:将所述三维平面方程的平面沿法向量平移至所述目标点P处得到新的空间平面,所述空间平面的公式为:S4: Translate the plane of the three-dimensional plane equation to the target point P along the normal vector to obtain a new space plane, and the formula of the space plane is: Ax+By+Cz+D′=0 (2);Ax+By+Cz+D′=0 (2); 其中,D′=-(Axp+Byp+Czp) (3);Wherein, D′=-(Ax p +By p +Cz p ) (3); S5:计算所述子集Q中除所述目标点P外其余点到所述空间平面的平均距离d,并保存为所述点云数据集O的第4列:S5: Calculate the average distance d from the remaining points in the subset Q to the spatial plane except the target point P, and save it as the fourth column of the point cloud data set O:
Figure FDA0002750019040000011
Figure FDA0002750019040000011
S6:遍历所述点云数据集O中所有点,重复S2~S5步骤,此时所述点云数据集O为n行4列;S6: Traverse all the points in the point cloud data set O, repeat steps S2 to S5, at this time the point cloud data set O is n rows and 4 columns; S7:统计所述点云数据集O第4列数据的分布特征,根据所述点云数据集O第4列数据的分布范围和置信区间选择阈值f,保留所述第4列数据小于所述阈值f的点云数据为去噪后结果。S7: Count the distribution characteristics of the data in the fourth column of the point cloud data set O, select a threshold f according to the distribution range and confidence interval of the data in the fourth column of the point cloud data set O, and keep the data in the fourth column smaller than the The point cloud data with threshold f is the result after denoising.
CN202011180578.1A 2020-10-29 2020-10-29 Three-dimensional laser point cloud denoising method based on domain point space characteristics Active CN112233039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011180578.1A CN112233039B (en) 2020-10-29 2020-10-29 Three-dimensional laser point cloud denoising method based on domain point space characteristics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011180578.1A CN112233039B (en) 2020-10-29 2020-10-29 Three-dimensional laser point cloud denoising method based on domain point space characteristics

Publications (2)

Publication Number Publication Date
CN112233039A CN112233039A (en) 2021-01-15
CN112233039B true CN112233039B (en) 2022-09-13

Family

ID=74109876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011180578.1A Active CN112233039B (en) 2020-10-29 2020-10-29 Three-dimensional laser point cloud denoising method based on domain point space characteristics

Country Status (1)

Country Link
CN (1) CN112233039B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114494075A (en) * 2022-02-14 2022-05-13 北京路凯智行科技有限公司 Obstacle identification method based on three-dimensional point cloud, electronic device and storage medium
CN116416158B (en) * 2023-03-24 2025-10-03 国网重庆市电力公司电力科学研究院 Three-dimensional laser point cloud noise reduction method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105844600A (en) * 2016-04-27 2016-08-10 北京航空航天大学 Space target three-dimensional point cloud smooth denoising method
CN108846809A (en) * 2018-05-28 2018-11-20 河海大学 A kind of noise eliminating method towards point off density cloud

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2559157A (en) * 2017-01-27 2018-08-01 Ucl Business Plc Apparatus, method and system for alignment of 3D datasets

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105844600A (en) * 2016-04-27 2016-08-10 北京航空航天大学 Space target three-dimensional point cloud smooth denoising method
CN108846809A (en) * 2018-05-28 2018-11-20 河海大学 A kind of noise eliminating method towards point off density cloud

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于APOCS的点云去噪算法;李刚森等;《智能计算机与应用》;20180828(第04期);全文 *
基于点云场景特征配准的构筑物形变监测;陈微;《中国优秀硕士学位论文全文数据库信息科技辑》;20200215;全文 *

Also Published As

Publication number Publication date
CN112233039A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN109934120B (en) A step-by-step point cloud noise removal method based on spatial density and clustering
CN109978901B (en) Quick and accurate circular detection and circle center positioning method
CN102930509B (en) Intelligent filtering method for airborne laser point cloud data
CN112651889A (en) Fusion filtering method suitable for SLAM point cloud denoising, electronic device and storage medium
CN104616349B (en) Scattered point cloud data based on local surface changed factor simplifies processing method
CN112233039B (en) Three-dimensional laser point cloud denoising method based on domain point space characteristics
CN112926465B (en) Coastline property identification method and device based on point cloud type
CN102419794A (en) Rapid filtering method for airborne laser point cloud data
CN108896040A (en) Sky sea integrated water diving device inertia/gravity Combinated navigation method and system
WO2019242045A1 (en) Method for calculating virtual source two-dimensional wavefront construction seismic wave travel time
CN108647261B (en) Global contour line drawing method based on meteorological data discrete point gridding processing
CN118736153B (en) Method, device, equipment and medium for calculating geological occurrence information based on point cloud
CN114742838A (en) Voxelization plane segmentation method based on clustering algorithm
CN111598941A (en) A method, device, equipment and storage medium for measuring the inclination of a tower
CN112017290A (en) Conical surface fitting method and device, computer equipment and storage medium
CN113836484A (en) Self-adaptive point cloud rarefying method based on path point adjacent domain and ground filtering
CN105807323B (en) A kind of method for determining magnetic target position using small subdomain recognizer
CN110068860B (en) A time-lapse seismic data processing method, device and system
CN118551248B (en) Spatial data clustering method, system, equipment and medium with vertical anisotropy
CN117874421B (en) A method, device, electronic device and storage medium for reducing noise of ocean gravity data
CN119128366A (en) An adaptive three-dimensional gravity inversion method, medium and system
CN115356784A (en) Generalized minimum residual large-depth potential field downward continuation method for self-adaptive damping coefficient
CN111999267B (en) Particle average extinction efficiency factor fitting method and device
CN113866834A (en) An Inversion Method of Field Source Center Position Based on Entropy Filtering
CN113343182A (en) Theoretical spectral data optimization method and system, electronic equipment and measurement method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant