Tree Extraction Method Based on Automatic Segmentation of Different Features

By combining airborne lidar and aerial image data, using local entropy and NDVI features, and combining light area and shadow area separation, efficient tree extraction is achieved, solving the problem of low extraction accuracy from a single data source, improving extraction accuracy and speed.

CN113850823BActive Publication Date: 2024-09-27ZHONGBEI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111105035.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-18
Publication Date
2024-09-27
Estimated Expiration
2041-09-18

AI Technical Summary

Technical Problem

Existing technology is difficult to accurately extract tree distribution information using a single remote sensing data, and methods based on machine learning require a large number of samples and manual labeling, have limited generalization capabilities, and are difficult to meet the running speed requirements.

Method used

Combining airborne lidar data and aerial orthophoto data, using the method of automatic segmentation of different features, through data preprocessing, multi-source remote sensing data registration, feature extraction and threshold selection, local entropy and normalized difference vegetation index ( NDVI) features, combined with the separation of light areas and shadow areas, obtain the feature threshold through the idea of ​​histogram subtraction, and realize the extraction of tree candidate areas.

Benefits of technology

It significantly improves the accuracy and precision of tree extraction, reduces the missed detection rate of trees in shadow areas, has fast extraction speed, low algorithm time complexity, and can achieve high-precision tree area extraction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113850823B
    Figure CN113850823B
Patent Text Reader

Abstract

The present invention discloses a tree extraction method based on automatic segmentation of different features. High outliers and low outliers are deleted from the original point cloud data through data preprocessing; the preprocessed point cloud data is interpolated point by point in a raster format to establish a DSM, and its resolution is adjusted to be consistent with the aerial orthophoto; the normalized difference vegetation index (NDVI) of the reflectance spectrum of the aerial orthophoto data and the local entropy value of the laser radar DSM data are combined as tree extraction features; the tree area is extracted by using the ideas of separation of the illumination area and the shadow area and histogram subtraction, forming an efficient tree extraction algorithm that does not require sample training and iteration. It can be applied to the fields of forest tree species classification and growth status monitoring, ground object category detection and three-dimensional urban modeling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a tree extraction technology in the field of airborne LiDAR data, and in particular to a tree extraction method based on automatic segmentation of different features. Summary of the invention

[0002] As an emerging active remote sensing technology, airborne laser scanning and ranging system (Light Detection And Ranging, LiDAR) is composed of laser scanners, visible light systems, global positioning systems and inertial navigation systems. It can obtain massive point cloud data and orthophoto data. It has unique advantages such as high spatial resolution and rapid acquisition of three-dimensional information. It is widely used in forest tree species classification, land feature category detection, three-dimensional urban modeling and natural disaster relief.

[0003] Urban tree extraction based on multi-source remote sensing data is of great significance for urban resource surveys, health status assessment and scientific management. Traditional manual survey methods require a lot of field surveys, which is time-consuming and labor-intensive. Although there are many existing remote sensing technical means, it is still challenging to accurately extract tree distribution information using single remote sensing data. As a comprehensive information processing and analysis technology, the research on multi-source remote sensing information data fusion has become an important research direction in the field of remote sensing. The research on feature-level fusion methods can extract relevant features from the data source, and comprehensively process and analyze the features. The information processing speed is fast, and it can provide the feature information required for the decision-making level.

[0004] Existing classification methods based on machine learning are relatively mature remote sensing classification methods, including support vector machines and random forests. However, such methods require the design of a large number of suitable features, and the classification accuracy is limited by the characteristics and performance of the classifier. Target detection methods based on neural networks have shown superior performance, but the performance of these methods is heavily dependent on a large number of samples and manual labeling, which is time-consuming and laborious, and their generalization ability is limited by the training domain. The algorithm accuracy is acceptable, but it is difficult to meet user needs in terms of running speed. Summary of the invention

[0006] The present invention combines the advantages of LiDAR data and orthophoto data and proposes a tree extraction method based on automatic segmentation of different features.

[0007] The present invention is implemented by adopting the following technical solution: a tree extraction method based on automatic segmentation of different features, comprising the following steps:

[0008] S1: Data preprocessing: First, for each point in the input point cloud, calculate the distance to all nearby points and calculate the average value of the distance D mean and standard deviation D s; Secondly, use the calculated mean and standard deviation of the distance according to formula D max =D mean +n*D s Define a maximum distance; finally, compare the average of the distances from a point to all its neighboring points with the defined maximum value. If the average of the distances is greater than the maximum distance, the point is defined as an outlier and is deleted from the original point cloud data.

[0009] S2: Multi-source remote sensing data registration; the pre-processed point cloud is interpolated point by point in a grid format to create a DSM. Common interpolation methods include neighbor distance interpolation, triangulation interpolation, inverse distance weighted interpolation, etc. Adjust the pixel resolution of the DSM image to make it consistent with the aerial image.

[0010] S3: Data feature extraction; Based on the characteristics of low reflectivity of vegetation in the red band and high reflectivity in the near-infrared and green bands, as well as the characteristics of small entropy values ​​in grassland and building areas and large entropy values ​​in tree areas, the Normalized Difference Vegetation Index (NDVI) of the reflectance spectrum of aerial orthophoto data and the local entropy value of lidar DSM data are combined as data extraction features for the extraction of candidate tree areas.

[0011] S4: Threshold selection, combining the histogram subtraction idea to obtain the feature thresholds of NDVI and DSM local entropy, and extracting tree candidate areas through the two feature thresholds.

[0012] The above-mentioned tree extraction method based on automatic segmentation of different features also includes the following steps: separation of illuminated areas and shadow areas; based on the idea of ​​separation of illuminated areas and shadow areas, the average grayscale value of the orthophoto is used as the brightness value, and the brightness threshold is determined by using the Otsu threshold method to divide the initial shadow area and illuminated area in the orthophoto, and then the area threshold Ta is set. When the shadow area of ​​an initial shadow area is greater than Ta, it is identified as the final shadow area. When the shadow area of ​​the initial shadow area is less than or equal to Ta, it is identified as the final illuminated area. The initial illuminated area is assumed to be the final illuminated area by default; tree candidate areas are extracted in the final illuminated area and the shadow area through two feature thresholds.

[0013] The above-mentioned tree extraction method based on automatic segmentation of different features uses the histogram subtraction idea to obtain the specific steps of the feature threshold, including first making the initial histograms of the two features of NDVI and DSM local entropy, and then for each interval of the NDVI feature initial histogram, retaining the DSM local entropy part of the DSM local entropy initial histogram whose corresponding interval is higher than the current NDVI interval value as the new DSM local entropy feature histogram, and then dividing the new DSM local entropy feature histogram by the DSM local entropy initial histogram to obtain the retained histogram of the feature, and finally adding the retained histograms of each interval to obtain the subtraction transformation histogram of the feature, using the formula TH = (1-C) × Valley + C × P eak can get the characteristic threshold of the DSM local entropy feature, where Valley and Peak are the trough and peak of the subtraction transformation histogram respectively, and C is a parameter in the range of 0-1. For each interval of the DSM local entropy initial histogram, the NDVI part of the NDVI initial histogram whose corresponding interval is higher than the current DSM interval value is retained as the new NDVI feature histogram, and then the new NDVI feature histogram is divided by the NDVI initial histogram to obtain the retained histogram of the feature. Finally, the retained histograms of each interval are added to obtain the subtraction transformation histogram of the feature. The characteristic threshold of the NDVI feature can be obtained using the formula TH=(1-C)×Valley+C×Peak.

[0014] The above-mentioned tree extraction method based on automatic segmentation of different features, the process of extracting tree candidate areas in the final illuminated area and shadow area through two feature thresholds is as follows: first, the NDVI feature threshold is used to divide the vegetation candidate areas and non-vegetation areas in the illuminated area and shadow area, those above the threshold are vegetation candidate areas, and those below the threshold are non-vegetation areas; secondly, the DSM local entropy feature threshold is used to divide the trees and grassland vegetation in the vegetation candidate areas, among which those below the threshold are grasslands, and those above the feature threshold are tree candidate areas.

[0015] The above-mentioned tree extraction method based on automatic segmentation of different features uses image morphological opening and closing operations to smooth the tree candidate area, which can effectively reduce some singular points and improve the extraction accuracy of the tree area.

[0016] The present invention proposes a multi-source data feature extraction method that integrates airborne LiDAR data and aerial orthophotos, which overcomes the problem of low accuracy in extracting trees from a single data source. First, the denoised LiDAR point cloud data is rasterized to generate a digital surface model DSM, which contains ground elevation models of surface buildings, bridges, and trees, covering the most realistic ground undulations and is often used to detect forest growth and urban development. Secondly, two features, local entropy and normalized difference vegetation index (NDVI), are extracted from DSM data and aerial orthophotos, respectively. Combining these two features can effectively extract candidate tree areas.

[0017] At the same time, the present invention also proposes for the first time the idea of ​​separating and extracting trees from illuminated areas and shadow areas. Since the brightness of the shadow area is less than that of the illuminated area, the energy of the near-infrared band received by the shadow area is less than that of visible light, so the index value of the vegetation index in the shadow area is very low, and it is also difficult to extract vegetation in the shadow area using the normalized difference vegetation index, which easily leads to missed detection of vegetation in the shadow area. The present invention creatively proposes the idea of ​​separating illuminated areas and shadow areas, uses the average gray value as the brightness value, and uses the Otsu threshold to divide the initial shadow area and illuminated area, determines the area threshold Ta, and identifies the shadow area when the shadow area is greater than Ta, otherwise it is an illuminated area.

[0018] The present invention proposes a histogram subtraction idea to process the two features of NDVI and DSM local entropy on the basis of separating the illuminated area and the shadow area. First, the appropriate interval division is selected for the histogram of NDVI and DSM local entropy; for each NDVI histogram interval, the DSM local entropy histogram of the image corresponding to the histogram greater than the interval value is calculated; the newly obtained histogram is divided by the original histogram to obtain the retained histogram of DSM local entropy, and each retained histogram of DSM local entropy is calculated respectively, and these retained histograms are added to obtain the subtraction transformation histogram of DSM local entropy, and the final DSM local entropy threshold is obtained according to the formula TH=(1-C)×Valley+C×Peak; the NDVI feature is also processed in the same way to obtain the NDVI threshold; thus, thresholds of different features are obtained to extract more accurate tree candidate areas.

[0019] Multi-source remote sensing data fusion, feature extraction and threshold segmentation are all well known to those skilled in the art.

[0020] Compared with the prior art, the present invention has the following advantages:

[0021] 1. The present invention fuses LiDAR data and spectral data at the feature level to extract tree areas, and the accuracy of tree extraction is much higher than that of using a single data source such as LiDAR point cloud or aerial remote sensing image to extract tree areas. From the perspective of the feasibility of data acquisition, the fusion of LiDAR point cloud data and image data will play a leading role in future research on object classification and single object extraction.

[0022] 2. The present invention creatively proposes the separation of illuminated areas and shadow areas. Compared with traditional ground object extraction methods, it can not only realize the parallel extraction of tree candidate areas, but also effectively reduce the missed detection rate of trees in shadow areas and significantly improve the accuracy of tree extraction.

[0023] 3. The present invention constructs two different features and can realize the extraction of tree areas through simple histogram operations. No sample training or iteration is required. Therefore, the extraction speed is fast, the algorithm time complexity is low, and the extraction accuracy can meet the requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a schematic diagram of the process of the present invention.

[0025] Figure 2 This is the NDVI characteristic map of the urban area.

[0026] Figure 3 This is the vegetation NDVI characteristic map of the shaded area.

[0027] Figure 4 It is a near-infrared hyperspectral orthophoto.

[0028] Figure 5 Reference real areas for trees.

[0029] Figure 6 This is the tree extraction area result map of the present invention.

[0030] Figure 7 This is the evaluation result diagram. DETAILED DESCRIPTION

[0031] The tree extraction method based on automatic segmentation of different features includes the following steps:

[0032] S1: Data preprocessing, including the removal of high outliers and low outliers; first, for each point in the input point cloud, calculate the distance to all nearby points, and calculate the mean and standard deviation of the distance; second, use the calculated mean and standard deviation of the distance according to formula D max =D mean +n*D sDefine a maximum distance, where n represents the number of adjacent points; finally, compare the average distance from a point to all its adjacent points with the defined maximum value. If the average distance is greater than the maximum distance, the point is defined as an outlier and is deleted from the original point cloud data.

[0033] S2: Multi-source remote sensing data registration; the pre-processed point cloud is interpolated point by point in raster format to create DSM. Common interpolation methods include neighbor distance interpolation, triangulation interpolation, inverse distance weighted difference method, etc. Adjust the pixel resolution of the DSM image to make it consistent with the aerial image.

[0034] S3: Data feature extraction; In the present invention, the Normalized Difference Vegetation Index (NDVI) of the reflectance spectrum of the orthophoto data and the local entropy value of the DSM are combined together as tree extraction features.

[0035] S4: Separation of illuminated areas and shadowed areas; Based on the idea of ​​separation of illuminated areas and shadowed areas, the average grayscale value of the orthophoto is used as the brightness value, and the brightness threshold is determined by the Otsu threshold method to divide the initial shadow area and illuminated area in the orthophoto, and then the area threshold Ta is set. When the shadow area of ​​an initial shadow area is greater than Ta, it is identified as the final shadow area. When the shadow area of ​​the initial shadow area is less than or equal to Ta, it is identified as the final illuminated area. The initial illuminated area is the final illuminated area by default.

[0036] S5: Threshold selection; The present invention combines the histogram subtraction idea to obtain the feature thresholds of the two features of NDVI and DSM local entropy, and extracts the tree candidate area through the two feature thresholds. The specific steps of using the histogram subtraction idea to obtain the feature threshold include: first, making the initial histograms of the two features of NDVI and DSM local entropy; second, for each interval of the NDVI feature initial histogram, retaining the DSM local entropy part of the DSM local entropy initial histogram whose corresponding interval is higher than the current NDVI interval value as the new DSM local entropy feature histogram; then, dividing the new DSM local entropy feature histogram by the DSM local entropy initial histogram to obtain the retained histogram of the feature; finally, adding the retained histograms of each interval to obtain the subtraction transformation histogram of the feature; using the formula TH = (1-C) × Valley + C × Peak, the DSM The characteristic threshold of the local entropy feature, where Valley and Peak are the trough and peak of the subtraction transformation histogram respectively, and C is a parameter in the range of 0-1. For each interval of the DSM local entropy initial histogram, the NDVI part of the NDVI initial histogram whose corresponding interval is higher than the current DSM interval value is retained as the new NDVI feature histogram, and then the new NDVI feature histogram is divided by the NDVI initial histogram to obtain the retained histogram of the feature. Finally, the retained histograms of each interval are added to obtain the subtraction transformation histogram of the feature. The characteristic threshold of the NDVI feature can be obtained using the formula TH=(1-C)×Valley+C×Peak. The obtained NDVI feature threshold and DSM local entropy feature threshold can be used to extract tree candidate areas. First, the NDVI feature threshold is used to divide the vegetation candidate areas and non-vegetation areas in the illuminated area and the shadow area. Areas above the threshold are vegetation candidate areas, and areas below the threshold are non-vegetation areas. Secondly, the DSM local entropy feature threshold is used to divide vegetation such as trees and grasslands in the vegetation candidate areas. Areas below the threshold are grasslands, and areas above the feature threshold are tree candidate areas. In summary, we can get the tree candidate areas we need.

[0037] S6: Morphological optimization: In order to suppress small noise, the divided tree candidate areas are smoothed using image morphological opening and closing operations, which can effectively reduce some singular points and improve the extraction accuracy of tree areas.

[0038] In the specific implementation, the LiDAR data selected is the Vaihingen open data set of the International Society for Photogrammetry and Remote Sensing (ISPRS). The system parameters when acquiring data are as follows:

[0039] Data acquisition system parameter LiDAR System Leica ALS50 Flight altitude 900m Overlap rate 30% Number of flight strips 10 Median point density <![CDATA[6.7Points / m 2 ]]> Average point density of a single line <![CDATA[4Points / m 2 ]]>

[0040] The present invention uses user accuracy (UA), including P t and P b; Producer accuracy (PA), including U t and U b ; Overall accuracy (OA) and F1 score are used as evaluation indicators to evaluate the accuracy of tree extraction. The definitions are as follows:

[0041]

[0042]

[0043]

[0044]

[0045]

[0046]

[0047] Among them: TP represents the number of target pixels correctly identified as targets, TN represents the number of background pixels correctly identified as background, FP represents the number of background pixels misidentified as targets, and FN represents the number of target pixels misidentified as background.

[0048] The method of the present invention is used to extract trees in different areas of the data set, and the experimental results are shown in the attached figure, where Figure 4 It is a near-infrared hyperspectral orthophoto. Figure 5 The black area represents trees and the white area represents non-tree background area. Figure 6 This is the tree extraction area result map of the present invention, Figure 7 The evaluation result diagram is shown in Figure 1. In the evaluation result diagram, the white area represents the TP area, that is, the trees in the reference result are correctly identified as tree areas; the light gray area represents the FP area, that is, the background area in the reference result is incorrectly identified as tree areas; the dark gray area represents the FN area, that is, the tree area in the reference result is incorrectly identified as background area.

[0049] The following table compares the experimental evaluation index results of the method of the present invention in different regions of the data set:

[0050] Area <![CDATA[P t ]]> <![CDATA[P b ]]> <![CDATA[U t ]]> <![CDATA[U b ]]> OA F1 a 0.9341 0.9291 0.9032 0.9522 0.9312 0.9184 b 0.9578 0.9247 0.8434 0.9810 0.9345 0.8970 c 0.9206 0.9431 0.8550 0.9702 0.9371 0.8866 d 0.9093 0.9359 0.8627 0.9588 0.9277 0.8854

[0051] At the same time, in order to verify the effectiveness of the method of the present invention, the method of the present invention is compared with other methods on the same data set. The results are shown in the following table. From the data in the table, it can be seen that the tree extraction accuracy of the method of the present invention is high, which can reach 93.7%, and the tree area can be well detected. In addition, the method of this paper does not require sample training, and the algorithm time complexity is low.

[0052] methods OA F1 methods OA F1 Xiangda 0.898 0.908 Chisheng 0.878 0.811 HSN 0.888 0.883 Markus 0.892 0.823 Baseline 0.904 0.893 Nan 0.863 0.846 C3Net 0.913 0.903 Qiong 0.891 0.850 Marmanis 0.903 0.896 Proposed 0.937 0.901

Claims

1. Tree extraction method based on automatic segmentation of different features, Features: The following steps are involved: S1: Data preprocessing. First, for each point in the LiDAR point cloud data, calculate the distance to all nearby points and calculate the average distance D. mean and standard deviation D s ; Secondly, use the calculated mean and standard deviation of the distance according to formula D max =D mean +n*D s Define a maximum distance; finally, compare the average distance from a point to all its neighboring points with the defined maximum value. If the average distance is greater than the maximum distance, the point is defined as an outlier and deleted from the original point cloud data. S2: Multi-source remote sensing data registration, point-by-point interpolation of the pre-processed point cloud data in raster format to establish a digital surface model DSM, and adjust the pixel resolution of the DSM image to make it consistent with the orthophoto image; S3: Data feature selection, combining the Normalized Difference Vegetation Index (NDVI) of the reflectance spectrum of the aerial orthophoto data and the local entropy value of the lidar DSM data as tree extraction features; S4: Threshold selection, combining the histogram subtraction algorithm to obtain the feature thresholds of NDVI and DSM local entropy, and extracting tree candidate areas through the two feature thresholds; Separate the illuminated area and the shadow area; use the average gray value of the orthophoto as the brightness value, use the Otsu threshold method to determine the brightness threshold to divide the initial shadow area and the illuminated area in the orthophoto, and then set the area threshold Ta. When the shadow area of ​​an initial shadow area is greater than Ta, it is identified as the final shadow area. When the shadow area of ​​the initial shadow area is less than or equal to Ta, it is identified as the final illuminated area. The initial illuminated area is the final illuminated area by default; extract tree candidate areas in the final illuminated area and the shadow area through two feature thresholds; The specific steps of obtaining the feature threshold using the histogram subtraction algorithm include: first, making the initial histograms of the two features, NDVI and DSM local entropy; second, for each interval of the NDVI feature initial histogram, retaining the DSM local entropy part of the DSM local entropy initial histogram whose corresponding interval is higher than the current NDVI interval value as the new DSM local entropy feature histogram; then, dividing the new DSM local entropy feature histogram by the DSM local entropy initial histogram to obtain the retained histogram of the feature; finally, adding the retained histograms of each interval to obtain the subtraction transformed histogram of the feature; and using the formula TH = (1-C) × Valley + C × Peak to obtain the DSM local entropy feature histogram. The characteristic threshold of the local entropy feature, where Valley and Peak are the trough and peak of the subtraction transformation histogram respectively, and C is a parameter in the range of 0-1. For each interval of the DSM local entropy initial histogram, the NDVI part of the NDVI initial histogram whose corresponding interval is higher than the current DSM interval value is retained as the new NDVI characteristic histogram, and then the new NDVI characteristic histogram is divided by the NDVI initial histogram to obtain the retained histogram of the feature. Finally, the retained histograms of each interval are added to obtain the subtraction transformation histogram of the feature. The characteristic threshold of the NDVI feature can be obtained using the formula TH=(1-C)×Valley+C×Peak. The process of extracting tree candidate areas in the final illuminated area and shadow area through two feature thresholds is as follows: first, the NDVI feature threshold is used to divide the vegetation candidate areas and non-vegetation areas in the illuminated area and shadow area. Areas above the threshold are vegetation candidate areas, and areas below the threshold are non-vegetation areas. Secondly, the DSM local entropy feature threshold is used to divide the trees and grassland vegetation in the vegetation candidate areas. Areas below the threshold are grasslands, and areas above the feature threshold are tree candidate areas.

2. The tree extraction method based on automatic segmentation of different features according to claim 1, Features: The image morphological opening and closing operations are used to smooth the tree candidate areas to improve the extraction accuracy of the tree areas.