Three-dimensional rapid scanning acquisition method

Through multiple high-precision measurement module acquisition and standard score, Mahalanobis distance screening methods, combined with high-speed computing hardware, the error problem in three-dimensional acquisition is solved, the precision and accuracy of data are improved, and a more accurate target entity is constructed Surface model.

CN118628647APending Publication Date: 2024-09-10萍乡市国土空间调查勘测规划院
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410688491.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing three-dimensional acquisition methods have instrument errors, object factor errors and measurement errors, which lead to deviations and inaccuracies in the acquisition results.

Method used

Multiple high-precision measurement modules are used to collect three-dimensional data. Through standard score and Mahalanobis distance screening methods, combined with high-speed computing hardware and modeling algorithms, a surface model of the target entity is constructed to reduce errors and improve the accuracy of collected data.

Benefits of technology

Through data compensation and high-precision screening of multiple measurement modules, errors in collected data are reduced and the accuracy and precision of the target entity surface model are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628647A
    Figure CN118628647A
Patent Text Reader

Abstract

The invention provides a three-dimensional rapid scanning method, and belongs to the technical field of three-dimensional data acquisition. The problem of data errors in the three-dimensional acquisition process is solved; the method specifically comprises the following steps: obtaining scanning and combining to obtain a scanning data set and a scanning data record; calculating a scanning average value, an observation difference value, a scanning standard deviation and a standard score; screening according to the standard score to obtain a screening scanning data point, a screening scanning record and a screening scanning data set; calculating the screened scanning data points to obtain a scanning mean vector; calculating the screened scanning data points and the scanning mean vector to obtain observation value relation data and transposition observation value data; mahalanobis distance data are obtained through calculation; analyzing the freedom degree of the column chain table to obtain chi-square freedom degree; according to the mahalanobis distance data and a second threshold value, obtaining a secondary screening scanning data set to construct a surface model; according to the method, the data are screened for multiple times, and the target entity data are accurately and efficiently acquired.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention provides a three-dimensional rapid scanning acquisition method, and relates to the technical field of three-dimensional data acquisition. Background Art

[0002] The advent of the big data era makes data acquisition particularly important. Among the many data processing technologies, three-dimensional data processing plays a key role in many scientific, engineering and commercial fields. Three-dimensional scanning technology is a high-tech technology that integrates optical, mechanical and computer technologies. It is mainly used to scan the shape and structure of the object space to obtain the spatial coordinates of the object surface. As an important branch of three-dimensional scanning technology, non-contact three-dimensional scanning has the characteristics of fast detection speed and zero contact. It can collect three-dimensional point cloud data of large, complex and irregular objects into the computer and quickly reconstruct the required three-dimensional model. The current three-dimensional acquisition methods mainly use acquisition tools including cameras, scanners, photography and light fields, combined with sensors or measuring equipment to collect data on three-dimensional objects to be measured.

[0003] The current 3D acquisition methods have the following defects, which lead to certain errors in the reconstructed target entity:

[0004] 1. Instrument error: In the existing three-dimensional acquisition methods, it is necessary to use acquisition tools to collect data of the target entity. During the acquisition process, there is a deviation between the measurement result and the actual result because the accuracy of the acquisition tool itself does not meet the standard.

[0005] 2. Errors caused by object’s own factors: In the process of collecting the target entity through the collection tool, due to the target entity’s own factors, the light source of the collection tool is absorbed, etc., resulting in the inability to collect the data of the target entity.

[0006] 3. Measurement error: During the acquisition process, the instability of external conditions and the limitation of the method affect the three-dimensional acquisition. The constant changes in the temperature, air pressure, air humidity and clarity, wind force, atmospheric refraction and other factors in the observation environment lead to errors in the acquisition results. The approximate limitations of the theoretical formula of the method or the imperfection of the measurement method lead to errors in the acquisition results. Summary of the invention

[0007] In view of the shortcomings of existing three-dimensional acquisition methods, the purpose of the present invention is to provide a three-dimensional rapid acquisition method, which aims to reduce the impact of errors in the three-dimensional acquisition process on the reconstruction of the target entity and obtain the target entity data accurately and efficiently.

[0008] In order to achieve the above object, the present invention is implemented by the following technical solution: a three-dimensional fast acquisition method, the acquisition method comprising:

[0009] Step S1: performing three-dimensional data collection on the target entity to obtain the first scanning data point, the second scanning data point and the third scanning data point; combining the collected scanning data points to obtain scanning data records and scanning data times;

[0010] The scan data records are represented in the form of coordinate points in Cartesian coordinates to obtain a plurality of coordinate points, and the scan data records with different coordinate points in Cartesian coordinates are processed once to obtain a scan data set;

[0011] The scan data record and the scan data number are calculated to obtain the scan average value; the scan data record and the scan average value are calculated to obtain the observed difference; the observed difference and the scan average value are calculated to obtain the scan standard deviation;

[0012] Step S2: Process the observed difference and the scanning standard deviation to obtain a standard score; filter the scanning data set according to the standard score to obtain filtered scanning data points;

[0013] Combining the screening scan data points to obtain screening scan data records; combining the screening scan data records in turn to obtain screening scan record quantities and screening scan data sets;

[0014] Step S3: Calculate the selected scan data points to obtain a scan mean vector;

[0015] Calculate the screening scan data points and the scan mean vector and record them as observation value relationship data;

[0016] Transpose the observation value relationship data, recorded as transposed observation value data;

[0017] Calculate the observation value relationship data and the transposed observation value data to obtain the Mahalanobis distance data;

[0018] Step S4: analyzing the column linked list degrees of freedom of the scan mean vector to obtain the chi-square degrees of freedom; performing a primary processing on the chi-square degrees of freedom to obtain a second threshold; comparing the Mahalanobis distance data with the second threshold, performing screening based on the comparison result between the Mahalanobis distance data and the second threshold, deleting outliers, and obtaining a secondary screening scan data set;

