A path planning method and device
Through the three-dimensional model and ground object classification information, the cost distance is calculated to generate the optimal path, which solves the problem of unstable path planning in the existing technology and improves the efficiency and safety of rescue path planning in emergency situations.
Patent Information
- Application Number
- CN202111443411.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-11-30
AI Technical Summary
Existing path planning methods cannot comprehensively consider changes in traffic, communications, electricity, and dangerous areas in the rescue area during emergencies, resulting in unstable rescue paths and threatening the lives and property of both rescue parties.
By using the three-dimensional model to obtain the digital orthophoto map and surface model, combined with the ground object classification information, the path model containing the starting and ending positions is screened out, and the cost distance is calculated based on the difficulty coefficient to generate the target path with the minimum cost distance.
It can automatically avoid dangerous areas in harsh environments, automatically generate the most reasonable rescue path, and improve rescue efficiency and safety.
Smart Images

Figure CN114237232B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information processing technology, and in particular to a path planning method and device. Background Art
[0002] In emergency situations, such as outdoor disasters, geological disasters, rescue, fires, urban flooding and other disaster scenarios, it is necessary to find the most reasonable path for rescue or evacuation.
[0003] However, since the environment in disaster-stricken areas is often harsh, on the one hand, the occurrence of disasters will cause major changes in the original geographical features and other environments, and the usual safe areas will become dangerous areas or normal roads will be destroyed; on the other hand, with the occurrence of disasters, infrastructure such as transportation, communications, and electricity will also be damaged or destroyed to a certain extent.
[0004] Therefore, the existing path planning method of selecting the path with the shortest distance or the shortest time as the rescue path on the known electronic map is completely unable to meet the needs of different rescue scenarios. Summary of the invention
[0005] The present invention provides a path planning method and device to solve the defect that the prior art uses electronic maps to select the best rescue path, but fails to comprehensively consider the changes in traffic, communication, electricity and even dangerous areas in the rescue area, which brings potential instability to rescue or evacuation and threatens the safety of life and property of both parties of the rescue.
[0006] In a first aspect, the present invention provides a path planning method, comprising: obtaining a digital orthophoto map and a surface model of the target area according to a three-dimensional model of the target area; obtaining object classification information of the target area according to the digital orthophoto map, wherein the object classification information includes first-class object information and second-class object information; selecting a path model including a starting position and an end position from the surface model according to the first-class object information and location information of a predetermined obstacle avoidance area; determining a target path from the starting position to the end position from the path model according to the second-class object information; and minimizing the total cost distance between all nodes constituting the target path.
[0007] According to a path planning method provided by the present invention, a digital orthophoto image of a target area is obtained according to a three-dimensional model of the target area, including: determining the length of the digital orthophoto image according to the ratio between the span of the three-dimensional model in the east-west direction and a first preset sampling interval; determining the width of the digital orthophoto image according to the ratio between the span of the three-dimensional model in the north-south direction and the first preset sampling interval; performing texture extraction on the three-dimensional model, obtaining the pixel value of the highest point in the three-dimensional model within each of the first sampling intervals, and assigning the pixel value to the pixel point on the digital orthophoto image corresponding to the first sampling interval, until the traversal sampling of the three-dimensional model is completed to generate the digital orthophoto image.
[0008] According to a path planning method provided by the present invention, a surface model of a target area is obtained according to a three-dimensional model of the target area, including: determining the range of the surface model according to the range of the three-dimensional model; obtaining the elevation value of the highest point in the three-dimensional model within each second sampling interval; using the coordinates of the highest point as the XY axis coordinate values and the elevation value of the highest point as the Z axis coordinate value, creating a sampling point for saving; after completing the traversal sampling of the three-dimensional model, constructing a Delaunay triangulation network from all the sampling points to generate the surface model.
[0009] According to a path planning method provided by the present invention, obtaining the object classification information of the target area based on the digital orthophoto map includes: inputting the digital orthophoto map into an instance segmentation model to generate the object classification information based on the output result of the instance segmentation model; the instance segmentation model is obtained after training based on a digital orthophoto sample map with object classification result labels.
[0010] According to a path planning method provided by the present invention, the first type of terrain information includes at least one of the following information: location information of obstacle avoidance areas, location information of ground fissures and location information of houses; the second type of terrain information includes at least one of the following information: road information and location information of water areas.
[0011] According to a path planning method provided by the present invention, based on the first type of ground object information and the location information of a predetermined obstacle avoidance area, a path model including a starting position and an end position is screened out from the surface model, including: traversing the surface model from the starting position to the end position, removing the model area related to the first type of ground object information from the surface model, and using the removed part as the path model.
[0012] According to a path planning method provided by the present invention, the target path from the starting position to the end position is determined from the path model based on the two types of terrain information, including: taking each sampling point in the path model as a node, and determining the passing difficulty coefficient between each two nodes based on the two types of terrain information; calculating the cost distance between each two nodes, the cost distance being the product of the path distance and the passing difficulty coefficient; obtaining the total cost distance value of all paths from the starting position to the end position to determine the target path from all paths.
[0013] In a second aspect, the present invention also provides a path planning device, comprising: a model conversion unit, used to obtain a digital orthophoto image and a surface model of the target area according to a three-dimensional model of the target area; a land object classification unit, used to obtain land object classification information of the target area according to the digital orthophoto image, wherein the land object classification information includes first-class land object information and second-class land object information; a model simplification unit, used to filter out a path model including a starting position and an end position from the surface model according to the first-class land object information and the location information of a predetermined obstacle avoidance area; a path planning unit, used to determine a target path from the starting position to the end position from the path model according to the second-class land object information; and the total cost distance between all nodes constituting the target path is minimized.
[0014] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-described path planning methods are implemented.
[0015] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-described path planning methods.
[0016] The path planning method and device provided by the present invention are particularly suitable for emergency scenarios such as the wild, geological disasters, rescue, fire, urban waterlogging, etc., and can automatically avoid some dangerous areas according to the three-dimensional model of the target area, and automatically generate the most reasonable rescue path according to the configuration of rescue facilities, which can effectively meet the use requirements of harsh environments, improve rescue efficiency, and improve the safety of rescue or evacuation. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 It is one of the flow charts of the path planning method provided by the present invention;
[0019] Figure 2 This is the second flow chart of the path planning method provided by the present invention;
[0020] Figure 3 It is a structural schematic diagram of the path planning device provided by the present invention;
[0021] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0023] It should be noted that in the description of the embodiments of the present invention, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The orientation or position relationship indicated by the terms "upper", "lower" and the like is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be a connection between two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0024] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in this application represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0025] Combine the following Figure 1-Figure 4 The path planning method and device provided by the present invention are described.
[0026] Figure 1 is one of the flow charts of the path planning method provided by the present invention, such as Figure 1 As shown, including but not limited to the following steps:
[0027] Step 101: acquiring a digital orthophoto map and a surface model of the target area according to the three-dimensional model of the target area;
[0028] Step 102: acquiring the object classification information of the target area according to the digital orthophoto map, wherein the object classification information includes first-class object information and second-class object information;
[0029] Step 103: Filtering a path model including a start position and an end position from the surface model according to the first type of ground feature information and the predetermined obstacle avoidance area location information;
[0030] Step 104: According to the second type of ground feature information, a target path from the starting position to the end position is determined from the path model; the total cost distance between all nodes constituting the target path is minimized.
[0031] Among them, the three-dimensional model of the target area can be pre-built and stored in the cloud server, and when the path planning for the target area is needed, it can be directly retrieved from the cloud; or it can be: use a drone to take real-time aerial photos of the target area, obtain multiple frames of inclined pictures, and based on the existing three-dimensional model reconstruction technology, build the three-dimensional model in real time according to the taken pictures.
[0032] Digital Orthophoto Map (DOM) is an image that has both map geometric accuracy and image characteristics. The map division, projection, accuracy, coordinate system, and topographic features of the same scale of the DOM map are Figure 1 The image resolution is greater than 400dpi for input and greater than 250dpi for output. Since the DOM map is a digital map, it can be partially developed and enlarged on the computer, and has good interpretation, measurement and management performance.
[0033] The surface model provided in the present invention is a new model reconstructed by extracting the surface information of the three-dimensional model of the target area.
[0034] The path planning method provided by the present invention, in step 101, adopts different model processing means to generate corresponding DOM graphs and surface models according to the three-dimensional model of the target area.
[0035] Furthermore, the purpose of generating a DOM map is to make full use of its image features and use a deep learning network to perform image recognition to distinguish the various types of objects contained in the DOM map, such as houses, water areas (or small puddles), roads, woods, and ground fissures, and determine the location information of the above objects in the DOM map to generate object classification information. Therefore, the object classification information mainly includes the various types of objects classified in the target area and the location information of each object.
[0036] In step 102 of the path planning method provided by the present invention, when performing path planning, if any feature is located at a location where the user cannot pass smoothly under the current rescue facility configuration, then this feature is classified as a type of feature and its corresponding information is classified as type of feature information.
[0037] For example, if a fire occurs in a target area, it is necessary to plan the optimal rescue route for the target area in a timely manner. By performing image recognition on the DOM map of the target area, it is determined that there is a river at position A, and the rescue personnel are not equipped with wading equipment. The river and the location information of the river are classified as a type of ground feature information.
[0038] Optionally, the above-mentioned type of ground feature information includes at least one of the following information: location information of obstacle avoidance areas, location information of ground fissures, location information of houses, etc.
[0039] As an optional embodiment, after obtaining the three-dimensional model of the target area, a thermal infrared device, a hyperspectral device, or a multispectral device may be used to obtain a thermal infrared image and a spectral image of the target area. After obtaining the DOM map, the obtained thermal infrared image and spectral image are registered with the DOM map.
[0040] Then, the fire line location information, water area location information, etc. of the target area can be identified based on the thermal infrared image and the spectral image, and the obstacle avoidance area can be determined based on the acquired fire line location information and water area location information.
[0041] For example, after the location information of the fire line is determined, the areas that are farther away from the fire line than a preset distance are designated as obstacle avoidance areas.
[0042] On the other hand, when performing path planning, if the user can successfully pass through the location of any feature under the current rescue facility configuration, this feature will be classified as a Class II feature, and its corresponding information will be classified as Class II feature information.
[0043] For example, when the user has configured water-wading equipment, the second type of ground feature information includes at least one of the following information: road information and water area location information, etc.
[0044] The road information mainly includes the location information of the road, and the slope information related to each road can be determined according to the location information of the road.
[0045] As an optional embodiment, the above-mentioned method selects a path model including a starting position and an end position from the surface model based on the first type of terrain feature information and the location information of a predetermined obstacle avoidance area, including: traversing the surface model from the starting position to the end position, removing the model area related to the first type of terrain feature information from the surface model, and using the removed part as the path model.
[0046] Specifically, after distinguishing the first-class ground feature information and the second-class ground feature information from the DOM map, the optimal rescue path is determined from the surface model using these two types of ground feature information, mainly including:
[0047] In step 103, firstly, according to the determined type of ground feature information, the obstacle avoidance area and other parts that cannot be passed smoothly under the current rescue facility configuration are determined from the surface model, and this part is deleted.
[0048] The deletion may be performed by manual marking or by computer image processing, which is not specifically limited in the present invention.
[0049] Then, according to the starting position and the ending position, the part including the starting position and the ending position is filtered out again from the remaining part after the deletion as the path model.
[0050] Through the processing of step 103, the effective area of path planning can be effectively reduced, and the planned path can be prevented from passing through different areas.
[0051] In step 104, after the path model is obtained, the optimal rescue path can be determined by the shortest path or fastest path planning method and combined with the second type of terrain information.
[0052] In the process of planning the optimal rescue path from the path model, users can make reasonable plans based on the current rescue facility configuration and combined with the second type of terrain information.
[0053] For example: when there are vehicles, roads are given priority; according to the current rescue facility configuration, the climbing capacity is determined, and the climbing slope threshold is set (for example, some vehicles cannot pass through areas with too steep slopes) so that an appropriate path can be selected based on this slope threshold; if right wading equipment is configured, it is possible to consider crossing the water area without considering bridge factors when formulating the path.
[0054] The path planning method provided by the present invention is particularly suitable for emergency scenarios such as the wild, geological disasters, rescue, fire, urban waterlogging, etc. It can automatically avoid some obstacle avoidance areas according to the three-dimensional model of the target area, and automatically generate the most reasonable rescue path according to the configuration of rescue facilities. It can effectively meet the use requirements of harsh environments, improve rescue efficiency, and improve the safety of rescue or evacuation.
[0055] Figure 2 This is the second flow chart of the path planning method provided by the present invention. Figure 2 As shown, the above-mentioned acquisition of the digital orthophoto map of the target area according to the three-dimensional model of the target area mainly includes but is not limited to the following steps:
[0056] Determining the length of the digital orthophoto map according to the ratio between the east-west span of the three-dimensional model and the first preset sampling interval;
[0057] Determining the width of the digital orthophoto according to the ratio between the north-south span of the three-dimensional model and the first preset sampling interval;
[0058] Perform texture extraction on the three-dimensional model, obtain the pixel value of the highest point in the three-dimensional model within each of the first sampling intervals, and assign the pixel value to the pixel point corresponding to the first sampling interval on the digital orthophoto map until the traversal sampling of the three-dimensional model is completed to generate the digital orthophoto map.
[0059] It should be noted that the width of the digital orthophoto image can also be determined based on the ratio between the east-west span of the three-dimensional model and the first preset sampling interval, and the length of the digital orthophoto image can be determined based on the ratio between the north-south span of the three-dimensional model and the first preset sampling interval.
[0060] In layman's terms, the main ideas of the above method for generating a DOM graph based on a three-dimensional model include:
[0061] (1) Obtaining the range of the three-dimensional model, and sampling the pixel value of the highest point of the three-dimensional model in sequence according to the first preset sampling interval of the row and column;
[0062] (2) The length and width of the generated DOM graph are: the east-west span of the 3D model divided by the sampling interval and the north-south span of the 3D model divided by the sampling interval;
[0063] (3) Assign the sampled pixel value of each sampling point on the three-dimensional model to the pixel point of the corresponding DOM graph.
[0064] Based on the content of the above embodiment, as an optional embodiment, the above-mentioned obtaining the surface model of the target area according to the three-dimensional model of the target area may include but is not limited to the following steps:
[0065] Determining the range of the surface model according to the range of the three-dimensional model;
[0066] Obtaining the elevation value of the highest point in the three-dimensional model within each second sampling interval;
[0067] Using the coordinates of the highest point as the XY axis coordinate values and the elevation value of the highest point as the Z axis coordinate value, creating a sampling point for saving;
[0068] After completing the traversal sampling of the three-dimensional model, a Delaunay triangulation network is constructed from all the sampling points to generate the surface model.
[0069] It should be noted that the second sampling interval may be the same as or different from the first sampling interval for generating the DOM graph.
[0070] Based on the content of the above embodiment, as an optional embodiment, obtaining the object classification information of the target area according to the digital orthophoto map includes:
[0071] Inputting the DOM graph into an instance segmentation model to generate the object classification information according to an output result of the instance segmentation model;
[0072] The instance segmentation model is obtained after training based on digital orthophoto sample images with ground object classification result labels.
[0073] The instance segmentation model may be obtained after training the Mask-R-CNN network.
[0074] Before using the instance segmentation model to recognize the input DOM graph, it also includes: using a large number of DOM sample graphs for annotation, and then using the annotated DOM sample graphs with object classification result labels to train the Mask-R-CNN network, and using the trained Mask-R-CNN network to complete the real-time recognition of the input DOM graph.
[0075] The output results of the recognition can be saved as a feature classification file. Generally, a feature classification file is a set of binary images with the same resolution as the DOM image. For example, in a feature classification file related to water areas, the water area is set to 1, and the area without water is set to 0, and the others are set in the same way.
[0076] In addition, in order to reduce the amount of data stored in the feature classification, the present invention directly stores the generated feature classification information in the feature classification file in the form of a binary stream (the two are essentially similar to binary images, but can greatly reduce the amount of data).
[0077] Based on the content of the above embodiment, as an optional embodiment, the above method of determining the target path from the starting position to the end position from the path model according to the second type of ground feature information includes:
[0078] Each sampling point in the path model is regarded as a node, and the passing difficulty coefficient between two nodes is determined according to the second type of ground feature information;
[0079] Calculate the cost distance between two nodes, where the cost distance is the product of the path distance and the passing difficulty coefficient;
[0080] The total cost distance of all paths from the starting position to the end position is obtained to determine the target path from all the paths.
[0081] It should be noted that the area corresponding to the above-mentioned type I terrain information is a completely different area in path planning, such as an obstacle avoidance area, a prohibited area, or an area that is inaccessible according to the current configuration of rescue facilities; relatively speaking, the area corresponding to the type II terrain information refers to an area that is passable according to the current configuration of rescue facilities, or that is passable under certain conditions.
[0082] The present invention can plan the optimal rescue route from the path model based on the Dijkstra method, that is, determine the target path with the minimum total cost distance between the starting position (starting vertex) and the end position (target vertex), wherein the total cost distance refers to the sum of the cost distances between two adjacent nodes constituting the target path.
[0083] When calculating the cost distance between two adjacent nodes, based on the distance, according to the current rescue facility configuration and the acquired second-class ground feature information, the difficulty coefficient of passing between the two adjacent nodes is first calculated, and the cost distance is: actual distance Pass the difficulty level.
[0084] Generally speaking, under the current configuration of rescue facilities, when determining the passing difficulty coefficient between node A and node B, if the line from node A to node B passes through an impassable area, the passing difficulty coefficient between them can be set to infinity or node B can be removed.
[0085] The following is an example of calculating the difficulty coefficient of a line from node A to node B passing through a climbing area:
[0086]
[0087] in, is the passing difficulty coefficient between node A and node B; is the slope angle between node A and node B; is the slope value with the least effort, for example Taking -10 degrees means that passing a slope of -10 degrees is the most labor-saving.
[0088] N The method to determine is: if walking a 100-meter-long steep slope with a slope angle of 45 degrees consumes the same amount of energy as walking 500 meters on flat ground, then N Take the value 4 ( ).
[0089] It can also be known from the above formula that if the slope angle between node A and node B exceeds the preset slope angle threshold, the passing difficulty coefficient between the two is set to infinity.
[0090] The same method can be adopted to set the calculation method of the passing difficulty coefficient between two adjacent nodes in other scenarios, which will not be described in detail here.
[0091] The path planning method provided by the present invention integrates the terrain information in the target area and combines it with the actual status of the current rescue facility configuration, adopts the classic path optimization method, can quickly and accurately determine the optimal disaster relief route, can effectively ensure the passability of the acquired target path, and buy precious time for the implementation of disaster relief and evacuation work.
[0092] Figure 3 is a schematic diagram of the structure of the path planning device provided by the present invention, such as Figure 3 As shown, it mainly includes but is not limited to a model conversion unit 31, a ground feature classification unit 32, a model simplification unit 33 and a path planning unit 34, wherein:
[0093] The model conversion unit 31 is mainly used to obtain the digital orthophoto image and the surface model of the target area according to the three-dimensional model of the target area; the object classification unit 32 is mainly used to obtain the object classification information of the target area according to the digital orthophoto image, and the object classification information includes the first-class object information and the second-class object information; the model simplification unit 33 is mainly used to filter out the path model including the starting position and the end position from the surface model according to the first-class object information and the location information of the predetermined obstacle avoidance area; the path planning unit 34 is mainly used to determine the target path from the starting position to the end position from the path model according to the second-class object information; the total cost distance between all nodes constituting the target path is minimized.
[0094] It should be noted that the path planning device provided in the embodiment of the present invention can execute the path planning method described in any of the above embodiments during specific operation, which will not be elaborated in this embodiment.
[0095] The path planning device provided by the present invention is particularly suitable for emergency scenarios such as the wild, geological disasters, rescue, fire, urban flooding, etc. It can automatically avoid some obstacle avoidance areas according to the three-dimensional model of the target area, and automatically generate the most reasonable rescue path according to the configuration of rescue facilities. It can effectively meet the use requirements of harsh environments, improve rescue efficiency, and improve the safety of rescue or evacuation.
[0096] Figure 4 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 4As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the path planning method, which includes: obtaining a digital orthophoto image and a surface model of the target area according to the three-dimensional model of the target area; obtaining the object classification information of the target area according to the digital orthophoto image, wherein the object classification information includes first-class object information and second-class object information; selecting a path model including a starting position and an end position from the surface model according to the first-class object information and the predetermined obstacle avoidance area location information; determining a target path from the starting position to the end position from the path model according to the second-class object information; and minimizing the total cost distance between all nodes constituting the target path.
[0097] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0098] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the path planning method provided by the above-mentioned methods, and the method includes: according to the three-dimensional model of the target area, respectively obtaining a digital orthophoto image and a surface model of the target area; according to the digital orthophoto image, obtaining the object classification information of the target area, and the object classification information includes Class I object information and Class II object information; according to the Class I object information and the location information of the predetermined obstacle avoidance area, filtering out a path model including a starting position and an end position from the surface model; according to the Class II object information, determining a target path from the starting position to the end position from the path model; and the total cost distance between all nodes constituting the target path is minimized.
[0099] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the path planning method provided by the above-mentioned embodiments, the method comprising: obtaining a digital orthophoto image and a surface model of the target area according to a three-dimensional model of the target area; obtaining object classification information of the target area according to the digital orthophoto image, the object classification information comprising first-class object information and second-class object information; selecting a path model including a starting position and an end position from the surface model according to the first-class object information and the location information of a predetermined obstacle avoidance area; determining a target path from the starting position to the end position from the path model according to the second-class object information; and minimizing the total cost distance between all nodes constituting the target path.
[0100] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0101] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A path planning method, It is characterized in that include: According to the three-dimensional model of the target area, respectively obtaining a digital orthophoto map and a surface model of the target area; According to the digital orthophoto map, obtaining the ground object classification information of the target area, wherein the ground object classification information includes first-class ground object information and second-class ground object information; According to the information of the first type of ground objects and the location information of the predetermined obstacle avoidance area, a path model including a starting position and an end position is selected from the surface model; According to the second type of ground feature information, a target path from the starting position to the end position is determined from the path model; the total cost distance between all nodes constituting the target path is the smallest; The step of selecting a path model including a starting position and an end position from the surface model according to the first type of ground object information and the predetermined location information of the obstacle avoidance area includes: Traversing the surface model from the starting position to the end position, removing the model area related to the type of ground feature information from the surface model, and using the removed part as the path model; The first type of ground feature information is information about ground features that cannot be successfully passed under the current configuration of rescue facilities; The second type of ground feature information is information about ground features that can be successfully passed under the current configuration of rescue facilities; According to the second type of ground feature information, determining a target path from the starting position to the end position from the path model includes: Taking each sampling point in the path model as a node, and determining the passing difficulty coefficient between two nodes respectively according to the two types of ground feature information; Calculate the cost distance between two nodes, where the cost distance is the product of the path distance and the passing difficulty coefficient; The total cost distance of all paths from the starting position to the end position is obtained to determine the target path from all the paths.
2. The path planning method according to claim 1, It is characterized in that Acquiring a digital orthophoto map of the target area according to the three-dimensional model of the target area includes: Determining the length of the digital orthophoto map according to the ratio between the east-west span of the three-dimensional model and the first sampling interval; Determining the width of the digital orthophoto map according to the ratio between the north-south span of the three-dimensional model and the first sampling interval; Perform texture extraction on the three-dimensional model, obtain the pixel value of the highest point in the three-dimensional model within each of the first sampling intervals, and assign the pixel value to the pixel point on the digital orthophoto corresponding to the first sampling interval until the traversal sampling of the three-dimensional model is completed to generate the digital orthophoto.
3. The path planning method according to claim 1, It is characterized in that Acquiring a surface model of the target area according to the three-dimensional model of the target area includes: Determining the range of the surface model according to the range of the three-dimensional model; Obtaining the elevation value of the highest point in the three-dimensional model within each second sampling interval; Using the coordinates of the highest point as the XY axis coordinate values and the elevation value of the highest point as the Z axis coordinate value, creating a sampling point for saving; After completing the traversal sampling of the three-dimensional model, a Delaunay triangulation network is constructed from all the sampling points to generate the surface model.
4. The path planning method according to claim 1, It is characterized in that The step of obtaining the object classification information of the target area according to the digital orthophoto map includes: Inputting the digital orthophoto map into an instance segmentation model to generate the object classification information according to an output result of the instance segmentation model; The instance segmentation model is obtained after training based on digital orthophoto sample images with ground object classification result labels.
5. The path planning method according to claim 1, It is characterized in that The first type of ground feature information includes at least one of the following information: ground fissure location information and house location information; The second type of ground feature information includes at least one of the following information: road information and water area location information.
6. A path planning device, It is characterized in that include: A model conversion unit, used to obtain a digital orthophoto map and a surface model of the target area according to the three-dimensional model of the target area; A ground object classification unit, used for acquiring ground object classification information of the target area according to the digital orthophoto map, wherein the ground object classification information includes first-class ground object information and second-class ground object information; A model simplification unit, configured to select a path model including a starting position and an end position from the surface model according to the first type of ground object information and the predetermined obstacle avoidance area location information, comprising: traversing the surface model from the starting position to the end position, removing a model area related to the first type of ground object information from the surface model, and using the removed part as the path model; A path planning unit is used to determine a target path from the starting position to the end position from the path model according to the two types of ground feature information, including: taking each sampling point in the path model as a node, and determining the passing difficulty coefficient between two nodes according to the two types of ground feature information; calculating the cost distance between two nodes, wherein the cost distance is the product of the path distance and the passing difficulty coefficient; obtaining the total cost distance value of all paths from the starting position to the end position to determine the target path from all paths; the total cost distance value between all nodes constituting the target path is the smallest; The first type of ground feature information is information about ground features that cannot be successfully passed under the current configuration of rescue facilities; The second type of ground feature information is information about ground features that can be successfully passed under the current configuration of rescue facilities.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the path planning method steps as described in any one of claims 1 to 5 are implemented.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the path planning method steps as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Personalized electric power field operation path planning method and system fusing high-resolution remote sensing images and terrains
CN111667101A
