Fragment profile point extraction method based on point cloud data
By using a fragment contour point extraction method based on point cloud data, the problem of incomplete contour point extraction of cultural relic fragments was solved. The cylindrical bounding box method was used to supplement the extraction, thus achieving complete extraction of the three-dimensional contour of the cultural relic fragments and preservation of texture details.
Patent Information
- Application Number
- CN202410592444.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-05-14
AI Technical Summary
Existing technologies often result in incomplete extraction of contour points and loss of features during the assembly of artifact fragments. Furthermore, distortions can easily occur during 3D point cloud projection, leading to incorrect feature extraction.
A fragment contour point extraction method based on point cloud data is adopted. By acquiring point cloud data of cultural relic fragments, the contour points are initially extracted and false feature points are eliminated. The cylindrical bounding box method is used to construct a cylindrical box at the axis of the supplementary line segment. The point cloud data inside the cylinder is determined to be the contour feature points, thus realizing the accurate extraction of contour points.
It achieves complete extraction of the three-dimensional contour of cultural relic fragments, preserves the texture details of the outer contour line, and improves the accuracy and completeness of contour point extraction.
Smart Images

Figure CN118334367B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of point cloud data processing for cultural relic fragments. More specifically, this invention relates to a method for extracting fragment contour points based on point cloud data. Background Technology
[0002] Computer technology, with its powerful computing capabilities, is widely used in data processing. With the development of 3D laser scanners, it has gradually been applied to the virtual assembly of cultural relic fragments. Digitizing cultural relic fragments using a 3D laser scanner allows for the high-precision acquisition of point cloud data, revealing detailed textures. In fragment digitization restoration technology, the primary basis for assembling cultural relic fragments is their 3D contours, specifically in two ways: first, directly assembling the fragments based on contour features; and second, segmenting the fragments according to contour features to identify fracture surfaces and then assembling the fragments based on these fracture surfaces. Therefore, accurately extracting contour points from cultural relic fragments is crucial.
[0003] In the process of piecing together artifact fragments, the basic principle for extracting edge points is that the extracted edge contour points must be able to accurately describe the geometry of the fragments. Existing methods for extracting contour points from artifact fragments include extracting contour points based on point cloud projection and directly extracting contour points from the fragment point cloud.
[0004] Projecting a 3D point cloud onto a 2D plane reveals that the distribution range of neighboring points can determine whether a sampled point is a contour point. However, for two sampled points both located on the edge, different classification results may be obtained due to differences in the density of surrounding points. Therefore, some scholars considered adding an edge coefficient F after calculating the resultant force of the sampled point to eliminate the influence of the distance between neighboring points, and adding a weighting coefficient before calculating the resultant force to accurately extract edge points. However, when using point cloud projection to obtain 2D contour lines, the 3D characteristics of the point cloud are ignored. When projecting irregularly shaped artifact fragments, projection distortion occurs, leading to mis-extraction of features. Therefore, subsequent scholars considered extracting contour lines directly from the 3D point cloud.
[0005] Unlike two-dimensional contour lines, three-dimensional contour lines belong to multiple planes, and the two planes have a certain angle. Therefore, mesh reconstruction can be performed on the fragments, and the contour points can be obtained by judging the angle between the normals of adjacent triangular meshes. Subsequently, some scholars selected different neighborhood radii and used multi-scale curvature to determine edge points and non-edge points, segmented the fracture surface according to the surface roughness, and used the boundary tracking method on the fracture surface to obtain more ordered and accurate boundary points. In order to avoid erroneous extraction due to uneven point cloud, Delaunay neighborhood was used instead of spherical neighborhood when selecting the neighborhood, and a fuzzy region growing method based on fuzzy sets was used to extract feature points belonging to multiple planes. However, when extracting three-dimensional contours from cultural relic fragments, relying on a single extraction will cause feature loss and incomplete contour extraction. Summary of the Invention
[0006] This invention provides a method for extracting fragment contour points based on point cloud data, which solves the problems of incomplete extraction of cultural relic fragment contours and loss of features. It enables the extracted 3D point cloud contours of cultural relics to express the shape of the cultural relics and to well preserve the texture details of the outer contour lines.
[0007] To achieve these objectives and other advantages of the present invention, a method for extracting fragmented contour points based on point cloud data is provided, comprising:
[0008] Acquire point cloud data of cultural relic fragments to form a point cloud model P of the cultural relic;
[0009] Based on the point cloud roughness, the initial contour points of the point cloud model P are extracted, and false feature points are eliminated to obtain the initial feature points of the fragments.
[0010] Contour point extraction: Based on the initial extraction of feature points from the fragments, the missing parts of the contour points are supplemented. First, the supplementary line segments are determined, and then a cylindrical box with radius R is constructed with the supplementary line segments as the axis. Then, by comparing with the original fragment point cloud data, the point cloud data within the cylindrical box is determined to be contour feature points.
[0011] Preferably, the fragment contour point extraction method based on point cloud data involves the following process for obtaining the initial extracted feature points of the fragments:
[0012] Step 1: For any point p in the point cloud model P, construct a spherical neighborhood with radius r, and obtain the points N(p) within the spherical neighborhood of the point cloud model P. The point cloud relationship within the neighborhood is: N(p) = {p j |p j ∈P,||p j -p||≤r}(1), where any point cloud data in the point cloud model P is p, p j For the point cloud data, the neighboring points within radius r are:
[0013] Step 2: For the point cloud data p, the neighboring points p j Calculate the centroid m and construct the covariance matrix C, specifically as follows: Where k is the number of point cloud data in the neighborhood of radius r;
[0014] Step 3: Obtain the eigenvalues of the covariance matrix C. Use the eigenvalues to determine whether the point cloud data contains feature points, retain the feature points, and remove the false feature points.
[0015] Preferably, in the fragment contour point extraction method based on point cloud data, step three specifically includes:
[0016] A. Decompose the covariance matrix C to obtain the eigenvalues λ1, λ2, λ3, where λ1≤λ2≤λ3;
[0017] B. Compare the maximum eigenvalue λ3 with the threshold a. If λ3 is greater than the threshold a, then the point cloud data p is the initial feature point; if λ3 is less than the threshold a, then the point cloud data p is a non-feature point.
[0018] C. Iterate through all point cloud data in point cloud model P in sequence, and obtain the initial feature points after the query is completed;
[0019] D. Based on the number of neighborhood points in the point cloud, remove false feature points to obtain the initial feature points extracted from the fragments.
[0020] Preferably, in the fragment contour point extraction method based on point cloud data, the fine extraction of contour points specifically includes:
[0021] Step 1: Locate and determine the endpoints of the supplementary line segment and determine the supplementary line segment L;
[0022] Step 2: Determine the cylindrical bounding box. Specifically, construct a cylindrical bounding box with radius R centered on the supplementary line segment L. Identify the point cloud data within the cylindrical bounding box as contour feature points, expressed by the formula:
[0023] Q(E)={E∈P,E∈O(L,R)}(5), where P is the point cloud model, E is the refined extracted feature contour points, Q(E) is the set of contour feature points refined by the cylindrical bounding box method, and O(L,R) is a cylinder with a central axis of L and a radius of R.
[0024] Step 3: Select the extraction order. Specifically, first select the shortest part of the supplementary line segment for the first supplementation. Then, according to the length of the supplementary line segment, supplement the shortest part first and then the longest part in sequence. If the supplementary line segment is too long, repeat steps 1 to 3 to supplement the missing part repeatedly.
[0025] Preferably, in the fragment contour point extraction method based on point cloud data, the step of finding and determining the endpoints of the supplementary line segments specifically includes: initially extracting a feature point dataset M, and for any point cloud M0 in the dataset M, finding the h nearest points M0. i Let i = 1, 2, 3, ..., h. Calculate M using the following formula. i The resultant force F(M0) of the tension generated by M0 If a threshold θ is determined, and the resultant force F(M0) is greater than θ, then the endpoints of the supplementary line segment are identified, thus determining the set of endpoints L of the supplementary line segment. i ;
[0026] The determination of the supplementary line segment L specifically includes: one endpoint l1 of the supplementary line segment L, and the direction of the resultant force of the tension is... Supplement the line segment L to the other endpoint l2, the direction of the resultant force is... The vector of the supplementary line segment L is Three constraints must be met: a) and The included angle α tends to a larger value; b, and The angle β between the vectors tends to a smaller value; c, vector The point cloud roughness is different at both ends of the projection;
[0027] Preferably, in the method for extracting fragment contour points based on point cloud data, the acquisition of point cloud data of cultural relics fragments specifically involves scanning the cultural relics fragments using a Minolta VIVID-900 3D laser scanner and an Isel RF1 rotating platform, with the data format being PCD point cloud data format.
[0028] Preferably, in the fragment contour point extraction method based on point cloud data, the larger value range is 90–180°, and the smaller value range is 0–90°.
[0029] This invention offers at least the following advantages: First, it extracts initial contour points from a point cloud model P based on point cloud roughness, eliminating false feature points to obtain initial fragment feature points. Then, it employs a cylindrical bounding box method to refine the fragment contour extraction by constructing a cylindrical bounding box. In small-area missing regions, the cylindrical bounding box method can achieve refined contour point extraction with only one operation. In large-area missing regions, good refined extraction results can be obtained after iterative replenishment. Therefore, the contour points extracted by this invention can express the shape of the artifact and effectively preserve the texture details of the outer contour line.
[0030] Other advantages, objectives and features of the present invention will become apparent in part from the following description, and in part from those skilled in the art through study and practice of the invention. Attached Figure Description
[0031] Figure 1 This is a schematic diagram of a method for extracting fragment contour points based on point cloud data according to one embodiment of the present invention;
[0032] Figure 2 A schematic diagram of a method for extracting fragment contour points based on point cloud data, provided in another embodiment of the present invention;
[0033] Figure 3 A schematic diagram of a method for extracting fragment contour points based on point cloud data, provided in another embodiment of the present invention;
[0034] Figure 4 This is the initial extracted contour point cloud map containing pseudo-feature points for fragment 01 in this embodiment of the invention;
[0035] Figure 5 This is the initial extracted contour point cloud map after removing false feature points from fragment 01 in this embodiment of the invention;
[0036] Figure 6 In this embodiment of the invention, the supplementary line segment L marked on the contour points after the initial extraction of fragment 01, and the endpoints l0 and l1 of the supplementary line segment;
[0037] Figure 7 Selected in the embodiments of the present invention Figure 6 A schematic diagram of the tension between the neighboring points on one side of the point cloud and the endpoints of the supplementary line segment l0 and the non-supplementary line segment point M0 after magnification;
[0038] Figure 8 This is a schematic diagram of the endpoints of the supplementary line segments marked in the embodiments of the present invention;
[0039] Figure 9 This is a schematic diagram illustrating the constraint conditions required to determine the supplementary line segments in an embodiment of the present invention;
[0040] Figure 10(a) shows the contour points extracted by fragment 01 based on the angle between the normal vectors;
[0041] Figure 10(b) shows the extraction of contour points for fragment 01 based on point cloud roughness;
[0042] Figure 10(c) shows the results of the fine extraction of fragment 01 using the cylindrical enclosing box method;
[0043] Figure 10(d) shows the outline points extracted from fragment 01 in the origin cloud space;
[0044] Figure 11(a) shows the contour points extracted by fragment 02 based on the angle between the normal vectors;
[0045] Figure 11(b) shows the extraction of contour points for fragment 02 based on point cloud roughness;
[0046] Figure 11(c) shows the results of fine extraction using the cylindrical enclosing box method for fragment 02;
[0047] Figure 11(d) shows the outline points extracted from fragment 02 on the origin cloud space. Detailed Implementation
[0048] The present invention will now be described in further detail with reference to the accompanying drawings, so that those skilled in the art can implement it based on the description.
[0049] It should be understood that terms such as “having,” “comprising,” and “including” as used herein do not exclude the presence or addition of one or more other elements or combinations thereof.
[0050] like Figure 1 As shown, this embodiment of the invention provides a method for extracting fragmented contour points based on point cloud data, including:
[0051] S100. Obtain point cloud data of cultural relic fragments and form a point cloud model P of cultural relic.
[0052] Specifically, the artifact fragments are scanned using a Minolta VIVID-900 3D laser scanner and an Isel RF1 rotating platform, with the data format being PCD point cloud data. In this embodiment, the artifact fragments used are from the Vienna University of Technology. The fragment contour point extraction method disclosed in this embodiment is not limited to processing artifact fragments but can also process fragments of other objects.
[0053] S110. Based on the point cloud roughness, perform initial contour point extraction on the point cloud model P, and eliminate false feature points to obtain the initial fragment feature points.
[0054] It should be noted that the fragment contour points extracted by point cloud roughness have a large range of missing points, which is particularly noticeable on the inner contour lines of the fragments.
[0055] S120. Contour point extraction: Based on the initial extraction of feature points from the fragments, the missing parts of the contour points are supplemented. First, the supplementary line segments are determined, and then a cylindrical box with radius R is constructed with the supplementary line segments as the axis. Then, by comparing with the original fragment point cloud data, the point cloud data within the cylindrical box is determined to be contour feature points.
[0056] Specifically, the fine extraction of contour points includes:
[0057] S121. Locate and determine the endpoints of the supplementary line segment and determine the supplementary line segment L;
[0058] S122. Determine the cylindrical bounding box, specifically: construct a cylindrical bounding box with radius R with the supplementary line segment L as the axis, and determine the point cloud data inside the cylindrical bounding box as contour feature points, expressed by the formula: Q(E)={E∈P,E∈O(L,R)}(5), where P is the point cloud model, E is the finely extracted feature contour point, Q(E) is the set of contour feature points finely extracted by the cylindrical bounding box method, and O(L,R) is a cylinder with central axis L and radius R.
[0059] S123. Select the extraction order, specifically: first select the shortest part of the supplementary line segment for the first supplementation, and then supplement according to the length of the supplementary line segment, from shortest to longest. If the supplementary line segment is too long, repeat steps S121 to S123 to supplement the missing part repeatedly.
[0060] It should be noted that in this embodiment, the radius R is preferably 0.02. The value of radius R can be set according to the actual situation for different artifact fragments, but a smaller value should be chosen to avoid incorrect extraction. Connecting the missing parts after the initial extraction reveals that the missing contour points are clustered near the connected line segments; these line segments are called supplementary line segments. The core of the cylindrical bounding box method is to construct a small cylindrical box with a suitable radius R, using the supplementary line segment as the axis. Compared with the original fragment point cloud, the point cloud within this small cylindrical box is determined to be the contour point. To ensure accurate selection of contour points, the radius R must be sufficiently small within reasonable limits. For areas with many gaps in the point cloud data, repeated iterations are necessary. The feature point Q(E) extracted by the cylindrical bounding box method belongs to both the original point cloud data and the cylinder formed by the central axis L and the radius R.
[0061] Another embodiment of the present invention provides a method for extracting fragment contour points based on point cloud data, such as... Figure 2 As shown, it includes:
[0062] S200. Acquire point cloud data of cultural relic fragments and form a point cloud model P of the cultural relic.
[0063] S210. Based on the point cloud roughness, perform initial contour point extraction on the point cloud model P, and eliminate false feature points to obtain the initial feature points of the fragments.
[0064] S220. Contour point extraction: Based on the initial extraction of feature points from the fragments, the missing parts of the contour points are supplemented. First, the supplementary line segments are determined, and then a cylindrical box with radius R is constructed with the supplementary line segments as the axis. Then, by comparing with the original fragment point cloud data, the point cloud data within the cylindrical box is determined to be contour feature points.
[0065] Specifically, the fine extraction of contour points includes:
[0066] S221. Finding and determining the endpoints of the supplementary line segment specifically includes: initially extracting a feature point dataset M, and for any point cloud M0 in dataset M, finding the h nearest points M0. i Let i = 1, 2, 3, ..., h. Calculate M using the following formula. i The resultant force F(M0) of the tension generated by M0, If a threshold θ is determined, and the resultant force F(M0) is greater than θ, then the endpoints of the supplementary line segment are identified, thus determining the set of endpoints L of the supplementary line segment. i .
[0067] Specifically, in practice, the threshold θ is preferably 0.9. Based on the results of the threshold selection, the number of endpoints is ensured to be at least 40 and at most 60. Since the number of supplementary line segment endpoints is relatively small, θ needs to be set to a large value. In this embodiment, to distinguish the initial point cloud data from the initially extracted point cloud data, different letters are used to represent them. The initially extracted feature point dataset is represented by M. Therefore, the point cloud data in the point cloud model P includes the point cloud data in the point cloud dataset M.
[0068] S222. Determine the supplementary line segment L, specifically including: one endpoint l1 of the supplementary line segment L, and the direction of the resultant tension force is... Supplement the line segment L to the other endpoint l2, the direction of the resultant force is... The vector of the supplementary line segment L is Three constraints must be met: a) and The included angle α tends to a larger value; b, and The angle β between the vectors tends to a smaller value; c, vector The point cloud roughness is different at both ends of the projection.
[0069] Specifically, and The included angle α tends to a large value, which is in the range of 90° to 180°. and The included angle β of the vectors tends to a smaller value, which is in the range of 0 to 90°.
[0070] S223. Determine the cylindrical bounding box, specifically: construct a cylindrical bounding box with radius R centered on the supplementary line segment L, and determine the point cloud data within the cylindrical bounding box as contour feature points, expressed by the formula: Q(E)={E∈P,E∈O(L,R)}(5), where P is the point cloud model, E is the refined extracted feature contour points, Q(E) is the set of contour feature points refined by the cylindrical bounding box method, and O(L,R) is a cylinder with central axis L and radius R. Specifically, the radius R is taken as 0.02.
[0071] S224. Select the extraction order, specifically: first select the shortest part of the supplementary line segment for the first supplementation, and then supplement according to the length of the supplementary line segment, from shortest to longest. If the supplementary line segment is too long, repeat steps S221 to S224 to supplement the missing part repeatedly.
[0072] Another embodiment of the present invention provides a method for extracting fragment contour points based on point cloud data, such as... Figure 3 As shown, it includes:
[0073] S300: Acquire point cloud data of cultural relic fragments and form a point cloud model P of the cultural relic.
[0074] S310. Based on the point cloud roughness, perform initial contour point extraction on the point cloud model P, and eliminate false feature points to obtain the initial fragment feature points.
[0075] The specific process of step S310 is as follows:
[0076] S311. For any point p in the point cloud model P, construct a spherical neighborhood with radius r and obtain points N(p) within the spherical neighborhood of the point cloud model P. The point cloud relationship within the neighborhood is: N(p) = {p j |p j ∈P,||p j -p||≤r}(1), where any point cloud data in the point cloud model P is p, p j Let be the neighborhood points within radius r of the point cloud data p.
[0077] Specifically, the preferred value for r is 0.2, ensuring that the number of points within the neighborhood radius is around 30.
[0078] S312, For point cloud data p, neighborhood points p j Calculate the centroid m and construct the covariance matrix C, specifically as follows: Where k is the number of point cloud data in the neighborhood of radius r;
[0079] S313. Obtain the eigenvalues of the covariance matrix C, determine whether the point cloud data is a feature point based on the eigenvalues, retain the feature points, and remove the false feature points.
[0080] It should be noted that when a feature point reaches a certain sharpness, the distribution of points within its spherical neighborhood should concentrate on one side, indicating significant roughness. In a point cloud model P, a spherical neighborhood of radius r is constructed for any point p in the model, and a covariance matrix is built with the neighborhood points within radius r, thus obtaining the eigenvalues of this covariance matrix. The covariance matrix is a matrix that measures the correlation between multidimensional random variables. In a point cloud data model, each point can be considered a random variable, and the covariance matrix describes the degree of correlation between these point clouds. If two random variables are positively correlated, their covariance is positive; conversely, if two random variables are negatively correlated, their covariance is negative. Using the eigenvalues and eigenvectors of the covariance matrix, we can find the main characteristic directions in the data; the variance in these directions is the eigenvalue of the covariance matrix. Therefore, the larger the eigenvalue, the larger the variance in that direction, and the stronger the correlation, and vice versa. Therefore, by constructing a covariance matrix from the point cloud within a spherical neighborhood, the eigenvalues of the covariance matrix can be obtained, thereby determining whether the point cloud data is a feature point.
[0081] Step S313 specifically includes:
[0082] S3130. Decompose the covariance matrix C to obtain the eigenvalues λ1, λ2, λ3, where λ1≤λ2≤λ3;
[0083] S3131. Compare the maximum eigenvalue λ3 with the threshold a. If λ3 is greater than the threshold a, then the point cloud data p is the initial feature point; if λ3 is less than the threshold a, then the point cloud data p is a non-feature point.
[0084] S3132. Iterate through all point cloud data in the point cloud model P in sequence, and obtain the initial feature points after the query is completed;
[0085] S3133. Based on the number of neighborhood points in the point cloud, remove false feature points to obtain the initial feature points extracted from the fragments.
[0086] like Figure 4 and Figure 5 As shown, Figure 4 This is the initial extracted contour point cloud map containing pseudo-feature points. Figure 5 This is the initial extracted contour point cloud image after removing false feature points. The value of the threshold 'a' is not specifically limited in this embodiment; it can be determined according to the actual situation.
[0087] S320. Contour point extraction: Based on the initial extraction of feature points from the fragments, the missing parts of the contour points are supplemented. First, the supplementary line segments are determined, and then a cylindrical box with radius R is constructed with the supplementary line segments as the axis. Then, by comparing with the original fragment point cloud data, the point cloud data within the cylindrical box is determined to be contour feature points.
[0088] Specifically, the fine extraction of contour points includes:
[0089] S321. Finding and determining the endpoints of the supplementary line segment specifically includes: initially extracting a feature point dataset M, and for any point cloud M0 in dataset M, finding the h nearest points M0. i Let i = 1, 2, 3, ..., h. Calculate M using the following formula. i The resultant force F(M0) of the tension generated by M0 Determine the threshold θ, preferably 0.9. Points where the resultant tension F(M0) is greater than θ are considered endpoints of the supplementary line segment, thus determining the set of endpoints L for the supplementary line segment. i .
[0090] like Figure 6 As shown, supplement line segment L, and supplement line segment endpoints l0 and l1; Figure 7 The tension is the force exerted by a neighboring point on the endpoint l0 of the supplementary line segment and the non-supplementary line segment point M0. Figure 8 To supplement the endpoints of the line segment.
[0091] It should be noted that, for Figure 6 After selecting and magnifying the point cloud on one side of l0, we obtain Figure 7 It was found that the neighboring points around l0 are concentrated in a small area on one side, occupying a relatively small area. For other points, their neighboring points are distributed around the perimeter or on half of the side, occupying an area greater than or equal to half of the neighborhood circle area. Therefore, it is assumed that the neighboring points exert a pulling force on the sampling points, and the pulling force exerted by the neighboring points of the supplementary line segment endpoints tends to a larger value. The pulling force exerted by the neighboring points of the other sampling points is less than that of the supplementary line segment endpoints. The influence of uneven point cloud distribution is avoided when calculating the pulling force. The contour points obtained after initial feature extraction are denoted as the point cloud set M. For any point cloud M0 in M, the h nearest points M are found. i Calculate M using the formula i The resultant pulling force on M0. After feature extraction, the initial extracted point cloud is non-uniform. Errors due to the number and distance of points should be avoided when calculating the pulling force. Here, 1 / h represents dividing by the number of surrounding points to avoid incorrect extraction due to uneven point cloud distribution. The latter part of the formula normalizes the pulling force on M0 in each direction to avoid differences in pulling force due to distance. A threshold θ is determined; points with pulling forces greater than θ are used as the supplementary line segment endpoint set L. i Since the required number of endpoints for the supplementary line segment is small, θ needs to be set to a relatively large value.
[0092] S322. Determine the supplementary line segment L, specifically including: one endpoint l1 of the supplementary line segment L, and the direction of the resultant force of the tension is... Supplement the line segment L to the other endpoint l2, the direction of the resultant force is... The vector of the supplementary line segment L is Three constraints must be met: a) and The included angle α tends to a large value, which ranges from 90° to 180°; b, and The included angle β between the vectors tends to a small value, which ranges from 0 to 90°; c, vector The point cloud roughness is different at both ends of the projection.
[0093] like Figure 9 As shown, the constraints required to determine the supplementary line segment are illustrated.
[0094] S323. Determine the cylindrical bounding box, specifically: construct a cylindrical bounding box with radius R with the supplementary line segment L as the axis, and determine the point cloud data inside the cylindrical bounding box as contour feature points, expressed by the formula: Q(E)={E∈P,E∈O(L,R)}(5), where P is the point cloud model, E is the finely extracted feature contour point, Q(E) is the set of contour feature points finely extracted by the cylindrical bounding box method, and O(L,R) is a cylinder with central axis L and radius R, and the radius R is 0.02.
[0095] S324. Select the extraction order, specifically: first select the shortest part of the supplementary line segment for the first supplementation, and then supplement the shortest part in turn according to the length of the supplementary line segment. If the supplementary line segment is too long, repeat steps S321 to S324 to supplement the missing part repeatedly.
[0096] The following specific examples of fine extraction will illustrate the fine extraction effect of the embodiments of the present invention:
[0097] From Figure 10(a) showing the contour points extracted from fragment 01 based on the angle of the normal vector and Figure 10(b) showing the contour points extracted from fragment 01 based on the point cloud roughness, it can be seen that both methods result in large-scale missing contour points, particularly noticeable on the inner contour lines of the fragments. From Figure 10(c) showing the refined extraction result from the cylindrical bounding box of fragment 01, it can be seen that the missing parts have been well supplemented. From the spatial display of the contour points on the original point cloud in Figure 10(d), it can be seen that the contour points extracted in this embodiment of the invention have strong descriptive power for the artifact fragments and can well preserve the texture details of the outer contour lines. Figures 11(a), 11(b), 11(c), and 11(d) also illustrate the above effects.
[0098] The number of devices and processing scale described herein are for the purpose of simplifying the description of the invention. Applications, modifications, and variations of the invention will be readily apparent to those skilled in the art.
[0099] Although embodiments of the present invention have been disclosed above, they are not limited to the applications listed in the specification and embodiments. They can be applied to various fields suitable for the present invention. For those skilled in the art, other modifications can be easily made. Therefore, without departing from the general concept defined by the claims and their equivalents, the present invention is not limited to the specific details and illustrations shown and described herein.
Claims
1. A method for extracting fragmented contour points based on point cloud data, characterized in that, include: Acquire point cloud data of cultural relic fragments to form a point cloud model P of the cultural relic; Based on the point cloud roughness, the initial contour points of the point cloud model P are extracted, and false feature points are eliminated to obtain the initial feature points of the fragments. Contour point extraction: Based on the initial extraction of feature points from the fragments, the missing parts of the contour points are supplemented. First, the supplementary line segments are determined, and then a cylindrical box with radius R is constructed with the supplementary line segments as the axis. Then, by comparing with the original fragment point cloud data, the point cloud data within the cylindrical box is determined to be contour feature points. Specifically, the fine extraction of contour points includes: Step 1: Locate and determine the endpoints of the supplementary line segment and determine the supplementary line segment L; Step 2: Determine the cylindrical bounding box. Specifically, construct a cylindrical bounding box with radius R centered on the supplementary line segment L. Identify the point cloud data within the cylindrical bounding box as contour feature points, expressed by the formula: (5), where P is the point cloud model, E is the finely extracted feature contour points, Q(E) is the set of contour feature points finely extracted by the cylindrical bounding box method, and O(L,R) is a cylinder with a central axis of L and a radius of R. Step 3: Select the extraction order. Specifically, first select the shortest part of the supplementary line segment for the first supplementation. Then, according to the length of the supplementary line segment, supplement the shortest part first and then the longest part. If the supplementary line segment is too long, repeat steps 1 to 3 to supplement the missing part repeatedly. The process of finding and determining the endpoints of the supplementary line segment specifically includes: initially extracting a feature point dataset M, and for any point cloud M0 in the dataset M, finding the h nearest points M0. i Let i = 1, 2, 3, ..., h. Calculate M using the following formula. i The resultant force F(M0) of the tension generated on M0. (4) Determine the threshold θ. If the resultant force F(M0) of the tension is greater than θ, then the endpoints of the supplementary line segment are determined, thereby determining the set of endpoints L of the supplementary line segment. i ; The determination of the supplementary line segment L specifically includes: one endpoint l1 of the supplementary line segment L, and the direction of the resultant force of the tension is... Add the other endpoint l2 corresponding to line segment L, and the direction of the resultant force of the tension is... The vector to supplement line segment L is It needs to meet three constraints: a) and The included angle α tends to a larger value; b, and The angle β between the vectors tends to a smaller value; c, vector The point cloud roughness is different at both ends of the projection.
2. The method for extracting fragmented contour points based on point cloud data as described in claim 1, characterized in that, The process of obtaining the initial feature points of the fragment is as follows: Step 1: For any point p in the point cloud model P, construct a spherical neighborhood with radius r, and obtain the point N(p) within the spherical neighborhood of the point cloud model P. The point cloud relationship within the neighborhood is as follows: (1), where any point cloud data within the point cloud model P is p, p j For the point cloud data, the neighboring points within radius r are: Step 2: For the point cloud data p, the neighboring points p j Calculate the centroid m and construct the covariance matrix C, specifically as follows: (2), (3), where k is the number of point cloud data in the neighborhood of radius r; Step 3: Obtain the eigenvalues of the covariance matrix C. Use the eigenvalues to determine whether the point cloud data contains feature points, retain the feature points, and remove the false feature points.
3. The method for extracting fragment contour points based on point cloud data as described in claim 2, characterized in that, Step three specifically includes: A. Decompose the covariance matrix C to obtain the eigenvalues λ1, λ2, λ3, where λ1≤λ2≤λ3; B. Compare the maximum eigenvalue λ3 with the threshold a. If λ3 is greater than the threshold a, then the point cloud data p is the initial feature point; if λ3 is less than the threshold a, then the point cloud data p is a non-feature point. C. Iterate through all point cloud data in point cloud model P in sequence, and obtain the initial feature points after the query is completed; D. Based on the number of neighborhood points in the point cloud, remove false feature points to obtain the initial feature points extracted from the fragments.
4. The method for extracting fragment contour points based on point cloud data as described in claim 1, characterized in that, The acquisition of point cloud data of cultural relic fragments specifically involves scanning the cultural relic fragments using a Minolta VIVID-900 3D laser scanner and an Isel RF1 rotating platform, with the data format being PCD point cloud data.
5. The method for extracting fragmented contour points based on point cloud data as described in claim 1, characterized in that, The larger value range is 90~180°, and the smaller value range is 0~90°.
Citation Information
Patent Citations
Point-line double-domain mutual enhancement building geometric contour line reconstruction method
CN115546421A
Ceramic fragment three-dimensional intelligent splicing method based on contour features
CN116310244A
