A method for detecting building foundation settlement based on computer vision

By combining the neighborhood and similar area features of point cloud data through iterative filtering operations, the problem of incomplete data and shape distortion caused by over-reliance on local information in the existing technology is solved, and the accuracy of building foundation settlement detection is improved.

CN118258356BActive Publication Date: 2024-09-06CIXI CHENGZHENG CONSTR ENG TESTING CO LTD

Patent Information

Application Number
CN202410395300.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-02
Publication Date
2024-09-06
Estimated Expiration
2044-04-02

AI Technical Summary

Technical Problem

Existing algorithms are prone to over-reliance on local information and neglecting the consistency and continuity of global data in building foundation settlement detection, resulting in loss of details, unreasonable holes or fractures in the three-dimensional model, resulting in incomplete data or shape distortion. affect detection accuracy.

Method used

Using a method based on computer vision, it combines the neighborhood and similar area characteristics of point cloud data through iterative filtering operations, and performs weighted averaging to improve the continuity and global consistency of the filtering results and avoid data loss and push distortion caused by excessive filtering. .

Benefits of technology

It effectively improves the noise reduction effect of point cloud data, enhances the accuracy of building foundation settlement detection, and ensures the integrity and shape authenticity of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118258356B
    Figure CN118258356B
Patent Text Reader

Abstract

The present invention discloses a method for detecting building foundation settlement based on computer vision, which belongs to the field of image data processing technology. The method comprises: obtaining original point cloud data of a building to be detected; wherein the original point cloud data comprises three-dimensional point cloud data of the inner area, the outer area and the ground area around the building to be detected; iteratively performing filtering operation on the original point cloud data until the filtering effect reaches the preset requirements; using the filtered point cloud data, constructing the current three-dimensional point cloud model of the building to be detected; comparing the current three-dimensional point cloud model with a reference model to obtain the foundation settlement degree of the building to be detected; wherein the reference model is a three-dimensional point cloud model when the building to be detected has no foundation settlement. The scheme of the present invention can improve the accuracy of building foundation settlement detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image data processing, and in particular to a building foundation settlement detection method based on computer vision. Background Art

[0002] Building foundation settlement refers to the phenomenon that the foundation of a building sinks due to soil settlement or compaction, which is usually caused by natural sedimentation and compaction, groundwater level changes, human construction, earthquakes and other reasons. Foundation settlement can cause damage or instability to the building structure, thereby affecting the stability and service life of the building. In more serious cases, it can lead to geological disasters such as ground subsidence and landslides. Therefore, it is necessary to regularly detect the foundation settlement of the building and reinforce it in time. Existing algorithms usually combine 3D point clouds for modeling and compare and analyze the models at different times to determine the settlement situation.

[0003] A 3D point cloud is a data set consisting of a large number of 3D point coordinates, which is used to describe the 3D spatial information of an object surface or scene and other attribute data information. In the process of collecting data samples, due to the possible errors of the laser scanning equipment itself, environmental interference, the influence of the surface characteristics of the building, etc., the collected point cloud data samples will be noisy. Therefore, after obtaining the 3D point cloud data, the collected data needs to be preprocessed to ensure that the quality of the data samples meets the analysis requirements.

[0004] In the process of denoising data samples, existing algorithms, such as mean filtering algorithms and Gaussian filtering algorithms, usually ignore the consistency and continuity of global data due to excessive reliance on local information for denoising, resulting in loss of details and unreasonable holes or breaks in the final three-dimensional model, causing incomplete data or distorted shape; in addition, existing filtering methods may also cause missing data samples and distortion due to excessive filtering, thereby causing errors in the detection of building foundation settlement. Summary of the invention

[0005] The present invention provides a building foundation settlement detection method based on computer vision to solve the technical problem that the prior art easily causes errors in building foundation settlement detection.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] A building foundation settlement detection method based on computer vision, comprising:

[0008] Acquire original point cloud data of the building to be detected; wherein the original point cloud data includes three-dimensional point cloud data of the inner area, the outer area and the ground area around the building to be detected;

[0009] Iteratively performing filtering operations on the original point cloud data until the filtering effect meets preset requirements;

[0010] Using the filtered point cloud data, construct a current three-dimensional point cloud model of the building to be inspected;

[0011] The current three-dimensional point cloud model is compared with the reference model to obtain the foundation settlement degree of the building to be detected; wherein the reference model is the three-dimensional point cloud model when the building to be detected has no foundation settlement.

[0012] Furthermore, the filtering operation includes:

[0013] Determine the neighborhood radius in the currently filtered point cloud data;

[0014] Determine the neighborhood of the target point to be filtered, and perform region extraction on the currently filtered point cloud data to obtain multiple point cloud regions; the neighborhood of the target point refers to a circular region with the target point as the center and the neighborhood radius as the radius; the size of each point cloud region is the same as the neighborhood of the target point;

[0015] Calculate the similarity between each point cloud area and the neighborhood of the target point, and select the point cloud area whose similarity with the neighborhood of the target point is greater than the preset threshold as the similar area of ​​the target point; perform weighted averaging on the coordinates of the points corresponding to the target point in each similar area to obtain the filtering results of the target point based on different similar areas;

[0016] The coordinates of each point in the neighborhood of the target point are weighted and averaged to obtain the filtering result of the target point based on the neighborhood;

[0017] The filtering results of the target point based on different similar areas and the filtering results of the target point based on the neighborhood are averaged as the filtering result of the target point in the current iteration process.

[0018] Further, the determining of the neighborhood radius in the currently filtered point cloud data includes:

[0019] Determine the initial neighborhood radius in the currently filtered point cloud data;

[0020] Construct the neighborhood of the target point a with the initial neighborhood radius, and calculate the continuity between the target point a and other points in its neighborhood; the continuity between the target point a and other points in its neighborhood is:

[0021]

[0022] Among them, L a,i Indicates the continuity between the target point a and the i-th point in its neighborhood; represents the mean curvature within the neighborhood of the target point a, k a_iRepresents the curvature of the i-th point in the neighborhood of the target point a; Represents the mean normal vector within the neighborhood of the target point a, Δq a_i Represents the normal vector of the i-th point in the neighborhood of the target point a; ρ a Represents the point cloud density within the neighborhood of the target point a; exp represents an exponential function with the natural constant e as the base; D() represents the cosine distance calculation function, which is used to calculate the cosine distance between two vectors;

[0023] When the continuity between the target point a and other points in its neighborhood is less than a preset continuity threshold, the neighborhood radius of the target point a is corrected until the continuity between the target point a and other points in its neighborhood is not less than the preset continuity threshold; wherein, when the neighborhood radius of the target point a is corrected, the corrected neighborhood radius is:

[0024]

[0025] Among them, R ′ represents the neighborhood radius of the corrected target point a; L a,d Indicates the continuity between the point d in the neighborhood of the currently calculated target point a and the target point a, whose continuity with the target point a is less than the preset continuity threshold; Represents the point cloud density of the currently filtered point cloud data; R0 represents the initial neighborhood radius;

[0026] When the continuity between the target point a and any point in its neighborhood is not less than the preset continuity threshold, the neighborhood radius of the target point a is not corrected, and the initial neighborhood radius continues to be used as the neighborhood radius of the target point a.

[0027] Furthermore, the calculation formula for the similarity between each point cloud region and the neighborhood of the target point is:

[0028]

[0029] Among them, S a,b Represents the similarity between the neighborhood of target point a and point cloud region b; ρ a Represents the point cloud density within the neighborhood of the target point a; ρ b Indicates the point cloud density within the point cloud area b; d a,b represents the Euclidean distance between the neighborhood of the target point a and the shape descriptor of the corresponding point in the point cloud region b; q a_i Represents the normal vector of the i-th point in the neighborhood of the target point a; q b_i represents the normal vector of the i-th point in the point cloud area b; k a_i represents the curvature of the i-th point in the neighborhood of the target point a; k b_irepresents the curvature of the i-th point in the point cloud area b; m represents the number of point clouds in the neighborhood of the target point a; exp represents the exponential function with the natural constant e as the base; D() represents the cosine distance calculation function, which is used to calculate the cosine distance between two vectors.

[0030] Furthermore, when the coordinates of the points corresponding to the target point in each similar area are weighted and averaged, the weight of each point is the normalized value of the similarity between the area where the point is located and the neighborhood of the target point.

[0031] Furthermore, when the coordinates of each point in the neighborhood of the target point are weighted and averaged, the weight of each point is:

[0032]

[0033] Among them, W i represents the weight of the i-th point in the neighborhood of the target point a; norm represents the normalization function; G a Indicates the local feature degree of target point a; G i Indicates the degree of local features of the i-th point in the neighborhood of the target point a;

[0034] The calculation formula of the local feature degree is:

[0035]

[0036] Among them, G j Indicates the local feature degree of the jth point in the currently filtered point cloud data; k j Indicates the curvature of the jth point position in the currently filtered point cloud data; Δk j It represents the curvature change rate within the area with the jth point in the currently filtered point cloud data as the center and the neighborhood radius as the radius; ρ j represents the point cloud density in the area with the jth point in the currently filtered point cloud data as the center and the neighborhood radius as the radius; ρ represents the point cloud density of the currently filtered point cloud data; d Δh Indicates the shortest distance from the jth point in the currently filtered point cloud data to the location where the height change occurs.

[0037] Furthermore, the target point is a point in the currently filtered point cloud data whose local feature degree is greater than a preset degree threshold.

[0038] Furthermore, the process of judging whether the filtering effect meets the preset requirements includes:

[0039] Calculate the filtering effect of the current filtering result:

[0040]

[0041] Among them, F urepresents the filtering effect of the u-th filtering; norm represents the normalization function; exp represents the exponential function with the natural constant e as the base; Represents the mean curvature of the point cloud data near the edge after the uth filtering; represents the curvature mean of the point cloud data near the edge after the u-1th filtering; n represents the number of point cloud data currently filtered; ρ min_Δh represents the minimum point cloud density of the neighborhood of the point cloud data close to the edge position; ρ represents the point cloud density of the currently filtered point cloud data; ρ i Indicates the point cloud density within the area with the i-th point in the currently filtered point cloud data as the center and the neighborhood radius as the radius; the point cloud data close to the edge position refers to the point cloud data within a circular area of ​​a preset size centered on the point cloud data at the edge position;

[0042] Determine whether the current filtering result meets the preset requirements based on the filtering effect of the current filtering result.

[0043] Further, judging whether the current filtering result meets the preset requirement according to the filtering effect of the current filtering result includes:

[0044] When the difference in filtering effect after a preset number of consecutive filterings is less than a preset difference threshold, it is considered that the current filtering result has converged and the filtering result has met the preset requirements, and the filtering is terminated and the filtering result is output.

[0045] Furthermore, the comparing the current three-dimensional point cloud model with the reference model to obtain the foundation settlement degree of the building to be inspected includes:

[0046] The current 3D point cloud model is compared with the reference model, and the height differences or shape changes of various parts of the building in the two models are compared to conduct settlement analysis. At the same time, the 3D point cloud model is quantitatively analyzed, the settlement of various parts of the building is calculated, and a settlement contour map is drawn. Combining the model comparison results and settlement analysis results, the evaluation results of the current building foundation are obtained to determine the settlement degree of the current building foundation.

[0047] The beneficial effects brought about by the technical solution provided by the present invention include at least:

[0048] The building foundation settlement detection method provided by the present invention combines the relationship between any point and its neighborhood and the relationship between similar structural areas in the data sample during the filtering and denoising process of the point cloud data, and uses the neighborhood characteristics of the point cloud data and the characteristics of similar areas in the data sample to filter the point cloud data respectively, and merges the filtering results of the two filtering methods, thereby improving the continuity and global consistency of the filtering results. At the same time, the data is gradually smoothed by iterative filtering to avoid data sample missing and distortion caused by excessive filtering, thereby effectively improving the denoising effect of the data samples, and further effectively improving the accuracy of building foundation settlement detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0050] Figure 1 It is a schematic diagram of the execution flow of a building foundation settlement detection method based on computer vision provided by an embodiment of the present invention;

[0051] Figure 2 It is a schematic diagram of the execution flow of the filtering operation provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0053] This embodiment provides a method for detecting building foundation settlement based on computer vision. The method can be implemented by an electronic device. The execution process of the method is as follows: Figure 1 As shown, the following steps are included:

[0054] S1, obtaining original point cloud data of the building to be detected; wherein the original point cloud data includes three-dimensional point cloud data of the inner area, the outer area and the ground area around the building to be detected;

[0055] Specifically, in order to improve the analysis of the settlement degree of the building, this embodiment collects three-dimensional point cloud data for the internal area, external area and ground area around the current building to be detected. According to the structure of the current building to be detected, select a suitable scanning position and angle, and set the scanning parameters of the laser scanner according to the current environment to avoid object obstruction and strong light interference as much as possible. According to the above conditions, multiple scans are performed at different positions and angles to cover the entire building, and the point cloud data collected at different positions or angles are integrated to form a data sample, and a three-dimensional model of the current building to be detected is constructed based on the collected three-dimensional point cloud data samples.

[0056] S2, iteratively performing a filtering operation on the original point cloud data until the filtering effect meets a preset requirement;

[0057] It should be noted that when filtering and denoising the collected original point cloud data, the basic principle adopted in this embodiment is: in order to ensure that the image will not be distorted due to excessive filtering after the denoising is completed, the global consistency and continuity between the point cloud data need to be fully considered during the filtering process. There are a large number of similar structural areas in the building, and the distribution and local features of the three-dimensional point cloud data in these areas are relatively similar. In the process of filtering the data samples, the filtering weight of each point in the filtering process is set by referring to the similar points in the similar areas and the continuity features of the point cloud data in its neighborhood, ensuring that points with more similar features play a greater role in the filtering calculation. Finally, the point cloud data is gradually smoothed through multiple iterations to maintain the global consistency and continuity of the data samples.

[0058] Based on the above, in this embodiment, the execution process of the filtering operation is as follows: Figure 2 As shown, including:

[0059] S21, determining the neighborhood radius in the currently filtered point cloud data;

[0060] Among them, it should be noted that in the process of mean filtering, when determining the neighborhood of a point in the point cloud data, it is necessary to consider the distance between the point and other points in the neighborhood. When the neighborhood range is too large, it is easy to accommodate points that do not have a continuous relationship into the neighborhood, which causes the original continuity of the area to be destroyed after filtering. On the contrary, when the neighborhood range is too small, due to the small number of points included, the filtering result will pay more attention to detail features and ignore global consistency. Therefore, this embodiment analyzes the continuity between the point cloud data and other points in its neighborhood, and then corrects the neighborhood radius of the point cloud data according to the continuity between the point cloud data and other point cloud data in the neighborhood. It is stipulated that when the continuity between the point cloud data and other point cloud data in the neighborhood is less than 0.6, the neighborhood radius of the point cloud data is corrected, otherwise the initial radius length continues to be used.

[0061] Based on the above, the process of determining the neighborhood radius in the currently filtered point cloud data in this embodiment includes:

[0062] S211, determining an initial neighborhood radius in the currently filtered point cloud data;

[0063] In this embodiment, the initial neighborhood radius is set to 10.

[0064] S212, constructing a neighborhood of the target point a with the initial neighborhood radius, and calculating the continuity between the target point a and other points in its neighborhood; wherein the continuity between the target point a and other points in its neighborhood is:

[0065]

[0066] Among them, L a,i Indicates the continuity between the target point a and the i-th point in its neighborhood; represents the mean curvature within the neighborhood of the target point a, k a_i Represents the curvature of the i-th point in the neighborhood of the target point a; Represents the mean normal vector within the neighborhood of the target point a, Δq a_i Represents the normal vector of the i-th point in the neighborhood of the target point a; ρ a represents the point cloud density within the neighborhood of the target point a; exp represents an exponential function with the natural constant e as the base; D() represents a cosine distance calculation function, which is a technical means well known to those skilled in the art and is used to calculate the cosine distance between two vectors. The larger the cosine distance, the greater the difference between the two vectors.

[0067] Represents the curvature difference of point cloud data, Indicates the difference in normal vectors of point cloud data; if all point clouds in the neighborhood are in the same plane, the continuity of points in the neighborhood is high. When the neighborhood is in a curved surface structure, the difference in curvature of all points in the neighborhood is small and the difference in the rate of change of normal vectors of adjacent points is small; when the neighborhood is in a planar structure, the normal vector and curvature of the point cloud data tend to be consistent, so and The larger the value of , the worse the continuity will be. At the same time, when the number of points in the neighborhood is more, that is, the density of the point cloud data is greater, the continuity will be better.

[0068] The calculated L a,i The smaller it is, the worse the continuity between the target point a and the i-th point in its neighborhood. When the continuity is less than a certain level, it is necessary to adjust the neighborhood radius to improve the continuity of the point cloud in the neighborhood.

[0069] S213, when the continuity between the target point a and other points in its neighborhood is less than 0.6, the neighborhood radius of the target point a is corrected until the continuity between the target point a and other points in its neighborhood is not less than a preset continuity threshold; wherein, when the neighborhood radius of the target point a is corrected, the corrected neighborhood radius is:

[0070]

[0071] Among them, R ′ represents the neighborhood radius of the corrected target point a; L a,d Indicates the continuity between the point d in the neighborhood of the currently calculated target point a and the target point a, whose continuity with the target point a is less than the preset continuity threshold; Represents the point cloud density of the currently filtered point cloud data; R0 represents the initial neighborhood radius;

[0072] It represents the scaling factor of the initial neighborhood radius R0 when the neighborhood radius of the target point a is corrected. The initial neighborhood radius R0 is scaled to improve the data continuity within the neighborhood.

[0073] When the continuity between the target point a and any point in its neighborhood is not less than the preset continuity threshold, the neighborhood radius of the target point a is not corrected, and the initial neighborhood radius continues to be used as the neighborhood radius of the target point a.

[0074] S22, determining the neighborhood of the target point to be filtered, and performing region extraction on the currently filtered point cloud data to obtain multiple point cloud regions; wherein the neighborhood of the target point refers to a circular region with the target point as the center and the neighborhood radius as the radius; the size of each point cloud region is the same as the neighborhood of the target point;

[0075] It should be noted that before filtering the point cloud data, the present embodiment first needs to calculate the local feature degree of the point cloud data. The calculation formula of the local feature degree is:

[0076]

[0077] Among them, G j Indicates the local feature degree of the jth point in the currently filtered point cloud data; k j Indicates the curvature of the jth point position in the currently filtered point cloud data; Δk j It represents the curvature change rate within the area with the jth point in the currently filtered point cloud data as the center and the neighborhood radius as the radius; ρ j represents the point cloud density (distance) within the area with the jth point in the currently filtered point cloud data as the center and the neighborhood radius as the radius; ρ represents the point cloud density of the currently filtered point cloud data; d Δh Indicates the shortest distance from the jth point in the currently filtered point cloud data to the location where the height change occurs.

[0078] Based on the above, this embodiment extracts the surface normal vector of each point in the three-dimensional point cloud data, and calculates the curvature of each point and the curvature change rate of the area where it is located. The larger the curvature corresponding to a point and the larger the curvature change rate of the area where it is located, the greater the degree of local feature of the point cloud data. At the same time, when the point cloud data is closer to the location where the height changes in the vertical direction or the location where the point cloud data is located has obvious density changes, that is, |ρ j The larger the -ρ| is, the greater the degree of local features of the point cloud data is.

[0079] In the three-dimensional point cloud data sample, the more a point is located in a critical position of a building, the higher the curvature, the greater the height change or the density change of points in the area. At the same time, due to the isolation and randomness of the noise points, abnormal protrusions may appear in the originally smooth area, which will also cause changes in data values ​​such as curvature. In summary, the higher the degree of local features of a point in the three-dimensional point cloud data sample, the more important the point is in the edge position of the three-dimensional model, or it is a protruding point with a large anomaly. Based on this, this embodiment selects points with a local feature degree greater than 0.5 in the currently filtered point cloud data as points to be filtered, that is, target points.

[0080] S23, calculating the similarity between each point cloud region and the neighborhood of the target point, screening out the point cloud region whose similarity with the neighborhood of the target point is greater than a preset threshold as the similar region of the target point; performing weighted averaging on the coordinates of the points corresponding to the target point in each similar region, and obtaining the filtering results of the target point based on different similar regions;

[0081] Among them, it should be noted that there are a large number of similar areas in the internal structure and external shape of the building, that is, there are similar areas in the three-dimensional model of the building, and the three-dimensional point cloud data in the similar areas have similar data composition. In the process of filtering the data samples, the three-dimensional point cloud data of the similar structure area can be screened out, and then filtered according to the point cloud data of the similar structure, so as to ensure the global consistency of the three-dimensional point cloud data. In this regard, this embodiment performs a similarity analysis on the similar structure areas in the three-dimensional model, and extracts the area in the three-dimensional model in combination with the neighborhood size of the point cloud data obtained in the previous step. And calculate the similarity between each point cloud area and the neighborhood of the target point, and the calculation formula is:

[0082]

[0083] Among them, S a,b Represents the similarity between the neighborhood of target point a and point cloud region b; ρ a Represents the point cloud density within the neighborhood of the target point a; ρ b Indicates the point cloud density within the point cloud area b; d a,b represents the Euclidean distance between the neighborhood of the target point a and the shape descriptor of the corresponding point in the point cloud region b; q a_i Represents the normal vector of the i-th point in the neighborhood of the target point a; q b_i represents the normal vector of the i-th point in the point cloud area b; k a_i represents the curvature of the i-th point in the neighborhood of the target point a; k b_i represents the curvature of the i-th point in the point cloud area b; m represents the number of point clouds in the neighborhood of the target point a; exp represents an exponential function with the natural constant e as the base.

[0084] |ρ a -ρ b | represents the difference degree of density between two regions; for two regions with the same structure, the density difference of point cloud data in the region should be small. In this regard, this embodiment calculates the density difference of point cloud data of two regions. The smaller the density difference, the higher the similarity of the two regions. Indicates the difference in normal vectors of all points in the two regions; this embodiment calculates the normal vectors of all points in the neighborhood and the extracted region and detects the consistency of the normal vectors of the two regions. If the difference in the direction of the normal vectors of adjacent points is small, it means that these points may belong to similar structural regions. a_i -k b_i| represents the difference in curvature of all points in two regions. Regions with similar structures usually have similar curvature features. The smaller the difference in curvature value of each point is, the more similar the structures of the two regions are. Furthermore, this embodiment also combines the shape descriptor (SHOT) to describe the features of the point cloud data. Regions with similar structures usually have similar shape descriptors. By comparing the shape descriptors of two regions, the similarity of the two regions can be determined.

[0085] The calculated S a,b The larger the value, the greater the similarity between the neighborhood of the target point a and the point cloud region b. In this regard, this embodiment calculates all regions of the same size in the three-dimensional model, calculates the similarity between each region and the neighborhood of the target point a, and stipulates that when the similarity S between the point cloud region b and the neighborhood of the target point a is a,b When >0.5, the point cloud region b is considered to have a certain similar structure with the neighborhood of the target point a, and it is recorded as a similar region.

[0086] Furthermore, when the coordinates of the points corresponding to the target point in each similar area are weighted and averaged, the weight of each point is the normalized value of the similarity between its area and the neighborhood of the target point, that is, the area weight W of the coordinates of the weighted points in the point cloud area b similar to the neighborhood of the target point a b =norm(S a,b ), the point cloud data coordinates corresponding to the target point a in each area are weighted and averaged to obtain the filtering result D1 of the target point a based on different similar areas.

[0087] S24, performing weighted averaging on the coordinates of each point in the neighborhood of the target point to obtain a filtering result of the target point based on the neighborhood;

[0088] Among them, when the coordinates of each point in the neighborhood of the target point are weighted and averaged, this embodiment sets the weight for all point cloud data in the neighborhood of the target point a according to the difference in the degree of local features between each point and the target point a and its continuity with the target point a. Specifically, the weight of each point is:

[0089]

[0090] Among them, W i represents the weight of the i-th point in the neighborhood of the target point a; norm represents the normalization function; G a Indicates the local feature degree of target point a; G i Indicates the degree of local features of the i-th point in the neighborhood of the target point a.

[0091] |G a -G i| represents the difference in the degree of local features between the i-th point in the neighborhood of target point a and target point a. The larger the value, the smaller the weight corresponding to the i-th point in the neighborhood of target point a. At the same time, the greater the continuity between each point and target point a, the greater the weight corresponding to the corresponding point.

[0092] The calculated weight W i The larger the value is, the greater the role of the corresponding point in the filtering calculation. By weighted averaging the coordinates of the point cloud data in the neighborhood, the filtering result D2 of the target point based on the neighborhood can be obtained.

[0093] S25, taking the average of the filtering results of the target point based on different similar areas and the filtering results of the target point based on the neighborhood as the filtering result of the target point in the current iteration process;

[0094] Specifically, in this embodiment, the filtering result D1 of the target point a based on different similar regions and the filtering result D2 of the target point based on the neighborhood are averaged, that is, the final filtering result of the target point a is Thus, the filtering result of the target point a is obtained. Repeat the above steps to filter the point cloud data with a local feature degree greater than 0.5 in the three-dimensional point cloud data sample, and the filtering result of the current iterative filtering process can be obtained.

[0095] By repeating the above filtering operation process and dynamically correcting the neighborhood size of the point cloud data, and analyzing the filtering effect of each filtering result, the point cloud data that finally meets the requirements can be obtained.

[0096] The process of judging whether the filtering effect meets the requirements includes:

[0097] Calculate the filtering effect of the current filtering result:

[0098]

[0099] Among them, F u represents the filtering effect of the u-th filtering; norm represents the normalization function; exp represents the exponential function with the natural constant e as the base; Represents the mean curvature of the point cloud data near the edge after the uth filtering; represents the curvature mean of the point cloud data near the edge after the u-1th filtering; n represents the number of point cloud data currently filtered; ρ min_Δh represents the minimum point cloud density of the neighborhood of the point cloud data close to the edge position; ρ represents the point cloud density of the currently filtered point cloud data; ρ iIndicates the point cloud density within the area with the i-th point in the currently filtered point cloud data as the center and the neighborhood radius as the radius; the point cloud data close to the edge position refers to the point cloud data within a circular area of ​​a preset size centered on the point cloud data at the edge position; that is: with the point cloud data at the edge position as the center, a neighborhood is set according to the set radius size, and the point cloud data within the edge position neighborhood range is used for analysis here;

[0100] Indicates the degree of preservation of edge features before and after filtering; Indicates the judgment of edge continuity; for the filtered three-dimensional point cloud data samples, it should be ensured that important features and edge information of buildings are retained as much as possible during the filtering process. Therefore, this embodiment analyzes the curvature of the filtered point cloud data and the continuity of the edge, and analyzes the curvature of the point cloud data at the edge position (point cloud data with high changes in the neighborhood) before and after filtering. When the curvature of the edge point cloud data after filtering is still large, the filtering effect is good. At the same time, when there is a large gap in the distribution of the point cloud data in the edge area after filtering, it means that the filtering causes a break or discontinuity in the area, and the filtering effect is poor. |ρ i -ρ| represents the difference between the local point cloud data distribution density and the overall distribution density. For normal 3D point cloud data samples, the distribution of data points should be relatively smooth, that is, the more similar the local point cloud data distribution density is to the overall point cloud data distribution density, the better the filtering effect will be.

[0101] The calculated F u The larger the value, the better the filtering effect of the current filtering. According to the above steps, the filtering effect after each iterative filtering is analyzed. When the difference in filtering effect after three consecutive filterings is ΔF<0.1, it is considered that the current filtering result has converged, and the filtering is terminated and the filtering result is output.

[0102] At this point, the filtering of the original three-dimensional point cloud data samples is completed, and the processed three-dimensional point cloud data is obtained.

[0103] S3, using the filtered point cloud data, constructing a current three-dimensional point cloud model of the building to be detected;

[0104] S4, comparing the current three-dimensional point cloud model with the reference model to obtain the foundation settlement degree of the building to be detected; wherein the reference model is the three-dimensional point cloud model of the building to be detected when no foundation settlement occurs;

[0105] Specifically, after obtaining the denoised three-dimensional point cloud data samples through the above steps, the present embodiment constructs a three-dimensional model of the current building according to the filtered three-dimensional point cloud data samples, compares the differences (shape, position, size, etc.) between the collected three-dimensional model of the building and the reference model, and compares the height differences or shape changes of different parts of the building. The greater the height difference or shape change, the greater the possible foundation settlement. At the same time, professional software or tools are used to quantitatively analyze the three-dimensional model data, calculate the settlement of each part of the building, and draw visualization results such as settlement contour maps. Combined with the three-dimensional model comparison and settlement result analysis, a comprehensive evaluation result of the current building foundation is obtained, the settlement degree of the current building foundation is determined, and the building foundation settlement detection method based on computer vision is completed.

[0106] In summary, this embodiment provides a building foundation settlement detection method based on computer vision. The building foundation settlement detection method based on computer vision performs correlation analysis on point cloud data in areas with similar structures in data samples, and sets the weight of each point cloud data during filtering according to the relationship between the point cloud data and other points in the neighborhood in the similar result area. The final filtering result is obtained in an iterative manner, which reduces the occurrence of data defects and shape distortion, thereby effectively improving the filtering effect, and further effectively improving the accuracy of building foundation settlement detection.

[0107] In addition, it should be noted that the present invention can be provided as a method, an apparatus or a computer program product. Therefore, the embodiments of the present invention can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.

[0108] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0109] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0110] It should also be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0111] Finally, it should be noted that the above is a preferred embodiment of the present invention. It should be pointed out that although the preferred embodiment of the present invention has been described, for those skilled in the art, once the basic creative concept of the present invention is known, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention. Therefore, the attached claims are intended to be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the embodiments of the present invention.

Claims

1. A building foundation settlement detection method based on computer vision, characterized in that: include: Acquire original point cloud data of the building to be detected; wherein the original point cloud data includes three-dimensional point cloud data of the inner area, the outer area and the ground area around the building to be detected; Iteratively performing filtering operations on the original point cloud data until the filtering effect meets preset requirements; Using the filtered point cloud data, construct a current three-dimensional point cloud model of the building to be inspected; Compare the current three-dimensional point cloud model with the reference model to obtain the foundation settlement degree of the building to be detected; wherein the reference model is a three-dimensional point cloud model of the building to be detected when no foundation settlement occurs; The filtering operation includes: Determine the neighborhood radius in the currently filtered point cloud data; Determine the neighborhood of the target point to be filtered, and perform region extraction on the currently filtered point cloud data to obtain multiple point cloud regions; the neighborhood of the target point refers to a circular region with the target point as the center and the neighborhood radius as the radius; the size of each point cloud region is the same as the neighborhood of the target point; Calculate the similarity between each point cloud area and the neighborhood of the target point, and select the point cloud area whose similarity with the neighborhood of the target point is greater than the preset threshold as the similar area of ​​the target point; perform weighted averaging on the coordinates of the points corresponding to the target point in each similar area to obtain the filtering results of the target point based on different similar areas; The coordinates of each point in the neighborhood of the target point are weighted and averaged to obtain the filtering result of the target point based on the neighborhood; The filtering results of the target point based on different similar areas and the filtering results of the target point based on the neighborhood are averaged as the filtering result of the target point in the current iteration process.

2. The computer vision-based building foundation settlement detection method according to claim 1, characterized in that: The step of determining the neighborhood radius in the currently filtered point cloud data includes: Determine the initial neighborhood radius in the currently filtered point cloud data; Construct the neighborhood of the target point a with the initial neighborhood radius, and calculate the continuity between the target point a and other points in its neighborhood; the continuity between the target point a and other points in its neighborhood is: Among them, L a,i Indicates the continuity between the target point a and the i-th point in its neighborhood; represents the mean curvature within the neighborhood of the target point a, k a_i Represents the curvature of the i-th point in the neighborhood of the target point a; Represents the mean normal vector within the neighborhood of the target point a, Δq a_i Represents the normal vector of the i-th point in the neighborhood of the target point a; ρ a Represents the point cloud density within the neighborhood of the target point a; exp represents an exponential function with the natural constant e as the base; D() represents the cosine distance calculation function, which is used to calculate the cosine distance between two vectors; When the continuity between the target point a and other points in its neighborhood is less than a preset continuity threshold, the neighborhood radius of the target point a is corrected until the continuity between the target point a and other points in its neighborhood is not less than the preset continuity threshold; wherein, when the neighborhood radius of the target point a is corrected, the corrected neighborhood radius is: Among them, R ′ represents the neighborhood radius of the corrected target point a; L a,d Indicates the continuity between the point d in the neighborhood of the currently calculated target point a and the target point a, whose continuity with the target point a is less than the preset continuity threshold; Represents the point cloud density of the currently filtered point cloud data; R0 represents the initial neighborhood radius; When the continuity between the target point a and any point in its neighborhood is not less than the preset continuity threshold, the neighborhood radius of the target point a is not corrected, and the initial neighborhood radius continues to be used as the neighborhood radius of the target point a.

3. The building foundation settlement detection method based on computer vision as claimed in claim 1, characterized in that: The calculation formula for the similarity between each point cloud area and the neighborhood of the target point is: Among them, S a,b Represents the similarity between the neighborhood of target point a and point cloud region b; ρ a Represents the point cloud density within the neighborhood of the target point a; ρ b Indicates the point cloud density within the point cloud area b; d a,b represents the Euclidean distance between the neighborhood of the target point a and the shape descriptor of the corresponding point in the point cloud region b; q a_i Represents the normal vector of the i-th point in the neighborhood of the target point a; q b_i represents the normal vector of the i-th point in the point cloud area b; k a_i represents the curvature of the i-th point in the neighborhood of the target point a; k b_i represents the curvature of the i-th point in the point cloud area b; m represents the number of point clouds in the neighborhood of the target point a; exp represents the exponential function with the natural constant e as the base; D() represents the cosine distance calculation function, which is used to calculate the cosine distance between two vectors.

4. The building foundation settlement detection method based on computer vision as claimed in claim 1, characterized in that: When the coordinates of the points corresponding to the target point in each similar area are weighted and averaged, the weight of each point is the normalized value of the similarity between the area where the point is located and the neighborhood of the target point.

5. The building foundation settlement detection method based on computer vision as claimed in claim 2, characterized in that: When the coordinates of each point in the neighborhood of the target point are weighted and averaged, the weight of each point is: Among them, W i represents the weight of the i-th point in the neighborhood of the target point a; norm represents the normalization function; G a Indicates the local feature degree of target point a; G i Indicates the degree of local features of the i-th point in the neighborhood of the target point a; The calculation formula of the local feature degree is: Among them, G j Indicates the degree of local features of the jth point in the currently filtered point cloud data; k j Indicates the curvature of the jth point position in the currently filtered point cloud data; Δk j represents the curvature change rate within the area with the jth point in the currently filtered point cloud data as the center and the neighborhood radius as the radius; v j represents the point cloud density in the area with the jth point in the currently filtered point cloud data as the center and the neighborhood radius as the radius; ρ represents the point cloud density of the currently filtered point cloud data; d Δh Indicates the shortest distance from the jth point in the currently filtered point cloud data to the location where the height change occurs.

6. The computer vision-based building foundation settlement detection method according to claim 5, characterized in that: The target point is a point in the currently filtered point cloud data whose local feature degree is greater than a preset degree threshold.

7. The building foundation settlement detection method based on computer vision as claimed in claim 1, characterized in that: The process of judging whether the filtering effect meets the preset requirements includes: Calculate the filtering effect of the current filtering result: Among them, F u represents the filtering effect of the u-th filtering; norm represents the normalization function; exp represents the exponential function with the natural constant e as the base; Represents the mean curvature of the point cloud data near the edge after the uth filtering; represents the curvature mean of the point cloud data near the edge after the u-1th filtering; n represents the number of point cloud data currently filtered; ρ min_Δh represents the minimum point cloud density of the neighborhood of the point cloud data close to the edge position; ρ represents the point cloud density of the currently filtered point cloud data; ρ i Indicates the point cloud density within the area with the i-th point in the currently filtered point cloud data as the center and the neighborhood radius as the radius; the point cloud data close to the edge position refers to the point cloud data within a circular area of ​​a preset size centered on the point cloud data at the edge position; Determine whether the current filtering result meets the preset requirements based on the filtering effect of the current filtering result.

8. The computer vision-based building foundation settlement detection method according to claim 7, characterized in that: Judging whether the current filtering result meets the preset requirements according to the filtering effect of the current filtering result includes: When the difference in filtering effect after a preset number of consecutive filterings is less than a preset difference threshold, it is considered that the current filtering result has converged and the filtering result has met the preset requirements, and the filtering is terminated and the filtering result is output.

9. The building foundation settlement detection method based on computer vision according to any one of claims 1 to 8, characterized in that: The step of comparing the current three-dimensional point cloud model with the reference model to obtain the foundation settlement degree of the building to be inspected includes: The current 3D point cloud model is compared with the reference model, and the height differences or shape changes of various parts of the building in the two models are compared to conduct settlement analysis. At the same time, the 3D point cloud model is quantitatively analyzed, the settlement of various parts of the building is calculated, and a settlement contour map is drawn. Combining the model comparison results and settlement analysis results, the evaluation results of the current building foundation are obtained to determine the settlement degree of the current building foundation.

Citation Information

Patent Citations

  • LiDar point cloud data morphological filtering method based on area prediction

    CN103745436A

  • Improved Poisson surface reconstruction method based on nonlocal mean and bilateral filtering

    CN108510591A

  • Earth and rockfill dam filling real-time dam face deformation monitoring method based on point cloud data

    CN113465524A

  • Adaptive target detection method and system for TOF point cloud

    CN113902937A

  • Ground surface settlement monitoring method and system based on laser point cloud data

    CN116067338A

Cited By

  • Collapsible loess roadbed subsidence crack image evolution tracking method and system

    CN122617867A