A method for evaluating the growth status of litchi plants based on UAV remote sensing images and feature separation convolution

Through UAV remote sensing images and feature separation and convolution technology, the problem of rapid plant status evaluation of high-resolution images in lychee planting has been solved, enabling timely monitoring and evaluation of the growth status of lychee plants, improving detection accuracy and efficiency, and ensuring The healthy development of litchi industry.

CN118279906BActive Publication Date: 2024-10-11GUANGDONG MECHANICAL & ELECTRICAL COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410687678.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-10-11
Estimated Expiration
2044-05-30

Smart Images

  • Figure CN118279906B_ABST
    Figure CN118279906B_ABST
Patent Text Reader

Abstract

The invention discloses a method for evaluating the growth state of litchi plants based on unmanned aerial vehicle remote sensing images and feature separation convolution, and belongs to the technical field of agricultural planting management. The method uses an unmanned aerial vehicle to shoot a litchi planting area and performs real-time processing to realize monitoring and evaluation of the growth state of the litchi plants, and timely discover problems such as pests and diseases. The model adopted integrates separable convolution and other technologies to realize rapid detection. The method comprises the following steps: S1, using an unmanned aerial vehicle to take aerial photos of the litchi planting area to obtain global image information of the planting area; S2, splitting the global image information of the planting area, performing image preprocessing to obtain a global sub-image of the planting area; S3, inputting the global sub-image of the planting area into an InXCSPDarknet backbone network model to obtain plant features at different scales; S4, importing the litchi target graphic feature outputs of the backbone network images of the third, fourth and fifth stages into a feature fusion module for upsampling and fusion processing to obtain the feature representation of the initial litchi plant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of agricultural planting management, and more specifically, to a method for evaluating the growth status of litchi plants based on unmanned aerial vehicle remote sensing images and feature separation convolution. Background Art

[0002] Traditional agricultural remote sensing mainly relies on satellite platforms, with resolutions mostly at the meter level, long revisit cycles, and low temporal resolution. At present, drone remote sensing images can be taken in real time, and the image resolution reaches the millimeter level, bringing new opportunities for litchi garden detection applications. However, drone remote sensing research is mainly aimed at large-scale planting range assessment or traffic scene applications. Research on artificial intelligence algorithms for litchi planting focuses on classification of sampled leaves, litchi fruit detection, and the impact of pesticide spraying. Therefore, how to effectively use high-resolution drone remote sensing images in the field of litchi planting to achieve comprehensive, high-precision, and rapid plant status evaluation can fill the research gap and provide data support for litchi planting. Summary of the invention

[0003] The purpose of the present invention is to provide a method for evaluating the growth status of litchi plants based on unmanned aerial vehicle remote sensing images and feature separation convolution. The method uses a drone to take real-time photos of the litchi planting area, and then processes the captured remote sensing images in real time to monitor and evaluate the growth status of the litchi plants and promptly discover problems such as diseases and insect pests. The model used integrates technologies such as separable convolution to achieve rapid detection, which helps to ensure the healthy development of the litchi industry.

[0004] The technical solution adopted by the present invention is as follows:

[0005] A method for evaluating the growth status of litchi plants based on UAV remote sensing images and feature separation convolution comprises the following steps:

[0006] S1. Use a drone to take aerial photos of the litchi planting area to obtain global image information of the planting area;

[0007] S2, splitting the global image information of the planting area obtained in step S1 to obtain split images, and performing image preprocessing using a histogram equalization processing technique to obtain a global sub-image of the planting area;

[0008] S3, inputting the global sub-image of the planting area obtained in step S2 into the InXCSPDarknet backbone network model, processing the target features of the sub-image at different scales, and then obtaining the target graphic features of litchi at each stage, wherein the deepest information is also optimized by pyramid pooling;

[0009] S4, importing the litchi target graphic features of the 3rd, 4th and 5th stages obtained in step S3 into a feature fusion module, performing upsampling and fusion processing to obtain an initial litchi plant target feature representation;

[0010] S5, constructing the loss function of litchi features, and finally outputting the updated litchi semantic features after iteratively updating the parameters in the InXCSPDarknet backbone network model and the feature fusion module;

