Method and system for detecting rice lodging based on unmanned aerial vehicle image recognition
UAVs equipped with high-resolution cameras and convolutional neural network models analyze rice image characteristics, solving the problem of low accuracy and efficiency in rice lodging detection, achieving rapid and accurate monitoring of large-area rice fields, and improving agricultural production efficiency.
Patent Information
- Application Number
- CN202410890446.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Existing rice lodging detection technology has limited monitoring range and insufficient detection data accuracy, resulting in high detection costs and low efficiency. It is difficult to quickly and accurately detect rice lodging in large planting areas, affecting agricultural production efficiency and profitability.
UAVs equipped with high-resolution cameras are used for real-time aerial photography, and the convolutional neural network model is used to extract color and morphological features in rice images, analyze the growth status, divide monitoring areas and generate detection reports, and adjust agricultural machinery operation routes and field management time. Improve detection efficiency.
It achieves high-precision and rapid detection of rice lodging, reduces detection costs, ensures comprehensive monitoring of large planting areas, and improves the management efficiency and production effects of agricultural production.
Smart Images

Figure CN118736450A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of agricultural technology, and in particular to a method and system for detecting rice lodging based on unmanned aerial vehicle image recognition. Background Art
[0002] Detecting rice lodging based on drone image recognition means using drones with high-resolution cameras to take aerial photos of rice fields, obtain detailed image data, and then automatically analyze these images using image recognition algorithms to identify and evaluate the area and degree of rice lodging, thereby providing accurate and timely data support for agricultural production and improving management efficiency and production results. However, the existing rice lodging detection technology has a limited monitoring range and insufficient detection data accuracy, which makes the rice detection cost high and the detection efficiency low, making it difficult to quickly and accurately detect rice lodging in large planting areas, thus affecting the efficiency and benefits of agricultural production. Summary of the invention
[0003] The purpose of the present invention is to provide a method and system for detecting rice lodging based on drone image recognition to solve the shortcomings of the background technology.
[0004] In order to achieve the above object, the present invention provides the following technical solution: a method for detecting rice lodging based on drone image recognition, comprising the following steps:
[0005] S1: A high-resolution camera is installed on the drone to capture the number of rice fields in the area in real time and divide it into several monitoring areas. The image data of each monitoring area at different angles and time periods is obtained in real time according to the preset drone aerial photography path to ensure comprehensive monitoring of the rice fields.
[0006] S2: After preprocessing the image data of the rice field captured by the high-resolution camera of the drone, the color features and morphological features related to rice in the image data are extracted through the convolutional neural network model;
[0007] S3: Analyze the parameter changes of the color characteristics and morphological characteristics of rice in the image data, and evaluate the growth status of rice in each monitoring area based on the analysis results;
[0008] S4: according to the evaluation results of the rice growth status in each monitoring area, the growth status of the rice is divided into a normal growth state and a lodging state, and the rice field monitoring area corresponding to the lodging state is divided into a lodging monitoring area;
[0009] S5: Summarize and count the lodging areas, and generate corresponding inspection reports. According to the inspection reports, adjust the agricultural machinery operation routes and field management time to improve the inspection efficiency of rice.
[0010] In a preferred embodiment, the color features and morphological features related to rice in the image data are extracted by a convolutional neural network model, specifically:
[0011] Images of rice fields captured by drones’ high-resolution cameras;
[0012] Use Gaussian filtering to remove noise and normalize the image;
[0013] Use color threshold segmentation to extract rice areas;
[0014] Multi-layer convolution operation extracts color and morphological features. Each convolution layer scans the image through the convolution kernel to extract local features. The specific calculation expression is: Where fL(k)(x,y) is the feature map output by the kth convolution kernel of the Lth layer, W ij (k) is the convolution kernel weight, f(L-1) is the input feature map of the previous layer, b (k) is the bias term, σ is the activation function;
[0015] Use max pooling to reduce the dimension of feature maps;
[0016] Expand the pooled feature map and extract global features through the fully connected layer;
[0017] The Softmax function is used to output the probability of the classification results and predict the color and morphological feature parameters related to rice in the image.
[0018] In a preferred embodiment, the parameter changes of the color characteristics and morphological characteristics of rice in the image data are analyzed, and the saturation deviation index of the rice color is generated according to the changes of the color characteristics of the rice in the image data. The method for obtaining the saturation deviation index is:
[0019] Convert the color space of the original image from RGB to HSV to extract the saturation channel, count the number of pixels of each saturation value in the saturation channel S, obtain the histogram, calculate the cumulative distribution function of the saturation channel histogram, and normalize the calculated cumulative distribution function. The specific calculation expression is: In the formula, S eq (x, y) is the saturation value after equalization, M and N are the number of rows and columns of the image, MN is the total number of pixels, and L is the maximum level of the saturation value; CDF(S(x, y)) represents the sum of the number of pixels with a saturation value of S(x, y);
[0020] The calculated equalized saturation value is analyzed to calculate the saturation deviation index. The specific calculation expression is: In the formula, SD eq is the saturation deviation index, MeanS eq (x, y) is the mean of the saturation values.
[0021] In a preferred embodiment, the parameter changes of the color characteristics and morphological characteristics of rice in the image data are analyzed, and the abnormal morphological increase ratio of rice is generated according to the parameter changes of the morphological characteristics of rice in the image data. The method for obtaining the abnormal morphological increase ratio is:
[0022] Acquire the morphological feature data of t time points in real time to form a time series {X t}, the morphological feature values are normalized, and the autoregressive integrated moving average model is used to analyze the changing trend of the morphological features, X t =c+(φ1X t-1 +Φ2X t-2 +...+Φ p X t-p +θ1ec t-1 +θ2ect-2+...+θpect-p, where Xt is the morphological characteristic value at the tth moment, c is the constant term, Φ is the autoregressive coefficient, ec is the white noise term, and θ is the moving average coefficient;
[0023] The autoregressive integrated moving average model is used to predict the morphological characteristic values for a period of time in the future, and the corresponding data set {EX t+1 、EX t+2 、...、EX t+n}; Compare the rice morphological feature data acquired in real time with the predicted value of the rice morphological feature data, calculate the residual, compare the residual of the rice morphological feature data with a preset residual reference threshold, take the time point when the residual of the rice morphological feature data is greater than or equal to the residual reference threshold as the abnormal time point, calculate the ratio between the number of abnormal forms and the total number of forms at each abnormal time point, that is, the abnormal form ratio at the abnormal time point, calculate the rate of change of the abnormal form ratio at two adjacent moments, that is, calculate the abnormal form increasing ratio.
[0024] In a preferred embodiment, the saturation deviation index and the abnormal morphology increasing ratio are normalized, and the evaluation coefficient of the rice growth status in each monitoring area is calculated based on the normalized saturation deviation index and the abnormal morphology increasing ratio.
[0025] In a preferred embodiment, the evaluation coefficient of the rice growth status obtained in each monitoring area is compared with the standard threshold; if the evaluation coefficient of the rice growth status in the monitoring area is greater than or equal to the standard threshold, the quality of the rice growth status in the monitoring area is good, the growth status of the rice is classified as a normal growth state, and the corresponding monitoring area is classified as a normal monitoring area; if the evaluation coefficient of the rice growth status in the monitoring area is less than the standard threshold, the quality of the rice growth status in the monitoring area is poor, the growth status of the rice is classified as a lodging state, and the corresponding monitoring area is classified as a lodging monitoring area.
[0026] In a preferred embodiment, in S5, the lodging areas are summarized and counted, and the total number of each lodging monitoring area is marked as D e ; Generate a detection report to record the location Li and lodging situation Ci of each lodging monitoring area, report = {Li, Ci | D e , e=1, 2, ..., n}; n is a positive integer greater than 0, the operation route of the agricultural machinery is adjusted according to the detection report, and the lodging monitoring area is processed first, and the new route = optimization function (original route, report), wherein the optimization function adjusts the original operation route according to the location information of the lodging monitoring area;
[0027] Increase attention and maintenance on the lodging monitoring area, adjust the field management time, and the adjusted management time formula is: Tnew=Told+ΔT×De; among them, Tnew is the new field management time, Told is the original field management time, ΔT is the increased management time factor, and De is the indicator variable of whether it is a lodging monitoring area.
[0028] The present invention also provides a system for detecting rice lodging based on drone image recognition, including an image data acquisition module, a feature extraction module, a growth status assessment module, a monitoring area division module and a management module;
[0029] Image data acquisition module: A high-resolution camera is installed on the drone to capture the number of rice fields in the area in real time and divide it into several monitoring areas. The image data of each monitoring area at different angles and time periods is acquired in real time according to the preset drone aerial photography path to ensure comprehensive monitoring of the rice fields.
[0030] Feature extraction module: After preprocessing the image data of the rice field captured by the drone's high-resolution camera, the convolutional neural network model is used to extract the color features and morphological features related to rice in the image data;
[0031] Growth status assessment module: Analyze the parameter changes of the color characteristics and morphological characteristics of rice in the image data, and evaluate the growth status of rice in each monitoring area based on the analysis results;
[0032] Monitoring area division module: According to the evaluation results of the rice growth status in each monitoring area, the rice growth status is divided into normal growth status and lodging status, and the rice field monitoring area corresponding to the lodging status is divided into the lodging monitoring area;
[0033] Management module: Summarize and count the lodging areas, generate corresponding detection reports, and adjust the agricultural machinery operation routes and field management time according to the detection reports to improve the efficiency of rice detection.
[0034] In the above technical solution, the technical effects and advantages provided by the present invention are:
[0035] 1. The present invention uses a drone equipped with a high-resolution camera to take real-time aerial photos, obtain detailed image data of rice fields, and use a convolutional neural network model to extract the color and morphological characteristics of rice, analyze their changes, and evaluate the rice growth status in each monitoring area. According to the evaluation results, the rice growth status is divided into normal growth status and lodging status, and the lodging areas are summarized and counted to generate a detailed detection report.
[0036] 2. The present invention adjusts the operation route of agricultural machinery through the detection report, so that it gives priority to the lodging monitoring area, optimizes the field management time, and increases the attention and maintenance of the lodging area. It improves the accuracy and efficiency of rice lodging detection, reduces the detection cost, ensures the comprehensive and accurate monitoring of rice in large planting areas, and improves the management efficiency and production effect of agricultural production. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0038] Figure 1 The figure is a flow chart of the method of the present invention.
[0039] Figure 2 It is a system module diagram of the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] Example 1
[0042] See also Figure 1 As shown, the method for detecting rice lodging based on drone image recognition described in this embodiment includes the following steps:
[0043] S1: A high-resolution camera is installed on the drone to capture the number of rice fields in the area in real time and divide it into several monitoring areas. The image data of each monitoring area at different angles and time periods is obtained in real time according to the preset drone aerial photography path to ensure comprehensive monitoring of the rice fields.
[0044] S2: After preprocessing the image data of the rice field captured by the high-resolution camera of the drone, the color features and morphological features related to rice in the image data are extracted through the convolutional neural network model;
[0045] S3: Analyze the parameter changes of the color characteristics and morphological characteristics of rice in the image data, and evaluate the growth status of rice in each monitoring area based on the analysis results;
[0046] S4: according to the evaluation results of the rice growth status in each monitoring area, the growth status of the rice is divided into a normal growth state and a lodging state, and the rice field monitoring area corresponding to the lodging state is divided into a lodging monitoring area;
[0047] S5: Summarize and count the lodging areas, and generate corresponding inspection reports. According to the inspection reports, adjust the agricultural machinery operation routes and field management time to improve the inspection efficiency of rice.
[0048] In S1, a high-resolution camera is set on the drone to capture the number of rice fields in the area in real time and divide it into several monitoring areas. The image data of each monitoring area at different angles and time periods is obtained in real time according to the preset drone aerial photography path to ensure comprehensive monitoring of the rice fields. Specifically:
[0049] The drones are equipped with high-resolution cameras that can capture detailed features of the rice fields, such as the height, color, and shape of the plants. These detailed features provide an accurate data basis for subsequent image recognition and lodging detection.
[0050] In order to achieve efficient monitoring, the drone will divide the rice fields into several monitoring areas. Ensure that each area can be fully and carefully monitored to avoid missing any details. Each monitoring area can be divided according to the actual situation of the field to ensure comprehensive coverage and no duplication.
[0051] The drone’s aerial photography path is preset in advance to ensure that the drone flies along the optimal path to cover all monitoring areas. The preset aerial photography path takes into account the optimal flight altitude, speed and angle to obtain high-quality image data.
[0052] The drone will capture image data of each monitoring area in real time as it flies along the preset aerial photography path. The high-resolution camera can capture images of each area from different angles and time periods, ensuring that image information of the rice fields can be obtained under different lighting conditions and growth stages.
[0053] By acquiring image data from different angles and time periods in real time, drones can conduct comprehensive monitoring of rice fields, not only capturing the growth status of rice, but also promptly discovering problems such as lodging, pests and diseases, etc.
[0054] The acquired image data will be transmitted to the ground control center or cloud server for processing and analysis. Through the image recognition algorithm, the growth and lodging of rice can be automatically identified and evaluated. The analysis results can generate detailed monitoring reports and provide them to farmers and agricultural managers to help them make accurate agricultural management decisions.
[0055] In the present invention, a high-resolution camera is installed on the drone, and image data of the monitoring area at different angles and time periods are captured in real time according to the preset aerial photography path, thereby achieving comprehensive monitoring of the rice fields. The detailed information of the rice fields can be obtained efficiently and accurately, providing strong data support for agricultural production and improving management efficiency and production results.
[0056] S2: After preprocessing the image data of the rice field captured by the high-resolution camera of the drone, the color features and morphological features related to rice in the image data are extracted through the convolutional neural network model.
[0057] The image data of rice fields captured by the high-resolution camera of the UAV are preprocessed and Gaussian filtering or median filtering is used to remove noise in the image.
[0058] Gaussian filtering: Smooth the image through Gaussian blur to reduce noise interference. The principle is to use a Gaussian kernel to convolve with the image to suppress high-frequency noise.
[0059] Median filtering: Using the median of neighboring pixels to replace the current pixel value can effectively remove salt and pepper noise.
[0060] The image pixel values are normalized to the range [0, 1] to eliminate the influence of brightness differences between different images.
[0061] Use color threshold segmentation or region growing algorithm to segment the image and extract the rice area of interest.
[0062] Color threshold segmentation: Set the threshold based on color features to separate the target area from the background.
[0063] Region growing: Starting from a seed point, adjacent pixels are gradually grouped into the same segmentation region based on similarity criteria.
[0064] The convolutional neural network model is used to extract the color features and morphological features related to rice in the image data, specifically:
[0065] Multiple convolutional layers are used to extract low-level features (such as edges, textures, etc.) and high-level features (such as color distribution, morphological features, etc.) of the image.
[0066] Convolution operation: Each convolution layer scans the image through the convolution kernel to extract local features. The specific calculation expression is: Where fL(k)(x,y) is the feature map output by the kth convolution kernel of the Lth layer, W ij (k) is the convolution kernel weight, f(L-1) is the input feature map of the previous layer, b (k) is the bias term, σ is the activation function;
[0067] Use the pooling layer to reduce the dimension of the feature map, reduce the computational complexity, and retain important features;
[0068] Take the maximum value in the pooling window as the output of the window to maintain the significance of the feature;
[0069] Expand the pooled feature map into a one-dimensional vector and extract global features through a fully connected layer;
[0070] Connect each node to all nodes in the previous layer to comprehensively extract features;
[0071] The output layer is used to classify the feature vector (such as identifying different degrees of lodging) or regress (such as predicting the lodging area).
[0072] The Softmax function is used to output the probability of the classification results and predict the color and morphological feature parameters related to rice in the image data.
[0073] In the present invention, the color features and morphological features of the rice field images captured by the high-resolution camera of the drone can be effectively extracted through the preprocessing steps and the convolutional neural network model. These features provide a reliable data basis for the subsequent rice lodging detection and analysis.
[0074] S3: Analyze the parameter changes of the color characteristics and morphological characteristics of rice in the image data, and evaluate the rice growth status in each monitoring area based on the analysis results.
[0075] The parameter changes of the color characteristics and morphological characteristics of rice in the image data are analyzed, and the saturation deviation index of the rice color is generated according to the changes of the color characteristics of rice in the image data. The method for obtaining the saturation deviation index is:
[0076] Convert the color space of the original image from RGB to HSV to extract the saturation channel, count the number of pixels of each saturation value in the saturation channel S, obtain the histogram, calculate the cumulative distribution function of the saturation channel histogram, and normalize the calculated cumulative distribution function. The specific calculation expression is: In the formula, S eq (x, y) is the saturation value after equalization, M and N are the number of rows and columns of the image, MN is the total number of pixels, and L is the maximum level of saturation value (usually 256); CDF(S(x, y)) represents the sum of the number of pixels with saturation value S(x, y);
[0077] The calculated equalized saturation value is analyzed to calculate the saturation deviation index. The specific calculation expression is: In the formula, SD eq is the saturation deviation index, MeanS eq (x, y) is the mean of the saturation values.
[0078] The larger the saturation deviation index, the greater the change in the color saturation of rice in the monitored area. This may mean that the rice growth state is uneven, and there are plants with different health conditions. Rice in some areas may be well-nourished and healthy, while rice in other areas may be affected by pests and diseases, water shortages or other environmental factors, resulting in reduced saturation or abnormal colors.
[0079] A larger saturation deviation index may also indicate that there is uneven nutrition or fertilization in some areas of the rice field. In this case, the rice color in some areas is higher in saturation, showing dark green, while other areas may be lower in saturation, showing light green or yellow, indicating differences in plant growth.
[0080] In summary, the larger the saturation deviation index, the more uneven the rice growth status in the monitored area, and there may be multiple growth problems. This situation requires further investigation and analysis to determine the specific cause and take corresponding agricultural management measures to improve the overall growth condition of the rice field.
[0081] The parameter changes of the color characteristics and morphological characteristics of rice in the image data are analyzed, and the abnormal morphological increase ratio of rice is generated according to the parameter changes of the morphological characteristics of rice in the image data. The abnormal morphological increase ratio can be used to judge the morphological changes of rice in the monitoring area, especially the growth trend of abnormal morphology. By analyzing the morphological characteristics of rice in the image data and calculating the trend of these characteristics changing over time, the abnormal morphological increase ratio is generated.
[0082] Then the method for obtaining the increasing ratio of abnormal morphology is:
[0083] Acquire the morphological feature data of t time points in real time to form a time series {X t}, the morphological feature values are normalized, and the autoregressive integrated moving average model is used to analyze the changing trend of the morphological features, X t =c+(φ1X t-1 +φ2X t-2 +...+φ p X t-p +θ1ec t-1 +θ2ect-2+...+θpect-p, where Xt is the morphological characteristic value at the tth moment, c is the constant term, φ is the autoregressive coefficient, ec is the white noise term, and θ is the moving average coefficient;
[0084] The autoregressive integrated moving average model is used to predict the morphological characteristic values for a period of time in the future, and the corresponding data set {EX t+1 、EX t+2 、...、EX t+n}; Compare the rice morphological feature data acquired in real time with the predicted value of the rice morphological feature data, calculate the residual, compare the residual of the rice morphological feature data with a preset residual reference threshold, take the time point when the residual of the rice morphological feature data is greater than or equal to the residual reference threshold as the abnormal time point, calculate the ratio between the number of abnormal forms and the total number of forms at each abnormal time point, that is, the abnormal form ratio at the abnormal time point, calculate the rate of change of the abnormal form ratio at two adjacent moments, that is, calculate the abnormal form increasing ratio.
[0085] The abnormal morphology increase ratio reflects the changes in rice morphological characteristics over a period of time. By calculating the increase in the abnormal morphology ratio in the monitoring area, the growth status and health level of rice in the area can be evaluated.
[0086] When the percentage of abnormal morphology increases is high, it means that the morphological characteristics of rice plants in the monitoring area have changed significantly and abnormalities have increased. This usually indicates that the rice growth state is poor and may be affected by a variety of factors, such as pests and diseases, nutrient deficiencies, over-irrigation or other environmental pressures. At this time, agricultural management measures should be taken as soon as possible, such as fertilization, pest control or adjustment of irrigation plans, to improve the growth environment and health of rice.
[0087] When the percentage of abnormal morphology increase is low or remains stable, it means that the morphological characteristics of rice plants in the monitoring area have changed little and there are fewer abnormalities. This indicates that the rice is growing well, the plants are healthy and stable, and the growth environment is relatively suitable. At this time, the current agricultural management measures can be maintained and the growth of rice can be monitored regularly to ensure its healthy growth.
[0088] The saturation deviation index and the abnormal morphology increasing ratio were normalized, and the evaluation coefficient of the rice growth status in each monitoring area was calculated based on the normalized saturation deviation index and the abnormal morphology increasing ratio.
[0089] For example, the present invention can use the following formula to calculate the evaluation coefficient of the rice growth status in each monitoring area, and the calculation expression is: Where AS is the evaluation coefficient of rice growth status in each monitoring area, SD eq is the saturation deviation index, rk e is the increasing proportion of abnormal morphology, a1 and a2 are saturation deviation index and proportional coefficient of abnormal morphology increasing proportion, and a2>a1>0.
[0090] S4: according to the evaluation results of the rice growth status in each monitoring area, the growth status of the rice is divided into a normal growth state and a lodging state, and the rice field monitoring area corresponding to the lodging state is divided into a lodging monitoring area;
[0091] The evaluation coefficient of the rice growth status of each monitoring area is compared with the standard threshold. If the evaluation coefficient of the rice growth status of the monitoring area is greater than or equal to the standard threshold, it means that the quality of the rice growth status in the monitoring area is good, and the rice growth status is classified as a normal growth status, and the corresponding monitoring area is classified as a normal monitoring area; if the evaluation coefficient of the rice growth status of the monitoring area is less than the standard threshold, it means that the quality of the rice growth status in the monitoring area is poor, and the rice growth status is classified as a lodging status, and the corresponding monitoring area is classified as a lodging monitoring area.
[0092] S5: Summarize and count the lodging areas, and generate corresponding inspection reports. According to the inspection reports, adjust the agricultural machinery operation routes and field management time to improve the inspection efficiency of rice.
[0093] The lodging areas are summarized and counted, and the total number of each lodging monitoring area is marked as D e ; Generate a detection report to record the location Li and lodging situation Ci of each lodging monitoring area, report = {Li, Ci | D e , e=1, 2, ..., n}; n is a positive integer greater than 0. The operation route of the agricultural machinery is adjusted according to the detection report, and the lodging monitoring area is given priority. The new route = optimization function (original route, report), wherein the optimization function adjusts the original operation route according to the location information of the lodging monitoring area, so that the agricultural machinery gives priority to these areas.
[0094] Increase attention and maintenance on the lodging monitoring area, adjust the field management time, and the adjusted management time formula is: Tnew=Told+ΔT×De; among them, Tnew is the new field management time, Told is the original field management time, ΔT is the increased management time factor, and De is the indicator variable of whether it is a lodging monitoring area.
[0095] In this embodiment, a high-resolution camera is set on the drone to capture the number of rice fields in the area in real time and divide it into several monitoring areas, and the image data of each monitoring area at different angles and time periods are obtained in real time according to the preset drone aerial photography path to ensure comprehensive monitoring of the rice fields. After preprocessing the image data of the rice field captured by the drone high-resolution camera, the color features and morphological features related to rice in the image data are extracted through the convolutional neural network model; the parameter changes of the color features and morphological features of rice in the image data are analyzed, and the rice growth status of each monitoring area is evaluated according to the analysis results. According to the evaluation results of the rice growth status in each monitoring area, the growth status of rice is divided into normal growth state and lodging state, and the rice field monitoring area corresponding to the lodging state is divided into lodging monitoring area. The lodging area is summarized and counted, and a corresponding detection report is generated. The agricultural machinery operation route and field management time are adjusted according to the detection report to improve the detection efficiency of rice.
[0096] Example 2
[0097] See also Figure 2 As shown, the system for detecting rice lodging based on drone image recognition described in this embodiment includes an image data acquisition module, a feature extraction module, a growth status assessment module, a monitoring area division module and a management module;
[0098] Image data acquisition module: A high-resolution camera is installed on the drone to capture the number of rice fields in the area in real time and divide it into several monitoring areas. The image data of each monitoring area at different angles and time periods is acquired in real time according to the preset drone aerial photography path to ensure comprehensive monitoring of the rice fields.
[0099] Feature extraction module: After preprocessing the image data of the rice field captured by the drone's high-resolution camera, the convolutional neural network model is used to extract the color features and morphological features related to rice in the image data;
[0100] Growth status assessment module: Analyze the parameter changes of the color characteristics and morphological characteristics of rice in the image data, and evaluate the growth status of rice in each monitoring area based on the analysis results;
[0101] Monitoring area division module: According to the evaluation results of the rice growth status in each monitoring area, the rice growth status is divided into normal growth status and lodging status, and the rice field monitoring area corresponding to the lodging status is divided into the lodging monitoring area;
[0102] Management module: Summarize and count the lodging areas, generate corresponding detection reports, and adjust the agricultural machinery operation routes and field management time according to the detection reports to improve the efficiency of rice detection.
[0103] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0104] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0105] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0106] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0107] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0108] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A method for detecting rice lodging based on drone image recognition, characterized in that: The steps include: S1: A high-resolution camera is installed on the drone to capture the number of rice fields in the area in real time and divide it into several monitoring areas. The image data of each monitoring area at different angles and time periods is obtained in real time according to the preset drone aerial photography path to ensure comprehensive monitoring of the rice fields. S2: After preprocessing the image data of the rice field captured by the high-resolution camera of the drone, the color features and morphological features related to rice in the image data are extracted through the convolutional neural network model; S3: Analyze the parameter changes of the color characteristics and morphological characteristics of rice in the image data, and evaluate the growth status of rice in each monitoring area based on the analysis results; S4: according to the evaluation results of the rice growth status in each monitoring area, the growth status of the rice is divided into a normal growth state and a lodging state, and the rice field monitoring area corresponding to the lodging state is divided into a lodging monitoring area; S5: Summarize and count the lodging areas, and generate corresponding inspection reports. According to the inspection reports, adjust the agricultural machinery operation routes and field management time to improve the inspection efficiency of rice.
2. The method for detecting rice lodging based on drone image recognition according to claim 1, characterized in that: The convolutional neural network model is used to extract the color features and morphological features related to rice in the image data, specifically: Images of rice fields captured by drones’ high-resolution cameras; Use Gaussian filtering to remove noise and normalize the image; Use color threshold segmentation to extract rice areas; Multi-layer convolution operation extracts color and morphological features. Each convolution layer scans the image through the convolution kernel to extract local features. The specific calculation expression is: Where fL(k)(x,y) is the feature map output by the kth convolution kernel of the Lth layer, W ij (k) is the convolution kernel weight, f(L-1) is the input feature map of the previous layer, b (k) is the bias term, σ is the activation function; Use max pooling to reduce the dimension of feature maps; Expand the pooled feature map and extract global features through the fully connected layer; The Softmax function is used to output the probability of the classification results and predict the color and morphological feature parameters related to rice in the image.
3. The method for detecting rice lodging based on drone image recognition according to claim 2, characterized in that: The parameter changes of the color characteristics and morphological characteristics of rice in the image data are analyzed, and the saturation deviation index of the rice color is generated according to the changes of the color characteristics of rice in the image data. The method for obtaining the saturation deviation index is: Convert the color space of the original image from RGB to HSV to extract the saturation channel, count the number of pixels of each saturation value in the saturation channel S, obtain the histogram, calculate the cumulative distribution function of the saturation channel histogram, and normalize the calculated cumulative distribution function. The specific calculation expression is: In the formula, S eq αx, y) is the saturation value after equalization, M and N are the number of rows and columns of the image respectively, MN is the total number of pixels, and L is the maximum level of saturation value; CDF αS(x, y)) represents the sum of the number of pixels with saturation value Sαx, y); The calculated equalized saturation value is analyzed to calculate the saturation deviation index. The specific calculation expression is: In the formula, SD eq is the saturation deviation index, MeanS eq (x, y) is the mean of the saturation values.
4. The method for detecting rice lodging based on drone image recognition according to claim 3, characterized in that: The parameter changes of the color characteristics and morphological characteristics of rice in the image data are analyzed, and the abnormal morphological increase ratio of rice is generated according to the parameter changes of the morphological characteristics of rice in the image data. The method for obtaining the abnormal morphological increase ratio is: Acquire the morphological feature data of t time points in real time to form a time series {X t }, the morphological feature values are normalized, and the autoregressive integrated moving average model is used to analyze the changing trend of the morphological features, X t =c+(φ1X t-1 +φ2X t-2 +...+φ p X t-p +θ1ec t-1 +θ2ect-2+...+θpect-p, where Xt is the morphological characteristic value at the tth moment, c is the constant term, φ is the autoregressive coefficient, ec is the white noise term, and θ is the moving average coefficient; The autoregressive integrated moving average model is used to predict the morphological characteristic values for a period of time in the future, and the corresponding data set {EX t+1 、EX t+2 、...、EX t+n }; Compare the rice morphological feature data acquired in real time with the predicted value of the rice morphological feature data, calculate the residual, compare the residual of the rice morphological feature data with a preset residual reference threshold, take the time point when the residual of the rice morphological feature data is greater than or equal to the residual reference threshold as the abnormal time point, calculate the ratio between the number of abnormal forms and the total number of forms at each abnormal time point, that is, the abnormal form ratio at the abnormal time point, calculate the rate of change of the abnormal form ratio at two adjacent moments, that is, calculate the abnormal form increasing ratio.
5. The method for detecting rice lodging based on drone image recognition according to claim 4, characterized in that: The saturation deviation index and the abnormal morphology increasing ratio were normalized, and the evaluation coefficient of the rice growth status in each monitoring area was calculated based on the normalized saturation deviation index and the abnormal morphology increasing ratio.
6. The method for detecting rice lodging based on drone image recognition according to claim 5, characterized in that: The evaluation coefficient of the rice growth status of each monitoring area is compared with the standard threshold. If the evaluation coefficient of the rice growth status of the monitoring area is greater than or equal to the standard threshold, the quality of the rice growth status in the monitoring area is good, and the rice growth status is classified as a normal growth status, and the corresponding monitoring area is classified as a normal monitoring area; if the evaluation coefficient of the rice growth status of the monitoring area is less than the standard threshold, the quality of the rice growth status in the monitoring area is poor, and the rice growth status is classified as a lodging status, and the corresponding monitoring area is classified as a lodging monitoring area.
7. The method for detecting rice lodging based on drone image recognition according to claim 6, characterized in that: In S5, the lodging areas are summarized and counted, and the total number of each lodging monitoring area is marked as D e ; Generate a detection report to record the location Li and lodging situation Ci of each lodging monitoring area, report = {Li, Ci | D e , e=1, 2, ..., n}; n is a positive integer greater than 0, the operation route of the agricultural machinery is adjusted according to the detection report, and the lodging monitoring area is processed first, and the new route = optimization function (original route, report), wherein the optimization function adjusts the original operation route according to the location information of the lodging monitoring area; Increase attention and maintenance on the lodging monitoring area, adjust the field management time, and the adjusted management time formula is: Tnew=Told+ΔT×De; among them, Tnew is the new field management time, Told is the original field management time, ΔT is the increased management time factor, and De is the indicator variable of whether it is a lodging monitoring area.
8. A system for detecting rice lodging based on drone image recognition, used to implement the method for detecting rice lodging based on drone image recognition according to any one of claims 1 to 7, characterized in that: It includes image data acquisition module, feature extraction module, growth status assessment module, monitoring area division module and management module; Image data acquisition module: A high-resolution camera is installed on the drone to capture the number of rice fields in the area in real time and divide it into several monitoring areas. The image data of each monitoring area at different angles and time periods is acquired in real time according to the preset drone aerial photography path to ensure comprehensive monitoring of the rice fields. Feature extraction module: After preprocessing the image data of the rice field captured by the drone's high-resolution camera, the convolutional neural network model is used to extract the color features and morphological features related to rice in the image data; Growth status assessment module: Analyze the parameter changes of the color characteristics and morphological characteristics of rice in the image data, and evaluate the growth status of rice in each monitoring area based on the analysis results; Monitoring area division module: According to the evaluation results of the rice growth status in each monitoring area, the rice growth status is divided into normal growth status and lodging status, and the rice field monitoring area corresponding to the lodging status is divided into the lodging monitoring area; Management module: Summarize and count the lodging areas, generate corresponding detection reports, and adjust the agricultural machinery operation routes and field management time according to the detection reports to improve the efficiency of rice detection.
Citation Information
Patent Citations
Paddy lodging identification method based on deep learning UNet network
CN110889394A
Rice lodging degree grading monitoring method based on edge calculation
CN113012111A
Rice lodging detection method and device based on unmanned aerial vehicle image and deep learning, and storage medium
CN114581800A
Method for extracting lodging area of wheat in multiple growth periods
CN117152234A
Rice harvester header control method based on binocular camera
CN117291977A
Cited By
Rice planting environment monitoring method and system based on unmanned aerial vehicle technology
CN119882570A
Rice planting environment monitoring method and system based on UAV technology
CN119882570B
Unmanned aerial vehicle scheduling method, device and equipment based on farmland lodging identification and medium
CN120406559A
Method and system for counting progress of rice transplanting operation of rice machine
CN120892479A
Rice growth state monitoring method and system based on multispectral remote sensing
CN122200376A