[0019] Step S5: Utilize high-speed computing hardware and modeling algorithms, combined with the secondary screening scan data set, to obtain a surface model of the target entity.

[0020] Furthermore, in step S1, the process of obtaining the scan data record is as follows:

[0021] According to the format of the two-dimensional array, the first scanning data point, the second scanning data point and the third scanning data point are expressed in the form of coordinate points in Cartesian coordinates to obtain a plurality of coordinate points, and the scanning data points with the same coordinate points in Cartesian coordinates are combined to obtain scanning data records and scanning data times t;

[0022] The Cartesian coordinate point is (x i ,y m , z n ) includes:

[0023] The Cartesian coordinate point in the first scan data point is (x i1 ,y m1 , z n1 ) is denoted as V1(x i1 ,y m1 , z n1 );

[0024] The Cartesian coordinate point of the second scan data point is (x i2 ,y m2 , z n2 ) is denoted as V2(x i2 ,y m2 , z n2 );

[0025] The Cartesian coordinate point of the third scan data point is (x i3 ,y m3 , z n3 ) corresponding to the value, denoted as (x i3 ,y m3 , z n3 );

[0026] Among the three scanning data points, (x i ,y m , z n )V1(x) corresponding to the Cartesian coordinate point i1 ,y m1 , z n1 )、V2(x i2 ,y m2 , z n2 )、V3(x i3 ,y m3 , z n3 ) to form [V1(x i1 ,y m1 , z n1 ), V2(x i2 ,y m2 , z n2 ), V3(x i3 ,y m3 , zn3 )], recorded as scanning data record Vf(x if ,y mf , z nf );

[0027] The scanning data records of different Cartesian coordinate points in the Cartesian coordinate system are combined to obtain a scanning data set, and the scanning data records and the number of scanning data are calculated to obtain a scanning average value.

[0028] Furthermore, the process of obtaining the scanned data set is as follows:

[0029] The acquisition of the scanned data set is as follows:

[0030] Scan data records Vf(x 1 ,y 1 , z 1 ), Vf(x 2 ,y 2 , z 2 )~Vf(x A ,y A , z A ), A is a constant;

[0031] The scan data records of different Cartesian coordinate points are combined into an array to obtain [Vf(x 1 ,y 1 , z 1 ), Vf(x 2 ,y 2 , z 2 )~Vf(x A ,y A , z A )], recorded as the scanned data set;

[0032] The scanned dataset is represented as follows:

[0033] Vf(x1, y1, z1), Vf(x2, y2, z2)~Vf(xA, yA, zA);

[0034] V1(xi1, ym1, zn1), V2(xi2, ym2, zn2), and V3(xi3, ym3, zn3) are combined to form the corresponding scan data record Vf(xif, ymf, znf), and the scan data set is expressed as:

[0035] {[V1(x1,y1,z1),V2(x1,y1,z1),V3(x1,y1,z1)],[V1(x2,y2,z2),V2(x2, y2, z2), V3 (x2, y2, z2)] ~ [V1 (xA, yA, zA), V2 (xA, yA, zA), V3 (xA, yA, zA)]}.

[0036] Furthermore, the process of obtaining the scan average value is as follows:

[0037] By scanning the data record Vf(x if ,y mf , z nf ) to get V1(x i1 ,y m1 , z n1 ), V2(x i2 ,y m2 , z n2 ), V3(x i3 ,y m3 , z n3 ), for V1(x i1 ,y m1 , z n1 ), V2(x i2 ,y m2 , z n2 ), V3(x i3 ,y m3 , z n3 ) to perform sum calculation to obtain the total value of the data, recorded as M1;

[0038]

[0039] Among them, vt is the representation form of the data point, and t represents the number of scanned data;

[0040] The total data value and the number of scanned data are averaged to obtain the scan average value, which is recorded as

[0041] Calculate the scan data record and the scan average value to obtain the difference between the scan data record and the scan average value, which is recorded as the observation difference H;

[0042]

[0043] The observed difference and the scan average are calculated to obtain the scan standard deviation, as follows:

[0044] By Vf(x if ,y mf , z nf ) to get V1(x i1 ,ym1 , z n1 ), V2(x i2 ,y m2 , z n2 ), V3(x i3 ,y m3 , z n3 ), for V1(x i1 ,y m1 , z n1 ), V2(x i2 ,y m2 , z n2 ), V3(x i3 ,y m3 , z n3 ) and the observed difference to calculate the standard deviation, and obtain the scanning standard deviation, denoted as S;

[0045]

[0046] Based on the scan standard deviation and the observed difference, a standard score is calculated.

[0047] Furthermore, the process of obtaining the standard score is as follows:

[0048] Calculate the standard deviation of the scan standard deviation and the observed difference to obtain the standard score, recorded as Z;

[0049]

[0050] Read the standard score, determine the value of the standard score, and determine the scanning data point Vt(x i ,y m , z n ) interval information;

[0051] The judgment process is as follows:

[0052] If Z is greater than 0, it means Vt(x i ,y m , z n ) is higher than the average value; if Z is less than 0, it means that Vt(x i ,y m , z n ) is lower than the average value; if Z is equal to 0, it means that Vt(x i ,y m , z n ) is equal to the mean value;

[0053] Read the standard score, calculate the standard score and the first threshold C, and obtain the offset coefficient, which is recorded as G;

[0054]

[0055] The judgment process is as follows: if the offset coefficient is greater than or equal to 0, it means that the greater the deviation of the data point from the mean value, the more outliers it is;

[0056] If the value of the offset coefficient is less than 0, it means that the smaller the deviation of the data point from the mean value, the less processing is done;

[0057] According to the standard score abnormal value interval division rules and the size of the offset coefficient, the scan data record Vf(x if ,y mf , z nf ) to obtain the screening scan data points, recorded as Vdt(x id ,y md , z nd );

[0058] The screening scan data points are combined to obtain a screening scan data record.

[0059] Furthermore, the process of obtaining the screening scan data records is as follows:

