CN1885349A - Point cloud hole repairing method for three-dimensional scanning - Google Patents

Point cloud hole repairing method for three-dimensional scanning Download PDF

Info

Publication number
CN1885349A
CN1885349A CN 200610088244 CN200610088244A CN1885349A CN 1885349 A CN1885349 A CN 1885349A CN 200610088244 CN200610088244 CN 200610088244 CN 200610088244 A CN200610088244 A CN 200610088244A CN 1885349 A CN1885349 A CN 1885349A
Authority
CN
China
Prior art keywords
centerdot
point
curved surface
fitting
fitting surface
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.)
Pending
Application number
CN 200610088244
Other languages
Chinese (zh)
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.)
Southeast University
Original Assignee
Southeast 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 Southeast University filed Critical Southeast University
Priority to CN 200610088244 priority Critical patent/CN1885349A/en
Publication of CN1885349A publication Critical patent/CN1885349A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a point hole filling method for supplying curvature polymerizing accuracy, wherein the invention comprises: selecting the coordinate point Ps needed to initially polymerize curvature at the periphery of point hole; using least square method to polymerize the selected coordinate Ps; to obtain the initial polymerized curvature S (u, v, w); based on approach method with the Newton iterate method, optimizing the polymerized curvature, to improve the polymerized accuracy; said curvature is based on the constant-parameter curvature to select line and select point on the line, to calculate the point needed to be filled, to realize smooth polymerizing filling. The invention can confirm smooth and conformal property.

Description

The method for filling dot cloud hole of 3-D scanning
Technical field
The present invention relates to a kind of method for repairing and mending, relate in particular to a kind of method for filling dot cloud hole of 3-D scanning three-dimensional picture.
Background technology
Reverse-engineering (Reverse Engineering, RE) technology is the later stage eighties 20th century to appear at the new technology in the advanced manufacturing field, it generally comprises four basic links: three-dimensional body detects and conversion (acquisition of physical data), data pre-service (put cloud processing, identification, look splicing more), the foundation of cad model (surface reconstruction), the moulding of CAM product, its basic flow sheet as shown in Figure 1.In the process that three-dimensional body detects and changes, by the three-dimensional digital scanner three-dimensional scanning survey is fast carried out on the mock-up surface, under the prerequisite that satisfies the discrete sampling speed and the quality of data, obtain the 3 d-dem data of product, the appearance of dot cloud hole has caused the imperfect of these data, therefore hole is compensated that promptly data to be carried out pre-service be a ring of forming a connecting link very crucial in the reverse-engineering, directly influence the quality of reconstruct success or not and cad model, its follow-up link is played very crucial restrictive function.The present invention mainly relates in the digitized process of reverse-engineering, a kind of automatic compensating method when obtaining the product point cloud model and hole occurs with 3 D scanning system (accompanying drawing 2).
In recent years, the algorithm of filling up of dot cloud hole has all been obtained very big progress at home and abroad, delivered a considerable amount of documents, the some of them algorithm has obtained to use comparatively widely, as the algorithm of filling up based on hole in energy-optimised and segmentation, triangle grid model, the mesh surface model.The point cloud model that these algorithms need earlier 3-D scanning directly to be obtained is done certain processing in early stage or dot cloud hole is carried out Boundary Recognition, and real-time is not strong, and complexity is also than higher.In application of practical project, should be able in time solve the problem that occurs.
Document " Minimal energy surfaces using parametric splines. " (Gregory E.Fasshauer, LarryL.Schumarker.Computer Aided Geometric Design, 1996,13:45~79) by finding the solution optimization aim function based on " strain energy of distortion function ", realization is filled up hole, guaranteed certain fairness, yet these class methods need subdivision curved surface mostly, and a plurality of subsurface sheets are spliced, therefore the continuity of surface boundary is had relatively high expectations, be difficult to reach the Second Order Continuous between curved surface usually.Because the related algorithm comparative maturity of existing triangle grid model, existing algorithm all is based on this model mostly, document " A study of stereolithography file errors and repair " (Leong K F for example, ChuaC K, Ng Y M.International Journal of Advanced Manufacturing, 1996,12:415~422) hole repairing is summed up as the triangulation problem of a space polygon.But only adopt original hole polygon vertex mostly when the new triangular plate of structure, do not increase new triangular plate summit, thereby be difficult to obtain to be used to preferably fill up the triangular plate shape of hole, it is not ideal enough to fill up effect.And it is bigger that this class algorithm is set up the triangle grid model operand for the cloud data programming of complexity, in filling up the process of hole, also need to change the topological structure of triangle gridding, therefore have triangle grid model is revised and the shortcoming of designed capacity deficiency again, complexity height, these shortcomings have all limited its application in practice.Filling algorithm to a class polygon hole is not suitable for general point cloud model.Filling algorithm for general surface mesh all needs to obtain the hole boundary information accurately, and difficulty is big, is difficult for realizing.Compensate in the algorithmic procedure of hole by scattered point set around the dot cloud hole is carried out surface fitting, the parametrization of point at random is essential.Even parametrization, entad parametrization and accumulation Chord Length Parameterization method are arranged usually, and these methods are primarily aimed at the data point that is topological rectangular array, to the cloud data of random distribution, need sort to it, difficulty is also bigger.
Traditional triangular surface interpolation algorithm has also obtained using comparatively widely, has also obtained effect preferably simultaneously.Document " An Adaptive Method for Smooth Surface Approximation to Scattered 3D Points. " (Park H for example, KimK.ComputerAided Design, 1995,27 (12): the adaptive-interpolation algorithm of the structure smooth surface match point at random that proposes 929~939).Though this class interpolation algorithm velocity ratio is very fast, and its fatal shortcoming is arranged, that is: the 1 non-occluding surface that can only handle monodrome; 2 will suppose that the local derviation arrow is linear distribution on the boundary curve of territory; The curved surface of 3 reconstruct depends on the local derviation that estimates and vows, thus the surface interpolation method to discrete point approach effect and bad, and the big efficient of calculated amount is low.
In the application process of reality, the some cloud master pattern that normally has magnanimity point at random that obtains with 3 D scanning system.Just inevitably have the hole phenomenon this moment, it is crucial that these holes are filled up timely.For this reason, use a kind of new algorithm that hole is compensated among the present invention.Be difficult point in this type of algorithm how at random some parametrization and the fitting precision that improves curved surface.What propose among the present invention carries out parameterized method and can reach the iterative approach optimization method of curved surface the smooth match of hole is filled to point at random.
Summary of the invention
The invention provides a kind of method for filling dot cloud hole that the 3-D scanning of surface fitting degree of accuracy can be provided.
The present invention adopts following technical scheme:
A kind of method for filling dot cloud hole of the 3-D scanning based on the triangular domain bezier surface:
The first step: around dot cloud hole and in the screen coordinate plane, set a triangle ABC, the regional extent of this triangle ABC can make dot cloud hole and the projection of point on every side to the screen coordinate plane thereof fall in the triangle ABC, and the some P of fitting surface when projection fallen into point in the triangle ABC as perforations adding s(s=0,1 ..., m-1), according to the some P of fitting surface sProjection P on triangle ABC plane s' its curved surface parametrization coordinate of position calculation (u s, v s, w s), u s=(Δ AP s' the B area)/(Δ ABC area), v s=(Δ AP s' the C area)/(Δ ABC area), w s=(Δ BP s' the C area)/(Δ ABC area), with the some P of fitting surface s(s=0,1 ..., coordinate m-1) and curved surface parametrization coordinate (u thereof s, v s, w s) n Bezier surface equation of substitution and obtain the reference mark of n Bezier curved surface with least square method, thereby obtain initial fitting curved surface S (u, v, w);
Second step: the some P that obtains each fitting surface s(s=0,1 ..., m-1) to the distance vector d of curved surface (u, v, w) and curved surface respectively to the partial differential S of corresponding point parametric direction u(u, v, w), S v(u, v, w), S w(u, v, w), order:
f ( u , v , w ) = d ( u , v , w ) · S u ( u , v , w ) = 0 g ( u , v , w ) = d ( u , v , w ) · S v ( u , v , w ) = 0 h ( u , v , w ) = d ( u , v , w ) · S w ( u , v , w ) = 0
The point P of fitting surface sThe parametrization coordinate be (u s, v s, w s), with (u s, v s, w s) be initial estimate, find the solution above system of equations according to Newton iteration method, have:
T=κ T
In the formula:
σ=(δ u, δ v, δ w), wherein, δ u, δ v, δ w are curved surface u, v, the iteration step length on three directions of w.
κ=-(f(u s,v s,w s),g(u s,v s,w s),h(u s,v s,w s))
H = f u f v f w g u g v g w h u h v h w = | | S u | | 2 + d · S uu S v · S u + d · S uv S w · S u + d · S uw S u · S v + d · S vu | | S v | | 2 + d · S vv S w · S v + d · S vw S u · S w + d · S wu S v · S w + d · S wv | | S w | | 2 + d · S ww
In the formula, d=d (u s, v s, w s); f u, f v, f w, g u, g v, g w, h u, h v, h wBe illustrated respectively in point (u s, v s, w s) locate corresponding vector to u, v, the single order partial derivative of w; S Uu, S Uv, S Uw, S Vv, S Vu, S Vw, S Ww, S Wu, S WvBe that (u, v is w) at point (u for curved surface S s, v s, w s) locate respectively to u v, the second-order partial differential coefficient of w.
Then can get:
| | S u | | 2 + d · S uu S v · S u + d · S uv S w · S u + d · S uw S u · S v + d · S vu | | S v | | 2 + d · S vv S w · S v + d · S vw S u · S w + d · S wu S v · S w + d · S wv | | S w | | 2 + d · S ww δu δv δw = - f ( u s , v s , w s ) g ( u s , v s , w s ) h ( u s , v s , w s )
According to the definition of triangle Bezier curved surface δ u+ δ v+ δ w=0 as can be known, i.e. therefore δ w=-δ u-δ v obtains following iterative equation group:
| | S u | | 2 - S w · S u + d · ( S uu - S uw ) S v · S u - S w · S u + d ( S uv - S uw ) S u · S v - S w · S v + d ( S vu - S vw ) | | S v | | 2 - S w · S v + d · ( S vv - S vw ) S u · S w - | | S u | | 2 + d · ( S wu - S ww ) S v · S w - | | S w | | 2 + d · ( S wv - S ww ) δu δv = - f ( u s , v s , w s ) g ( u s , v s , w s ) h ( u s , v s , w s )
Wherein, δ u, δ v are u, the iteration step length on the v both direction.S Uu, S Uv, S Uw, S Vv, S Vu, S Vw, S Ww, S Wu, S WvBe that (u, v is w) at point (u for curved surface S s, v s, w s) locate respectively u, v, the second-order partial differential coefficient of w, iterative up to 1 / m Σ s = 0 m - 1 | | d ( u s + δu , v s + δv , w s + δw ) - d ( u s , v s , w s ) | | ≤ ϵ , ε is for presetting the surface fitting precision, thus the triangle Bezier curved surface S ' that obtains finally determining (u, v, w);
The 3rd step: at described triangle Bezier curved surface S ' (u, v, w) go up based on curvature etc. the parameter line taking, online more first-class parameter is got a little, be used to fill up dot cloud hole, needing at first that in asking the process of curvature three-dimensional point cloud is deleted lattice divides, this deletes the minimum external square that lattice are divided into a cloud data of structure, its 3 limits perpendicular to each other are parallel with 3 coordinate axis of Cartesian coordinates respectively, being divided into the length of side along three change in coordinate axis direction is that L space hexahedron cube is deleted lattice, secondly at the some P of fitting surface s27 sub-bounding boxs of vicinity in obtain its k neighbor point, establish the some P of fitting surface then sForm set K (P with its k neighbor point s), S (P s) be the some P of fitting surface sK neighbor point least square fitting plane, make that P is the some P of fitting surface sK neighbor point set K (P s) the centre of form, be called the some P of fitting surface sCentral point, this central point is:
P ‾ = 1 ( k + 1 ) Σ P s ∈ K ( P s ) P s
If the some P of fitting surface sJ neighbor point to least square plane S (P s) distance be d j, be λ to the distance of P j, so to the some P of fitting surface sJ point have a function f j(P s), this function f j(P s) be:
f j ( P s ) = d j λ j
The point P of fitting surface so sCurvature function can be expressed as
f ( P s ) = 1 k Σ j = 1 k f j ( P s )
According to curvature function f (P s) obtain the some P of fitting surface sMean curvature ρ s, in like manner obtain the mean curvature ρ of whole some cloud 0Make that d is the equalization point distance of whole some cloud, then get an interval delta ω=ρ 0* d/ ρ s, when on the Bezier patch, getting, at first on parametric direction of curved surface, parametric line such as uniformly-spaced get with Δ ω, again parametric lines such as each bar are uniformly-spaced got a little with Δ ω on another parametric direction, try to achieve the point of filling up hole.
The present invention is mainly used in the application scenario that hole in the various some cloud master patterns with complex-curved shape in the 3 D scanning system is filled up.Utilize the Algorithm for Surface Fitting among the present invention, can obtain one and accurately approach the hole curved surface of point at random on every side, get according to the variation of curvature on the whole subsequently and a little can realize the smooth of hole filled up.This method mainly contains following advantage:
(1) since traditional surface interpolation method to discrete point approach effect and bad, the present invention adopts surface fitting method can obtain the curved surface of scattered point set around the accurate match hole.
(2) adopt based on the curved surface fitting method on the triangular domain, the random surface of the easier performance of curved surface than territory, four limits can guarantee certain fairness and conformality.
(3) gridding of comparing in the But most of algorithms is handled, and the present invention is primarily aimed at the original point cloud model that 3 D scanning system obtains, without any need for gridding handle, applicability is wide, speed is fast.
(4) during fitting surface, choose the point at random around the hole alternately, so when hole boundary shape more complicated, suitable too.
During (5) at random some parametrization, need not the boundary curve of match hole, owing to avoided the Boundary Recognition of hole, therefore the hole that has an arbitrary shape for the overwhelming majority is suitable for too.
(6) adopted initial fitting and iterative approach to optimize two-stage process because point at random is carried out surface fitting, can make the curved surface of match obtain higher precision.
(7) can be according to actual needs, the number of times of artificial control curved surface and the precision of match have been avoided unnecessary calculating redundancy in the surface fitting process.
When (8) getting on the whole, consider curved transition, can realize the smooth compensation to hole, generally in a cloud, put the big place of cloud density, curved transition is also bigger, therefore, based on curvature etc. parameter get an energy smooth fill up hole.
(9) operating process is fairly simple, as long as the discrete point around the mutual selected hole, ensuing step all can be finished automatically, and speed is fast.And this method has very strong versatility.
Be noted that in addition when choosing at random, around hole, choose on a large scale as far as possible, can avoid self-adaptation to increase number of spots at random, with the efficient of further raising algorithm.
Description of drawings
Fig. 1 is the reverse-engineering process flow diagram.
Fig. 2 is a grating style three-dimension scanning system composition diagram.
Fig. 3 is algorithm overall flow figure.
Fig. 4 is near the point set example schematic the hole of choosing in the dome point cloud.
At random some parametrization process flow diagram of Fig. 5.
Fig. 6 is a curved surface initial fitting process flow diagram.。
Fig. 7 is near the point set fitting surface example schematic the hole in the dome point cloud.
Fig. 8 is that the curved surface iterative approach is optimized process flow diagram
Fig. 9 is to the hole repairing example schematic in the dome point cloud.
Figure 10 deletes the figure that formats.
Figure 11 is that curvature function is found the solution figure.
Figure 12 gets on the face a little to fill up the hole process flow diagram.
Embodiment
A kind of method for filling dot cloud hole of the 3-D scanning based on the triangular domain bezier surface:
The first step: around dot cloud hole and in the screen coordinate plane, set a triangle ABC, the regional extent of this triangle ABC can make dot cloud hole and the projection of point on every side to the screen coordinate plane thereof fall in the triangle ABC, and the some P of fitting surface when projection fallen into point in the triangle ABC as perforations adding s(s=0,1 ..., m-1), according to the some P of fitting surface sProjection P on triangle ABC plane s' its curved surface parametrization coordinate of position calculation (u s, v s, w s), u s=(Δ AP s' the B area)/(Δ ABC area), v s=(Δ AP s' the C area)/(Δ ABC area), w s=(Δ BP s' the C area)/(Δ ABC area), with the some P of fitting surface s(s=0,1 ..., coordinate m-1) and curved surface parametrization coordinate (u thereof s, v s, w s) n Bezier surface equation of substitution and obtain the reference mark of n Bezier curved surface with least square method, thereby obtain initial fitting curved surface S (u, v, w);
Second step: the some P that obtains each fitting surface s(s=0,1 ..., m-1) to the distance vector d of curved surface (u, v, w) and curved surface respectively to the partial differential S of corresponding point parametric direction u(u, v, w), S v(u, v, w), S w(u, v, w), order:
f ( u , v , w ) = d ( u , v , w ) · S u ( u , v , w ) = 0 g ( u , v , w ) = d ( u , v , w ) · S v ( u , v , w ) = 0 h ( u , v , w ) = d ( u , v , w ) · S w ( u , v , w ) = 0
The point P of fitting surface sThe parametrization coordinate be (u s, v s, w s), with (u s, v s, w s) be initial estimate, find the solution above system of equations according to Newton iteration method, have:
T=κ T
In the formula:
σ=(δ u, δ v, δ w), wherein, δ u, δ v, δ w are curved surface u, v, the iteration step length on three directions of w.
κ=-(f(u s,v s,w s),g(u s,v s,w s),h(u s,v s,w s))
H = f u f v f w g u g v g w h u h v h w = | | S u | | 2 + d · S uu S v · S u + d · S uv S w · S u + d · S uw S u · S v + d · S vu | | S v | | 2 + d · S vv S w · S v + d · S vw S u · S w + d · S wu S v · S w + d · S wv | | S w | | 2 + d · S ww
In the formula, d=d (u s, v s, w s); f u, f v, f w, g u, g v, g w, h u, h v, h wBe illustrated respectively in point (u s, v s, w s) locate corresponding vector to u, v, the single order partial derivative of w; S Uu, S Uv, S Uw, S Vv, S Vu, S Vw, S Ww, S Wu, S WvBe that (u, v is w) at point (u for curved surface S s, v s, w s) locate respectively to u v, the second-order partial differential coefficient of w.
Then can get:
| | S u | | 2 + d · S uu S v · S u + d · S uv S w · S u + d · S uw S u · S v + d · S vu | | S v | | 2 + d · S vv S w · S v + d · S vw S u · S w + d · S wu S v · S w + d · S wv | | S w | | 2 + d · S ww δu δv δw = - f ( u s , v s , w s ) g ( u s , v s , w s ) h ( u s , v s , w s )
According to the definition of triangle Bezier curved surface δ u+ δ v+ δ w=0 as can be known, i.e. therefore δ w=-δ u-δ v obtains following iterative equation group:
| | S u | | 2 - S w · S u + d · ( S uu - S uw ) S v · S u - S w · S u + d ( S uv - S uw ) S u · S v - S w · S v + d ( S vu - S vw ) | | S v | | 2 - S w · S v + d · ( S vv - S vw ) S u · S w - | | S u | | 2 + d · ( S wu - S ww ) S v · S w - | | S w | | 2 + d · ( S wv - S ww ) δu δv = - f ( u s , v s , w s ) g ( u s , v s , w s ) h ( u s , v s , w s )
Wherein, δ u, δ v are u, the iteration step length on the v both direction.S Uu, S Uv, S Uw, S Vv, S Vu, S Vw, S Ww, S Wu, S WvBe that (u, v is w) at point (u for curved surface S s, v s, w s) locate respectively u, v, the second-order partial differential coefficient of w, iterative up to 1 / m Σ s = 0 m - 1 | | d ( u s + δu , v s + δv , w s + δw ) - d ( u s , v s , w s ) | | ≤ ϵ , ε is for presetting the surface fitting precision, thus the triangle Bezier curved surface S ' that obtains finally determining (u, v, w);
The 3rd step: at described triangle Bezier curved surface S ' (u, v, w) go up based on curvature etc. the parameter line taking, online more first-class parameter is got a little, be used to fill up dot cloud hole, needing at first that in asking the process of curvature three-dimensional point cloud is deleted lattice divides, this deletes the minimum external square that lattice are divided into a cloud data of structure, its 3 limits perpendicular to each other are parallel with 3 coordinate axis of Cartesian coordinates respectively, being divided into the length of side along three change in coordinate axis direction is that L space hexahedron cube is deleted lattice, secondly at the some P of fitting surface s27 sub-bounding boxs of vicinity in obtain its k neighbor point, establish the some P of fitting surface then sForm set K (P with its k neighbor point s), S (P s) be the some P of fitting surface sK neighbor point least square fitting plane, make that P is the some P of fitting surface sK neighbor point set K (P s) the centre of form, be called the some P of fitting surface sCentral point, this central point is:
P ‾ = 1 ( k + 1 ) Σ P s ∈ K ( P s ) P s
If the some P of fitting surface sJ neighbor point to least square plane S (P s) distance be d j, be λ to the distance of P j, so to the some P of fitting surface sJ point have a function f j(P s), this function f j(P s) be:
f j ( P s ) = d j λ j
The point P of fitting surface so sCurvature function can be expressed as
f ( P s ) = 1 k Σ j = 1 k f j ( P s )
According to curvature function f (P s) obtain the some P of fitting surface sMean curvature ρ s, in like manner obtain the mean curvature ρ of whole some cloud 0Make that d is the equalization point distance of whole some cloud, then get an interval delta ω=ρ 0* d/ ρ s, when on the Bezier patch, getting, at first on parametric direction of curved surface, parametric line such as uniformly-spaced get with Δ ω, again parametric lines such as each bar are uniformly-spaced got a little with Δ ω on another parametric direction, try to achieve the point of filling up hole.
With reference to the accompanying drawings, the present invention is described in detail:
In reverse-engineering, what face is the intensive point random data that disperse like the clouds.During fitting surface, when if the object bounds of curved surface and shape are extremely complicated, general inconvenience is the conventional curved surface structure method of utilization directly, and the Bezier curved surface is because its structure is flexible, border adaptability is good, potentiality with complex structure shape, and itself has good properties: slickness, locality and conformality.Object based on the random profile of the most suitable performance of approximating method of triangular domain curved surface, people's face particularly, products such as natural forms such as landforms and toy, approximating method based on four limit field parameter curved surfaces, usually it is orderly requiring data point, this condition is relatively harsh, comprehensive more than, so the present invention adopts Bezier curved surface on the triangular domain that hole is partly carried out match to fill.Overall algorithm flow is seen accompanying drawing 3.
The present invention relates generally to the content of following four aspects:
1) the selected and parameterized procedure of point at random
Near dome dot cloud hole screen two-dimensional coordinate system, select not A, B, the C of conllinear at 3, constitute three angle points of the triangle Bezier patch that needs initial fitting, with the point around the hole to these 3 triangle projective planum projections that constituted, drop in the triangle projective planum required some P when then thinking fitting surface as fruit dot s(s=0,1 ..., m-1), see accompanying drawing 4.
According to the some P that chooses sProjected position on triangle ABC plane calculates its curved surface parametrization coordinate.If i.e. P sCorresponding subpoint is P in triangle projective planum ABC s', P so sParametrization coordinate (u s, v s, w s) be respectively u s=area (Δ AP s' B)/area (Δ ABC), v s=area (Δ AP s' C)/area (Δ ABC), w s=area (Δ BP s' C)/area (Δ ABC).Algorithm flow chart is seen accompanying drawing 5.
2) least square self-adapting preliminary match
The expression formula that triangular domain ABC goes up n Bezier curved surface is:
S ( u , v , w ) = Σ i = 0 n Σ j = 0 n - i B ijk n ( u , v , w ) b ijk
In the formula B ijk n ( u , v , w ) = n ! i ! j ! k ! u i v j w k ≥ 0 0 ≤ u , v , w ≤ 1 , u + v + w = 1 0 ≤ i , j , k ≤ n , i + j + k = n
On the triangular domain in the expression formula of n Bezier curved surface unknown quantity be P sParametrization coordinate (u s, v s, w s), and (n+1) (n+2)/2 control vertex, (u s, v s, w s) known according to the last step, so as long as obtain (n+1) (n+2)/2 control vertex coordinate b Ijk(k≤n i+j+k=n), can determine a triangle Bezier curved surface for 0≤i, j.
According to the character of triangle Bezier curved surface as can be known three angle points of triangle Bezier curved surface just in time be three control vertexs of its control polyhedron grid, so selected leg-of-mutton three summit A, B, C can be as three known control summit b 00n, b 0n0, b N00, P s(s=0,1 ..., coordinate substitution triangle Bezier surface equation m-1), constitute with (n+1) (n+2)/a 2-3 unknown control vertex is a m system of linear equations of unknown quantity.The three-dimensional coordinate of selected triangle inside count m generally greater than (n+1) (n+2)/2-3, when not satisfying this condition and promptly wait to ask the system of equations matrix of coefficients unusual, center of gravity with triangle ABC is a basic point, and the area of self-adaptation expansion triangle ABC increases the number of m.Adopt least square method to find the solution this at last and cross the equation of constraint group, determine other unknown control vertex of curved surface, obtain initial fitting curved surface S (u, v, w).Algorithm flow chart is seen accompanying drawing 6.
3) curved surface approaches optimization
After the least square initial fitting, scattered point set P s(distance error w) is also bigger for u, v, therefore needs further Correction and Control summit, changes the polyhedral shape of control, thereby changes the shape of curved surface, makes curved surface approach point set with curved surface S.The present invention has adopted the iterative approach algorithm based on Newton iteration method, improves fitting precision, and (u, v w), see accompanying drawing 7 finally to determine curved surface S '.
Concrete steps are as follows:
(1) obtain each point to curved surface at random distance vector d (u, v, w) and curved surface respectively to the partial differential S of corresponding point parametric direction u(u, v, w), S v(u, v, w), S w(u, v w), form and wait to ask system of equations as follows:
f ( u , v , w ) = d ( u , v , w ) · S u ( u , v , w ) = 0 g ( u , v , w ) = d ( u , v , w ) · S v ( u , v , w ) = 0 h ( u , v , w ) = d ( u , v , w ) · S w ( u , v , w ) = 0
(2) employing is found the solution this system of equations based on the method for Newton iteration method, and the iterative equation group that finally can try to achieve is:
| | S u | | 2 - S w · S u + d · ( S uu - S uw ) S v · S u - S w · S u + d · ( S uv - S uw ) S u · S v - S w · S v + d · ( S vu - S vw ) | | S v | | 2 - S w · S v + d · ( S vv - S vw ) S u · S w - | | S w | | 2 + d · ( S wu - S ww ) S v · S w - | | S w | | 2 + d · ( S wv - S ww ) δu δv = - f ( u s , v s , w s ) g ( u s , v s , w s ) h ( u s , v s , w s )
(3) the above system of equations of iterative, when counting of fitting surface is less than the unknown number number of iterative equation group, and the system of equations coefficient is when unusual, and the center of gravity with triangle ABC is a basic point equally, the area of self-adaptation expansion triangle ABC increases the number of m, repeats (2).
Algorithm flow chart is seen accompanying drawing 8.
4) get a little on the face
Described triangle Bezier curved surface S ' (u, v, w) go up based on curvature etc. the parameter line taking, online more first-class parameter is got a little, is used to fill up dot cloud hole, sees accompanying drawing 9.Needing at first that in asking the process of curvature three-dimensional point cloud is deleted lattice divides, this deletes the minimum external square that lattice are divided into a cloud data of structure, its 3 limits perpendicular to each other are parallel with 3 coordinate axis of Cartesian coordinates respectively, being divided into the length of side along three change in coordinate axis direction is that L space hexahedron cube is deleted lattice, see accompanying drawing 10, next is at the some P of fitting surface s27 sub-bounding boxs of vicinity in obtain its k neighbor point, establish the some P of fitting surface then sForm set K (P with its k neighbor point s), S (P s) be the some P of fitting surface sK neighbor point least square fitting plane, make that P is the some P of fitting surface sK neighbor point set K (P s) the centre of form, be called the some P of fitting surface sCentral point, this central point is:
P ‾ = 1 ( k + 1 ) Σ P s ∈ K ( P s ) P s
If the some P of fitting surface sJ neighbor point to least square plane S (P s) distance be d j, be λ to the distance of P j, see accompanying drawing 11, so to the some P of fitting surface sJ point have a function f j(P s), this function f j(P s) be:
f j ( P s ) = d j λ j
The point P of fitting surface so sCurvature function can be expressed as
f ( P s ) = 1 k Σ j = 1 k f j ( P s )
According to curvature function f (P s) obtain the some P of fitting surface sMean curvature ρ s, in like manner obtain the mean curvature ρ of whole some cloud 0Make that d is the equalization point distance of whole some cloud, then get an interval delta ω=ρ 0* d/ ρ s, when on the Bezier patch, getting, at first on parametric direction of curved surface, parametric line such as uniformly-spaced get with Δ ω, again parametric lines such as each bar are uniformly-spaced got a little with Δ ω on another parametric direction, try to achieve the point of filling up hole.
Algorithm flow chart is seen accompanying drawing 12.

