Geographic home visualization method and system based on digital twin

By calculating the degree of mutation and final outlier of point cloud data, correcting its coordinate values, and combining curvature calculation, the problem of misjudgment in noise processing of IQR method is solved, and the authenticity and interactivity of the three-dimensional model is improved.

CN118691757BActive Publication Date: 2024-11-05GUANGDONG PULAN GEOGRAPHIC INFORMATION SERVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411188757.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-11-05
Estimated Expiration
2044-08-28

AI Technical Summary

Technical Problem

The existing IQR methods lack sensitivity to local geometric characteristics when processing noise data, resulting in mis-detecting or missed noise data, affecting the authenticity of the three-dimensional model.

Method used

By obtaining the degree of mutation and final outlier of point cloud data, the coordinate value of each dimension is corrected, combined with curvature calculation, distinguishing the point cloud data at the inflection point of the building, and building a more accurate three-dimensional outline diagram.

Benefits of technology

Effectively remove noise data, retain point cloud data at the inflection point of the building, and improve the authenticity and interactivity of the three-dimensional model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118691757B_ABST
    Figure CN118691757B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and in particular to a geographic home visualization method and system based on digital twins. The method includes the steps of: collecting point cloud data, obtaining the local noise performance degree of each point cloud data according to the neighborhood data of each point cloud data; obtaining the outlier degree of each dimensional coordinate value of each point cloud data, and obtaining the final outlier degree of each point cloud data based on the outlier degree; obtaining the curvature of each point cloud data in each dimensional direction, taking the mean value of the curvature as the curvature of each point cloud data, obtaining the mutation degree of each point cloud data according to the curvature of each point cloud data, obtaining the correct coordinate value of each point cloud data according to the mutation degree and the final outlier degree of each point cloud data, and obtaining the correct coordinate value of each point cloud data to construct a three-dimensional contour map for visual display; the present invention can distinguish and process noise data and point cloud data at the inflection point of the building, thereby improving the accuracy of the construction of the three-dimensional contour map.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a geographic home visualization method and system based on digital twins. Background Art

[0002] In the era of smart cities and smart earth led by digital twin technology, buildings are scanned, reconstructed and virtually constructed in a visual perspective with high precision. However, in the massive point cloud data obtained by photogrammetry and remote sensing technology, there is usually noise due to environmental or equipment error factors, which seriously hinders the visualization effect and user experience of geographic homes and reduces the authenticity and interactivity of 3D models.

[0003] The patent document with the authorization announcement number CN112733281B currently discloses a machine tool reliability assessment method that takes into account truncated data deletion. First, normal data is screened based on the IQR method. Secondly, the total failure time processing rule is used to reduce the truncated data in the data and expand the sample size of failure data. Then, the average rank method is used to preliminarily obtain the initial value of the Weil parameter. Then, based on the new empirical distribution function, the least squares method is used to complete the new Weil parameter estimation. Finally, the KS method is used for convergence test.

[0004] Since noise data will appear in the collection process, the acquired point cloud data may contain noise data. The above-mentioned IQR method determines the normal distribution range of the data by calculating the first quartile and the third quartile of the data, obtains the degree of outlier of the data, and identifies the data exceeding the threshold as an outlier by setting a global threshold. The global threshold is set based on the entire data set, ignoring the spatial distribution characteristics of the point cloud data, and cannot fully adapt to the differences in noise distribution in different regions. It is difficult to capture local changes in the data, resulting in false detection or omission of noise data. In addition, at key geometric features such as building inflection points, there are point cloud data with values ​​similar to those of noise data. Due to the lack of sensitivity to local geometric characteristics, the above-mentioned IQR method misjudges the point cloud data collected at the building inflection points as noise, which seriously affects the authenticity of the three-dimensional model construction. Summary of the invention

[0005] In order to solve the problem that the IQR method cannot fully adapt to the noise distribution differences in different regions, which may lead to misdetection or omission of noise data, and lacks sensitivity to local geometric characteristics, and misjudges the point cloud data collected at the turning points of the building as noise, seriously affecting the authenticity of the three-dimensional model construction, the present invention provides a geographic home visualization method and system based on digital twins.

[0006] In a first aspect, the present invention provides a geographic home visualization method based on digital twins, which adopts the following technical solutions:

[0007] The geographic home visualization method based on digital twins includes the following steps:

[0008] Collect point cloud data; obtain neighborhood data of each point cloud data according to the distance between the coordinates of the point cloud data; obtain the final outlier degree of each point cloud data, wherein the final outlier degree represents the degree to which the coordinates of each point cloud data deviate from the coordinates of its neighborhood data; obtain the curvature of each point cloud data according to the position difference between each point cloud data and its neighborhood data in each dimensional direction;