[0060] According to the format of the two-dimensional array, the screening scan data points with the same Cartesian coordinates are combined to obtain the screening scan data records, which are recorded as Vk(x ik ,y mk , z nk );

[0061] Sequentially record the screening scan data Vk(x ik ,y mk , z nk ) to obtain the filtered scan data set and calculate the total value of the dimension;

[0062] The process of obtaining the total value of a dimension is as follows:

[0063] Sum the filtered scan data set of each dimension in turn to obtain the total dimension value M2;

[0064]

[0065] Calculate the total dimension value and the number of filtered data records to get the filtered mean

[0066]

[0067] Integrate the total dimension value and the filtered mean to obtain the scanned mean vector, denoted as u;

[0068]

[0069] Where nu is the number of filtered scan data records;

[0070] Calculate the screening scan data points and the scan mean vector, and record them as the observation value relationship data L;

[0071] L=∑ -1 (Vdt(x id ,y md ,z nd )-u);

[0072] Through the transposition operation, the difference between the screened scan data points and the mean vector is transposed to obtain the transposed observation data;

[0073] The transposed observation data and observation relationship data are calculated to obtain the Mahalanobis distance data.

[0074] Furthermore, the process of obtaining Mahalanobis distance data is as follows:

[0075] The transposed observation data and observation relationship data are calculated to obtain the Mahalanobis distance data, denoted as F;

[0076]

[0077] According to the classification of dimensions, the scanned mean vectors are grouped to obtain a column linked list of the scanned mean vectors;

[0078] Read the column linked list of the scanned mean vector to obtain the number of rows R1 and the number of columns R2 of the column linked list of the scanned mean vector;

[0079] According to the number of rows R1 and the number of columns R2 of the column linked list of the scanned mean vector, the column linked list of the scanned mean vector is calculated to obtain the chi-square degree of freedom J;

[0080] J = (R1-1) × (R2-1);

[0081] According to the chi-square degrees of freedom and significance level, the chi-square distribution quantile is obtained by consulting the chi-square distribution table, which is recorded as E;

[0082] According to the size of the value, the obtained Mahalanobis distance data F are sorted from small to large, and the sorted Mahalanobis distance data are compared with the chi-square distribution quantile E, and outliers are identified according to the comparison result to obtain the screened Mahalanobis distance data;

[0083] Analyze the filtered Mahalanobis distance data, find the filtered scan data points corresponding to the filtered Mahalanobis distance data, combine the corresponding filtered scan data points, and obtain a secondary filtered scan data set;

[0084] The secondary screening scan data set is processed to obtain the surface model of the target entity.

[0085] Furthermore, in step S5, the process of obtaining the surface model of the target entity is as follows:

[0086] Using high-speed computing hardware and 3D modeling tools, the secondary screening scan data set is subjected to point cloud registration and 3D reconstruction to obtain a surface model of the target entity;

[0087] The secondary screening scan data set is calibrated using the point cloud registration method to obtain the calibrated point cloud data;

[0088] With the help of the registration_icp function of the Open3D library in Python and high-speed computing hardware, point cloud registration of the secondary screening scan dataset is realized, and the secondary screening scan datasets from different dimensions are aligned into a unified Cartesian coordinate system to obtain the calibration point cloud data;

[0089] Using the 3D reconstruction method to construct the surface model of the target entity from the calibration point cloud data;

[0090] With the help of the scipy.spatial submodule in the Scipy library of the Python language and high-speed computing hardware, the Delaunay triangulation algorithm is implemented. The data in the point cloud are interconnected to form a triangular mesh. The internal angle of each triangle is less than 90 degrees, generating a relatively uniform mesh, realizing the conversion of point cloud data into a three-dimensional surface model, and obtaining the surface model of the target entity.

[0091] Compared with the prior art, the present invention has the following beneficial effects:

[0092] The present invention realizes measurement by using multiple high-precision measurement modules. During the measurement process of the high-precision measurement modules, due to the continuous changes in factors such as temperature, air pressure, air humidity and clarity, wind force, and atmospheric refraction in the observation environment, and at the same time, each high-precision measurement module has a corresponding relationship between its own measurement method and the surface of the target entity during measurement, resulting in errors in the collected data obtained by a single high-precision measurement module. The measurement by multiple high-precision measurement modules can compensate for the errors and obtain more accurate collected data.

[0093] 1. The present invention filters the collected data. The existing technology is not sufficient for the filtering process of collected data. The collected data is filtered once by using the standard score, and then the Mahalanobis distance is further used to perform a secondary screening on the collected data on this basis to obtain a more accurate target entity surface model. BRIEF DESCRIPTION OF THE DRAWINGS

[0094] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0095] Figure 1 It is a schematic diagram of the process of the present invention;

[0096] Figure 2 It is a schematic diagram for explaining the data of the present invention;

[0097] Figure 3 This is a schematic diagram of point cloud distribution of the present invention;

[0098] Figure 4 Schematic diagram of model construction of the present invention. DETAILED DESCRIPTION

[0099] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and understandable, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0100] See also Figure 1 and Figure 2 In order to achieve the above purpose, the present invention is a method for realizing a data-driven three-dimensional rapid acquisition through the following technical solution:

[0101] Step S1: Using a high-precision measurement module, three-dimensional data collection is performed on the target entity to obtain the first scanning data point, the second scanning data point and the third scanning data point;

[0102] Combine the first scanning data point, the second scanning data point and the third scanning data point to obtain scanning data records and scanning data times t;

[0103] The scan data records are represented in the form of coordinate points in Cartesian coordinates to obtain a plurality of coordinate points, and the scan data records with different coordinate points in Cartesian coordinates are processed once to obtain a scan data set;

[0104] Further explanation: in step S1, the scanning data points are obtained as follows:

[0105] Read the high-precision measurement module and obtain three scanning data points Vt(x i ,y m , z n );

[0106] Wherein, t represents the number of scan data, and the value range of t is: 1 to 3;