[0011] S6. Perform non-maximum suppression processing on the updated litchi semantic features outputted in step S5 to obtain a final detection result.

[0012] Furthermore, the step S2 comprises the following steps:

[0013] S2.1, split the global image information of the planting area obtained in step S1 to obtain split images, extract the split images one by one, perform pixel statistics on the grayscale images of the three RGB bands of the split images respectively, and obtain the grayscale level information of each band of the split images;

[0014] S2.2, calculating the cumulative distribution function of the gray level of each band of the split image;

[0015] S2.3, based on the cumulative distribution function of the grayscale level of each band of the split image obtained in step S2.2, calculate and obtain a new grayscale mapping function for each band of the split image;

[0016] S2.4, applying the new grayscale mapping function of each band of the split image obtained in step S2.3 to the image to obtain a new grayscale image corresponding to the image;

[0017] S2.5. Scale the new grayscale image obtained in step S2.4, and repeat step S2.1 until all target information in the global image information of the planting area is extracted, and then obtain the global sub-image of the planting area.

[0018] Furthermore, in step S2.2, the calculation formula of the cumulative distribution function of the grayscale level of each band of the split image is:

[0019] ;

[0020] in, Gray value is less than or equal to i The proportion of pixels in the split image, The gray level in the image is j The number of pixels, M and N are the height and width of the image respectively;

[0021] In the step S2.3, the calculation formula of the new grayscale mapping function of each band of the split image is:

[0022] ;

[0023] in, represents the new gray level, is the cumulative distribution function of the grayscale levels of each band of the split image, is the total number of gray levels, and round is the rounding process.

[0024] Furthermore, in the step S3, the InXCSPDarknet backbone network model has 5 stages, each stage inherits the image information output by the previous stage, and the 2nd to 5th stages of the InXCSPDarknet backbone network model all use large convolution kernels for convolution processing to construct the connection between images. In the 5th stage of the InXCSPDarknet backbone network model, after completing the convolution processing of the litchi target graphic features, the multi-scale semantic information is extracted through the spatial pyramid pooling operation to obtain the 5th stage litchi target graphic feature output.

[0025] Furthermore, the step S4 comprises the following steps:

[0026] S4.1, importing the litchi target graphic features of the 3rd, 4th and 5th stages obtained in step S3 into the feature fusion module, and the feature fusion module performs a convolution operation on the received litchi target graphic features of each stage;

[0027] S4.2, dividing the litchi target graphic features after the convolution operation into two parts by channel, and performing multiple stacking processing on each part;

[0028] S4.3. Connect all litchi target graphic features that have completed the stacking process together, and output them after dimension conversion to obtain the initial litchi plant target feature representation.

[0029] Furthermore, in the step S4.3, all litchi target graphic features that have completed the stacking process are connected together, and the calculation formula output after the dimension conversion is:

[0030] ;

[0031] ;

[0032] in, and They are convolution operations, To divide the tensor into two parts by dimension, To connect the tensors, is a list of feature map tensors, is the litchi target graphic feature after the convolution operation. cis the number of channels in each part after the target graph feature of Lizhi is evenly divided into two parts, and list is the data format of saving tensor data in list form.

[0033] Furthermore, in step S5, the loss function calculation formula of litchi features is:

[0034] ;

[0035] ;

[0036] ;

[0037] in, is the loss function of the litchi feature, IOU is the difference between the predicted box and the true value box, is the diagonal distance of the minimum enclosed area that can contain both the prediction box and the true value box. is a hyperparameter, To measure the center point of the prediction box and the center point of the truth box The Euclidean distance between and are the width and height of the prediction box respectively, and are the width and height of the label box respectively, is the location information of the prediction box, is the position information of the true value box.

[0038] Furthermore, the step S6 comprises the following steps:

[0039] S6.1, predicting each updated litchi semantic feature outputted in step S5 to obtain a plurality of updated litchi semantic feature candidate frames, each updated litchi semantic feature candidate frame including a total confidence score and position information;

[0040] S6.2, arranging the updated litchi semantic feature candidate frames obtained in step S6.1 in descending order according to their confidence scores to obtain an updated litchi semantic feature candidate frame column;

[0041] S6.3, selecting the updated litchi semantic feature candidate frame with the highest confidence in the updated litchi semantic feature candidate frame column obtained in step S6.2, extracting the remaining updated litchi semantic feature candidate frames one by one in the updated litchi semantic feature candidate frame column, and calculating the overlapping area between the candidate frame and the updated litchi semantic feature candidate frame with the highest confidence to obtain an overlapping area value;

[0042] S6.4. Compare the overlapping area value obtained in step S6.3 with the set value. If the overlapping area value is less than the set value, delete the candidate box from the updated litchi semantic feature candidate box column. Repeat step S6.3 until the remaining updated litchi semantic feature candidate boxes in the updated litchi semantic feature candidate box column are extracted, and return to the updated litchi semantic feature candidate box column to obtain the final detection result.

[0043] Furthermore, in step S6.3, the formula for calculating the overlapping area between the candidate frame and the updated litchi semantic feature candidate frame with the highest confidence to obtain the overlapping area value is:

[0044] ;

[0045] ;

[0046] ;

[0047] Among them, IOU is the difference between the predicted box and the true value box. is the center point of the prediction box b and the center point of the truth box The Euclidean distance between C is the diagonal distance of the minimum enclosed area that can contain both the prediction box and the true value box. is a hyperparameter, and are the width and height of the prediction box respectively, and are the width and height of the true value box respectively, is the location information of the prediction box, is the position information of the true value box.

[0048] Compared with the prior art, the present invention has the following beneficial effects:

[0049] The invention discloses a method for evaluating the growth state of litchi plants based on unmanned aerial vehicle remote sensing images and feature separation convolution. The method comprises the following steps: performing histogram equalization processing on global image information of a planting area obtained by aerial photography of a unmanned aerial vehicle, inputting the obtained global graphics of the planting area into an InXCSPDarknet backbone network model to process target features of sub-images at different scales, thereby obtaining graphic features of targets such as litchis and branches and leaves at various stages, wherein the deepest information is further optimized by pyramid pooling, and the obtained main litchi target graphic features of the third, fourth and fifth stages are introduced into a feature fusion module, and up-sampling and fusion processing are performed to obtain initial litchi plant target feature representation; constructing a loss function of litchi features, and finally outputting updated litchi semantic features after iteratively updating the parameters in the InXCSPDarknet backbone network model and the feature fusion module; and performing non-maximum suppression processing on the output updated litchi semantic features to obtain final detection results. This evaluation method introduces the InXCSPDarknet backbone network model as the feature extraction network. The large convolutional visual model shows higher efficiency in understanding global image information and correlations, which can speed up model reasoning, reduce the number of parameters and computational load, and improve accuracy, thereby realizing the monitoring and evaluation of the growth status of litchi plants and timely discovering problems such as diseases and pests. The model adopted integrates technologies such as separable convolution to achieve rapid detection, which helps to ensure the healthy development of the litchi industry. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0051] Figure 1 is a flow chart of the steps of the method;

[0052] Figure 2 It is a structural diagram of the InXCSPDarknet backbone network model in this method;

[0053] Figure 3 It is a structural diagram of the feature fusion module in this method;

[0054] Figure 4 It is the processing flow chart of the InXCSPDarknet backbone network model and feature fusion module in this method;

[0055] Figure 5 is a schematic diagram of parameter samples of overlapping area values ​​in this method;

[0056] Figure 6 It is a schematic diagram of the final detection result in this method. DETAILED DESCRIPTION

[0057] The technical solution of the present invention is further described in detail below in conjunction with specific implementation methods, but does not constitute any limitation to the present invention.

[0058] Reference Figure 1 As shown, a method for evaluating the growth status of litchi plants based on UAV remote sensing images and feature separation convolution of the present invention comprises the following steps:

[0059] S1. Use a drone to take aerial photos of the litchi planting area to obtain global image information of the planting area.

[0060] S2, split the global image information of the planting area obtained in step S1 to obtain split images, and use histogram equalization processing technology to perform image preprocessing to obtain global sub-images of the planting area. Perform histogram equalization processing on the global image information of the planting area, and equalize the image distribution according to the histogram.

[0061] The steps include:

[0062] S2.1. Split the global image information of the planting area obtained in step S1 to obtain split images, extract the split images one by one, perform pixel statistics on the grayscale images of the three RGB bands of the split images, and obtain the grayscale level information of each band of the split images.

[0063] S2.2. Calculate the cumulative distribution function (CDF) of the grayscale level of each band of the split image. Based on the histogram, calculate the cumulative distribution function of each grayscale level, which can be obtained by accumulating the probability of each grayscale level. Then, we calculate the cumulative distribution function (CDF(i)). The calculation formula for the cumulative distribution function of the grayscale level of each band of the split image is:

[0064] ;

[0065] in, Gray value is less than or equal to i The proportion of pixels in the split image, The gray level in the image is j The number of pixels, M and N are the height and width of the split image respectively, MN This is the total number of pixels.

[0066] S2.3. Based on the cumulative distribution function of the grayscale level of each band of the split image obtained in step S2.2, calculate and obtain a new grayscale mapping function for each band of the image. This mapping function can map each grayscale level in the original image to a new grayscale level to achieve contrast enhancement. A new grayscale mapping function is obtained based on the cumulative distribution function. This mapping function usually stretches the original grayscale level to make the grayscale distribution of the pixels more uniform. The calculation formula for the new grayscale mapping function for each band of the split image is:

[0067] ;

[0068] in, represents the new gray level, is the cumulative distribution function of the grayscale levels of each band of the split image, is the total number of gray levels, and round is the rounding process.

[0069] S2.4. Apply the new grayscale mapping function of each band of the split image obtained in step S2.3 to the split image to obtain a new grayscale image corresponding to the split image.

[0070] S2.5, scaling the new grayscale image obtained in step S2.4 to a specific size. The present invention sets the size of the new grayscale image to [640,640]. Repeat step S2.1 until all target information in the global image information of the planting area is extracted, and then obtain the global sub-image of the planting area.

[0071] S3. Input the global sub-image of the planting area obtained in step S2 into the InXCSPDarknet backbone network model to process the target features of the sub-image at different scales, and then obtain the target graphic feature output of litchi at each stage, wherein the deepest information is also optimized through pyramid pooling.

[0072] Furthermore, the InXCSPDarknet backbone network model has 5 stages, each of which inherits the image information output by the previous stage. The 2nd to 5th stages of the InXCSPDarknet backbone network model use large convolution kernels to perform convolution processing to build connections between images. In the 5th stage of the InXCSPDarknet backbone network model, after completing the convolution processing of the litchi target graphic features, the spatial pyramid pooling operation is used to extract multi-scale semantic information to obtain the 5th stage litchi target graphic feature output. The connection between the litchi target graphic features of each stage is:

[0073] 1) Change in the size of the input image tensor: Assume that the size of the input image tensor is (B, C, H, W), where B represents the batch size, C represents the number of channels, H represents the height of the image, and W represents the width of the image.

[0074] 2) The basic components of the InXCSPDarknet backbone network model are as follows Figure 2 As shown:

[0075] First, the input image tensor is processed by convolution. The convolution layer of this part is composed of convolution and activation function. The SiLU activation function is used here, as follows:

[0076] ;

[0077] Next, the image tensor is processed through three standard modules, which in addition to the convolution processing used previously, also add Figure 3 The feature fusion module shown in Figure 2 assumes that the input is X .enter X They are divided into four groups along the channel dimension:

[0078] ;

[0079] And Using depth-wise separable convolution, feature extraction is performed while saving parameters:

[0080] ;

[0081] Afterwards, the obtained feature tensors are concatenated and passed to the next stage for processing:

[0082] ;

[0083] By drawing on the characteristics of InceptionNext, the channel-by-channel convolution of the large convolution kernel is decomposed into four parallel branches along the channel dimension (such as Figure 3 As shown in the figure: small rectangular convolution, two orthogonal strip convolutions and an identity map. Using the CSP network structure, the InXtCSP structure is used to enhance CSPDarkNet to increase the calculation speed, reduce the number of parameters and improve the accuracy. The operation process of the CSP (Cross Stage Partial) network can improve the efficiency of feature reuse.

[0084] The core idea of ​​the CSP network is to split the input feature tensor into two parts, then perform a convolution operation on one part, keep the other part unchanged, and finally recombine the two parts. In this process, the CSP network cross-connects and partially reuses information between different stages of the network through cross-stage connections. Assume that the input feature tensor X dimension is , that is, the number of channels is C, the height is H, and the width is W. The operation process of the CSP network can be roughly divided into the following steps:

[0085] (1) Split: The input feature tensor X is equally split into two parts X1 and X2 according to the number of channels C. Assume that X1 contains the first half of the channels and X2 contains the second half of the channels.

[0086] (2) Feature extraction: Perform a convolution operation on one of the parts (such as X1) to obtain a new feature tensor F(X1). This step is to extract partial feature information.

[0087] (3) Channel reorganization: keep the other part (e.g. (X2)) unchanged, and then concatenate the convolutional feature tensor F(X1) with X2 at the channel level to form a new feature tensor, denoted as Y. This step is to integrate the original features and the features after convolution.

[0088] (4) Output, finally we get the feature tensor Y, whose dimension is the same as the input feature tensor X, that is, .

[0089] 3) Finally, the feature tensor at the bottom layer is pooled using spatial pyramid pooling to extract multi-scale semantic information.

[0090] S4: Due to the different mounting heights of litchi fruits, the size of the image changes. In order to obtain multi-scale feature information, the litchi target graphic features of the third, fourth and fifth stages obtained in step S3 are imported into the feature fusion module for upsampling and fusion processing to obtain the initial litchi plant target feature representation. The following steps are included:

[0091] S4.1. Import the litchi target graphic features of the 3rd, 4th and 5th stages obtained in step S3 into the feature fusion module, and the feature fusion module performs a convolution operation on the received litchi target graphic features of each stage.

[0092] Here, new components are used to complete the feature upsampling and fusion process. Referring to the CSPNet structure, a residual structure neural network is constructed. Assume that the input parameters are c1 (number of input channels), c2 (number of output channels), n (number of times the residual structure is repeatedly stacked), shortcut (whether to use residual connection), g (number of groups of group convolution), and e (scaling factor of the number of channels). It mainly consists of two parts: initialization part and forward propagation part.

[0093] Perform a convolution operation on the input x.

[0094] S4.2, the litchi target graphic features after the convolution operation are evenly divided into two parts according to the channels, the number of channels in each part is c, and each part is stacked multiple times. Among them, the stacking process is performed using the Bottleneck module.

[0095] S4.3. Connect all litchi target graphic features that have completed the stacking process together, and output them after dimension conversion to obtain the initial litchi plant target feature representation.

[0096] Furthermore, in step S4.3, all litchi target graphic features that have completed the stacking process are connected together and transformed in dimension through a 1x1 convolution layer cv2, and the number of output channels is c2. The calculation formula for the output after the dimension transformation is:

[0097] ;

[0098] ;

[0099] in, and They are convolution operations, To divide the tensor into two parts by dimension, To connect the tensors, is a list of feature map tensors, is the litchi target graphic feature after the convolution operation. c is the number of channels in each part after the target graph feature of Lizhi is evenly divided into two parts, and list is the data format of saving tensor data in list form.

[0100] S5. Construct the loss function of litchi features, iteratively update the parameters in the InXCSPDarknet backbone network model and the feature fusion module, and finally output the updated litchi semantic features.

[0101] Furthermore, in step S5, the loss function calculation formula of litchi features is:

[0102] ;

[0103] in, is the loss function of the litchi feature, IOU is the difference between the predicted box and the true value box, is the diagonal distance of the minimum enclosed area that can contain both the prediction box and the true value box. is a hyperparameter, To measure the center point of the prediction box and the center point of the truth box The Euclidean distance between and are the width and height of the prediction box respectively, and are the width and height of the true value box respectively, is the location information of the prediction box, is the position information of the true value box.

[0104] In order to obtain a robust representation of litchi features, the model needs to be trained and optimized, mainly relying on the construction of a loss function that conforms to the characteristics of litchi. By iteratively updating the parameters in the InXCSPDarknet backbone network model and the feature fusion module, the semantic features of litchi are condensed, and the loss function of the model is obtained as follows:

[0105] ;

[0106] in, Represents the loss function involved in training, which mainly consists of the following parts: Category loss ( , mainly calculated using the cross-entropy function (Cross-Entropy); position loss ( , mainly calculated by the intersection over union (IOU) type function); confidence loss ( , mainly calculated by the binary cross entropy loss function (BCE). The calculation formula of the loss function involved in training is as follows:

[0107] ;

[0108] in, It is mainly implemented by the intersection and union function, taking the Complete Intersection over Union (CIOU) function as an example:

[0109] ;

[0110] Among them, IOU represents the difference between the predicted box and the true value box, which is specifically expressed as follows:

[0111] .

[0112] is the center point b of the prediction box and the center point of the true value box The Euclidean distance between them, C represents the diagonal distance of the smallest enclosed area that can contain both the prediction box and the true value box. is a hyperparameter, defined as follows:

[0113] ;

[0114] The representation of each parameter in the above two formulas is as follows Figure 5 shown.

[0115] Through the CIOU function, the model can consider more overlapping areas during training. The v in the above formula can measure the consistency of the aspect ratio of the detection box, and its definition is as follows:

[0116] ;

[0117] Among them, w and h represent the width and height of the prediction box, and are the width and height of the true value box, A is the location information of the predicted box, and B is the location information of the true value box. The loss function can be obtained from the above two formulas, and its specific description is as follows.

[0118] ;

[0119] The CIOU loss function can take into account the rough shape information of the target, but cannot be adaptively adjusted for specific targets, and the aspect ratio information is not accurately represented in the long-time series multi-sea state SAR remote sensing information. To this end, the present invention integrates the priori characteristics of the litchi target graphics in each stage obtained in step S3 into the loss function to achieve hard constraints on the target position information, and its mathematical description is as follows.

[0120] ;

[0121] Through the above loss function, the weights and biases of the entire network are optimized as a whole.

[0122] S6. Perform non-maximum suppression processing on the updated litchi semantic features outputted in step S5 to obtain a final detection result.

[0123] Furthermore, the step S6 comprises the following steps:

[0124] S6.1, predict each updated litchi semantic feature output in step S5 to obtain multiple updated litchi semantic feature candidate frames, such as B = {b 1 , b 2 , ..., b n } Each updated litchi semantic feature candidate box includes a total confidence score and location information s, (x, y, w, h) The NMS algorithm acts on the candidate boxes to retain the most accurate detection results.

[0125] S6.2, arranging the updated litchi semantic feature candidate frames obtained in step S6.1 in descending order according to their confidence scores to obtain an updated litchi semantic feature candidate frame column, ensuring that the candidate frame with the highest confidence is given priority during the NMS algorithm.

[0126] S6.3. Select the updated litchi semantic feature candidate box with the highest confidence from the updated litchi semantic feature candidate box column obtained in step S6.2, extract the remaining updated litchi semantic feature candidate boxes one by one from the updated litchi semantic feature candidate box column, and calculate the overlapping area (CIOU) between the candidate box and the updated litchi semantic feature candidate box with the highest confidence to obtain the overlapping area value.

[0127] Furthermore, in step S6.3, the formula for calculating the overlapping area between the candidate frame and the updated litchi semantic feature candidate frame with the highest confidence to obtain the overlapping area value is:

[0128] ;

[0129] ;

[0130] ;

[0131] Among them, IOU is the difference between the predicted box and the true value box. is the center point of the prediction box b and the center point of the truth box The Euclidean distance between C is the diagonal distance of the minimum enclosed area that can contain both the prediction box and the true value box. is a hyperparameter.

[0132] S6.4. Compare the overlapping area value obtained in step S6.3 with the set value. If the overlapping area value is less than the set value, delete the candidate box from the updated litchi semantic feature candidate box column. Repeat step S6.3 until the remaining updated litchi semantic feature candidate boxes in the updated litchi semantic feature candidate box column are extracted, and return to the updated litchi semantic feature candidate box column to obtain the final detection result.

[0133] The set value is a preset threshold, such as = 0.5, if the overlap between a candidate box of an updated litchi semantic feature and the box with the highest confidence score is higher than this threshold ( ), they need to be removed because they are likely to represent the same object. Repeat the above steps until all updated litchi semantic feature candidate boxes have been processed. In this way, the candidate boxes left in the end are the output results of NMS, such as Figure 6 shown.

[0134] The present invention discloses a method for evaluating the growth status of litchi plants based on unmanned aerial vehicle remote sensing images and feature separation convolution. By introducing the InXCSPDarknet backbone network model as a feature extraction network, a large convolutional visual model shows higher efficiency in understanding global image information and correlation, which can accelerate the model reasoning speed, reduce the number of parameters and computing load, and improve accuracy, thereby realizing the monitoring and evaluation of the growth status of litchi plants and timely discovering problems such as diseases and insect pests. The adopted model integrates technologies such as separable convolution to achieve rapid detection, which is helpful to ensure the healthy development of the litchi industry.

[0135] The above description is only a preferred embodiment of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for evaluating the growth status of litchi plants based on UAV remote sensing images and feature separation convolution, characterized in that: The following steps are involved: S1. Use a drone to take aerial photos of the litchi planting area to obtain global image information of the planting area; S2, splitting the global image information of the planting area obtained in step S1 to obtain split images, and performing image preprocessing using a histogram equalization processing technique to obtain a global sub-image of the planting area; S3, inputting the global sub-image of the planting area obtained in step S2 into the InXCSPDarknet backbone network model, processing the target features of the sub-image at different scales, and then obtaining the target graphic features of litchi at each stage, wherein the deepest information is also optimized by pyramid pooling; S4, importing the litchi target graphic features of the 3rd, 4th and 5th stages obtained in step S3 into a feature fusion module, performing upsampling and fusion processing to obtain an initial litchi plant target feature representation; S5, constructing the loss function of litchi features, and finally outputting the updated litchi semantic features after iteratively updating the parameters in the InXCSPDarknet backbone network model and the feature fusion module; S6, performing non-maximum suppression processing on the updated litchi semantic features outputted in step S5 to obtain a final detection result; The step S4 comprises the following steps: S4.1, importing the litchi target graphic features of the 3rd, 4th and 5th stages obtained in step S3 into the feature fusion module, and the feature fusion module performs a convolution operation on the received litchi target graphic features of each stage; S4.2, dividing the litchi target graphic features after the convolution operation into two parts by channel, and performing multiple stacking processing on each part; S4.3, connecting all litchi target graphic features that have completed the stacking process together, and outputting them through dimension conversion to obtain the initial litchi plant target feature representation; In the step S4.3, all litchi target graphic features that have completed the stacking process are connected together, and the calculation formula output after dimension conversion is: ; ; in, and They are convolution operations, To divide the tensor into two parts by dimension, To connect the tensors, is a list of feature map tensors, is the litchi target graphic feature after the convolution operation. c is the number of channels in each part after the target graphic feature of Litchi is evenly divided into two parts, and list() is a list processing function.

2. The method for evaluating the growth status of litchi plants based on unmanned aerial vehicle remote sensing images and feature separation convolution according to claim 1, characterized in that: The step S2 comprises the following steps: S2.1, split the global image information of the planting area obtained in step S1 to obtain split images, extract the split images one by one, perform pixel statistics on the grayscale images of the three RGB bands of the split images respectively, and obtain the grayscale level information of each band of the split images; S2.2, calculating the cumulative distribution function of the gray level of each band of the split image; S2.3, based on the cumulative distribution function of the grayscale level of each band of the split image obtained in step S2.2, calculate and obtain a new grayscale mapping function for each band of the image; S2.4, applying the new grayscale mapping function of each band of the split image obtained in step S2.3 to the split image to obtain a new grayscale image corresponding to the split image; S2.

5. Scale the new grayscale image obtained in step S2.4, and repeat step S2.1 until all target information in the global image information of the planting area is extracted, and then obtain the global sub-image of the planting area.

3. The method for evaluating the growth status of litchi plants based on unmanned aerial vehicle remote sensing images and feature separation convolution according to claim 2, characterized in that: In step S2.2, the calculation formula of the cumulative distribution function of the gray level of each band of the split image is: ; in, Gray value is less than or equal to i The proportion of pixels in the split image, The gray level in the image is j The number of pixels, M and N are the height and width of the split image respectively; In the step S2.3, the calculation formula of the new grayscale mapping function of each band of the split image is: ; in, represents the new gray level, is the cumulative distribution function of the grayscale levels of each band of the split image, is the total number of gray levels, and round() is the rounding function.

4. The method for evaluating the growth status of litchi plants based on unmanned aerial vehicle remote sensing images and feature separation convolution according to claim 1, characterized in that: In the step S3, the InXCSPDarknet backbone network model has 5 stages, each stage inherits the image information output by the previous stage, and the 2nd to 5th stages of the InXCSPDarknet backbone network model all use large convolution kernels for convolution processing to construct the connection between images. In the 5th stage of the InXCSPDarknet backbone network model, after completing the convolution processing of the litchi target graphic features, the multi-scale semantic information is extracted through the spatial pyramid pooling operation to obtain the 5th stage litchi target graphic feature output.

5. The method for evaluating the growth status of litchi plants based on unmanned aerial vehicle remote sensing images and feature separation convolution according to claim 1, characterized in that: In step S5, the loss function calculation formula of litchi features is: ; ; ; in, is the loss function of the litchi feature, IOU is the difference between the predicted box and the true value box, is the diagonal distance of the minimum enclosed area that can contain both the predicted box and the true box. is a hyperparameter, To measure the center point of the prediction box and the center point of the truth box The Euclidean distance between and are the width and height of the prediction box respectively, and are the width and height of the true value box respectively, is the location information of the prediction box, is the position information of the true value box.

6. The method for evaluating the growth status of litchi plants based on unmanned aerial vehicle remote sensing images and feature separation convolution according to claim 1, characterized in that: The step S6 comprises the following steps: S6.1, predicting each updated litchi semantic feature outputted in step S5 to obtain a plurality of updated litchi semantic feature candidate frames, each updated litchi semantic feature candidate frame including a total confidence score and position information; S6.2, arranging the updated litchi semantic feature candidate frames obtained in step S6.1 in descending order according to their confidence scores to obtain an updated litchi semantic feature candidate frame column; S6.3, selecting the updated litchi semantic feature candidate frame with the highest confidence in the updated litchi semantic feature candidate frame column obtained in step S6.2, extracting the remaining updated litchi semantic feature candidate frames one by one in the updated litchi semantic feature candidate frame column, and calculating the overlapping area between the candidate frame and the updated litchi semantic feature candidate frame with the highest confidence to obtain the overlapping area value; S6.

4. Compare the overlapping area value obtained in step S6.3 with the set value. If the overlapping area value is less than the set value, delete the candidate box from the updated litchi semantic feature candidate box column. Repeat step S6.3 until the remaining updated litchi semantic feature candidate boxes in the updated litchi semantic feature candidate box column are extracted, and return to the updated litchi semantic feature candidate box column to obtain the final detection result.

7. The method for evaluating the growth status of litchi plants based on unmanned aerial vehicle remote sensing images and feature separation convolution according to claim 6, characterized in that: In step S6.3, the formula for calculating the overlapping area between the candidate frame and the updated litchi semantic feature candidate frame with the highest confidence to obtain the overlapping area value is: ; ; ; Among them, IOU is the difference between the predicted box and the true value box. is the center point of the prediction box b and the center point of the truth box The Euclidean distance between C is the diagonal distance of the minimum enclosed area that can contain both the prediction box and the true value box. is a hyperparameter, and are the width and height of the prediction box respectively, and are the width and height of the true value box respectively, is the location information of the prediction box, is the position information of the true value box.