CN118816899B - Unmanned aerial vehicle path planning method, unmanned aerial vehicle path planning device, terminal and storage medium - Google Patents
Unmanned aerial vehicle path planning method, unmanned aerial vehicle path planning device, terminal and storage medium Download PDFInfo
- Publication number
- CN118816899B CN118816899B CN202411312008.1A CN202411312008A CN118816899B CN 118816899 B CN118816899 B CN 118816899B CN 202411312008 A CN202411312008 A CN 202411312008A CN 118816899 B CN118816899 B CN 118816899B
- Authority
- CN
- China
- Prior art keywords
- viewpoint
- plane
- quality
- candidate
- sight
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C11/00—Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Automation & Control Theory (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses an unmanned aerial vehicle path planning method, a device, a terminal and a storage medium, wherein the method determines a candidate view point set according to a two-dimensional base map and a safe flight height; generating an initial viewpoint set according to a candidate viewpoint set based on plane quality and viewpoint plane pair quality, wherein the plane quality is used for measuring texture quality of a single plane, the viewpoint plane pair quality is used for measuring quality of viewpoint plane pairs constructed by the single viewpoint and the plane, optimizing the initial viewpoint set by adopting a multi-objective optimization algorithm to determine an optimized viewpoint set, and determining an unmanned aerial vehicle shooting path according to the candidate viewpoint set and the optimized viewpoint set. According to the invention, the view point set capable of reconstructing high-quality textures is obtained by introducing the plane quality and the view point plane quality, so that the problem that the prior art does not consider how to acquire high-quality image data for texture reconstruction, and the acquired image data cannot achieve an ideal texture effect when used for texture mapping is effectively solved.
Description
Technical Field
The present invention relates to the field of computer graphics, and in particular, to a method, an apparatus, a terminal, and a storage medium for unmanned aerial vehicle path planning.
Background
Construction of large-scale digital twinned cities is typically based on image material acquired by Unmanned aerial vehicles (un-manned AERIAL VEHICLE, UAV) to generate structured models with realistic textures. Current UAV acquisition methods mainly target high quality geometric reconstructions. For example, (1) a volume hierarchical representation is adopted for estimating the cost of each part of a reconstructed scene, two targets of maximizing the information gain of the view points and minimizing the path length are balanced, (2) a scene coverage model is adopted, a sub-module optimization method is formulated for determining the optimal direction of each candidate view point, an integer linear program is used for selecting the optimal path from the candidate view points, the shorter path length is obtained while maximizing the scene coverage, (3) a reconstruction metric prediction reconstruction quality is introduced, a heuristic continuous optimization method is adopted for maximizing the reconstructability of all view points in the scene, 4) a 2.5-dimensional model is estimated for the scene according to the relation between a building and corresponding shadows by adopting an adaptive unmanned aerial vehicle path planning algorithm without field investigation, a minimum view point set is selected by adopting a maximum-minimum optimization method, the reconstruction quality is maximized under the same number of view points, (5) a real-time path planning method for urban scene reconstruction is utilized for generating an initial path by utilizing a top view, the height of the building is estimated by an SLAM (real-time positioning and map construction) frame, and a special photo is shot to reveal the building detail in the two building detail and the minimum path length. These UAV path planning studies work to better and faster reconstruct complete, accurate dense models.
However, these methods do not consider how to acquire high-quality image data for texture reconstruction, so that the acquired image data cannot achieve ideal texture effect when used for texture mapping. When the acquired image is used for texture reconstruction, as the urban building surface has rich straight line characteristics and clear component structures, the problem of imbalance of a cognitive layer is very easy to occur to textures, for example, the perspective relationship of windows of a single building elevation is not uniform, and the like.
Accordingly, there is a need for improvement and development in the art.
Disclosure of Invention
The invention aims to solve the technical problems that aiming at the defects in the prior art, an unmanned aerial vehicle path planning method, an unmanned aerial vehicle path planning device, a unmanned aerial vehicle path planning terminal and a unmanned aerial vehicle storage medium are provided, and aims to solve the problems that how to collect high-quality image data aiming at texture reconstruction is not considered in the prior art, so that the collected image data cannot achieve ideal texture effect when used for texture mapping.
The technical scheme adopted by the invention for solving the problems is as follows:
in a first aspect, an embodiment of the present invention provides a method for planning a path of an unmanned aerial vehicle, where the method includes:
Acquiring a two-dimensional base map and a safe flight height of a target scene, and determining a candidate view point set according to the two-dimensional base map and the safe flight height;
Generating an initial viewpoint set according to the candidate viewpoint set based on plane quality and viewpoint plane pair quality, wherein the plane quality is used for measuring texture quality of a single plane, and the viewpoint plane pair quality is used for measuring quality of a viewpoint plane pair constructed by a single viewpoint and a plane;
Optimizing the initial viewpoint set by adopting a multi-objective optimization algorithm, and determining an optimized viewpoint set;
And determining the unmanned aerial vehicle shooting path according to the candidate viewpoint set and the optimized viewpoint set.
In one implementation method, the generating an initial viewpoint set from the candidate viewpoint set based on the planar quality and the viewpoint planar-to-quality includes:
Constructing a plurality of viewpoint plane pairs based on the candidate viewpoint sets;
Setting an initial line-of-sight direction for a viewpoint in each of the viewpoint plane pairs based on the plane quality;
And calculating the corresponding viewpoint plane pair quality of each viewpoint plane pair, and determining the initial viewpoint set according to each viewpoint plane pair quality.
In one implementation method, the setting an initial line of sight direction for the view in each of the view plane pairs based on the plane quality includes:
sampling in a 180-degree range with the reverse direction of the normal direction of the middle plane of the viewpoint plane as the center, and determining a plurality of candidate sight line directions;
And selecting the corresponding candidate sight line direction when the plane quality is maximum as the initial sight line direction of the viewpoint in the viewpoint plane centering.
In one implementation method, the method for calculating the planar mass includes:
,
Wherein, AndRespectively the perspective quality and the image quality,AndIs the weight;
perspective quality The definition is as follows:
,
Wherein, AndAs the weight of the material to be weighed,Is a set of viewpointsThe number of medium-view points,Measuring unit vectorAndThe distance between the two plates is set to be equal,Representation ofMiddle view pointIs provided with a plurality of lines of sight,Representation ofThe average line of sight direction of the middle view point,Representing a planeNormal vector of (2);
Image quality The definition is as follows:
,
Wherein, AndAs the weight of the material to be weighed,Representing the distance of the line of sightThe value after the normalization is carried out,Representation ofIs provided with a distance between the lines of sight,Representation ofThe average value of the line-of-sight distances of the middle view point,,Representative ofMiddle view point coverage planeIs defined by the width of the region of (a),Representative ofIs a width of (c).
In one implementation method, the method for calculating the quality of the viewpoint plane comprises the following steps:
,
Wherein, AndRespectively the perspective quality and the image quality,AndIs the weight;
perspective quality The definition is as follows:
,
And As the weight of the material to be weighed,Measuring unit vectorAndThe distance between the two plates is set to be equal,Representing a viewpointIs provided with a plurality of lines of sight,Representing a set of viewpointsThe average line of sight direction of the middle view point,Representing a planeNormal vector of (2);
Image quality The definition is as follows:
,
And As the weight of the material to be weighed,Representing the distance of the line of sightThe value after the normalization is carried out,Representing a viewpointIs provided with a distance between the lines of sight,,Representative ofMiddle view point coverage planeIs defined by the width of the region of (a),Representative planeIs defined by the width of the (c) a,Representative planeIs only viewed fromThe observed area duty cycle.
In one implementation, the optimizing the initial viewpoint set using a multi-objective optimization algorithm to determine an optimized viewpoint set includes:
sampling the position and the sight direction in the neighborhood range of each view point in the initial view point set to obtain candidate view point pose corresponding to each view point;
Determining target viewpoint positions in the candidate viewpoint positions based on a multi-target optimization algorithm;
And screening the initial viewpoint set according to the target viewpoint pose corresponding to each viewpoint, and determining the optimized viewpoint set.
In one implementation method, the determining the unmanned aerial vehicle shooting path according to the candidate viewpoint set and the optimized viewpoint set includes:
constructing a full connection diagram according to the candidate viewpoint set and the optimized viewpoint set;
And solving a cost minimum path corresponding to the full-connection graph based on the traveling business problem to serve as the unmanned aerial vehicle shooting path.
In a second aspect, an embodiment of the present invention further provides an unmanned aerial vehicle path planning apparatus, where the unmanned aerial vehicle path planning apparatus includes:
The data acquisition module is used for acquiring a two-dimensional base map and a safe flight height of a target scene, and determining a candidate view point set according to the two-dimensional base map and the safe flight height;
The viewpoint generation module is used for generating an initial viewpoint set according to the candidate viewpoint set based on plane quality and viewpoint plane pair quality, wherein the plane quality is used for measuring texture quality of a single plane, and the viewpoint plane pair quality is used for measuring quality of a viewpoint plane pair constructed by the single viewpoint and the plane;
the viewpoint optimizing module is used for optimizing the initial viewpoint set by adopting a multi-objective optimizing algorithm and determining an optimized viewpoint set;
and the path determining module is used for determining the shooting path of the unmanned aerial vehicle according to the candidate viewpoint set and the optimized viewpoint set.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes a memory and more than one processor, where the memory stores more than one program, where the program includes instructions for executing the unmanned aerial vehicle path planning method according to any one of the above, and where the processor is configured to execute the program.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium having a plurality of instructions stored thereon, where the instructions are adapted to be loaded and executed by a processor to implement any of the above-mentioned unmanned aerial vehicle path planning methods.
The method and the device have the advantages that the two-dimensional base map and the safe flying height of the target scene are obtained, the candidate viewpoint set is determined according to the two-dimensional base map and the safe flying height, the initial viewpoint set is generated according to the candidate viewpoint set based on plane quality and viewpoint plane pair quality, wherein the plane quality is used for measuring texture quality of a single plane, the viewpoint plane pair quality is used for measuring quality of viewpoint plane pairs constructed by the single viewpoint and the plane, the initial viewpoint set is optimized by adopting a multi-objective optimization algorithm, the optimized viewpoint set is determined, and the unmanned aerial vehicle shooting path is determined according to the candidate viewpoint set and the optimized viewpoint set. According to the invention, the view point set capable of reconstructing high-quality textures is obtained by introducing the plane quality and the view point plane quality, so that the problem that the prior art does not consider how to acquire high-quality image data for texture reconstruction, and the acquired image data cannot achieve an ideal texture effect when used for texture mapping is effectively solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings may be obtained according to the drawings without inventive effort to those skilled in the art.
Fig. 1 is a flow chart of an unmanned aerial vehicle path planning method according to an embodiment of the present invention.
Fig. 2 is a division diagram of a plane lattice generation and a lower probe point provided by an embodiment of the present invention.
Fig. 3 is a schematic plan view of the view point of the present invention.
Fig. 4 is a schematic view of all views of an observable plane provided by an embodiment of the present invention.
Fig. 5 is a schematic diagram of a result of selecting a point of view according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of an initial viewpoint optimization result provided by an embodiment of the present invention.
FIG. 7 is a diagram illustrating texture mapping results according to an embodiment of the present invention.
Fig. 8 is an internal module schematic diagram of an unmanned aerial vehicle path planning device according to an embodiment of the present invention.
Fig. 9 is a schematic block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The invention discloses a method, a device, a terminal and a storage medium for planning a path of an unmanned aerial vehicle, which are used for making the purposes, the technical scheme and the effects of the invention clearer and more definite, and further detailed description of the invention is provided below by referring to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The current UAV acquisition method mainly aims at high-quality geometric reconstruction, and does not consider acquisition of high-quality image data aiming at texture reconstruction, so that ideal texture effect cannot be achieved when the acquired image data is used for texture mapping.
Aiming at the defects in the prior art, the invention provides an unmanned aerial vehicle path planning method, an unmanned aerial vehicle path planning device, a terminal and a storage medium, wherein the method determines a candidate view point set according to a two-dimensional base map and a safe flight height of a target scene by acquiring the two-dimensional base map and the safe flight height; generating an initial viewpoint set according to a candidate viewpoint set based on plane quality and viewpoint plane pair quality, wherein the plane quality is used for measuring texture quality of a single plane, the viewpoint plane pair quality is used for measuring quality of viewpoint plane pairs constructed by the single viewpoint and the plane, optimizing the initial viewpoint set by adopting a multi-objective optimization algorithm to determine an optimized viewpoint set, and determining an unmanned aerial vehicle shooting path according to the candidate viewpoint set and the optimized viewpoint set. According to the invention, the view point set capable of reconstructing high-quality textures is obtained by introducing the plane quality and the view point plane quality, so that the problem that the prior art does not consider how to acquire high-quality image data for texture reconstruction, and the acquired image data cannot achieve an ideal texture effect when used for texture mapping is effectively solved.
Exemplary method
As shown in fig. 1, the method includes:
step S100, acquiring a two-dimensional base map and a safe flight height of a target scene, and determining a candidate view point set according to the two-dimensional base map and the safe flight height;
The two-dimensional bottom map is a two-dimensional overlook bottom map corresponding to the target scene, in the two-dimensional overlook bottom map, each outline polygon represents a building, and the sides of the outline polygons represent building elevation. The safe flight level is the lowest safe flight level of the unmanned aerial vehicle. In this embodiment, a planar lattice that completely covers a target scene is generated based on a two-dimensional base map at a fixed safe flight height H The plane lattice is subjected toAs a candidate view set for subsequent view screening.
As shown in fig. 1, the method specifically further includes:
And step 200, generating an initial viewpoint set according to the candidate viewpoint set based on the plane quality and the viewpoint plane pair quality, wherein the plane quality is used for measuring the texture quality of a single plane, and the viewpoint plane pair quality is used for measuring the quality of a viewpoint plane pair constructed by a single viewpoint and a plane.
Specifically, the plane is a building elevation, and the embodiment defines two quality indexes of plane quality and viewpoint plane quality. The plane quality is based on a group of two-dimensional view points to measure the final texture quality of the plane, and the view point plane pair quality is used for measuring the quality of the two-dimensional view points and the view point plane pair constructed by the plane, and the two qualities are used for guiding the selection of view points. The embodiment generates the initial viewpoint set according to the candidate viewpoint set based on the plane quality and the viewpoint plane quality, so that the initial viewpoint set can maximally cover the building facade in the target scene, and the viewpoints in the initial viewpoint set can be ensured to have high perspective consistency and high image quality.
In one implementation plane quality is used to measure individual planesGiven a set of viewpointsThe method for calculating the plane quality comprises the following steps:
,
Wherein, AndRespectively the perspective quality and the image quality,AndIs the weight;
perspective quality for measuring The sight direction consistency and the sight direction of the middle view point are opposite to each otherTo a degree of (3). Perspective qualityThe definition is as follows:
,
Wherein, AndThe line of sight consistency and the line of sight direction opposite to the weight of the item respectively,Is thatThe number of medium-view points,Measuring unit vectorAndThe distance between the two plates is set to be equal,Representation ofMiddle view pointIs provided with a plurality of lines of sight,Representation ofThe average line of sight direction of the middle view point,Representing a planeNormal vector of (2);
Image quality measures the image quality of planar textures, including the high definition of image material, consistency of image resolution, the integrity of the image overlay plane, and the indispensable degree of the image overlay plane. Given a given MeasuringIs mainly measuredRelative toResolution uniformity and coverage of (a).
Image qualityThe definition is as follows:
,
Wherein, AndThe weights of resolution uniformity and coverage respectively,Is thatThe number of medium-view points,Representing the distance of the line of sightThe value after the normalization is carried out,Representation ofIs provided with a distance between the lines of sight,Representation ofThe average value of the line-of-sight distances of the middle view point,,Representative ofMiddle view point coverage planeIs defined by the width of the region of (a),Representative ofIs a width of (c).
In one implementation, a givenIs a single viewpoint ofMeasuringAnd plane surfaceThe constructed viewpoint plane pairs. The method for calculating the quality of the viewpoint plane comprises the following steps:
,
Wherein, AndRespectively the perspective quality and the image quality,AndIs the weight;
Perspective quality measurement Is the line of sight direction and the average line of sight directionConsistency of (C), andIs opposite toTo a degree of (3). Perspective qualityThe definition is as follows:
,
And As the weight of the material to be weighed,Measuring unit vectorAndThe distance between the two plates is set to be equal,Representing a viewpointIs provided with a plurality of lines of sight,Representing a set of viewpointsThe average line of sight direction of the middle view point,Representing a planeNormal vector of (2);
the image quality mainly considers the high definition, coverage, and indispensable degree of the viewpoint with respect to the plane. Image quality The definition is as follows:
,
And As the weight of the material to be weighed,Representing the distance of the line of sightThe value after the normalization is carried out,Representing a viewpointIs provided with a distance between the lines of sight,,Representative ofMiddle view point coverage planeIs defined by the width of the region of (a),Representative planeIs defined by the width of the (c) a,Representative planeIs only viewed fromThe observed area duty cycle.
In one implementation, the generating an initial viewpoint set from the candidate viewpoint set based on the planar quality and the viewpoint planar-to-quality includes:
step S201, constructing a plurality of viewpoint plane pairs based on the candidate viewpoint sets;
Step S202, setting initial sight line directions for the viewpoints in the viewpoint plane pairs based on the plane quality;
Step S203, calculating the quality of each viewpoint plane pair corresponding to the viewpoint plane pair, and determining the initial viewpoint set according to the quality of each viewpoint plane pair.
Specifically, the step of generating an initial viewpoint set according to the candidate viewpoint set comprises (1) viewpoint plane pair construction, (2) viewpoint direction initialization, and (3) downward-looking viewpoint selection.
(1) Viewpoint plane pair construction. The method for constructing a plurality of viewpoint plane pairs according to the candidate viewpoint sets comprises the following steps ofSetting five unmanned aerial vehicle shooting visual angles including a vertical downward visual angle and four oblique visual angles at each visual angle position, and based on candidate visual point setsThe unmanned plane is designed to vertically descend from the height H to generate a lower detection point for shooting the building elevation at a low height. As shown in fig. 2, according to the minimum distance from the viewpoint to the plane polygon and the threshold value of the safety distance, the methodThe viewpoint in (a) is divided into a downward-searchable viewpoint and a non-downward-searchable viewpoint, and for each downward-searchable viewpoint, a plane that the viewpoint can observe is detected and a pair of viewpoint planes is constructed as shown in fig. 3 and 4. For plane surfacesAll observedIs composed ofIs a set of point of reference. In one implementation, the non-downward-looking point of view may also be employed to form a point-of-view plane pair with the plane.
(2) The viewpoint direction is initialized. Constructing the viewpoint plane pairs later, initializing the sight line directions of the viewpoint plane pairs to the middle viewpoint, and selecting an initial sight line direction for each viewpoint. The step of initializing the view direction includes centering a plane in the view planeUniformly sampling within 180 DEG with the reverse direction of the normal direction as the center, and determining a plurality of candidate sight line directionsSelecting the candidate sight line direction corresponding to the maximum plane quality as the initial sight line direction of the viewpoint in the viewpoint plane centering direction. The viewpoint direction initializing step further includes, before determining the candidate line of sight direction, assigning the same line of sight direction to each viewpoint.
(3) And (5) selecting a point of view. The downviewpoint selects a redundant viewpoint in the viewpoint set for deleting the corresponding plane. The present embodiment adopts a strategy of iterative deletion. In each iteration, first, the respective viewpoint plane pair quality is calculated for each viewpoint plane pair corresponding to each viewpoint plane pairViewpoint(s)Quality based on viewpointWith a corresponding planeThe sum of the masses of the constructed viewpoint plane pairs is calculated to:
,
for each iteration, the view with the lowest quality value is deleted until no redundant view exists, as shown in fig. 5, the iteration is terminated, and the rest views are determined as an initial view point set.
As shown in fig. 1, the method specifically further includes:
and step S300, optimizing the initial viewpoint set by adopting a multi-objective optimization algorithm, and determining an optimized viewpoint set.
And for the viewpoints in the initial viewpoint set, optimizing the positions and directions of the viewpoints by adopting a multi-target optimization algorithm, so that the plane quality is optimized, and the time cost for acquiring images by the unmanned aerial vehicle is reduced. In this embodiment, the optimization target item of the multi-target optimization algorithm includes the number of three-dimensional hover points C required for the entire target scene. In addition, in order to improve the texture quality of the building facade, the optimization targets also comprise view pointsObservable building facadeRespectively corresponding planar mass. The target items of the multi-target optimization are:
,
The method for solving the number of the three-dimensional hovering points is that for a given viewpoint (two-dimensional down-looking point) And plane surfaceIn the followingUniformly sampling the positions of the images from top to bottom longitudinally to generate a series of longitudinal three-dimensional viewpointsWherein, the method comprises the steps of, wherein,Representing the position of the three-dimensional viewpoint,Representing the line of sight direction of the three-dimensional viewpoint.The building elevation is completely covered with a certain overlapping in the height direction. The two-dimensional downward detection points at the same position can have different sight directions for observing different building facades, thusThe corresponding longitudinal three-dimensional view points of the positions of the two-dimensional view points can be longitudinally combined by longitudinally fine-adjusting the positions of the two-dimensional view points. And after longitudinal combination, the number of the three-dimensional hovering points of the whole target scene can be calculated.
In one implementation, the optimizing the initial viewpoint set using the multi-objective optimization algorithm, determining an optimized viewpoint set includes:
step S301, sampling the position and the sight direction in the neighborhood range of each view point in the initial view point set to obtain candidate view point positions corresponding to each view point;
Step S302, determining target viewpoint pose in the candidate viewpoint pose based on a multi-target optimization algorithm;
step S303, screening the initial viewpoint set according to the target viewpoint pose corresponding to each viewpoint, and determining the optimized viewpoint set.
Specifically, the present embodiment adopts the following iterative optimization procedure to achieve the objective item of the minimum multi-objective optimization algorithm. In each iteration, first at the viewpointAnd searching all candidate combinations through a multi-target optimization algorithm to obtain the optimal combination of the viewpoint position and the sight line direction, and taking the optimal combination of the viewpoint position and the sight line direction as an optimized viewpoint pose, namely a target viewpoint pose. And secondly, judging redundancy of other viewpoints again according to the target viewpoint pose and viewpoint plane pair quality, and deleting the redundant viewpoints. When all the undershot points no longer change, then the optimization is determined to converge, and the set of optimized points is determined, as shown in FIG. 6.
As shown in fig. 1, the method specifically further includes:
And step 400, determining an unmanned aerial vehicle shooting path according to the candidate viewpoint set and the optimized viewpoint set.
The embodiment forms a total unmanned aerial vehicle viewpoint set through the candidate viewpoint set and the optimized viewpoint set. And generating a path based on the total unmanned aerial vehicle viewpoint set, and obtaining an unmanned aerial vehicle shooting path.
In one implementation, the determining the unmanned aerial vehicle shooting path according to the candidate viewpoint set and the optimized viewpoint set includes:
Step S401, constructing a full connection diagram according to the candidate viewpoint set and the optimized viewpoint set;
and step S402, solving a cost minimum path corresponding to the full-connection diagram based on the traveling merchant problem to serve as the unmanned aerial vehicle shooting path.
In order to reduce the time cost of image acquisition of the unmanned aerial vehicle, the embodiment constructs a full-connection graph based on the candidate viewpoint set and the optimized viewpoint set, generates an unmanned aerial vehicle flight path of all viewpoints connected in series, and obtains a path traversing all nodes and having the minimum cost by solving the problem of a traveling company. In this embodiment, the nodes in the candidate viewpoint set and the optimized viewpoint set are used as nodes in the graph to construct a full-connection graph, and a method for solving the problem of the traveling salesman is adopted to solve the minimum cost path of the full-connection graph.
Connection viewpoint pair in full connection diagramCost value of edge of (2)The definition is as follows:
,
Wherein, Representing the point of viewTo the point of viewAt the shortest straight-line distance of the safety zone,Representative ofAndIs arranged at the angle of the line of sight direction,Representing the weight value. The path with the minimum cost of the full connection diagram is the optimal unmanned aerial vehicle shooting path for traversing all the viewpoints.
The scene reconstruction step includes a structured geometric reconstruction and a texture reconstruction. And acquiring photos based on the generated unmanned aerial vehicle shooting path, and reconstructing the geometry and texture of the scene. In the geometric reconstruction step, first a high-precision dense geometric model is reconstructed based on the acquired photographs using ContextCapture (context capture) software. Secondly, a structural perception reconstruction algorithm is adopted to obtain a structured model of the dense geometric model. Finally, a TwinTex method (a geometric sense texture generation method of an abstract three-dimensional building model) is used to generate a high-quality texture map for the structured model, as shown in fig. 7.
The method has the advantages that (1) when the image materials acquired by the unmanned aerial vehicle shooting paths obtained by the method are used for texture mapping of the structural model, the view angles corresponding to the same building elevation are more consistent and opposite to planes, so that textures with consistent perspective and opposite view angles can be generated when the acquired image materials are used for texture mapping of the structural model, (2) the view points corresponding to the building elevation have the characteristic of high definition, so that the acquired image materials can be used for texture mapping, and (3) the generated textures have less splicing marks, blurring and deformation.
Based on the above embodiment, the present invention further provides an unmanned aerial vehicle path planning apparatus, as shown in fig. 8, where the apparatus includes:
the data acquisition module 01 is used for acquiring a two-dimensional base map and a safe flight height of a target scene, and determining a candidate view point set according to the two-dimensional base map and the safe flight height;
The viewpoint generating module 02 is configured to generate an initial viewpoint set according to the candidate viewpoint set based on a plane quality and a viewpoint plane pair quality, where the plane quality is used to measure texture quality of a single plane, and the viewpoint plane pair quality is used to measure quality of a viewpoint plane pair constructed by a single viewpoint and a plane;
the viewpoint optimizing module 03 is used for optimizing the initial viewpoint set by adopting a multi-objective optimizing algorithm and determining an optimized viewpoint set;
And the path determining module 04 is used for determining the unmanned aerial vehicle shooting path according to the candidate viewpoint set and the optimized viewpoint set.
Based on the above embodiment, the present invention also provides a terminal, and a functional block diagram thereof may be shown in fig. 9. The terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein the processor of the terminal is adapted to provide computing and control capabilities. The memory of the terminal includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the terminal is used for communicating with an external terminal through a network connection. The computer program when executed by the processor is to implement a drone path planning method. The display screen of the terminal may be a liquid crystal display screen or an electronic ink display screen.
It will be appreciated by those skilled in the art that the functional block diagram shown in fig. 9 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the terminal to which the present inventive arrangements may be applied, and that a particular terminal may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
In one implementation, the memory of the terminal has stored therein one or more programs, and the execution of the one or more programs by one or more processors includes instructions for performing a drone path planning method.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
In summary, the invention discloses a method, a device, a terminal and a storage medium for planning a path of an unmanned aerial vehicle, wherein the method determines a candidate view point set according to a two-dimensional base map and a safe flight height by acquiring the two-dimensional base map and the safe flight height of a target scene; generating an initial viewpoint set according to a candidate viewpoint set based on plane quality and viewpoint plane pair quality, wherein the plane quality is used for measuring texture quality of a single plane, the viewpoint plane pair quality is used for measuring quality of viewpoint plane pairs constructed by the single viewpoint and the plane, optimizing the initial viewpoint set by adopting a multi-objective optimization algorithm to determine an optimized viewpoint set, and determining an unmanned aerial vehicle shooting path according to the candidate viewpoint set and the optimized viewpoint set. According to the invention, the view point set capable of reconstructing high-quality textures is obtained by introducing the plane quality and the view point plane quality, so that the problem that the prior art does not consider how to acquire high-quality image data for texture reconstruction, and the acquired image data cannot achieve an ideal texture effect when used for texture mapping is effectively solved.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411312008.1A CN118816899B (en) | 2024-09-20 | 2024-09-20 | Unmanned aerial vehicle path planning method, unmanned aerial vehicle path planning device, terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411312008.1A CN118816899B (en) | 2024-09-20 | 2024-09-20 | Unmanned aerial vehicle path planning method, unmanned aerial vehicle path planning device, terminal and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN118816899A CN118816899A (en) | 2024-10-22 |
| CN118816899B true CN118816899B (en) | 2024-12-17 |
Family
ID=93085703
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411312008.1A Active CN118816899B (en) | 2024-09-20 | 2024-09-20 | Unmanned aerial vehicle path planning method, unmanned aerial vehicle path planning device, terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118816899B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119540453B (en) * | 2024-11-11 | 2025-09-19 | 中国人民解放军国防科技大学 | A UAV trajectory planning method for visual 3D reconstruction of urban scenes |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115979273A (en) * | 2023-01-28 | 2023-04-18 | 西安交通大学 | UAV full coverage path planning method and system based on adaptive viewpoint sampling |
| CN117970951A (en) * | 2023-12-05 | 2024-05-03 | 深圳大学 | Unmanned aerial vehicle modeling three-dimensional route planning method, terminal and storage medium |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108318046B (en) * | 2017-01-18 | 2020-12-15 | 华为技术有限公司 | Path planning method and device |
-
2024
- 2024-09-20 CN CN202411312008.1A patent/CN118816899B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115979273A (en) * | 2023-01-28 | 2023-04-18 | 西安交通大学 | UAV full coverage path planning method and system based on adaptive viewpoint sampling |
| CN117970951A (en) * | 2023-12-05 | 2024-05-03 | 深圳大学 | Unmanned aerial vehicle modeling three-dimensional route planning method, terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118816899A (en) | 2024-10-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN116129020A (en) | Novel live-action three-dimensional modeling method | |
| CN113393577B (en) | Oblique photography terrain reconstruction method | |
| CN118816899B (en) | Unmanned aerial vehicle path planning method, unmanned aerial vehicle path planning device, terminal and storage medium | |
| CN103310487B (en) | A kind of universal imaging geometric model based on time variable generates method | |
| CN113920275B (en) | Triangular mesh construction method and device, electronic equipment and readable storage medium | |
| CN110046563B (en) | Power transmission line section elevation correction method based on unmanned aerial vehicle point cloud | |
| JP2021012078A (en) | Temperature distribution estimation device and temperature distribution estimation method | |
| CN115294280A (en) | Three-dimensional reconstruction method, apparatus, device, storage medium, and program product | |
| CN118864234B (en) | Method, apparatus and program product for generating three-dimensional curved surface in geometric engine, and medium | |
| CN116894870B (en) | Image target positioning method, system, electronic device and storage medium | |
| CN116109706B (en) | Space target inversion method, device and equipment based on prior geometric constraints | |
| CN116310756B (en) | Remains identification method, remains identification device, electronic equipment and computer storage medium | |
| CN116972880A (en) | Precision detection device of positioning algorithm | |
| Ma et al. | Low‐Altitude Photogrammetry and Remote Sensing in UAV for Improving Mapping Accuracy | |
| CN106530342B (en) | Full-view image generation method is measured using what laser point cloud was aided in | |
| CN115100286B (en) | Method, device, computer equipment and storage medium for determining viewpoint of drone collection | |
| CN115421509B (en) | Unmanned aerial vehicle flight shooting planning method, unmanned aerial vehicle flight shooting planning device and storage medium | |
| CN115775351A (en) | A multi-task parallel processing method for aerial image orthorectification | |
| CN115239784A (en) | Point cloud generation method and device, computer equipment and storage medium | |
| CN118837886B (en) | Spatial target axial estimation method, device, computer equipment and storage medium | |
| Ebrahimikia et al. | Orthophoto improvement using urban-SnowflakeNet | |
| CN117235299A (en) | Quick indexing method, system, equipment and medium for oblique photographic pictures | |
| CN116863137A (en) | Optimization method, device and computer equipment for three-dimensional model of transmission tower | |
| JP2020041950A (en) | Surveying device, surveying method, and program | |
| Zaman et al. | Effects of UAV imagery overlap on photogrammetric data quality for construction applications |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |