A route accurate measurement method based on unmanned aerial vehicle oblique photography
By generating basic flight paths that follow the terrain's undulations and marking obstructed and interference areas, and adjusting waypoint altitudes and exposure intervals in segments, the problem of insufficient overlap in UAV photography under complex terrain was solved, thus improving the integrity of sparse point clouds and measurement accuracy.
Patent Information
- Application Number
- CN202611676451.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-11-27
AI Technical Summary
Existing drone photography methods struggle to achieve uniform overlap in complex terrain scenarios, leading to a decrease in the integrity and measurement accuracy of sparse point clouds. In particular, under the influence of undulating terrain, building obstruction, and electromagnetic interference, flight path planning cannot meet the overlap requirements at high and low altitudes, resulting in insufficient image overlap and missing connection points.
By acquiring topographic point clouds and target building outlines in the survey area, a basic flight path that follows the terrain undulations is generated, and building obstruction areas and electromagnetic interference areas are marked. The waypoint heights and exposure intervals are replanned in segments to generate a corrected flight path with obstacle avoidance and uniform overlap. Oblique images are acquired along the corrected flight path and segmented aerial triangulation is performed to obtain a sparse point cloud with three-dimensional coordinates. The heights and exposure intervals of the waypoints for the next sortie are adjusted based on the sparse point cloud.
In complex terrain scenarios, uniform overlap of flight paths was achieved, improving the integrity and measurement accuracy of sparse point clouds. This avoids problems such as insufficient overlap or excessive redundancy caused by constant flight altitude and equidistant exposure, ensuring the continuous distribution of connection points and the accuracy of measurements.
Smart Images

Figure CN123175227A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of unmanned aerial vehicle (UAV) photography technology, and more specifically, to a method for precise flight path measurement based on UAV oblique photography. Background Technology
[0002] Drone photography is a measurement method in which a drone equipped with a tilting camera collects three-dimensional coordinate images at various exposure points in the survey area along a planned flight path, and obtains the three-dimensional coordinates of ground points through aerial triangulation.
[0003] Current UAV photography flight path planning methods typically assume flat terrain, static targets, and good lighting, setting constant flight altitude, equidistant exposure, and uniform overlap. However, when the survey area simultaneously contains undulating terrain, building obstructions, and electromagnetic interference, the terrain elevation differences cause the relative height of each waypoint on the same flight path to constantly change. Building obstructions prevent tilted cameras from capturing the obstruction boundaries at some waypoints, and electromagnetic interference prevents normal exposure triggering in some segments. The combination of these three factors means that constant flight altitude cannot simultaneously meet the overlap requirements at both high and low altitudes, equidistant exposure cannot maintain sufficient image overlap area at the boundaries of obstructed areas, and uniform overlap cannot maintain stable image coverage in interference areas. Ultimately, this results in insufficient overlap in aerial survey images, aerial triangulation failure due to missing connection points, and decreased measurement accuracy due to sparse point cloud voids. Therefore, how to achieve uniform overlap acquisition of flight paths in complex terrain scenarios to improve the integrity and measurement accuracy of sparse point clouds has become a challenge for the industry. Summary of the Invention
[0004] This application provides a method for accurate flight path measurement based on UAV oblique photography, which can achieve uniform overlap acquisition of corrected flight paths in complex terrain scenes, thereby improving the integrity and measurement accuracy of sparse point clouds.
[0005] This application provides a method for precise flight path measurement based on UAV oblique photography, the measurement method comprising:
[0006] The topographic point cloud and target building outline of the survey area are acquired, and then a basic flight path that follows the terrain undulations is generated, and building occlusion areas and electromagnetic interference areas are marked.
[0007] On the basic flight path, based on the building obstruction area and electromagnetic interference area, the height of waypoints and exposure spacing are replanned in segments to obtain a corrected flight path with obstacle avoidance and uniform overlap.
[0008] Oblique images are acquired along the corrected flight path, and the oblique images are segmented and aerially triangulated based on the terrain point cloud and the outline of the target building to obtain a sparse point cloud with three-dimensional coordinates.
[0009] Based on the actual overlap of each ground point in the sparse point cloud, the altitude and exposure spacing of the next flight waypoint are adjusted in reverse.
[0010] In some embodiments, acquiring the topographic point cloud of the survey area and the outline of the target building, and then generating a basic flight path that follows the terrain undulations, and marking the building obstruction area and electromagnetic interference area specifically includes:
[0011] Acquire the topographic point cloud of the survey area and the outline of the target buildings, and initialize the basic flight path;
[0012] Based on the target building outline and the terrain point cloud, the line-of-sight occlusion calculation is performed to obtain the occlusion range of the target building outline under the tilted camera view, which is denoted as the building occlusion area.
[0013] Acquire electromagnetic environment data for the test area and define areas with signal strength below a preset threshold as electromagnetic interference zones;
[0014] The building obstruction area and the electromagnetic interference area are superimposed on the basic flight path to obtain a marked basic flight path.
[0015] In some embodiments, on the basic flight path, the waypoint height and exposure spacing are segmented and replanned according to the building obstruction area and electromagnetic interference area to obtain a corrected flight path with obstacle avoidance and uniform overlap. Specifically, this includes:
[0016] On the basic flight path, the segments that pass through the building obstruction area and the electromagnetic interference area are divided into segments to be adjusted;
[0017] For the flight segment to be adjusted, the waypoint height is increased according to the elevation of the terrain point cloud, and the exposure interval is reduced according to the range of the building obstruction area to obtain the segment adjustment parameters;
[0018] The segmented adjustment parameters are written into the basic flight path to obtain a corrected flight path that avoids obstacles and has uniform overlap.
[0019] In some embodiments, on the basic flight path, the waypoint height and exposure spacing are segmented and replanned according to the building obstruction area and electromagnetic interference area to obtain a corrected flight path with obstacle avoidance and uniform overlap. Specifically, this includes:
[0020] Based on the basic flight path, extract the boundary waypoints between the building obstruction area and the electromagnetic interference area;
[0021] At the boundary waypoints, an altitude transition section and an exposure spacing transition section are set to obtain the transition section parameters;
[0022] The parameters of the transition segment are combined with the original parameters of the remaining segments in the basic route to obtain a corrected route that avoids obstacles and has uniform overlap.
[0023] In some embodiments, reducing the exposure spacing according to the range of the building obstruction area specifically includes:
[0024] Based on the extent of the building occlusion area, calculate the image overlap of the tilt camera on the occlusion boundary between adjacent exposure points;
[0025] When the image overlap is lower than a preset overlap threshold, the exposure interval is reduced by a fixed step size until the image overlap is not lower than the preset overlap threshold.
[0026] The reduced exposure spacing is output as the exposure spacing for the flight segment to be adjusted.
[0027] In some embodiments, performing block-based aerial triangulation on the oblique image based on the terrain point cloud and the target building outline to obtain a sparse point cloud with three-dimensional coordinates specifically includes:
[0028] Based on the terrain point cloud and the target building outline, the oblique image is divided into terrain block image and building block image;
[0029] Feature extraction and matching are performed on the terrain block image and the building block image respectively to obtain the connection points of each block image;
[0030] Based on the connection points, a bundle adjustment is performed to obtain a sparse point cloud with three-dimensional coordinates.
[0031] In some embodiments, feature extraction and matching are performed on the terrain block image and the building block image respectively to obtain the connection points of each block image, specifically including:
[0032] Ground texture feature points are extracted from the terrain block image, and building corner points and edge feature points are extracted from the building block image;
[0033] The ground texture feature points are matched with the building corner points and edge feature points according to the coordinate range of the terrain point cloud and the target building outline to obtain initial matching points;
[0034] By removing mismatched points from the initial matching points, the connection points of each land parcel image are obtained.
[0035] In some embodiments, adjusting the altitude and exposure spacing of the next flight waypoint in reverse based on the actual overlap of each ground point in the sparse point cloud specifically includes:
[0036] Based on the actual overlap of each ground point in the sparse point cloud, ground points with an actual overlap lower than a preset overlap threshold are identified and recorded as points to be measured.
[0037] Map the points to be measured back to the corrected route to obtain the route segment to be measured.
[0038] Based on the location of the flight segment to be retested, the altitude and exposure interval of the next flight waypoint are adjusted in reverse.
[0039] In some embodiments, the basic flight path is generated according to the undulation of the terrain point cloud, and the forward overlap and lateral overlap of the basic flight path are both not lower than the preset initial overlap.
[0040] In some embodiments, both the building obstruction zone and the electromagnetic interference zone are recorded in the basic flight path in the form of geographical coordinate ranges and stored together with the basic flight path.
[0041] The technical solutions provided by the embodiments disclosed in this application have the following beneficial effects:
[0042] This application provides a method for precise flight path measurement based on UAV oblique photography. The method involves acquiring topographic point clouds and target building outlines of the survey area, generating a basic flight path that follows the terrain's undulations, and marking building obstruction areas and electromagnetic interference areas. On the basic flight path, based on the building obstruction areas and electromagnetic interference areas, the height and exposure spacing of waypoints are segmented and replanned to obtain a corrected flight path with obstacle avoidance and uniform overlap. Oblique images are acquired along the corrected flight path, and based on the topographic point cloud and the target building outlines, the oblique images are subjected to block aerial triangulation to obtain a sparse point cloud with three-dimensional coordinates. Based on the actual overlap of each ground point in the sparse point cloud, the height and exposure spacing of the waypoints for the next flight are adjusted in reverse.
[0043] Therefore, in this application, the altitude and exposure spacing of the waypoints for the next flight are adjusted in reverse according to the actual overlap of each ground point in the sparse point cloud. First, a corrected flight path is determined to obtain an obstacle-avoiding and uniformly overlapping corrected flight path. Thus, in complex scenarios with undulating terrain, building obstruction, and electromagnetic interference, the altitude of each waypoint relative to the ground increases segment by segment with the elevation of the terrain point cloud when the UAV flies along the corrected flight path. The image overlap area of each exposure point at the boundary of the building obstruction area is guaranteed due to the reduction of the exposure spacing. The exposure triggering in each segment in the electromagnetic interference area avoids the weak signal location due to the adjustment of the waypoint altitude. This ensures that the tilted images captured by each exposure point on the corrected flight path can maintain actual coverage of no less than the preset overlap threshold in the undulating terrain segment, the building obstruction segment, and the electromagnetic interference segment. This avoids insufficient overlap at high altitudes and excessive redundancy at low altitudes caused by constant flight altitude, insufficient image overlap area at the obstruction boundary caused by equidistant exposure, and exposure failure in the interference area caused by uniform overlap setting. Finally, this ensures that the subsequent block aerial triangulation calculation can obtain sufficient coverage in each block image. The connection points provide a stable image overlay basis for the complete generation of sparse point clouds with 3D coordinates. Then, by determining the sparse point cloud, a sparse point cloud with 3D coordinates can be obtained. After performing block aerial triangulation on the oblique image based on the terrain point cloud and the target building outline, the connection points obtained by feature extraction and matching of the terrain block image and the building block image respectively participate in the bundle adjustment. The 3D coordinates of each ground point and building point can still maintain a continuous distribution at the edges of the occlusion area and the interference area. This avoids the appearance of holes in the sparse point cloud at the boundary of the building occlusion area due to the lack of connection points, and avoids the coordinate offset at the target building outline due to the mixing of ground texture feature points and building corner edge feature points. As a result, the actual overlap of each ground point in the sparse point cloud can be accurately counted, providing an accurate overlap basis for the reverse adjustment of the waypoint altitude and exposure spacing of the next flight, thereby improving the measurement accuracy in complex terrain scenes. In summary, based on the above scheme, uniform overlap acquisition of corrected flight paths can be achieved in complex terrain scenes, thereby improving the integrity and measurement accuracy of sparse point clouds. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is an exemplary flowchart illustrating a method for precise flight path measurement based on UAV oblique photography, according to some embodiments of this application;
[0046] Figure 2This is a flowchart illustrating the process of determining sparse point clouds according to some embodiments of this application;
[0047] Figure 3 This is a schematic diagram of the structure of a computer device for implementing a method for precise flight path measurement based on UAV oblique photography, according to some embodiments of this application. Detailed Implementation
[0048] To better understand the technical solution of this application, the technical solution of this application will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0049] refer to Figure 1 The figure is an exemplary flowchart of a method for precise flight path measurement based on UAV oblique photography, according to some embodiments of this application. The measurement method mainly includes the following steps:
[0050] In step 101, the topographic point cloud of the survey area and the outline of the target building are acquired, and a basic flight path that follows the topographic undulation is generated, and the building occlusion area and electromagnetic interference area are marked.
[0051] It should be noted that in this application, the basic flight path is generated according to the undulation of the terrain point cloud, and the directional overlap and lateral overlap of the basic flight path are not lower than the preset initial overlap; the building obstruction area and the electromagnetic interference area are recorded in the basic flight path in the form of geographic coordinate range and stored together with the basic flight path.
[0052] In some embodiments, acquiring the topographic point cloud of the survey area and the outline of the target building, and then generating a basic flight path that follows the terrain undulations, and marking the building obstruction area and electromagnetic interference area can be achieved by the following steps:
[0053] Acquire the topographic point cloud of the survey area and the outline of the target buildings, and initialize the basic flight path;
[0054] Based on the target building outline and the terrain point cloud, the line-of-sight occlusion calculation is performed to obtain the occlusion range of the target building outline under the tilted camera view, which is denoted as the building occlusion area.
[0055] Acquire electromagnetic environment data for the test area and define areas with signal strength below a preset threshold as electromagnetic interference zones;
[0056] The building obstruction area and the electromagnetic interference area are superimposed on the basic flight path to obtain a marked basic flight path.
[0057] It should be noted that in this application, the terrain point cloud is a set of three-dimensional point coordinates representing the undulating shape of the survey area; the target building outline is a set of planar polygon coordinates representing the position and shape of the target building's outer boundary; the basic flight path is the initial line connecting the waypoint positions and exposure points when the UAV flies along the undulating terrain of the survey area; the tilted camera viewpoint is the spatial orientation and field of view of the tilted camera when photographing the target building at each waypoint; the building occlusion zone is the geographical coordinate range where the target building outline is obscured by itself or nearby ground features and cannot be photographed from the tilted camera viewpoint; the survey area electromagnetic environment data is a set of data on the distribution of electromagnetic signal intensity at various locations in the survey area; the preset threshold is the critical value for determining whether the electromagnetic signal intensity constitutes interference; the electromagnetic interference zone is the geographical coordinate range where the signal intensity in the survey area electromagnetic environment data is lower than the preset threshold; and the marked basic flight path is the basic flight path with the building occlusion zone and electromagnetic interference zone superimposed and marked.
[0058] In practice, firstly, a drone equipped with a lidar scans the survey area to obtain a topographic point cloud. Then, a drone equipped with an oblique camera takes panoramic photos of the target building and performs dense matching to obtain its outline. Based on the elevation of each point in the topographic point cloud, waypoints are set at locations where the elevation change exceeds a preset elevation difference. These waypoints are then connected according to a preset initial overlap to obtain a basic flight path, which is used as the initialized basic flight path. Next, starting from each waypoint in the basic flight path and using each point on the target building outline as a target point, lines are drawn one by one in the topographic point cloud. If a line intersects a point in the topographic point cloud, that target point is considered occluded, and all occluded target points are merged into one occluded point. The scope is defined as the building obstruction area. Then, a spectrum analyzer is used to collect electromagnetic signal strength point by point in the test area according to a preset grid spacing to obtain electromagnetic environment data of the test area. The signal strength of each point in the electromagnetic environment data of the test area is compared with a preset threshold, which is 0.5 times the average signal strength of the electromagnetic environment data of the test area. Points with signal strength lower than the preset threshold are merged into interference ranges, which are defined as electromagnetic interference areas. Finally, the building obstruction area and electromagnetic interference area are projected onto the basic flight path according to the geographical coordinate range. On the basic flight path, the segments that fall into the building obstruction area and electromagnetic interference area are marked with obstruction marks and interference marks respectively. The basic flight path with the added obstruction marks and interference marks is defined as the marked basic flight path.
[0059] It should be noted that, in this application, after obtaining the electromagnetic environment data of the test area, the mean value of the signal strength of all collection points in the electromagnetic environment data of the test area is calculated, and the mean value is multiplied by 0.5 to obtain the preset threshold. Specifically, the electromagnetic signal strength is collected point by point in the test area using a spectrum analyzer at a preset grid spacing to obtain the electromagnetic environment data of the test area; the signal strength of all collection points in the electromagnetic environment data of the test area is summed and then divided by the total number of collection points to obtain the mean value of the signal strength; the mean value of the signal strength is multiplied by 0.5, and the resulting value is the preset threshold.
[0060] In step 102, on the basic flight path, the height and exposure spacing of waypoints are segmented and replanned according to the building obstruction area and electromagnetic interference area to obtain a corrected flight path with obstacle avoidance and uniform overlap.
[0061] In some embodiments, on the basic flight path, the elevation and exposure spacing of waypoints are segmented and replanned according to the building obstruction area and electromagnetic interference area to obtain a corrected flight path with obstacle avoidance and uniform overlap. This can be achieved by the following steps:
[0062] On the basic flight path, the segments that pass through the building obstruction area and the electromagnetic interference area are divided into segments to be adjusted;
[0063] For the flight segment to be adjusted, the waypoint height is increased according to the elevation of the terrain point cloud, and the exposure interval is reduced according to the range of the building obstruction area to obtain the segment adjustment parameters;
[0064] The segmented adjustment parameters are written into the basic flight path to obtain a corrected flight path that avoids obstacles and has uniform overlap.
[0065] It should be noted that in this application, the flight segment to be adjusted is the flight segment on the basic flight line that passes through the building obstruction area and the electromagnetic interference area; the segment adjustment parameters are the set of values obtained after modifying the altitude of each waypoint and the distance between each exposure point in the flight segment to be adjusted; the corrected flight line is the line connecting the positions of each waypoint and the positions of the exposure points after writing the segment adjustment parameters into the basic flight line.
[0066] In practice, firstly, segments marked with occlusion markers and segments marked with interference markers in the basic flight path are merged to obtain merged segments. If the waypoint spacing between adjacent segments in the merged segment is less than the preset waypoint spacing, the adjacent segments are connected to form continuous segments, which are then designated as segments to be adjusted. Next, within the segments to be adjusted, the elevation of the topographic point cloud corresponding to each waypoint is added to the preset safe height to obtain the lift height of each waypoint. The original height of each waypoint is then replaced with the lift height to obtain the waypoint height adjustment value. Within the segments to be adjusted, adjacent segments are calculated based on the area of the building occlusion zone. The image overlap between exposure points at the boundary of the building obstruction area is calculated. When the image overlap is lower than the preset overlap threshold, the exposure spacing is reduced by a fixed step size until the image overlap is not lower than the preset overlap threshold, thus obtaining the exposure spacing adjustment value. The waypoint altitude adjustment value and the exposure spacing adjustment value are merged to obtain the segment adjustment parameters. Finally, the waypoint altitude adjustment value in the segment adjustment parameters is written into the original altitude position of each waypoint in the segment to be adjusted in the basic flight path, and the exposure spacing adjustment value in the segment adjustment parameters is written into the original spacing position of each exposure point in the segment to be adjusted in the basic flight path. The basic flight path after writing is used as the corrected flight path.
[0067] It should be noted that, in this application, the preset safe height is 1 times the maximum height difference between two adjacent points in the topographic point cloud of the survey area; the preset overlap threshold is 0.8 times the preset initial overlap used during the initialization of the basic flight path; the preset waypoint spacing is 0.5 times the spacing between adjacent waypoints during the initialization of the basic flight path; and the fixed step size is 0.1 times the spacing between adjacent exposure points during the initialization of the basic flight path.
[0068] Preferably, in the above embodiments, reducing the exposure spacing according to the range of the building's obstruction area can also be achieved by the following steps:
[0069] Based on the extent of the building occlusion area, calculate the image overlap of the tilt camera on the occlusion boundary between adjacent exposure points;
[0070] When the image overlap is lower than a preset overlap threshold, the exposure interval is reduced by a fixed step size until the image overlap is not lower than the preset overlap threshold.
[0071] The reduced exposure spacing is output as the exposure spacing for the flight segment to be adjusted.
[0072] It should be noted that in this application, the occlusion boundary is the set of planar coordinate points at the intersection of the building occlusion area and the photographable area; the image overlap is the overlapping area of two adjacent tilted images at the occlusion boundary when the tilted camera photographs the occlusion boundary between adjacent exposure points; the exposure spacing is the horizontal distance between two adjacent exposure points on the basic flight path; the preset overlap threshold is the area critical value for determining whether the image overlap meets the requirements for photographing the occlusion boundary; the fixed step size is the amount of horizontal distance reduction when the exposure spacing is reduced each time; and the exposure spacing of the flight segment to be adjusted is the horizontal distance between two adjacent exposure points that meets the preset overlap threshold after being reduced successively.
[0073] In practice, firstly, the occlusion boundary is extracted from the area obscured by the building. The occlusion boundary consists of the planar coordinate points at the intersection of the building-obscured area and the cameraable area. Lines are then drawn connecting each of the two adjacent exposure points on the segment to be adjusted in the basic flight path to each point on the occlusion boundary, obtaining the coverage area of each of the two adjacent exposure points on the occlusion boundary. The intersection of the coverage areas of the two adjacent exposure points is then calculated to obtain the overlap area, which is used as the image overlap amount. Next, the image overlap amount is compared with a preset overlap threshold, which is 0.8 times the preset initial overlap used during the initialization of the basic flight path. If the image overlap amount is lower than the preset overlap threshold, a fixed step is subtracted from the exposure distance between the two adjacent exposure points. The fixed step size is 0.1 times the distance between adjacent exposure points when the basic flight path is initialized, resulting in a reduced exposure distance. The image overlap is recalculated based on the reduced exposure distance. If the recalculated image overlap is still lower than the preset overlap threshold, the fixed step size is subtracted again, and the above process is repeated until the image overlap is not lower than the preset overlap threshold. Finally, the exposure distance obtained after the last reduction, which makes the image overlap not lower than the preset overlap threshold, is taken as the exposure distance between two adjacent exposure points in the flight segment to be adjusted. After processing the exposure distances between all two adjacent exposure points in the flight segment to be adjusted in the above process, the total processed exposure distances are taken as the exposure distance of the flight segment to be adjusted.
[0074] Preferably, in some embodiments, on the basic flight path, the elevation and exposure spacing of waypoints are segmented and replanned according to the building obstruction area and electromagnetic interference area to obtain a corrected flight path with obstacle avoidance and uniform overlap. This can be achieved by the following steps:
[0075] Based on the basic flight path, extract the boundary waypoints between the building obstruction area and the electromagnetic interference area;
[0076] At the boundary waypoints, an altitude transition section and an exposure spacing transition section are set to obtain the transition section parameters;
[0077] The parameters of the transition segment are combined with the original parameters of the remaining segments in the basic route to obtain a corrected route that avoids obstacles and has uniform overlap.
[0078] It should be noted that, in this application, the boundary waypoint is the waypoint located at the boundary between the building obstruction area and the electromagnetic interference area in the basic flight path; the altitude transition segment is the segment where the waypoint altitude is gradually changed from the original altitude to the adjusted altitude at the boundary waypoint; the exposure spacing transition segment is the segment where the exposure spacing is gradually changed from the original spacing to the adjusted spacing at the boundary waypoint; the transition segment parameters are the set of the waypoint altitude values and the exposure spacing values in the altitude transition segment and the exposure spacing transition segment; the original parameters of the remaining segments are the original waypoint altitude values and the original exposure spacing values maintained by the segments of the basic flight path that do not fall into the building obstruction area and the electromagnetic interference area.
[0079] In practice, firstly, the waypoints corresponding to the start and end positions of the occlusion and interference markers in the marked basic flight path are taken as boundary waypoints. All boundary waypoints are arranged in the order of the waypoints on the basic flight path to obtain a boundary waypoint sequence. Then, within this sequence, the segment between two adjacent boundary waypoints is taken as a transition segment. Within this transition segment, the waypoint altitude is gradually changed from the initial altitude of the starting boundary waypoint to the elevation of the ending boundary waypoint in an arithmetic progression, resulting in an altitude transition segment. Finally, the exposure spacing is gradually changed from the initial exposure spacing of the starting boundary waypoint in an arithmetic progression. The exposure spacing is gradually reduced from the termination boundary waypoint to obtain the exposure spacing transition segment. The altitude values of each waypoint in the altitude transition segment are combined with the exposure spacing values of each exposure point in the exposure spacing transition segment to obtain the transition segment parameters. Finally, the transition segment parameters are written into the segments between boundary waypoints in the basic route. The segments in the basic route that do not fall into the building obstruction area and electromagnetic interference area retain their original waypoint altitude values and original exposure spacing values. The segments with the transition segment parameters are connected with the segments with the original parameters in the waypoint order. The connected basic route is used as the corrected route.
[0080] It should be noted that, in this application, among the two methods for determining the corrected flight path, the method of segmenting first and then adjusting divides the flight segment passing through the building obstruction area and electromagnetic interference area into a whole segment to be adjusted and uniformly raises the altitude and reduces the exposure interval. Its advantage is that the processing logic is direct and the adjustment parameters are concentrated. It can quickly complete the flight path correction for survey areas with large obstruction and interference areas and regular boundaries. Its disadvantage is that when the obstruction and interference areas are small or have irregular boundaries, a large number of waypoints that do not need to be adjusted will be included in the adjustment range, resulting in a large amount of change in waypoint altitude and exposure interval, and the flight efficiency and image redundancy will increase accordingly. The method of setting a transition first and then merging The method involves setting up height transition sections and exposure spacing transition sections at the boundary waypoints of the building-shaded area and the electromagnetic interference area, respectively, and then merging them with the original parameters of the remaining flight segments. The advantage is that the waypoint height and exposure spacing change gradually at the boundary, resulting in a smooth transition between the corrected flight path and the basic flight path. For survey areas with small or irregular boundaries of the shaded and interference areas, only the flight segments near the boundary need to be modified, while retaining the original parameters of the remaining flight segments. The disadvantage is that the transition section parameters need to be calculated separately at each boundary waypoint. When there are many boundary waypoints, the amount of calculation and parameter merging work increases significantly. In practical use, it can be adaptively adjusted according to different usage scenarios.
[0081] In step 103, oblique images are acquired along the corrected flight path, and the oblique images are segmented and aerially triangulated based on the terrain point cloud and the outline of the target building to obtain a sparse point cloud with three-dimensional coordinates.
[0082] In some embodiments, acquiring oblique images along the corrected flight path can be achieved in the following manner: controlling the UAV to fly at the position and altitude of each waypoint in the corrected flight path, and triggering the oblique camera to take pictures according to the position and spacing of each exposure point in the corrected flight path. The oblique camera takes pictures at each exposure point at a preset oblique angle to obtain oblique images corresponding to each exposure point. The three-dimensional coordinates corresponding to each exposure point are written into the oblique images obtained by each shooting. The oblique images with the three-dimensional coordinates written into them are used as oblique images acquired along the corrected flight path. It should be noted that in this application, oblique images are pictures taken by the oblique camera at each exposure point when the UAV flies along the corrected flight path, and have the corresponding three-dimensional coordinates of the exposure points.
[0083] In some embodiments, the oblique image is subjected to block aerial triangulation based on the terrain point cloud and the target building outline to obtain a sparse point cloud with three-dimensional coordinates, for reference. Figure 2 The figure described above is a flowchart illustrating the process of determining sparse point clouds in some embodiments of this application. In this embodiment, determining sparse point clouds can be achieved using the following steps:
[0084] In step 1031, the tilted image is divided into a terrain block image and a building block image based on the terrain point cloud and the target building outline.
[0085] In step 1032, feature extraction and matching are performed on the terrain block image and the building block image respectively to obtain the connection points of each block image;
[0086] In step 1033, bundle adjustment is performed based on the connection points to obtain a sparse point cloud with three-dimensional coordinates.
[0087] It should be noted that in this application, the topographic block image is an image block in the oblique image that covers the area where the topographic point cloud is located and does not fall inside the outline of the target building; the building block image is an image block in the oblique image that covers the area where the outline of the target building is located; the connection point is the image point with the same name obtained after feature extraction and matching between the topographic block image and the building block image; the sparse point cloud is a set of ground points and building points with three-dimensional coordinates obtained by bundle adjustment of the connection points.
[0088] In specific implementation, firstly, the target building outline is projected onto each oblique image according to the geographic coordinate range. Pixels in the oblique images that fall within the projection range of the target building outline are classified as building block images, and pixels in the oblique images that do not fall within the projection range of the target building outline but fall within the coverage area of the terrain point cloud are classified as terrain block images. The divided oblique images are used as terrain block images and building block images. Then, feature extraction and matching are performed on the terrain block images and the building block images respectively to obtain the connection points of each block image. Finally, using the connection points of each block image as observation values, the three-dimensional coordinates of each exposure point as initial values, and the interior orientation elements of the oblique camera as known values, an error equation is established according to the collinearity condition equation. The error equation is iteratively solved to obtain the three-dimensional coordinates of each connection point. The three-dimensional coordinates of each connection point are used as a sparse point cloud with three-dimensional coordinates. The preset deviation threshold is taken as 1 times the average distance between two adjacent points in the terrain point cloud.
[0089] In the above embodiments, feature extraction and matching of the terrain block image and the building block image to obtain the connection points of each block image can be achieved by the following steps:
[0090] Ground texture feature points are extracted from the terrain block image, and building corner points and edge feature points are extracted from the building block image;
[0091] The ground texture feature points are matched with the building corner points and edge feature points according to the coordinate range of the terrain point cloud and the target building outline to obtain initial matching points;
[0092] By removing mismatched points from the initial matching points, the connection points of each land parcel image are obtained.
[0093] It should be noted that, in this application, ground texture feature points are image points in the terrain block image that have significant grayscale changes and correspond to the coordinate range of the terrain point cloud; building corner points and edge feature points are image points at the corner and edge positions within the projection range of the target building outline in the building block image; initial matching points are pairs of image points with the same name obtained by matching ground texture feature points with building corner points and edge feature points according to their coordinate range; mismatched points are pairs of image points with the same name whose coordinate deviation exceeds a preset deviation threshold in the initial matching points; and connection points are the remaining initial matching points after removing mismatched points.
[0094] In practice, firstly, in the topographic block image, the grayscale gradient is calculated pixel by pixel according to the coverage area of the topographic point cloud. Pixels with grayscale gradients exceeding a preset gradient threshold are designated as ground texture feature points. Secondly, in the building block image, corner response values and edge response values are calculated pixel by pixel according to the projection range of the target building outline. Pixels with corner response values exceeding a preset corner threshold are designated as building corners, and pixels with edge response values exceeding a preset edge threshold are designated as edge feature points. The building corners and edge feature points are then merged to obtain the building corners and edge feature points. Thirdly, the ground texture feature points are projected onto each topographic block image according to the three-dimensional coordinates of each point in the topographic point cloud to obtain the projection of the ground texture feature points in each topographic block image. The projected locations of building corner points and edge feature points are projected onto the images of each building block according to the planar coordinates of each point in the target building outline. This yields the projected locations of the building corner points and edge feature points in the images of each building block. The image points corresponding to the same projected location in different oblique images are grouped together, and each group of image points is used as the initial matching point. Finally, the coordinate deviation of the same group of image points in each initial matching point is calculated between the oblique images. The coordinate deviation is compared with a preset deviation threshold, which is set to 1 times the average distance between two adjacent points in the terrain point cloud. Initial matching points with coordinate deviations exceeding the preset deviation threshold are considered mismatched points and are removed. The remaining initial matching points after removal are used as connection points for each block image.
[0095] It should be noted that in this application, the preset gradient threshold is: the average value of the grayscale gradient of all pixels in the topographic block image is multiplied by 2, and the preset corner threshold is: the average value of the corner response value of all pixels in the building block image is multiplied by 2, and the preset edge threshold is: the average value of the edge response value of all pixels in the building block image is multiplied by 2, and the preset edge threshold is:
[0096] In step 104, the altitude and exposure spacing of the next flight waypoint are adjusted in reverse according to the actual overlap of each ground point in the sparse point cloud.
[0097] In some embodiments, the reverse adjustment of the altitude and exposure spacing of the next flight waypoint based on the actual overlap of each ground point in the sparse point cloud can be achieved by the following steps:
[0098] Based on the actual overlap of each ground point in the sparse point cloud, ground points with an actual overlap lower than a preset overlap threshold are identified and recorded as points to be measured.
[0099] Map the points to be measured back to the corrected route to obtain the route segment to be measured.
[0100] Based on the location of the flight segment to be retested, the altitude and exposure interval of the next flight waypoint are adjusted in reverse.
[0101] It should be noted that, in this application, the actual overlap is the ratio of the number of times each ground point in the sparse point cloud is repeatedly covered in the tilted images taken at each exposure point of the corrected flight path to the total number of times it is covered; the point to be measured is a ground point in the sparse point cloud whose actual overlap is lower than the preset overlap threshold; the flight segment to be measured is the flight segment in the corrected flight path that covers the location of the point to be measured; and the reverse adjustment is the process of modifying the altitude and exposure spacing of the waypoint of the next flight based on the location of the flight segment to be measured.
[0102] In practice, firstly, for each ground point in the sparse point cloud, the number of images covered by that ground point in the tilted images taken at each exposure point of the corrected flight path is counted. This number of images is compared to the total number of tilted images to obtain the actual overlap of the ground point. The actual overlap is then compared to a preset overlap threshold, which is 0.8 times the preset initial overlap used during the initialization of the basic flight path. Ground points with actual overlap lower than the preset overlap threshold are designated as points to be remeasured. Next, the 3D coordinates of each point to be remeasured are projected onto the corrected flight path to obtain the coordinates of each point to be remeasured. The projection position of the point on the corrected flight path is determined, and the segment of the corrected flight path covering each projection position is taken as the segment to be retested. Finally, within the segment to be retested, the altitude of the next flight for each waypoint is reduced according to the ratio of the actual overlap of the point to be retested to the preset overlap threshold, and the exposure spacing of the next flight for each exposure point is reduced according to the ratio of the actual overlap of the point to be retested to the preset overlap threshold, and the exposure spacing of the next flight is taken as the altitude of the waypoint and the exposure spacing of the next flight.
[0103] In some embodiments, reference Figure 3 The dashed lines in the figure indicate that the unit or module is optional. This figure is a structural schematic diagram of a computer device for implementing a precise flight path measurement method based on UAV oblique photography, according to an embodiment of this application. The precise flight path measurement method based on UAV oblique photography described in the above embodiments can be achieved through… Figure 3 The computer device shown is used to implement this, and the computer device includes at least one processor 301, a memory 302 and at least one communication unit 305. The computer device may be a terminal device, a server or a chip.
[0104] Processor 301 can be a general-purpose processor or a special-purpose processor. For example, processor 301 can be a central processing unit (CPU), which can be used to control computer devices, execute software programs, and process data from software programs. The computer device may also include a communication unit 305 for inputting (receiving) and outputting (transmitting) signals.
[0105] For example, the computer device may be a chip, and the communication unit 305 may be the input and / or output circuit of the chip, or the communication unit 305 may be the communication interface of the chip, which may be a component of a terminal device, network device or other device.
[0106] For example, the computer device may be a terminal device or a server, and the communication unit 305 may be a transceiver of the terminal device or the server, or the communication unit 305 may be a transceiver circuit of the terminal device or the server.
[0107] The computer device may include one or more memories 302 storing a program 304. The program 304 can be executed by a processor 301 to generate instructions 303, causing the processor 301 to execute the method described in the above method embodiments according to the instructions 303. Optionally, the memory 302 may also store data (such as a target audit model). Optionally, the processor 301 may also read data stored in the memory 302, which may be stored at the same storage address as the program 304, or it may be stored at a different storage address than the program 304.
[0108] The processor 301 and memory 302 can be configured separately or integrated together, for example, integrated on the system on chip (SOC) of the terminal device.
[0109] It should be understood that each step of the above method embodiment can be completed by hardware logic circuits or software instructions in the processor 301. The processor 301 can be a CPU, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, such as discrete gate, transistor logic devices, or discrete hardware components.
[0110] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0111] For example, in some embodiments, this application also provides a computer-readable storage medium storing instructions or code that, when executed on a computer, cause the computer to perform the above-described method for precise flight path measurement based on UAV oblique photography.
[0112] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0113] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for precise flight path measurement based on UAV oblique photography, characterized in that, The measurement method includes the following steps: The topographic point cloud and target building outline of the survey area are acquired, and then a basic flight path that follows the terrain undulations is generated, and building occlusion areas and electromagnetic interference areas are marked. On the basic flight path, based on the building obstruction area and electromagnetic interference area, the height of waypoints and exposure spacing are replanned in segments to obtain a corrected flight path with obstacle avoidance and uniform overlap. Oblique images are acquired along the corrected flight path, and the oblique images are segmented and aerially triangulated based on the terrain point cloud and the outline of the target building to obtain a sparse point cloud with three-dimensional coordinates. Based on the actual overlap of each ground point in the sparse point cloud, the altitude and exposure spacing of the next flight waypoint are adjusted in reverse.
2. The method as described in claim 1, characterized in that, The topographic point cloud of the survey area and the outline of the target buildings are acquired, and then a basic flight path that follows the terrain undulations is generated. The building obstruction area and electromagnetic interference area are marked, specifically including: Acquire the topographic point cloud of the survey area and the outline of the target buildings, and initialize the basic flight path; Based on the target building outline and the terrain point cloud, the line-of-sight occlusion calculation is performed to obtain the occlusion range of the target building outline under the tilted camera view, which is denoted as the building occlusion area. Acquire electromagnetic environment data for the test area and define areas with signal strength below a preset threshold as electromagnetic interference zones; The building obstruction area and the electromagnetic interference area are superimposed on the basic flight path to obtain a marked basic flight path.
3. The method as described in claim 1, characterized in that, On the basic flight path, based on the building obstruction area and electromagnetic interference area, the waypoint height and exposure spacing are segmented and replanned to obtain a corrected flight path with obstacle avoidance and uniform overlap. Specifically, this includes: On the basic flight path, the segments that pass through the building obstruction area and the electromagnetic interference area are divided into segments to be adjusted; For the flight segment to be adjusted, the waypoint height is increased according to the elevation of the terrain point cloud, and the exposure interval is reduced according to the range of the building obstruction area to obtain the segment adjustment parameters; The segmented adjustment parameters are written into the basic flight path to obtain a corrected flight path that avoids obstacles and has uniform overlap.
4. The method as described in claim 1, characterized in that, On the basic flight path, based on the building obstruction area and electromagnetic interference area, the waypoint height and exposure spacing are segmented and replanned to obtain a corrected flight path with obstacle avoidance and uniform overlap. Specifically, this includes: Based on the basic flight path, extract the boundary waypoints between the building obstruction area and the electromagnetic interference area; At the boundary waypoints, an altitude transition section and an exposure spacing transition section are set to obtain the transition section parameters; The parameters of the transition segment are combined with the original parameters of the remaining segments in the basic route to obtain a corrected route that avoids obstacles and has uniform overlap.
5. The method as described in claim 3, characterized in that, Reducing the exposure interval according to the range of the building's obstruction area specifically includes: Based on the extent of the building occlusion area, calculate the image overlap of the tilt camera on the occlusion boundary between adjacent exposure points; When the image overlap is lower than a preset overlap threshold, the exposure interval is reduced by a fixed step size until the image overlap is not lower than the preset overlap threshold. The reduced exposure spacing is output as the exposure spacing for the flight segment to be adjusted.
6. The method as described in claim 1, characterized in that, Based on the terrain point cloud and the target building outline, the oblique image is subjected to block aerial triangulation to obtain a sparse point cloud with three-dimensional coordinates, specifically including: Based on the terrain point cloud and the target building outline, the oblique image is divided into terrain block image and building block image; Feature extraction and matching are performed on the terrain block image and the building block image respectively to obtain the connection points of each block image; Based on the connection points, a bundle adjustment is performed to obtain a sparse point cloud with three-dimensional coordinates.
7. The method as described in claim 6, characterized in that, Feature extraction and matching are performed on the terrain block image and the building block image respectively to obtain the connection points of each block image, specifically including: Ground texture feature points are extracted from the terrain block image, and building corner points and edge feature points are extracted from the building block image; The ground texture feature points are matched with the building corner points and edge feature points according to the coordinate range of the terrain point cloud and the target building outline to obtain initial matching points; By removing mismatched points from the initial matching points, the connection points of each land parcel image are obtained.
8. The method as described in claim 1, characterized in that, Based on the actual overlap of each ground point in the sparse point cloud, the reverse adjustment of the altitude and exposure spacing of the next flight waypoint specifically includes: Based on the actual overlap of each ground point in the sparse point cloud, ground points with an actual overlap lower than a preset overlap threshold are identified and recorded as points to be measured. Map the points to be measured back to the corrected route to obtain the route segment to be measured. Based on the location of the flight segment to be retested, the altitude and exposure interval of the next flight waypoint are adjusted in reverse.
9. The method as described in claim 1, characterized in that, The basic flight path is generated according to the undulation of the terrain point cloud, and the forward overlap and lateral overlap of the basic flight path are not lower than the preset initial overlap.
10. The method as described in claim 1, characterized in that, Both the building obstruction zone and the electromagnetic interference zone are recorded in the basic flight path in the form of geographical coordinate ranges and stored together with the basic flight path.
