An intelligent identification method for pine wood nematode diseased trees based on sample imbalance

Through the anchor-free jump aggregation center point network model and hybrid data enhancement technology, the problem of small sample size and insufficient feature extraction in the detection of pine wood nematode disease trees has been solved, the recognition accuracy and robustness have been improved, and multi-source detection has been achieved. Effective identification of data.

CN115019200BActive Publication Date: 2024-10-18CHINA THREE GORGES UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210548613.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-20
Publication Date
2024-10-18
Estimated Expiration
2042-05-20

AI Technical Summary

Technical Problem

The existing technology has problems in detecting pine wood nematode diseased trees, such as small sample size, incomplete sample representativeness, insufficient feature extraction, and unbalanced selection of positive and negative samples based on the anchor frame target detection algorithm, resulting in low model recognition accuracy and low training efficiency. .

Method used

The anchor-free jump aggregation center point network model is used for feature extraction, and the sample is expanded through hybrid data enhancement technology to solve the problem of unbalanced sample representation and achieve intelligent identification of trees with multi-source pine wood nematode disease.

Benefits of technology

It improves the model's extraction adequacy and recognition accuracy for pine wood nematode diseased tree features, reduces the risk of model overfitting, enhances the robust identification ability of diseased trees, reduces computational overhead, and enables multi-source data processing good promotion effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115019200B_ABST
    Figure CN115019200B_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent identification method for pine wilt diseased trees based on sample imbalance, comprising the following steps: step 1: obtaining remote sensing images through unmanned aerial vehicles, preprocessing the remote sensing images, and marking the diseased trees in the images to prepare a data set; step 2: inputting the data set into an anchor-free frame jump aggregation center point network for training to obtain a pine wilt diseased tree identification model; step 3: inputting unmanned aerial vehicle images with longitude and latitude coordinate information to be identified into the identification model to obtain diseased tree identification results; step 4: converting the identified diseased tree coordinate information into longitude and latitude coordinates, and conducting on-site survey and treatment of pine wilt diseased trees according to the longitude and latitude coordinates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of target detection technology, and in particular to an intelligent identification method for pine wood nematode diseased trees based on sample imbalance. Background Art

[0002] Pine wilt disease is a devastating disease of pine trees. It is highly contagious and pathogenic. It is known as pine cancer and is currently one of the most dangerous and destructive forest epidemics in the world.

[0003] Since it was discovered in 1982, it has spread rapidly and posed a devastating threat to large tracts of pine forests. It has the characteristics of various transmission routes, hidden and difficult to detect disease sites, long incubation period and difficult to detect in advance, rapid onset and inconvenient management. The gradual change of the color of tree needles to yellow or brown is a surface symptom of infected pine trees, while reddish-brown needles are pine trees in a serious disease period. In order to prevent and control the damage of pine wood nematodes to forest resources, dead trees or pine trees infected with the disease must be cleared in time. The emergence of pine wood nematode disease will bring huge economic losses to the country and cause certain damage to the forest ecology. Epidemic prevention work is imminent, and timely detection and disposal of pine wood nematode diseased trees is an important means to block the spread of the epidemic.

[0004] At present, the monitoring of pine wilt diseased trees is mainly based on manual field inspections and drone image inspections, which are too costly and have too many uncertainties. Therefore, in order to meet the management department's application needs for large-scale, rapid identification, and high-precision positioning of pine wilt disease prevention and control, it is urgent to find a fast, efficient, and low-cost identification method.

[0005] The use of UAV remote sensing images to monitor forest areas is widely used. Due to its powerful feature extraction capabilities, deep learning methods have been continuously combined with remote sensing technology in recent years to solve problems in various industries. Target detection algorithms based on deep learning are gradually widely used in the field of forest monitoring due to their fast speed and high accuracy, such as the R-CNN series, YOLO series and other target detection algorithms. Compared with traditional manual field inspections and UAV inspections, deep learning models have strong performance capabilities, feature extraction on multi-scale problems and advantages in time efficiency. Since diseased pine trees will have color change characteristics such as yellow-brown and reddish-brown needles, researchers have begun to apply deep learning algorithms to the identification of abnormally discolored wood in the past two years. Wang Chen and others began to combine deep learning methods with UAV remote sensing images to detect trees with pine wood nematode disease. However, their research has the following problems: First, the data source range is small, the sample size is too small, the representative coverage of the samples is incomplete, the feature extraction is not sufficient, the model has poor testing effect on diseased tree data from other sources, and cannot be extended to other data sets for testing; second, the anchor-based target detection algorithm has an imbalance problem in the selection of positive and negative samples of pine wood nematode data, which affects the recognition accuracy of the model.

[0006] Therefore, in view of the problems in the detection of pine wilt trees, such as small sample size, incomplete representative coverage of samples, insufficient feature extraction of pine wilt trees, and imbalance in the selection strategy of positive and negative samples in the pine wilt tree dataset based on the anchor detection algorithm, it is very important to build an efficient pine wilt tree recognition algorithm with good promotion effect.

[0007] The present invention alleviates the problems of unbalanced selection of positive and negative samples and insufficient feature extraction by constructing an anchor-free jumping aggregation center point network model; and uses hybrid data enhancement technology to expand the data of small-scale diseased tree samples, dark-image diseased tree samples, and yellow-color diseased tree samples to solve the problem of unbalanced representativeness of samples and realize intelligent identification of multi-source pine wood nematode diseased trees. Summary of the invention

[0008] The purpose of the present invention is to solve the problem that the traditional feature fusion generally adopts the fusion of adjacent feature maps, which loses some information of feature maps farther away from the feature map of the current layer, resulting in insufficient feature extraction of the overall pine wilt diseased tree; the problem that the representativeness of the training samples of pine wilt diseased trees is unbalanced, resulting in the trained model only extracting the features of some characteristic diseased trees, so that the model cannot fit all the diseased tree features that need to be identified, resulting in missed detection of pine wilt diseased trees; and the problem of low model training efficiency and low detection accuracy caused by the unbalanced sampling of positive and negative samples of pine wilt diseased trees by the anchor frame-based target detection network, and a method for extracting features of pine wilt diseased trees by using an anchor-free jumping aggregation center point network is proposed.

[0009] An intelligent identification method for pine wood nematode diseased trees based on sample imbalance includes the following steps:

[0010] Step 1: Obtain remote sensing images, preprocess the images, mark the diseased trees in the images, and create a data set;

[0011] Step 2: Input the data set into the network for training to obtain a pine wood nematode disease tree recognition model;

[0012] Step 3: Input the drone image with longitude and latitude coordinate information to be identified into the recognition model to obtain the diseased tree identification result;

[0013] Step 4: Convert the coordinate information of the identified diseased trees into longitude and latitude coordinates, and conduct manual field surveys and treatments on the pine wood nematode diseased trees based on the longitude and latitude coordinates.

[0014] In step 2, the prepared data set is input into the anchor-free frame jump aggregation center point network for training to obtain a pine wood nematode disease tree recognition model, which specifically includes the following steps:

[0015] 2-1: Crop the acquired image into several pictures of specified pixels, and mark the diseased trees with rectangular frames on the pictures;

[0016] 2-2: Based on the labeled samples, the small-scale diseased tree samples, dark diseased tree samples, and yellow diseased tree samples in the samples are augmented using the hybrid enhancement method. The augmented samples are added to the data set and divided into training set, validation set, and test set according to a certain ratio.

[0017] 2-3: Construct anchor-free jumping aggregation center point network model;

[0018] 2-4: Input the prepared data samples into the anchor-free jump aggregation center point network to extract the features of pine wood nematode diseased trees. According to the changes in loss value and accuracy during training, terminate the training in advance when the loss value and accuracy no longer fluctuate, so as to avoid overfitting of the model.

[0019] In step 2-3, a non-anchor-box jumping aggregation center point network model is constructed, which specifically includes the following steps:

[0020] 2-3-1: Resize the original image to the specified size and input it into the network, and perform a 4-fold downsampling operation on the input image to obtain the feature map R1;

[0021] The feature map R1 is subjected to the maximum pooling downsampling operation through the convolution kernel and then passed through the residual module to obtain the feature map R2;

[0022] The feature map R2 is subjected to the maximum pooling downsampling operation and the residual module again to obtain the feature map R3;

[0023] Perform the maximum pooling downsampling operation and residual module on the feature map R3 to obtain the feature map R4;

[0024] Perform the maximum pooling downsampling operation and residual module on the feature map R4 to obtain the feature map R5;

[0025] 2-3-2: Upsample the feature map R5 through deformable convolution and perform feature jump aggregation with the feature map R3 to obtain the feature map R35;

[0026] The feature map R4 is upsampled by deformable convolution and feature skip aggregation is performed on the feature map R2 to obtain the feature map R24;

[0027] The feature map R3 is upsampled by deformable convolution and feature skip aggregation is performed on the feature map R1 to obtain the feature map R13;

[0028] The feature map R24 is upsampled by deformable convolution and feature aggregated with the feature map R13 to obtain the feature map R12;

[0029] Feature maps R2 and R35 are upsampled by deformable convolution and aggregated with feature map R12 to obtain feature map R123;

[0030] The feature map R3 is upsampled by deformable convolution and aggregated with the feature map R123 to obtain the feature map R1233;

[0031] The feature map R5 is upsampled by deformable convolution and aggregated with the feature map R1234 to obtain the feature map Rout.

[0032] The feature map Rout prediction module contains three branches, including the center point heatmap branch, the center point offset branch and the target size (w, h) branch; the center point heatmap branch contains C (C refers to the number of categories) channels, each channel contains a category; the center point offset branch is used to compensate for the pixel error caused by mapping the points on the pooled low heatmap to the original image; the target size branch is used to predict the w and h deviation values ​​of the target rectangular box (w refers to the length of the prediction box, h refers to the width of the prediction box).

[0033] When training the network, the following loss function is used:

[0034] L det =γL k +θL size +(1-θ)L off

[0035] The overall loss function consists of three parts: L k represents the heatmap center point loss, L size represents the target center point offset loss, L off Represents the target length and width loss function. γ and θ represent the hyperparameters of the center point loss and center point position offset, respectively, which are used to control the training weights of the three parts of the loss;

[0036] The target heatmap center point loss is as follows:

[0037]

[0038] This function is improved on the basis of Focal Loss, where α and β are two hyperparameters used to balance the difficult and easy samples; Y xyc Indicates the GT value, Represents the predicted value, N represents the number of key points;

[0039] The center point offset loss is as follows:

[0040]

[0041] Where N represents the number of key points, represents the offset value predicted by the network, p represents the coordinates of the center point of the image, and R represents the scaling factor (downsampling multiple) of the Heatmap. Represents the approximate integer coordinates of the center point after scaling. The whole process uses L1 Loss to calculate the offset loss of the positive sample block.

[0042] The target length and width loss function is as follows:

[0043]

[0044] Where N represents the number of key points, s k Indicates the real size of the target, Represents the predicted size. The whole process uses L1 Loss to calculate the length and width loss of the positive sample.

[0045] In step 4, the coordinate information of the identified pine wilt diseased trees is converted into longitude and latitude coordinates, and the pine wilt diseased trees are surveyed and treated on the spot according to the longitude and latitude coordinates of the diseased trees. The specific acquisition steps include:

[0046] 4-1: Use metashape software to stitch the drone images that need to be identified;

[0047] 4-2: Crop the stitched drone image into the specified pixel size. After the metashape stitching, the cropped image will obtain the longitude and latitude coordinate information;

[0048] 4-3: Input the stitched cropped image into the trained model for detection, convert the coordinate information of the identified diseased tree in the cropped image into longitude and latitude coordinates, import the longitude and latitude coordinates of the diseased tree into the navigation software, and conduct manual field survey and cleaning based on the navigation information of the diseased tree.

[0049] Compared with the prior art, the present invention has the following technical effects:

[0050] First, traditional feature fusion generally adopts the method of fusing adjacent feature maps, which will lose some feature information of the feature maps of the upper layer farther away from the feature map of the current layer. The present invention adopts the method of jump feature fusion, which can effectively utilize the feature information of the feature maps of the upper layer. Figure 1 Generally, what is fused is the feature map information after fusion, while the output feature map of the present invention not only fuses the feature map after feature fusion, but also fuses the feature map information obtained by the original convolution, so that the model can extract the image features more fully and improve the robustness of the model;

[0051] Secondly, the present invention is a target detection network model based on no anchor. The target detection network based on anchor determines positive and negative samples according to the IOU of the anchor and the real frame. However, most sample images of pine wood nematode trees have only one target, that is, there are too few real frames, which leads to fewer positive sample sampling and more negative sample sampling during training. The problem is more prominent, and the trained pine wood nematode detection model has poor robustness. The jump aggregation center point network model is based on no anchor. Each target has only one positive sample. The target is judged by the Gaussian circle, and the NMS algorithm is not required during testing. The marked target frame distributes the key points on the feature map in the form of a Gaussian kernel, and then the target frame is generated by the key points. This method essentially transforms the target detection problem into a key point estimation problem, so that each marked key point is a positive sample of the target to be detected, and it will not process some parts without targets (background) like those methods that pre-set anchor frames in the past. In this way, the computational overhead will be relatively reduced, and the number of positive and negative samples will be relatively balanced;

[0052] Finally, the present invention uses a hybrid enhancement method to perform data expansion on some representative but small samples of pine wilt diseased trees. The main method is to change the chromaticity difference of the original image to increase the sample size, so that the distribution of training samples can fit as closely as possible the images of diseased trees that need to be identified in areas with strong sunlight or relatively dark conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:

[0054] Figure 1 It is a work flow chart of the present invention;

[0055] Figure 2 is a flow chart of the training model of the present invention;

[0056] Figure 3 This is a network structure diagram of the present invention. DETAILED DESCRIPTION

[0057] like Figure 1 As shown, an intelligent identification method for pine wood nematode diseased trees based on sample imbalance includes the following steps:

[0058] Step 1: Obtain remote sensing images through drones, pre-process the images, and mark the diseased trees in the images to create a data set;

[0059] Step 2: Input the data set into the anchor-free jump aggregation center point network for training to obtain a pine wood nematode disease tree recognition model;

[0060] Step 3: Input the drone image with longitude and latitude coordinate information to be identified into the recognition model to obtain the diseased tree identification result;

[0061] Step 4: Convert the coordinate information of the identified diseased trees into longitude and latitude coordinates, and conduct manual field surveys and treatments on the pine wood nematode diseased trees based on the longitude and latitude coordinates.

[0062] In step 2, the prepared data set is input into the anchor-free frame jump aggregation center point network for training to obtain a pine wood nematode disease tree recognition model, which specifically includes the following steps:

[0063] 2-1: Crop the 1:500 scale images obtained by the drone into several 1000*1000 pixel images, and use the labelme tool to mark the diseased trees with rectangular frames on the 1000*1000 pixel images;

[0064] 2-2: Based on the labeled samples, the small-scale diseased tree samples, dark diseased tree samples, and yellow diseased tree samples in the samples are augmented using the hybrid enhancement method. The augmented samples are added to the dataset and divided into training set, validation set, and test set in a ratio of 8:1:1.

[0065] 2-3: Construct anchor-free jumping aggregation center point network model;

[0066] 2-4: Input the prepared data samples into the anchor-free jump aggregation center point network to extract the features of pine wood nematode diseased trees. According to the changes in loss value and accuracy during training, terminate the training in advance when the loss value and accuracy no longer fluctuate, so as to avoid overfitting of the model.

[0067] In step 2-3, a non-anchor-box jumping aggregation center point network model is constructed, which specifically includes the following steps:

[0068] 2-3-1: The anchor-free jump aggregation center point network first resizes the original image into a 512*512 size and inputs it into the network. The input image is downsampled 4 times to obtain a 128*128 size feature map R1; the feature map R1 is subjected to a 3*3 convolution kernel with a step size of 2 and then subjected to a residual module (2 3*3 convolutions) to obtain a feature map R2; the feature map R2 is subjected to a maximum pooling downsampling operation and a residual module again to obtain a feature map R3; the feature map R3 is subjected to a maximum pooling downsampling operation and a residual module to obtain a feature map R4; the feature map R4 is subjected to a maximum pooling downsampling operation and a residual module to obtain a feature map R5;

[0069] 2-3-2: Upsample the feature map R5 with 3x3 deformable convolution instead of ordinary convolution and perform feature jump aggregation with the feature map R3 to obtain feature map R35. Upsample the feature map R4 with 3x3 deformable convolution and perform feature jump aggregation with the feature map R2 to obtain feature map R24. Upsample the feature map R3 with 3x3 deformable convolution and perform feature jump aggregation with the feature map R1 to obtain feature map R13. Then, upsample the feature map R24 with 3x3 deformable convolution and perform feature aggregation with the feature map R13 to obtain feature map R12. , feature maps R2 and R35 are upsampled by 3x3 deformable convolution and aggregated with feature map R12 to obtain feature map R123, and feature map R3 is upsampled by 3x3 deformable convolution and aggregated with feature map R123 to obtain feature map R1233; feature map R4 is upsampled by 3x3 deformable convolution and aggregated with feature map R1233 to obtain feature map R1234, and feature map R5 is upsampled by 3x3 deformable convolution and aggregated with feature map R1234 to obtain feature map Rout.

[0070] 2-3-3: The feature map Rout prediction module with a scale of 128*128 contains 3 branches, including the center point heatmap branch, the center point offset branch and the target size (w, h) branch. The center point heatmap branch contains C channels, each of which contains a category; the center point offset branch is used to compensate for the pixel error caused by mapping the points on the pooled low heatmap to the original image; the target size branch is used to predict the w and h deviation values ​​of the target rectangular box (w refers to the length of the prediction box, and h refers to the width of the prediction box).

[0071] 2-3-4: When training the network, the following loss function is used:

[0072] Ldet =γL k +θL size +(1-θ)L off

[0073] (γ=0.5,θ=0.2)

[0074] The overall loss function consists of three parts: L k represents the heatmap center point loss, L size represents the target center point offset loss, L off Represents the target length and width loss function. γ and θ represent the hyperparameters of the center point loss and center point position offset, respectively, which are used to control the training weights of the three parts of the loss.

[0075] The target heatmap center point loss is as follows:

[0076]

[0077] (Hyper parameters: α = 2, β = 4)

[0078] This function is improved on the basis of Focal Loss, where α and β are two hyperparameters used to balance the difficult and easy samples; Y xyc Indicates the GT value, Represents the predicted value, and N represents the number of key points.

[0079] The center point offset loss is as follows:

[0080]

[0081] Where N represents the number of key points. represents the offset value predicted by the network, p represents the coordinates of the center point of the image, and R represents the scaling factor (downsampling multiple) of the Heatmap. Represents the approximate integer coordinates of the center point after scaling. The whole process uses L1 Loss to calculate the offset loss of the positive sample block.

[0082] The target length and width loss function is as follows:

[0083]

[0084] Where N represents the number of key points, s k Indicates the actual size of the target, Represents the predicted size. The whole process uses L1 Loss to calculate the length and width loss of the positive sample.

[0085] In step 4, the coordinate information of the identified pine wilt diseased trees is converted into longitude and latitude coordinates, and the pine wilt diseased trees are surveyed and treated on the spot according to the longitude and latitude coordinates of the diseased trees. The specific acquisition steps include the following:

[0086] 4-1: Use metashape software to stitch the drone images that need to be identified;

[0087] 4-2: Crop the stitched drone image into a size of 1000*1000 pixels. After the metashape stitching, the cropped 1000*1000 image will obtain the longitude and latitude coordinate information;

[0088] 4-3: Input the 1000*1000 stitched cropped image into the trained model for detection, convert the coordinate information of the identified diseased trees in the cropped image into longitude and latitude coordinates, import the longitude and latitude coordinates of the diseased trees into the navigation software, and conduct manual field surveys and cleanups based on the navigation information of the diseased trees.

[0089] Example:

[0090] The present invention is a method for intelligently identifying pine wilt diseased trees based on sample imbalance, which uses an anchor-free frame-jumping aggregation center point target detection network to extract features and identify pine wilt diseased trees on drone images. It is carried out in the following way:

[0091] Step 1: Obtain drone images, crop part of them into 1000*1000 images, use the labelme tool to mark the diseased tree samples, and use the hybrid enhancement method to expand the data for small-scale diseased tree samples, dark diseased tree samples, and yellowish diseased tree samples, and make them into training sets, validation sets, and test sets according to a certain ratio.

[0092] Step 2: Input the data set into the constructed jump aggregation center point network for feature extraction and obtain the recognition model, such as Figure 2 As shown:

[0093] First, resize the image to 512*512 and input it into the network model. Perform a four-fold downsampling operation on the input image to obtain a 128*128 feature map R1. Then perform a 2-fold downsampling operation on the 128*128 feature map four times in sequence to obtain feature maps R2, R3, R4, and R5 of sizes 64*64, 32*32, 16*16, and 8*8. Perform a feature aggregation operation on feature map R5 by jumping from feature map R4 to feature map R3, and a feature aggregation operation by jumping from feature map R4 to feature map R2, and a feature aggregation operation by jumping from feature map R3 to feature map R1. Finally, the output is a 128*128 prediction feature map Rout that combines the feature maps of four 2-fold downsampling operations and the feature maps of three jump aggregation operations.

[0094] The prediction module contains three branches, including the center point heatmap branch, the center point offset branch, and the target size (w, h) branch. The heatmap branch contains C channels, each of which contains a category; the center point offset branch is used to compensate for the pixel error caused by mapping the points on the pooled low heatmap to the original image; the target size branch is used to predict the w and h deviation values ​​of the target rectangle.

[0095] Step 3: stitch the image to be recognized to obtain the position information of each pixel, then crop the stitched image to the same size as the training sample and input it into the trained recognition model. Specifically, the following steps are included:

[0096] First, scale the input image to 512*512 size;

[0097] Then downsample the input image and perform prediction on the downsampled image, that is, perform prediction on the heatmap of size 128*128;

[0098] Then, a 3*3 maximum pooling operation is used on the 128*128 heatmap to obtain the key points that meet the conditions in the heatmap, that is, the center points of the identified diseased trees;

[0099] Finally, the final detection results are filtered out according to the confidence threshold.

[0100] Step 4: Convert the coordinate information of the identified diseased trees into longitude and latitude coordinates, import the longitude and latitude coordinates of the diseased trees into the navigation software, and conduct manual field surveys and clean up the pine wood nematode diseased trees based on the diseased tree navigation information.

Claims

1. An intelligent identification method for pine wood nematode diseased trees based on sample imbalance, comprising the following steps: Step 1: Obtain remote sensing images, preprocess the images, mark the diseased trees in the images, and create a data set; Step 2: Input the data set into the network for training to obtain a pine wood nematode disease tree recognition model; Step 3: Input the drone image with longitude and latitude coordinate information to be identified into the recognition model to obtain the diseased tree identification result; Step 4: Convert the coordinate information of the identified diseased trees into longitude and latitude coordinates, and conduct manual field survey and treatment of pine wood nematode diseased trees according to the longitude and latitude coordinates; In step 2, the prepared data set is input into the anchor-free frame jump aggregation center point network for training to obtain a pine wood nematode disease tree recognition model, which specifically includes the following steps: 2-1: Crop the acquired image into several pictures of specified pixels, and mark the diseased trees with rectangular frames on the pictures; 2-2: Based on the labeled samples, the small-scale diseased tree samples, dark diseased tree samples, and yellow diseased tree samples in the samples are augmented using the hybrid enhancement method. The augmented samples are added to the data set and divided into training set, validation set, and test set according to a certain ratio. 2-3: Construct anchor-free jumping aggregation center point network model; 2-4: Input the prepared data samples into the anchor-free jump aggregation center point network to extract the features of pine wood nematode diseased trees. According to the changes in loss value and accuracy during training, terminate the training in advance when the loss value and accuracy no longer fluctuate, so as to avoid overfitting of the model.

2. The method according to claim 1, characterized in that In step 2-3, a non-anchor-box jumping aggregation center point network model is constructed, which specifically includes the following steps: 2-3-1: Resize the original image to the specified size and input it into the network, and downsample the input image to obtain the feature map R1; The feature map R1 is subjected to the maximum pooling downsampling operation through the convolution kernel and then passed through the residual module to obtain the feature map R2; The feature map R2 is subjected to the maximum pooling downsampling operation and the residual module again to obtain the feature map R3; Perform the maximum pooling downsampling operation and residual module on the feature map R3 to obtain the feature map R4; Perform the maximum pooling downsampling operation and residual module on the feature map R4 to obtain the feature map R5; 2-3-2: Upsample the feature map R5 through deformable convolution and perform feature jump aggregation with the feature map R3 to obtain the feature map R35; The feature map R4 is upsampled by deformable convolution and feature skip aggregation is performed on the feature map R2 to obtain R24; The feature map R3 is upsampled by deformable convolution and feature skip aggregation is performed on the feature map R1 to obtain R13; The feature map R24 is upsampled by deformable convolution and feature aggregated with the feature map R13 to obtain the feature map R12; Feature maps R2 and R35 are upsampled by deformable convolution and aggregated with feature map R12 to obtain feature map R123; The feature map R3 is upsampled by deformable convolution and aggregated with the feature map R123 to obtain R1233; The feature map R4 is upsampled by deformable convolution and aggregated with the feature map R1233 to obtain R1234; The feature map R5 is upsampled by deformable convolution and aggregated with R1234 to obtain the feature map Rout.

3. The method according to claim 2, characterized in that The feature map Rout prediction module contains three branches, including the center point heatmap branch, the center point offset branch, and the target size (w, h) branch; the center point heatmap branch contains C channels, each channel contains a category; The center point offset branch is used to compensate for the pixel error caused by mapping the points on the pooled low heatmap to the original image; the target size branch is used to predict the w and h deviation values ​​of the target rectangular box, where w refers to the length of the predicted box and h refers to the width of the predicted box.

4. The method according to claim 2 or 3, characterized in that: When training the network, the following loss function is used: L det =γL k +θL size +(1-θ)L off The overall loss function consists of three parts: L k represents the heatmap center point loss, L size represents the target center point offset loss, L off represents the target length and width loss function, where γ and θ represent the hyperparameters of the center point loss and the center point position offset, respectively, which are used to control the training weights of the three parts of the loss; The target heatmap center point loss is as follows: This function is improved on the basis of Focal Loss, where α and β are two hyperparameters used to balance the difficult and easy samples; Y xyc Indicates the GT value, Represents the predicted value, N represents the number of key points; The center point offset loss is as follows: Where N represents the number of key points, represents the offset value predicted by the network, p represents the coordinates of the center point of the image, and R represents the scaling factor of the heatmap. Represents the approximate integer coordinates of the center point after scaling. The entire process uses L1 Loss to calculate the offset loss of the positive sample block; The target length and width loss function is as follows: Where N represents the number of key points, s k Indicates the real size of the target, Represents the predicted size. The whole process uses L1 Loss to calculate the length and width loss of the positive sample.

5. The method according to claim 1, characterized in that In step 4, the coordinate information of the identified pine wilt diseased trees is converted into longitude and latitude coordinates, and the pine wilt diseased trees are surveyed and treated on the spot according to the longitude and latitude coordinates of the diseased trees, which specifically includes the following acquisition steps: 4-1: Use metashape software to stitch the drone images that need to be identified; 4-2: Crop the stitched drone image into the specified pixel size. After the metashape stitching, the cropped image will obtain the longitude and latitude coordinate information; 4-3: Input the stitched cropped image into the trained model for detection, convert the coordinate information of the identified diseased tree in the cropped image into longitude and latitude coordinates, import the longitude and latitude coordinates of the diseased tree into the navigation software, and conduct manual field survey and cleaning based on the navigation information of the diseased tree.

Citation Information

Patent Citations

  • Method for extracting information on expansion and elimination of dead wood of pine wilt disease in air photos of unmanned aerial vehicle

    CN101770577A

  • General target detection method for adaptive attention guidance mechanism

    WO2021139069A1