A forest gap extraction method based on polar coordinate transformation
By using a method based on polar coordinate conversion and using canopy height models and point cloud data, the problem of inaccurate boundary identification and low precision in forest gap extraction is solved, high-precision forest gap extraction is achieved, and forest gap area calculations are significantly improved. accuracy.
Patent Information
- Application Number
- CN202410819304.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-24
AI Technical Summary
Existing forest gap extraction methods have problems such as inaccurate forest gap boundary identification and low forest gap area extraction accuracy. In particular, the accuracy of point cloud extraction methods is easily affected by point cloud density and has poor applicability in different forest types. .
A forest gap extraction method based on polar coordinate conversion was used to initially identify the rough forest gap range through the canopy height model (CHM), establish a buffer zone to crop the original point cloud data, perform polar coordinate conversion to search for the point with the shortest radius at a fixed angle, and connect These points are used to obtain highly accurate forest gap results.
The accuracy of forest gap identification and parameter extraction is improved, and the obtained forest gap results are closer to the real boundary. The forest gap area calculation accuracy is increased by 85.26%, which significantly improves the error of the existing method.
Smart Images

Figure CN118397076B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of forest gap extraction, and in particular to a forest gap extraction method based on polar coordinate conversion. Background Art
[0002] A forest gap usually refers to a phenomenon in which a continuous forest canopy is broken due to interference from human factors (such as deforestation, forest management, etc.) or natural factors (such as pests and diseases, lightning strikes, strong winds, etc.), resulting in gaps between forest canopies. The appearance of forest gaps will trigger a series of ecological effects, including changing the structure of the forest and promoting the succession and renewal of understory communities. Therefore, forest gaps play an important role in forest ecology research. They are regarded as a key factor in describing the characteristics and functions of forest parameters such as forest leaf area index, biomass, carbon storage, animal habitats, and local climate regulation. They also help to understand the spatial changes in the characteristics and functions of these forest parameters.
[0003] The shape of forest gap boundaries and forest gap area are key elements of forest gaps. Traditional measurement methods involve researchers entering forest areas, which is not only time-consuming and laborious, but also interfered by canopy occlusion and complex understory conditions, making it difficult to ensure the accuracy of measurement results. As an emerging remote sensing technology, LiDAR remote sensing technology has attracted much attention because it can quickly and accurately obtain high-density three-dimensional point cloud data of the research object. In particular, airborne LiDAR technology uses a top-down scanning method to accurately obtain a large range of forest canopy three-dimensional point cloud data, and has gradually become an important technical means for forest gap extraction.
[0004] At present, the extraction of forest gaps using airborne lidar can be divided into two methods: based on the canopy height model (CHM) and directly based on point cloud extraction. The CHM-based method can reflect the location of the forest gap by the difference between the height of the forest gap and the surrounding trees, and directly identify the forest gap from the CHM. This method is widely used. However, since the point cloud data may cause certain deformation in the process of generating CHM, CHM will produce errors. Therefore, the forest gap boundaries extracted by these methods often show relatively smooth features, and it is difficult to accurately approximate the real forest gap boundaries, and even offset may occur. This situation leads to large errors in the calculation accuracy of the forest gap area. The point cloud extraction method does not need to convert the point cloud into CHM, which reduces the error in the data conversion process and has high extraction accuracy. However, there are currently few studies on forest gap extraction directly through canopy point clouds, because the accuracy of this method is easily affected by the density of point clouds, and the applicability in different forest types is difficult to evaluate, especially for tree species with unclear crowns. Therefore, the method of extracting forest gaps directly through point clouds still faces problems such as difficulty in parameter setting optimization and poor applicability of forest stand types.
[0005] In summary, in view of the problems of inaccurate gap boundary identification and low gap area extraction accuracy in the current forest gap extraction methods, the present invention proposes a new forest gap extraction method, aiming to improve the accuracy of forest gap identification and gap parameter extraction and make up for the shortcomings of the current method. Summary of the invention
[0006] The purpose of the present invention is to provide a forest gap extraction method based on polar coordinate transformation in response to the above-mentioned problems that currently exist. The method is based on the rough forest gap extracted by CHM, and then a buffer zone is established based on the rough forest gap to crop the original point cloud. Finally, the cropped forest gap point cloud is subjected to polar coordinate transformation, and the point with the shortest radius within the search range is taken as the forest gap point with a fixed angle as the step size. These points are connected to obtain a high-precision forest gap result.
[0007] The technical solution of the present invention is as follows:
[0008] A forest gap extraction method based on polar coordinate transformation comprises the following steps:
[0009] S1: Generate canopy height model CHM using digital elevation model DEM and digital surface model DSM;
[0010] S2: Perform preliminary forest gap identification based on the canopy height model (CHM) to obtain a rough forest gap range, generate a corresponding buffer zone based on the rough forest gap range, and use the generated buffer zone to clip the original point cloud data to obtain an accurate forest gap point cloud;
[0011] S3: Extract the center point of each forest gap point cloud, perform polar coordinate conversion, search for points that meet the conditions according to the angle step and the shortest radius, and connect the points that meet the conditions to obtain a high-precision forest gap range;
[0012] S4: Based on the final extracted forest gap range, the area of the forest gap is calculated, and the actual area is calculated for comparison to evaluate the accuracy.
[0013] Furthermore, the S3 specifically includes the following steps:
[0014] The obtained forest gap point cloud is Polar coordinate transformation on a plane:
[0015] Find the center point of each forest gap point cloud according to the following formula :
[0016] ;
[0017] in, 、 Indicates The coordinate values of the points, Indicates the number of points;
[0018] According to the center point , use the coordinates of the forest gap point cloud to cut off the central coordinates and center the forest gap point cloud. The calculation formula is as follows:
[0019] ;
[0020] ;
[0021] in, , represents the centered coordinate value, 、 Represents the original coordinate value of each point;
[0022] The centralized forest gap point cloud is converted into polar coordinates, and the calculation formula is:
[0023] ;
[0024] .
[0025] Furthermore, the S3 further comprises the following steps:
[0026] Set the angle step , according to the angle step Divided into different angles:
[0027] ;
[0028] Loop through the lengths of the angles and calculate the difference between each point and the current angle. ;
[0029] Setting the Angle Threshold , find satisfaction All points of
[0030] Find the point The smallest point;
[0031] After the cycle is completed, all points that meet the conditions are connected in sequence to obtain the final forest gap.
[0032] Furthermore, the S4 specifically includes the following steps:
[0033] Connect vertices: Connect adjacent vertices of the polygon in pairs to form a series of edges. Calculate the area of the triangle: For each pair of adjacent vertices, the edges formed form a triangle.
[0034] Calculate the directed area of each triangle using the following formula:
[0035] ,
[0036] in, and are the coordinates of the two vertices of the triangle;
[0037] Sum: Add the directed areas of all triangles to get the directed area of the polygon;
[0038] Take the absolute value: Take the absolute value of the directed area as the calculated gap area.
[0039] Furthermore, the S2 specifically includes the following steps:
[0040] The CHM image was binarized in ArcMap using a five-meter height threshold;
[0041] In the processing, pixels with a height of five meters or less are marked as one, and pixels with a height of more than five meters are marked as zero;
[0042] After processing the errors caused by noise points, independent trees and cropping boundaries, preliminary forest gap identification results were obtained.
[0043] Furthermore, the S2 further comprises the following steps:
[0044] Overlay the initially extracted forest gap identification results with the original point cloud data;
[0045] Generate a buffer zone with the extracted rough forest gap boundary so that the real forest gap boundary point cloud is included in the buffer zone;
[0046] The original point cloud is clipped according to the buffer boundary to obtain the forest gap point cloud data one by one.
[0047] Furthermore, the S1 specifically includes the following steps:
[0048] Process the data through data denoising and cropping preprocessing methods;
[0049] The ground points and non-ground points are obtained by filtering, and the DEM is generated based on the ground points by ordinary kriging interpolation, and the DSM is generated based on the first back-call of the non-ground points by inverse distance weighted interpolation.
[0050] CHM is obtained by subtracting DSM and DEM. The calculation formula is: .
[0051] Furthermore, the actual area extraction method of the forest gap comprises the following steps:
[0052] Based on the extracted forest gaps, the corresponding forest gaps are found one by one in the original data, and the forest gaps are cropped;
[0053] The cropped forest gap point cloud was imported into ArcGIS, and the innermost points were vectorized to calculate the forest gap area, which was used as the actual forest gap area.
[0054] Compared with the prior art, the present invention has the following beneficial effects:
[0055] 1. A forest gap extraction method based on polar coordinate transformation, which is based on the rough forest gap extracted by CHM, and then uses the rough forest gap to establish a buffer zone to clip the original point cloud. Finally, the clipped forest gap point cloud is transformed into polar coordinates, and the point with the shortest radius within the search range is taken as the forest gap point with a fixed angle as the step length. These points are connected to obtain a high-precision forest gap result;
[0056] 2. A forest gap extraction method based on polar coordinate transformation fully utilizes the advantages of CHM while also taking into account the actual forest gap points. The method proposed in the present invention can achieve high-precision extraction of forest gaps, and this method can provide relevant theoretical support for forest ecology research. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 This is a flow chart of a forest gap extraction method based on polar coordinate transformation.
[0058] Figure 2 This is an experimental data diagram of a forest gap extraction method based on polar coordinate transformation.
[0059] Figure 3 This is a CHM result map of a forest gap extraction method based on polar coordinate transformation.
[0060] Figure 4 This is a preliminary forest gap identification result diagram of a forest gap extraction method based on polar coordinate transformation.
[0061] Figure 5 This is a diagram showing the preliminary forest gap identification results and point cloud overlay effect of a forest gap extraction method based on polar coordinate transformation.
[0062] Figure 6 This is a buffer zone result map of a forest gap extraction method based on polar coordinate transformation.
[0063] Figure 7 This is a forest gap extraction result map of a forest gap extraction method based on polar coordinate transformation.
[0064] Figure 8 This is a graph showing the precise analysis results of forest gaps using a forest gap extraction method based on polar coordinate transformation. DETAILED DESCRIPTION
[0065] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, 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 "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0066] The features and performance of the present invention are further described in detail below in conjunction with the embodiments.
[0067] See also Figure 1-8 , a forest gap extraction method based on polar coordinate transformation, such as Figure 1 As shown, the following steps are included:
[0068] S1: Generate canopy height model CHM using digital elevation model DEM and digital surface model DSM;
[0069] S2: Perform preliminary forest gap identification based on the canopy height model (CHM) to obtain a rough forest gap range, generate a corresponding buffer zone based on the rough forest gap range, and use the generated buffer zone to clip the original point cloud data to obtain an accurate forest gap point cloud;
[0070] S3: Extract the center point of each forest gap point cloud, perform polar coordinate conversion, search for points that meet the conditions according to the angle step and the shortest radius, and connect the points that meet the conditions to obtain a high-precision forest gap range;
[0071] S4: Based on the final extracted forest gap range, the area of the forest gap is calculated, and the actual area is calculated to evaluate the accuracy.
[0072] The S3 specifically includes the following steps:
[0073] The obtained forest gap point cloud is Polar coordinate transformation on a plane:
[0074] Find the center point of each forest gap point cloud according to the following formula :
[0075] ;
[0076] in, 、 Indicates The coordinates of the points, Indicates the number of points;
[0077] According to the center point , use the coordinates of the forest gap point cloud to cut off the central coordinates and center the forest gap point cloud. The calculation formula is as follows:
[0078] ;
[0079] ;
[0080] in, , represents the centered coordinate value, 、 Represents the original coordinate value of each point;
[0081] The centralized forest gap point cloud is converted into polar coordinates, and the calculation formula is:
[0082] ;
[0083] .
[0084] The S3 further comprises the following steps:
[0085] Set the angle step , according to the angle step Divided into different angles:
[0086] ;
[0087] Loop through the lengths of the angles and calculate the difference between each point and the current angle. ;
[0088] Setting the Angle Threshold , find satisfaction All points of
[0089] Find the point The smallest point;
[0090] After the cycle is completed, all points that meet the conditions are connected in sequence to obtain the final forest gap. The final forest gap extraction result is as follows: Figure 7 shown.
[0091] like Figure 7As shown in the figure, compared with the forest gaps directly extracted by CHM, the forest gaps further extracted after coordinate transformation are closer to the real forest gaps. In order to quantitatively verify the accuracy of forest gaps extracted by this method, the forest gap areas directly extracted based on CHM and the forest gap areas after polar coordinate transformation (PCT) were calculated and compared with the actual forest gap area (Reality) to analyze the effectiveness of this method.
[0092] The S4 specifically comprises the following steps:
[0093] Connect vertices: Connect adjacent vertices of the polygon in pairs to form a series of edges. Calculate the area of the triangle: For each pair of adjacent vertices, the edges formed form a triangle.
[0094] Calculate the directed area of each triangle using the following formula:
[0095] ,
[0096] in, and are the coordinates of the two vertices of the triangle;
[0097] Sum: Add the directed areas of all triangles to get the directed area of the polygon;
[0098] Take the absolute value: Take the absolute value of the directed area as the calculated gap area.
[0099] According to the definition of the height threshold of forest gaps by scholars at home and abroad, 5m is generally used as the height threshold to extract forest gaps. Therefore, the method of the present invention uses 5m as the height threshold to perform binarization processing on the CHM image. In this processing, pixels with a height less than or equal to 5m are marked as 1, while those with a height greater than 5m are marked as 0. However, there are some error pixels in the obtained results, which need to be further processed. Specifically, the following situations are mainly faced: (1) Within the forest gap range, some pixels marked as 0 may be noise points or independently grown solitary trees, so these pixels need to be filled; (2) Some independent low vegetation or errors caused by the CHM generation process may be mistakenly identified as forest gaps. These error pixels are often scattered in the results in a dotted manner and need to be filtered; (3) Large areas such as cropping boundaries or roads may also be mistaken for forest gaps. The pixel range of these places is often larger than that of real forest gaps, so they need to be filtered according to this feature. By processing the above errors, the real forest gap pixels can be effectively retained.
[0100] The S2 specifically includes the following steps:
[0101] The CHM image was binarized in ArcMap using a five-meter height threshold;
[0102] In the processing, pixels with a height of five meters or less are marked as one, and pixels with a height of more than five meters are marked as zero;
[0103] After processing the errors caused by noise points, independent trees and cropping boundaries, the preliminary forest gap recognition results are obtained, such as Figure 4 The error processing is a prior art.
[0104] The S2 further comprises the following steps:
[0105] The initially extracted forest gap identification results are superimposed with the original point cloud data, such as Figure 5 As shown in the figure, the locations of forest gaps are basically correctly identified, but the boundaries of many forest gaps are relatively rough and are not accurately identified, resulting in large errors, so further processing is required.
[0106] A buffer zone is generated by using the extracted rough forest gap boundary so that the actual forest gap boundary point cloud is included in the buffer zone; the buffer zone generation method is the prior art.
[0107] The original point cloud is clipped according to the buffer boundary to obtain the forest gap point cloud data one by one, such as Figure 6 shown.
[0108] The S1 specifically includes the following steps:
[0109] The data is processed by data denoising and cropping preprocessing methods; e.g. Figure 2 shown.
[0110] The ground points and non-ground points are obtained by filtering, and the DEM is generated based on the ground points by ordinary kriging interpolation, and the DSM is generated based on the first back-call of the non-ground points by inverse distance weighted interpolation.
[0111] CHM is obtained by subtracting DSM and DEM. The calculation formula is: The results are as follows Figure 3 shown.
[0112] The actual area extraction method of the forest gap comprises the following steps:
[0113] Based on the extracted forest gaps, the corresponding forest gaps are found one by one in the original data, and the forest gaps are cropped;
[0114] The cropped forest gap point cloud was imported into ArcGIS, and the innermost points were vectorized to calculate the forest gap area, which was used as the actual forest gap area.
[0115] The method finally accurately identified a total of 41 forest gaps. The forest gap areas directly extracted based on CHM, the forest gap areas extracted by the PCT method, and the forest gap areas actually extracted manually are shown in Table 1.
[0116] Table 1 Precision analysis table of forest gap area (m 2 )
[0117]
[0118] A statistical comparative analysis was performed on the gap areas extracted based on CHM, the gap areas after polar coordinate transformation (PTC), and the actual (REA) gap areas extracted manually, such as Figure 8 shown.
[0119] like Figure 8 As shown in the figure, compared with the gap extraction area based on CHM alone, the gap area extracted by the PCT method has been greatly improved and is closer to the REA gap area. By calculating the root mean square error of the gap areas extracted by CHM, PCT and REA, it can be found that the RMSE of the gap extraction area based on CHM alone is 6.58m 2 ; The RMSE of the gap area accurately extracted after coordinate transformation is 0.97m 2 Compared with the CHM method alone, the PCT method has an 85.26% higher accuracy in forest gap area extraction. This shows that the forest gap extraction method after polar coordinate transformation proposed in the present invention is an effective and reliable method.
[0120] The above-mentioned embodiments only express the specific implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the protection scope of the present application. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the technical solution concept of the present application, and these all belong to the protection scope of the present application.
Claims
1. A forest gap extraction method based on polar coordinate transformation, characterized in that: The following steps are involved: S1: Generate canopy height model CHM using digital elevation model DEM and digital surface model DSM; S2: Perform preliminary forest gap identification based on the canopy height model (CHM) to obtain a rough forest gap range, generate a corresponding buffer zone based on the rough forest gap range, and use the generated buffer zone to clip the original point cloud data to obtain an accurate forest gap point cloud; S3: Extract the center point of each forest gap point cloud, perform polar coordinate conversion, search for points that meet the conditions according to the angle step and the shortest radius, and connect the points that meet the conditions to obtain a high-precision forest gap range; S4: Based on the final extracted forest gap range, the area of the forest gap is calculated, and the actual area is calculated for comparison to evaluate the accuracy; The S3 specifically includes the following steps: The obtained forest gap point cloud is Polar coordinate transformation on a plane: Find the center point of each forest gap point cloud according to the following formula : ; in, 、 Indicates The coordinate values of the points, Indicates the number of points; According to the center point , use the coordinates of the forest gap point cloud to cut off the central coordinates and center the forest gap point cloud. The calculation formula is as follows: ; ; in, , represents the centered coordinate value, 、 Represents the original coordinate value of each point; The centralized forest gap point cloud is converted into polar coordinates, and the calculation formula is: ; ; The S3 further comprises the following steps: Set the angle step size , according to the angle step Divided into different angles: ; Loop through the lengths of the angles and calculate the difference between each point and the current angle. ; Setting the Angle Threshold , find satisfaction All points of Find the point The smallest point; After the cycle is completed, all points that meet the conditions are connected in sequence to obtain the final forest gap; The S4 specifically comprises the following steps: Connect vertices: Connect adjacent vertices of the polygon in pairs to form a series of edges. Calculate the area of the triangle: For each pair of adjacent vertices, the edges formed form a triangle. Calculate the directed area of each triangle using the following formula: , in, and are the coordinates of the two vertices of the triangle; Sum: Add the directed areas of all triangles to get the directed area of the polygon; Take the absolute value: Take the absolute value of the directed area as the calculated gap area.
2. The forest gap extraction method based on polar coordinate transformation according to claim 1, characterized in that: The S2 specifically includes the following steps: The CHM image was binarized in ArcMap using a five-meter height threshold; In the processing, pixels with a height of five meters or less are marked as one, and pixels with a height of more than five meters are marked as zero; After processing the errors caused by noise points, independent trees and cropping boundaries, preliminary forest gap identification results were obtained.
3. The forest gap extraction method based on polar coordinate transformation according to claim 2, characterized in that: The S2 further comprises the following steps: Overlay the initially extracted forest gap identification results with the original point cloud data; Generate a buffer zone with the extracted rough forest gap boundary so that the real forest gap boundary point cloud is included in the buffer zone; The original point cloud is clipped according to the buffer boundary to obtain the forest gap point cloud data one by one.
4. The forest gap extraction method based on polar coordinate transformation according to claim 1, characterized in that: The S1 specifically includes the following steps: Process the data through data denoising and cropping preprocessing methods; The ground points and non-ground points are obtained by filtering, and the DEM is generated based on the ground points by ordinary kriging interpolation, and the DSM is generated based on the first back-call of the non-ground points by inverse distance weighted interpolation. CHM is obtained by subtracting DSM and DEM. The calculation formula is: .
5. The forest gap extraction method based on polar coordinate transformation according to claim 1, characterized in that: The actual area extraction method of the forest gap comprises the following steps: Based on the extracted forest gaps, the corresponding forest gaps are found one by one in the original data, and the forest gaps are cropped; The cropped forest gap point cloud was imported into ArcGIS, and the innermost points were vectorized to calculate the forest gap area, which was used as the actual forest gap area.
Citation Information
Patent Citations
Fruit tree canopy volume extraction method and system based on vehicle-mounted Lidar point cloud data
CN116704005A
Method for setting forest monitoring standard place based on airborne laser radar data
CN116935247A
