A method for calculating a variable altitude route based on a three-dimensional scene under manned aircraft load

Through the variable altitude route calculation method based on 3D scenes, a real terrain 3D scene is generated and the route height is automatically adjusted, which solves the problem of difficulty in satisfying both overlap and resolution in terrain undulating areas in aerial photography, and achieves accurate route planning and Safe aerial photography effects.

CN118034349BActive Publication Date: 2024-09-03BEIJING GEO VISION TECH +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410305356.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-18
Publication Date
2024-09-03
Estimated Expiration
2044-03-18

AI Technical Summary

Technical Problem

When conducting aerial photography, especially in areas with large terrain undulations, existing technology is difficult to meet the requirements of route overlap and ground resolution at the same time, resulting in inaccurate route planning and even the risk of collision with mountains, threatening the lives of staff.

Method used

Using a variable altitude route calculation method based on 3D scenes, a real terrain 3D scene is generated through sky map image data and SRTM terrain data. The polygon filling algorithm is used to calculate the route set and automatically adjust the route height to ensure the overlap of the routes and ground resolution. The rate is within the preset range.

Benefits of technology

It achieves precise route planning in complex terrain areas, ensuring that the route meets overlap and resolution requirements at the same time, improving aerial photography effects and reducing the risk of collision with mountains.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118034349B
    Figure CN118034349B
Patent Text Reader

Abstract

A variable altitude route calculation method based on a three-dimensional scene under a manned aircraft load involves the field of route calculation under a control or regulation system of non-electric variables. In this method, a terminal device can generate a real three-dimensional terrain scene of a survey area based on Tiandi Map image data and SRTM terrain data, and then use a polygon filling algorithm to calculate a route set in the survey area based on the three-dimensional scene. By judging whether the overlap and ground resolution of each parallel route in the route set meet the requirements in sequence under a reference plane with different elevation values, the height of each parallel route is automatically adjusted, and accurate route planning is achieved in complex terrain areas, so that the route meets the overlap and resolution requirements at the same time, and accurate aerial photography is effectively achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of route calculation under a control or regulation system of non-electric variables, and in particular to a method for calculating a variable altitude route based on a three-dimensional scene under a manned aircraft load. Background Art

[0002] In order to meet the needs of aerial photography, when planning routes, it is necessary to meet the requirements of overlap and ground resolution (the actual distance represented by the distance between the centers of two adjacent pixels in the image). However, when laying routes in areas with large terrain undulations, it is difficult to meet the requirements of overlap and ground resolution at the same time due to the large height difference. This is because the calculation of overlap and ground resolution is inversely proportional. On the same plane, the greater the ground resolution, the smaller the route overlap. At this time, if this plane is lowered, the route overlap will be closer to meeting the requirements, but the area that does not meet the ground resolution requirements will become larger. Conversely, if this plane is raised, the ground resolution will be closer to meeting the requirements, but the area that does not meet the overlap requirements will become larger.

[0003] In related technologies, route planning is mainly based on two-dimensional scenes such as contour maps of the current area to calculate the route, and then the route is manually planned and adjusted according to the calculation results.

[0004] However, the two-dimensional scene lacks real terrain elevation information and cannot adjust the route altitude according to the undulating terrain. Manually adjusting the altitude route is difficult to meet the requirements of overlap and ground resolution at the same time. There may even be a risk of crashing into the mountain under manned aircraft load, threatening the lives of workers. Summary of the invention

[0005] The present application provides a method for calculating a variable altitude route based on a three-dimensional scene under a manned aircraft payload, which is used to perform more accurate route layout and automatic altitude adjustment according to the three-dimensional terrain scene data of the current area, so that the route overlap and ground resolution meet the requirements, thereby improving the aerial photography effect.

[0006] In a first aspect, the present application provides a method for calculating a variable altitude route based on a three-dimensional scene under a manned aircraft load, comprising:

[0007] Generate terrain-level 3D scenes of the survey area based on Tiandi Map image data and SRTM terrain data;

[0008] Receive a preset resolution range and a preset overlap range input by a user;

[0009] A route set in the survey area is calculated based on the survey area boundary of the terrain-level three-dimensional scene and a polygon filling algorithm, and the route set includes a plurality of parallel routes, and the intervals between adjacent parallel routes are equal;

[0010] Each parallel route in the route set is taken as a first parallel route and the altitude is adjusted respectively. The altitude is equal to the sum of the elevation of the reference plane and the preset photography relative altitude. The elevation of the reference plane is the altitude of the reference plane. The preset photography relative altitude is the distance between the manned aircraft and the reference plane.

[0011] In turn, under multiple datum planes at different elevations, it is determined whether the overlap of the first parallel route is within a preset overlap range, and whether the ground resolution of the first parallel route is within a preset resolution range; the elevation values ​​of the multiple datum planes at different elevations are, in order: an average elevation value of the first parallel route, an elevation value of the highest point of the first parallel route, and an elevation value of the lowest point of the first parallel route; if, under the currently determined datum plane, the overlap of the first parallel route is not within the preset overlap range or the ground resolution is not within the preset resolution range, then the next datum plane among the multiple datum planes at different elevations is selected in order for determination;

[0012] If, under the currently determined reference plane, the overlap of the first parallel flight path is within a preset overlap range and the ground resolution is within a preset resolution range, the currently determined reference plane is used as the reference plane of the first parallel flight path.

[0013] Through the above embodiments, the terminal device can generate a real three-dimensional terrain scene of the survey area based on the Tiandi Map image data and the SRTM terrain data, and then use the polygon filling algorithm to calculate the route set in the survey area based on the three-dimensional scene. It is determined whether the overlap and ground resolution of each parallel route in the route set meet the requirements in sequence under the reference planes of different elevation values ​​to automatically adjust the height of the first parallel route, realize accurate route planning in complex terrain areas, make the route meet the overlap and resolution requirements at the same time, and effectively realize accurate aerial photography.

[0014] In some embodiments, the step of calculating a set of routes within the survey area based on the survey area boundary of the terrain-level three-dimensional scene and a polygon filling algorithm specifically includes:

[0015] Determine a set of boundary points of the survey area according to the terrain-level three-dimensional scene;

[0016] Calculate the coordinates of the boundary points of the rotated measurement area according to the route layout direction and the set of boundary points of the measurement area;

[0017] A horizontal ray is emitted from the lowest point of the rotated measurement area and spreads the ray over the entire measurement area to obtain a set of routes within the measurement area. The route is a horizontal ray segment between the first and last intersection points of the horizontal ray with the rotated measurement area.

[0018] Through the above embodiments, the terminal device determines the set of boundary points of the survey area according to the three-dimensional terrain scene, and then emits horizontal rays at certain intervals from the lowest point of the rotated survey area, and uses the single route and route set determined by the intersection of the horizontal rays and the boundary, thereby providing a reliable basis for the subsequent route height adjustment and the selection of exposure point coordinates, and effectively improving the overall route planning efficiency.

[0019] In some embodiments, after the step of emitting horizontal rays from the lowest point of the rotated measurement area and spreading the rays over the entire measurement area to obtain a set of routes within the measurement area, the method further includes:

[0020] Calculating the coordinates of the first exposure point according to the coordinates of the intersection of the route and the boundary of the measurement area;

[0021] The coordinates of other exposure points are calculated according to the heading baseline length and the coordinates of the first exposure point, wherein the heading baseline length is determined according to the width of the camera CCD size, the heading overlap, the camera focal length and the preset photography relative altitude;

[0022] The calculation formula of the coordinates of the first exposure point is:

[0023] ,in, and The starting coordinates of the route ( , ), and The coordinates of the end point of the route ( , ), and The coordinates of the first exposure point that constitutes the route ( , ), H is the preset photography relative altitude, and d is the Gaussian plane straight line distance between the routes.

[0024] Through the above embodiment, the terminal device can first determine the first exposure point according to the coordinates of the intersection of the parallel route and the boundary of the measurement area, and then calculate the coordinates of other exposure points by increasing the heading baseline length, thereby planning the position of the shooting point in each parallel route to better meet the needs of complex areas.

[0025] In some embodiments, after the step of calculating the coordinates of other exposure points according to the heading baseline length and the coordinates of the first exposure point, the method further includes:

[0026] After determining the reference plane of the first parallel route, determining the flight altitude of the first parallel route according to the elevation value of the reference plane of the first parallel route;

[0027] The coordinates of the first exposure point and the coordinates of other exposure points are adjusted according to the altitude of the first parallel route.

[0028] Through the above embodiment, the terminal device can calculate the altitude of the first parallel route after determining the reference plane of the first parallel route, and then determine the coordinates of the first exposure point and other exposure points in the terrain-level three-dimensional scene in combination with the determined coordinates of the first exposure point and other exposure points.

[0029] In some embodiments, the step of determining whether the overlap of the first parallel routes is within a preset overlap range and whether the ground resolution of the first parallel routes is within a preset resolution range under a plurality of reference planes at different elevations in sequence specifically includes:

[0030] The datum planes corresponding to the average elevation value, the elevation value of the highest point and the elevation value of the lowest point of the first parallel route are set in order as the current datum plane;

[0031] The minimum lateral overlap and the maximum lateral overlap of the first parallel route are calculated according to the elevation value of the current reference plane. The calculation formulas of the minimum lateral overlap and the maximum lateral overlap are as follows:

[0032] , , , , where H is the relative altitude of photography, is the elevation value of the highest point of the first parallel route, is the elevation value of the lowest point of the first parallel route, is the elevation value of the current datum surface, is the lateral baseline length, is the lateral image length, f is the focal length of the camera, is the minimum practical ground resolution, is the maximum practical ground resolution, is the minimum value of the actual lateral overlap, is the maximum value of the actual lateral overlap;

[0033] It is determined whether the minimum value of the actual lateral overlap and the maximum value of the actual lateral overlap are within the preset overlap range, and whether the minimum value of the actual ground resolution and the maximum value of the actual ground resolution are within the preset resolution range, the minimum value and the maximum value of the preset overlap range being the designed minimum lateral overlap and the designed maximum lateral overlap, respectively, and the minimum value and the maximum value of the preset resolution range being the preset minimum resolution and the preset maximum resolution, respectively.

[0034] Through the above embodiment, the terminal device can sequentially set reference planes with different elevation values, and sequentially calculate the maximum and minimum values ​​of the lateral overlap and ground resolution under each reference plane according to the formula. The reference plane of the first parallel route is determined by judging whether the maximum and minimum values ​​of the lateral overlap and ground resolution of the current reference plane meet the preset overlap and resolution ranges.

[0035] In some embodiments, before the step of determining whether the overlap of the first parallel flight paths is within a preset overlap range and whether the ground resolution of the first parallel flight paths is within a preset resolution range under a plurality of reference planes at different elevations in sequence, the method further includes:

[0036] Determine whether the difference between the elevation value of the highest point and the elevation value of the lowest point of the first parallel route is less than a preset amplitude threshold;

[0037] If so, setting the average value of the altitude in the terrain-level three-dimensional scene corresponding to the first parallel route as the average elevation value of the first parallel route;

[0038] If not, the median value of the altitude in the terrain-level three-dimensional scene corresponding to the first parallel route is set as the average altitude value of the first parallel route.

[0039] Through the above embodiment, the terminal device can determine the average elevation value of the first parallel route according to the terrain features of the terrain-level three-dimensional scene corresponding to the first parallel route, so that the selected average elevation value of the first parallel route meets the requirements of overlap and resolution as directly as possible.

[0040] In some embodiments, after the step of selecting the next reference plane of the plurality of reference planes with different elevations for judgment in sequence if the overlap of the first parallel routes is not within a preset overlap range or the ground resolution is not within a preset resolution range under the currently judged reference plane, the method further includes:

[0041] If the overlap of the first parallel route cannot be within the preset overlap range and the ground resolution cannot be within the preset resolution range at the same time under all reference planes, the reference plane corresponding to the elevation value of the highest point of the first parallel route is set as the reference plane of the first parallel route.

[0042] Through the above-mentioned embodiments, when the ground resolution requirement of overlap cannot be met simultaneously under all reference planes, the terminal device can set the reference plane corresponding to the elevation value of the highest point of the first parallel route as the reference plane of the first parallel route, thereby preferentially ensuring that the overlap of the first parallel route meets the requirement, because when the reference plane of the first parallel route is at the highest point of the first parallel route, the overlap of the first parallel route reaches the maximum, thereby ensuring the integrity and accuracy of the aerial photography data.

[0043] In a second aspect, the present application provides a terminal device, including:

[0044] The terrain-level 3D scene construction module is used to generate the terrain-level 3D scene of the survey area based on the Tiandi Map image data and SRTM terrain data;

[0045] A preset range determination module, used to receive a preset resolution range and a preset overlap range input by a user;

[0046] A parallel route calculation module is used to calculate a route set in the survey area according to the survey area boundary of the terrain-level three-dimensional scene and a polygon filling algorithm, wherein the route set includes a plurality of parallel routes, and the spacing between adjacent parallel routes is equal;

[0047] A first parallel route selection module is used to adjust the altitude of each parallel route in the route set as a first parallel route, wherein the altitude is equal to the sum of the elevation of the reference plane and a preset photography relative altitude, wherein the elevation of the reference plane is the altitude of the reference plane, and the preset photography relative altitude is the distance between the manned aircraft and the reference plane;

[0048] The overlap and resolution judgment module is used to judge whether the overlap of the first parallel route is within a preset overlap range and whether the ground resolution of the first parallel route is within a preset resolution range under multiple reference surfaces at different elevations in sequence; the elevation values ​​of the multiple reference surfaces at different elevations are, in order: an average elevation value of the first parallel route, an elevation value of the highest point of the first parallel route, and an elevation value of the lowest point of the first parallel route;

[0049] A reference plane selection module, for selecting the next reference plane of the multiple reference planes with different elevations for judgment in order if the overlap of the first parallel route is not within a preset overlap range or the ground resolution is not within a preset resolution range under the currently judged reference plane;

[0050] The reference plane determination module is used to use the currently determined reference plane as the reference plane of the first parallel route if the overlap of the first parallel route is within a preset overlap range and the ground resolution is within a preset resolution range under the currently determined reference plane.

[0051] The terminal device provided in the present application can implement a variable altitude route calculation method based on a three-dimensional scene under a manned aircraft load provided in the above embodiment, which will not be repeated here.

[0052] In the third aspect, an embodiment of the present application provides a terminal device, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions so that the terminal device can implement a variable altitude route calculation method based on a three-dimensional scene under a manned aircraft load provided in the above embodiment, which will not be repeated here.

[0053] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including instructions. When the above instructions are executed on a terminal device, the above terminal device can implement a variable altitude route calculation method based on a three-dimensional scene under a manned aircraft load provided by the above embodiment, which will not be repeated here.

[0054] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0055] 1. The terminal device can generate a real three-dimensional terrain scene of the survey area based on the Tiandi Map image data and SRTM terrain data, and then use the polygon filling algorithm to calculate the route set in the survey area based on the three-dimensional scene. It can automatically adjust the height of the first parallel route by judging whether the overlap and ground resolution of each parallel route in the route set meet the requirements in sequence under the reference plane of different elevation values, which can deal with the problem of realizing accurate route planning in complex terrain areas, so that the route can meet the overlap and resolution requirements at the same time, and effectively realize accurate aerial photography.

[0056] 2. The terminal device determines the set of boundary points of the survey area according to the three-dimensional terrain scene, and then emits horizontal rays at a certain interval from the lowest point of the rotated survey area, and uses the intersection of the horizontal rays and the boundary to determine the single route and the route set, and then determines the coordinates of the first exposure point and other exposure points according to the coordinates of the intersection of the parallel route and the boundary of the survey area, thereby planning the position of the shooting point in each parallel route, and after determining the reference plane of the first parallel route, the altitude of the first parallel route can be calculated, and then the coordinates of the first exposure point and other exposure points in the terrain-level three-dimensional scene can be determined by combining the determined first exposure point coordinates and other exposure point coordinates, so that aerial photography can better adapt to changes in complex areas.

[0057] 3. The terminal device can set reference planes with different elevation values ​​in sequence, and calculate the maximum and minimum values ​​of the lateral overlap and ground resolution under each reference plane in sequence according to the formula. The reference plane of the first parallel route is determined by judging whether the maximum and minimum values ​​of the lateral overlap and ground resolution of the current reference plane meet the preset overlap and resolution ranges. The average elevation value of the first parallel route can also be determined based on the terrain characteristics of the terrain-level three-dimensional scene corresponding to the first parallel route, so that the selected average elevation value of the first parallel route meets the requirements of overlap and resolution as directly as possible. In addition, when the overlap and ground resolution requirements cannot be met at the same time under all reference planes, the reference plane corresponding to the elevation value of the highest point of the first parallel route can be set as the reference plane of the first parallel route, thereby giving priority to ensuring that the overlap of the first parallel route meets the requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 It is a flow chart of a method for calculating a variable altitude route based on a three-dimensional scene under a manned aircraft load in an embodiment of the present application;

[0059] Figure 2 It is another flowchart of a method for calculating a variable altitude route based on a three-dimensional scene under a manned aircraft load in an embodiment of the present application;

[0060] Figure 3 is an exemplary scene diagram of a terrain-level three-dimensional scene in an embodiment of the present application;

[0061] Figure 4 This is a schematic diagram of an exemplary scenario in which a terminal device calculates parallel routes based on a measurement area boundary and a polygon filling algorithm in an embodiment of the present application;

[0062] Figure 5 This is a schematic diagram of an exemplary scenario in which a terminal device selects a reference plane for a first parallel route in an embodiment of the present application;

[0063] Figure 6 It is a schematic diagram of the functional module structure of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION

[0064] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "the", "above", "said" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more listed items.

[0065] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0066] When conducting aerial photogrammetry, drones are generally used to conduct close-range photogrammetry of small scenes within a certain area, such as slopes, ancient buildings, dams, etc. Drones are used for single-building scenes, and routes are planned according to the facade direction of the building. However, photogrammetry of large areas requires the use of aircraft piloted by professional technicians. For example, aerial photogrammetry of a provincial or municipal scene requires the use of fixed-wing aircraft and helicopters, and route planning based on the true height of the terrain. The survey area may be several thousand or tens of thousands of square meters, and it is difficult to achieve aerial photogrammetry of large areas using drones.

[0067] Before professional technicians fly an airplane for photogrammetry, they need to plan routes. When planning routes, the routes need to meet the requirements of overlap and ground resolution (the actual distance represented by the distance between the centers of two adjacent pixels in the image). However, when laying routes in areas with large terrain undulations, it is difficult to meet the requirements of overlap and ground resolution at the same time due to the large height difference. This is because the calculation of overlap and ground resolution is inversely proportional. On the same plane, the greater the ground resolution, the smaller the route overlap. At this time, if the plane is lowered, the route overlap will be closer to meeting the requirements, but the area that does not meet the ground resolution requirements will become larger. Conversely, if the plane is raised, the ground resolution will be closer to meeting the requirements, but the area that does not meet the overlap requirements will become larger.

[0068] When planning routes, related technologies mainly calculate routes based on two-dimensional scenes such as contour maps of the current area, and then manually plan and adjust the routes based on the calculation results. However, the two-dimensional scenes lack real terrain elevation information and cannot adjust the route altitude according to the undulating terrain. Manually adjusting the altitude route is difficult to simultaneously meet the requirements of overlap and ground resolution, resulting in unsatisfactory aerial photography effects. There may even be a risk of crashing into the mountain under manned aircraft loads, threatening the lives of staff.

[0069] To address the above-mentioned problems, the present application provides a method for calculating a variable altitude route based on a three-dimensional scene under a manned aircraft payload, which can perform more accurate route layout and automatic altitude adjustment according to the three-dimensional terrain scene data of the current area, so that the route overlap and ground resolution meet the requirements, thereby improving the aerial photography effect.

[0070] The following is a description of the process of the method provided by this implementation. Figure 1 , which is a flow chart of a method for calculating a variable altitude route based on a three-dimensional scene under a manned aircraft load in an embodiment of the present application.

[0071] S101, generating a terrain-level three-dimensional scene of the survey area based on Tiandi Map image data and SRTM terrain data.

[0072] After determining the survey area for aerial photography, the terminal device can obtain the Tiandi Map image data and the SRTM terrain data of the survey area from the National Geographic Information Public Service Platform. The terminal device performs coordinate conversion on the obtained Tiandi Map image data. Because the domestic Tiandi Map satellite image data mainly uses GCJ-02 (Mars coordinate system), it is necessary to first convert the satellite image data in this coordinate system to the WGS84 coordinate system. In addition, the terminal device can slice the SRTM terrain data of the domestic survey area to obtain a Terrain tile data set, and then convert the Terrain tile data set into slice data that conforms to the 3D Tiles specification, thereby improving the data reading speed.

[0073] The terminal device loads the processed Tiandi map image data and Terrain tile data set into the three-dimensional GIS map Cesium framework at the same time, and fuses them to generate a terrain-level three-dimensional data scene.

[0074] Specific as Figure 3 As shown, it is an exemplary scene diagram of a terrain-level three-dimensional scene in an embodiment of the present application. The terminal device can obtain the terrain information of the survey area from the terrain-level three-dimensional scene. The terrain information includes but is not limited to the altitude information of each geographical location, which is not limited here.

[0075] It is understandable that the methods for obtaining the above-mentioned Tiandi Map image data and SRTM terrain data can be selected and adjusted according to actual needs. For example, if the National Geographic Information Public Service Platform does not provide download or acquisition services for SRTM terrain data, the terminal device can obtain SRTM terrain data from other channels, such as official channels such as NASA and USGS, which are not limited here.

[0076] S102: Receive a preset resolution range and a preset overlap range input by a user.

[0077] Before the terminal device performs route planning, the user can input a preset resolution range and a preset overlap range of the route into the terminal device, wherein the preset resolution range is a range requirement for the ground resolution that the route determined by the terminal device needs to meet, and the preset resolution range specifies the minimum and maximum values ​​of the ground resolution of the route. Only when the ground resolution of the route is between the minimum and maximum values, the ground resolution of the route meets the requirement. Similarly, the preset overlap range is a range requirement for the overlap that the route determined by the terminal device needs to meet, and the preset overlap range specifies the minimum and maximum values ​​of the overlap of the route. Only when the overlap of the route is between the minimum and maximum values, the overlap of the route meets the requirement.

[0078] It should be noted that when planning routes, in order to ensure the quality of aerial photography, the overlap of the routes and the ground resolution need to meet the preset overlap range and the preset resolution range respectively. However, when the overlap of the routes and the ground resolution cannot meet the preset overlap range and the preset resolution range respectively, in order to ensure the accuracy and completeness of the aerial photography, so that there are no omissions in the aerial photography results and the aerial photography covers all areas within the survey area, the overlap of the routes should be prioritized so that the overlap of the routes is at the maximum value.

[0079] S103, obtaining a set of flight routes within the survey area based on the survey area boundary of the terrain-level three-dimensional scene and a polygon filling algorithm.

[0080] Specifically, the terminal device determines the boundary of the measurement area according to the terrain-level three-dimensional scene and obtains the coordinates of the boundary points of the measurement area. A ray is emitted with the starting point of the aircraft as the origin, and the direction of the ray is the direction of the route layout. The ray has at least one intersection with the boundary of the measurement area, and then the measurement area is rotated clockwise so that the ray of the measurement area becomes horizontal after rotation, and a horizontal ray is obtained. The coordinates of the boundary points of the measurement area after rotation and the range threshold of the horizontal ray are calculated again, and the range threshold determines the movable range of the horizontal ray in the measurement area after rotation.

[0081] Specific as Figure 4 The figure is a schematic diagram of an exemplary scenario in which a terminal device calculates parallel routes based on the measurement area boundary and polygon filling algorithm in an embodiment of the present application.

[0082] A ray intersects with the boundary of the measurement area, as shown in Figure 4 As shown in (a), there are two intersection points between the ray and the boundary of the survey area, namely a1 and a2. At this time, the route layout direction is (the angle between the ray and the true north direction), and then rotate the measurement area clockwise. After rotation, the measurement area is as follows Figure 4As shown in (b), the ray and become horizontal at this time, and a horizontal ray is obtained, where the horizontal ray and the boundary of the rotation measurement area have two intersection points, namely b1 (corresponding to a1) and b2 (corresponding to a2). A is the highest point of the rotation measurement area, at which the Y value reaches the maximum value, and B is the lowest point of the rotation measurement area, at which the Y value reaches the minimum value. The range of the Y value is the range of the intersection of the horizontal ray and the Y axis on the Y axis.

[0083] After determining the range threshold of the horizontal ray, the terminal device moves the horizontal ray with the lateral baseline length as the interval to obtain all horizontal rays within the range threshold and the coordinates of the intersection of the horizontal ray and the boundary of the rotation measurement area. The horizontal ray between two adjacent intersections is a parallel route, and all parallel routes constitute a route set. Figure 4 As shown in (c), after determining the range threshold of the horizontal ray, the terminal device starts to emit horizontal rays from point B (the lowest point of the measurement area after rotation) to obtain the first horizontal ray, and then translates the first horizontal ray along the positive direction of the Y axis with a translation interval equal to the length of the lateral baseline to obtain the second horizontal ray. Similarly, all horizontal rays in the measurement area after rotation can be obtained. Since the horizontal rays between two adjacent intersections are parallel routes, as shown in Figure 4 As shown in (d), the horizontal route corresponding to each horizontal ray is determined based on all horizontal rays in the measurement area after rotation, and then the route set in the measurement area after rotation is obtained.

[0084] The lateral baseline length is calculated from the camera CCD size, camera focal length and lateral overlap of the flight path. The specific calculation formula is:

[0085] ,in, is the lateral baseline length of the route, is the photographic scale, is the lateral overlap of the route, is the width of the camera CCD size.

[0086] It should be noted that the camera's photography ratio is usually relatively fixed. In digital cameras, common photography ratios include 4:3, 3:2, 16:9, etc. These photography ratios are usually determined by the physical size of the camera sensor.

[0087] In addition, the lateral overlap of a route refers to the degree of overlap between adjacent photos taken on the same route. During navigation, the camera will continuously take photos of the ground, and there will be a certain degree of lateral overlap between adjacent photos, which is the lateral overlap. Similarly, the lateral overlap is usually expressed as a percentage. For example, an 80% lateral overlap means that there is an 80% overlap area between adjacent photos.

[0088] S104. In the process of executing steps S105 to S107, each parallel route in the route set is taken as a first parallel route and the altitude is adjusted respectively.

[0089] After determining the route set, the terminal device takes each parallel route in the route set as the first parallel route and adjusts the altitude respectively, so that the ground resolution and overlap of the adjusted first parallel routes meet the preset resolution range and preset overlap range respectively, and obtains the first parallel route set of the survey area, which is the route planning result of the survey area. Among them, the altitude is equal to the sum of the elevation of the reference surface and the preset photography relative altitude, the elevation of the reference surface is the altitude of the reference surface, and the preset photography relative altitude is the distance between the manned aircraft (aircraft) and the reference surface.

[0090] S105. Determine, in turn, under a plurality of reference planes at different elevations whether the overlap of the first parallel flight paths is within a preset overlap range, and whether the ground resolution of the first parallel flight paths is within a preset resolution range.

[0091] The terminal device sequentially determines whether the overlap of the first parallel route is within a preset overlap range and whether the ground resolution of the first parallel route is within a preset resolution range under multiple reference surfaces at different elevations; the elevation values ​​of the multiple reference surfaces at different elevations are, in order, an average elevation value of the first parallel route, an elevation value of the highest point of the first parallel route, and an elevation value of the lowest point of the first parallel route;

[0092] Specifically, the terminal device first sets the elevation of the reference plane of the first parallel route to the average elevation value of the first parallel route, and then calculates the ground resolution and lateral overlap of the first parallel route at the highest point or the lowest point under the reference plane whose elevation is the average elevation value of the first parallel route, and then determines, based on the calculation result, that the overlap of the first parallel route at the highest point or the lowest point is within a preset overlap range and that the ground resolution of the first parallel route is within a preset resolution range;

[0093] Similarly, it can be determined whether the overlap of the first parallel route under other reference planes with different elevations is within a preset overlap range, and whether the ground resolution of the first parallel route is within a preset resolution range, which will not be repeated here.

[0094] It should be noted that, under the condition that the reference surface remains unchanged, the lateral overlap of the first parallel route reaches the minimum value and the ground resolution reaches the maximum value when passing through the highest point, and the lateral overlap reaches the maximum value and the ground resolution reaches the minimum value when passing through the lowest point. Therefore, as long as the overlap and ground resolution obtained by the first parallel route when passing through the highest point or the lowest point are within the preset overlap range and the preset resolution range, the overlap and ground resolution obtained by the first parallel route when passing through other elevations must also meet the requirements.

[0095] S106. If, under the currently determined reference plane, the overlap of the first parallel flight path is not within a preset overlap range or the ground resolution is not within a preset resolution range, then sequentially select the next reference plane from among the multiple reference planes with different elevations for determination.

[0096] Specifically, the terminal device first sets the elevation of the reference plane of the first route to the average elevation value of the first parallel route, and then calculates the ground resolution and lateral overlap of the first parallel route at the highest point or the lowest point under the reference plane whose elevation is the average elevation value of the first parallel route, and then determines whether the overlap of the first parallel route at the highest point or the lowest point is within a preset overlap range and whether the ground resolution of the first parallel route is within a preset resolution range based on the calculation result;

[0097] If it is detected that the overlap of the first parallel route is not within the preset overlap range or the ground resolution is not within the preset resolution range, the terminal device continues to set the elevation of the reference plane of the first route to the elevation value of the highest point of the first parallel route, and then calculates the ground resolution and lateral overlap of the first parallel route at the highest point or the lowest point under the reference plane whose elevation is the elevation value of the highest point of the first parallel route, and determines whether the first parallel route simultaneously satisfies that the overlap obtained at the highest point or the lowest point is within the preset overlap range and the ground resolution of the first parallel route is within the preset resolution range;

[0098] If not, the terminal device continues to set the elevation of the reference plane of the first route to the elevation value of the lowest point of the first parallel route, and then calculates the ground resolution and lateral overlap of the first parallel route when passing through the highest point or the lowest point under the reference plane whose elevation is the elevation value of the lowest point of the first parallel route, and determines whether the first parallel route simultaneously satisfies that the overlap obtained when passing through the highest point or the lowest point is within the preset overlap range and the ground resolution of the first parallel route is within the preset resolution range.

[0099] In addition, when the elevation of the reference plane of the first route is set to the elevation value of the lowest point of the first parallel route, if it is still detected that the overlap obtained by the first parallel route when passing through the highest point or the lowest point is not within the preset overlap range or the ground resolution of the first parallel route is not within the preset resolution range, the elevation of the reference plane of the first route is directly set to the elevation value of the highest point of the first parallel route.

[0100] It should be noted that the overlap degree of the first parallel routes in the embodiment of the present application refers to the lateral overlap degree of the first parallel routes.

[0101] S107: If, under the currently determined reference plane, the overlap of the first parallel flight path is within a preset overlap range and the ground resolution is within a preset resolution range, the currently determined reference plane is used as the reference plane of the first parallel flight path.

[0102] Specifically, the terminal device determines whether the overlap of the first parallel route is within a preset overlap range and whether the ground resolution of the first parallel route is within a preset resolution range under multiple reference planes at different elevations in turn. If it is detected that under the currently determined reference plane, the overlap of the first parallel route at the highest point or the lowest point is within the preset overlap range and the ground resolution of the first parallel route is within the preset resolution range, the currently determined reference plane is directly used as the reference plane of the first parallel route, and subsequent reference planes are no longer determined.

[0103] Through the above embodiments, the terminal device can generate a real three-dimensional terrain scene of the survey area based on the Tiandi Map image data and the SRTM terrain data, and then use the polygon filling algorithm to calculate the route set in the survey area based on the three-dimensional scene. It is judged whether the overlap and ground resolution of each parallel route in the route set meet the requirements in sequence under the reference planes of different elevation values ​​to automatically adjust the height of the first parallel route, which can deal with the problem of realizing accurate route planning in complex terrain areas, so that the route can meet the overlap and resolution requirements at the same time, and effectively realize accurate aerial photography.

[0104] The following is a more detailed description of the process of the method provided by this implementation. Figure 2 , is another flow chart of a method for calculating a variable altitude route based on a three-dimensional scene under a manned aircraft load in an embodiment of the present application.

[0105] S201, determining the boundary points of the measurement area and the coordinates of the boundary points of the measurement area after rotation according to the terrain-level three-dimensional scene.

[0106] After the terminal device generates a terrain-level three-dimensional scene of the survey area based on the Tiandi Map image data and SRTM terrain data, it can determine the boundary of the survey area and place the boundary of the survey area in a two-dimensional plane to determine the coordinates of each boundary point. The coordinates of the boundary points of the survey area after rotation can be calculated based on the route layout direction. The formula for calculating the coordinates of the boundary points of the survey area after rotation is:

[0107] , ,in, and are the horizontal and vertical coordinates of the boundary of the survey area, and are the horizontal and vertical coordinates of the boundary of the measurement area after rotation, The direction angle of the route layout.

[0108] S202, emitting horizontal rays from the lowest point of the rotated measurement area, spreading the rays over the entire measurement area, and obtaining a set of routes within the measurement area.

[0109] After obtaining the coordinates of the boundary points of the rotated measurement area, the terminal device can determine the minimum and maximum values ​​of the boundary of the rotated measurement area in the Y-axis direction (vertical coordinate) to obtain the range threshold of the Y value, which is the range threshold of the horizontal ray or parallel route.

[0110] The terminal device starts to emit horizontal rays from the lowest point of the measurement area after rotation, wherein the lowest point of the measurement area after rotation is the position of the horizontal ray when the Y value reaches the minimum value. From the lowest point, the horizontal ray is translated in the positive direction of the Y axis at intervals of the lateral baseline length until the horizontal ray covers the entire measurement area. The horizontal rays in the measurement area are parallel routes, thereby obtaining a set of routes in the measurement area.

[0111] S203: Determine whether the difference between the elevation value of the highest point and the elevation value of the lowest point of the first parallel route is less than a preset amplitude threshold.

[0112] After determining the route set, the terminal device sets the parallel routes in the route set as the first parallel routes in turn, and then determines whether the difference between the elevation value of the highest point and the elevation value of the lowest point of the first parallel route is less than a preset amplitude threshold. If so, it goes to step S204, if not, it goes to step S205.

[0113] It should be noted that the size of the preset amplitude threshold reflects the change amplitude of the terrain elevation in the terrain-level three-dimensional scene corresponding to the first parallel route. When the difference between the elevation value of the highest point and the elevation value of the lowest point of the first parallel route is greater than or equal to the preset amplitude threshold, it means that the change amplitude of the terrain elevation in the terrain-level three-dimensional scene corresponding to the first parallel route is large. When the difference between the elevation value of the highest point and the elevation value of the lowest point of the first parallel route is less than the preset amplitude threshold, it means that the change amplitude of the terrain elevation in the terrain-level three-dimensional scene corresponding to the first parallel route is small.

[0114] S204: setting the average value of the altitude in the terrain-level three-dimensional scene corresponding to the first parallel route as the average elevation value of the first parallel route.

[0115] When the terminal device detects that the difference between the elevation value of the highest point and the elevation value of the lowest point of the first parallel route is less than a preset amplitude threshold, the terminal device directly sets the average value of the altitude in the terrain-level three-dimensional scene corresponding to the first parallel route as the average elevation value of the first parallel route.

[0116] S205: Set the median value of the altitude in the terrain-level three-dimensional scene corresponding to the first parallel route as the average altitude value of the first parallel route.

[0117] When the terminal device detects that the difference between the elevation value of the highest point and the elevation value of the lowest point of the first parallel route is greater than or equal to a preset amplitude threshold, the terminal device directly sets the median value of the altitude in the terrain-level three-dimensional scene corresponding to the first parallel route as the average elevation value of the first parallel route.

[0118] It should be noted that the elevation value of the highest point of the first parallel route refers to the altitude of the highest point in the terrain-level three-dimensional scene corresponding to the first parallel route, and the elevation value of the lowest point of the first parallel route refers to the altitude of the lowest point in the terrain-level three-dimensional scene corresponding to the first parallel route.

[0119] S206: Set the reference planes corresponding to the average elevation value of the first parallel route, the elevation value of the highest point, and the elevation value of the lowest point in sequence as the current reference plane.

[0120] The terminal device determines three reference planes corresponding to the first parallel route, and the three reference planes are respectively a first reference plane, a second reference plane and a third reference plane, wherein the elevation of the first reference plane is the average elevation value of the first parallel route, the elevation of the second reference plane is the elevation value of the highest point of the first parallel route, and the elevation of the third reference plane is the elevation value of the lowest point of the first parallel route.

[0121] When planning a route, the terminal device first sets the first reference plane as the reference plane of the first parallel route. If it is detected that the first reference plane does not meet the requirements, the reference plane of the first parallel route is switched to the second reference plane. If the second reference plane also does not meet the requirements, the reference plane of the first parallel route is switched to the third reference plane.

[0122] The reference plane of the first parallel flight path meets the required standards that the overlap and the ground resolution are respectively within a preset overlap range and a preset resolution range.

[0123] S207: Calculate the minimum lateral overlap and the maximum lateral overlap of the first parallel flight path according to the elevation value of the current reference plane.

[0124] After detecting that the reference plane has changed, the terminal device will calculate the minimum lateral overlap and maximum lateral overlap of the first parallel route under the current reference plane. The specific calculation formula is:

[0125] , , , , where H is the relative altitude of photography, is the elevation value of the highest point of the first parallel route, is the elevation value of the lowest point of the first parallel route, is the elevation value of the current datum surface, is the lateral baseline length, is the lateral image length, f is the focal length of the camera, is the minimum practical ground resolution, is the maximum practical ground resolution, is the minimum value of the actual lateral overlap, is the maximum value of the actual lateral overlap, Pix is ​​the camera pixel;

[0126] In addition, the relative altitude of photography is the distance from the aircraft to the reference surface, and the lateral image length is the length of the camera CCD size.

[0127] The minimum ground resolution of the first parallel route of the current reference plane can be obtained from the formula ( ) and the maximum value ( ), minimum lateral overlap ( ) and the maximum lateral overlap ( ).

[0128] S208: Determine whether the actual lateral overlap is within a preset overlap range, and whether the actual ground resolution is within a preset resolution range.

[0129] After determining the minimum lateral overlap and the maximum lateral overlap of the first parallel route under the current reference plane, the terminal device determines whether the overlap and the ground resolution of the first parallel route under the current reference plane meet the requirements by determining whether the actual lateral overlap is within the preset overlap range and whether the actual ground resolution is within the preset resolution range. Specifically, under the current reference plane, the first parallel route under the current reference plane meets the requirements only when the minimum value of the actual lateral overlap and the maximum value of the actual lateral overlap of the first parallel route are both within the preset overlap range and the minimum value and the maximum value of the ground resolution of the first parallel route are also within the preset resolution range.

[0130] It should be noted that in the embodiment of the present application, the minimum lateral overlap of the first parallel route can also be referred to as the minimum value of the actual lateral overlap of the first parallel route; the maximum lateral overlap of the first parallel route can also be referred to as the maximum value of the actual lateral overlap of the first parallel route.

[0131] S209: If, under the currently determined reference plane, the overlap of the first parallel routes is not within a preset overlap range or the ground resolution is not within a preset resolution range, then sequentially select the next reference plane from among the multiple reference planes with different elevations for determination.

[0132] The terminal device sets the datum planes corresponding to the average elevation value, the elevation value of the highest point and the elevation value of the lowest point of the first parallel route as the current datum plane in sequence, and judges the overlap and ground resolution of the first parallel route under each datum plane. If it is detected that the overlap of the first parallel route is not within a preset overlap range or the ground resolution is not within a preset resolution range under the currently judged datum plane, the next datum plane among multiple datum planes with different elevations is selected in sequence for judgment, and the judgment order of the datum planes is the first datum plane, the second datum plane and the third datum plane respectively.

[0133] S210. If the overlap of the first parallel route cannot be within a preset overlap range and the ground resolution cannot be within a preset resolution range at the same time under all reference planes, the reference plane corresponding to the elevation value of the highest point of the first parallel route is set as the reference plane of the first parallel route.

[0134] The terminal device will judge the overlap rate and ground resolution of the first parallel route under the first reference plane, the second reference plane and the third reference plane in sequence. If it is detected that the overlap rate of the first parallel route cannot be within the preset overlap rate range and the ground resolution cannot be within the preset resolution range at the same time under all reference planes, the terminal device directly sets the reference plane corresponding to the elevation value of the highest point of the first parallel route as the reference plane of the first parallel route.

[0135] It is understandable that in the process of route planning, the overlap of flight routes is inversely proportional to the ground resolution. On the same plane, the greater the ground resolution, the smaller the overlap of routes. However, in order to ensure the accuracy and completeness of the aerial photography results, when planning routes, if the ground resolution and overlap cannot be met at the same time, the overlap of routes should be prioritized so that there are no omissions in the aerial photography results and the aerial photography covers all areas within the survey area. For the same parallel route, when the elevation of the reference plane is equal to the elevation value of the highest point of the parallel route, the parallel route obtains the maximum altitude among all reference planes. At this time, the overlap of the parallel routes at the same elevation position obtains the maximum value, thereby giving priority to ensuring the overlap of routes.

[0136] S211 , calculating the coordinates of the first exposure point and the coordinates of other exposure points according to the coordinates of the intersection of the flight line and the boundary of the measurement area.

[0137] The terminal device starts to emit horizontal rays from the lowest point of the measurement area after rotation, covers the entire measurement area with rays, and after obtaining the route set in the measurement area, calculates the coordinates of the intersection of each parallel ray and the boundary of the measurement area after rotation. The formula for calculating the coordinates of the intersection of each parallel ray and the boundary of the measurement area after rotation is:

[0138] , ,in, is the length of the lateral baseline, P1 and P2 are the two endpoints of the side where the horizontal ray and the rotated survey area polygon may intersect, and X is the horizontal coordinate of the intersection of the parallel ray and the rotated survey area boundary. is the minimum value of the measurement area boundary in the Y-axis direction (ordinate) after the rotation. It is the maximum value of the measurement area boundary in the Y-axis direction (vertical coordinate) after the rotation.

[0139] The terminal equipment is based on the lateral baseline length Increase , calculate the intersection coordinates of each parallel ray and the rotated measurement area boundary in turn until ≥ So far, all routes have been calculated.

[0140] After calculating the coordinates of the intersections of all horizontal rays and the boundary of the measurement area after rotation, the terminal device needs to convert the coordinates of the intersections of the boundary of the measurement area after rotation into the coordinates of the intersections of the boundary of the measurement area before rotation. The conversion formula of the coordinates is:

[0141] , ,in, and are the horizontal and vertical coordinates of the boundary of the measurement area before rotation, and are the horizontal and vertical coordinates of the boundary of the measurement area after rotation, The direction angle of the route layout.

[0142] After calculating the coordinates of the horizontal ray and the measurement area boundary point (the measurement area boundary point before rotation), the terminal device determines the first intersection coordinates (starting point coordinates) and the last intersection coordinates (end point coordinates) of each horizontal ray and the measurement area boundary, and then calculates the first exposure point coordinates and other exposure point coordinates of the horizontal ray based on the first intersection coordinates and the last intersection coordinates. The calculation formula of the first exposure point coordinates is:

[0143] ,in, and The starting coordinates of the route ( , ), and The coordinates of the end point of the route ( , ), and The coordinates of the first exposure point that constitutes the route ( , ), H is the preset photography relative altitude, and d is the Gaussian plane straight line distance between the routes.

[0144] After calculating the coordinates of the first exposure point, the terminal device adds the heading baseline length to the value of H to obtain the new value of H, and then substitutes the new value of H into the calculation formula of the first exposure point coordinates to obtain the coordinates of the next exposure point. Similarly, the coordinates of other exposure points except the first exposure point coordinates can be obtained. The calculation formula of the new value of H is:

[0145] ,in, is the heading baseline length.

[0146] S212: After determining the reference plane of the first parallel flight path, adjust the coordinates of the first exposure point and the coordinates of the other exposure points according to the altitude of the first parallel flight path.

[0147] Because the altitude is equal to the sum of the elevation of the reference plane and the preset photography relative altitude, after the reference plane of the first parallel route is determined, the altitude of the first parallel route is also determined. Since the altitudes of the same parallel route are the same, the coordinates of the first exposure point and other exposure points in the terrain-level three-dimensional scene are determined based on the altitude of the first parallel route.

[0148] S213: This step is the same as step S107 and will not be described again here.

[0149] Specific as Figure 5The figure is a schematic diagram of an exemplary scenario in which a terminal device selects a reference plane for a first parallel route in an embodiment of the present application.

[0150] The elevations of datum plane a, datum plane b and datum plane c correspond to the elevation value of the lowest point, the average elevation value and the elevation value of the highest point of the first parallel route respectively. The terminal device first sets the reference plane b as the reference plane of the first parallel route, and determines whether the overlap and the ground resolution meet the requirements. If so, the reference plane b is used as the reference plane of the first parallel route; if the overlap or the ground resolution of the first parallel route does not meet the requirements under the reference plane b, the reference plane c is set as the reference plane of the first parallel route, and determines whether the overlap and the ground resolution meet the requirements. If the overlap and the ground resolution of the first parallel route meet the requirements under the reference plane c, the reference plane c is used as the reference plane of the first parallel route. Otherwise, if the overlap or the ground resolution of the first parallel route does not meet the requirements under the reference plane c, the reference plane a is set as the reference plane of the first parallel route, and determines whether the overlap and the ground resolution meet the requirements. If so, the reference plane a is used as the reference plane of the first parallel route. If the overlap or the ground resolution of the first parallel route does not meet the requirements under the reference plane a, the reference plane c is directly used as the reference plane of the first parallel route, so that the overlap of the first parallel route obtains the maximum value.

[0151] The other parallel routes in the route set are set as the first parallel route in sequence to obtain all the planned routes in the survey area.

[0152] The method for calculating a variable altitude route based on a three-dimensional scene under a manned aircraft load provided in the embodiment of the present application has the following beneficial effects:

[0153] The terminal device can generate a real three-dimensional terrain scene of the survey area based on the Tiandi Map image data and SRTM terrain data, and then use the polygon filling algorithm to calculate the route set in the survey area based on the three-dimensional scene. It can automatically adjust the height of the first parallel route by judging whether the overlap and ground resolution of each parallel route in the route set meet the requirements in sequence under the reference plane of different elevation values, so as to deal with the problem of realizing accurate route planning in complex terrain areas, so that the route can meet the overlap and resolution requirements at the same time, and effectively realize accurate aerial photography.

[0154] The terminal device determines the set of boundary points of the survey area according to the three-dimensional terrain scene, and then emits horizontal rays at a certain interval from the lowest point of the rotated survey area, and uses the intersection of the horizontal rays and the boundary to determine the single route and the route set, and then determines the coordinates of the first exposure point and other exposure points according to the coordinates of the intersection of the parallel route and the survey area boundary, thereby planning the position of the shooting point in each parallel route, and after determining the reference plane of the first parallel route, the altitude of the first parallel route can be calculated, and then the coordinates of the first exposure point and other exposure points in the terrain-level three-dimensional scene can be determined in combination with the determined first exposure point coordinates and other exposure point coordinates, so that aerial photography can better adapt to changes in complex areas.

[0155] The terminal device can set reference planes with different elevation values ​​in sequence, and calculate the maximum and minimum values ​​of the lateral overlap and ground resolution under each reference plane in sequence according to the formula. The reference plane of the first parallel route is determined by judging whether the maximum and minimum values ​​of the lateral overlap and ground resolution of the current reference plane meet the preset overlap and resolution ranges. The average elevation value of the first parallel route can also be determined based on the terrain features of the terrain-level three-dimensional scene corresponding to the first parallel route, so that the selected average elevation value of the first parallel route meets the requirements of overlap and resolution as directly as possible. In addition, when the overlap and ground resolution requirements cannot be met at the same time under all reference planes, the reference plane corresponding to the elevation value of the highest point of the first parallel route can be set as the reference plane of the first parallel route, thereby giving priority to ensuring that the overlap of the first parallel route meets the requirements.

[0156] The following describes the terminal device provided in the embodiment of the present application. The terminal device can implement the above-mentioned variable altitude route calculation method based on a three-dimensional scene under a manned aircraft load, as shown in the following figure. Figure 6 FIG. 1 is a schematic diagram of a module structure of a terminal device in an embodiment of the present application, which specifically includes:

[0157] A terrain-level 3D scene construction module 601 is used to generate a terrain-level 3D scene of the survey area based on Tiandi Map image data and SRTM terrain data;

[0158] A preset range determination module 602 is used to receive a preset resolution range and a preset overlap range input by a user;

[0159] A parallel route calculation module 603 is used to calculate a route set in the survey area according to the survey area boundary of the terrain-level three-dimensional scene and a polygon filling algorithm, wherein the route set includes a plurality of parallel routes, and the intervals between adjacent parallel routes are equal;

[0160] A first parallel route selection module 604 is used to adjust the altitude of each parallel route in the route set as a first parallel route, wherein the altitude is equal to the sum of the elevation of the reference plane and a preset photography relative altitude, wherein the elevation of the reference plane is the altitude of the reference plane, and the preset photography relative altitude is the distance between the manned aircraft and the reference plane;

[0161] The overlap and resolution judgment module 605 is used to judge whether the overlap of the first parallel route is within a preset overlap range and whether the ground resolution of the first parallel route is within a preset resolution range under multiple reference surfaces at different elevations in sequence; the elevation values ​​of the multiple reference surfaces at different elevations are, in order: an average elevation value of the first parallel route, an elevation value of the highest point of the first parallel route, and an elevation value of the lowest point of the first parallel route;

[0162] A reference plane selection module 606 is used to select the next reference plane from the multiple reference planes with different elevations for judgment in order if the overlap of the first parallel route is not within a preset overlap range or the ground resolution is not within a preset resolution range under the currently judged reference plane;

[0163] The reference plane determination module 607 is used to use the currently determined reference plane as the reference plane of the first parallel flight path if the overlap of the first parallel flight path is within a preset overlap range and the ground resolution is within a preset resolution range under the currently determined reference plane.

[0164] In some embodiments, the parallel route calculation module 603 further includes:

[0165] The boundary point coordinate calculation unit is used to determine the boundary point set of the measurement area according to the terrain-level three-dimensional scene; calculate the coordinates of the boundary points of the measurement area after rotation according to the route layout direction and the boundary point set of the measurement area;

[0166] The route set determination unit is used to emit horizontal rays from the lowest point of the rotated measurement area and spread the rays over the entire measurement area to obtain a route set in the measurement area. The route is a horizontal ray segment between the first and last intersection points of the horizontal ray with the rotated measurement area.

[0167] In some embodiments, the route set determination unit further includes:

[0168] An exposure point coordinate calculation subunit, used to calculate the coordinates of the first exposure point according to the coordinates of the intersection of the flight line and the boundary of the measurement area;

[0169] The coordinates of other exposure points are calculated based on the heading baseline length and the coordinates of the first exposure point. The heading baseline length is determined based on the width of the camera CCD size, the heading overlap, the camera focal length and the preset photography relative altitude.

[0170] The calculation formula of the coordinates of the first exposure point is:

[0171] ,in, and The starting coordinates of the route ( , ), and The coordinates of the end point of the route ( , ), and The coordinates of the first exposure point that constitutes the route ( , ), H is the preset photography relative altitude, and d is the Gaussian plane straight line distance between the routes.

[0172] In some embodiments, the route set determination unit further includes:

[0173] The exposure point coordinate adjustment subunit is used to determine the flight altitude of the first parallel route according to the elevation value of the reference plane of the first parallel route after determining the reference plane of the first parallel route;

[0174] The coordinates of the first exposure point and the coordinates of the other exposure points are adjusted according to the altitude of the first parallel route.

[0175] In some embodiments, the overlap and resolution determination module 605 further includes:

[0176] The overlap and resolution calculation unit is used to sequentially set the average elevation value of the first parallel route, the elevation value of the highest point, the elevation value of the lowest point, and the corresponding reference plane as the current reference plane;

[0177] The minimum lateral overlap and the maximum lateral overlap of the first parallel route are calculated according to the elevation value of the current reference plane. The calculation formulas of the minimum lateral overlap and the maximum lateral overlap are as follows:

[0178] , , , , where H is the relative altitude of photography, is the elevation value of the highest point of the first parallel route, is the elevation value of the lowest point of the first parallel route, is the elevation value of the current datum surface, is the lateral baseline length, is the lateral image length, f is the focal length of the camera, pix is ​​the camera pixel, is the minimum practical ground resolution, is the maximum practical ground resolution, is the minimum value of the actual lateral overlap, is the maximum value of the actual lateral overlap;

[0179] The overlap and resolution judgment unit is used to judge whether the minimum value of the actual lateral overlap and the maximum value of the actual lateral overlap are within a preset overlap range, and whether the minimum value of the actual ground resolution and the maximum value of the actual ground resolution are within a preset resolution range, the minimum value and the maximum value of the preset overlap range are respectively the designed minimum lateral overlap and the designed maximum lateral overlap, and the minimum value and the maximum value of the preset resolution range are respectively the preset minimum resolution and the preset maximum resolution.

[0180] In some embodiments, the terminal device further includes:

[0181] The average elevation value determination module is used to determine whether the difference between the elevation value of the highest point and the elevation value of the lowest point of the first parallel route is less than a preset amplitude threshold;

[0182] If yes, then the average value of the altitude in the terrain-level three-dimensional scene corresponding to the first parallel route is set as the average elevation value of the first parallel route;

[0183] If not, the median value of the altitude in the terrain-level three-dimensional scene corresponding to the first parallel route is set as the average altitude value of the first parallel route;

[0184] The overlap priority guarantee module is used to set the reference plane corresponding to the elevation value of the highest point of the first parallel route as the reference plane of the first parallel route when it is detected that all reference planes cannot simultaneously satisfy that the overlap of the first parallel route is within a preset overlap range and the ground resolution is within a preset resolution range.

[0185] The terminal device provided in the present application can implement a variable altitude route calculation method based on a three-dimensional scene under a manned aircraft load provided in the above embodiment, which will not be repeated here.

[0186] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructions (computer programs), or by controlling related hardware through instructions (computer programs), and the instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. The electronic device of this embodiment includes a storage medium and a processor, wherein a plurality of instructions are stored in the storage medium, and the instructions can be loaded by the processor to execute any step of the method provided in the embodiment of the present invention.

[0187] Specifically, the storage medium and the processor are electrically connected directly or indirectly to realize data transmission or interaction. For example, these elements can be electrically connected to each other through one or more signal lines. The storage medium stores computer execution instructions for implementing the data access control method, including at least one software function module that can be stored in the storage medium in the form of software or firmware. The processor executes various functional applications and data processing by running the software program and module stored in the storage medium. The storage medium can be, but is not limited to, random access storage medium (Random Access Memory, referred to as: RAM), read-only storage medium (Read Only Memory, referred to as: ROM), programmable read-only storage medium (Programmable Read-Only Memory, referred to as: PROM), erasable read-only storage medium (Erasable Programmable Read-Only Memory, referred to as: EPROM), electrically erasable read-only storage medium (Electric Erasable Programmable Read-Only Memory, referred to as: EEPROM), etc. Among them, the storage medium is used to store programs, and the processor executes the program after receiving the execution instruction.

[0188] Furthermore, the software programs and modules in the above-mentioned storage medium may also include an operating system, which may include various software components and / or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components. The processor may be an integrated circuit chip having signal processing capabilities. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., which may implement or execute the various methods, steps and logic flow diagrams disclosed in this embodiment. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0189] Since the instructions stored in the storage medium can execute the steps in any method provided in the embodiments of the present invention, the beneficial effects of any method provided in the embodiments of the present invention can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0190] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for calculating a variable altitude route based on a three-dimensional scene under a manned aircraft load, characterized in that: include: Generate terrain-level 3D scenes of the survey area based on Tiandi Map image data and SRTM terrain data; Receive a preset resolution range and a preset overlap range input by a user; A route set in the survey area is calculated based on the survey area boundary of the terrain-level three-dimensional scene and a polygon filling algorithm, wherein the route set includes a plurality of parallel routes, and the intervals between adjacent parallel routes are equal; Taking each parallel route in the route set as a first parallel route and adjusting the altitude respectively, the altitude is equal to the sum of the elevation of the reference plane and the preset photography relative altitude, the elevation of the reference plane is the altitude of the reference plane, and the preset photography relative altitude is the distance between the manned aircraft and the reference plane; determining, in sequence, under a plurality of datum planes at different elevations, whether the overlap of the first parallel route is within a preset overlap range, and whether the ground resolution of the first parallel route is within a preset resolution range; the elevation values ​​of the plurality of datum planes at different elevations are, in sequence, an average elevation value of the first parallel route, an elevation value of the highest point of the first parallel route, and an elevation value of the lowest point of the first parallel route; If, under the currently determined reference plane, the overlap of the first parallel route is not within a preset overlap range or the ground resolution is not within a preset resolution range, then selecting the next reference plane among the plurality of reference planes at different elevations in order for determination; If, under the currently determined reference plane, the overlap of the first parallel flight path is within a preset overlap range and the ground resolution is within a preset resolution range, the currently determined reference plane is used as the reference plane of the first parallel flight path.

2. The method according to claim 1, characterized in that The step of calculating the route set within the survey area based on the survey area boundary of the terrain-level three-dimensional scene and the polygon filling algorithm specifically includes: Determining a set of boundary points of a survey area according to the terrain-level three-dimensional scene; Calculating the coordinates of the boundary points of the rotated measurement area according to the route layout direction and the measurement area boundary point set; A horizontal ray is emitted from the lowest point of the rotated measurement area to cover the entire measurement area, thereby obtaining a set of routes within the measurement area, wherein the route is a horizontal ray segment between the first intersection point and the last intersection point of the horizontal ray with the rotated measurement area.

3. The method according to claim 2, characterized in that After the step of emitting horizontal rays from the lowest point of the rotating measurement area and spreading the rays over the entire measurement area to obtain a set of routes within the measurement area, the method further includes: Calculating the coordinates of the first exposure point according to the coordinates of the intersection of the route and the boundary of the measurement area; Calculating the coordinates of other exposure points according to the heading baseline length and the coordinates of the first exposure point, wherein the heading baseline length is determined according to the width of the camera CCD size, the heading overlap, the camera focal length and the preset photography relative altitude; The calculation formula of the first exposure point coordinates is: ,in, and The starting coordinates of the route ( , ), and The coordinates of the end point of the route ( , ), and The coordinates of the first exposure point that constitutes the route ( , ), H is the preset photography relative altitude, and d is the Gaussian plane straight line distance between the routes.

4. The method according to claim 3, characterized in that: After the step of calculating the coordinates of other exposure points according to the heading baseline length and the first exposure point coordinates, the method further includes: After determining the reference plane of the first parallel route, determining the flight altitude of the first parallel route according to the elevation value of the reference plane of the first parallel route; The coordinates of the first exposure point and other exposure points are adjusted according to the altitude of the first parallel route.

5. The method according to claim 1, characterized in that The step of determining whether the overlap of the first parallel routes is within a preset overlap range and whether the ground resolution of the first parallel routes is within a preset resolution range under a plurality of reference planes at different elevations in sequence specifically includes: The average elevation value of the first parallel route, the elevation value of the highest point, the elevation value of the lowest point, and the corresponding reference plane are set as the current reference plane in order; The minimum lateral overlap and the maximum lateral overlap of the first parallel routes are calculated according to the elevation value of the current reference plane. The calculation formulas of the minimum lateral overlap and the maximum lateral overlap are: , , , , where H is the relative altitude of photography, is the elevation value of the highest point of the first parallel route, is the elevation value of the lowest point of the first parallel route, is the elevation value of the current reference surface, is the lateral baseline length, is the lateral image length, f is the focal length of the camera, pix is ​​the camera pixel, is the minimum practical ground resolution, is the maximum value of the actual ground resolution, is the minimum value of the actual lateral overlap, is the maximum value of the actual lateral overlap; Determine whether the minimum value of the actual lateral overlap and the maximum value of the actual lateral overlap are within the preset overlap range, and whether the minimum value of the actual ground resolution and the maximum value of the actual ground resolution are within the preset resolution range, the minimum value and the maximum value of the preset overlap range being the designed minimum lateral overlap and the designed maximum lateral overlap, respectively, and the minimum value and the maximum value of the preset resolution range being the preset minimum resolution and the preset maximum resolution, respectively.

6. The method according to claim 1, characterized in that Before the step of determining whether the overlap of the first parallel routes is within a preset overlap range and whether the ground resolution of the first parallel routes is within a preset resolution range under a plurality of reference planes at different elevations in sequence, the method further includes: Determining whether the difference between the elevation value of the highest point and the elevation value of the lowest point of the first parallel route is less than a preset amplitude threshold; If yes, setting the average value of the altitude in the terrain-level three-dimensional scene corresponding to the first parallel route as the average elevation value of the first parallel route; If not, the median value of the altitude in the terrain-level three-dimensional scene corresponding to the first parallel route is set as the average elevation value of the first parallel route.

7. The method according to claim 1, characterized in that After the step of selecting the next reference plane of the plurality of reference planes with different elevations for judgment in sequence if the overlap of the first parallel routes is not within the preset overlap range or the ground resolution is not within the preset resolution range under the currently judged reference plane, the method further includes: If the overlap of the first parallel route cannot be within the preset overlap range and the ground resolution cannot be within the preset resolution range at the same time under all reference planes, the reference plane corresponding to the elevation value of the highest point of the first parallel route is set as the reference plane of the first parallel route.

8. A terminal device for implementing a method for calculating a variable altitude route based on a three-dimensional scene under a manned aircraft load, characterized in that: include: The terrain-level 3D scene construction module is used to generate the terrain-level 3D scene of the survey area based on the Tiandi Map image data and SRTM terrain data; A preset range determination module, used to receive a preset resolution range and a preset overlap range input by a user; A parallel route calculation module, used to calculate a route set in the survey area according to the survey area boundary of the terrain-level three-dimensional scene and a polygon filling algorithm, wherein the route set includes a plurality of parallel routes, and the spacing between adjacent parallel routes is equal; A first parallel route selection module is used to adjust the altitude of each parallel route in the route set as a first parallel route, wherein the altitude is equal to the sum of the elevation of the reference plane and a preset photography relative altitude, wherein the elevation of the reference plane is the altitude of the reference plane, and the preset photography relative altitude is the distance between the manned aircraft and the reference plane; The overlap and resolution judgment module is used to judge whether the overlap of the first parallel route is within a preset overlap range and whether the ground resolution of the first parallel route is within a preset resolution range under multiple reference planes at different elevations in sequence; the elevation values ​​of the multiple reference planes at different elevations are, in order: an average elevation value of the first parallel route, an elevation value of the highest point of the first parallel route, and an elevation value of the lowest point of the first parallel route; A reference plane selection module, for selecting the next reference plane from the plurality of reference planes at different elevations for judgment in order if the overlap of the first parallel route is not within a preset overlap range or the ground resolution is not within a preset resolution range under the currently judged reference plane; The reference plane determination module is used to use the currently determined reference plane as the reference plane of the first parallel route if the overlap of the first parallel route is within a preset overlap range and the ground resolution is within a preset resolution range under the currently determined reference plane.

9. A terminal device, characterized in that: include: one or more processors and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the terminal device to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium comprising instructions, characterized in that: When the instruction is executed on the terminal device, the terminal device executes the method according to any one of claims 1 to 7.