Claims (3)

1, a kind of method for filling dot cloud hole of 3-D scanning is characterized in that:
The first step: around dot cloud hole and in the screen coordinate plane, set a triangle ABC, the regional extent of this triangle ABC can make dot cloud hole and the projection of point on every side to the screen coordinate plane thereof fall in the triangle ABC, and the some P of fitting surface when projection fallen into point in the triangle ABC as perforations adding s(s=0,1 ..., m-1), according to the some P of fitting surface sProjection P on triangle ABC plane s' its curved surface parametrization coordinate of position calculation (u s, v s, w s), u s=(Δ AP s' the B area)/(Δ ABC area), v s=(Δ AP s' the C area)/(Δ ABC area), w s=(Δ BP s' the C area)/(Δ ABC area), with the some P of fitting surface s(s=0,1 ..., coordinate m-1) and curved surface parametrization coordinate (u thereof s, v s, w s) n Bezier surface equation of substitution and obtain the reference mark of n Bezier curved surface with least square method, thereby obtain initial fitting curved surface S (u, v, w);
Second step: the some P that obtains each fitting surface s(s=0,1 ..., m-1) to the distance vector d of curved surface (u, v, w) and curved surface respectively to the partial differential S of corresponding point parametric direction u(u, v, w), S v(u, v, w), S w(u, v, w), order:
f ( u , v , w ) = d ( u , v , w ) · S u ( u , v , w ) = 0 g ( u , v , w ) = d ( u , v , w ) · S v ( u , v , w ) = 0 h ( u , v , w ) = d ( u , v , w ) · S w ( u , v , w ) = 0
According to Newton iteration method, obtain following iterative equation group:
| | S u | | 2 - S w · S u + d · ( S uu - S uw ) S v · S u - S w · S u + d · ( S uv - S uw ) S u · S v - S w · S v + d · ( S vu - S uw ) | | S v | | 2 - S w · S v + d · ( S vv - S vw ) S u · S w - | | S w | | 2 + d · ( S wu - S ww ) S v · S w - | | S w | | 2 + d · ( S wv - S ww ) δu δv = - f ( u s , v s , w s ) g ( u s , v s , w s ) h ( u s , v s , w s )
Wherein, δ u, δ v are u, the iteration step length on the v both direction, S Uu, S Uv, S Uw, S Vv, S Vu, S Vw, S Ww, S Wu, S WvBe that (u, v is w) at point (u for curved surface S s, v s, w s) locate respectively u, v, the second-order partial differential coefficient of w,
Iterative up to 1 / m Σ s = 0 m - 1 | | d ( u s + δu , v s + δv , w s + δw ) - d ( u s , v s , w s ) | | ≤ ϵ , ε is for presetting the surface fitting precision, thus the triangle Bezier curved surface S ' that obtains finally determining (u, v, w);
The 3rd step: at described triangle Bezier curved surface S ' (u, v, w) go up based on curvature etc. the parameter line taking, online more first-class parameter is got a little, be used to fill up dot cloud hole, needing at first that in asking the process of curvature three-dimensional point cloud is deleted lattice divides, this deletes the minimum external square that lattice are divided into a cloud data of structure, its 3 limits perpendicular to each other are parallel with 3 coordinate axis of Cartesian coordinates respectively, being divided into the length of side along three change in coordinate axis direction is that L space hexahedron cube is deleted lattice, secondly at the some P of fitting surface s27 sub-bounding boxs of vicinity in obtain its k neighbor point, establish the some P of fitting surface then sForm set K (P with its k neighbor point s), S (P s) be the some P of fitting surface sK neighbor point least square fitting plane, make that P is the some P of fitting surface sK neighbor point set K (P s) the centre of form, be called the some P of fitting surface sCentral point, this central point is:
P ‾ = 1 ( k + 1 ) Σ P s ∈ K ( P s ) P s
If the some P of fitting surface sJ neighbor point to least square plane S (P s) distance be d j, be λ to the distance of P j, so to the some P of fitting surface sJ point have a function f j(P s), this function f j(P s) be:
f j ( P s ) = d j λ j
The point P of fitting surface so sCurvature function can be expressed as
f ( P s ) = 1 k Σ j = 1 k f j ( P s )
According to curvature function f (P s) obtain the some P of fitting surface sMean curvature In like manner obtain the mean curvature of whole some cloud
Figure A2006100882440003C3
Make that d is the equalization point distance of whole some cloud, then get an interval Δω = ρ 0 ‾ × d ‾ / ρ s ‾ , When on the Bezier patch, getting, at first on parametric direction of curved surface, parametric line such as uniformly-spaced get, again parametric lines such as each bar are uniformly-spaced got a little with Δ ω on another parametric direction, try to achieve the point of filling up hole with Δ ω.
2, the method for filling dot cloud hole of 3-D scanning according to claim 1 when it is characterized in that counting of fitting surface is less than the curved surface control vertex and counts, enlarges the area that sets triangle ABC, makes counting greater than curved surface control vertex number of fitting surface.
3, the method for filling dot cloud hole of 3-D scanning according to claim 1, when it is characterized in that counting of fitting surface is less than the unknown number number of iterative equation group, enlarge the area that sets triangle ABC, make counting of fitting surface more than or equal to the unknown number number of iterative equation group.
CN 200610088244 2006-07-05 2006-07-05 Point cloud hole repairing method for three-dimensional scanning Pending CN1885349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610088244 CN1885349A (en) 2006-07-05 2006-07-05 Point cloud hole repairing method for three-dimensional scanning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610088244 CN1885349A (en) 2006-07-05 2006-07-05 Point cloud hole repairing method for three-dimensional scanning