[0009] Get the mutation degree of each point cloud data: , where Represents the mutation degree of the i-th point cloud data; Represents the curvature of the i-th point cloud data; Represents the mean curvature of all neighborhood data of the i-th point cloud data; Represents the curvature variance of all neighborhood data of the i-th point cloud data; Represents the curvature variance of the i-th point cloud data and all its neighboring data; norm represents the normalization function; Get the positive coordinate value of each repair of the i-th point cloud data:

[0010] ; In the formula, Represents the xth repair positive coordinate value of the i-th point cloud data; Represents the mutation degree of the i-th point cloud data; Represents the x-dimensional coordinate value of the i-th point cloud data; Represents the mean x-dimensional coordinate value of all neighboring data of the i-th point cloud data; Represents the final outlier degree of the i-th point cloud data; based on each maintenance positive coordinate value, obtain the three-dimensional contour map of the building for visual display.

[0011] The innovation of the present invention lies in that the coordinate value of each dimension of each point cloud data is corrected according to the mutation degree and the final outlier degree of each point cloud data, so as to obtain the positive coordinate value of each dimension of each point cloud data. Based on the positive coordinate value of each dimension, a three-dimensional contour map of the building is obtained for visual display, which can effectively remove noise and retain the point cloud data collected at key geometric features, so that the constructed three-dimensional contour map is more accurate.

[0012] Preferably, the obtaining of neighborhood data of each point cloud data includes:

[0013] The number of neighborhood data K is preset, the Euclidean distance between the coordinates of the ith point cloud data and each other point cloud data is obtained, and the other point cloud data corresponding to the smallest K Euclidean distances are used as the neighborhood data of the ith point cloud data.

[0014] Preferably, obtaining the final outlier degree of each point cloud data includes:

[0015] Obtain the local noise performance degree of each point cloud data; obtain the outlier degree of each dimension coordinate value of each point cloud data;

[0016] ;

[0017] In the formula, Represents the final outlier degree of the i-th point cloud data; Represents the degree of local noise performance of the i-th point cloud data; Represents the mean outlier degree of all dimensional coordinate values ​​of the i-th point cloud data; norm() represents the normalization function.

[0018] According to the degree to which the coordinates of the point cloud data deviate from the average coordinates of its neighborhood data and the degree to which the coordinate values ​​of each dimension of each point cloud data deviate from the coordinates of each dimension of its neighborhood data, the final outlier degree of each point cloud data obtained is more accurate and can better reflect the possibility that each point cloud data is noise data.

[0019] Preferably, the obtaining of the local noise performance level of each point cloud data includes:

[0020] Get the average coordinates of the neighborhood data of each point cloud data;

[0021] , where Represents the degree of local noise performance of the i-th point cloud data; represents the Euclidean distance between the coordinates of the i-th point cloud data and the average coordinates of the neighborhood data of the i-th point cloud data; K represents the number of neighborhood data of the i-th point cloud data; Represents the Euclidean distance between the coordinates of the jth neighboring data of the i-th point cloud data and the average coordinates of the neighboring data of the i-th point cloud data; Represents the mean of the Euclidean distances between the coordinates of all neighborhood data of the i-th point cloud data and the average coordinates of the neighborhood data of the i-th point cloud data; exp() represents an exponential function with a natural constant as the base; norm() represents a normalization function.

[0022] Preferably, the step of obtaining the outlier degree of each dimension of the coordinate value of each point cloud data includes:

[0023] The IQR algorithm is used to obtain the upper and lower bounds of the x-dimensional coordinates of all neighborhood data of the ith point cloud data, which are recorded as the upper and lower bounds of the ith point cloud data; if the x-dimensional coordinate value of the ith point cloud data is greater than the upper bound value of the ith point cloud data or the x-dimensional coordinate value of the ith point cloud data is less than the lower bound value of the ith point cloud data, the difference between the x-dimensional coordinate value of the ith point cloud data and the upper bound value of the ith point cloud data or the difference between the lower bound value of the ith point cloud data and the x-dimensional coordinate value of the ith point cloud data is used as the outlier degree of the x-dimensional coordinate value of the ith point cloud data; if the x-dimensional coordinate value of the ith point cloud data is between the upper and lower bound values ​​of the ith point cloud data, 0.0001 is used as the outlier degree of the x-dimensional coordinate value of the ith point cloud data.

[0024] This facilitates the subsequent acquisition of the final outlier degree of each point cloud data according to the outlier degree of each dimensional coordinate value of each point cloud data.

[0025] Preferably, obtaining the curvature of each point cloud data includes:

[0026] The curvature of each point cloud data in each dimensional direction is obtained, and the mean value of the curvature of each point cloud data in each dimensional direction is taken as the curvature of each point cloud data.

[0027] The curvature of each point cloud data in each dimension is introduced, and the point cloud data collected at the noise points and key geometric features are distinguished from the geometric features, which facilitates better distinction of noise in the future.

[0028] Preferably, obtaining the curvature of each point cloud data in each dimensional direction includes:

[0029] ;

[0030] In the formula, Represents the curvature of the i-th point cloud data in the x-th dimension; as well as Represents the x-th dimension coordinate value of the i-th point cloud data and the j-th neighboring data of the i-th point cloud data; as well as Represents the y-th dimension coordinate value of the i-th point cloud data and the j-th neighboring data of the i-th point cloud data; as well as Represents the z-th dimension coordinate value of the i-th point cloud data and the j-th neighboring data of the i-th point cloud data; Represents the unit vector in the x-dimensional direction; K represents the number of neighborhood data of the i-th point cloud data; || represents the absolute value symbol.

[0031] Preferably, the obtaining of a three-dimensional outline of a building for visual display includes:

[0032] According to the correct coordinate value of each point cloud data, the corrected coordinate of each point cloud data is obtained, and the three-dimensional outline of the building is constructed by using AutoCAD tools according to the corrected coordinate of each point cloud data for visual display.

[0033] The three-dimensional contour map obtained by using the corrected coordinates of each point cloud data is more accurate and retains the actual turning points of the building.

[0034] In a second aspect, the present invention provides a geographic home visualization system based on digital twins, which adopts the following technical solutions:

[0035] A geographic home visualization system based on digital twins includes: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above-mentioned geographic home visualization method based on digital twins is implemented.

[0036] By adopting the above technical solution, the above-mentioned digital twin-based geographic home visualization method is generated into a computer program and stored in a memory to be loaded and executed by a processor, so that a terminal device is made according to the memory and the processor for easy use.

[0037] The present invention has the following technical effects: the present invention obtains the local noise performance degree of point cloud data, and corrects the mean of the outlier degree of all dimensional coordinate values ​​of the point cloud data according to the local noise performance degree of the point cloud data, so as to obtain the final outlier degree of the point cloud data, which can better reflect the possibility that the point cloud data is noise; then, by introducing the calculation of the curvature of each point cloud data in each dimensional direction, the point cloud data collected at the turning point of the building and the noise points are further distinguished from the geometric feature level, and the adaptability to local geometric features is enhanced, which can better distinguish the noise data and avoid misdetecting the point cloud data collected at the turning point of the building as noise; finally, according to the mutation degree of each point cloud data and the final outlier degree, the coordinate value of each dimension of each point cloud data is corrected to obtain the positive coordinate value of each dimension of each point cloud data; based on the positive coordinate value of each dimension, the three-dimensional contour map of the building is obtained for visual display, which can effectively remove noise and retain the point cloud data collected at the turning point of the building, so that the constructed three-dimensional contour map is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts.

[0039] Figure 1 It is a method flow chart of the method for visualizing geographic home based on digital twin in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0041] It should be understood that when the terms "first", "second", etc. are used in the claims, descriptions, and drawings of the present invention, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their collections.

[0042] The embodiment of the present invention discloses a method for visualizing a geographic home based on digital twins, referring to Figure 1 , comprising steps S1 to S3:

[0043] S1: Collect point cloud data.

[0044] In an embodiment of the present invention, a building is photographed from multiple angles using photogrammetry technology to ensure that the details and structural information of the building surface are captured, and multiple images with position information are obtained. The MVS algorithm is used to restore the three-dimensional structure from the multiple images with position information to generate point cloud data. It should be noted that the point cloud data is three-dimensional data.

[0045] S2: Obtain the local noise performance degree of each point cloud data according to the neighborhood data of each point cloud data; obtain the outlier degree of each dimension of the coordinate value of each point cloud data according to the mean difference between the coordinate value of each dimension of the point cloud data and the coordinate value of each dimension of its neighborhood data, and obtain the final outlier degree of each point cloud data based on the outlier degree.

[0046] It should be noted that since noise data will appear in the collection process, the acquired point cloud data may contain noise data. The traditional outlier detection technology IQR method determines the normal distribution range of the data by calculating the first quartile and the third quartile of the data, obtains the degree of outlier of the data, and identifies the data exceeding the threshold as an outlier by setting a global threshold. The global threshold is set based on the entire data set, ignoring the spatial distribution characteristics of the point cloud data, failing to fully adapt to the differences in noise distribution in different regions, and having difficulty capturing local changes in the data, resulting in noise data being misdetected or missed. In addition, at key geometric features such as building inflection points, there are point cloud data with values ​​similar to those of the noise data. However, due to the lack of sensitivity to local geometric characteristics, the traditional IQR method misjudges the point cloud data collected at key geometric features such as building inflection points as noise, which seriously affects the authenticity of the three-dimensional model.

[0047] Step S2 includes steps S20-S21, which are specifically as follows:

[0048] S20: Obtain the local noise performance level of each point cloud data according to the neighborhood data of each point cloud data.

[0049] It should be noted that, using the local neighborhood characteristics of arbitrary point cloud data, if a point cloud data deviates greatly from the average position of its neighborhood data, the point cloud data is more likely to be noise data, and the distribution of the neighborhood data of the point cloud data is more concentrated. At this time, the local noise level of the point cloud data measured by the deviation of the point cloud data from the average position of its neighborhood data is more credible.

[0050] In the embodiment of the present invention, the number of neighborhood data K is preset, the Euclidean distance between the coordinates of the i-th point cloud data and each other point cloud data is obtained, and the other point cloud data corresponding to the smallest K Euclidean distances are used as the neighborhood data of the i-th point cloud data. In the embodiment of the present invention, the preset number of neighborhood data K=5 is preset. In other embodiments, the implementer can preset the value of K according to the specific implementation method. The mean value of the coordinate value of each dimension of all the neighborhood data of each point cloud data is obtained, and the mean value of the coordinate value of each dimension of all the neighborhood data of each point cloud data constitutes the average coordinate of the neighborhood data of each point cloud data.

[0051] Get the local noise performance of each point cloud data:

[0052] ;

[0053] In the formula, Represents the degree of local noise performance of the i-th point cloud data; represents the Euclidean distance between the coordinates of the i-th point cloud data and the average coordinates of the neighborhood data of the i-th point cloud data; K represents the number of neighborhood data of the i-th point cloud data; Represents the Euclidean distance between the coordinates of the jth neighboring data of the i-th point cloud data and the average coordinates of the neighboring data of the i-th point cloud data; Represents the mean of the Euclidean distances between the coordinates of all neighboring data of the i-th point cloud data and the average coordinates of the neighboring data of the i-th point cloud data; exp() represents an exponential function with a natural constant as the base; norm() represents a normalization function; The larger the value of , the greater the spatial distance between the coordinates of the i-th point cloud data and the average coordinates of the neighborhood data of the i-th point cloud data, which means that the i-th point cloud data may deviate from the normal data distribution, and its local noise has a greater impact on the performance; The smaller the value of , the smaller the Euclidean distance between the coordinates of each neighborhood data of the ith point cloud data and the average coordinates of the neighborhood data of the ith point cloud data is, which means that the distribution of the neighborhood data of the ith point cloud data is relatively concentrated, which means that the degree of local noise performance of the ith point cloud data is judged based on the Euclidean distance between the coordinates of the ith point cloud data and the average coordinates of the neighborhood data of the ith point cloud data. It is more reliable.

[0054] S21: Obtain the outlier degree of each dimensional coordinate value of each point cloud data according to the mean difference between each dimensional coordinate value of the point cloud data and each dimensional coordinate value of its neighborhood data, and obtain the final outlier degree of each point cloud data based on the outlier degree.

[0055] It should be noted that since most of the data in the data set are usually distributed around a certain center or mean, forming a relatively compact area, that is, the main distribution area of ​​the data, and outliers are usually far away from this main distribution area, when the coordinate value of a certain dimension of any point cloud data is less than the lower limit value of the coordinate of this dimension of all the neighboring data of the point cloud data or when the coordinate value of a certain dimension of any point cloud data is greater than the upper limit value of the coordinate of this dimension of all the neighboring data of the point cloud data, it means that the point cloud data has significantly deviated from the distribution range of normal data in this dimension, and the outlier degree of the coordinate value of this dimension of the point cloud data is relatively large. When the coordinate value of a certain dimension of any point cloud data is located at the lower limit value of the coordinate of this dimension of all the neighboring data of the point cloud data and the upper limit value of the coordinate of this dimension of all the neighboring data of the point cloud data, it means that the point cloud data has not deviated from the distribution range of normal data in this dimension, and the outlier degree of the coordinate value of this dimension of the point cloud data is relatively small. Therefore, the outlier degree of the coordinate value of this dimension of the point cloud data is obtained according to the difference between the coordinate value of this dimension of the point cloud data and the lower limit value or upper limit value of the coordinate of this dimension of all the neighboring data of the point cloud data.

