Intelligent disease and insect pest diagnosis system and method for aronia melanocarpa
By designing an intelligent diagnosis system for pests and diseases of Sorbus nigra, and using the convolutional neural network model for automated diagnosis, the problem of low manual diagnosis efficiency in the existing technology has been solved, and efficient and accurate identification of pests and diseases has been achieved.
Patent Information
- Application Number
- CN202410721298.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, diagnosis of diseases and insect pests of Sorbus nigrum mainly relies on manual identification, which is inefficient and requires high professional knowledge, and lacks automated and intelligent diagnostic methods.
An intelligent diagnosis system for diseases and pests is designed for Sorbus nigra, which includes a historical image collection module, an image processing module, a model training module and an intelligent diagnosis module. The convolutional neural network model is used to train based on historical pest and disease images to achieve Intelligent diagnosis of real-time images.
It realizes automated pest and disease image collection, processing, feature extraction and diagnosis, improves the accuracy and efficiency of diagnosis, and is more accurate and efficient than manual diagnosis.
Smart Images

Figure CN118736622A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of agricultural disease monitoring, and in particular relates to an intelligent disease and insect pest diagnosis system and method for Sorbus melanocarpa. Background Art
[0002] Aronia nigra, also known as blackberry, wild aronia, immortal berry, is a shrub of the genus Aronia in the Rosaceae family. The fruit of Aronia nigra is rich in polyphenols, including proanthocyanidins, flavonoids and phenolic acids, which are its main active ingredients. It has the effects of anti-oxidation, scavenging free radicals, delaying aging, etc., and can effectively regulate the human immune system and maintain normal human functions.
[0003] As a plant with high economic value, Aronia nigra may be attacked by pests and diseases such as yellow thorn moth and aphids during cultivation. At present, the diagnosis of pests and diseases mainly relies on manual identification, which is inefficient and requires high professional knowledge. With the development of image recognition technology and machine learning technology, automated and intelligent pest and disease diagnosis has become possible. Summary of the invention
[0004] The present invention aims to solve the deficiencies of the prior art and provides the following solutions:
[0005] An intelligent diagnosis system for diseases and insect pests of Aralia nigromaculata, comprising: a historical image collection module, an image processing module, a model training module and an intelligent diagnosis module;
[0006] The historical image collection module is used to collect historical disease and insect pest images of Sorbus melanocarpa;
[0007] The image processing module is used to process and extract features from the historical pest and disease images to obtain pest and disease features;
[0008] The model training module constructs and trains a pest and disease identification model based on the processed image;
[0009] The intelligent diagnosis module is used to obtain a real-time image of Aronia melanocarpa and perform intelligent diagnosis of pests and diseases based on the pest and disease identification model.
[0010] Preferably, the historical pest images include: healthy state images, yellowing state images, yellow spur moth pest images and aphid pest images.
[0011] Preferably, the image processing module includes: a preprocessing unit, an image enhancement unit and a feature extraction unit;
[0012] The preprocessing unit is used to perform denoising and contrast enhancement on the historical pest and disease image to obtain a preprocessed image;
[0013] The image enhancement unit is used to segment the region of interest from the preprocessed image and enhance the edge features of the segmented image;
[0014] The feature extraction unit is used to extract the disease features of the enhanced image.
[0015] Preferably, the model training module includes: a model building unit and a model training unit;
[0016] The model building module is used to build a convolutional neural network model;
[0017] The model training unit is used to train the convolutional neural network model based on the historical pest and disease images and the pest characteristics to obtain the pest and disease recognition model.
[0018] The present invention also provides an intelligent diagnosis method for diseases and insect pests of Aronia melanocarpa, wherein the diagnosis method is applied to any of the above-mentioned diagnosis systems and comprises the following steps:
[0019] Collect historical pest and disease images of Aralia nigromaculata;
[0020] Processing and feature extracting the historical pest and disease images to obtain pest and disease features;
[0021] Building and training a pest and disease identification model based on the processed images;
[0022] A real-time image of Aronia nigromaculata is obtained, and intelligent diagnosis of pests and diseases is performed based on the pest and disease identification model.
[0023] Preferably, the historical pest images include: healthy state images, yellowing state images, yellow spur moth pest images and aphid pest images.
[0024] Preferably, the method for obtaining the disease characteristics comprises:
[0025] De-noising and contrast enhancing the historical pest and disease image to obtain a pre-processed image;
[0026] Segmenting a region of interest from the preprocessed image and enhancing edge features of the segmented image;
[0027] The disease features of the enhanced image are extracted.
[0028] Preferably, the method for constructing the pest identification model includes:
[0029] Constructing a convolutional neural network model, wherein the convolutional neural network model includes: an input layer, a convolution layer, an activation layer, a pooling layer, a fully connected layer and an output layer;
[0030] The model training unit is used to train the convolutional neural network model based on the historical pest and disease images and the pest characteristics to obtain the pest and disease recognition model.
[0031] Compared with the prior art, the present invention has the following beneficial effects:
[0032] The present invention can automatically complete the image acquisition, processing, feature extraction and diagnosis process of pests and diseases. Compared with manual diagnosis, it improves the accuracy and efficiency of diagnosis through machine learning and big data analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0034] Figure 1 Schematic diagram of the system structure of an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.
[0036] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0037] Embodiment 1
[0038] In this embodiment, if Figure 1 As shown, an intelligent diagnosis system for diseases and insect pests of Aralia mellifera includes: a historical image collection module, an image processing module, a model training module and an intelligent diagnosis module.
[0039] The historical image collection module is used to collect historical images of diseases and pests of Sorbus mellifera.
[0040] The historical pest and disease images include: healthy state images, yellow disease state images, yellow spur moth pest images and aphid pest images.
[0041] The image processing module is used to process and extract features from historical pest and disease images to obtain pest characteristics.
[0042] The image processing module includes: a preprocessing unit, an image enhancement unit and a feature extraction unit. The preprocessing unit is used to denoise and enhance the contrast of the historical pest and disease images to obtain the preprocessed image; the image enhancement unit is used to segment the area of interest from the preprocessed image and enhance the edge features of the segmented image; the feature extraction unit is used to extract the disease features of the enhanced image.
[0043] In this embodiment, the preprocessing unit first uses wavelet transform to denoise the historical pest and disease image, specifically including: selecting a suitable wavelet basis function according to the characteristics of the historical pest and disease image; then the signal is decomposed in multiple levels through the selected wavelet basis to obtain approximate coefficients and detail coefficients at different levels. The number of decomposition levels depends on the characteristics of the image and the required denoising effect; then the detail coefficient is threshold processed. Usually, the noise is mainly distributed in the detail layer of the wavelet transform, while the effective components of the signal are mainly distributed in the approximate layer. By setting the threshold, the noise with coefficients less than the threshold can be regarded as unimportant and suppressed; finally, the coefficients after threshold processing are reconstructed by wavelet to obtain the denoised historical pest and disease image. Then, the denoised image is contrast enhanced using gamma correction, specifically including: first linearizing the pixel values of the image:
[0044] I lin =log(I in +1)
[0045] Among them, I in is the pixel intensity value of the historical pest and disease image after denoising, I lin is the linearized pixel intensity value; then, the gamma value γ is determined according to actual needs, and the linearized pixel intensity value is gamma transformed based on the selected gamma value γ:
[0046] I gamma =(I lin ) γ
[0047] Among them, I gamma is the pixel intensity value after gamma transformation; then, the pixel intensity value after gamma transformation is delinearized and normalized to obtain the final pixel intensity value:
[0048]
[0049] I final =round(I out ×max(I))
[0050] Among them, I out is the pixel intensity value after inverse linearization, I finalis the final pixel intensity value, max(I) is the maximum value that the original historical pest and disease image data type can represent; finally, the final pixel intensity value is assigned to the corresponding pixel in the historical pest and disease image to obtain the preprocessed image.
[0051] The workflow of the feature extraction unit includes: first, using the gray-level co-occurrence matrix to extract the texture features in the region of interest, then calculating the color features such as the color histogram and color moment of the region of interest, and then using edge detection and contour analysis to extract the shape features of the region of interest, and finally, the texture features, color features and shape features are fused to obtain the disease features of the image.
[0052] The model training module builds and trains the pest and disease identification model based on the processed images.
[0053] The model training module includes: a model building unit and a model training unit. The model building module is used to build a convolutional neural network model; the model training unit is used to train the convolutional neural network model based on historical pest and disease images and disease features to obtain a pest and disease recognition model.
[0054] In this embodiment, the constructed convolutional neural network model includes: input layer, convolution layer, activation layer, pooling layer, fully connected layer and output layer. The input layer is used to input the historical pest and disease images to be identified; the convolution layer contains multiple convolution kernels (or filters) for extracting local features in the image; the activation layer usually uses the ReLU activation function to introduce nonlinearity to help the network learn complex features; the pooling layer uses maximum pooling to reduce the spatial dimension of the feature, reduce the amount of calculation, and make feature detection more robust; the fully connected layer is used to integrate features and perform final classification; the output layer uses the Softmax function to output the recognition result.
[0055] The intelligent diagnosis module is used to obtain real-time images of Aronia nigrostria and perform intelligent diagnosis of pests and diseases based on the pest and disease identification model.
[0056] In this embodiment, the intelligent diagnosis module includes a real-time image acquisition unit and a recognition terminal. The real-time image acquisition unit uses a drone equipped with a high-definition camera, and the drone can set the cruise route and shooting time and interval according to user needs; the recognition terminal is provided with a pest and disease recognition model, which recognizes the real-time image of Aronia nigra taken by the drone to obtain the pest and disease recognition result.
[0057] Embodiment 2
[0058] In this embodiment, an intelligent diagnosis method for diseases and insect pests of Aronia melanocarpa comprises the following steps:
[0059] S1. Collect historical pest and disease images of Aralia nigromaculata.
[0060] The historical pest and disease images include: healthy state images, yellow disease state images, yellow spur moth pest images and aphid pest images.
[0061] S2. Process and extract features of historical pest and disease images to obtain pest features.
[0062] The method for obtaining disease characteristics includes: denoising and contrast enhancing the historical disease and insect pest images to obtain the preprocessed image; segmenting the region of interest from the preprocessed image and enhancing the edge characteristics of the segmented image; and extracting the disease characteristics of the enhanced image.
[0063] In this embodiment, the historical pest and disease image is first denoised using wavelet transform, specifically including: selecting a suitable wavelet basis function according to the characteristics of the historical pest and disease image; then the signal is decomposed in multiple levels through the selected wavelet basis to obtain approximate coefficients and detail coefficients at different levels, and the number of decomposition levels depends on the characteristics of the image and the desired denoising effect; then the detail coefficient is threshold processed. Usually, the noise is mainly distributed in the detail layer of the wavelet transform, while the effective components of the signal are mainly distributed in the approximate layer. By setting the threshold, the noise with coefficients less than the threshold can be regarded as unimportant and suppressed; finally, the coefficients after threshold processing are reconstructed by wavelet to obtain the denoised historical pest and disease image. Then, the denoised image is contrast enhanced using gamma correction, specifically including: first linearizing the pixel values of the image:
[0064] I lin =log(I in +1)
[0065] Among them, I in is the pixel intensity value of the historical pest and disease image after denoising, I lin is the linearized pixel intensity value; then, the gamma value γ is determined according to actual needs, and the linearized pixel intensity value is gamma transformed based on the selected gamma value γ:
[0066] I gamma =(I lin ) γ
[0067] Among them, I gamma is the pixel intensity value after gamma transformation; then, the pixel intensity value after gamma transformation is delinearized and normalized to obtain the final pixel intensity value:
[0068]
[0069] I final =round(I out ×max(I))
[0070] Among them, I out is the pixel intensity value after inverse linearization, I final is the final pixel intensity value, max(I) is the maximum value that the original historical pest and disease image data type can represent; finally, the final pixel intensity value is assigned to the corresponding pixel in the historical pest and disease image to obtain the preprocessed image.
[0071] The feature extraction method includes: first using the gray level co-occurrence matrix to extract the texture features in the region of interest, then calculating the color features such as the color histogram and color moment of the region of interest, then using edge detection and contour analysis to extract the shape features of the region of interest, and finally fusing the texture features, color features and shape features to obtain the disease features of the image.
[0072] S3. Build and train a pest and disease recognition model based on the processed images.
[0073] The method for constructing a pest and disease identification model includes: constructing a convolutional neural network model, the convolutional neural network model includes: an input layer, a convolution layer, an activation layer, a pooling layer, a fully connected layer and an output layer; a model training unit is used to train the convolutional neural network model based on historical pest and disease images and disease characteristics to obtain a pest and disease identification model.
[0074] In this embodiment, the constructed convolutional neural network model includes: input layer, convolution layer, activation layer, pooling layer, fully connected layer and output layer. The input layer is used to input the historical pest and disease images to be identified; the convolution layer contains multiple convolution kernels (or filters) for extracting local features in the image; the activation layer usually uses the ReLU activation function to introduce nonlinearity to help the network learn complex features; the pooling layer uses maximum pooling to reduce the spatial dimension of the feature, reduce the amount of calculation, and make feature detection more robust; the fully connected layer is used to integrate features and perform final classification; the output layer uses the Softmax function to output the recognition result.
[0075] S4. Obtain real-time images of Aronia nigra and perform intelligent diagnosis of pests and diseases based on the pest and disease identification model.
[0076] In this embodiment, a drone equipped with a high-definition camera is used to collect real-time images. The drone can set the cruise route, shooting time and interval according to user needs; the real-time images of Aronia nigra taken by the drone are identified to obtain pest and disease identification results.
[0077] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.
Claims
1. An intelligent diagnosis system for diseases and insect pests of Aronia nigromaculata, characterized in that: include: Historical image collection module, image processing module, model training module and intelligent diagnosis module; The historical image collection module is used to collect historical disease and insect pest images of Sorbus melanocarpa; The image processing module is used to process and extract features from the historical pest and disease images to obtain pest and disease features; The model training module constructs and trains a pest and disease identification model based on the processed image; The intelligent diagnosis module is used to obtain a real-time image of Aronia melanocarpa and perform intelligent diagnosis of pests and diseases based on the pest and disease identification model.
2. The intelligent diagnosis system for diseases and insect pests of Aronia melanocarpa according to claim 1, characterized in that: The historical pest images include: healthy state images, yellowing state images, yellow spur moth pest images and aphid pest images.
3. The intelligent diagnosis system for diseases and insect pests of Aronia melanocarpa according to claim 1, characterized in that: The image processing module includes: a preprocessing unit, an image enhancement unit and a feature extraction unit; The preprocessing unit is used to perform denoising and contrast enhancement on the historical pest and disease image to obtain a preprocessed image; The image enhancement unit is used to segment the region of interest from the preprocessed image and enhance the edge features of the segmented image; The feature extraction unit is used to extract the disease features of the enhanced image.
4. The intelligent diagnosis system for diseases and insect pests of Aronia melanocarpa according to claim 1, characterized in that: The model training module includes: a model building unit and a model training unit; The model building module is used to build a convolutional neural network model; The model training unit is used to train the convolutional neural network model based on the historical pest and disease images and the pest characteristics to obtain the pest and disease recognition model.
5. An intelligent diagnosis method for diseases and insect pests of Aronia melanocarpa, the diagnosis method being applied to the diagnosis system according to any one of claims 1 to 4, characterized in that: The following steps are involved: Collect historical pest and disease images of Aralia nigromaculata; Processing and feature extracting the historical pest and disease images to obtain pest and disease features; Building and training a pest and disease identification model based on the processed images; A real-time image of Aronia nigromaculata is obtained, and intelligent diagnosis of pests and diseases is performed based on the pest and disease identification model.
6. The intelligent diagnosis method for diseases and insect pests of Aronia melanocarpa according to claim 5, characterized in that: The historical pest images include: healthy state images, yellowing state images, yellow spur moth pest images and aphid pest images.
7. The intelligent diagnosis method for diseases and insect pests of Aronia melanocarpa according to claim 5, characterized in that: The method for obtaining the disease characteristics comprises: De-noising and contrast enhancing the historical pest and disease image to obtain a pre-processed image; Segmenting a region of interest from the preprocessed image and enhancing edge features of the segmented image; The disease features of the enhanced image are extracted.
8. The intelligent diagnosis method for diseases and insect pests of Aronia melanocarpa according to claim 5, characterized in that: The method for constructing the pest identification model includes: Constructing a convolutional neural network model, wherein the convolutional neural network model includes: an input layer, a convolution layer, an activation layer, a pooling layer, a fully connected layer and an output layer; The model training unit is used to train the convolutional neural network model based on the historical pest and disease images and the pest characteristics to obtain the pest and disease recognition model.
Citation Information
Patent Citations
Intelligent garden defoliating pest recognition method based on hierarchical deep learning model
CN113627472A
Image enhancement method and system
CN116703789A
Sampling control method, system and equipment for bridge detection and medium
CN116958138A
Dynamic target detection system in high-density complex traffic scene
CN118038386A
Cited By
Acer truncatum leaf pest and disease identification method based on improved feature fusion
CN119007020A
A method for identifying leaf diseases and insect pests of Acer truncatum based on improved feature fusion
CN119007020B
