CN102945551A - Graph theory based three-dimensional point cloud data plane extracting method - Google Patents

Graph theory based three-dimensional point cloud data plane extracting method Download PDF

Info

Publication number
CN102945551A
CN102945551A CN2012103938876A CN201210393887A CN102945551A CN 102945551 A CN102945551 A CN 102945551A CN 2012103938876 A CN2012103938876 A CN 2012103938876A CN 201210393887 A CN201210393887 A CN 201210393887A CN 102945551 A CN102945551 A CN 102945551A
Authority
CN
China
Prior art keywords
normal vector
plane
point cloud
dimensional point
graph
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.)
Granted
Application number
CN2012103938876A
Other languages
Chinese (zh)
Other versions
CN102945551B (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
Original Assignee
Tongji University
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 filed Critical Tongji University
Priority to CN201210393887.6A priority Critical patent/CN102945551B/en
Publication of CN102945551A publication Critical patent/CN102945551A/en
Application granted granted Critical
Publication of CN102945551B publication Critical patent/CN102945551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention relates to a graph theory based three-dimensional point cloud data plane extracting method, which comprises the following steps: firstly constructing a graph, corresponding each vertex in the graph to a data point in the three-dimensional point cloud, and calculating out the borders of the graph through a k-nearest neighbor method; at the same time, using a weighted partial plane fitting method to calculate plane normal vectors of each point; then, calculating the weighted value corresponding to each border, namely a difference value of the normal vectors of two vertexes corresponding to each border, and assigning an initial threshold value to each vertex in the graph; as for each border in the graph, if the difference value of the normal vectors is not larger than any one of the two regional threshold values, combining the two regions, wherein the threshold value of the new region is equal to the difference value of the normal vectors plus the initial value and dividing quantity of data points in the new region; and at last, as for each region, if the quantity of the data points is larger than the set threshold value, then determining that the region is a plane. Compared with the prior art, the method has the advantages of high plane extracting precision and strong noise interference prevention performance.

Description

A kind of three dimensional point cloud plane extracting method based on graph theory
Technical field
The present invention relates to a kind of Processing Method of Point-clouds, especially relate to a kind of three dimensional point cloud plane extracting method based on graph theory.
Background technology
Semantic map is the long-term objective that the mobile robot understands environment, and indoor environment comprises a lot of planes usually simultaneously, so it is the condition precedent that makes up semantic map, understands environment that plane extraction or plane are cut apart.As a rule, the plane extraction is the problem from one group of three-dimensional point centralized detecting plane.At present, the common method that extract on the plane is based on the method for plane mathematical model, such as stochastic sampling consistance (RANdom SAmple Consensus, RANSAC) method and hough transform method (Hough Transform Method), these methods can be extracted the plane that meets the plane mathematical model from three dimensional point cloud, but can't determine whether this plane is present in the actual scene really.In addition, also have region growing method (Region Growing Method), data clustering method etc., these methods can not well be processed the noise in the three dimensional point cloud.
Furniture in the indoor environment, such as chair, desk etc., it is indispensable understanding environment for the mobile robot, and these objects are often comprising the less plane of area that is not easy to be detected.During larger plane in detecting scene, such as wall, ceiling etc., these local facets often are left in the basket.So in order to understand better environment, need to extract local facet.Simultaneously, because inevitable noise in the inherent physical limitation of video camera and the data acquisition, usually contain noise, exterior point and cavity in the three-dimensional point cloud, because the existence of noise and have the limitation of areal model method in the data, has certain challenge so that extract than facet and high precision plane.
Summary of the invention
Purpose of the present invention is exactly to provide a kind of three dimensional point cloud plane extracting method based on graph theory for the defective that overcomes above-mentioned prior art existence, the method utilization figure (Graph) expression three dimensional point cloud and between relation, merge adjacent zone according to the limit on the figure, all planes in the three-dimensional point cloud can be extracted, comprise the plane that area is less; The plane of extracting simultaneously has very high precision.
Purpose of the present invention can be achieved through the following technical solutions:
A kind of three dimensional point cloud plane extracting method based on graph theory, the method comprises:
1) make up a non-directed graph G=(V, E), the summit in the V presentation graphs wherein, each summit represents a data point in the three-dimensional point cloud, and E represents the limit between adjacent two points, calculates by the k nearest neighbor algorithm;
2) adopt in the weight part plan approximating method Calculation of Three Dimensional point cloud each to put namely normal vector corresponding to each summit among the figure;
3) every weighted value that the limit is corresponding in the calculating chart, i.e. the normal vector difference on two summits corresponding to every limit, and the weighted value ascending order is pressed on all limits arrange; Simultaneously, compose an initial threshold for each summit among the figure;
4) to each the bar limit on the figure, if corresponding two summits are not or not same zone, calculate so the normal vector difference in two zones, if this normal vector difference is not more than in two region threshold any one, merge two zones, and the threshold value of new region equals the normal vector difference and adds that initial threshold is divided by the size of new region;
5) for each zone, if the data point number thinks then that greater than the threshold value of setting this zone is a plane.
Described step 2) be specially:
If one group of cloud data P={p 1, p 2..., p nContaining n point, each puts p i=(p Ix, p Iy, p Iz) TThe k neighborhood be Q i={ q I1, q I2, q Ik, use T iExpression point p iTangent plane, then have:
Figure BDA00002261546200021
Wherein, n i=(n Ix, n Iy, n Iz) be at a p iTangent plane T iNormal vector, d iTo tangent plane T from true origin iDistance,
Figure BDA00002261546200022
Weighting function, and
Figure BDA00002261546200023
By introducing Lagrange multiplier, obtain normal vector n iBe matrix
Figure BDA00002261546200024
Minimal eigenvalue characteristic of correspondence vector, wherein,
Figure BDA00002261546200025
Generate according to Gaussian function:
Figure BDA00002261546200026
σ is zooming parameter, σ=ρ r Max, r MaxP iMaximum radius in the some k neighborhood scope, ρ is the convergent-divergent constant.
Described step 3) formula that calculates weighted value corresponding to every limit in is
w(v i,v j)=α(1-|n i·n j|)
Wherein, w ((v i, v j)) be every limit (v among the non-directed graph G=(V, E) i, v j) corresponding weights, v iAnd v jBe two summits on this limit, these weights represent the similarity on two summits; n i, n jBe respectively vertex v i, v jNormal vector, α is amplification coefficient.
Described step 4) be specially:
With two vertex v on every limit i, v jRespectively as two regional S i, S j, and two normal vectors corresponding to zone are respectively
Figure BDA00002261546200031
Figure BDA00002261546200032
If there is w (S i, S j)≤T (S i, S j), then same zone is merged in these two zones, wherein, w (S i, S j) two adjacent area S iAnd S jThe normal vector difference, w ( S i , S j ) = α ( 1 - | n s i · n s j | ) , T (S i, S j) be threshold function table,
T(S i,S j)=max(H(S i)+θ(S i),H(S j)+θ(S j))
H (S) is respectively the normal vector difference in two zones that merge regional S, the adjustment function of θ (S) expression and the inversely proportional relation of area size,
Figure BDA00002261546200034
β is the initial threshold on each summit, also is the maximum similarity that can merge two summits, | S| is the size of regional S.
Compared with prior art, the present invention has the following advantages:
1) the inventive method is utilized graph theory to merge adjacent zone and is extracted plane in the three dimensional point cloud, can improve the precision that extract on the plane, and avoiding extracting only has mathematical meaning and non-existent plane in the actual scene;
2) the inventive method can be extracted all planes in the scene, and particularly the less plane of some areas can not be left in the basket because of the noise of three dimensional point cloud.
Embodiment
The present invention is described in detail below in conjunction with specific embodiment.
Embodiment
A kind of three dimensional point cloud plane extracting method based on graph theory, the method at first makes up a figure, a data point in each summit corresponding three-dimensional points cloud among the figure, the limit on the figure calculates by k neighbour (K-Nearest Neighbor, KNN) algorithm; Simultaneously, the planar process of each some vector in the Calculation of Three Dimensional point cloud, the present embodiment use a kind of weight part plan approximating method to estimate the planar process vector of each point.
Then, every weighted value that the limit is corresponding in the calculating chart, i.e. the normal vector difference on two summits corresponding to every limit, and the weighted value ascending order is pressed on all limits arrange, the limit that the normal vector difference is less like this will come the front; Simultaneously, compose an initial threshold for each summit among the figure.
Then, to each the bar limit on the figure, if corresponding two summits are not or not same zone, calculate so the normal vector difference in two zones, if this normal vector difference is not more than in two region threshold any one, merge two zones, and the threshold value of new region equals the normal vector difference and adds that initial threshold is divided by the size (number of new region data point) of new region.
At last, for each zone, if number of data points thinks then that greater than the threshold value of setting this zone is a plane.
The concrete steps of the present embodiment method comprise:
1) make up a non-directed graph G=(V, E), the summit in the V presentation graphs wherein, each summit represents a data point in the three-dimensional point cloud, and E represents the limit between adjacent two points.
2) adopt normal vector corresponding to each point in the weight part plan approximating method Calculation of Three Dimensional point cloud:
One group of cloud data P={p 1, p 2..., p nContaining n point, each puts p i=(p Ix, p Iy, p Iz) TThe k neighborhood be Q i={ q I1, q I2..., q Ik, use T iExpression point p iTangent plane, then have:
Figure BDA00002261546200041
Wherein, n i=(n Ix, n Iy, n Iz) be at a p iTangent plane T iNormal vector, d iTo tangent plane T from true origin iDistance,
Figure BDA00002261546200042
Weighting function, and
Figure BDA00002261546200043
With function f (n i, d i) represent T (n i, d i) polynomial expression, the normal vector problem can be expressed as:
s . t . n i T n i = 1
Wherein,
Figure BDA00002261546200046
Define a Lagrangian function l (n i, d i, λ), represent Lagrange multiplier with λ, then have:
l ( n i , d i , λ ) = f ( n i , d i ) + λ ( 1 - n i T n i )
Pass through partial differential equation: ∂ ∂ d i l ( n i , d i , λ ) = 0 With ∂ ∂ n i l ( n i , d i , λ ) = 0 , Can obtain
Figure BDA00002261546200051
Figure BDA00002261546200052
f(n i,d i)=λ
Normal vector n iBe matrix
Figure BDA00002261546200053
Minimal eigenvalue characteristic of correspondence vector,
Wherein,
Figure BDA00002261546200054
Generate according to Gaussian function: σ is zooming parameter, σ=ρ r Max, r MaxP iMaximum radius in the some k neighborhood scope, ρ is the convergent-divergent constant.
3) every limit (v among the calculating non-directed graph G=(V, E) i, v j) corresponding weight w ((v i, v j)), v iAnd v jBe two summits on this limit, these weights represent the normal vector difference on two summits:
w(v i,v j)=α(1-|n i·n j|)
n i, n jBe respectively vertex v i, v jNormal vector, α is amplification coefficient.
4) arrange by ascending order on all limits among the large young pathbreaker E according to corresponding weights.
5) with two vertex v on every limit i, v jRespectively as two regional S i, S j, and two normal vectors corresponding to zone are respectively
Figure BDA00002261546200056
For the normal vector more than the zone of a point, the normal vector that the present embodiment adopts this zone initially to merge time point represents the normal vector that this is regional, if there is w (S i, S j)≤T (S i, S j), then same zone is merged in these two zones, wherein, w (S i, S j) two adjacent area S iAnd S jThe normal vector difference, w ( S i , S j ) = α ( 1 - | n s i · n s j | ) , T (S i, S j) be threshold function table,
T(S i,S j)=max(H(S i)+θ(S i),H(S j)+θ(S j))
H (S) is respectively the normal vector difference in two zones that merge regional S, the adjustment function of θ (S) expression and the inversely proportional relation of area size,
Figure BDA00002261546200061
β is the initial threshold on each summit, also is the maximum similarity that can merge two summits, | S| is the size of regional S.Normal vector difference and area size when the threshold value that obtains like this can merge according to every sub-region are regulated automatically, and when the normal vector difference in two zones is less, the merging threshold value in the corresponding new zone that merges is also corresponding less; Simultaneously, region area is larger, and then the threshold value increment diminishes relatively.
6) through after the above-mentioned steps, most three dimensional point cloud all can be assigned to a zone number, to each zone, if the data point number in should the zone is greater than the threshold value of setting, be a plane with this extracted region then, filter out the plane that the data point number does not reach requirement.

Claims (4)

1. the three dimensional point cloud plane extracting method based on graph theory is characterized in that, the method comprises:
1) make up a non-directed graph G=(V.E), the summit in the V presentation graphs wherein, each summit represents a data point in the three-dimensional point cloud, and E represents the limit between adjacent two points, calculates by the k nearest neighbor algorithm;
2) adopt in the weight part plan approximating method Calculation of Three Dimensional point cloud each to put namely normal vector corresponding to each summit among the figure;
3) every weighted value that the limit is corresponding in the calculating chart, i.e. the normal vector difference on two summits corresponding to every limit, and the weighted value ascending order is pressed on all limits arrange; Simultaneously, compose an initial threshold for each summit among the figure;
4) to each the bar limit on the figure, if corresponding two summits are not or not same zone, calculate so the normal vector difference in two zones, if this normal vector difference is not more than in two region threshold any one, merge two zones, and the threshold value of new region equals the normal vector difference and adds that initial threshold is divided by the size of new region;
5) for each zone, if the data point number thinks then that greater than the threshold value of setting this zone is a plane.
2. a kind of three dimensional point cloud plane extracting method based on graph theory according to claim 1 is characterized in that described step 2) be specially:
If one group of cloud data P={p 1, p 2..., p nContaining n point, each puts p i=(p Ix, p Iy, p Iz) TThe k neighborhood be Q i={ q I1, q I2..., q Ik, use T iExpression point p 1Tangent plane, then have:
Figure FDA00002261546100011
Wherein, n i=(n Ix, n Iy, n Iz) be at a p iTangent plane T iNormal vector, d iTo tangent plane T from true origin iDistance,
Figure FDA00002261546100012
Weighting function, and | | P j - P i | | = ( P j - P i ) T ( p j - p i ) ;
By introducing Lagrange multiplier, obtain normal vector n iBe matrix
Figure FDA00002261546100014
Minimal eigenvalue characteristic of correspondence vector, wherein,
Figure FDA00002261546100015
Generate according to Gaussian function:
Figure FDA00002261546100016
σ is zooming parameter, σ=ρ r Max, r MaxP iMaximum radius in the some k neighborhood scope, ρ is the convergent-divergent constant.
3. a kind of three dimensional point cloud plane extracting method based on graph theory according to claim 2 is characterized in that described step 3) in calculate weighted value corresponding to every limit formula be
w(v i,v j)=α(1-|n i·n j|)
Wherein, w ((v i, v j)) be every limit (v among the non-directed graph G=(V, E) i, v j) corresponding weights, v iAnd v jBe two summits on this limit, these weights represent the similarity on two summits; n i, n jBe respectively vertex v i, v jNormal vector, α is amplification coefficient.
4. a kind of three dimensional point cloud plane extracting method based on graph theory according to claim 3 is characterized in that described step 4) be specially:
With two vertex v on every limit i, v jRespectively as two regional S i, S j, and two normal vectors corresponding to zone are respectively
Figure FDA00002261546100021
Figure FDA00002261546100022
If there is w (S i, S j)≤T (S i, S j), then same zone is merged in these two zones, wherein, w (S i, S j) two adjacent area S iAnd S jThe normal vector difference, w ( S i , S j ) = α ( 1 - | n s i · n s j | ) , T (S i, S j) be threshold function table,
T(S i,S j)=max(H(S i)+θ(S j),H(S j)+θ(S j))
H (S) is respectively the normal vector difference in two zones that merge regional S, the adjustment function of θ (S) expression and the inversely proportional relation of area size,
Figure FDA00002261546100024
β is the initial threshold on each summit, also is the maximum similarity that can merge two summits, | S| is the size of regional S.
CN201210393887.6A 2012-10-16 2012-10-16 Graph theory based three-dimensional point cloud data plane extracting method Active CN102945551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210393887.6A CN102945551B (en) 2012-10-16 2012-10-16 Graph theory based three-dimensional point cloud data plane extracting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210393887.6A CN102945551B (en) 2012-10-16 2012-10-16 Graph theory based three-dimensional point cloud data plane extracting method