[0056] In an embodiment of the present invention, an IQR algorithm is used to obtain the upper and lower bounds of the x-dimensional coordinates of all neighboring data of the i-th point cloud data; if the x-dimensional coordinate value of the i-th point cloud data is greater than the upper bound of the x-dimensional coordinates of all neighboring data of the i-th point cloud data, the difference between the x-dimensional coordinate value of the i-th point cloud data and the upper bound of the x-dimensional coordinates of all neighboring data of the i-th point cloud data is used as the outlier degree of the x-dimensional coordinate value of the i-th point cloud data; if the x-dimensional coordinate value of the i-th point cloud data is less than the upper bound of the x-dimensional coordinate value of all neighboring data of the i-th point cloud data, the difference between the x-dimensional coordinate value of the i-th point cloud data and the upper bound of the x-dimensional coordinate value of all neighboring data of the i-th point cloud data is used as the outlier degree of the x-dimensional coordinate value of the i-th point cloud data; If there is a lower bound value of the x-dimensional coordinate of the neighborhood data, the difference between the lower bound value of the x-dimensional coordinate of all the neighborhood data of the ith point cloud data and the x-dimensional coordinate value of the ith point cloud data is taken as the outlier degree of the x-dimensional coordinate value of the ith point cloud data; if the x-dimensional coordinate value of the ith point cloud data is between the upper bound value and the lower bound value of the x-dimensional coordinate of all the neighborhood data of the ith point cloud data, 0.0001 is taken as the outlier degree of the x-dimensional coordinate value of the ith point cloud data; similarly, the outlier degree of each dimensional coordinate value of each point cloud data is obtained.

[0057] In this embodiment of the present invention, the final outlier degree of each point cloud data is obtained:

[0058] ;

[0059] In the formula, Represents the final outlier degree of the i-th point cloud data; Represents the degree of local noise performance of the i-th point cloud data; Represents the mean outlier degree of all dimensional coordinate values ​​of the ith point cloud data; norm() represents the normalization function; it is more accurate to take the mean outlier degree of all dimensional coordinate values ​​of the ith point cloud data as the outlier degree of the ith point cloud data, taking into account the outlier degree of each dimensional coordinate value of the ith point cloud data; and the local noise performance degree of the ith point cloud data represents the degree to which the ith point cloud data deviates from its neighborhood data. Therefore, the greater the local noise performance degree of the ith point cloud data and the greater the mean outlier degree of all dimensional coordinate values ​​of the ith point cloud data, the greater the final outlier degree of the ith point cloud data.

[0060] S3: According to the position difference between the point cloud data and its neighborhood data in each dimensional direction, the curvature of each point cloud data in each dimensional direction is obtained, and the mean value of the curvature of each point cloud data in each dimensional direction is used as the curvature of each point cloud data. According to the curvature of each point cloud data, the mutation degree of each point cloud data is obtained. According to the mutation degree of each point cloud data and the final outlier degree, the correct coordinate value of each point cloud data is obtained, and the corrected coordinates of each point cloud data are obtained to construct a three-dimensional contour map for visual display.

[0061] Step S3 includes steps S30 and S31, which are specifically as follows:

[0062] S30: Obtain the curvature of each point cloud data in each dimensional direction according to the position difference between the point cloud data and its neighborhood data in each dimensional direction, take the mean value of the curvature of each point cloud data in each dimensional direction as the curvature of each point cloud data, and obtain the mutation degree of each point cloud data according to the curvature of each point cloud data.

[0063] It should be noted that due to the complexity of the geometric structure of the building surface, the final outlier degree obtained by the point cloud data collected at the turning points of the building may also be too large, which will cause important geometric information such as the turning points of the building to be misjudged as noise. In order to avoid this problem, the calculation of curvature is introduced to further distinguish the noise from the point cloud data at the turning points of the building from the geometric feature level. Since it is more complicated to obtain curvature on a three-dimensional surface, the changes in the neighborhood data of any point cloud data are analyzed. By comparing the position difference between the point cloud data and its neighborhood data in each dimensional direction, the curvature of the point cloud data in each dimensional direction is estimated, and the mean value of the curvature of the point cloud data in each dimensional direction is taken as the curvature of the point cloud data. Finally, the mutation degree of each point cloud data is obtained according to the mutation degree of the curvature of each point cloud data compared with the curvature of its neighborhood data.

[0064] In this embodiment of the present invention, the curvature of the i-th point cloud data in the x-th dimension is obtained:

[0065] ;

[0066] In the formula, Represents the curvature of the i-th point cloud data in the x-th dimension; as well as Represents the x-th dimension coordinate value of the i-th point cloud data and the j-th neighboring data of the i-th point cloud data; as well as Represents the y-th dimension coordinate value of the i-th point cloud data and the j-th neighboring data of the i-th point cloud data; as well as Represents the z-th dimension coordinate value of the i-th point cloud data and the j-th neighboring data of the i-th point cloud data; Represents the unit vector in the x-dimensional direction; K represents the number of neighborhood data of the i-th point cloud data; || represents the absolute value symbol.