[0107] The specific steps for obtaining the scan data records are as follows:

[0108] According to the format of the two-dimensional array, the scanning data points with the same Cartesian coordinates among the first scanning data points, the second scanning data points and the third scanning data points are combined, and the scanning data records include:

[0109] The Cartesian coordinate point in the first scan data point is (x i1 ,y m1 , zn1 ) is denoted as V1(x i1 ,y m1 , z n1 );

[0110] The Cartesian coordinate point of the second scan data point is (x i2 ,y m2 , z n2 ) is denoted as V2(x i2 ,y m2 , z n2 );

[0111] The Cartesian coordinate point of the third scan data point is (x i3 ,y m3 , z n3 ) is denoted as V3(x i3 ,y m3 , z n3 );

[0112] Among the three scanning data points, (x i ,y m , z n )V1(x) corresponding to the Cartesian coordinate point i1 ,y m1 , z n1 )、V2(x i2 ,y m2 , z n2 )、V3(x i3 ,y m3 , z n3 ) to form [V1(x i1 ,y m1 , z n1 ), V2(x i2 ,y m2 , z n2 ), V3(x i3 ,y m3 , z n3 )], recorded as scanning data record Vf(x if ,y mf , z nf );

[0113] Among them, i, m and n represent the corresponding subscripts of the three dimensions x, y and z, and the value range of i, m and n is: 1~A;

[0114] Among them, if, mf and nf represent the corresponding subscripts of the three dimensions x, y and z, and the value range of if, mf and nf is: 1~A;

[0115] A is a constant, which represents the number of scanned data records;

[0116] The specific steps for obtaining the scanned data set are as follows:

[0117] Combining scan data records of different Cartesian coordinate points in a Cartesian coordinate system to obtain a scan data set;

[0118] The Cartesian coordinate point scanning data is recorded as follows:

[0119] Vf(x 1 ,y 1 , z 1 ), Vf(x 2 ,y 2 , z 2 )~Vf(x A ,y A , z A );

[0120] The scan data records of different Cartesian coordinate points are combined into an array to obtain [Vf(x 1 ,y 1 , z 1 ), Vf(x 2 ,y 2 , z 2 )~Vf(x A ,y A , z A )], recorded as the scanned data set;

[0121] The scanned dataset is represented as follows:

[0122] Vf(x 1 ,y 1 , z 1 ), Vf(x 2 ,y 2 , z 2 )~Vf(x A ,y A , z A );

[0123] V1(x i1 ,y m1 , z n1 )、V2(x i2 ,y m2 , z n2 )、V3(x i3 ,y m3 , z n3 ) to form the corresponding scan data record Vf(x if ,y mf , z nf ), the scanned data set is expressed as:

[0124] {[V1(x1 ,y 1 , z 1 ), V2(x 1 ,y 1 , z 1 ), V3(x 1 ,y 1 , z 1 )],[V1(x 2 ,y 2 , z 2 ), V2(x 2 ,y 2 , z 2 ), V3(x 2 ,y 2 , z 2 )]~[V1(x A ,y A , z A ), V2(x A ,y A , z A ), V3(x A ,y A , z A )]};

[0125] It should be noted that the high-precision test modules include: laser 3D scanner, depth camera, three-coordinate measuring machine, handheld 3D scanner, and articulated arm 3D scanner.

[0126] Use the average value formula to calculate the scan data records and obtain the scan average value;

[0127] Using the difference formula, the scan data record and the scan average are calculated to obtain the observed difference;

[0128] Using the standard deviation formula, the observed difference and the scan average are calculated to obtain the scan standard deviation;

[0129] The scan average and scan standard deviation are obtained as follows:

[0130] By Vf(x if ,y mf , z nf ) to get V1(x i1 ,y m1 , z n1 ),V2(x i2 ,y m2 , z n2 ),V3(x i3 ,y m3 , z n3 ) Using the summation formula 11, V1(x i1 ,y m1, z n1 ),V2(x i2 ,y m2 , z n2 ),V3(x i3 ,y m3 , z n3 ) to perform sum calculation to obtain the total value of the data, recorded as M1;

[0131] Formula 11 is as follows:

[0132] Among them, vt is the representation form of the data point, and t represents the number of scanned data;

[0133] Using the average value formula 12, the total data value and the number of scanned data are averaged to obtain the scan average value, which is recorded as

[0134] Formula 12 is as follows:

[0135] Using the difference formula 13, the scan data record and the scan average value are calculated to obtain the difference between the scan data record and the scan average value, which is recorded as the observation difference H;

[0136] By Vf(x if ,y mf , z nf ) to get V1(x i1 ,y m1 , z n1 ),V2(x i2 ,y m2 , z n2 ),V3(x i3 ,y m3 , z n3 ), using the standard deviation formula 14 for V1(x i1 ,y m1 , z n1 ),V2(x i2 ,y m2 , z n2 ),V3(x i3 ,y m3 , z n3 ) and the observed difference to calculate the standard deviation, and obtain the scanning standard deviation, denoted as S;

[0137] Formula 13 is as follows:

[0138] Formula 14 is as follows:

[0139] Step S2: Using the Z-core method, the observed difference and the scan standard deviation are processed to obtain the standard score;

[0140] According to the standard score, the scan data set is screened to obtain screened scan data points, which are recorded as screened scan data points;

[0141] Combining the screening scan data points to obtain a screening scan data record;

[0142] Combining the screening scan data records in sequence to obtain a screening scan record volume and a screening scan data set;

[0143] Further explanation, in step S2, the standard score is obtained as follows:

[0144] Using the standard deviation formula 21, the standard deviation of the scan standard deviation and the observation difference is calculated to obtain the standard score, which is recorded as Z;

[0145] Formula 21 is as follows:

[0146] Read the standard score, determine the value of the standard score, and determine Vt(x i ,y m , z n ) interval information;

[0147] The judgment process is as follows:

[0148] If Z is greater than 0, it means Vt(x i ,y m , z n ) is higher than the average value; if Z is less than 0, it means that Vt(x i ,y m , z n ) is lower than the average value; if Z is equal to 0, it means that Vt(x i ,y m , z n ) is equal to the mean value;

[0149] The standard score is read, and the standard score and the first threshold C are calculated using the offset formula 22 to obtain an offset coefficient, which is denoted as G. The calculation formula for the offset coefficient is as follows:

[0150] Offset coefficient formula 22:

[0151] The judgment process is as follows: if the offset coefficient is greater than or equal to 0, it means that the greater the deviation of the data point from the mean value, the more outliers it is;

[0152] If the value of the offset coefficient is less than 0, it means that the smaller the deviation of the data point from the mean value, the less processing is done;

[0153] According to the standard score abnormal value interval division rules and the size of the offset coefficient, the scan data record Vf(xif ,y mf , z nf ) to obtain the screening scan data points, recorded as Vdt(x id ,y md , z nd );

[0154] Among them, id, md and nd represent the corresponding subscripts of the three dimensions x, y and z, and the value range of id, md and nd is: 1~A;

[0155] It should be noted that the first threshold mentioned above is only used as a criterion for determining the abnormal value interval, and the first threshold is generally set to 3; the specific judgment criterion can be adjusted by the user or system developer according to actual needs.

[0156] In this application, standard scores are widely used and can be effectively used in three-dimensional rapid acquisition methods; the calculation of standard scores is relatively simple, requiring only the original score, average value and standard deviation; when collecting using a high-precision measurement module, a large number of point cloud data sample points will be generated, which conform to the normal distribution and meet the conditions for using the standard score method to perform preliminary screening of a large number of point cloud data sample points. The use of standard scores can perform preliminary screening of point cloud data points faster than existing technologies, thereby improving processing speed and simplifying the processing process.

[0157] It should be noted that if the sample size of the data set is large enough, according to the central limit theorem, the distribution of the sample mean may still be approximately normal, and it is reasonable to use the standard score at this time.

[0158] It should be noted that the central limit theorem is a basic theorem in statistics. It describes the phenomenon that under certain conditions, the sum of a large number of independent and identically distributed random variables tends to be normally distributed after appropriate standardization.

[0159] According to the format of the two-dimensional array, the screening scan data points with the same Cartesian coordinates are combined to obtain the screening scan data records, which are recorded as Vk(x ik ,y mk , z nk );

[0160] Among them, ik, mk and nk represent the corresponding subscripts of the three dimensions x, y and z, and the value range of ik, mk and nk is: 1~A;

[0161] Combine the screening scan data records Vk(xik, ymk, znk) of different Cartesian coordinate points in sequence to obtain a screening scan data set and a screening data record quantity, and record the screening data record quantity as nk;

[0162] Wherein, nu represents the number of data records, and the value range of nu is: 1 to A.

[0163] Step S3: using the mean vector calculation formula, calculate the selected scan data points to obtain the scan mean vector;

[0164] Using the covariance matrix, the covariance of the screened scan data points and the scan mean vector is calculated and recorded as the observed value relationship data;

[0165] Perform a transposition operation on the observation value relationship data, recorded as transposed observation value data;

[0166] Using the Mahalanobis distance formula, the observation relationship data and the transposed observation data are calculated to obtain the Mahalanobis distance data;

[0167] Further explanation: in step S3, the scan mean vector is obtained as follows:

[0168] Using the summation formula 11, sum the filtered scan data set of each dimension in turn to obtain the dimension total value M2;

[0169] Using the average value formula 12, calculate the total value of the dimension and the number of filtered data records to obtain the filtered mean

[0170] Formula 11 is as follows:

[0171] Formula 12 is as follows:

[0172] Denoted as Using the mean vector calculation formula 31, the dimension total value and the screening mean are integrated to obtain the scan mean vector, denoted as u;

[0173] The mean vector u contains: The scan mean vector in three dimensions;

[0174] The covariance matrix formula 32 is used to calculate the screening scan data points and the scan mean vector, which are recorded as the observation value relationship data L;

[0175] Through the transposition operation, the observation value relationship data is transposed to obtain the transposed observation value data;

[0176] Using the Mahalanobis distance formula 33, the transposed observation data and the observation relationship data are calculated to obtain the Mahalanobis distance data, denoted as F;

[0177] Formula 31:

[0178] Formula 32: L = ∑ -1 (Vdt(x id ,ymd ,z nd )-u);

[0179] Formula 33:

[0180] It should be noted that the transposition operation is a data processing operation that is mainly used to change the order of data in memory or storage media, usually by transposing the order of data from the beginning to the end of the range, or by swapping rows and columns. This operation can be applied to various data structures and data types, including arrays, lists, strings, etc. The implementation of the transposition operation depends on the specific programming language and data structure.

[0181] Step S4: Analyze the column linked list degrees of freedom of the scanned mean vector to obtain the chi-square degrees of freedom;

[0182] The chi-square degrees of freedom are processed once to obtain the chi-square distribution quantile of the chi-square degrees of freedom, which is recorded as the second threshold;

[0183] Comparing the Mahalanobis distance data with the second threshold, screening according to the comparison result between the Mahalanobis distance data and the second threshold, deleting outliers, and obtaining a secondary screening scan data set;

[0184] Further, in step S4, the chi-square degrees of freedom are obtained as follows;

[0185] According to the classification of dimensions, the scanned mean vectors are grouped to obtain a column linked list of the scanned mean vectors;

[0186] It is important to note that dimension: refers to the dimension of a vector can also be viewed as the number of degrees of freedom required to describe the vector, i.e. the number of independently chosen coordinates;

[0187] Read the column linked list of the scanned mean vector to obtain the number of rows R1 and the number of columns R2 of the column linked list of the scanned mean vector;

[0188] According to the number of rows R1 and the number of columns R2 of the column linked list of the scanned mean vector, the column linked list of the scanned mean vector is calculated, and the chi-square degree of freedom J is obtained using the degree of freedom formula 41;

