Transmission tower key node target ball layout and rapid extraction method and related device
By placing spherical targets at key nodes of power towers and using improved filtering and RANSAC algorithms, the problem of accuracy and efficiency in high-density point cloud registration of power towers is solved, and high-precision target ball extraction and multi-site cloud splicing are achieved.
Patent Information
- Application Number
- CN202410633044.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-08-23
AI Technical Summary
Existing technology cannot take into account high efficiency and high precision when processing high-density point cloud registration. Especially in high-precision registration of power poles, additional registration and splicing of multi-site clouds is required, and there are problems with spherical target layout and extraction. difficulty.
By reasonably arranging spherical targets at key nodes of power towers, using high-precision three-dimensional laser scanning equipment to conduct multi-station measurements, combining the ground filtering algorithm and the interactive straight-through filtering algorithm to segment the point cloud, and generate a projection map based on the point cloud reflection intensity and target depth. , using the improved RANSAC algorithm to automatically extract target balls to provide high-precision spatial information.
It achieves rapid extraction and high-precision registration of target balls at key nodes of power towers, improves the reliability of high-precision splicing of multi-site clouds, and overcomes the problems of low registration accuracy and slow efficiency in the existing technology.
Smart Images

Figure CN118537378A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of measurement and mapping of engineering power transmission equipment, and in particular to a method for arranging and quickly extracting target balls at key nodes of a power transmission tower and a related device. Background Art
[0002] With the continuous construction of large-scale UHV transmission lines, daily inspections of power towers, transmission lines, insulators and related important ancillary facilities and monitoring of damage and deformation of key structures are particularly important. Traditional transmission tower structure detection methods are mainly based on manual work, which requires a lot of time and manpower. Three-dimensional laser scanning technology can quickly and accurately obtain the three-dimensional coordinates and morphological information of transmission towers, providing a new solution for power inspection. Airborne laser radar has been widely used in UHV transmission line inspections. It can obtain point clouds of transmission lines in a large range, and obtain structural point clouds such as transmission lines and insulators through feature extraction algorithms to detect equipment anomalies. However, the point cloud density of airborne laser radar is low. Due to factors such as vegetation occlusion, the acquired power tower data may be missing, which is not enough to support the detection of small anomalies and stress conditions of main load-bearing components and auxiliary components. Ground-based three-dimensional laser radar can obtain high-density transmission tower point clouds from multiple perspectives and achieve high-precision splicing through registration.
[0003] There are two ways to stitch together multi-site clouds that scan the same target. One is to use the Iterative Closest Point (ICP) algorithm to achieve spatial transformation by calculating the matching matrix of two adjacent groups of point clouds. This algorithm requires that the clouds of adjacent measuring stations have a high overlap rate, and the registration accuracy is low, usually at the centimeter level. In addition, due to the large number of iterative calculations involved, the overall speed is slow. The second is a registration method based on spherical targets. The conversion matrix is calculated by the center coordinates of the same-name target balls between adjacent measuring stations. In theory, only three targets with the same name are needed to achieve accurate registration, with high computational efficiency and accuracy. However, to achieve high-precision registration of power towers, it is required that the spherical targets be reasonably distributed in space, that each measuring station maintains line of sight, that the target balls are arranged at key nodes of the towers, and that the target ball point clouds are quickly extracted from massive unordered point clouds.
[0004] The shortcomings of the existing technology are: although ground-based 3D scanning technology can overcome the problems of low density, poor resolution, and missing key node information of airborne lidar point clouds, it requires additional registration and stitching of multi-site clouds. Existing technical means such as the iterative nearest neighbor point (ICP) algorithm cannot take into account both high efficiency and high precision when dealing with high-density point cloud registration problems. Summary of the invention
[0005] The purpose of the present invention is to overcome the above-mentioned deficiencies of the prior art and provide a method for arranging and quickly extracting target balls at key nodes of a transmission tower and related devices to achieve the rapid extraction of target balls at key nodes of a transmission tower.
[0006] The present invention aims to quickly extract spherical targets and fit parameters from high-precision three-dimensional point clouds of transmission towers, and then realize high-precision registration of multi-station three-dimensional laser scanning point clouds based on spherical targets. By reasonably arranging a certain number of spherical targets at key nodes of transmission towers, using high-precision three-dimensional laser scanning equipment to measure power towers at multiple stations, ensuring that there are at least three target balls and scanners in line of sight between adjacent stations, using ground filtering algorithms and interactive through-filtering algorithms to segment tower point clouds, generating projections based on point cloud reflection intensity and target point cloud depth from the scanner's perspective, and extracting the position of the target ball in the three-dimensional point cloud; using information such as Gaussian curvature of the surface, using an improved RANSAC algorithm to automatically extract spherical targets, achieving target ball spatial distribution optimization and automatic and rapid extraction of target balls for transmission tower point cloud registration, and providing high-precision spatial information for registration.
[0007] The method for arranging and quickly extracting target balls at key nodes of a transmission tower of the present invention comprises the following steps:
[0008] Place the target balls near the key nodes of the tower foot;
[0009] Use a scanner to obtain the original point cloud and determine the range of the tower; segment the original point cloud data according to the range of the tower to obtain data including the power tower, the target ball to be extracted and the noise, and then use filtering to eliminate the influence of the noise to obtain the filtered tower point cloud;
[0010] From the perspective of the scanner, the segmented and filtered tower point cloud is used to generate the intensity and depth image of the bottom of the power tower including the target sphere, and the target sphere is extracted from the image;
[0011] The target ball extracted from the image is used for inverse mapping to obtain the point cloud within the target ball range, and the quadratic surface is fitted. The curvature is calculated through the surface parameters, and the potential target ball range is extracted through the curvature.
[0012] Fit the target sphere in the point cloud within the potential sphere range, and judge the result by the known radius to determine whether it is the target sphere and the specific location of the target sphere;
[0013] The least square method of the spherical model is used to fit the extracted target sphere point cloud and calculate its spherical parameters.
[0014] The layout principle of the target balls of the present invention is that any three target balls are not collinear and multiple target balls are not coplanar, including one or more of the following modes:
[0015] Mode 1: There are 4 crossbars on the upper layer of the tower and 2 crossbars on the lower layer of the tower;
[0016] Mode 2: There are 3 crossbars on the upper layer of the tower and 3 crossbars on the lower layer of the tower;
[0017] Mode three: There are 2 cross bars on the upper layer of the tower and 4 cross bars on the lower layer of the tower.
[0018] The key nodes of the present invention include stress points, settlement points, and foundation points. Key nodes of power towers that are easily accessible and have no line of sight obstruction should be selected.
[0019] The scanner described in the present invention is a three-dimensional laser scanner, which is set up in an open area where the sight line with the pole tower is maintained as much as possible.
[0020] The present invention maintains the installation height of the three-dimensional laser scanner between 1.5m and 1.8m, and the horizontal field of view angle of the three-dimensional laser scanner is 360°, and the vertical field of view angle is 270°.
[0021] The present invention utilizes point cloud coordinates and image mapping technology to obtain the coordinates of a three-dimensional laser scanner and the point cloud range of a power tower.
[0022] The method of segmenting the original point cloud data according to the tower range of the present invention is as follows: traversing the original point cloud to obtain the scanning point set P all The bounding box of the min , Y min , Z min , X max , Y max , Z max Determine; project all points within the range onto the XOY plane, and assume that the width of the projected image is W pixels and the height is H pixels. In the X and Y directions, the distance represented by each pixel is given by formulas (1) and (2), respectively, where grid x is the distance represented by pixels in the X direction, grid y is the distance represented by pixels in the Y direction;
[0023]
[0024]
[0025] For any point (x, y, z) in space, the projected image coordinates are expressed as formula (3)
[0026]
[0027] Among them, floor is the floor operator, x p and pis the coordinate of the projected image; select the coordinate point of the scanner station and the midpoint of the tower; the above formula establishes a mapping method from the point cloud to the projection image, and obtains the corresponding X, Y coordinates of a point in the image in the original point cloud through coordinate inverse mapping. With the midpoint of the tower as the center, extract all points in the original point cloud within the range of ±L from the center of the tower in the X and Y directions, and obtain a point cloud containing the power tower, the target ball to be extracted and the noise; obtain the X, Y coordinates of the station point in the above point cloud through coordinate inverse mapping.
[0028] The present invention uses filtering to eliminate the influence of noise and obtains the filtered tower point cloud in the following steps: using cloth filtering to process the segmented point cloud data containing the power tower, the target ball to be extracted and the noise, flipping the point cloud and constructing a grid, assuming that a piece of cloth falls from above due to gravity, and the cloth that finally falls represents the current terrain point cloud, and the current terrain point cloud is eliminated; processing the point cloud after cloth filtering according to the elevation threshold to obtain the tower point cloud.
[0029] The filtering of the present invention further includes extracting the point cloud of the tower foot part with an elevation lower than 10m; filtering the point cloud of the tower foot part according to the reflection intensity;
[0030] Vegetation points with low reflection intensity are removed, and target sphere point clouds and tower point clouds with high reflection intensity are retained. The reflection intensity equation is shown in formula (4):
[0031]
[0032] In formula (4), P R is the echo power, P E is the transmit power, D R is the receiver aperture, ρ is the object surface reflectivity, α is the incident angle, R is the measurement distance, η sys is the system transmission rate, η atm is the atmospheric transmission rate.
[0033] The method for generating the strength and depth image of the bottom of the power tower including the target ball of the present invention is to subdivide the point cloud of the tower foot according to the scanning angle and elevation direction, and calculate the normalized intensity value pix according to formula (5): I , the normalized depth value pix of formula (6) D Calculate pixel position and pixel value:
[0034]
[0035]
[0036] The present invention uses the inverse mapping of the target sphere extracted from the image to obtain the point cloud within the target sphere range, which is to use the coordinate inverse mapping to calculate the target sphere in the intensity and depth images, and obtain its coordinate range in the point cloud of the tower foot part, corresponding to the point cloud within the target sphere range, and use the point cloud within the target sphere range to fit the quadratic surface: for each point in the point cloud within the target sphere range, take the point within its domain radius, use the least squares method to fit the quadratic surface, calculate the surface equation, and calculate the Gaussian curvature, principal curvature and average curvature according to the first and second order derivatives of the surface equation at this point using the coefficients of the first basic form and the second basic form of the surface, and judge whether it conforms to the curvature corresponding to the target sphere radius. If it conforms, the potential target sphere range point cloud is obtained.
[0037] The method for fitting a quadratic surface of the present invention is as follows: take a point p i and k points in its neighborhood, the least squares method is used to establish the objective function (7), the quadratic surface equation (8) is solved simultaneously, the partial derivatives of each coefficient are calculated and set to 0, and the equation system (9) is obtained. The linear equation system is solved to obtain the local surface quadratic fitting equation, where z is the surface equation about x and y, that is, z(x, y), z(x i ,y i ) is the fitting surface at point (x i ,y i ), z i is the measured elevation at the corresponding point:
[0038]
[0039] z(x,y)=ax 2 +bxy+cy 2 +dx+ey+f (8)
[0040]
[0041] Calculate the principal curvature k1, k2, mean curvature H and Gaussian curvature K at each point, as shown in formula (10), where: L = r xx n; N = r yy n; E = r x r x ; F = r x r y ; G = r y r y ; r x , r y , r xx , r yy , r xy is the partial differential of the surface;
[0042]
[0043] The present invention fits the target ball in the point cloud within the potential sphere range, and judges the result by a known radius to determine whether it is a target ball and the specific position of the target ball. To judge whether the curvature of the point cloud within the potential target ball range conforms to the curvature of the target ball: the result is judged by a known radius, and the sphere in the point cloud is extracted by a random sampling consistency (RANdom SAmpling Consensus, RANSAC) method based on the curvature of each point, and the curvature is close to 0 or much greater than the theoretical Gaussian curvature of the target ball surface point. The points within the range are not sampled, and the extraction results are judged by the known radius of the target sphere. If they meet the curvature of the target sphere, it is considered that the point cloud within the range contains the target sphere.
[0044] The steps of extracting the target sphere point cloud by fitting the sphere model using the least square method of the present invention are as follows: taking the radius of the target sphere as a known quantity, and iteratively solving the coordinates of the center of the target sphere by the Gauss-Newton method; expanding the equation (11) of the space sphere to obtain the formula (12):
[0045] (x-x0) 2 +(y-y0) 2 +(z-z0) 2 =R 2 (11)
[0046] x 2 +y 2 +z 2 -2x0x-2y0y-2z0z+x0 2 +y0 2 +z0 2 =R 2 (12)
[0047] Construct a least squares model, where the coordinates of each point (x, y, z) are known values, and the parameters to be determined are the coordinates of the center of the sphere x0, y0, z0 and the radius R;
[0048] Linearize the parameters to be determined, let D = x0 2 +y0 2 +z0 2 _R 2 , 2x0=A, 2y0=B, 2z0=C, then formula (12) can be linearized into formula (13), the parameters to be determined are A, B, C, D, and at least four known points are required to fit the spherical parameters:
[0049] x 2 +y 2 +z 2 -Ax-By-Cz+D=0 (13)
[0050] The idea of least squares fitting is to ensure that the residual is minimized, that is, to satisfy formula (14):
[0051] min{V}=min∑(x 2 +y 2 +z 2 -Ax-By-Cz+D) 2 (14)
[0052] After taking partial derivatives of the above formula and transforming it into a matrix, we get formula (15):
[0053]
[0054] Multiply both sides of the above equation by the left Then we get formula (16):
[0055]
[0056] Then, the parameters A, B, C, and D are calculated by formula (17):
[0057]
[0058] Calculate the target sphere fitting parameters x0, y0, z0, R.
[0059] The system of the present invention comprises:
[0060] Target ball layout unit: used for target ball layout to facilitate point cloud data acquisition;
[0061] Original point cloud acquisition unit: Use a 3D scanner to acquire the original point cloud, and determine the range of the tower based on the spatial relationship between the scanner and the tower and the height difference between the tower and surrounding objects;
[0062] Tower point cloud data processing unit: segment the original point cloud data according to the tower range to obtain data including power towers, target spheres to be extracted and noise, and then use filtering to eliminate the influence of noise to obtain the filtered tower point cloud;
[0063] Target ball extraction unit: Starting from the perspective of the 3D laser scanner, the segmented and filtered tower point cloud is used to generate the intensity and depth image of the bottom of the power tower containing the target ball, and the target ball is extracted from the image;
[0064] Target ball fitting and parameter extraction unit: use the target ball extracted from the image to inversely map and obtain the point cloud within the target ball range, fit the quadratic surface, calculate the curvature through the surface parameters, and extract the potential target ball range through the curvature;
[0065] Fit the target sphere in the point cloud within the potential sphere range, and judge the result by the known radius to determine whether it is the target sphere and the specific location of the target sphere;
[0066] The least square method of the spherical model is used to fit the extracted target sphere point cloud and calculate its spherical parameters.
[0067] The tower point cloud data processing unit of the present invention includes a filtering unit, which uses cloth filtering to process the segmented point cloud data including the power tower, the target ball to be extracted and the noise, flips the point cloud and constructs a grid, assumes that a piece of cloth falls from above due to gravity, and the cloth that finally falls represents the current terrain point cloud, and the current terrain point cloud is eliminated; the point cloud after the cloth filtering is processed according to the elevation threshold to obtain the tower point cloud.
[0068] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for arranging and quickly extracting target balls at key nodes of a transmission tower as described in any one of claims 1 to 15 is implemented.
[0069] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for arranging and quickly extracting target balls at key nodes of a transmission tower is implemented.
[0070] Compared with the prior art, the present invention has the following beneficial effects: (1) by arranging targets near the locations of stress concentration, weak points and foundation settlement points at the tower foot, and performing measurements under the premise of ensuring line of sight, the accuracy of the key nodes after registration can be ensured to the maximum extent, which is conducive to the detection of structural deformation of the key nodes of the tower;
[0071] (2) The "4+2", "3+3", and "2+4" spherical target layout combination methods for high-precision stitching of multi-site clouds ensure that three points are not colinear and multiple points are not coplanar, which can improve the reliability of tower reconstruction based on multi-site clouds under line of sight conditions;
[0072] (3) Interactive target ball extraction, which can quickly extract the power tower point cloud from the large scene scattered point cloud and generate the tower foot strength and depth map based on the scanner line of sight; it can perform multiple filtering including straight-through filtering and cloth filtering, with high efficiency and high accuracy; the curvature-constrained random sampling consistency method can extract the target ball point cloud in the complex environment of the tower foot:
[0073] (4) Automated spherical target fitting and parameter extraction requires only the radius of the target sphere, which can be completed based on at least thirty spherical points, avoiding the influence of manual selection and overcoming the difficulty of target sphere extraction caused by fewer spherical points due to long scanning distance. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0075] Figure 1 This is the target ball arrangement mode 1 of the present invention;
[0076] Figure 2 This is the target ball arrangement mode 2 of the present invention;
[0077] Figure 3 This is the target ball arrangement mode 3 of the present invention;
[0078] Figure 4 The original point cloud of the power tower of the present invention;
[0079] Figure 5 Schematic diagram of fabric filtering of the present invention. DETAILED DESCRIPTION
[0080] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0081] The use of ground-based 3D laser scanning technology to obtain point clouds of power towers requires high-precision stitching, and the existing technology cannot meet the millimeter-level stitching accuracy; the point cloud density obtained by 3D laser scanning technology is positively correlated with the distance from the target to the scanner, and the general stitching and registration method does not take into account issues such as tower control points. A reliable means of high-speed registration and stitching that takes into account the key structural points of the tower itself is needed. This patent aims to solve the problem of high-precision registration of high-density tower point clouds.
[0082] Please refer to Figure 1-Figure 3 The present invention relates to a method for arranging a target ball at the bottom of a power tower, referring to Figure 4-Figure 5 The present invention relates to a method for extracting a target sphere point cloud from an original point cloud obtained by ground three-dimensional laser scanning and calculating target sphere parameters, comprising the following steps:
[0083] S10, select key nodes of the power tower that are easily accessible and have no sight obstruction, including stress points, settlement points, foundation points, etc. for target ball layout. The principle of target ball layout is that any three target balls are not collinear and multiple target balls are not coplanar, including Figure 1-Figure 3 One or more of the modes shown.
[0084] S20, set up a 3D laser scanner in an open area with a line of sight with the tower as much as possible, with the height of the scanner kept between 1.5m and 1.8m, the horizontal field of view of the 3D laser scanner is 360°, and the vertical field of view is 270°, to obtain the original point cloud;
[0085] Traverse the original point cloud and obtain the scan point set P all The bounding box of the min , Y min , Z min , X max , Y max , Z max Determine; project all points within the range onto the XOY plane, and assume that the width of the projected image is W pixels and the height is H pixels. In the X and Y directions, the distance represented by each pixel is given by formulas (1) and (2), respectively, where grid x is the distance represented by pixels in the X direction, grid y is the distance represented by pixels in the Y direction;
[0086]
[0087]
[0088] For any point (x, y, z) in space, the projected image coordinates are expressed as formula (3)
[0089]
[0090] Among them, floor is the floor operator, x p and p is the image coordinate after projection; select the scanner station coordinate point and the tower midpoint; the above formula establishes a mapping method from the point cloud to the projection image, and obtains the corresponding X, Y coordinates of a point in the image in the original point cloud through coordinate inverse mapping. With the tower midpoint as the center, extract all points in the original point cloud within the range of ±L from the tower center in the X, Y directions, and obtain a point cloud containing the power tower, the target ball to be extracted, and the noise; obtain the X, Y coordinates of the station point in the above point cloud through coordinate inverse mapping;
[0091] The segmented point cloud data including power towers, target balls to be extracted and noise are processed by cloth filtering. The above point cloud is flipped and a grid is constructed. It is assumed that a piece of cloth falls from above due to gravity. The cloth that finally falls represents the current terrain point cloud, and the current terrain point cloud is eliminated. The point cloud after cloth filtering is processed according to the elevation threshold to obtain the tower point cloud.
[0092] S30, extract the point cloud of the tower foot with an elevation lower than 10m, filter the point cloud of the tower foot according to the reflection intensity, remove the vegetation points with low reflection intensity, and retain the target ball point cloud and tower point cloud with high reflection intensity. The reflection intensity equation is shown in formula (4):
[0093]
[0094] In formula (4), P R is the echo power, P E is the transmit power, D R is the receiver aperture, ρ is the object surface reflectivity, α is the incident angle, R is the measurement distance, η sys is the system transmission rate, η atm is the atmospheric transmission rate;
[0095] The point cloud of the tower foot is subdivided according to the scanning angle and elevation direction, and the normalized intensity value pix of formula (5) is used I , the normalized depth value pix of formula (6) D Calculate pixel position and pixel value:
[0096]
[0097]
[0098] S40, using coordinate inverse mapping to calculate the target sphere in the intensity and depth images, and obtain the coordinate range of the target sphere in the point cloud of the tower foot portion, corresponding to the point cloud within the target sphere range;
[0099] The steps of fitting the quadratic surface using the point cloud within the target sphere range are as follows: for each point in the point cloud within the target sphere range, take the points within its neighborhood radius, use the least square method to fit the quadratic surface, calculate the surface equation, and calculate the Gaussian curvature, principal curvature and mean curvature using the coefficients of the first basic form and the second basic form of the surface according to the first and second order derivatives of the surface equation at the point, and judge whether it conforms to the curvature corresponding to the radius of the target sphere. If it conforms, the potential target sphere range point cloud is obtained;
[0100] Take point p iand k points in its neighborhood, the least squares method is used to establish the objective function (7), the quadratic surface equation (8) is solved simultaneously, the partial derivatives of each coefficient are calculated and set to 0, and the equation system (9) is obtained. The linear equation system is solved to obtain the local surface quadratic fitting equation, where z is the surface equation about x and y, that is, z(x, y), z(x i ,y i ) is the fitting surface at point (x i ,y i ), z i is the measured elevation at the corresponding point:
[0101]
[0102] z(x,y)=ax 2 +bxy+cy 2 +dx+ey+f (8)
[0103]
[0104] Calculate the principal curvature k1, k2, mean curvature H and Gaussian curvature K at each point, as shown in formula (10), where: L = r xx n; N = r yy n; E = r x r x ; F = r x r y ; G = r y r y ; r x , r y , r xx , r yy , r xy is the partial differential of the surface;
[0105]
[0106] S50, the result is judged by the known radius, and the sphere in the point cloud is extracted using the RANdom SAmpling Consensus (RANSAC) method based on the curvature of each point. The curvature is close to 0 or much larger than the theoretical Gaussian curvature of the target sphere surface point. The points within the range are not sampled, and the extraction results are judged by the known radius of the target sphere. If they meet the curvature of the target sphere, it is considered that the point cloud within the range contains the target sphere.
[0107] S60, the step of extracting the target sphere point cloud by fitting the sphere model using the least square method is as follows: taking the radius of the target sphere as a known quantity, and using the Gauss-Newton method to iteratively solve the coordinates of the center of the target sphere; expanding the equation (11) of the space sphere to obtain the formula (12):
[0108] (x-x0) 2 +(y-y0) 2 +(z-z0) 2 =R 2 (11)
[0109] x 2 +y 2 +z 2 -2x0x-2y0y-2z0z+x0 2 +y0 2 +z0 2 =R 2 (12)
[0110] Construct a least squares model, where the coordinates of each point (c, y, z) are known values, and the parameters to be determined are the coordinates of the center of the sphere x0, y0, z0 and the radius R;
[0111] Linearize the parameters to be determined, let D = x0 2 +y0 2 +z0 2 -R 2 , 2x0=A, 2y0=B, 2z0=C, then formula (12) can be linearized into formula (13), the parameters to be determined are A, B, C, D, and at least four known points are required to fit the spherical parameters:
[0112] x 2 +y 2 +z 2 -Ax-By-Cz+D=0 (13)
[0113] The idea of least squares fitting is to ensure that the residual is minimized, that is, to satisfy formula (14):
[0114] min{V}=min∑(x 2 +y 2 +z 2 -Ax-By-Cz+D) 2 (14)
[0115] After taking partial derivatives of the above formula and transforming it into a matrix, we get formula (15):
[0116]
[0117] Multiply both sides of the above equation by the left Then we get formula (16):
[0118]
[0119] Then, the parameters A, B, C, and D are calculated by formula (17):
[0120]
[0121] Calculate the target sphere fitting parameters x0, y0, z0, R.
[0122] The present invention solves the following deficiencies in the prior art: airborne laser radar is used for power inspection, the point cloud range is large but the resolution and density are low, and due to vegetation and environmental occlusion, it is impossible to fully obtain the point cloud of key nodes of the tower, making it difficult to analyze the abnormality of the tower structure;
[0123] The ground-based 3D laser scanning is used for fine 3D reconstruction of power towers and extraction of structural parameters. There is no clear standard for the layout of spherical targets. When the targets are collinear, coplanar or difficult to extract, the registration accuracy is low.
[0124] (3) The iterative nearest neighbor point (ICP) algorithm that does not use spherical targets requires a large number of overlapping areas between adjacent measuring stations. The optimal accuracy after registration can only reach the centimeter level, and the calculation efficiency is low;
[0125] (4) When manually selecting the common target sphere in the multi-site cloud data, the extraction and fitting of the center may have certain errors, affecting the accuracy of stitching.
[0126] The present invention realizes the optimization of target sphere spatial distribution and automatic and rapid extraction of target sphere for transmission tower point cloud registration, avoids the influence of manual selection, overcomes the difficulty of target sphere extraction caused by fewer spherical points due to long scanning distance, and provides high-precision spatial information for registration.
[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for placing and quickly extracting target balls at key nodes of a transmission tower, characterized in that include: Place the target balls near the key nodes of the tower foot; Use a scanner to obtain the original point cloud and determine the range of the tower; segment the original point cloud data according to the range of the tower to obtain data including the power tower, the target ball to be extracted and the noise, and then use filtering to eliminate the influence of the noise to obtain the filtered tower point cloud; From the perspective of the scanner, the segmented and filtered tower point cloud is used to generate the intensity and depth image of the bottom of the power tower including the target sphere, and the target sphere is extracted from the image; The target ball extracted from the image is used for inverse mapping to obtain the point cloud within the target ball range, and the quadratic surface is fitted. The curvature is calculated through the surface parameters, and the potential target ball range is extracted through the curvature. Fit the target sphere in the point cloud within the potential sphere range, and judge the result by the known radius to determine whether it is the target sphere and the specific location of the target sphere; The least square method of the spherical model is used to fit the extracted target sphere point cloud and calculate its spherical parameters.
2. The method for placing and quickly extracting target balls at key nodes of transmission towers according to claim 1 is characterized in that: The layout principle of the target balls is that any three target balls are not collinear and multiple target balls are not coplanar, including one or more of the following modes: Mode 1: There are 4 crossbars on the upper layer of the tower and 2 crossbars on the lower layer of the tower; Mode 2: There are 3 crossbars on the upper layer of the tower and 3 crossbars on the lower layer of the tower; Mode three: There are 2 cross bars on the upper layer of the tower and 4 cross bars on the lower layer of the tower.
3. The method for placing and quickly extracting target balls at key nodes of a transmission tower according to claim 1 is characterized in that: The key nodes include stress points, settlement points, and foundation points.
4. The method for placing and quickly extracting target balls at key nodes of a transmission tower according to claim 1 is characterized in that: The scanner is a three-dimensional laser scanner, which is set up in an open area where the sight line with the pole tower is maintained as much as possible.
5. The method for placing and quickly extracting target balls at key nodes of transmission towers according to claim 4 is characterized in that: The installation height of the 3D laser scanner is kept between 1.5m and 1.8m. The horizontal field of view of the 3D laser scanner is 360° and the vertical field of view is 270°.
6. The method for placing and quickly extracting target balls at key nodes of a transmission tower according to claim 1 is characterized by: It also includes obtaining the coordinates of the 3D laser scanner.
7. The method for placing and quickly extracting target balls at key nodes of transmission towers according to claim 1 is characterized by: The segmentation of the original point cloud data according to the tower range is as follows: traversing the original point cloud to obtain the scanning point set P all The bounding box of the min , Y min , Z min , X max , Y max , Z max Determine; project all points within the range onto the XOY plane, and assume that the width of the projected image is W pixels and the height is H pixels. In the X and Y directions, the distance represented by each pixel is given by formulas (1) and (2), respectively, where grid x is the distance represented by pixels in the X direction, grid y is the distance represented by pixels in the Y direction; For any point (x, y, z) in space, the projected image coordinates are expressed as formula (3) Among them, floor is the floor operator, x p and p is the coordinate of the projected image; select the coordinate point of the scanner station and the midpoint of the tower; the above formula establishes a mapping method from the point cloud to the projection image, and obtains the corresponding X, Y coordinates of a point in the image in the original point cloud through coordinate inverse mapping. With the midpoint of the tower as the center, extract all points in the original point cloud within the range of ±L from the center of the tower in the X and Y directions, and obtain a point cloud containing the power tower, the target ball to be extracted and the noise; obtain the X, Y coordinates of the station point in the above point cloud through coordinate inverse mapping.
8. The method for placing and quickly extracting target balls at key nodes of transmission towers according to claim 1 is characterized in that: The steps of using filtering to eliminate the influence of noise and obtain the filtered tower point cloud are as follows: using cloth filtering to process the segmented point cloud data containing the power tower, the target ball to be extracted and the noise, flipping the above point cloud and constructing a grid, assuming that a piece of cloth falls from above due to gravity, and the cloth that finally falls represents the current terrain point cloud, and the current terrain point cloud is eliminated; processing the point cloud after cloth filtering according to the elevation threshold to obtain the tower point cloud.
9. The method for placing and quickly extracting target balls at key nodes of transmission towers according to claim 1 is characterized by: The filtering also includes extracting the point cloud of the tower foot part with an elevation lower than 10m; filtering the point cloud of the tower foot part according to the reflection intensity; Vegetation points with low reflection intensity are removed, and target sphere point clouds and tower point clouds with high reflection intensity are retained. The reflection intensity equation is shown in formula (4): In formula (4), P R is the echo power, P E is the transmit power, D R is the receiver aperture, ρ is the object surface reflectivity, α is the incident angle, R is the measurement distance, η sys is the system transmission rate, η atm is the atmospheric transmission rate.
10. The method for placing and quickly extracting target balls at key nodes of transmission towers according to claim 9, characterized in that: The method for generating the intensity and depth image of the bottom of the power tower including the target ball is to subdivide the point cloud of the tower foot according to the scanning angle and elevation direction, and calculate the normalized intensity value pix according to formula (5): I , the normalized depth value pix of formula (6) D Calculate pixel position and pixel value: 。 11. The method for placing and quickly extracting target balls at key nodes of a transmission tower according to claim 1 is characterized in that The point cloud within the target sphere range is obtained by inverse mapping the target sphere extracted from the image, which is to use coordinate inverse mapping to calculate the target sphere in the intensity and depth images, and obtain its coordinate range in the point cloud of the tower foot part, corresponding to the point cloud within the target sphere range, and using the point cloud within the target sphere range to fit the quadratic surface: for each point in the point cloud within the target sphere range, take the point within its domain radius, use the least squares method to fit the quadratic surface, calculate the surface equation, and calculate the Gaussian curvature, principal curvature and mean curvature based on the first and second order derivatives of the surface equation at this point using the coefficients of the first basic form and the second basic form of the surface to determine whether it conforms to the curvature corresponding to the target sphere radius. If it conforms, the potential target sphere range point cloud is obtained.
12. The method for placing and quickly extracting target balls at key nodes of a transmission tower according to claim 1 or 11, characterized in that: The method of fitting a quadratic surface: Take point p i and k points in its neighborhood, the least squares method is used to establish the objective function (7), the quadratic surface equation (8) is solved simultaneously, the partial derivatives of each coefficient are calculated and set to 0, and the equation system (9) is obtained. The linear equation system is solved to obtain the local surface quadratic fitting equation, where z is the surface equation about x and y, that is, z(x,y), z(x i ,y i ) is the fitting surface at point (x i ,y i ), z i is the measured elevation at the corresponding point: z(x,y)=ax 2 +bxy+cy 2 +dx+ey+f (8) Calculate the principal curvature k1, k2, mean curvature H and Gaussian curvature K at each point, as shown in formula (10), where: L = r xx n; N = r yy n; E = r x r x ; F = r x r y ; G = r y r y ; r x , r y , r xx , r yy , r xy is the partial differential of the surface; 13. The method for placing and quickly extracting target balls at key nodes of transmission towers according to claim 1 is characterized by: The target ball in the point cloud within the potential sphere range is fitted, and the result is judged by the known radius to determine whether it is the target ball and the specific position of the target ball. To judge whether the curvature of the point cloud within the potential target ball range conforms to the curvature of the target ball: the result is judged by the known radius, and the sphere in the point cloud is extracted by a random sampling consistency method based on the curvature of each point, and the curvature is close to 0 or much larger than the theoretical Gaussian curvature of the target ball surface point The points within the range are not sampled, and the extraction results are judged by the known radius of the target sphere. If they meet the curvature of the target sphere, it is considered that the point cloud within the range contains the target sphere.
14. The method for placing and quickly extracting target balls at key nodes of transmission towers according to claim 1 is characterized by: The steps of extracting the target sphere point cloud by fitting the sphere model with the least square method are as follows: taking the radius of the target sphere as a known quantity, using the Gauss-Newton method to iteratively solve the coordinates of the center of the target sphere; expanding the equation (11) of the space sphere to obtain the formula (12): (x-x0) 2 +(y-y0) 2 +(z-z0) 2 =R 2 (11) x 2 +y 2 +z 2 -2x0x-2y0y-2z0z+x0 2 +y0 2 +z0 2 =R 2 (12) Construct a least squares model, where the coordinates of each point (x, y, z) are known values, and the parameters to be determined are the coordinates of the center of the sphere x0, y0, z0 and the radius R; Linearize the parameters to be determined, let D = x0 2 +y0 2 +z0 2 -R 2 , 2x0=A, 2y0=B, 2z0=C, then formula (12) can be linearized into formula (13), the parameters to be determined are A, B, C, D, and at least four known points are required to fit the spherical parameters: x 2 +y 2 +z 2 -Ax-By-Cz+D=0 (13) The idea of least squares fitting is to ensure that the residual is minimized, that is, to satisfy formula (14): min{V}=min∑(x 2 +y 2 +z 2 -Ax-By-Cz+D) 2 (14) After taking partial derivatives of the above formula and transforming it into a matrix, we get formula (15): Multiply both sides of the above equation by the left Then we get formula (16): Then, the parameters A, B, C, and D are calculated by formula (17): Calculate the target sphere fitting parameters x0, y0, z0, R.
15. A system for placing and quickly extracting target balls at key nodes of transmission towers, characterized in that: The system comprises: Target ball layout unit: used for target ball layout to facilitate point cloud data acquisition; Original point cloud acquisition unit: Use a 3D scanner to acquire the original point cloud, and determine the range of the tower based on the spatial relationship between the scanner and the tower and the height difference between the tower and surrounding objects; Tower point cloud data processing unit: segment the original point cloud data according to the tower range to obtain data including power towers, target spheres to be extracted and noise, and then use filtering to eliminate the influence of noise to obtain the filtered tower point cloud; Target ball extraction unit: Starting from the perspective of the 3D laser scanner, the segmented and filtered tower point cloud is used to generate the intensity and depth image of the bottom of the power tower containing the target ball, and the target ball is extracted from the image; Target ball fitting and parameter extraction unit: use the target ball extracted from the image to inversely map and obtain the point cloud within the target ball range, fit the quadratic surface, calculate the curvature through the surface parameters, and extract the potential target ball range through the curvature; Fit the target sphere in the point cloud within the potential sphere range, and judge the result by the known radius to determine whether it is the target sphere and the specific location of the target sphere; The least square method of the spherical model is used to fit the extracted target sphere point cloud and calculate its spherical parameters.
16. The transmission tower key node target sphere placement and rapid extraction system according to claim 15, characterized in that: The tower point cloud data processing unit includes a filtering unit, which uses cloth filtering to process the segmented point cloud data including the power tower, the target ball to be extracted and the noise, flips the point cloud and constructs a grid, assumes that a piece of cloth falls from above due to gravity, and the cloth that finally falls represents the current terrain point cloud, and the current terrain point cloud is eliminated; the point cloud after the cloth filtering is processed according to the elevation threshold to obtain the tower point cloud.
17. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for arranging and quickly extracting target balls at key nodes of a transmission tower as described in any one of claims 1 to 14 is implemented.
18. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for placing and quickly extracting target balls at key nodes of a transmission tower as claimed in any one of claims 1 to 14 is implemented.