[0067] It should be noted that the point cloud data is three-dimensional data. When obtaining the curvature of the ith point cloud data in the y-dimensional direction, the unit vector in the x-dimensional direction in the calculation formula for the curvature of the ith point cloud data in the x-dimensional direction is normalized to the unit vector in the y-dimensional direction, that is, (0,1,0); when obtaining the curvature of the ith point cloud data in the z-dimensional direction, the unit vector in the x-dimensional direction in the calculation formula for the curvature of the ith point cloud data in the x-dimensional direction is normalized to the unit vector in the z-dimensional direction, that is, (0,0,1), to obtain the curvature of the ith point cloud data in each dimensional direction; the mean value of the curvature of the ith point cloud data in each dimensional direction is taken as the curvature of the ith point cloud data.

[0068] Get the mutation degree of the i-th point cloud data:

[0069] ;

[0070] In the formula, Represents the mutation degree of the i-th point cloud data; Represents the curvature of the i-th point cloud data; Represents the mean curvature of all neighborhood data of the i-th point cloud data; Represents the curvature variance of all neighborhood data of the i-th point cloud data; Represents the curvature variance of the i-th point cloud data and all its neighboring data; Represents the absolute value of the difference between the curvature of the i-th point cloud data and the mean curvature of all its neighboring data. The larger the value, the more significant the deflection of the curvature of the i-th point cloud data from the mean curvature of its neighboring data, which means that the curvature of the i-th point cloud data may deviate significantly from the mean curvature of its neighboring data due to the inflection point of the building. The larger the value, the greater the curvature of the i-th point cloud data, which significantly increases its overall volatility, meaning that the curvature value of this point cloud data is significantly different from others, and at this time The smaller it is, that is, the curvature change of the neighborhood data of the point cloud data is relatively stable, then it is considered that the existence of the curvature of the i-th point cloud data significantly increases its overall volatility. The higher the confidence, the greater the mutation degree of the i-th point cloud data.

[0071] S31: According to the mutation degree and final outlier degree of each point cloud data, the correct coordinate value of each cabinet point cloud data is obtained, and the corrected coordinates of each point cloud data are obtained to construct a three-dimensional contour map for visual display.

[0072] It should be noted that in order to accurately locate the noise and the point cloud data collected at the turning points of the building and adjust them, it is first necessary to obtain the anomaly score of each point cloud data. It is known that the final outlier degree of the noise is large and the mutation degree is small, and the final outlier degree of the point cloud data collected at the turning points of the building is large and the mutation degree is also large. Therefore, 1-mutation degree is used to correct the final outlier degree to obtain the anomaly score of each point cloud data, so that the anomaly score of the noise data is large, and the anomaly score of the point cloud data collected at the turning points of the building is small. Then, when the difference between the coordinate value of any dimension of any point cloud data and the mean coordinate value of that dimension of all its neighboring data is positive, it is necessary to reduce the coordinate value of that dimension according to the anomaly score of the point cloud data. When the difference between the coordinate value of any dimension of any point cloud data and the mean coordinate value of that dimension of all its neighboring data is negative, it is necessary to increase the coordinate value of that dimension according to the anomaly score of the point cloud data. This operation can correct the real noise while retaining key details such as the edges of buildings.

[0073] In the embodiment of the present invention, the positive coordinate value of each maintenance of the i-th point cloud data is obtained:

[0074] ;

[0075] In the formula, Represents the xth repair positive coordinate value of the i-th point cloud data; Represents the mutation degree of the i-th point cloud data; Represents the x-dimensional coordinate value of the i-th point cloud data; Represents the mean x-dimensional coordinate value of all neighboring data of the i-th point cloud data; Represents the final outlier degree of the i-th point cloud data; Represents the abnormal score of the i-th point cloud data. When the mutation degree of the i-th point cloud data is greater, it means that the i-th point cloud data may be the building inflection point data and cannot be abnormal, so it is used right The correction is performed, and the obtained anomaly score is smaller. When the mutation degree of the i-th point cloud data is smaller, and at this time When the value is larger, it means that the i-th point cloud data is more likely to be noise. right After correction, the anomaly score is larger; is the difference between the x-dimensional coordinate value of the ith point cloud data and the mean x-dimensional coordinate value of all neighboring data of the ith point cloud data, representing the deviation value of the x-dimensional coordinate value of the ith point cloud data;