Publications (1)

Publication Number Publication Date
CN1885349A true CN1885349A (en) 2006-12-27

Family

ID=37583488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610088244 Pending CN1885349A (en) 2006-07-05 2006-07-05 Point cloud hole repairing method for three-dimensional scanning

Country Status (1)

Country Link
CN (1) CN1885349A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751695B (en) * 2008-12-10 2012-05-23 中国科学院自动化研究所 Estimating method of main curvature and main direction of point cloud data
CN105913491A (en) * 2016-03-29 2016-08-31 浙江大学城市学院 Gridding data processing method for three-dimensional geological surface model
CN107038757A (en) * 2017-04-07 2017-08-11 湖南师范大学 A kind of human body sitting posture three-dimensional reconstruction apparatus and method based on Kinect
CN107464223A (en) * 2017-07-19 2017-12-12 西安理工大学 A kind of dot cloud hole method for repairing and mending based on section
CN107610061A (en) * 2017-08-30 2018-01-19 西安理工大学 A kind of guarantor's edge point cloud hole repair method based on two-dimensional projection
CN107766680A (en) * 2017-11-22 2018-03-06 苏州铭冠软件科技有限公司 A kind of wind tunnel test data preprocessing method
CN107784690A (en) * 2017-11-13 2018-03-09 南京市测绘勘察研究院股份有限公司 A kind of completion plan automatic drafting method based on three-dimensional point cloud
CN109147040A (en) * 2018-08-28 2019-01-04 浙江大学 Human body dot cloud hole method for repairing and mending based on template
CN109615594A (en) * 2018-11-30 2019-04-12 四川省安全科学技术研究院 A kind of laser point cloud cavity inked method
CN111897906A (en) * 2020-07-31 2020-11-06 北京嘀嘀无限科技发展有限公司 Method, device, equipment and storage medium for processing map data
CN112365500A (en) * 2021-01-12 2021-02-12 深兰人工智能芯片研究院(江苏)有限公司 Contour data completion method and device, electronic equipment and storage medium
CN114782450A (en) * 2022-06-23 2022-07-22 北京航空航天大学杭州创新研究院 Hole filling equipment control method, device, equipment and computer readable medium

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751695B (en) * 2008-12-10 2012-05-23 中国科学院自动化研究所 Estimating method of main curvature and main direction of point cloud data
CN105913491A (en) * 2016-03-29 2016-08-31 浙江大学城市学院 Gridding data processing method for three-dimensional geological surface model
CN107038757A (en) * 2017-04-07 2017-08-11 湖南师范大学 A kind of human body sitting posture three-dimensional reconstruction apparatus and method based on Kinect
CN107464223A (en) * 2017-07-19 2017-12-12 西安理工大学 A kind of dot cloud hole method for repairing and mending based on section
CN107464223B (en) * 2017-07-19 2020-01-14 西安理工大学 Point cloud hole repairing method based on slices
CN107610061A (en) * 2017-08-30 2018-01-19 西安理工大学 A kind of guarantor's edge point cloud hole repair method based on two-dimensional projection
CN107610061B (en) * 2017-08-30 2020-02-14 西安理工大学 Edge-preserving point cloud hole repairing method based on two-dimensional projection
CN107784690B (en) * 2017-11-13 2021-04-13 南京市测绘勘察研究院股份有限公司 Completion plan automatic drawing method based on three-dimensional point cloud
CN107784690A (en) * 2017-11-13 2018-03-09 南京市测绘勘察研究院股份有限公司 A kind of completion plan automatic drafting method based on three-dimensional point cloud
CN107766680A (en) * 2017-11-22 2018-03-06 苏州铭冠软件科技有限公司 A kind of wind tunnel test data preprocessing method
CN109147040A (en) * 2018-08-28 2019-01-04 浙江大学 Human body dot cloud hole method for repairing and mending based on template
CN109147040B (en) * 2018-08-28 2020-06-30 浙江大学 Template-based human point cloud hole repairing method
CN109615594A (en) * 2018-11-30 2019-04-12 四川省安全科学技术研究院 A kind of laser point cloud cavity inked method
CN111897906A (en) * 2020-07-31 2020-11-06 北京嘀嘀无限科技发展有限公司 Method, device, equipment and storage medium for processing map data
CN112365500A (en) * 2021-01-12 2021-02-12 深兰人工智能芯片研究院(江苏)有限公司 Contour data completion method and device, electronic equipment and storage medium
CN112365500B (en) * 2021-01-12 2022-02-08 深兰人工智能芯片研究院(江苏)有限公司 Contour data completion method and device, electronic equipment and storage medium
CN114782450A (en) * 2022-06-23 2022-07-22 北京航空航天大学杭州创新研究院 Hole filling equipment control method, device, equipment and computer readable medium
CN114782450B (en) * 2022-06-23 2022-10-25 北京航空航天大学杭州创新研究院 Hole filling equipment control method, device, equipment and computer readable medium

Similar Documents

Publication Publication Date Title
CN1885349A (en) Point cloud hole repairing method for three-dimensional scanning
CN1858801A (en) Filling method for unwanted holes in clouds of three dimension scanning
CN107610230B (en) 3D printing digital model sectioning and interface design method and application
CN109472870B (en) Model matching method based on grid reconstruction and multi-influence-domain correction
Kuipers et al. A framework for adaptive width control of dense contour-parallel toolpaths in fused deposition modeling
CN1945626A (en) Method for filling dot cloud hole based on B sample strip curve three dimension scan
CN106898050B (en) A kind of grid model adaptive layered method based on annular neighborhood reference contour line
CN102348551B (en) Method and device for creating surface treatment data
CN106898045B (en) Large-area true three-dimensional geographic scene self-adaptive construction method based on SGOG tiles
CN1734503A (en) Stretch-driven mesh parameterization method using spectral analysis
CN1967596A (en) Triangulation construction method of three-dimensional scattered point set in three-dimensional scanning system
WO2011111680A1 (en) Method and apparatus for creating surface processing data
CN100561521C (en) In the 3-D scanning point cloud based on the complementing method of the monumented point hole of neural network
CN1866299A (en) Three-dimensional model simplifying method based on visual feature measurement
CN108961404B (en) Method and system for building block type irregular model construction
CN111382485A (en) Three-dimensional model two-dimensional nesting placement method based on three-dimensional printing
CN1928923A (en) Design method for personalized brassiere cup seam dart in three-dimensional virtual chest form environment
CN102385757B (en) Semantic restriction texture synthesis method based on geometric space
CN109733554B (en) Intelligent arrangement method for moulding bed for ship section construction and computer storage medium
CN108898679B (en) Automatic labeling method for serial numbers of parts
CN106251307B (en) Image approximate method based on Extended Smoothlets transformation
CN1975787A (en) Geometric data subdivision method based on high-order triangle interpolation curved surface division
CN114347212B (en) 3D printing shell structure-oriented path generation method and system
CN107545596B (en) Method for extracting optimal cutting plane of point cloud model
CN115630478A (en) Discrete fracture network generation method based on iterative function system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication