Method for automatically selecting tree crown sample in high-spatial-resolution remote sensing image
By calculating the normalized vegetation index and coefficient of variation, it automatically identifies canopy samples in high spatial resolution remote sensing images, solving the problem of terrain shadows and overlapping effects, improving the quality and identification efficiency of canopy samples, and meeting the needs of deep learning models. .
Patent Information
- Application Number
- CN202410779926.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-17
AI Technical Summary
In the existing technology, the automatic selection method of crown samples in high spatial resolution remote sensing images is difficult to overcome the sample quality problems caused by terrain shadows and crown overlap, resulting in low crown sample identification accuracy and inability to meet the deep learning model's requirements for sample size and quality. Require.
By calculating the normalized vegetation index (NDVI) and the coefficient of variation of the vegetation index, the tree crown pixels are automatically identified, the difference in vegetation index between the inner window and the outer window is used to determine the vegetation canopy pixels, and the threshold is set to determine the tree crown pixels, achieving Automated canopy sample selection.
It improves the identification efficiency and quality of crown samples, meets the sample size requirements of the deep learning model, overcomes the influence of terrain shadows and crown overlap on sample selection, has good generalization, and can accurately identify tree crowns at the scale of a single tree.
Smart Images

Figure CN118608985A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of satellite remote sensing, and specifically relates to a method for automatically selecting tree crown samples in high spatial resolution remote sensing images, which is suitable for automatically constructing single-tree scale tree crown samples in deep learning of high spatial resolution remote sensing images. Background Art
[0002] The crown is an important part of trees and a carrier for photosynthesis. Through the study of the crown, we can timely monitor the growth of trees and parameters such as biomass. The emergence of high spatial resolution satellite data provides a new data source for obtaining crown structure information on a large scale. At the same time, the application of deep learning technology in the field of satellite remote sensing also makes it faster and more accurate to obtain crown information. Therefore, using deep learning technology to identify crown information in high spatial resolution remote sensing images is an important application field of satellite remote sensing.
[0003] The accuracy of the crown distribution information output by the deep learning model is inseparable from the quantity and quality of the crown samples. Therefore, deep learning-based tree crown recognition requires a large number of high-quality samples as input. The construction of traditional crown sample libraries is often carried out through manual annotation. However, the manual annotation of crown samples is often inefficient, resulting in an insufficient number of model input samples. Secondly, due to the differences in manual annotation, that is, the lack of unified standards for visual interpretation of the crown, the quality of the samples cannot be guaranteed, which brings uncertainty to the output of the model.
[0004] High spatial resolution remote sensing images have relatively rich texture information. Based on the full use of this information, a series of image processing methods have been developed to quickly obtain a large number of effective tree crown samples. These methods are based on the idea of image segmentation, mainly including watershed segmentation, global gray threshold segmentation, and gradient segmentation. The basic premise of these methods is that the tree crown has a good distinction from the background. After obtaining the segmentation threshold, the ground objects in the scene are segmented to obtain the tree crown information.
[0005] However, due to the complex imaging process of remote sensing images, the undulating terrain in the scene causes the crown and shadow to overlap, making it difficult to distinguish the crown from the background. At the same time, in woodlands where trees are concentrated, the overlap of multiple crowns will cause multiple crowns to be divided into one crown, reducing the accuracy of crown samples. Therefore, there is an urgent need for a method that does not rely on manual annotation to automatically select crown samples from high spatial resolution remote sensing images. This method needs to solve the impact of crown overlap and terrain shadows in remote sensing images on crown recognition, automatically obtain crown samples with rich sample volume and high accuracy, better construct a sample library for deep learning, and improve the accuracy of satellite remote sensing to accurately identify crowns. Summary of the invention
[0006] In view of the above-mentioned technical problems existing in the prior art in constructing a deep learning sample library, the present invention proposes a method for automatically selecting tree crown samples in high spatial resolution remote sensing images, which can automatically select tree crown samples from high spatial resolution remote sensing images, better construct a sample library for deep learning, and improve the accuracy of satellite remote sensing in accurately identifying tree crowns.
[0007] The above technical problems of the present invention are mainly solved by the following technical solutions:
[0008] A method for automatically selecting tree crown samples in high spatial resolution remote sensing images comprises the following steps:
[0009] Step 1: Calculate the normalized vegetation index based on the digital quantitative value data;
[0010] Step 2: traverse each pixel of the normalized vegetation index, construct the inner window and outer window of the traversed pixel, the size of the outer window is larger than the inner window, and the traversed pixel is located at the center of the inner window and the outer window;
[0011] Step 3: Calculate the coefficient of variation of the normalized vegetation index of the pixels contained in the inner window and the outer window;
[0012] Step 4: Determine whether the currently traversed pixel is a vegetation canopy pixel based on the normalized vegetation index variation coefficient of the pixels contained in the inner window and the outer window;
[0013] Step 5: For the determined vegetation canopy pixel, if the normalized vegetation index corresponding to the vegetation canopy pixel is greater than or equal to the set threshold, the vegetation canopy pixel is a tree canopy pixel.
[0014] As mentioned above, the Normalized Difference Vegetation Index (NDVI) is based on the following formula:
[0015]
[0016] Among them, ρ NIR and ρ Red They are the digital quantified value data for the near infrared and red bands respectively.
[0017] As mentioned above, the coefficient of variation of the normalized vegetation index of the pixels contained in the inner window and the outer window is based on the following formula:
[0018]
[0019] Among them, CV in and CV out are the coefficient of variation of the normalized vegetation index of the pixels contained in the inner window and the outer window, σ in and σ out are the standard deviations of the normalized vegetation index of the pixels contained in the inner window and the outer window, μ in and μ outThey are the average values of the normalized vegetation index of the pixels contained in the inner window and the outer window, respectively.
[0020] As described above, determining whether the currently traversed pixel is a vegetation canopy pixel includes the following steps:
[0021] If CV out -CV in ≥0.01, the pixel currently traversed is a vegetation canopy pixel;
[0022] If CV out -CV in <0.01, the pixel currently traversed is a non-vegetation canopy pixel.
[0023] As mentioned above, the threshold value in step 5 is set to 0.15.
[0024] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method for automatically selecting tree crown samples in high spatial resolution remote sensing images according to any one of claims 1 to 5 when executing the computer program.
[0025] A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the method for automatically selecting tree crown samples in high spatial resolution remote sensing images according to any one of claims 1 to 5 are implemented.
[0026] A computer program product comprises a computer program, which, when executed by a processor, implements the steps of the method for automatically selecting tree crown samples in high spatial resolution remote sensing images according to any one of claims 1 to 5.
[0027] Compared with the prior art, the present invention has the following beneficial effects:
[0028] 1. Automatically identify tree crown information in high spatial resolution remote sensing images. Compared with the method of manually annotating samples, it can meet the sample size requirements of the deep learning model and improve the efficiency of tree crown information recognition.
[0029] 2. Overcome the problem of poor tree crown sample quality caused by terrain shadows and canopy overlap in high spatial resolution remote sensing images, and avoid the influence of terrain shadows and canopy overlap on sample selection. The present invention has good generalization, can accurately identify tree crowns at the scale of a single tree for different scenes, and improve the quality of tree crown samples. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a schematic diagram of setting inner and outer windows pixel by pixel;
[0031] Figure 2 (a) Digital quantification value data of GF-2 image;
[0032] Figure 2 (b) Normalized difference vegetation index calculation results;
[0033] Fig. 2(c) is the automatic recognition result of the present invention (the red circle is the recognized tree crown pixel);
[0034] Figure 2(d) Tree crown pixels interpreted manually by visual inspection (the red circles are the identified tree crown pixels).
[0035] Figure 3 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0036] In order to facilitate those skilled in the art to understand and implement the present invention, the present invention is further described in detail below in conjunction with embodiments. It should be understood that the implementation examples described herein are only used to illustrate and explain the present invention and are not used to limit the present invention.
[0037] Embodiment 1:
[0038] In order to make the purpose, technical solutions and advantages of the present invention more clear, a further detailed description is given below with reference to the accompanying drawings and examples.
[0039] A method for automatically selecting tree crown samples in high spatial resolution remote sensing images comprises the following steps:
[0040] Step 1: Calculate the Normalized Different Vegetation Index (NDVI) using the digital quantization value (DN) data of the domestic GF-2 image (spatial resolution of 0.8 meters). The calculation formula of the Normalized Different Vegetation Index NDVI is:
[0041]
[0042] Among them, ρ NIR , ρ Red They are the digital quantified value data of near-infrared and red bands obtained from domestic GF-2 image observations.
[0043] Step 2: Traverse each pixel of the normalized vegetation index calculated in step 1, and construct an inner window and an outer window of the traversed pixel. The size of the outer window is larger than that of the inner window, and the traversed pixel is located at the center of the inner window and the outer window. In this embodiment, a 3×3 window and a 5×5 window are set with each traversed pixel as the center (hereinafter referred to as the 3×3 window as the inner window and the 5×5 window as the outer window). The schematic diagram of window setting is shown in FIG. Figure 1 As shown:
[0044] Step 3: Calculate the coefficient of variation of the normalized vegetation index of the pixels contained in the inner window and the outer window in step 2. The calculation formula is:
[0045]
[0046] Among them, CV in and CV out are the coefficient of variation of the normalized vegetation index of the pixels contained in the inner window and the outer window, σ in and σ out are the standard deviations of the normalized vegetation index of the pixels contained in the inner window and the outer window, μ in and μ out They are the average values of the normalized vegetation index of the pixels contained in the inner window and the outer window, respectively.
[0047] Step 4: Determination of vegetation canopy: Determine whether the currently traversed pixel is a vegetation canopy pixel by using the normalized vegetation index variation coefficient of the pixels included in the inner window and the outer window calculated in step 3. The determination basis is:
[0048] If CV out -CV in ≥0.01, the pixel currently traversed is a vegetation canopy pixel;
[0049] If CV out -CV in <0.01, the pixel currently traversed is a non-vegetation canopy pixel;
[0050] Step 5: Additional determination of tree crown pixels. In step 4, the vegetation canopy pixels are extracted based on the coefficient of variation of the normalized vegetation index of the pixels contained in the inner and outer windows. This step is used to distinguish between tree crowns and canopies of other vegetation types. If the normalized vegetation index corresponding to the vegetation canopy pixel is greater than or equal to 0.15, the vegetation canopy pixel is a tree crown pixel.
[0051] Traverse all pixels of the normalized vegetation index calculated in step 1, and repeat steps 1-5 to obtain all tree crown pixels in the scene and obtain tree crown samples in the scene. The tree crown recognition result is as follows: Figure 2(a)-Figure 2(d) As shown in FIG. 2(c) and FIG. 2(d), it can be seen that the present invention has good generalization for the problem of poor quality of crown samples caused by terrain shadows and canopy overlap in high spatial resolution remote sensing images, and can accurately identify crowns at the scale of a single tree for different scenes, thereby improving the quality of crown samples. In one embodiment, a computer device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in the above-mentioned method embodiments are implemented.
[0052] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0053] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0054] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods.
[0055] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.
Claims
1. A method for automatically selecting tree crown samples in high spatial resolution remote sensing images, characterized in that: The following steps are involved: Step 1: Calculate the normalized vegetation index based on the digital quantitative value data; Step 2: Traverse each pixel of the normalized vegetation index, construct the inner window and outer window of the traversed pixel, the size of the outer window is larger than the inner window, and the traversed pixel is located at the center of the inner window and the outer window; Step 3: Calculate the coefficient of variation of the normalized vegetation index of the pixels contained in the inner window and the outer window; Step 4: Determine whether the currently traversed pixel is a vegetation canopy pixel based on the normalized vegetation index variation coefficient of the pixels contained in the inner window and the outer window; Step 5: For the determined vegetation canopy pixel, if the normalized vegetation index corresponding to the vegetation canopy pixel is greater than or equal to the set threshold, the vegetation canopy pixel is a tree canopy pixel.
2. According to claim 1, a method for automatically selecting tree crown samples in high spatial resolution remote sensing images is characterized in that: The Normalized Difference Vegetation Index NDVI is based on the following formula: Among them, ρ NIR and ρ Red They are the digital quantified value data for the near infrared and red bands respectively.
3. The method for automatically selecting tree crown samples in high spatial resolution remote sensing images according to claim 1, characterized in that: The coefficient of variation of the normalized vegetation index of the pixels contained in the inner window and the outer window is based on the following formula: Among them, CV in and CV out are the coefficient of variation of the normalized vegetation index of the pixels contained in the inner window and the outer window, σ in and σ out are the standard deviations of the normalized vegetation index of the pixels contained in the inner window and the outer window, μ in and μ out They are the average values of the normalized vegetation index of the pixels contained in the inner window and the outer window, respectively.
4. The method for automatically selecting tree crown samples in high spatial resolution remote sensing images according to claim 1, characterized in that: The step of determining whether the currently traversed pixel is a vegetation canopy pixel comprises the following steps: If CV out -CV in ≥0.01, the pixel currently traversed is a vegetation canopy pixel; If CV out -CV in <0.01, the pixel currently traversed is a non-vegetation canopy pixel.
5. The method for automatically selecting tree crown samples in high spatial resolution remote sensing images according to claim 1, characterized in that: The threshold value in step 5 is set to 0.
15.
6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method for automatically selecting tree crown samples in high spatial resolution remote sensing images according to any one of claims 1 to 5 are implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for automatically selecting tree crown samples in high spatial resolution remote sensing images according to any one of claims 1 to 5 are implemented.
8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for automatically selecting tree crown samples in high spatial resolution remote sensing images described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Remote sensing time sequence analysis-based abandoned land information extraction method and device
CN112164062A
Fruit tree canopy nitrogen content remote sensing inversion method and system based on image shadow removal
CN112179853A
Single standing tree segmentation method and device based on adjustable hemispherical canopy camera
CN112396615A
Forest biomass remote sensing estimation method, system, equipment and medium
CN116385871A
Method for directly inverting earth surface normalized vegetation index through atmospheric layer top reflectivity
CN116561709A