[0076] If the anomaly score of the i-th point cloud data is small, the i-th point cloud data may be the building inflection point data. When the value of is positive, the x-dimensional coordinate value of the ith point cloud data needs to be adjusted to a smaller value and the adjustment amplitude is small to avoid destroying the original spatial structure. Therefore, the adjustment amplitude is the product of the anomaly score of the ith point cloud data and the deviation value of the x-dimensional coordinate value of the ith point cloud data, so that the x-dimensional coordinate value of the ith point cloud data is closer to the average level; when When the value is negative, the x-dimensional coordinate value of the ith point cloud data needs to be adjusted to a larger value with a smaller adjustment range to avoid destroying the original spatial structure. Therefore, the adjustment range is a positive number of the product of the anomaly score of the ith point cloud data and the deviation value of the x-dimensional coordinate value of the ith point cloud data, so that the x-dimensional coordinate value of the ith point cloud data is closer to the average level.

[0077] If the abnormal score of the i-th point cloud data is large, the i-th point cloud data may be noise data. When the value of is positive, the x-dimensional coordinate value of the ith point cloud data needs to be adjusted to a smaller value and the adjustment amplitude is large. Therefore, the adjustment amplitude is the product of the anomaly score of the ith point cloud data and the deviation value of the x-dimensional coordinate value of the ith point cloud data, so that the x-dimensional coordinate value of the ith point cloud data is closer to the average level. If the anomaly score of the ith point cloud data is large, the ith point cloud data may be noise data. At this time, when When the value is negative, the x-dimensional coordinate value of the ith point cloud data needs to be adjusted to a larger value and the adjustment range is large. Therefore, the adjustment range is a positive number of the product of the anomaly score of the ith point cloud data and the deviation value of the x-dimensional coordinate value of the ith point cloud data, so that the x-dimensional coordinate value of the ith point cloud data is closer to the average level.

[0078] Obtain the correct coordinate value of each point cloud data, obtain the corrected coordinate of each point cloud data according to the corrected coordinate value of each point cloud data, and construct a three-dimensional outline map of the building using AutoCAD tools for visual display according to the corrected coordinate of each point cloud data.

[0079] The present invention obtains the local noise performance degree of point cloud data, and corrects the mean of the outlier degree of all dimensional coordinate values ​​of the point cloud data according to the local noise performance degree of the point cloud data, so as to obtain the final outlier degree of the point cloud data, which can better reflect the possibility that the point cloud data is noise; then, by introducing the calculation of the curvature of each point cloud data in each dimensional direction, the point cloud data collected at the turning point of the building and the noise points are further distinguished from the geometric feature level, and the adaptability to local geometric features is enhanced, which can better distinguish the noise data and avoid misdetecting the point cloud data collected at the turning point of the building as noise; finally, according to the mutation degree of each point cloud data and the final outlier degree, the coordinate value of each dimension of each point cloud data is corrected to obtain the positive coordinate value of each dimension of each point cloud data; based on the positive coordinate value of each dimension, the three-dimensional contour map of the building is obtained for visual display, which can effectively remove noise and retain the point cloud data collected at the turning point of the building, so that the constructed three-dimensional contour map is more accurate.

[0080] The above system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.

[0081] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, a computer-readable storage medium may be any suitable magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory, a dynamic random access memory, a static random access memory, an enhanced dynamic random access memory, a high bandwidth memory, a hybrid storage cube, etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of the device or accessible or connectable to the device.

[0082] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

[0083] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A digital twin-based geographic home visualization method, characterized in that: Includes steps: Collecting point cloud data; obtaining neighborhood data of each point cloud data according to the distance between the coordinates of the point cloud data; obtaining the final outlier degree of each point cloud data, wherein the final outlier degree represents the degree to which the coordinates of each point cloud data deviate from the coordinates of its neighborhood data; According to the position difference between each point cloud data and its neighboring data in each dimensional direction, the curvature of each point cloud data is obtained; Get the mutation degree of each point cloud data: , where Represents the mutation degree of the i-th point cloud data; Represents the curvature of the i-th point cloud data; Represents the mean curvature of all neighborhood data of the i-th point cloud data; Represents the curvature variance of all neighborhood data of the i-th point cloud data; Represents the curvature variance of the i-th point cloud data and all its neighboring data; norm represents the normalization function; Get the positive coordinate value of each repair of the i-th point cloud data: ; In the formula, Represents the xth repair positive coordinate value of the i-th point cloud data; Represents the mutation degree of the i-th point cloud data; Represents the x-dimensional coordinate value of the i-th point cloud data; Represents the mean x-dimensional coordinate value of all neighboring data of the i-th point cloud data; Represents the final outlier degree of the i-th point cloud data; based on each maintenance positive coordinate value, obtain the three-dimensional contour map of the building for visual display.