Publications (2)

Publication Number Publication Date
CN102945551A true CN102945551A (en) 2013-02-27
CN102945551B CN102945551B (en) 2015-02-18

Family

ID=47728489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210393887.6A Active CN102945551B (en) 2012-10-16 2012-10-16 Graph theory based three-dimensional point cloud data plane extracting method

Country Status (1)

Country Link
CN (1) CN102945551B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679343A (en) * 2013-11-21 2014-03-26 上海翔翔信息科技有限公司 Digitalized campus system
CN103761725A (en) * 2013-09-27 2014-04-30 北京理工大学 Video plane detection method based on improved algorithm
CN104103035A (en) * 2013-04-15 2014-10-15 深圳先进技术研究院 Three-dimensional model scaling method
CN105096376A (en) * 2014-04-30 2015-11-25 联想(北京)有限公司 Information processing method and electronic device
CN106202671A (en) * 2016-07-01 2016-12-07 长江勘测规划设计研究有限责任公司 A kind of Full Parameterized sets up the method for prestressed strand model
CN106355585A (en) * 2016-08-31 2017-01-25 上海交通大学 Image shape segmenting method based on approximate convexity analysis
CN107464258A (en) * 2017-07-28 2017-12-12 南京华捷艾米软件科技有限公司 A kind of method that three-dimensional planar is extracted from image
CN108453439A (en) * 2018-03-14 2018-08-28 清华大学天津高端装备研究院洛阳先进制造产业研发基地 The robot welding track self-programming system and method for view-based access control model sensing
CN108629315A (en) * 2018-05-07 2018-10-09 河海大学 A kind of more plane recognition methods for three-dimensional point cloud

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751695A (en) * 2008-12-10 2010-06-23 中国科学院自动化研究所 Estimating method of main curvature and main direction of point cloud data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751695A (en) * 2008-12-10 2010-06-23 中国科学院自动化研究所 Estimating method of main curvature and main direction of point cloud data

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104103035A (en) * 2013-04-15 2014-10-15 深圳先进技术研究院 Three-dimensional model scaling method
CN104103035B (en) * 2013-04-15 2017-12-05 深圳先进技术研究院 The Zoom method of threedimensional model
CN103761725A (en) * 2013-09-27 2014-04-30 北京理工大学 Video plane detection method based on improved algorithm
CN103761725B (en) * 2013-09-27 2016-08-17 北京理工大学 A kind of video plane detection method based on innovatory algorithm
CN103679343A (en) * 2013-11-21 2014-03-26 上海翔翔信息科技有限公司 Digitalized campus system
CN105096376A (en) * 2014-04-30 2015-11-25 联想(北京)有限公司 Information processing method and electronic device
CN106202671B (en) * 2016-07-01 2019-11-29 长江勘测规划设计研究有限责任公司 A kind of method that Full Parameterized establishes prestressed strand model
CN106202671A (en) * 2016-07-01 2016-12-07 长江勘测规划设计研究有限责任公司 A kind of Full Parameterized sets up the method for prestressed strand model
CN106355585A (en) * 2016-08-31 2017-01-25 上海交通大学 Image shape segmenting method based on approximate convexity analysis
CN107464258A (en) * 2017-07-28 2017-12-12 南京华捷艾米软件科技有限公司 A kind of method that three-dimensional planar is extracted from image
CN108453439A (en) * 2018-03-14 2018-08-28 清华大学天津高端装备研究院洛阳先进制造产业研发基地 The robot welding track self-programming system and method for view-based access control model sensing
CN108629315A (en) * 2018-05-07 2018-10-09 河海大学 A kind of more plane recognition methods for three-dimensional point cloud
CN108629315B (en) * 2018-05-07 2020-09-25 河海大学 Multi-plane identification method for three-dimensional point cloud