[0189] Formula 41: J = (R1-1) × (R2-1);

[0190] According to the chi-square degrees of freedom and significance level, the chi-square distribution quantile is obtained by consulting the chi-square distribution table or calculating using statistical software, which is recorded as E;

[0191] It should be noted that the chi-square distribution table: The chi-square distribution table is a statistical tool used to find the critical value of the chi-square distribution in the chi-square test.

[0192] A chi-square distribution table usually includes the following:

[0193]

[0194] It should be noted that the significance level is a custom data range, usually 0.05 or 0.1. The specific judgment criteria can be adjusted by the user or system developer according to actual needs.

[0195] It should be noted that the statistical software includes: in R language, you can use the qchisq() function for calculation; in Python, you can use scipy, stats, chi2 and ppf() functions.

[0196] According to the size of the value, the obtained Mahalanobis distance data F are sorted from small to large, and then the sorted Mahalanobis distance data are compared with the chi-square distribution quantile E, and outliers are identified according to the comparison result to obtain the screened Mahalanobis distance data;

[0197] The filtered Mahalanobis distance data are analyzed, the filtered scan data points corresponding to the filtered Mahalanobis distance data are found, and the corresponding filtered scan data points are combined to obtain a secondary filtered scan data set.

[0198] In this application, three scans are performed using multiple high-precision measurement modules to obtain three-dimensional acquisition data; the data set conditions for applying the Mahalanobis distance formula are met to achieve more accurate screening of the screening scan data points and obtain a secondary screening scan data set;

[0199] The Mahalanobis distance formula has the following advantages:

[0200] 1. Multi-dimensional feature consideration: Point cloud data is usually multi-dimensional, including spatial coordinates (X, Y, Z) and other possible attributes (such as color, normal, intensity, etc.). Mahalanobis distance can consider all these dimensions at the same time and provide a comprehensive distance metric.

[0201] 2. Correlation analysis: In point cloud data, different dimensions (such as X, Y, Z coordinates) may be correlated. The Mahalanobis distance takes this correlation into account through the covariance matrix to more accurately evaluate the distance between points.

[0202] 3. Scale consistency: Since the Mahalanobis distance uses the inverse of the covariance matrix, it can automatically adjust the scales of different dimensions to ensure that the comparison in all dimensions is fair and consistent.

[0203] 4. Outlier Detection: Mahalanobis distance can be used to identify outliers that are far away from other points. In point cloud data, this may mean identifying noise points or erroneous measurements that do not belong to the current scene.

[0204] 5. Robustness: Compared to other distance metrics (such as Euclidean distance), Mahalanobis distance is more robust to noise and outliers in the data because it takes into account the distribution characteristics of the data.

[0205] 6. Adaptability: The Mahalanobis distance can be adjusted according to the specific characteristics of the point cloud data, for example, by using a weighted covariance matrix to emphasize the importance of certain dimensions.

[0206] 7. Multi-scale analysis: When processing point cloud data with different resolutions or scales, the Mahalanobis distance can adapt to the data characteristics at different scales.

[0207] 8. Data fusion: When fusing point cloud data from different sensors or at different time points, Mahalanobis distance can help evaluate the consistency and difference of the data.

[0208] This paper uses the standard score and Mahalanobis distance methods to screen the three-dimensional acquisition data multiple times, thereby improving the accuracy of data processing; the amount of three-dimensional point cloud data is usually large, and the process of the standard score and Mahalanobis distance formula is not complicated, which can quickly and efficiently screen the data, reduce the configuration conditions of high-speed computing hardware and the influence of error data in the three-dimensional acquisition data on the construction of the target entity; using multiple high-precision measurement modules for measurement and compensating the measurement results can further reduce the influence of errors occurring during equipment operation on the acquisition data.

[0209] See also Figure 3 and Figure 4 ,Step S5: Utilize high-speed computing hardware and modeling algorithms, combined with secondary screening scan data sets, to obtain a surface model of the target entity.

[0210] Further explanation: in step S5, the surface model of the target entity is obtained as follows:

[0211] Using high-speed computing hardware and 3D modeling tools, the secondary screening scan data set is subjected to point cloud registration and 3D reconstruction to obtain a surface model of the target entity;

[0212] The secondary screening scan data set is calibrated using the point cloud registration method to obtain the calibrated point cloud data;

[0213] With the help of the registration_icp function of the Open3D library in Python and high-speed computing hardware, point cloud registration of the secondary screening scan dataset is realized, and the secondary screening scan datasets from different dimensions are aligned into a unified Cartesian coordinate system to obtain the calibration point cloud data;

[0214] It should be noted that high-speed computing hardware includes: high-performance CPU / GPU, professional graphics workstation or cloud computing resources;

[0215] It should be noted that the 3D modeling tools include: MeshLab, CloudCompare, Autodesk Forge, Python's Open3D library, etc.

[0216] Using the 3D reconstruction method to construct the surface model of the target entity from the calibration point cloud data;

[0217] With the help of the submodule scipy.spatial in the Scipy library of Python language and high-speed computing hardware, the Delaunay triangulation algorithm is implemented to connect the data in the point cloud to form a triangular mesh. The circular internal angle of each triangle is less than 90 degrees, generating a relatively uniform mesh, realizing the conversion of point cloud data into a three-dimensional surface model, and obtaining the surface model of the target entity;

[0218] It should be noted that the Delaunay triangulation algorithm is a 3D reconstruction method that converts point cloud data into a 3D entity. The specific choice of 3D reconstruction method depends on the characteristics of the point cloud data, the required accuracy, computing resources, and the final application. In practical applications, it may be necessary to combine multiple algorithms to achieve the best reconstruction effect.

[0219] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technical personnel in this field according to actual conditions. For example, if there are weight coefficients and proportional coefficients, their set sizes are to quantify each parameter to obtain a specific value, which is convenient for subsequent comparison. Regarding the size of the weight coefficient and the proportional coefficient, it is sufficient as long as it does not affect the proportional relationship between the parameter and the quantized value.

[0220] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A three-dimensional rapid acquisition method, characterized in that: Collection methods include: Step S1: performing three-dimensional data collection on the target entity to obtain the first scanning data point, the second scanning data point and the third scanning data point; combining the collected scanning data points to obtain scanning data records and scanning data times; The scan data records are represented in the form of coordinate points in Cartesian coordinates to obtain a plurality of coordinate points, and the scan data records with different coordinate points in Cartesian coordinates are processed once to obtain a scan data set; The scan data record and the scan data number are calculated to obtain the scan average value; the scan data record and the scan average value are calculated to obtain the observed difference; the observed difference and the scan average value are calculated to obtain the scan standard deviation; Step S2: Process the observed difference and the scanning standard deviation to obtain a standard score; filter the scanning data set according to the standard score to obtain filtered scanning data points; Combining the screening scan data points to obtain screening scan data records; combining the screening scan data records in turn to obtain screening scan record quantities and screening scan data sets; Step S3: Calculate the selected scan data points to obtain a scan mean vector; Calculate the screening scan data points and the scan mean vector and record them as observation value relationship data; Transpose the observation value relationship data, recorded as transposed observation value data; Calculate the observation value relationship data and the transposed observation value data to obtain the Mahalanobis distance data; Step S4: analyzing the column linked list degrees of freedom of the scan mean vector to obtain the chi-square degrees of freedom; performing a primary processing on the chi-square degrees of freedom to obtain a second threshold; comparing the Mahalanobis distance data with the second threshold, performing screening based on the comparison result between the Mahalanobis distance data and the second threshold, deleting outliers, and obtaining a secondary screening scan data set; Step S5: Utilize high-speed computing hardware and modeling algorithms, combined with the secondary screening scan data set, to obtain a surface model of the target entity.

2. A three-dimensional rapid acquisition method according to claim 1, characterized in that: In step S1, the process of obtaining scan data records is as follows: According to the format of the two-dimensional array, the first scanning data point, the second scanning data point and the third scanning data point are expressed in the form of coordinate points in Cartesian coordinates to obtain a plurality of coordinate points, and the scanning data points with the same coordinate points in Cartesian coordinates are combined to obtain scanning data records and scanning data times t; The Cartesian coordinate point is (x i ,y m , z n ) includes: The Cartesian coordinate point in the first scan data point is (x i1 ,y m1 , z n1 ) is denoted as V1(x i1 ,y m1 , z n1 ); The Cartesian coordinate point of the second scan data point is (x i2 ,y m2 , z n2 ) is denoted as V2(x i2 ,y m2 , z n2 ); The Cartesian coordinate point of the third scan data point is (x i3 ,y m3 , z n3 ) is denoted as V3(x i3 ,y m3 , z n3 ); Among the three scanning data points, (x i ,y m , z n )V1(x) corresponding to the Cartesian coordinate point i1 ,y m1 , z n1 )、V2(x i2 ,y m2 , z n2 )、V3(x i3 ,y m3 , z n3 ) combine to form [V1(x i1 ,y m1 , z n1 ), V2(x i2 ,y m2 , z n2 ), V3(x i3 ,y m3 , z n3 )], recorded as scanning data record Vf(x if ,y mf , z nf ); The scanning data records of different Cartesian coordinate points in the Cartesian coordinate system are combined to obtain a scanning data set, and the scanning data records and the number of scanning data are calculated to obtain a scanning average value.

3. A three-dimensional rapid acquisition method according to claim 2, characterized in that: The process of obtaining the scanned data set is as follows: The acquisition of the scanned data set is as follows: Scan data records Vf(x1, y1, z1), Vf(x2, y2, z2) to Vf(x A ,y A , z A ), A is a constant; The scan data records of different Cartesian coordinate points are combined into an array to obtain [Vf(x1, y1, z1), Vf(x2, y2, z2) ~ Vf(x A ,y A , z A )], recorded as the scanned data set; The scanned dataset is represented as follows: Vf(x1,y1,z1),Vf(x2,y2,z2)~Vf(x A y A ,z A ): V1(x i1 ,y m1 , z n1 )、V2(x i2 ,y m2 , z n2 )、V3(x i3 ,y m3 , z n3 ) to form the corresponding scan data record Vf(x if ,y mf , z nf ), the scanned data set is expressed as: <h2 style=";text-align:left;direction:ltr">{[V1(x1, y1, z1),V2(x1, y1, z1),V3(x1, y1, z1)],[V1(x2, y2, z2),V2(x2, y2, z2),V3(x2, y2, z2)]~[V1(x<h2 style=";text-align:left;direction:ltr"> A <h2 style=";text-align:left;direction:ltr"> ,y<h2 style=";text-align:left;direction:ltr"> A <h2 style=";text-align:left;direction:ltr"> ,z<h2 style=";text-align:left;direction:ltr"> A <h2 style=";text-align:left;direction:ltr"> ),V2(x<h2 style=";text-align:left;direction:ltr"> A <h2 style=";text-align:left;direction:ltr"> ,y<h2 style=";text-align:left;direction:ltr"> A <h2 style=";text-align:left;direction:ltr"> ,z<h2 style=";text-align:left;direction:ltr"> A <h2 style=";text-align:left;direction:ltr"> ),V3(x<h2 style=";text-align:left;direction:ltr"> A <h2 style=";text-align:left;direction:ltr"> ,y<h2 style=";text-align:left;direction:ltr"> A <h2 style=";text-align:left;direction:ltr"> ,z<h2 style=";text-align:left;direction:ltr"> A <h2 style=";text-align:left;direction:ltr"> )]}。 4. A three-dimensional rapid acquisition method according to claim 2, characterized in that: The process of obtaining the scan average value is as follows: By scanning the data record Vf(x if ,y mf , z nf ) to get V1(x i1 ,y m1 , z n1 ), V2(x i2 ,y m2 , z n2 ), V3(x i3 ,y m3 , z n3 ), for V1(x i1 ,y m1 , z n1 ), V2(x i2 ,y m2 , z n2 ), V3(x i3 ,y m3 , z n3 ) to perform sum calculation to obtain the total value of the data, recorded as M1; Among them, vt is the representation form of the data point, and t represents the number of scanned data; The total data value and the number of scanned data are averaged to obtain the scan average value, which is recorded as Calculate the scan data record and the scan average value to obtain the difference between the scan data record and the scan average value, which is recorded as the observation difference H; The observed difference and the scan average are calculated to obtain the scan standard deviation, as follows: By Vf(x if ,y mf , z nf ) to get V1(x i1 ,y m1 , z n1 ), V2(x i2 ,y m2 , z n2 ), V3(x i3 ,y m3 , z n3 ), for V1(x i1 ,y m1 , z n1 ), V2(x i2 ,y m2 , z n2 ), V3(x i3 ,y m3 , z n3 ) and the observed difference to calculate the standard deviation, and obtain the scanning standard deviation, denoted as S; Based on the scan standard deviation and the observed difference, a standard score is calculated.