2. The method for visualizing geographic homes based on digital twins according to claim 1, characterized in that: The step of obtaining neighborhood data of each point cloud data includes: The number of neighborhood data K is preset, the Euclidean distance between the coordinates of the ith point cloud data and each other point cloud data is obtained, and the other point cloud data corresponding to the smallest K Euclidean distances are used as the neighborhood data of the ith point cloud data.

3. The method for visualizing geographic homes based on digital twins according to claim 1, characterized in that: The obtaining of the final outlier degree of each point cloud data includes: Obtain the local noise performance degree of each point cloud data; obtain the outlier degree of each dimension coordinate value of each point cloud data; ; In the formula, Represents the final outlier degree of the i-th point cloud data; Represents the degree of local noise performance of the i-th point cloud data; Represents the mean outlier degree of all dimensional coordinate values ​​of the i-th point cloud data; norm() represents the normalization function.

4. The method for visualizing geographic homes based on digital twins according to claim 1, characterized in that: The obtaining of the local noise performance level of each point cloud data includes: Get the average coordinates of the neighborhood data of each point cloud data; , where Represents the degree of local noise performance of the i-th point cloud data; represents the Euclidean distance between the coordinates of the i-th point cloud data and the average coordinates of the neighborhood data of the i-th point cloud data; K represents the number of neighborhood data of the i-th point cloud data; Represents the Euclidean distance between the coordinates of the jth neighboring data of the i-th point cloud data and the average coordinates of the neighboring data of the i-th point cloud data; Represents the mean of the Euclidean distances between the coordinates of all neighborhood data of the i-th point cloud data and the average coordinates of the neighborhood data of the i-th point cloud data; exp() represents an exponential function with a natural constant as the base; norm() represents a normalization function.

5. The method for visualizing geographic homes based on digital twins according to claim 1, characterized in that: The step of obtaining the outlier degree of each dimension coordinate value of each point cloud data includes: The IQR algorithm is used to obtain the upper and lower bounds of the x-dimensional coordinates of all neighborhood data of the ith point cloud data, which are recorded as the upper and lower bounds of the ith point cloud data; if the x-dimensional coordinate value of the ith point cloud data is greater than the upper bound value of the ith point cloud data or the x-dimensional coordinate value of the ith point cloud data is less than the lower bound value of the ith point cloud data, the difference between the x-dimensional coordinate value of the ith point cloud data and the upper bound value of the ith point cloud data or the difference between the lower bound value of the ith point cloud data and the x-dimensional coordinate value of the ith point cloud data is used as the outlier degree of the x-dimensional coordinate value of the ith point cloud data; if the x-dimensional coordinate value of the ith point cloud data is between the upper and lower bound values ​​of the ith point cloud data, 0.0001 is used as the outlier degree of the x-dimensional coordinate value of the ith point cloud data.

6. The method for visualizing geographic homes based on digital twins according to claim 1, characterized in that: The step of obtaining the curvature of each point cloud data comprises: The curvature of each point cloud data in each dimensional direction is obtained, and the mean value of the curvature of each point cloud data in each dimensional direction is taken as the curvature of each point cloud data.

7. The method for visualizing geographic homes based on digital twins according to claim 1, characterized in that: The step of obtaining the curvature of each point cloud data in each dimensional direction includes: ; In the formula, Represents the curvature of the i-th point cloud data in the x-th dimension; as well as Represents the x-th dimension coordinate value of the i-th point cloud data and the j-th neighboring data of the i-th point cloud data; as well as Represents the y-th dimension coordinate value of the i-th point cloud data and the j-th neighboring data of the i-th point cloud data; as well as Represents the z-th dimension coordinate value of the i-th point cloud data and the j-th neighboring data of the i-th point cloud data; Represents the unit vector in the x-dimensional direction; K represents the number of neighborhood data of the i-th point cloud data; || represents the absolute value symbol.

8. The method for visualizing geographic homes based on digital twins according to claim 1, characterized in that: The step of obtaining a three-dimensional outline of a building for visual display includes: According to the correct coordinate value of each point cloud data, the corrected coordinate of each point cloud data is obtained, and the three-dimensional outline of the building is constructed by using AutoCAD tools according to the corrected coordinate of each point cloud data for visual display.

9. The digital twin-based geographic home visualization system is characterized by: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the digital twin-based geographic home visualization method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • A machine tool reliability evaluation method considering censored data

    CN112733281B

  • Underwater live-action three-dimensional data base plate acquisition method based on digital twinborn technology

    CN117576334A

  • Industrial manufacturing workshop complex scene-oriented small target three-dimensional point cloud identification method and identification system

    CN118212630A

  • Generating mappings of physical spaces from point cloud data

    US20220335688A1