A forest pest intelligent identification method and system

By generating 3D point cloud data and performing adaptive illumination correction, the problems of illumination interference and neglect of 3D structural information in 2D image recognition are solved, achieving high-precision identification of forest tree diseases and pests and improving the stability and accuracy of identification.

CN122841968BActive Publication Date: 2026-11-27SICHUAN SHENGXIANG ROSE ECOLOGICAL AGRI DEV CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202611290461.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-08-25
Publication Date
2026-11-27
Estimated Expiration
2046-08-25

AI Technical Summary

Technical Problem

Existing technologies mainly rely on the texture and spectral features of two-dimensional multispectral images for identification. However, in complex forest environments, lighting conditions change drastically, and the light-receiving and shaded sides of the tree canopy will produce significant spectral differences. Simply relying on deep learning feature extraction from two-dimensional images is difficult to eliminate the interference caused by shadows and lighting angles from a physical mechanism perspective, which can easily lead to misjudgment. Image analysis can easily ignore the most critical three-dimensional vertical structural information of trees and cannot capture minute lesion features in canopy height and volume.

Method used

Temporal spectral images of the forest area were collected, and three-dimensional point cloud data were obtained using the structure-reconstruction-motion algorithm. A canopy height matrix was generated through projection and filtering algorithms, and a watershed algorithm was used to segment individual trees, generating an index matrix of individual trees, which was then iteratively updated. Illumination weights were obtained based on adaptive illumination correction, and a multidimensional canopy state tensor was constructed to determine the state of the trees.

Benefits of technology

It significantly improves the stability and consistency of multispectral features under different light conditions, enhances the system's generalization ability and recognition accuracy in different forest stand environments, accurately captures minute lesion features in canopy height and volume, and improves the robustness and accuracy of pest and disease identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122841968B_ABST
    Figure CN122841968B_ABST
Patent Text Reader

Abstract

The application discloses a kind of forest tree diseases and insect pests intelligent identification method and system, it is related to image processing technical field, the present application is generated by using motion recovery structure algorithm three-dimensional point cloud containing coordinate and spectral data by collecting forest time series spectral image;Through projection filtering, generate canopy height matrix, use the single tree segmentation of watershed algorithm, and generate ideal healthy tree crown envelope surface by iteration update, based on normal vector and solar incident angle, carry out illumination adaptive correction, obtain illumination weight and compensate for shady surface spectrum, generate local multispectral matrix, fusion multi-source feature constructs multidimensional crown layer state tensor, using illumination weight weighted acquisition comprehensive state energy matrix, calculate fractal dimension by difference box dimension algorithm and combine adaptive threshold to determine forest state.The present application solves the problem of traditional monitoring by physical simulation and illumination correction, illumination interference and lack of three-dimensional form index are solved, and the robustness and accuracy of disease and insect pest identification are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image processing technology, and in particular to an intelligent identification method and system for forest tree diseases and pests. Background Technology

[0002] Forestry, as an important component of the ecological environment system, plays an irreplaceable role in regulating climate, conserving water resources, maintaining soil and water conservation, and protecting biodiversity. However, forest pests and diseases are one of the key factors restricting the health and sustainable development of forestry. The occurrence of pests and diseases not only reduces the growth quality and economic value of trees, but in severe cases, it can even lead to the death of large areas of trees and damage the stability of the forest ecosystem. Traditional monitoring of forest pests and diseases mainly relies on manual ground patrols. Although this method can obtain relatively accurate information on individual trees, it suffers from problems such as low efficiency, high labor costs, great limitations due to terrain, and difficulty in real-time monitoring on a large scale. It cannot meet the needs of modern forestry for rapid and accurate early warning of pests and diseases. With the development of remote sensing technology and computer vision technology, non-contact intelligent monitoring using drones or satellite imagery has become the mainstream trend in the industry.

[0003] In the prior art, Chinese invention patent CN119580082A discloses an intelligent monitoring and early warning system and method for forest tree diseases and pests. This scheme extracts the local feature matrix of multispectral remote sensing images through image block processing, and uses convolutional neural networks for feature encoding. Subsequently, it uses nonlocal neural networks for feature enhancement and introduces a shift information feature compensation mechanism to optimize feature representation. Finally, it uses a classifier to determine whether there is a disease or pest infestation. The prior art mainly relies on the texture and spectral features of two-dimensional multispectral images for identification. However, in the complex environment of wild forest areas, the light conditions change drastically, and the light-receiving and shaded sides of the canopy surface will produce significant spectral differences. Simply relying on deep learning feature extraction of two-dimensional images is difficult to eliminate the interference caused by shadows and light angles from a physical mechanism, which can easily lead to misjudgment. The occurrence of forest tree diseases and pests is often accompanied by changes in the physical morphology of the canopy, such as leaf drop caused by wilting, canopy collapse or thinning. Image analysis based solely on two-dimensional plane ignores the most critical three-dimensional vertical structural information of forest trees and cannot capture the subtle lesion features in canopy height and volume. Summary of the Invention

[0004] The technical problem solved by this invention is that existing technologies mainly rely on the texture and spectral features of two-dimensional multispectral images for identification. However, in complex outdoor forest environments, lighting conditions change drastically, and the light-receiving and shaded sides of the tree canopy will produce significant spectral differences. Simply relying on deep learning feature extraction of two-dimensional images is difficult to eliminate the interference caused by shadows and lighting angles from a physical mechanism perspective, which can easily lead to misjudgment. Image analysis can easily ignore the most critical three-dimensional vertical structural information of trees and cannot capture the subtle lesion features in canopy height and volume.

[0005] To solve the above-mentioned technical problems, the present invention provides the following technical solution: A method for intelligent identification of forest tree diseases and pests includes the following steps: Step S1: Collect time-series spectral images of the forest area, and use the structure-reconstruction-motion algorithm to obtain time-series spectral images of the forest area to generate three-dimensional point cloud data, wherein the three-dimensional point cloud data includes coordinate data and spectral data; Step S2: By projecting and filtering the coordinate data, a canopy height matrix is ​​generated. The canopy height matrix is ​​then segmented into individual trees using the watershed algorithm to generate an index matrix of individual trees. This matrix is ​​then iteratively updated to generate an ideal healthy canopy envelope. Step S3: Perform adaptive illumination correction based on the single tree index matrix to obtain illumination weights, and correct the spectral data in the three-dimensional point cloud data to obtain a local multispectral matrix. Step S4: Calculate the potential energy residual matrix based on the ideal healthy canopy envelope and canopy height matrix. Construct a multidimensional canopy state tensor based on the local multispectral matrix, canopy height matrix, and potential energy residual matrix. Then, use the illumination weight matrix to weight the multidimensional canopy state tensor to obtain the comprehensive state energy matrix and determine the forest state.

[0006] Preferably, the time-series spectral images are multispectral images of the same forest area continuously collected by a UAV; The coordinate data includes three-dimensional spatial coordinates; The spectral data are the R value, G value, B value, and near-infrared band value corresponding to each point cloud.

[0007] Preferably, the process of obtaining the canopy height matrix specifically includes: A time-series spectral image of the forest area is acquired, and the structure-reconstruction-motion algorithm is used to process the time-series spectral image of the forest area to generate a three-dimensional point cloud. The three-dimensional spatial coordinates of each point in the three-dimensional point cloud are converted into unified planar projection coordinates. A two-dimensional grid plane covering the forest area is constructed with a preset ground sampling distance. The three-dimensional point cloud is orthogonally projected onto the two-dimensional grid plane along the Z-axis. For each grid in the two-dimensional grid plane, the maximum value of the Z-value of all points in the point cloud falling within the grid range is selected as the pixel value of the grid to generate a digital surface model. The three-dimensional spatial coordinates of the three-dimensional point cloud are processed using a cloth filtering algorithm to obtain the classification label of each point cloud. The point clouds with classification labels indicating the ground are used to construct a ground point cloud set, and a digital elevation model is generated using the inverse distance weighted interpolation method. The canopy height matrix is ​​obtained by subtracting the digital elevation model from the digital surface model.

[0008] Preferably, the process of forming a single tree index matrix specifically includes: The canopy height matrix is ​​Gaussian smoothed, and local maxima detection is performed on the smoothed canopy height matrix. Local maxima points with height values ​​greater than a preset height threshold are selected as treetop seed points. The canopy height matrix is ​​regarded as the terrain surface. Using the marker-controlled watershed algorithm, the seed point at the top of the tree is used as the water collection basin to simulate the spread of water from the top of the tree to the surrounding low-lying areas. When the water flows from different collection basins meet, a dividing line is constructed to generate a single tree index matrix.

[0009] Preferably, the process of generating the ideal healthy canopy envelope specifically includes: A virtual canopy plane with dimensions consistent with the canopy height matrix is ​​constructed. The height of each canopy mass point within the virtual canopy plane is iteratively updated. The iterative update process specifically includes: The height of each canopy mass point is initialized to the maximum height value in the canopy height matrix. The predicted height of the canopy mass point is calculated using the Verlet integral algorithm. The mathematical expression for the predicted height is: ; in, To predict altitude, At the current altitude, The height at the time of the last iteration. Let gravitational acceleration be constant. The preset update step size; If the predicted height of a canopy particle is lower than the value at the corresponding position in the canopy height matrix, then the height value of the canopy particle is forcibly corrected to the value of the canopy height matrix; If the predicted height of a canopy particle is greater than or equal to the value at the corresponding position in the canopy height matrix, then the height of the canopy particle is updated according to the predicted height. The height of the updated canopy particles is then subjected to Laplace smoothing correction. The Laplace smoothing correction process specifically includes: Traverse the four neighboring canopy particles of the canopy particle, calculate the distance between the canopy particle and each neighboring particle, and filter out the effective constrained neighboring particles whose distance exceeds the preset tension threshold (0.2m in this embodiment). Calculate the corrected displacement component generated by each effective constraint neighborhood particle on the canopy particle, and calculate the average value of all corrected displacement components as the target correction amount; The height of the current canopy particles is uniformly updated using the target correction amount, and the update formula is: ; in, The corrected height of the canopy particles. The height of the canopy particles before correction. The stiffness coefficient, To effectively constrain the number of neighboring particles, For the first The height of an effective constrained neighborhood particle; When the sum of the height changes of all canopy particles in the current iteration step is less than the preset convergence threshold (10 in this embodiment), -4 ), terminate the iteration.

[0010] Preferably, the adaptive illumination correction specifically includes: A bounding window for any single tree is constructed based on the coordinate range of the single tree index matrix. Based on the points within the bounding window, the corresponding local height matrix and local multispectral matrix are extracted from the canopy height matrix and spectral data. Based on the local height matrix, the unit normal vector of any point within the bounding window is calculated using the central difference method. The solar altitude angle and solar azimuth angle are obtained based on the time of the collection of the time-series spectral image of the forest area. A normalized solar incident light vector is constructed, and the dot product of the unit normal vector and the solar incident light vector is used as the light intensity factor. The illumination intensity factor is mapped to illumination weights using the Sigmoid activation function. The mathematical expression for the illumination weights is as follows: ; in, For the first The light weight of each tree The steepness coefficient is 10 in this embodiment. The light threshold, This is the light intensity factor.

[0011] Preferably, the adaptive illumination correction further includes: The spectral data of the points within the enclosing window are forward transformed to HSV space to obtain the brightness component. A weighted fusion operation is then performed on the brightness component and the near-infrared band values. Specifically, the process of performing the weighted fusion operation on the brightness component includes: ; in, The restored target brightness, For illumination weight, This is the original luminance component. The components after Gaussian smoothing of the original brightness. This is the cathode compensation gain coefficient; The process of performing a weighted fusion operation on near-infrared band values ​​specifically includes: ; in, The restored near-infrared band value. This is the original near-infrared band value. The components after Gaussian smoothing of the original near-infrared values. For illumination weight, This is the compensation gain coefficient;

[0012] The restored target brightness is inversely transformed and normalized from the HSV space to obtain the restored spectral value and the restored near-infrared band value corresponding to each point within the bounding window, thus constructing the local multispectral matrix of a single tree.

[0013] Preferably, the process of obtaining the comprehensive state energy matrix specifically includes: The difference between the ideal healthy tree canopy envelope and the canopy height matrix is ​​used as the potential energy residual matrix; The restored spectral values, restored near-infrared band values, height values ​​of the local height matrix, and residual values ​​of the potential energy residual matrix in the local multispectral matrix are subjected to maximum and minimum normalization respectively, and all feature values ​​are mapped to the [0,1] interval. Based on the normalized feature values, a multidimensional canopy state tensor of any point within the bounding window of a single tree is constructed. The product of the magnitude of the multidimensional canopy state tensor at any point within the bounding window and the illumination weight corresponding to the multidimensional canopy state tensor in the illumination weight matrix is ​​used as the comprehensive state energy, and a comprehensive state energy matrix is ​​constructed.

[0014] Preferably, the process of determining the condition of trees specifically includes: The fractal dimension of the integrated state energy matrix is ​​calculated using the difference box dimension algorithm, and the fractal dimension of a single tree is determined using a primary disease judgment threshold. The determination logic specifically includes: If the fractal dimension is less than the primary disease judgment threshold, the tree is considered healthy. If the fractal dimension is greater than or equal to the primary disease judgment threshold, the tree is determined to be diseased.

[0015] A smart identification system for forest tree diseases and pests includes a data acquisition module, a segmentation and simulation module, a correction module, and a judgment module; The acquisition module is used to acquire time-series spectral images of the forest area, and use the structure reconstruction algorithm to obtain time-series spectral images of the forest area to generate three-dimensional point cloud data. The three-dimensional point cloud data includes coordinate data and spectral data. The segmentation and simulation module is used to generate a canopy height matrix by projecting and filtering coordinate data, segment the canopy height matrix into individual trees using a watershed algorithm, generate an index matrix of individual trees, and iteratively update it to generate an ideal healthy canopy envelope. The correction module is used to perform adaptive illumination correction based on the single tree index matrix, obtain illumination weights, and correct the spectral data in the three-dimensional point cloud data to obtain a local multispectral matrix. The determination module is used to calculate the potential energy residual matrix based on the ideal healthy canopy envelope and canopy height matrix, construct a multidimensional canopy state tensor based on the local multispectral matrix, canopy height matrix and potential energy residual matrix, and use the illumination weight matrix to weight the multidimensional canopy state tensor to obtain the comprehensive state energy matrix and determine the forest state.

[0016] The beneficial effects of this invention are as follows: This invention constructs a virtual canopy layer model based on the Verlet integral algorithm, using a physical network to simulate the natural morphology of a healthy canopy under the influence of gravity and tension. By calculating the potential energy residual between the virtual canopy layer and the actual canopy height matrix, it achieves accurate quantification of canopy morphological anomalies. This invention proposes an adaptive illumination correction method based on three-dimensional geometric features. By calculating the coupling relationship between the canopy surface normal vector and the solar incidence angle, an illumination weight matrix is ​​generated, and nonlinear spectral and texture compensation is performed on the shaded side accordingly, significantly improving the stability and consistency of multispectral features under different illumination conditions. This invention uses the difference box dimension algorithm to calculate the fractal dimension of the multidimensional canopy state tensor, using the fractal dimension to quantify the roughness and complexity of the forest surface. Furthermore, through adaptive maximum inter-class variance threshold segmentation, it greatly improves the system's generalization ability and recognition accuracy in different forest stand environments. Attached Figure Description

[0017] Figure 1 The flowchart illustrates the steps of an intelligent identification method for forest tree diseases and pests, as provided in one embodiment of the present invention. Detailed Implementation

[0018] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0019] Example 1, referring to Figure 1 This paper provides an intelligent identification method for forest tree diseases and pests, which includes the following steps: Step S1: Collect time-series spectral images of the forest area, and use the structure-reconstruction-motion algorithm to obtain time-series spectral images of the forest area to generate three-dimensional point cloud data, which includes coordinate data and spectral data. Step S2: By projecting and filtering the coordinate data, a canopy height matrix is ​​generated. The watershed algorithm is used to segment the canopy height matrix into individual trees to generate an index matrix of individual trees. The matrix is ​​then iteratively updated to generate an ideal healthy canopy envelope. Step S3: Perform adaptive illumination correction based on the single tree index matrix to obtain illumination weights, and correct the spectral data in the 3D point cloud data to obtain a local multispectral matrix. Step S4: Calculate the potential energy residual matrix based on the ideal healthy canopy envelope and canopy height matrix. Construct a multidimensional canopy state tensor based on the local multispectral matrix, canopy height matrix, and potential energy residual matrix. Then, use the illumination weight matrix to weight the multidimensional canopy state tensor to obtain the comprehensive state energy matrix and determine the forest state.

[0020] This invention acquires three-dimensional point cloud data containing both coordinate and spectral attributes through a motion recovery structure algorithm, and introduces a physical simulation mechanism to generate an ideal healthy canopy envelope surface, thereby calculating the potential energy residual matrix. This scheme elevates forest disease monitoring from traditional two-dimensional image texture analysis to three-dimensional physical morphology analysis, enabling comprehensive judgment using both spectral and structural anomalies. Furthermore, by combining illumination adaptive correction to construct a multi-dimensional canopy state tensor, it effectively overcomes the problem of insufficient information from a single data source, significantly improving the robustness and accuracy of disease and pest identification in complex forest environments.

[0021] In step S1, the time-series spectral images are multispectral images of the same forest area continuously collected by the UAV; The time-series spectral images are a sequence of overlapping multi-view multispectral images acquired consecutively during the same voyage; Coordinate data includes three-dimensional spatial coordinates; The spectral data includes the R value, G value, B value, and near-infrared band value for each point cloud.

[0022] In one specific embodiment of the present invention, the multispectral data are the red band value R, green band value G, blue band value B, and near-infrared band value NIR corresponding to each point cloud. The spectral information of the multispectral image is mapped to the three-dimensional point cloud so that the point cloud contains R value, G value, B value, and near-infrared band value.

[0023] Step S1, the process of obtaining the canopy height matrix, specifically includes: A time-series spectral image of the forest area is acquired, and the structure-reconstruction-motion algorithm is used to process the time-series spectral image of the forest area to generate a three-dimensional point cloud. The three-dimensional spatial coordinates of each point in the three-dimensional point cloud are converted into unified planar projection coordinates (such as UTM coordinates). A two-dimensional grid plane covering the forest area is constructed with a preset ground sampling distance (10cm in this embodiment). The three-dimensional point cloud is orthogonally projected onto the two-dimensional grid plane along the Z-axis. For each grid in the two-dimensional grid plane, the maximum value of the Z value of all points in the point cloud falling within the grid range is selected as the pixel value of the grid to generate a digital surface model. The three-dimensional spatial coordinates of the three-dimensional point cloud are processed using the cloth filtering algorithm to obtain the classification label of each point cloud. The point clouds with classification labels indicating the ground are used to construct a ground point cloud set, and the digital elevation model is generated using the inverse distance weighted interpolation method. The canopy height matrix is ​​obtained by subtracting the digital elevation model from the digital surface model.

[0024] In one specific embodiment of the present invention, the forest area temporal spectral image is a multispectral image sequence containing four bands: red (R), green (G), blue (B), and near-infrared (NIR), acquired by a multispectral camera. The multispectral image sequence is subjected to feature point matching, bundle adjustment, and dense matching using a motion reconstruction structure algorithm to generate a three-dimensional point cloud containing spatial location information of trees and terrain. During the generation of the three-dimensional point cloud, the spectral values ​​of each pixel in the multispectral image are mapped to the corresponding three-dimensional spatial points, so that each point in the three-dimensional point cloud contains three-dimensional spatial coordinates and spectral data, including R value, G value, B value, and near-infrared band value. The digital surface model is represented in data structure as a two-dimensional single-channel matrix, and the row element values ​​of the digital surface model are... Represents the highest elevation (in meters) of the land cover (including tree canopy tops) at this geographical location, row index. and column indexes The corresponding grid center's projected coordinates in geographic space; The cloth filtering algorithm is used to process the three-dimensional spatial coordinates of the three-dimensional point cloud and obtain the classification label of each point cloud. The classification label is used to indicate whether the location of the point cloud is on the ground or not. All point clouds located on the ground are constructed into a ground point cloud set. The above-mentioned ground point cloud set is obtained, and a digital elevation model is generated using inverse distance weighted interpolation. The process of inverse distance weighted interpolation specifically includes: Construct a two-dimensional single-channel matrix with the same dimensions as the digital surface model, with row indexes. and column indexes For each element in the two-dimensional single-channel matrix, the geographic coordinates corresponding to the center of the grid are used as the center to set the search radius (0.5 meters in this embodiment). Search for point clouds falling within the set of ground point clouds within the specified radius. Calculate the Euclidean distance between each searched point cloud and the center of the grid. The closer the point cloud is to the center, the greater the weight of its elevation (Z value) in relation to the element value at that location. The weight of a point cloud is the reciprocal of the square of its corresponding Euclidean distance. Calculate the weighted average of all point clouds within the search radius to obtain the ground elevation value of the grid. The mathematical expression for the weighted average is: ; in, This is the ground elevation value. The number of point clouds within the search radius. For the first The weight of each point cloud, The Z-value of the point cloud. The coordinates are those of the grid. Calculate the ground elevation values ​​for all grid cells, based on the grid coordinates. A digital elevation model is generated using the ground elevation values ​​from the grid. The canopy height matrix is ​​a two-dimensional single-channel matrix. Each element of the canopy height matrix... This represents the absolute height of the tree above the ground at that pixel.

[0025] This invention utilizes a cloth filtering algorithm and an inverse distance weighted interpolation method to generate digital elevation models and digital surface models, respectively, and obtains the canopy height matrix through difference calculation. This processing method can effectively filter out the interference of terrain undulation on tree height measurement, and can accurately restore the absolute height of trees relative to the ground even in mountainous areas with complex terrain. Accurate canopy height data is the cornerstone of subsequent physical simulation and single tree segmentation, ensuring that disease judgment is based on the tree's own growth status, rather than misjudgment caused by terrain changes.

[0026] Step S2, the process of forming the index matrix of individual trees, specifically includes: The canopy height matrix is ​​Gaussian smoothed to suppress fine texture noise on the canopy surface; local maxima detection is performed on the smoothed canopy height matrix, and local maxima points with height values ​​greater than a preset height threshold are selected as seed points at the tree top; The canopy height matrix is ​​regarded as the terrain surface. Using the marker-controlled watershed algorithm, the seed point at the top of the tree is used as the water collection basin to simulate the spread of water from the top of the tree to the surrounding low places. When the water flows from different collection basins meet, the dividing line is constructed to generate the single tree index matrix. In the single tree index matrix, different integer values ​​represent different single tree areas, and a value of 0 represents the background or ground. In a specific embodiment of the present invention, the canopy height matrix is ​​used as the segmentation basis, specifically including: Obtain the canopy height matrix. The canopy height matrix is ​​represented as a two-dimensional single-channel matrix in terms of data structure. The number of rows and columns of the matrix corresponds to the number of grid divisions of the forest area on the two-dimensional grid plane. Each element in the matrix is ​​the absolute height value of the tree at the center of the grid relative to the ground. Since the original canopy height matrix is ​​generated based on discrete point clouds, subtle gaps in the branches and leaves or data noise on the canopy surface will appear as high-frequency texture fluctuations in the matrix. If the original matrix is ​​used directly for segmentation, these subtle fluctuations will be mistakenly identified by the algorithm as boundaries between multiple trees. Therefore, the canopy height matrix needs to be Gaussian smoothed first. Specifically, Gaussian smoothing is used... The Gaussian convolution kernel is used to perform convolution operation on the canopy height matrix to obtain a smoothed canopy height matrix. While preserving the low-frequency information of the overall canopy outline, it filters out the high-frequency noise caused by the gaps between leaves to prevent false extreme points from appearing in subsequent steps. Based on the smoothed canopy height matrix, the treetop position of a single tree is located. This embodiment uses the local maximum detection method, defining a matrix of size... Slide the window and traverse the canopy height matrix. If the value of a point in the canopy height matrix is ​​greater than the values ​​of all other points in its neighborhood, then the point is determined to be a local maximum. To eliminate interference from ground weeds, shrubs, or low rocks, this embodiment sets a height threshold of 2.0 meters. This value is set based on the average growth height of trees in the forest area. Targets below this height are not considered trees. Only when the height value of a local maximum point is greater than the height threshold is the point marked as a valid treetop seed point. Using the aforementioned set of treetop seed points as markers, a watershed segmentation algorithm is performed on the canopy height matrix; In the specific calculation, the values ​​of the smoothed canopy height matrix are inverted, that is, multiplied by -1. At this time, the original tree tops become the bottom of the basin in terms of values, and the original gaps between trees become the ridges. Using each treetop seed point as a water inlet, i.e. the lowest point of the catchment basin, the simulated water flow spreads upward from these seed points. As the water level rises, the water area belonging to different seed points gradually expands. When the water flows from different seed points meet at a certain point, that point is determined as the watershed dividing line between the two trees. After the above watershed transformation, each grid point in the forest area is assigned a unique label to indicate the watershed represented by the treetop seed point to which the point belongs. Based on this assignment result, a single tree index matrix is ​​constructed.

[0027] This invention employs Gaussian smoothing combined with local maximum detection to determine the seed point at the treetop, and utilizes a label-controlled watershed algorithm for individual tree segmentation. This method effectively suppresses high-frequency noise generated by gaps between branches and leaves on the canopy surface through smoothing, preventing over-segmentation. The watershed transformation based on the seed point at the treetop can simulate natural growth boundaries, accurately dividing contiguous forests into independent individual tree objects. This precise individual tree localization and segmentation technology enables personalized analysis of the independent health status of each tree, significantly improving the spatial resolution of monitoring.

[0028] Step S2, the process of generating the ideal healthy canopy envelope, specifically includes: A virtual canopy plane with dimensions consistent with the canopy height matrix is ​​constructed. The height of each canopy particle within the virtual canopy plane is iteratively updated. The iterative update process specifically includes: The height of each canopy mass point is initialized to the maximum height value in the canopy height matrix. The predicted height of the canopy mass point is calculated using the Verlet integral algorithm. The mathematical expression for the predicted height is: ; in, To predict altitude, At the current altitude, The height at the time of the last iteration. Let gravitational acceleration be constant. The preset update step size (0.01s in this embodiment); If the predicted height of a canopy particle is lower than the value at the corresponding position in the canopy height matrix, the height value of the canopy particle will be forcibly corrected to the value of the canopy height matrix. If the predicted height of a canopy particle is greater than or equal to the value at the corresponding position in the canopy height matrix, then the height of the canopy particle is updated according to the predicted height. The height of the updated canopy particles is then smoothed using Laplace smoothing. The Laplace smoothing process specifically includes: Traverse the four neighboring canopy particles of the canopy particle, calculate the distance between the canopy particle and each neighboring particle, and filter out the effective constrained neighboring particles whose distance exceeds the preset tension threshold (0.2m in this embodiment). Calculate the corrected displacement component generated by each effective constraint neighborhood particle on the canopy particle, and calculate the average value of all corrected displacement components as the target correction amount; The height of the current canopy particles is uniformly updated using the target correction amount, and the update formula is as follows: ; in, The corrected height of the canopy particles. The height of the canopy particles before correction. The stiffness coefficient (0.6 in this embodiment, which determines the hardness of the virtual crown layer) is used. To effectively constrain the number of neighboring particles, For the first The height of an effective constrained neighborhood particle; When the sum of the height changes of all canopy particles in the current iteration step is less than the preset convergence threshold (10 in this embodiment), -4 The iteration terminates at this point. The values ​​in the matrix represent the ideal healthy canopy envelope after removing disease and collapse.

[0029] In one specific embodiment of the present invention, in order to simulate the full shape of a healthy tree crown, a discretized physical network with dimensions completely consistent with the crown height matrix is ​​constructed as a virtual crown layer. The data format of the virtual crown layer is a two-dimensional matrix, and each element in the matrix is ​​a crown mass point. The crown mass point spatially corresponds strictly to the _th ... line, number The center position of the column grid; Initialize the height of all particles within the virtual crown plane to the baseline height value; If the predicted height of a canopy particle is lower than the value at the corresponding position in the canopy height matrix, it means the canopy particle has penetrated the tree canopy structure, and the height needs to be updated simultaneously. Simultaneously update This is to reset the implicit velocity of the canopy particle to zero, preventing it from continuing to penetrate due to inertia in the next moment; To simulate the connection tension between branches and leaves in the tree canopy and prevent particles from falling into the deep pits caused by high-frequency diseases, it is necessary to... Laplace smoothing correction is performed, which means that for any particle, a virtual connection relationship is established between it and its four neighboring particles in the matrix. This virtual connection simulates the natural traction force between branches and leaves of a healthy tree canopy. If a leaf collapses due to disease, the surrounding healthy leaves will pull the diseased leaf back through this virtual connection, preventing the virtual canopy layer from falling completely into the gap of the disease. This embodiment employs a parallel computing strategy to correct the position of the mass point. The specific process includes: For any canopy mass point, obtain its four neighboring mass points above, below, left, and right, and determine whether the straight-line distance between the mass point and the four neighboring mass points exceeds a preset tension threshold. If it exceeds the threshold, it is determined that the neighboring mass point exerts a tensile force on the current mass point and is marked as an effective constraint neighboring mass point. For each valid constrained neighborhood, calculate the ideal position difference (i.e., the difference between the desired position and the desired position of the current particle) for that neighborhood. The ideal position differences generated by all effective constraint neighborhoods are summed and divided by the number of effective neighborhoods to obtain the average corrected displacement. Based on the stiffness coefficient (0.6 in this embodiment), the current mass point is moved along the direction of the average correction displacement. The stiffness coefficient is used to control the hardness of the mesh. The smaller the stiffness coefficient, the softer the mesh and the smaller the correction range. The reason why this invention defines the virtual crown layer after physical simulation as the ideal healthy crown envelope is based on the principle of morphological continuity of forest growth. The crown surface of a healthy tree is usually continuous and full. When pests and diseases occur, the shedding of needles inside the crown will cause unnatural, high-frequency deep abrupt changes in the crown surface, resulting in collapse. However, the main branch framework of the tree usually remains intact. In the physical simulation of this step, the virtual crown layer is endowed with the ability to resist high-frequency deformation through a preset stiffness coefficient. When the virtual crown layer settles under the action of gravity, that is, the fitting driving force, for a healthy crown area, the terrain change is gentle, and the virtual crown layer can overcome the internal force and fit tightly to the crown surface. At this time, the potential energy residual approaches 0.

[0030] This invention constructs a virtual crown layer based on Verlet integrals and Laplace smoothing constraints. Through the simulation of rigidity and tension in physics, an ideal healthy form covering the tree crown is constructed. When the real tree crown dies or falls off due to pests and diseases, resulting in collapse, the virtual crown layer, which has a certain degree of rigidity, will not sink with it, thus forming a significant height difference with the real crown layer. This method based on a physical model ingeniously quantifies the difficult-to-describe feature of morphological defects, and provides a criterion with clear physical significance for distinguishing between natural growth gaps and physical damage caused by diseases.

[0031] In step S3, the adaptive illumination correction specifically includes: A bounding window for any single tree is constructed based on the coordinate range of the single tree index matrix. The corresponding local height matrix and local multispectral matrix are extracted from the canopy height matrix and spectral data based on the points within the bounding window. Based on the local height matrix, the central difference method is used to calculate the unit normal vector of any point within the bounding window; The solar elevation angle and solar azimuth angle are obtained based on the time of collection of the time-series spectral images of the forest area. A normalized solar incident light vector is constructed, and the dot product of the unit normal vector and the solar incident light vector is used as the light intensity factor. The illumination intensity factor is mapped to illumination weights using the Sigmoid activation function. The mathematical expression for the illumination weights is: ; in, For the first The light weight of each tree The steepness coefficient is 10 in this embodiment. The illumination threshold is 0.5 in this embodiment. This is the light intensity factor.

[0032] In the single tree index matrix, obtain the coordinates of all elements with the same independent number to form multiple single tree coordinate sets. Each set represents a single tree. Based on any single tree coordinate set, obtain the maximum, minimum, maximum and minimum values ​​of the horizontal coordinate, and the maximum and minimum values ​​of the vertical coordinate. The area formed by the maximum, minimum, maximum and minimum values ​​of the horizontal coordinate is the bounding window of the single tree. Based on the range of the aforementioned enclosing window, the height values ​​of the corresponding range are extracted from the canopy height matrix to construct the local height matrix of a single tree. Based on the local height matrix, the central difference method is used to calculate the unit normal vector of any point within the bounding window. The mathematical expression for the unit normal vector is: ; in, For unit normal vector, The gradient is in the X direction. The gradient is in the Y direction. The x-axis is... The vertical axis is used as the coordinate. The mathematical expressions for the gradients in the X and Y directions are: ; ; in, The gradient is in the X direction. The gradient is in the Y direction. For point The height value, For point The height value, For point The height value, For point The height value when point When a point is an edge point, its missing 4 neighboring points are filled with a value of 0; The solar altitude angle is obtained based on the time of acquisition of the time-series spectral images. and solar azimuth Construct a normalized solar incident light vector The dot product of the unit normal vector and the incident solar light vector is used as the illumination intensity factor. A positive illumination intensity factor represents the sun-facing direction, and a negative illumination intensity factor represents the shaded direction.

[0033] This invention uses the central difference method to calculate the unit normal vector of the canopy surface and combines the solar altitude angle and azimuth angle to calculate the light intensity factor, thereby generating a nonlinear light weight matrix. It accurately restores the light conditions of the canopy surface using three-dimensional geometric information, and can identify the sunlit and shaded sides without relying on the brightness threshold of the image itself. Through the nonlinear mapping of the Sigmoid function, the transition of the light weight is made smoother and more natural.

[0034] In step S3, the adaptive illumination correction also includes: The spectral data of points within the bounding window is forward transformed to HSV space to obtain the brightness component. A weighted fusion operation is then performed on the brightness component and the near-infrared band values. For high-weighted regions (sunny side), the original values ​​are retained; for low-weighted regions (shaded side), smoothing and brightening operations are performed. The specific steps of the weighted fusion operation on the brightness component include: ; in, The restored target brightness, For illumination weight, This is the original luminance component. The components after Gaussian smoothing of the original brightness. The gain coefficient for shadow compensation is preferably in the range of 1.2 to 1.8 in this embodiment, used to compensate for the light attenuation on the shaded side. To represent the degree of repair demand, the value for the shaded side is close to 1, making the repair item the dominant result; The process of performing a weighted fusion operation on near-infrared band values ​​specifically includes: ; in, The restored near-infrared band value. The original near-infrared band values, The components after Gaussian smoothing of the original near-infrared values. For illumination weight, The compensation gain coefficient (preferably 1.2 to 1.8 in this embodiment); The restored target brightness is inversely transformed and normalized from the HSV space to obtain the restored spectral value and the restored near-infrared band value corresponding to each point within the bounding window, thus constructing the local multispectral matrix of a single tree.

[0035] In a specific embodiment of the present invention, based on the range of the above-mentioned enclosing window, RGB data of points within the corresponding range are extracted from the spectral data to construct a local multispectral matrix of a single tree. The value of each point in the local multispectral matrix of a single tree is ,Will Converted to HSV space , For the luminance component; Based on the revised ,Will The spectrum is then converted back to RGB color space and normalized to obtain the restored spectral values, which include... value, Value and The value, the numerical value of each point in the local multispectral matrix of a single tree, includes... .

[0036] This invention uses a weighted fusion compensation method based on illumination weight to adjust the brightness component and near-infrared band value of the shaded area. According to the illumination weight determined by the local geometry, the spectral information of the shaded area is repaired in a targeted manner, while the original true data of the high-weighted sunny area is preserved. This differentiated restoration strategy greatly enhances the visibility of disease characteristics on the shaded side, ensuring that the disease characteristics of the tree can be detected consistently regardless of the lighting angle, and significantly reducing the false negative rate.

[0037] Step S4, the process of obtaining the comprehensive state energy matrix, specifically includes: The difference between the ideal healthy tree canopy envelope and the canopy height matrix is ​​used as the potential energy residual matrix; The restored spectral values, restored near-infrared band values, height values ​​of the local height matrix, and residual values ​​of the potential energy residual matrix in the local multispectral matrix are subjected to maximum and minimum normalization respectively, and all feature values ​​are mapped to the [0,1] interval. Based on the normalized feature values, a multidimensional canopy state tensor of any point within the bounding window of a single tree is constructed. The multidimensional canopy state tensor has a dimension of 6, including the local multispectral matrix corresponding to that point. value, value, value, Value, height value, and potential energy residual; The product of the magnitude of the multidimensional canopy state tensor at any point within the bounding window and the illumination weight corresponding to the multidimensional canopy state tensor in the illumination weight matrix is ​​used as the comprehensive state energy, and a comprehensive state energy matrix is ​​constructed.

[0038] This invention constructs a 6-dimensional canopy state tensor by normalizing the restored spectral data, height information, and potential energy residuals, and calculates the comprehensive state energy using illumination weights. This step achieves deep mathematical fusion of morphological and spectral features, transforming discrete disease indicators into a unified energy field expression. Through secondary weighting of illumination weights, the influence of low-light or poor-quality areas in the final judgment is automatically reduced, enhancing the contribution of high-confidence data, thereby generating a comprehensive characterization of forest health status with strong noise resistance.

[0039] Step S4, the process of determining the state of the trees, specifically includes: The fractal dimension of the integrated state energy matrix is ​​calculated using the difference box dimension algorithm, and this is used as an indicator to measure the degree of forest tree diseases. The fractal dimension of a single tree is determined using a primary disease detection threshold. The specific logic for this determination includes: If the fractal dimension is less than the primary disease judgment threshold, the tree is considered healthy. If the fractal dimension is greater than or equal to the primary disease judgment threshold, the tree is determined to be diseased.

[0040] In a specific embodiment of the present invention, the state of forest trees is determined based on the comprehensive state energy matrix. In order to accurately quantify the disease degree of a single tree when determining the state of forest trees, this embodiment uses the difference box dimension algorithm to calculate the fractal dimension of the comprehensive state energy matrix. Based on the generated single tree index matrix, for the tree numbered... For the target trees, a binary mask matrix is ​​generated. The mathematical expression of the binary mask matrix is: ; The Hadamard product operation is performed between the comprehensive state energy matrix and the binary mask matrix to force the background region to be set to zero, and only the energy fluctuation state of the canopy region is retained. Divide the mask area into The grid, for each grid Calculate the maximum and minimum energy values ​​falling within the grid. Calculate the number of boxes that the grid spans in the third dimension, along the energy direction. The mathematical expression for the number of boxes is: ; in, To be at the grid position The number of boxes required to cover the surface undulations of the image. For box dimensions, In the first The maximum value of the overall state energy within each grid range. In the first The minimum value of the overall state energy within a grid range. It is a rounding function. Grid scale; Calculate the total number of boxes required to cover the entire canopy of a single tree. If the mask corresponding to the grid is 0, i.e. the background area, then it is not included in the total number of boxes. Change the grid scale, repeat the above process, and fit. and The slope of the linear regression line is the fractal dimension of the single tree. Because healthy trees have full leaves, strong spectral consistency, and no disease or collapse, their overall state energy matrix shows a smooth curved surface with small changes in energy gradient, and the fractal dimension value of healthy trees is low. Due to the yellowing and spectral changes caused by diseased trees and the dramatic increase in potential energy residuals caused by leaf drop, the surface of the comprehensive state energy matrix is ​​rough and fragmented, exhibiting extremely high complexity and disorder, resulting in a significant increase in fractal dimension. Because different forest stand types, light conditions, and growing seasons can cause the baseline value of fractal dimension to drift, this embodiment does not set a fixed threshold. Instead, it uses the maximum inter-class variance method to find the optimal split point in the set of fractal dimensions of all individual trees. The process of finding the optimal split point specifically includes: The maximum and minimum values ​​of the fractal dimension of all individual trees in the entire forest area are selected. The range formed by the minimum and maximum values ​​is evenly divided into several intervals with a preset precision (0.1 in this embodiment). Based on the divided intervals, a frequency distribution histogram of the fractal dimension of the forest area is constructed. Under normal circumstances, the number of healthy trees is dominant, and their fractal dimension values ​​are clustered in the lower value interval, showing a main peak. The number of diseased trees is small and their characteristics are discrete. Their fractal dimension values ​​are distributed in the higher value interval, showing a tail or a secondary peak. The right endpoint of each divided interval is used as the candidate segmentation threshold. Trees with a fractal dimension less than or equal to the segmentation threshold are considered healthy trees, while trees with a fractal dimension greater than or equal to the segmentation threshold are considered diseased trees. Iterate through all candidate segmentation thresholds, calculate the inter-class variance between healthy trees and diseased trees, and select the candidate segmentation threshold that maximizes the inter-class variance as the primary disease decision threshold. The method for calculating between-class variance is as follows: ; in, For inter-class variance, The candidate segmentation threshold, and The ratio of healthy trees to diseased trees, respectively. and These are the average fractal dimensions of healthy trees and diseased trees, respectively.

[0041] This invention uses the difference box dimension algorithm to calculate the fractal dimension of the comprehensive state energy matrix and adopts the maximum inter-class variance method to adaptively determine the decision threshold. The fractal dimension can quantify the roughness and fragmentation of the canopy surface and intuitively reflect the increased complexity caused by diseases.

[0042] A smart identification system for forest tree diseases and pests includes a data acquisition module, a segmentation and simulation module, a correction module, and a judgment module; The acquisition module is used to acquire time-series spectral images of the forest area, and uses the structure-of-motion reconstruction algorithm to obtain time-series spectral images of the forest area to generate three-dimensional point cloud data, which includes coordinate data and spectral data. The segmentation and simulation module is used to generate a canopy height matrix by projecting and filtering coordinate data, segment the canopy height matrix into individual trees using the watershed algorithm, generate an index matrix of individual trees, and iteratively update it to generate an ideal healthy canopy envelope. The correction module is used to perform adaptive illumination correction based on the index matrix of a single tree, obtain illumination weights, and correct the spectral data in the 3D point cloud data to obtain a local multispectral matrix. The determination module is used to calculate the potential energy residual matrix based on the ideal healthy canopy envelope and canopy height matrix. Based on the local multispectral matrix, canopy height matrix and potential energy residual matrix, a multidimensional canopy state tensor is constructed. The multidimensional canopy state tensor is then weighted using the illumination weight matrix to obtain the comprehensive state energy matrix and determine the state of the trees.

[0043] This invention constructs a virtual canopy layer model based on the Verlet integral algorithm. It uses a physical network to simulate the natural morphology of a healthy tree canopy under the action of gravity and tension. By calculating the potential energy residual between the virtual canopy layer and the actual canopy height matrix, it achieves accurate quantification of canopy morphological anomalies. This mechanism enables the system to not only utilize spectral information, but also to deeply explore three-dimensional structural features such as leaf drop and canopy collapse caused by pests and diseases. It effectively overcomes the shortcomings of traditional methods that rely only on two-dimensional textures and are difficult to detect early morphological changes. This invention proposes an adaptive illumination correction method based on three-dimensional geometric features. By calculating the coupling relationship between the canopy surface normal vector and the solar incidence angle, an illumination weight matrix is ​​generated, and nonlinear spectral and texture compensation is performed on the shaded side accordingly. This joint correction strategy solves the problem of different spectra of the same object in complex forest areas from a physical perspective, eliminates the interference of tree canopy self-shadowing and terrain shadow on the authenticity of spectral data, and significantly improves the stability and consistency of multispectral features under different illumination conditions. This invention abandons the discrimination method that relies solely on black-box models, and instead uses the difference box dimension algorithm to calculate the fractal dimension of the multidimensional canopy state tensor. This transforms the degree of yellowing, fragmentation, and disorder exhibited by forest diseases into measurable fractal geometric indices. This method integrates spectral abrupt changes and morphological fragmentation features into a comprehensive state energy field, and uses the fractal dimension to quantify the roughness and complexity of the forest surface. This not only provides a clear physical meaning for the determination of disease severity, but also greatly improves the system's generalization ability and recognition accuracy in different forest stand environments through adaptive maximum inter-class variance threshold segmentation.

[0044] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0045] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the protection scope of the present invention.

Claims

1. A method for intelligent identification of forest tree diseases and pests, characterized in that, Includes the following steps: Step S1: Collect time-series spectral images of the forest area, and use the structure-reconstruction-motion algorithm to obtain time-series spectral images of the forest area to generate three-dimensional point cloud data, wherein the three-dimensional point cloud data includes coordinate data and spectral data; Step S2: By projecting and filtering the coordinate data, a canopy height matrix is ​​generated. The canopy height matrix is ​​then segmented into individual trees using the watershed algorithm to generate an index matrix of individual trees. This matrix is ​​then iteratively updated to generate an ideal healthy canopy envelope. The process of generating the ideal healthy canopy envelope in step S2 specifically includes: A virtual canopy plane with dimensions consistent with the canopy height matrix is ​​constructed. The height of each canopy mass point within the virtual canopy plane is iteratively updated. The iterative update process specifically includes: The height of each canopy mass point is initialized to the maximum height value in the canopy height matrix, and the predicted height of the canopy mass point is calculated using the Verlet integral algorithm; If the predicted height of a canopy particle is lower than the value at the corresponding position in the canopy height matrix, then the height value of the canopy particle is forcibly corrected to the value of the canopy height matrix; If the predicted height of a canopy particle is greater than or equal to the value at the corresponding position in the canopy height matrix, then the height of the canopy particle is updated according to the predicted height. The height of the updated canopy particles is then subjected to Laplace smoothing correction. The Laplace smoothing correction process specifically includes: Traverse the four neighboring canopy particles of the canopy particle, calculate the distance between the canopy particle and each neighboring particle, and filter out the effective constrained neighboring particles whose distance exceeds the preset tension threshold; Calculate the corrected displacement component generated by each effective constraint neighborhood particle on the canopy particle, and calculate the average value of all corrected displacement components as the target correction amount; The height of the current canopy particles is uniformly updated using the target correction amount; The iteration terminates when the sum of the height changes of all canopy particles in the current iteration step is less than the preset convergence threshold. Step S3: Perform adaptive illumination correction based on the single tree index matrix to obtain illumination weights, and correct the spectral data in the three-dimensional point cloud data to obtain a local multispectral matrix. In step S3, the adaptive illumination correction specifically includes: A bounding window for any single tree is constructed based on the coordinate range of the single tree index matrix. Based on the points within the bounding window, the corresponding local height matrix and local multispectral matrix are extracted from the canopy height matrix and spectral data. Based on the local height matrix, the unit normal vector of any point within the bounding window is calculated using the central difference method. The solar altitude angle and solar azimuth angle are obtained based on the time of the collection of the time-series spectral image of the forest area. A normalized solar incident light vector is constructed, and the dot product of the unit normal vector and the solar incident light vector is used as the light intensity factor. The illumination intensity factor is mapped to illumination weights using the Sigmoid activation function; Step S4: Calculate the potential energy residual matrix based on the ideal healthy canopy envelope and canopy height matrix. Construct a multidimensional canopy state tensor based on the local multispectral matrix, canopy height matrix, and potential energy residual matrix. Use the illumination weight matrix to weight the multidimensional canopy state tensor to obtain the comprehensive state energy matrix and determine the forest state. In step S4, the process of determining the state of the trees specifically includes: The fractal dimension of the integrated state energy matrix is ​​calculated using the difference box dimension algorithm, and the fractal dimension of a single tree is determined using a primary disease judgment threshold. The determination logic specifically includes: The primary disease judgment threshold is adaptively determined using the Otsu's inter-class variance method. If the fractal dimension is less than the primary disease judgment threshold, the tree is considered healthy. If the fractal dimension is greater than or equal to the primary disease judgment threshold, the tree is determined to be diseased.

2. The intelligent identification method for forest tree diseases and pests as described in claim 1, characterized in that, In step S1, the time-series spectral image is a multispectral image of the same forest area continuously collected by a drone; The coordinate data includes three-dimensional spatial coordinates; The spectral data are the R value, G value, B value, and near-infrared band value corresponding to each point cloud.

3. The intelligent identification method for forest tree diseases and pests as described in claim 2, characterized in that, The process of obtaining the canopy height matrix in step S1 specifically includes: A time-series spectral image of the forest area is acquired, and the structure-reconstruction-motion algorithm is used to process the time-series spectral image of the forest area to generate a three-dimensional point cloud. The three-dimensional spatial coordinates of each point in the three-dimensional point cloud are converted into unified planar projection coordinates. A two-dimensional grid plane covering the forest area is constructed with a preset ground sampling distance. The three-dimensional point cloud is orthogonally projected onto the two-dimensional grid plane along the Z-axis. For each grid in the two-dimensional grid plane, the maximum value of the Z-value of all points in the point cloud falling within the grid range is selected as the pixel value of the grid to generate a digital surface model. The three-dimensional spatial coordinates of the three-dimensional point cloud are processed using a cloth filtering algorithm to obtain the classification label of each point cloud. The point clouds with classification labels indicating the ground are used to construct a ground point cloud set, and a digital elevation model is generated using the inverse distance weighted interpolation method. The canopy height matrix is ​​obtained by subtracting the digital elevation model from the digital surface model.

4. The intelligent identification method for forest tree diseases and pests as described in claim 3, characterized in that, In step S2, the process of forming the index matrix of individual trees specifically includes: The canopy height matrix is ​​Gaussian smoothed, and local maxima detection is performed on the smoothed canopy height matrix. Local maxima points with height values ​​greater than a preset height threshold are selected as treetop seed points. The canopy height matrix is ​​regarded as the terrain surface. Using the marker-controlled watershed algorithm, the seed point at the top of the tree is used as the water collection basin to simulate the spread of water from the top of the tree to the surrounding low-lying areas. When the water flows from different collection basins meet, a dividing line is constructed to generate a single tree index matrix.

5. The intelligent identification method for forest tree diseases and pests as described in claim 3, characterized in that, In step S2, the mathematical expression for the predicted height is: ; in, To predict altitude, At the current altitude, The height at the time of the last iteration. Let gravitational acceleration be constant. The preset update step size; The height of the current canopy particles is uniformly updated using the target correction amount, and the update formula is: ; in, The corrected height of the canopy particles. The height of the canopy particles before correction. The stiffness coefficient, To effectively constrain the number of neighboring particles, For the first The height of a neighboring particle is effectively constrained.

6. The intelligent identification method for forest tree diseases and pests as described in claim 3, characterized in that, In step S3, the mathematical expression for the illumination weight is: ; in, For the first The light weight of each tree This is the steepness coefficient. The light threshold, This is the light intensity factor.

7. The intelligent identification method for forest tree diseases and pests as described in claim 6, characterized in that, In step S3, the adaptive illumination correction further includes: The spectral data of the points within the enclosing window are forward transformed to HSV space to obtain the brightness component. A weighted fusion operation is then performed on the brightness component and the near-infrared band values. Specifically, the process of performing the weighted fusion operation on the brightness component includes: ; in, The restored target brightness, For illumination weight, This is the original luminance component. The components after Gaussian smoothing of the original brightness. This is the cathode compensation gain coefficient; The process of performing a weighted fusion operation on near-infrared band values ​​specifically includes: ; in, The restored near-infrared band value. The original near-infrared band values, The components after Gaussian smoothing of the original near-infrared values. For illumination weight, This is the compensation gain coefficient; The restored target brightness is inversely transformed and normalized from the HSV space to obtain the restored spectral value corresponding to each point within the enclosing window. The restored spectral value is then combined with the restored near-infrared band value to construct a local multispectral matrix for a single tree.

8. The intelligent identification method for forest tree diseases and pests as described in claim 7, characterized in that, The process of obtaining the comprehensive state energy matrix in step S4 specifically includes: The difference between the ideal healthy tree canopy envelope and the canopy height matrix is ​​used as the potential energy residual matrix; The restored spectral values, restored near-infrared band values, height values ​​of the local height matrix, and residual values ​​of the potential energy residual matrix in the local multispectral matrix are subjected to maximum and minimum normalization respectively, and all feature values ​​are mapped to the [0,1] interval. Based on the normalized feature values, a multidimensional canopy state tensor of any point within the bounding window of a single tree is constructed. The product of the magnitude of the multidimensional canopy state tensor at any point within the bounding window and the illumination weight corresponding to the multidimensional canopy state tensor in the illumination weight matrix is ​​used as the comprehensive state energy, and a comprehensive state energy matrix is ​​constructed.

9. A forest tree disease and pest intelligent identification system, which is applied in the forest tree disease and pest intelligent identification method as described in any one of claims 1-8, characterized in that, It includes an acquisition module, a segmentation and simulation module, a correction module, and a judgment module; The acquisition module is used to acquire time-series spectral images of the forest area, and use the structure reconstruction algorithm to obtain time-series spectral images of the forest area to generate three-dimensional point cloud data. The three-dimensional point cloud data includes coordinate data and spectral data. The segmentation and simulation module is used to generate a canopy height matrix by projecting and filtering coordinate data, segment the canopy height matrix into individual trees using a watershed algorithm, generate an index matrix of individual trees, and iteratively update it to generate an ideal healthy canopy envelope. The correction module is used to perform adaptive illumination correction based on the single tree index matrix, obtain illumination weights, and correct the spectral data in the three-dimensional point cloud data to obtain a local multispectral matrix. The determination module is used to calculate the potential energy residual matrix based on the ideal healthy canopy envelope and canopy height matrix, construct a multidimensional canopy state tensor based on the local multispectral matrix, canopy height matrix and potential energy residual matrix, and use the illumination weight matrix to weight the multidimensional canopy state tensor to obtain the comprehensive state energy matrix and determine the forest state.

Citation Information

Patent Citations

  • Intelligent monitoring and early warning system and method for forest plant diseases and insect pests

    CN119580082A

  • Afforestation quality evaluation method based on unmanned aerial vehicle remote sensing

    CN121686226A

  • Intelligent identification method and system for tree species of urban forest

    CN121962902A