A high-precision geological fracture monitoring method and system based on drone images

Through multiple drone photography and homography change theory, the problem of universality and insufficient accuracy of existing fracture monitoring equipment has been solved, and high-precision millimeter-level geological fracture monitoring has been achieved, which is suitable for dangerous geological areas.

CN115597516BActive Publication Date: 2024-10-29HUANENG LANCANG RIVER HYDROPOWER CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211316035.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-26
Publication Date
2024-10-29
Estimated Expiration
2042-10-26

AI Technical Summary

Technical Problem

Existing crack monitoring equipment lacks universality, is complex and expensive to use, and cannot effectively monitor in dangerous geological areas. Moreover, the accuracy of drone oblique photography is insufficient to achieve high-precision millimeter-level monitoring.

Method used

UAVs are used to take multiple photos of the crack area at certain time intervals. Combined with the homography change theory, the three-dimensional information difference is obtained, the deformation area is automatically extracted, the homography change parameters are solved, and high-precision deformation analysis is achieved.

Benefits of technology

It achieves high-precision crack monitoring in dangerous geological areas, with simple operation and millimeter-level accuracy, avoiding the need for professional equipment and surpassing the decimeter-level accuracy limit of traditional three-dimensional modeling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115597516B_ABST
    Figure CN115597516B_ABST
Patent Text Reader

Abstract

The present invention provides a high-precision geological crack monitoring method and system based on drone images. First, a drone is used to photograph the crack area multiple times at certain time intervals to obtain images of different periods. Then, the existing photogrammetry theory and technology are used to process the images to obtain multi-period three-dimensional information of the target area, and the deformation area is preliminarily located based on the difference in three-dimensional information. After that, multiple original images containing cracks are automatically extracted based on the deformation area, and these images are processed with homography changes at different times. The process mainly includes: automatically extracting pairs of points with the same name, solving homography change parameters, and correcting images. Finally, the two-phase images are overlapped and analyzed to find out the small changes, which are solved into quantitative data based on the homography model. The present invention can solve the universality problem of existing crack monitoring instruments and can be widely used in various crack monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of photogrammetry and remote sensing mapping technology and geological deformation monitoring, and the technical solution provides a high-precision geological crack monitoring method based on unmanned aerial vehicle images. Background Art

[0002] As a geological disaster phenomenon on the surface of the earth, cracks exist all over the world. Cracks not only cause damage to engineering buildings, but also damage land resources, destroy the ecological environment, and even cause huge losses of life and property. In order to effectively prevent and control crack disasters, it is necessary to monitor cracks reasonably. In geology, crack monitoring can grasp its activity characteristics, analyze its development trend, and take necessary disaster prevention measures in advance. In construction, timely crack monitoring can ensure the safety of buildings. However, although the current crack monitoring methods have made great progress, they still cannot meet the needs of daily monitoring. The main reasons include that the existing monitoring equipment and technology are relatively expensive and very professional to use. For example, an ordinary crack meter costs tens of thousands of yuan, and the user needs to have professional installation, analysis and processing skills during use. Secondly, the use of monitoring equipment is subject to many environmental constraints. For example, high steep and dangerous rocks, high-span bridges, and super-high-rise buildings have no conditions for installation and use. Some people also use drones for oblique photography to establish a three-dimensional model of the target area for deformation monitoring, but due to modeling accuracy limitations, high-precision monitoring at the millimeter level cannot be achieved. Summary of the invention

[0003] The present invention mainly aims at the problem that the existing crack monitoring instruments are not universal, the accuracy of oblique photography is not high, and effective monitoring cannot be carried out in dangerous geological areas. A method is proposed to use a drone to take multiple photographs of the crack area at a certain time interval, combined with the homography change theory, to achieve high-precision deformation monitoring. The core technology of this method includes: first, use a drone to take multiple photographs of the crack area at a certain time interval to obtain images of different periods. Then, use the existing photography theory and technology to process the images to obtain multi-period three-dimensional information of the target area, and preliminarily locate the deformation area based on the difference in three-dimensional information. After that, multiple original images containing cracks are automatically extracted according to the deformation area, and these images are processed according to the homography change related processing at different times. The process mainly includes: automatically extracting pairs of points with the same name, solving homography change parameters, and correcting images. Finally, the two-phase images are superimposed and analyzed to find out the small changes, and they are solved into quantitative data according to the homography model. The above-mentioned technical problems of the present invention are mainly solved by the following technical solutions:

[0004] A high-precision geological fracture monitoring method based on drone images includes the following steps:

[0005] Step 1: Use a drone to photograph the crack area at certain time intervals to obtain multiple images;

[0006] Step 2, the images acquired in each period are processed using existing photogrammetry theories and technologies, including image matching to extract connection points, adjustment to calculate the internal and external orientation elements of the image, dense matching to obtain point clouds, and construction of three-dimensional models. The three-dimensional models constructed according to the acquisition period are marked as M1, M2, M3...Mn respectively;

[0007] Step 3, taking the three-dimensional model M1 obtained in the first phase as a reference, the three-dimensional data of each three-dimensional model obtained in the subsequent phase is compared with the first phase to obtain the deformation area and deformation amount;

[0008] Step 4, according to the deformation area found in step 3, combined with the image parameters processed by photogrammetry, the image is reversed to obtain the original image of the deformation area;

[0009] Step 5: Perform high-precision deformation analysis based on homography changes.

[0010] Furthermore, in step 1, a DJI-P4 drone is used for photography, the flight altitude is set to 20 meters, the ground resolution of the acquired image is 5 mm, and the captured image must contain cracks.

[0011] Furthermore, in step 2, DPGrid is used to implement image matching to extract connection points, adjust and solve the internal and external orientation elements of the image, obtain point clouds through dense matching, and construct a three-dimensional model.

[0012] Furthermore, the specific calculation method of step 3 is as follows;

[0013] 3.1, plane fitting is performed on the target area; if the target area has a complex terrain, it needs to be divided into multiple sub-areas for processing, and each sub-area is fitted with a plane. The method of fitting the plane is: all the three-dimensional points Vp contained in the constituent model of the area are substituted into the plane equation, and the equation adopts Ax+By+Cz+D=0; since this equation only needs 3 three-dimensional points to be solved, all points are now substituted, so a transcendental equation is obtained, and the least squares solution method is used to obtain the optimal solution, and the parameters (A, B, C, D) of the best fitting plane P are obtained;

[0014] 3.2, establish a spatial rectangular coordinate system on the plane; the coordinate system takes the centroid (Xc, Yc, Zc) of the region containing the three-dimensional point Vp as the coordinate origin, the plane normal vector obtained in 3.1 is the positive direction of the Z axis, and the spatial rectangular coordinate system is established on the P plane;

[0015] 3.3, the three-dimensional model data of different periods are converted to the same new coordinate system by constructing a 4×4 change matrix, the matrix form is as follows:

[0016]

[0017] The last row of the matrix (m 41 ,m 42 ,m 43 ,m 44 ) is (0,0,0,1), the first three rows are rotation component and translation component respectively; the rotation component is a 3*3 matrix, the translation component (m 14 ,m 24 ,m 34 ) T , which is the centroid coordinate value of Vp. The rotation component can be directly filled in by normalizing the normal vector of P. The simple calculation method of normalization is: take a point with a length of 1 in the normal direction, calculate its coordinates (X1, Y1, Z1), and then directly take the three vectors Fill in by column (m 11 ,m 21 ,m 31 ) T 、(m 12 ,m 22 ,m 32 ) T 、(m 13 ,m 23 ,m 33 ) T That's it;

[0018] 3.4, compare the three-dimensional model to find the deformation position; in the new coordinate system, uniformly sample in the X and Y directions at a certain interval to form a sampling grid point, and intersect with the three-dimensional model of different periods to obtain two coordinate points to form the deformation variable. If the position has not been deformed, the deformation variable only contains the error of the two measurements and is randomly distributed;

[0019] 3.5. Based on the grid points obtained in 3.4, a 3×3 median filter is first performed to remove noise points, and then aggregation processing is performed. The aggregation algorithm uses the classic region growing method, that is, traversing the grid points, after finding the first deformation point, a recursive algorithm is used to expand eight areas with this point as the center until there are no deformation points in the eight areas, completing one aggregation. After the deformation area is found, these positions are back-calculated back to the original three-dimensional model using the change matrix, and the deformation position is recorded.

[0020] Furthermore, the specific calculation of step 4 is as follows:

[0021] 4.1, using the image parameters processed by photogrammetry, the deformed area is back-projected to the original image obtained in this period. The calculation process is:

[0022] Assume that the coordinates of the 3D model of any point in the deformation area are X w , Y w, Z w , any original image, its internal and external orientation parameters are Xs, Ys, Zs, ω, к, f, c x 、c y , where Xs, Ys, and Zs are the three-dimensional coordinates of the image imaging position. ω, к are the rotation angles between the camera's main optical axis and the Y, X, and Z axes of the coordinate system, f is the camera's focal length, c x , c y is the row and column number of the camera center point on the image, then the imaging equation of the image coordinates u, v is:

[0023]

[0024] The specific calculation of the rotation matrix R, that is, R1…R9 is:

[0025]

[0026] The specific calculation of the translation vector T, namely Tx, Ty, Tz is as follows:

[0027]

[0028] 4.2. According to the deformation area, traverse all images in stages, and calculate the position of each grid point in the deformation area in the original image according to the formula in step 4.1. If the point imaging position of the deformation area is not within the range of the image row and column, discard this image and only keep the original image containing the entire deformation area. Record the selected original image in stages.

[0029] Furthermore, the specific implementation of step 5 is as follows;

[0030] 5.1, according to the deformation area, two images are selected from the two phases of images to form a comparative analysis image pair. The image acquired earlier is called the left image, i.e., the reference image, and the image acquired later is called the right image, i.e., the target image;

[0031] 5.2, select the same-name point pairs, on the same side of the crack in the left and right images, select more than 4 pairs of the same-name point pairs through automatic matching or manual selection, and the selected point pairs cannot be on a straight line;

[0032] 5.3, solve the homography change parameters. According to the geometric relationship of photographic imaging, it can be known that the coordinates of the left and right homonymous points have the following relationship:

[0033]

[0034] where x l ,y l is the coordinate of the same-name point on the left image, x r,y r are the coordinates of the same-name points on the right image, H is the homography transformation matrix, which is a 3×3 full-rank matrix;

[0035] For any pair of points with the same name, after expanding (Formula 5), ​​we get:

[0036]

[0037]

[0038] Theoretically, the homography transformation matrix H has 9 unknowns. Using the homogeneous coordinate system, H can be 33 =1, there are 8 unknowns left, that is, there are 8 degrees of freedom, and 8 equations are needed to solve; in order to reliably solve the result of the equation, select more than 4 pairs of points to form redundant observations. In the case of redundant observations, the least squares algorithm is used to solve the H matrix. Here, the SVD decomposition algorithm is used to bring in the coordinates of the points with the same name to solve the value of the H matrix;

[0039] 5.4, ​​correct the right image; use the homography change matrix H obtained in step 5.3, and then use formula (Formula 6) and (Formula 7) to transform each pixel of the right image into the left image to form a corrected right image. At this time, the right image and the left image are normalized to the left image coordinate system, and the same-name points completely overlap;

[0040] 5.5, detailed contrast analysis; directly superimpose the image obtained in step 5.4 onto the left image, and display the result by complementary color superposition algorithm or semi-transparent superposition algorithm;

[0041] 5.6, quantification of fine changes; according to the change in the direction of 5.5, the inverse operation of the homography change is used to calculate the variable back to the original image, and the internal and external orientation elements of the image obtained in step 2 are used to intersect the front of the change homonymous point to the object space coordinates to obtain the quantitative value of the small deformation.

[0042] The present invention also provides a high-precision geological fracture monitoring system based on drone images, comprising the following modules:

[0043] The multi-phase image acquisition module is used to use a drone to photograph the crack area at certain time intervals to obtain multi-phase images;

[0044] The processing module is used to process the images acquired in each period using existing photogrammetry theories and technologies, including image matching to extract connection points, adjustment to calculate the internal and external orientation elements of the image, dense matching to obtain point clouds, and construction of three-dimensional models. The three-dimensional models constructed according to the acquisition period are respectively called M1, M2, M3…Mn;

[0045] The deformation region acquisition module is used to compare the three-dimensional data of each subsequent three-dimensional model with the first phase, taking the three-dimensional model M1 acquired in the first phase as a reference, and acquire the deformation region and deformation amount;

[0046] The inverse analysis module is used to inversely analyze the image according to the found deformation area and the image parameters processed by photogrammetry to obtain the original image of the deformation area;

[0047] The deformation analysis module is used to perform high-precision deformation analysis based on homography changes.

[0048] Furthermore, the specific calculation method of the deformation area acquisition module is as follows;

[0049] 3.1, plane fitting is performed on the target area; if the target area has a complex terrain, it needs to be divided into multiple sub-areas for processing, and each sub-area is fitted with a plane. The method of fitting the plane is: all the three-dimensional points Vp contained in the constituent model of the area are substituted into the plane equation, and the equation adopts Ax+By+Cz+D=0; since this equation only needs 3 three-dimensional points to be solved, all points are now substituted, so a transcendental equation is obtained, and the least squares solution method is used to obtain the optimal solution, and the parameters (A, B, C, D) of the best fitting plane P are obtained;

[0050] 3.2, establish a spatial rectangular coordinate system on the plane; the coordinate system takes the centroid (Xc, Yc, Zc) of the region containing the three-dimensional point Vp as the coordinate origin, the plane normal vector obtained in 3.1 is the positive direction of the Z axis, and the spatial rectangular coordinate system is established on the P plane;

[0051] 3.3, the three-dimensional model data of different periods are converted to the same new coordinate system by constructing a 4×4 change matrix, the matrix form is as follows:

[0052]

[0053] The last row of the matrix (m 41 ,m 42 ,m 43 ,m 44 ) is (0,0,0,1), the first three rows are rotation component and translation component respectively; the rotation component is a 3*3 matrix, the translation component (m 14 ,m 24 ,m 34 ) T , which is the centroid coordinate value of Vp. The rotation component can be directly filled in by normalizing the normal vector of P. The simple calculation method of normalization is: take a point with a length of 1 in the normal direction, calculate its coordinates (X1, Y1, Z1), and then directly take the three vectors Fill in by column (m 11 ,m21 ,m 31 ) T 、(m 12 ,m 22 ,m 32 ) T 、(m 13 ,m 23 ,m 33 ) T That's it;

[0054] 3.4, compare the three-dimensional model to find the deformation position; in the new coordinate system, uniformly sample in the X and Y directions at a certain interval to form a sampling grid point, and intersect with the three-dimensional model of different periods to obtain two coordinate points to form the deformation variable. If the position has not been deformed, the deformation variable only contains the error of the two measurements and is randomly distributed;

[0055] 3.5. Based on the grid points obtained in 3.4, a 3×3 median filter is first performed to remove noise points, and then aggregation processing is performed. The aggregation algorithm uses the classic region growing method, that is, traversing the grid points, after finding the first deformation point, a recursive algorithm is used to expand eight areas with this point as the center until there are no deformation points in the eight areas, completing one aggregation. After the deformation area is found, these positions are back-calculated back to the original three-dimensional model using the change matrix, and the deformation position is recorded.

[0056] Furthermore, the specific calculation of the inverse solution module is as follows:

[0057] 4.1, using the image parameters processed by photogrammetry, the deformed area is back-projected to the original image obtained in this period. The calculation process is:

[0058] Assume that the coordinates of the 3D model of any point in the deformation area are X w , Y w , Z w , any original image, its internal and external orientation parameters are Xs, Ys, Zs, ω, к, f, c x 、c y , where Xs, Ys, and Zs are the three-dimensional coordinates of the image imaging position. ω, к are the rotation angles between the camera's main optical axis and the Y, X, and Z axes of the coordinate system, f is the camera's focal length, c x , c y is the row and column number of the camera center point on the image, then the imaging equation of the image coordinates u, v is:

[0059]

[0060] The specific calculation of the rotation matrix R, that is, R1…R9 is:

[0061]

[0062] The specific calculation of the translation vector T, namely Tx, Ty, Tz is as follows:

[0063]

[0064] 4.2. According to the deformation area, traverse all images in stages, and calculate the position of each grid point in the deformation area in the original image according to the formula in step 4.1. If the point imaging position of the deformation area is not within the range of the image row and column, discard this image and only keep the original image containing the entire deformation area. Record the selected original image in stages.

[0065] Furthermore, the specific implementation of the deformation analysis module is as follows;

[0066] 5.1, according to the deformation area, two images are selected from the two phases of images to form a comparative analysis image pair. The image acquired earlier is called the left image, i.e., the reference image, and the image acquired later is called the right image, i.e., the target image;

[0067] 5.2, select the same-name point pairs, on the same side of the crack in the left and right images, select more than 4 pairs of the same-name point pairs through automatic matching or manual selection, and the selected point pairs cannot be on a straight line;

[0068] 5.3, solve the homography change parameters. According to the geometric relationship of photographic imaging, it can be known that the coordinates of the left and right homonymous points have the following relationship:

[0069]

[0070] where x l ,y l is the coordinate of the same-name point on the left image, x r ,y r are the coordinates of the same-name points on the right image, H is the homography transformation matrix, which is a 3×3 full-rank matrix;

[0071] For any pair of points with the same name, after expanding (Formula 5), ​​we get:

[0072]

[0073]

[0074] Theoretically, the homography transformation matrix H has 9 unknowns. Using the homogeneous coordinate system, H can be 33=1, there are 8 unknowns left, that is, there are 8 degrees of freedom, and 8 equations are needed to solve; in order to reliably solve the result of the equation, select more than 4 pairs of points to form redundant observations. In the case of redundant observations, the least squares algorithm is used to solve the H matrix. Here, the SVD decomposition algorithm is used to bring in the coordinates of the points with the same name to solve the value of the H matrix;

[0075] 5.4, ​​correct the right image; use the homography change matrix H obtained in step 5.3, and then use formula (Formula 6) and (Formula 7) to transform each pixel of the right image into the left image to form a corrected right image. At this time, the right image and the left image are normalized to the left image coordinate system, and the same-name points completely overlap;

[0076] 5.5, detailed contrast analysis; directly superimpose the image obtained in step 5.4 onto the left image, and display the result by complementary color superposition algorithm or semi-transparent superposition algorithm;

[0077] 5.6, quantification of fine changes; according to the change in the direction of 5.5, the inverse operation of the homography change is used to calculate the variable back to the original image, and the internal and external orientation elements of the image obtained in step 2 are used to intersect the front of the change homonymous point to the object space coordinates to obtain the quantitative value of the small deformation.

[0078] After completing the above 5 steps, high-precision geological fracture monitoring based on UAV images can be achieved. Compared with the existing practice of using fracture monitoring instruments, this method is simple and feasible, does not require professional monitoring equipment, and can achieve high-precision monitoring of areas where relevant monitoring equipment cannot be deployed using drones. Compared with other methods that directly use drones for oblique photography and three-dimensional modeling, this method has higher accuracy. The three-dimensional modeling method can usually only achieve decimeter and sub-decimeter level monitoring. This method introduces a homography change model to perform a detailed analysis of the original image, and the monitoring accuracy can reach the millimeter level. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Figure 1 is an overall flow chart of an embodiment of the present invention;

[0080] Figure 2 Fit the spatial plane diagram of the monitoring area (overall fitting).

[0081] Figure 3 Examples of points of the same name implemented in the present invention (magnification of local details), where (a) and (b) are left and right images, respectively.

[0082] Figure 4 This is the geometric relationship of homography change implemented in the present invention.

[0083] Figure 5 This is a comparative analysis example of the present invention (local details are magnified). DETAILED DESCRIPTION

[0084] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and embodiments.

[0085] Inspired by the theory of homography change, the present invention proposes to use a drone to take multiple photographs of the crack area at certain time intervals, carry out photogrammetry processing, obtain three-dimensional information of the target area, preliminarily confirm the deformation area, and then introduce the homography change (Homography) theory to perform high-precision deformation analysis, thereby realizing high-precision geological crack monitoring. Homography is widely used in high-precision geometric stitching of images and camera pose estimation. Its basic theory is: taking pictures of the same target at different positions to obtain multiple different images. The image size, imaging direction, etc. in these images are inconsistent, and direct comparative analysis cannot be performed. However, through imaging geometric analysis, it can be proved that there is a homography change model between these images. As long as the model parameters are solved, these images can be normalized to the same reference space, and then various image processing can be performed. For the problem of crack monitoring, according to the deformation area obtained by photographic processing, multiple images containing cracks are automatically selected, and then the homography change model parameters between the images are solved. According to the parameters, these images are compared at different times to find subtle changes, thereby realizing high-precision deformation monitoring. The entire processing flow is as follows: Figure 1 shown.

[0086] The technical solution provided by the present invention is a high-precision geological fracture monitoring method based on drone images, in which establishing a homography change model and solving parameters are the key to high-precision processing. In specific implementation, computer software technology can be used to realize the automatic operation process.

[0087] Step 1: Use a drone to photograph the crack area at a certain time interval to obtain multiple images. Photography requires that the cracks to be monitored are clear and identifiable. In addition to the cracks, a certain range of background information must also be captured, that is, the image must include cracks. In addition, it must include other targets such as walls, roads, dam surfaces, etc. In this regard, it is recommended to use a DJI-P4 drone, and the flight altitude can be set to 20 meters. The ground resolution of the image obtained in this way is about 5 mm. If you want to obtain more detailed images, you need to fly lower.

[0088] Step 2, the images acquired in each period are processed using existing photogrammetry theory and technology, and the main process includes image matching to extract tie points, adjustment to solve the internal and external orientation elements of the image, dense matching to obtain point clouds, and construction of three-dimensional models. The photogrammetry processing of the present invention is completed using the software system DPGrid developed by the inventor. For ease of explanation, the three-dimensional models constructed here are respectively referred to as M1, M2, M3...Mn, etc. according to the acquisition period.

[0089] Step 3: Taking the three-dimensional model M1 obtained in the first phase as the benchmark, the three-dimensional data of each subsequent three-dimensional model is compared with the first phase to obtain the deformation variable. The specific calculation method of the processing process is as follows:

[0090] 3.1 Fit a plane to the target area. If the target area has a complex terrain, it needs to be divided into multiple sub-areas for processing, and each sub-area is fitted with a plane. The method for fitting a plane is to substitute all the three-dimensional points of the constituent model contained in the area (these points are referred to as Vp here for the convenience of description) into the plane equation, and the equation adopts Ax+By+Cz+D=0. Since this equation only requires three three-dimensional points to solve, now that all the points are substituted, a transcendental equation is obtained, and the least squares solution method can be used to obtain the optimal solution and obtain the parameters (A, B, C, D) of the best fitting plane P.

[0091] 3.2 Establish a spatial rectangular coordinate system on the plane. The coordinate system takes the centroid (Xc, Yc, Zc) of the region containing the three-dimensional point Vp as the origin of the coordinate system, and the plane normal vector obtained in 3.1 is the positive direction of the Z axis. Establish a spatial rectangular coordinate system on the P plane, such as Figure 2 As shown, please note that the X and Y coordinate axes do not need to be specified by special calculations, and can be directly obtained by decomposing the normal vector of P.

[0092] 3.3 Convert the 3D model data of different periods to the same new coordinate system. This is the change of two spatial coordinate systems, which is essentially spatial translation and rotation. A 4×4 change matrix can be directly constructed. The matrix form is as follows:

[0093]

[0094] The last row of the matrix (m 41 ,m 42 ,m 43 ,m 44 ) is (0,0,0,1), the first three rows are the rotation component and the translation component. The rotation component is a 3*3 matrix, and the translation component (m 14 ,m 24 ,m 34 ) T , which is the centroid coordinate value of Vp. The rotation component does not need to be calculated. You can directly fill in the normal vector of P after normalization. The simple calculation method of normalization is: take a point with a length of 1 in the normal direction, calculate its coordinates (X1, Y1, Z1), and then directly take the three vectors Fill in by column (m 11 ,m 21 ,m 31 ) T 、(m 12 ,m 22 ,m32 ) T 、(m 13 ,m 23 ,m 33 ) T This calculation method is very clever and avoids a lot of tedious calculations.

[0095] 3.4 Comparison of three-dimensional models to find deformation positions. In the new coordinate system, uniform sampling is performed in the X and Y directions at a certain interval (this interval depends on the ground resolution of the acquired image, and in crack deformation monitoring, it is usually about 5 cm) to form sampling grid points, and intersect with the three-dimensional models of different periods to obtain two coordinate points to form deformation variables. If this position has not been deformed, the deformation variable only contains the error of the two measurements, which should be relatively small and randomly distributed.

[0096] 3.5 Based on the grid points obtained in 3.4, a 3×3 median filter is first performed to remove noise points, and then aggregation is performed. The aggregation algorithm uses the classic region growth method, that is, traversing the grid points, after finding the first deformation point, a recursive algorithm is used to expand eight areas with this point as the center until there are no deformation points in the eight areas, and an aggregation is completed. After the deformation area is found, these positions are back-calculated back to the original three-dimensional model using the change matrix (Formula 1), and the deformation position is recorded.

[0097] Step 4: Based on the deformation area found in step 3, combined with the image parameters processed by photogrammetry, the image is inversely analyzed to obtain the original image of the deformation area. The specific calculation is as follows:

[0098] 4.1 Using the image parameters processed by photogrammetry, the deformed area is back-projected to the original image obtained in this period. The calculation process is:

[0099] Assume that the coordinates of the 3D model of any point in the deformation area are Xw, Yw, Zw, and the internal and external orientation parameters of any original image are Xs, Ys, Zs, ω, к, f, cx, cy, where Xs, Ys, Zs are the three-dimensional coordinates of the image position, ω, к are the rotation angles between the camera's main optical axis and the Y, X, and Z axes of the coordinate system, f is the camera's focal length, cx, cy are the row and column numbers of the camera's center point on the image, and the image coordinates u, v are:

[0100]

[0101] The specific calculation of the rotation R matrix (ie R1...R9) and the translation T vector (ie Tx, Ty, Tz) is:

[0102]

[0103]

[0104] 4.2 According to the deformation area, all images are traversed in stages. According to the formula in 4.1, the position of each grid point in the deformation area in the original image is calculated. If the point imaging position of the deformation area is not within the range of the image row and column, this image is discarded and only the original image containing the entire deformation area is retained. The selected original image is recorded in stages.

[0105] Step 5: Perform high-precision deformation analysis based on homography changes. The specific steps are as follows:

[0106] 5.1 According to the deformation area, two images are selected from the two phases of images to form a comparative analysis image pair. For the convenience of discussion, the image acquired earlier is called the left image (reference image), and the image acquired later is called the right image (target image);

[0107] 5.2 Select the same-name point pairs. On the same side of the crack in the left and right images (for example, the left side), select more than 4 pairs of the same-name point pairs through automatic matching or manual selection. The selected point pairs cannot be on a straight line, and it is best to be evenly distributed, such as Figure 3 It is especially emphasized here that it must be on the same side, not on both sides, otherwise the algorithm will fail.

[0108] 5.3 Solve the homography change parameters. According to the geometric relationship of photographic imaging, such as Figure 4 As shown, it can be seen that there is the following relationship between the coordinates of the left and right points of the same name:

[0109]

[0110] where x l ,y l , the coordinates of the same-name point on the left image, x r ,y r are the coordinates of the same-name points on the right image, and H is the homography transformation matrix, which is a 3×3 full-rank matrix.

[0111] For any pair of points with the same name, after expanding (Formula 5), ​​we get:

[0112]

[0113]

[0114] Theoretically, the homography transformation matrix H has 9 unknowns. Using the homogeneous coordinate system, H can be 33=1, there are 8 unknowns left (that is, 8 degrees of freedom), and 8 equations are needed to solve. Each pair of points of the same name can establish two equations, so at least 4 pairs of points of the same name are needed, which is why 4 pairs of points of the same name are required in step 5.2. In order to reliably solve the equation, it is strongly recommended to have more than 4 pairs of points to form redundant observations. In the case of redundant observations, the least squares algorithm is needed to solve the H matrix. Here, the SVD decomposition algorithm is recommended to substitute the coordinates of the points of the same name to solve the value of the H matrix.

[0115] 5.4 Correct the right image. Using the homography change matrix H obtained in step 5.3, use formula (Formula 6) and (Formula 7) to transform each pixel of the right image into the left image to form the corrected right image. At this time, the right image and the left image are normalized to the left image coordinate system, and the same-name points completely overlap.

[0116] 5.5 Detailed comparative analysis. The image obtained in step 5.4 is directly superimposed on the left image, and the result is displayed by the complementary color superposition algorithm (i.e., taking the red component of the left image and taking the green and blue components of the corrected right image) or the semi-transparent superposition algorithm (i.e., each color of the left image * 0.5 + each color of the corrected right image * 0.5), as shown in the figure below. Figure 5 As shown in Figure 2, the fine changes of cracks can be obtained by automatically matching the statistics of the same-name points or manually assisting observation.

[0117] 5.6 Quantification of fine changes. According to the changes in the direction of 5.5, the inverse operation of the homography change is used to calculate the variables back to the original image. Using the internal and external orientation elements of the image obtained in step 2, the front of the change homonymous point is intersected into the object space coordinates to obtain the quantitative value of the small deformation.

[0118] After completing the above 5 steps, high-precision geological fracture monitoring based on UAV images can be achieved. Compared with the existing practice of using fracture monitoring instruments, this method is simple and feasible, does not require professional monitoring equipment, and can achieve high-precision monitoring of areas where relevant monitoring equipment cannot be deployed using drones. Compared with other methods that directly use drones for oblique photography and three-dimensional modeling, this method has higher accuracy. The three-dimensional modeling method can usually only achieve decimeter and sub-decimeter level monitoring. This method introduces a homography change model to perform a detailed analysis of the original image, and the monitoring accuracy can reach the millimeter level.

[0119] During specific implementation, the above process can be realized by using computer software technology.

[0120] The present invention also provides a high-precision geological fracture monitoring system based on drone images, comprising the following modules:

[0121] The multi-phase image acquisition module is used to use a drone to photograph the crack area at certain time intervals to obtain multi-phase images;

[0122] The processing module is used to process the images acquired in each period using existing photogrammetry theories and technologies, including image matching to extract connection points, adjustment to calculate the internal and external orientation elements of the image, dense matching to obtain point clouds, and construction of three-dimensional models. The three-dimensional models constructed according to the acquisition period are respectively called M1, M2, M3…Mn;

[0123] The deformation region acquisition module is used to compare the three-dimensional data of each subsequent three-dimensional model with the first phase, taking the three-dimensional model M1 acquired in the first phase as a reference, and acquire the deformation region and deformation amount;

[0124] The inverse analysis module is used to inversely analyze the image according to the found deformation area and the image parameters processed by photogrammetry to obtain the original image of the deformation area;

[0125] The deformation analysis module is used to perform high-precision deformation analysis based on homography changes.

[0126] The specific implementation method of each module corresponds to each step and is not described in detail in the present invention.

[0127] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.

Claims

1. A high-precision geological fracture monitoring method based on drone images, characterized in that: The following steps are involved: Step 1: Use a drone to photograph the crack area at certain time intervals to obtain multiple images; Step 2, for each image acquired, use image matching to extract connection points, adjust and solve the internal and external orientation elements of the image, obtain point clouds by dense matching, and construct a three-dimensional model. The three-dimensional models constructed according to the acquisition period are respectively called M1, M2, M3...Mn; Step 3, taking the three-dimensional model M1 obtained in the first phase as a reference, the three-dimensional data of each three-dimensional model obtained in the subsequent phase is compared with the first phase to obtain the deformation area and deformation amount; Step 4, according to the deformation area found in step 3, combined with the image parameters processed by photogrammetry, the image is reversed to obtain the original image of the deformation area; Step 5: Perform high-precision deformation analysis based on homography changes. The specific implementation method is as follows; 5.1, according to the deformation area, two images are selected from the two phases of images to form a comparative analysis image pair. The image acquired earlier is called the left image, i.e., the reference image, and the image acquired later is called the right image, i.e., the target image; 5.2, select the same-name point pairs, on the same side of the crack in the left and right images, select more than 4 pairs of the same-name point pairs through automatic matching or manual selection, and the selected point pairs cannot be on a straight line; 5.3, solve the homography change parameters. According to the geometric relationship of photographic imaging, it can be known that the coordinates of the left and right homonymous points have the following relationship: where x l ,y l is the coordinate of the same-name point on the left image, x r ,y r are the coordinates of the same-name points on the right image, H is the homography transformation matrix, which is a 3×3 full-rank matrix; For any pair of points with the same name, after expanding formula 5, we get: Theoretically, the homography transformation matrix H has 9 unknowns. Using the homogeneous coordinate system, let H 33 =1, there are 8 unknowns left, that is, there are 8 degrees of freedom, and 8 equations are needed to solve; in order to reliably solve the result of the equation, select more than 4 pairs of points to form redundant observations. In the case of redundant observations, use the least squares algorithm to solve the H matrix, use the SVD decomposition algorithm, bring in the coordinates of the points with the same name, and you can solve the value of the H matrix; 5.4, ​​correct the right image; use the homography change matrix H obtained in step 5.3, and then use formula 6 and formula 7 to transform each pixel of the right image into the left image to form a corrected right image. At this time, the right image and the left image are normalized to the left image coordinate system, and the same-name points completely overlap; 5.5, detailed contrast analysis; directly superimpose the image obtained in step 5.4 onto the left image, and display the result by complementary color superposition algorithm or semi-transparent superposition algorithm; 5.6, quantification of fine changes; according to the change in the direction of 5.5, the inverse operation of the homography change is used to calculate the variable back to the original image, and the internal and external orientation elements of the image obtained in step 2 are used to intersect the front of the change homonymous point to the object space coordinates to obtain the quantitative value of the small deformation.

2. A high-precision geological fracture monitoring method based on drone images as claimed in claim 1, characterized in that: In step 1, a DJI-P4 drone is used for photography. The flight altitude is set to 20 meters. The ground resolution of the acquired image is 5 mm. The captured image must contain cracks.

3. The high-precision geological fracture monitoring method based on drone images as claimed in claim 1, characterized in that: In step 2, DPGrid is used to implement image matching to extract connection points, adjust and solve the internal and external orientation elements of the image, obtain point clouds through dense matching, and build a three-dimensional model.

4. The high-precision geological fracture monitoring method based on drone images as claimed in claim 1, characterized in that: The specific calculation method of step 3 is as follows; 3.1, plane fitting is performed on the target area; if the target area has a complex terrain, it needs to be divided into multiple sub-areas for processing, and each sub-area is fitted with a plane. The method of fitting the plane is: all the three-dimensional points Vp contained in the constituent model of the area are substituted into the plane equation, and the equation adopts Ax+By+Cz+D=0; a transcendental equation is obtained by substituting all points, and the least squares solution is used to obtain the optimal solution, and the parameters (A, B, C, D) of the best fitting plane P are obtained; 3.2, establish a spatial rectangular coordinate system on the plane; the coordinate system takes the centroid (Xc, Yc, Zc) of the region containing the three-dimensional point Vp as the coordinate origin, the plane normal vector obtained in 3.1 is the positive direction of the Z axis, and the spatial rectangular coordinate system is established on the P plane; 3.3, convert the 3D model data of different periods into the same new coordinate system by constructing a 4×4 change matrix, the matrix form is as follows: The last row of the matrix (m 41 ,m 42 ,m 43 ,m 44 ) is (0,0,0,1), the first three rows are the rotation components and the translation components respectively; The rotation component is a 3*3 matrix, and the translation component (m 14 ,m 24 ,m 34 ) T , which is the centroid coordinate value of Vp. The rotation component can be directly filled in by normalizing the normal vector of P. The simple calculation method of normalization is: take a point with a length of 1 in the normal direction, calculate its coordinates (X1, Y1, Z1), and then directly take the three vectors Fill in by column (m 11 ,m 21 ,m 31 ) T 、(m 12 ,m 22 ,m 32 ) T 、(m 13 ,m 23 ,m 33 ) T That's it; 3.4, compare the three-dimensional model to find the deformation position; in the new coordinate system, uniformly sample in the X and Y directions at a certain interval to form a sampling grid point, and intersect with the three-dimensional model of different periods to obtain two coordinate points to form the deformation variable. If the position has not been deformed, the deformation variable only contains the error of the two measurements and is randomly distributed; 3.

5. Based on the grid points obtained in 3.4, a 3×3 median filter is first performed to remove noise points, and then aggregation processing is performed. The aggregation algorithm uses the classic region growing method, that is, the grid points are traversed, and after the first deformation point is found, a recursive algorithm is used to expand eight areas with this point as the center until there are no deformation points in the eight areas. After one aggregation is completed, after the deformation area is found, these positions are back-calculated back to the original three-dimensional model using the change matrix, and the deformation position is recorded.

5. The high-precision geological fracture monitoring method based on drone images as claimed in claim 1, characterized in that: The specific calculation of step 4 is as follows: 4.1, using the image parameters processed by photogrammetry, the deformed area is back-projected to the original image obtained in this period. The calculation process is: Assume that the coordinates of the 3D model of any point in the deformation area are X w , Y w , Z w , any original image, its internal and external orientation parameters are Xs, Ys, Zs, φ, ω, к, f, c x 、c y , where Xs, Ys, Zs are the three-dimensional coordinates of the image imaging position, φ, ω, к are the rotation angles of the camera's main optical axis and the Y, X, and Z axes of the coordinate system, f is the camera focal length, c x , c y is the row and column number of the camera center point on the image, then the imaging equation of the image coordinates u, v is: The specific calculation of the rotation matrix R, that is, R1…R9 is: The specific calculation of the translation vector T, namely Tx, Ty, Tz is as follows: 4.

2. According to the deformation area, traverse all images in stages. According to the formula in step 4.1, calculate the position of each grid point in the deformation area in the original image. If the point imaging position of the deformation area is not within the range of the image row and column, discard this image and only keep the original image containing the entire deformation area. Record the selected original image in stages.

6. A high-precision geological fracture monitoring system based on drone images, characterized in that: Includes the following modules: The multi-phase image acquisition module is used to use a drone to photograph the crack area at certain time intervals to obtain multi-phase images; The processing module is used to extract the connection points of the images acquired in each period by image matching, calculate the internal and external orientation elements of the images by adjustment, obtain the point cloud by dense matching, and construct a three-dimensional model. The three-dimensional models constructed according to the acquisition period are respectively called M1, M2, M3...Mn; The deformation region acquisition module is used to compare the three-dimensional data of each subsequent three-dimensional model with the first phase, taking the three-dimensional model M1 acquired in the first phase as a reference, and acquire the deformation region and deformation amount; The inverse analysis module is used to inversely analyze the image according to the found deformation area and the image parameters processed by photogrammetry to obtain the original image of the deformation area; The deformation analysis module is used to perform high-precision deformation analysis based on homography changes. The specific implementation method is as follows; 5.1, according to the deformation area, two images are selected from the two phases of images to form a comparative analysis image pair. The image acquired earlier is called the left image, i.e., the reference image, and the image acquired later is called the right image, i.e., the target image; 5.2, select the same-name point pairs, on the same side of the crack in the left and right images, select more than 4 pairs of the same-name point pairs through automatic matching or manual selection, and the selected point pairs cannot be on a straight line; 5.3, solve the homography change parameters. According to the geometric relationship of photographic imaging, it can be known that the coordinates of the left and right homonymous points have the following relationship: where x l ,y l is the coordinate of the same-name point on the left image, x r ,y r are the coordinates of the same-name points on the right image, H is the homography transformation matrix, which is a 3×3 full-rank matrix; For any pair of points with the same name, after expanding formula 5, we get: Theoretically, the homography transformation matrix H has 9 unknowns. Using the homogeneous coordinate system, let H 33 =1, there are 8 unknowns left, that is, there are 8 degrees of freedom, and 8 equations are needed to solve; in order to reliably solve the result of the equation, select more than 4 pairs of points to form redundant observations. In the case of redundant observations, use the least squares algorithm to solve the H matrix, use the SVD decomposition algorithm, bring in the coordinates of the points with the same name, and you can solve the value of the H matrix; 5.4, ​​correct the right image; use the homography change matrix H obtained in step 5.3, and then use formula 6 and formula 7 to transform each pixel of the right image into the left image to form a corrected right image. At this time, the right image and the left image are normalized to the left image coordinate system, and the same-name points completely overlap; 5.5, detailed contrast analysis; directly superimpose the image obtained in step 5.4 onto the left image, and display the result by complementary color superposition algorithm or semi-transparent superposition algorithm; 5.6, quantification of fine changes; according to the change in the direction of 5.5, the inverse operation of the homography change is used to calculate the variable back to the original image, and the internal and external orientation elements of the image obtained in step 2 are used to intersect the front of the change homonymous point to the object space coordinates to obtain the quantitative value of the small deformation.

7. A high-precision geological fracture monitoring system based on drone images as claimed in claim 6, characterized in that: The specific calculation method of the deformation area acquisition module is as follows; 3.1, plane fitting is performed on the target area; if the target area has a complex terrain, it needs to be divided into multiple sub-areas for processing, and each sub-area is fitted with a plane. The method of fitting the plane is: all the three-dimensional points Vp contained in the constituent model of the area are substituted into the plane equation, and the equation adopts Ax+By+Cz+D=0; all points are substituted into a transcendental equation, and the least squares method is used to obtain the optimal solution, and the parameters (A, B, C, D) of the best fitting plane P are obtained; 3.2, establish a spatial rectangular coordinate system on the plane; the coordinate system takes the centroid (Xc, Yc, Zc) of the region containing the three-dimensional point Vp as the coordinate origin, the plane normal vector obtained in 3.1 is the positive direction of the Z axis, and the spatial rectangular coordinate system is established on the P plane; 3.3, convert the 3D model data of different periods into the same new coordinate system by constructing a 4×4 change matrix, the matrix form is as follows: The last row of the matrix (m 41 ,m 42 ,m 43 ,m 44 ) is (0,0,0,1), the first three rows are the rotation components and the translation components respectively; The rotation component is a 3*3 matrix, and the translation component (m 14 ,m 24 ,m 34 ) T , which is the centroid coordinate value of Vp. The rotation component can be directly filled in by normalizing the normal vector of P. The simple calculation method of normalization is: take a point with a length of 1 in the normal direction, calculate its coordinates (X1, Y1, Z1), and then directly take the three vectors Fill in by column (m 11 ,m 21 ,m 31 ) T 、(m 12 ,m 22 ,m 32 ) T 、(m 13 ,m 23 ,m 33 ) T That's it; 3.4, compare the three-dimensional model to find the deformation position; in the new coordinate system, uniformly sample in the X and Y directions at a certain interval to form a sampling grid point, and intersect with the three-dimensional model of different periods to obtain two coordinate points to form the deformation variable. If the position has not been deformed, the deformation variable only contains the error of the two measurements and is randomly distributed; 3.

5. Based on the grid points obtained in 3.4, a 3×3 median filter is first performed to remove noise points, and then aggregation processing is performed. The aggregation algorithm uses the classic region growing method, that is, the grid points are traversed, and after the first deformation point is found, a recursive algorithm is used to expand eight areas with this point as the center until there are no deformation points in the eight areas. After one aggregation is completed, after the deformation area is found, these positions are back-calculated back to the original three-dimensional model using the change matrix, and the deformation position is recorded.

8. The high-precision geological fracture monitoring system based on drone images as claimed in claim 6, characterized in that: The specific calculation of the inverse solution module is as follows: 4.1, using the image parameters processed by photogrammetry, the deformed area is back-projected to the original image obtained in this period. The calculation process is: Assume that the coordinates of the 3D model of any point in the deformation area are X w , Y w , Z w , any original image, its internal and external orientation parameters are Xs, Ys, Zs, φ, ω, к, f, c x 、c y , where Xs, Ys, Zs are the three-dimensional coordinates of the image imaging position, φ, ω, к are the rotation angles of the camera's main optical axis and the Y, X, and Z axes of the coordinate system, f is the camera focal length, c x , c y is the row and column number of the camera center point on the image, then the imaging equation of the image coordinates u, v is: The specific calculation of the rotation matrix R, that is, R1…R9 is: The specific calculation of the translation vector T, namely Tx, Ty, Tz is as follows: 4.

2. According to the deformation area, traverse all images in stages. According to the formula in step 4.1, calculate the position of each grid point in the deformation area in the original image. If the point imaging position of the deformation area is not within the range of the image row and column, discard this image and only keep the original image containing the entire deformation area. Record the selected original image in stages.

Citation Information

Patent Citations

  • Unmanned plane linear array and surface array image matching method based on triangle structure consistency

    CN107220996A

  • Video splicing system and method for binocular robot

    CN110020985A