5. A three-dimensional rapid acquisition method according to claim 4, characterized in that: The process of obtaining the standard score is as follows: Calculate the standard deviation of the scan standard deviation and the observed difference to obtain the standard score, recorded as Z; Read the standard score, determine the value of the standard score, and determine the scanning data point Vt(x i ,y m , z n ) interval information; The judgment process is as follows: If Z is greater than 0, it means that Vt(x i ,y m , z n ) is higher than the average value; if Z is less than 0, it means that Vt(x i ,y m , z n ) is lower than the average value; if Z is equal to 0, it means that Vt(x i ,y m , z n ) is equal to the mean value; Read the standard score, calculate the standard score and the first threshold C, and obtain the offset coefficient, which is recorded as G; The judgment process is as follows: if the offset coefficient is greater than or equal to 0, it means that the greater the deviation of the data point from the mean value, the more outliers it is; If the value of the offset coefficient is less than 0, it means that the smaller the deviation of the data point from the mean value, the less processing is done; According to the standard score abnormal value interval division rules and the size of the offset coefficient, the scan data record Vf(x if ,y mf , z nf ) to obtain the screening scan data points, recorded as Vdt(x id ,y md , z nd ); The screening scan data points are combined to obtain a screening scan data record.

6. A three-dimensional rapid acquisition method according to claim 5, characterized in that: The process of obtaining the screening scan data records is as follows: According to the format of the two-dimensional array, the screening scan data points with the same Cartesian coordinates are combined to obtain the screening scan data records, which are recorded as Vk(x ik ,y mk , z nk ); Sequentially record the screening scan data Vk(x ik ,y mk , z nk ) to obtain the filtered scan data set and calculate the total value of the dimension; The process of obtaining the total value of a dimension is as follows: Sum the filtered scan data set of each dimension in turn to obtain the total dimension value M2; Calculate the total dimension value and the number of filtered data records to get the filtered mean Integrate the total dimension value and the filtered mean to obtain the scanned mean vector, denoted as u; Where nu is the number of filtered scan data records; Calculate the screening scan data points and the scan mean vector, and record them as the observation value relationship data L; L=∑ -1 (Vdt(x id ,y md ,z nd )-u); Through the transposition operation, the difference between the filtered scan data points and the mean vector is transposed to obtain the transposed observation data.

7. A three-dimensional rapid acquisition method according to claim 6, characterized in that: The process of obtaining Mahalanobis distance data is as follows: The transposed observation data and observation relationship data are calculated to obtain the Mahalanobis distance data, denoted as F; According to the classification of dimensions, the scanned mean vectors are grouped to obtain a column linked list of the scanned mean vectors; Read the column linked list of the scanned mean vector to obtain the number of rows R1 and the number of columns R2 of the column linked list of the scanned mean vector; According to the number of rows R1 and the number of columns R2 of the column linked list of the scanned mean vector, the column linked list of the scanned mean vector is calculated to obtain the chi-square degree of freedom J; J = (R1-1) × (R2-1); According to the chi-square degrees of freedom and significance level, the chi-square distribution quantile is obtained by consulting the chi-square distribution table, which is recorded as E; According to the size of the value, the obtained Mahalanobis distance data F are sorted from small to large, and the sorted Mahalanobis distance data are compared with the chi-square distribution quantile E, and outliers are identified according to the comparison result to obtain the screened Mahalanobis distance data; Analyze the filtered Mahalanobis distance data, find the filtered scan data points corresponding to the filtered Mahalanobis distance data, combine the corresponding filtered scan data points, and obtain a secondary filtered scan data set; The secondary screening scan data set is processed to obtain the surface model of the target entity.

8. A three-dimensional rapid acquisition method according to claim 1, characterized in that: In step S5, the process of obtaining the surface model of the target entity is as follows: Using high-speed computing hardware and 3D modeling tools, the secondary screening scan data set is subjected to point cloud registration and 3D reconstruction to obtain a surface model of the target entity; The secondary screening scan data set is calibrated using the point cloud registration method to obtain the calibrated point cloud data; With the help of the registration_icp function of the Open3D library in Python and high-speed computing hardware, point cloud registration of the secondary screening scan dataset is realized, and the secondary screening scan datasets from different dimensions are aligned into a unified Cartesian coordinate system to obtain the calibration point cloud data; Using the 3D reconstruction method to construct the surface model of the target entity from the calibration point cloud data; With the help of the scipy.spatial submodule in the Scipy library of the Python language and high-speed computing hardware, the Delaunay triangulation algorithm is implemented. The data in the point cloud are interconnected to form a triangular mesh. The internal angle of each triangle is less than 90 degrees, generating a relatively uniform mesh, realizing the conversion of point cloud data into a three-dimensional surface model, and obtaining the surface model of the target entity.