Also Published As

Publication number Publication date
CN102945551B (en) 2015-02-18

Similar Documents

Publication Publication Date Title
CN102945551B (en) Graph theory based three-dimensional point cloud data plane extracting method
CN104200212B (en) A kind of building external boundary line drawing method based on airborne LiDAR data
CN102930246B (en) Indoor scene identifying method based on point cloud fragment division
EP3093823A1 (en) Static object reconstruction method and system
CN103247041B (en) A kind of dividing method of the cloud data of the many geometric properties based on local sampling
CN102509099B (en) Detection method for image salient region
CN104200507B (en) Estimating method for normal vectors of points of three-dimensional point clouds
CN103727930B (en) A kind of laser range finder based on edge matching and camera relative pose scaling method
CN104867133B (en) A kind of quick substep solid matching method
CN103337072B (en) A kind of room objects analytic method based on texture and geometric attribute conjunctive model
CN113077476B (en) Height measurement method, terminal device and computer storage medium
CN102799763B (en) A kind of based on a cloud attitude standardized some cloud line feature extraction method
CN104899883A (en) Indoor object cube detection method for depth image scene
CN102663351A (en) Face characteristic point automation calibration method based on conditional appearance model
CN104240251A (en) Multi-scale point cloud noise detection method based on density analysis
CN102404595A (en) Epipolar line rectification method capable of providing instruction for shooting of 3-dimensional programs
CN101882150A (en) Three-dimensional model comparison and search method based on nuclear density estimation
CN103365999A (en) Text clustering integrated method based on similarity degree matrix spectral factorization
CN108010002B (en) Structured point cloud denoising method based on adaptive implicit moving least square
CN113093216A (en) Irregular object measurement method based on laser radar and camera fusion
CN104298737A (en) Discrete point cloud fitting method based on maximum sampling nuclear density steady model
CN103559715A (en) Abnormal detection method and device for hyper-spectral image
CN102592277A (en) Curve automatic matching method based on gray subset division
CN103413306B (en) A kind of Harris angular-point detection method of adaptive threshold
CN102289661A (en) Method for matching three-dimensional grid models based on spectrum matching

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant