A method and device for extracting slope unit profile lines based on digital elevation model

By evenly distributing nodes along the slope unit boundary in the digital elevation model, grouping and centroid projection, a straight line parallel to the centroid is generated as the profile line, which solves the problem of large errors in the traditional method and improves the accuracy and efficiency of slope unit profile line extraction. .

CN118397205BActive Publication Date: 2024-10-11中国地质环境监测院(自然资源部地质灾害技术指导中心) +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410493621.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-23
Publication Date
2024-10-11
Estimated Expiration
2044-04-23

AI Technical Summary

Technical Problem

The traditional slope unit profile line extraction method has large errors, low efficiency, and cannot accurately reflect the terrain of the slope unit, resulting in inaccurate stability evaluation.

Method used

Based on the digital elevation model, nodes are evenly distributed along the slope unit boundary. Through elevation value grouping and centroid projection, the average vectors of the high group and low group are calculated, and a straight line parallel to the centroid is generated as a profile line to ensure the accuracy of the results.

Benefits of technology

It improves the accuracy and reliability of slope unit section line extraction, avoids abnormal results caused by errors and single-point anomalies, and is suitable for large-area stability assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118397205B_ABST
    Figure CN118397205B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for extracting the profile line of a slope unit based on a digital elevation model, including: along the horizontal direction of the slope unit, uniformly distributing a number of boundary nodes on its boundary with DEM accuracy as the spacing; obtaining the node elevation values ​​of all boundary nodes from the DEM; obtaining a number of associated elevation values ​​based on the node elevation values; selecting an elevation associated value as a threshold, dividing all node elevation values ​​into two groups of high and low based on the threshold, obtaining the centroid of the two-dimensional projection polygon of the slope unit projected on the xoy plane; obtaining the high group and low group vectors from the centroid to the boundary nodes in the two groups of high and low on the two-dimensional projection polygon; obtaining the high group average point of the high group vector and the low group average point of the low group vector respectively; obtaining a straight line passing through the centroid and parallel to the connecting line based on the connecting line of the high group average point and the low group average point; generating the profile line of the slope unit. The present invention can correctly reflect the terrain height of the slope unit and ensure the accuracy of the result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of geographic information technology, and in particular to a method and device for extracting slope unit profile lines based on a digital elevation model (DEM). Background Art

[0002] In the geological disaster stability assessment business, slope units are the basic assessment and prevention units. A large number of slope unit stability assessment algorithms are based on slope unit profiles (landslide center trajectory). Therefore, extracting slope unit profiles is an important prerequisite for stability assessment. Efficient and accurate extraction of slope unit profiles makes large-scale slope unit-based stability assessment possible.

[0003] Traditional profile line extraction methods are completed in professional geographic information system (GIS) software such as ArcGIS based on digital elevation models, or manually drawn, or generated based on various ArcGIS analysis tools, or based on ArcObject or ArcEngine secondary development. The traditional method generates profile lines with high accuracy due to the addition of manual judgment; however, it has high professional requirements for operators, is inefficient, and cannot be mass-produced.

[0004] The Chengdu Mountain Research Institute of the Chinese Academy of Sciences proposed a profile line extraction method. This method selects the maximum elevation point and the minimum elevation point of all the inflection points of the slope unit polygon and connects them to the centroid of the polygon, divides the polygon into two parts, and takes a line with a more even area of ​​the two parts as the profile line. This method has the advantages of program feasibility and the ability to generate profile lines in batches. However, due to the complexity of the terrain environment of the slope unit, the location of the highest or lowest point is often not the real landslide profile. Therefore, this method will cause a large number of profile lines that should be located in the center of the slope to be drawn on the diagonal line of the slope, which will have a serious impact on the reliability of subsequent stability evaluation and sliding distance calculation.

[0005] The profile line is obtained by connecting the maximum and minimum elevations of the slope unit vertices with the centroid. The distortion of the generated results can be mainly attributed to the following reasons: First, the slope unit polygons are mostly described in two-dimensional form, with longer edges on the two-dimensional plane, that is, the two nodes are far apart, and the boundaries are neat on the horizontal plane, but in fact there are elevation fluctuations inside. In other words, using only the vertices of the polygon cannot truly reflect the terrain fluctuations at the slope unit boundary, and it is not necessarily possible to find the true highest and lowest points of the slope unit; in addition, even if the true highest point is found, due to possible errors in the DEM and abnormal conditions of some terrain, using only a single point cannot accurately capture the trend of the terrain from high to low.

[0006] Therefore, it is hoped that there will be an improved solution that can greatly improve the accuracy and reliability of the extraction results while realizing the automatic extraction of slope unit profile lines. Summary of the invention

[0007] In view of this, one or more embodiments of the present invention provide a method and device for extracting slope unit profile lines based on a digital elevation model to eliminate or improve one or more defects existing in the prior art.

[0008] One aspect of the present invention provides a method for extracting slope unit profile lines based on a digital elevation model, the method comprising the following steps:

[0009] Along the horizontal direction of the slope unit, a number of boundary nodes are evenly distributed on the boundary of the slope unit at intervals of digital elevation model accuracy;

[0010] Acquiring node elevation values ​​of all distributed boundary nodes from the digital elevation model;

[0011] Based on the node elevation values ​​of all boundary nodes, a number of associated elevation values ​​related to all node elevation values ​​are obtained;

[0012] Selecting an elevation-related value from the plurality of associated elevation values ​​as a threshold, and grouping all node elevation values ​​based on the threshold, wherein the node elevation value is greater than or equal to the threshold and belongs to a high group, and the node elevation value is less than the threshold and belongs to a low group;

[0013] Obtaining the centroid of the two-dimensional projection polygon of the slope unit projected on the xoy plane;

[0014] On the two-dimensional projection polygon, respectively obtain a high group vector from the centroid to the boundary nodes corresponding to the elevation values ​​of each node in the high group, and a low group vector of the boundary nodes corresponding to the elevation values ​​of each node in the low group;

[0015] Respectively obtaining a high group average point of the high group vector and a low group average point of the low group vector, wherein the high group average point is an end point of an average vector of the high group vector, and the low group average point is an end point of an average vector of the low group vector;

[0016] Based on the line connecting the high group average point and the low group average point, a straight line passing through the centroid and parallel to the line is obtained, wherein the straight line passes through the high group average point and intersects with the two-dimensional projected polygon at a high profile line intersection point, and passes through the low group average point and intersects with the two-dimensional projected polygon at a low profile line intersection point;

[0017] Generate a profile line of the slope unit, wherein the coordinates of the first endpoint of the profile line are the coordinates of the intersection of the high profile line on the xoy plane, and the elevation value of the intersection of the high profile line obtained based on the digital elevation model; the coordinates of the second endpoint are the coordinates of the intersection of the low profile line on the xoy plane, and the elevation value of the intersection of the low profile line obtained based on the digital elevation model.

[0018] In some embodiments of the present invention, based on the node elevation values ​​of all boundary nodes, a number of associated elevation values ​​related to all node elevation values ​​are obtained, which also includes: obtaining the node elevation maximum value, node elevation minimum value, node elevation median value, node elevation mean value and node elevation median value of the node elevation values ​​of all boundary nodes; wherein the node elevation median value is the average value of the node elevation maximum value and the node elevation minimum value; the node elevation mean value is the average value of all node elevation values; the node elevation median value is the node elevation value located in the middle after all node elevation values ​​are sorted from small to large.

[0019] In some embodiments of the present invention, the threshold is the median value of the node elevation, the mean value of the node elevation, or the median value of the node elevation.

[0020] In some embodiments of the present invention, the step of uniformly distributing a plurality of boundary nodes on the boundary of the slope unit along the horizontal direction of the slope unit with a spacing of digital elevation model accuracy includes: inserting a plurality of boundary nodes with a spacing of digital elevation model accuracy between adjacent boundary vertices of the slope unit whose distance is greater than the digital elevation model accuracy; and thinning out according to the digital elevation model accuracy between adjacent boundary vertices of the slope unit whose distance is less than the digital elevation model accuracy.

[0021] In some embodiments of the present invention, based on the line connecting the high group average point and the low group average point, a straight line passing through the centroid and parallel to the connecting line is obtained, which also includes: translating the connecting line through the centroid to obtain the straight line; or, drawing a straight line through the centroid and parallel to the connecting line.

[0022] Another aspect of the present invention provides a device for extracting slope unit profile lines based on a digital elevation model, the device comprising a processor and a memory, the memory storing computer instructions, the processor being used to execute the computer instructions stored in the memory, and the device implementing the steps of the above method when the computer instructions are executed by the processor.

[0023] Another aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above method when executed by a processor.

[0024] Yet another aspect of the present invention provides a computer program product, comprising a computer program / instruction, which implements the steps of the method described above when executed by a processor.

[0025] The method, device and product for extracting slope unit profile lines based on a digital elevation model of the present invention can correctly reflect the terrain height of the slope unit, avoid abnormal results caused by errors or single-point abnormalities, and ensure the accuracy of the results.

[0026] Additional advantages, purposes, and features of the present invention will be described in part in the following description, and will become apparent to those skilled in the art after studying the following, or may be learned from the practice of the present invention. The purposes and other advantages of the present invention may be achieved and obtained by the structures specifically indicated in the specification and the accompanying drawings.

[0027] Those skilled in the art will appreciate that the objectives and advantages that can be achieved with the present invention are not limited to the above specific description, and the above and other objectives that can be achieved by the present invention will be more clearly understood from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute a limitation of the present invention. In the drawings:

[0029] Figure 1 It shows a schematic diagram of the cross-section lines involved in the embodiments disclosed in this specification;

[0030] Figure 2 It is a flow chart of a method for extracting slope unit profile lines based on DEM in one embodiment of the present invention;

[0031] Figure 3 is a schematic diagram of the slope unit profile extracted using the prior art;

[0032] Figure 4 is a schematic diagram of the slope unit profile extracted by the present invention;

[0033] Figure 5 Shows Figure 3 and Figure 4 Comparison of slope unit profiles shown;

[0034] Figures 6 to 11 The schematic diagram of extracting the slope unit profile line by using the present invention is shown step by step;

[0035] Fig.12 The figure is a comparison diagram of schematic results of extracting slope unit profile lines using the present invention and the prior art. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0037] It should also be noted that, in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.

[0038] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.

[0039] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection involving an intermediate.

[0040] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.

[0041] First, the technical terms involved in this application are explained.

[0042] Digital Elevation Model (DEM): A type of raster data in which the value of each grid cell is the elevation information of the geographic location represented by the grid.

[0043] Elevation: refers to the height of a point relative to a reference surface.

[0044] Slope unit: Slope unit is the basic evaluation unit in regional landslide stability assessment. The geometric expression of slope unit belongs to spatial polygon, and its physical meaning represents the actual three-dimensional slope body.

[0045] Section line: A line segment that passes through a slope unit. Figure 1 As shown, the profile line meets the following requirements: the direction of the profile line can reflect the main direction of the slope unit; it can reflect the height difference between the front and rear edges of the slope body and the direction of slope change; the soil weight on both sides of the profile line is relatively uniform, that is, the profile line passes through the centroid of the slope unit as much as possible. It should be understood that various slope unit stability algorithms are based on the profile line of the slope unit, such as the limit equilibrium model, the infinite slope model, and the sled model.

[0046] The following describes the specific implementation process of how to extract slope unit profile lines based on DEM.

[0047] Figure 2The flowchart of the method for extracting slope unit profile lines based on DEM in one embodiment of the present invention. The method can be executed by any device, equipment, or system with computing and processing capabilities. The method includes at least the following steps:

[0048] First, in step S101, along the horizontal direction of the slope unit, a number of boundary nodes are evenly distributed on the boundary of the slope unit with the precision of the digital elevation model (DEM) as the spacing. It should be understood that the DEM precision (resolution) is the actual geographical size represented by a DEM grid (pixel). Commonly used DEM precisions are 90 meters, 30 meters, and 12.5 meters, etc. The smaller the precision value, the finer it is. In one embodiment, the DEM precision used is 12.5 meters, then a number of boundary nodes are evenly distributed on the boundary of the slope unit at a spacing of every 12.5 meters. By evenly distributing a number of boundary nodes with the precision of the DEM as the spacing, the ups and downs on the boundary of the slope unit can be accurately described, and an accurate elevation distribution can be obtained.

[0049] It should be understood that the spacing between adjacent boundary vertices of the slope unit is sparse and dense. When a number of boundary nodes are evenly distributed on the boundary of the slope unit with the DEM accuracy as the spacing, when the distance between the adjacent boundary vertices of the slope unit is greater than the DEM accuracy, a number of boundary nodes are inserted between the adjacent boundary vertices with the DEM accuracy as the spacing; when the distance between the adjacent boundary vertices of the slope unit is less than the DEM accuracy, the adjacent boundary vertices are thinned out according to the DEM accuracy. By adjusting the boundary vertex spacing of the slope unit, sparse vertices are encrypted, and overly dense vertices are thinned out, the boundary nodes of the slope unit are evenly distributed according to the DEM accuracy as the spacing. Through the uniform distribution of boundary nodes, a reasonable high and low group average vector can be obtained.

[0050] Step S103, obtaining the node elevation values ​​of all distributed boundary nodes from the digital elevation model. For example, professional software such as ArcGIS can be used to obtain the node elevation values ​​of boundary nodes from the digital elevation model. The nodes are encrypted by equidistant interpolation through slope unit polygons to obtain accurate elevation distribution.

[0051] Step S105, based on the node elevation values ​​of all boundary nodes, obtain a number of associated elevation values ​​related to all node elevation values. In one embodiment, the number of associated elevation values ​​include but are not limited to: a maximum node elevation, a minimum node elevation, a median node elevation, a mean node elevation, and a median node elevation.

[0052] In one embodiment, the median node elevation is obtained by calculating the average of the maximum node elevation and the minimum node elevation.

[0053] In one embodiment, the node elevation mean is obtained by calculating the average of all node elevation values.

[0054] In one embodiment, all node elevation values ​​are sorted from small to large, and the node elevation value located in the middle is found, which is the median value of the node elevation.

[0055] Step S107, select an elevation-related value from a number of associated elevation values ​​as a threshold, and group all node elevation values ​​based on the threshold. Node elevation values ​​greater than or equal to the threshold are grouped into a high group, and node elevation values ​​less than the threshold are grouped into a low group. In one embodiment, the median elevation value is selected as the threshold, then node elevation values ​​greater than or equal to the median elevation value are grouped into a high group, and node elevation values ​​less than the median elevation value are grouped into a low group. It should be understood that the threshold may also select other associated elevation values, such as the mean node elevation value and the median node elevation value.

[0056] Step S109, obtaining the centroid of the two-dimensional projection polygon of the slope unit projected on the xoy plane.

[0057] Next, in step S111, on the two-dimensional projection polygon, high group vectors from the centroid to the boundary nodes corresponding to the elevation values ​​of each node in the high group and low group vectors of the boundary nodes corresponding to the elevation values ​​of each node in the low group are respectively obtained.

[0058] Step S113, respectively obtain the high group average point of the high group vector and the low group average point of the low group vector. In one embodiment, all high group vectors are added and then averaged to obtain the high group average vector. Similarly, the low group average vector is obtained. It should be understood that the end point of the high group average vector is the high group average point, and the end point of the low group average vector is the low group average point.

[0059] Step S115, based on the line connecting the high group average point and the low group average point, obtain a straight line passing through the centroid and parallel to the connecting line. In one embodiment, the straight line passes through the high group average point and intersects with the two-dimensional projected polygon at the intersection of the high profile line, and passes through the low group average point and intersects with the two-dimensional projected polygon at the intersection of the low profile line. It should be understood that a straight line passing through the centroid and parallel to the connecting line can be obtained by a variety of methods, for example, the connecting line can be translated through the centroid to obtain the straight line; or, a straight line parallel to the connecting line can be drawn through the centroid.

[0060] In step S117, a profile line of the slope unit is generated, wherein the coordinates of the first endpoint of the profile line are the coordinates of the intersection of the high profile line on the xoy plane, and the elevation value of the intersection of the high profile line obtained based on the digital elevation model; the coordinates of the second endpoint are the coordinates of the intersection of the low profile line on the xoy plane, and the elevation value of the intersection of the low profile line obtained based on the digital elevation model.

[0061] Obviously, by obtaining the average vectors of the high group and the low group as the starting and ending reference positions of the profile line, all boundary nodes contribute to the profile line calculation. The obtained average points of the high group and the low group correctly reflect the terrain height of the slope unit, avoiding abnormal results caused by errors or single-point anomalies, and ensuring the accuracy of the results.

[0062] It can be understood that the use of the vector average method to obtain the two endpoints of the profile line not only conforms to the actual trend, but also avoids the profile line position deviation caused by the elevation error. Correcting the profile line position with the centroid can make the slope unit more evenly divided. The extraction method of the present invention is simple and effective, and can be processed by a computer in full automation to generate profile lines in batches, which can be used for large-scale stability assessment and influence range calculation.

[0063] Figure 3 is a schematic diagram of the slope unit profile extracted using the prior art; Figure 4 is a schematic diagram of slope unit profile extracted using the present invention; Figure 5 Shows Figure 3 and Figure 4 Comparison of slope unit profiles shown. Figure 5 , it can be clearly seen that Figure 3 The positions of some of the profile lines, i.e. the blue lines, are not consistent with the actual situation. Some of them are on the diagonal lines of the slope unit, for example Figure 5 The shaded slope cells in ; Figure 4 The profile line in the figure, that is, the position of the orange line, is more in line with the actual situation and can better capture the terrain from high to low, which is obviously more reasonable.

[0064] Figures 6 to 11 The schematic diagram of extracting the slope unit profile line by using the present invention is shown step by step. Figure 6 , showing the original slope cell polygons and boundary vertices. Figure 7 A number of boundary nodes are evenly distributed at intervals according to the accuracy of the digital elevation model. Here, the boundary processing is performed at intervals of 12.5 meters, and the over-dense points are thinned out, while the over-sparse points are encrypted.

[0065] Figure 8 The superimposed elevation data is shown to obtain the boundary vertex elevation, that is, the node elevation value of the boundary node. Specifically, the node elevation values ​​of all distributed boundary nodes are obtained from the digital elevation model, and based on the node elevation values ​​of all boundary nodes, several associated elevation values ​​related to all node elevation values ​​are obtained. Here, several associated elevation values ​​include: maximum node elevation value, minimum node elevation value, median node elevation value, mean node elevation value and median node elevation value. Then, an elevation associated value is selected from several associated elevation values ​​as a threshold. Figure 8 In , select the mean node elevation as the threshold.

[0066] Fig. 9 The boundary vertices, that is, the boundary nodes are classified according to the elevation to obtain the grouping vector. As shown in the figure, the vector from the centroid to the vertex, the red vector vertex is higher than the average elevation, and the green vector vertex is lower than the average elevation. For example, the centroid of the two-dimensional projection polygon of the slope unit projected on the xoy plane is obtained. On the two-dimensional projection polygon, the high group vectors from the centroid to the boundary nodes corresponding to the elevation values ​​of each node in the high group, and the low group vectors of the boundary nodes corresponding to the elevation values ​​of each node in the low group are obtained respectively.

[0067] Fig.10 The average vector is obtained. For example, the high group average point of the high group vector and the low group average point of the low group vector are obtained respectively, the high group average point is the end point of the average vector of the high group vector, and the low group average point is the end point of the average vector of the low group vector.

[0068] Fig.11 The correction of the straight line passing through the centroid and intersecting the edge is shown as the extraction result. In one embodiment, based on the line connecting the high group average point and the low group average point, a straight line passing through the centroid and parallel to the connecting line is obtained. This straight line passes through the high group average point and intersects the two-dimensional projected polygon at the high profile line intersection point, and passes through the low group average point and intersects the two-dimensional projected polygon at the low profile line intersection point.

[0069] Fig.12 The following is a comparison diagram of the schematic results of extracting slope unit profile lines using the present invention and the prior art. The red color is the extraction result using the prior art, where the lowest point of the boundary elevation is connected to the centroid point. The green color is the extraction result using the present invention. It can be clearly seen that the extraction result using the present invention is much better than the prior art.

[0070] Corresponding to the above method, the present invention also provides a device for extracting slope unit profile lines based on a digital elevation model, the device comprising a computer device, the computer device comprising a processor and a memory, the memory storing computer instructions, the processor being used to execute the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the device implements the steps of the method described above.

[0071] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described above are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0072] The embodiment of the present invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the method described above.

[0073] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.

[0074] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0075] In the present invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.

[0076] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for extracting slope unit profile lines based on a digital elevation model, characterized in that: include: Along the horizontal direction of the slope unit, a number of boundary nodes are evenly distributed on the boundary of the slope unit at intervals of digital elevation model accuracy; Acquiring node elevation values ​​of all distributed boundary nodes from the digital elevation model; Based on the node elevation values ​​of all boundary nodes, a number of associated elevation values ​​related to all node elevation values ​​are obtained; Selecting an elevation-related value from the plurality of associated elevation values ​​as a threshold, and grouping all node elevation values ​​based on the threshold, wherein the node elevation value is greater than or equal to the threshold and belongs to a high group, and the node elevation value is less than the threshold and belongs to a low group; Obtaining the centroid of the two-dimensional projection polygon of the slope unit projected on the xoy plane; On the two-dimensional projection polygon, respectively obtain a high group vector from the centroid to the boundary nodes corresponding to the elevation values ​​of each node in the high group, and a low group vector of the boundary nodes corresponding to the elevation values ​​of each node in the low group; Respectively obtaining a high group average point of the high group vector and a low group average point of the low group vector, wherein the high group average point is an end point of an average vector of the high group vector, and the low group average point is an end point of an average vector of the low group vector; Based on the line connecting the high group average point and the low group average point, a straight line passing through the centroid and parallel to the line is obtained, wherein the straight line passes through the high group average point and intersects with the two-dimensional projected polygon at a high profile line intersection point, and passes through the low group average point and intersects with the two-dimensional projected polygon at a low profile line intersection point; Generate a profile line of the slope unit, wherein the coordinates of the first endpoint of the profile line are the coordinates of the intersection of the high profile line on the xoy plane, and the elevation value of the intersection of the high profile line obtained based on the digital elevation model; the coordinates of the second endpoint are the coordinates of the intersection of the low profile line on the xoy plane, and the elevation value of the intersection of the low profile line obtained based on the digital elevation model.

2. The method according to claim 1, characterized in that The step of obtaining a plurality of associated elevation values ​​related to all node elevation values ​​based on the node elevation values ​​of all boundary nodes includes: Get the maximum node elevation, minimum node elevation, median node elevation, mean node elevation and median node elevation of all boundary nodes; where, The node elevation median is the average of the node elevation maximum and the node elevation minimum; The node elevation mean is the average value of all node elevation values; The median value of the node elevation is the node elevation value located in the middle after all node elevation values ​​are sorted from small to large.

3. The method according to claim 2, characterized in that The threshold value is the median value of the node elevation, the mean value of the node elevation, or the median value of the node elevation.

4. The method according to any one of claims 1 to 3, characterized in that In the horizontal direction of the slope unit, a plurality of boundary nodes are evenly distributed on the boundary of the slope unit at intervals of digital elevation model accuracy, including: Inserting a plurality of boundary nodes at intervals of the digital elevation model precision between adjacent boundary vertices of the slope unit whose distances are greater than the digital elevation model precision; Between adjacent boundary vertices of the slope unit whose distances are less than the accuracy of the digital elevation model, thinning is performed according to the accuracy of the digital elevation model.

5. The method according to any one of claims 1 to 3, characterized in that: The step of obtaining a straight line passing through the centroid and parallel to the connecting line based on the connecting line of the high group average point and the low group average point comprises: The connecting line is translated to pass through the centroid to obtain the straight line; or, Draw a straight line through the centroid parallel to the connecting line.

6. A device for extracting slope unit profile lines based on a digital elevation model, comprising a processor and a memory, characterized in that: The memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the device implements the steps of the method as claimed in any one of claims 1 to 5.

7. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method as claimed in any one of claims 1 to 5 are implemented.

8. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Cited By

  • Method and device for extracting slope unit section line of complex terrain

    CN120976454A