A method for identifying salt stress in mung bean based on LMS-Net lightweight model

Through the mung bean salt stress identification method based on the LMS-Net lightweight model, multi-spectral fluorescence imaging technology and convolutional neural networks are used to solve the traditional problems of low identification rate and expensive equipment, and achieve efficient and accurate salt stress identification. Suitable for portable device deployment.

CN118365929BActive Publication Date: 2024-10-15HUAIYIN INSTITUTE OF TECHNOLOGY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410398834.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-03
Publication Date
2024-10-15
Estimated Expiration
2044-04-03

AI Technical Summary

Technical Problem

The existing technology has a low recognition rate in identifying mung bean salt stress, and traditional biological experiments are time-consuming and labor-intensive, difficult to operate by non-professionals, and the equipment is expensive.

Method used

A method for identifying mung bean salt stress based on the LMS-Net lightweight model is proposed. Data is collected through a multispectral fluorescence imager, and a network including a preliminary feature extraction module, a downsampling module and a backbone module is constructed to perform image preprocessing and data enhancement. , train the model to achieve salt stress level classification.

Benefits of technology

The accuracy and efficiency of salt stress identification in mung beans are improved. The model is deployed in a lightweight manner and can replace traditional biometric identification experiments on portable devices, reducing identification costs and improving identification efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118365929B_ABST
    Figure CN118365929B_ABST
Patent Text Reader

Abstract

The present invention discloses a mung bean salt stress identification method based on the LMS-Net lightweight model. First, a multi-spectral fluorescence imaging instrument is used to collect images, and the collected initial mung bean chlorophyll fluorescence image samples are annotated to form a data set; after data preprocessing, the data set is divided into a training set and a test set; a salt stress level identification network model based on the LMS-Net lightweight model is constructed, including a preliminary feature extraction module, a downsampling module and a backbone module, and the backbone module is composed of a convolutional encoder and a lightweight residual module proposed by the present invention; the constructed network model is used for training, and the stress picture to be identified is input into the optimal weight model for salt stress level identification. The identification method proposed by the present invention can replace the traditional time-consuming and labor-intensive biological identification experiment, and use a portable mobile device to replace the manual identification method of mung bean salt stress, thereby improving the efficiency and accuracy of identification, and has good application prospects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of computer vision image processing and salt stress recognition, and in particular to a mung bean salt stress recognition method based on an LMS-Net lightweight model. Background Art

[0002] Mung bean has a long history of cultivation in China. It has long been one of the main edible legume crops planted in my country, with a large planting area. During the cultivation of mung beans, salt stress will inhibit the formation of mung bean crop morphology and reduce the yield of mung beans. Due to the crazy growth of global soil salinization area, about 45 million hectares of irrigated area in the world are damaged by salt stress, and nearly 6% of the world's total land area is affected by salt. It is estimated that by 2050, salinization may affect 50% of arable land. China currently has about 36 million hectares of salinized soil, accounting for about 488% of the country's available land area, and salinized arable land accounts for about 7% of the country's arable land area. Salinity prevents plants from absorbing water due to the effects of ion toxicity and hyperosmotic stress. The harmful effects of salinity include nutrient imbalance, membrane damage, changes in growth regulator levels, enzyme inhibition, the generation of reactive oxygen species (ROS) leading to DNA damage, and the initiation of programmed cell death. After suffering from salt stress, the leaves of mung bean plants will change color, such as growth restriction, yellowing, wilting or scorching. It is too late to intervene at this time, so early identification is done through molecular biological analysis. For example, through real-time fluorescence quantitative PCR (qPCR) and other technologies, the gene expression level related to salt stress response can be analyzed, and proteomics technology can be used to study the expression changes of plant-related proteins under salt stress. However, non-professionals cannot operate them, and using these technologies requires the purchase of expensive equipment.

[0003] With the continuous development of computer vision and machine learning technology, deep learning-based technology has been initially applied to various fields, such as medicine and transportation, and has also been widely used in the agricultural field, while replacing many time-consuming and labor-intensive traditional biological experiments to a certain extent. The model proposed in this invention will contribute to the field of mung bean salt stress and provide a new idea for salt-tolerant mung bean germplasm, which has important theoretical significance and engineering application value. Summary of the invention

[0004] Purpose of the invention: The present invention proposes a mung bean salt stress identification method based on the LMS-Net lightweight model, which can overcome the shortcomings of the traditional convolutional neural network model, solve the problem of low recognition rate of mung bean salt stress, and realize the lightweight deployment of the mung bean salt stress identification model.

[0005] Technical solution: The present invention proposes a mung bean salt stress identification method based on the LMS-Net lightweight model, comprising the following steps:

[0006] (1) Collect salt stress data images of mung bean leaves using a multispectral fluorescence imager, classify the images, and create a data set;

[0007] (2) performing image preprocessing on the data set obtained in step (1), expanding the data sample by data enhancement, and dividing the sample data into a training set and a test set;

[0008] (3) A mung bean salt stress recognition network based on the LMS-Net lightweight model was constructed, including a preliminary feature extraction module, three downsampling modules and four backbone modules; the training image first passed through a preliminary feature extraction module and the first backbone module, and then passed through the downsampling module and the backbone module alternately for feature extraction; the preliminary feature extraction module captured more details through multiple convolutional layers; the downsampling module performed downsampling operations in front of the three backbone modules to increase the receptive field, so that the subsequent convolution kernels could learn more global information and reduce a certain amount of calculation to prevent overfitting; the backbone module was stacked multiple times to extract fine salt stress features;

[0009] (4) The mung bean salt stress recognition network based on the LMS-Net lightweight model built in the training step (3) is trained by the above network, and finally the trained result is output through the SoftMax classifier, and the LMS-Net lightweight model weight for salt stress level classification is finally obtained by adjusting the training parameters;

[0010] (5) Input the optimal training model weights obtained in step (4) into the test code, then verify the data images in the test set and evaluate the performance of the model.

[0011] Furthermore, the sample images of the mung bean salt stress data in step (1) are divided into five levels according to the maximum photon efficiency.

[0012] Furthermore, the image preprocessing in step (2) is to perform data enhancement on all leaf images, including adding random pixels, Gaussian noise, random rectangular occlusion, and random cropping and filling to perform data enhancement.

[0013] Furthermore, the preliminary feature extraction module in step (3) includes a 3×3 ordinary convolution, two 3×3 depth convolutions and a 1×1 ordinary convolution.

[0014] Furthermore, the feature extraction process of the preliminary feature extraction module in step (3) is: sequentially passing through a 4×4 ordinary convolution, a residual structure, a 3×3 deep convolution, a 3×3 ordinary convolution, a 1×1 ordinary convolution and a 3×3 deep convolution; then adding the residual and the feature vector after the last 3×3 deep convolution to output a new feature vector, wherein each convolution needs to undergo batch normalization and ReLU6 activation function.

[0015] Furthermore, the downsampling module in step (3) is composed of a 2×2 ordinary convolution.

[0016] Furthermore, the backbone module in step (3) is composed of a convolutional encoder and a lightweight residual module connected in series.

[0017] Furthermore, the convolution encoder in step (3) consists of a 3×3 depth convolution, a batch normalization layer and two linear layers.

[0018] Furthermore, the lightweight residual module in step (3) is composed of 2 1×1 convolutions and 2 3×3 depth convolutions.

[0019] Furthermore, the implementation process of step (4) is as follows:

[0020] (41) After the input RGB 3-channel mung bean leaf image is preprocessed in step (2), the image is adjusted to a uniform size and input into the model to start training, and the feature vector 1 is output;

[0021] (42) inputting the feature vector obtained in step (41) into the preliminary extraction module, the backbone module 1, the first downsampling module, the backbone module 2, the second downsampling module, the backbone module 3, the third downsampling module and the backbone module 4 in sequence to obtain feature vector 2;

[0022] (43) The feature vector obtained in step (42) is input into the global average pooling and fully connected layer.

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

[0024] 1. The dataset of the present invention is based on chlorophyll fluorescence and multispectral fluorescence imaging technology. The phenotypic image characteristics of mung bean under salt stress are mined through fluorescence imaging technology. The obtained mung bean samples are analyzed through the QY-max (maximum quantum efficiency) index to obtain the training dataset required for deep learning, which can more clearly show the characteristics of mung bean leaves under salt stress;

[0025] 2. The model proposed in the present invention adopts a lightweight multi-module serial stacking method, and the model proposes a unique preliminary feature extraction module, a convolutional encoder and a lightweight residual module, which can greatly reduce the number of model parameters. The combination of multiple modules can discard unimportant features and screen important features, further improving the recognition accuracy of mung bean salt stress.

[0026] 3. The model proposed in the present invention has high comprehensive performance and occupies less memory. The proposed model can replace the traditional time-consuming and labor-intensive biological identification experiments. Portable mobile devices can be used to replace the manual identification method of mung bean salt stress, thereby improving the efficiency and accuracy of identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is a flow chart of the present invention;

[0028] Figure 2 Schematic diagram of data acquisition for FluorCam multispectral fluorescence imaging instrument;

[0029] Figure 3 Schematic diagram of the mung bean salt stress recognition network structure based on the LMS-Net lightweight model;

[0030] Figure 4 Schematic diagram of the network structure of the preliminary feature extraction module proposed in this paper;

[0031] Figure 5 Schematic diagram of the network structure of the convolutional encoder proposed in this paper;

[0032] Figure 6 Schematic diagram of the network structure of the lightweight residual module proposed in this paper. DETAILED DESCRIPTION

[0033] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0034] like Figure 1 As shown, the present invention proposes a mung bean salt stress identification method based on the LMS-Net lightweight model. The mung bean leaves under salt stress are used as important feature information. In order to more accurately judge the mung bean salt stress, the present invention uses a convolutional neural network to classify and identify the salt stress state of mung bean. The present invention proposes three feature extraction modules: a preliminary feature extraction module, a convolutional encoder, and a lightweight residual module. The residual connection and deep separable convolution are used to construct the module, so that the salt stress characteristics of the mung bean leaves can be accurately captured by the model. The specific implementation process is as follows:

[0035] The salt stress data images of mung bean leaves were collected by multi-spectral fluorescence imaging, and the graded images were classified to make a data set. The data set was image preprocessed, the data samples were expanded by data enhancement, and the sample data was divided into training set and test set.

[0036] In September 2023, an experiment on salt stress in mung bean leaves was carried out at the Jiangsu Academy of Agricultural Sciences. Mung bean varieties selected from cash crops were used to simulate salt stress to cultivate mung bean seeds and wait for the leaf phenotype of mung bean to appear. Figure 2 As shown in the figure, the initial data set of mung bean leaves was collected by chlorophyll fluorescence image analysis using the FluorCam multispectral fluorescence imaging instrument, and the data was analyzed using the matching FlourCam7 software. The initial chlorophyll fluorescence image was derived by adjusting the relevant parameters. The collected initial mung bean chlorophyll fluorescence image samples were annotated, and the single multi-leaf image was cropped using Python programming software, and the resolution of each image was set to 224×224. Finally, each multi-leaf image was cropped into a single leaf image.

[0037] The sample images of mung bean salt stress data were divided into five levels according to the size of QY-max (maximum light quantum efficiency). Level 0: no salt stress state, mung bean leaves are in normal state; Level 1: sensitive, leaves are close to withering, and the value of QY-max is 0.4-0.69; Level 2: medium salt tolerance, leaves begin to wither, and the value of QY-max is 0.7-0.74; Level 3: salt tolerance, leaves have a tendency to curl up, and the value of QY-max is 0.75-0.8; Level 4: high salt tolerance, growth is basically normal, no salt damage symptoms appear, and the value of QY-max is 0.81-0.84. The labeled data were enhanced by adding random pixels, Gaussian noise, random rectangular occlusion, random cropping and filling, and divided into training set and test set according to the ratio of 8:2. Table 1 is a detailed description of the data set.

[0038] Table 1 Dataset composition

[0039]

[0040] like Figure 3 As shown in the figure, a mung bean salt stress recognition network based on the LMS-Net lightweight model is constructed, which includes the first preliminary feature extraction module, three downsampling modules and four backbone modules; the training image first passes through a preliminary feature extraction module and the first backbone module, and then passes through the downsampling modules and the backbone modules alternately for feature extraction.

[0041] like Figure 4As shown in the figure, the preliminary feature extraction module uses multiple convolution layers to replace the traditional large convolution blocks, and captures more initial features by superimposing multiple convolutions. The preliminary feature extraction module extracts features in the following order: a 4×4 ordinary convolution, a residual structure, a 3×3 deep convolution, a 3×3 ordinary convolution, a 1×1 ordinary convolution, and a 3×3 deep convolution; then the residual and the feature vector after the last 3×3 deep convolution are added to output a new feature vector, where each convolution needs to be followed by batch normalization and ReLU6 activation function. Batch normalization can make the input distribution more stable, which helps to avoid the problem of gradient vanishing or gradient exploding, while the activation function introduces nonlinearity and increases the network's expressive power.

[0042] The downsampling module performs downsampling operations before the three backbone modules, and performs downsampling through 2×2 ordinary convolution instead of traditional pooling operations, which can bring parameter sharing, end-to-end learning, better feature extraction, and greater flexibility. The feature vector passing through the downsampling module needs to be output to the next module through a 2×2 ordinary convolution, batch normalization, and ReLU6 activation function.

[0043] Since the image features of mung bean salt stress levels are easily confused, in order to better classify the salt stress levels, a backbone module consisting of a convolutional encoder and a lightweight residual module in series is designed. The idea of ​​deep convolution and residual is used to construct it, which can prevent gradient explosion and reduce the number of model parameters. The backbone module is stacked multiple times to extract fine salt stress features, including: backbone module 1, backbone module 2, backbone module 3 and backbone module 4. The convolutional encoder is as follows Figure 5 As shown in the figure, the feature vector first passes through a residual structure, a 3×3 depth convolution, a batch normalization layer, a linear layer 1, a Relu6 activation function and a linear layer 2. Finally, the residual and the feature vector after the last linear layer 2 are added together for output. The two linear layer structures are equivalent to 1×1 ordinary convolution. The lightweight residual module is as follows Figure 6 As shown in the figure, the feature vector first passes through a 1×1 ordinary convolution, a residual structure, two 3×3 depth convolutions, and a 1×1 ordinary convolution. Finally, the residual and the feature vector after the last 1×1 convolution structure are added and output. After the two 3×3 depth convolutions, the feature vector needs to be batch normalized and ReLU6 activated, while after the two 1×1 ordinary convolutions, only batch normalization is required.

[0044] The specific steps of network construction and training are as follows:

[0045] (1) After image processing, the RGB three-channel image with a size of 224×224 is converted into a tensor. The initial feature vector (3×224×224) is input into the preliminary feature extraction module with the number of channels (input channel: 40, output channel: 40), and the output feature vector obtained is (40×56×56); the feature vector of the previous step is input into the backbone module 1 with the number of channels (40, 40), and the output feature vector obtained is (40×56×56).

[0046] (2) The feature vector obtained in the previous step is input into the first downsampling module with a channel number of (40, 80), and the output vector obtained is (80×28×28). The feature vector obtained in the previous step is input into the backbone module 2 with a channel number of (80, 80), and the output feature vector obtained is (80×28×28).

[0047] (3) The feature vector obtained in the previous step is input into the second downsampling module with a channel number of (80, 160), and the output vector obtained is (160×14×14). The feature vector obtained in the previous step is input into the backbone module 3 with a channel number of (160, 160), and the output feature vector obtained is (160×14×14).

[0048] (4) The feature vector obtained in the previous step is input into the third downsampling module with a channel number of (160, 320), and the output vector obtained is (320×7×7). The feature vector obtained in the previous step is input into the backbone module 4 with a channel number of (320, 320), and the final output feature vector obtained is (320×7×7).

[0049] The feature vector extracted by the four backbone modules is input into the global average pooling layer and the fully connected layer with a convolution kernel size of 7, and then a Softmax classifier is constructed to convert the input feature vector into a probability vector output about the category, where each probability component corresponds to a category probability corresponding to a training.

[0050] The mung bean salt stress recognition network based on the LMS-Net lightweight model was trained, and the training set was input into the built network model for feature extraction through model training. During the training process, we used the real labels of the samples and forward propagation to obtain prediction information, calculated the loss function of the network, and calculated the partial derivatives of each node through back propagation. Finally, the gradient descent method was used to update the network weights to obtain the optimal training model weights.

[0051] The model uses five indicators, namely, accuracy, precision, recall, F1-measure and model size, to evaluate the performance of the model. As shown in Table 2, the mung bean salt stress recognition network model based on the LMS-Net lightweight model proposed in the present invention is compared with the commonly used convolutional neural network models VGG16, GoogleNet and ResNet50. The accuracy of the LMS-Net model is increased by 5.7, 3 and 2.4 percentage points respectively; the precision is increased by 5.3, 3.4 and 2.5 percentage points respectively; the recall is increased by 5.5, 3.3 and 2.5 respectively; and the F1 value is increased by 5.4, 3.3 and 2.5 percentage points respectively. After comprehensive comparison, the model proposed in the present invention has the best recognition effect, and the accuracy, precision, recall and F1 value are all the best. Compared with the traditional classification model, the model size of the present invention is only 2.1M, which is much smaller than the classical model, and the model proposed in the present invention has high comprehensive performance and occupies less memory, and can be deployed on mobile portable devices.

[0052] Table 2 Comparison of the experimental results of the present invention with those of the traditional model and the lightweight model

[0053]

[0054] Based on the same inventive concept, an implementation case of the present invention provides a mung bean salt stress identification device based on the LMS-Net lightweight model, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that when the computer program is loaded into the processor, the above-mentioned mung bean salt stress identification method based on the LMS-Net lightweight model is implemented.

Claims

1. A mung bean salt stress identification method based on LMS-Net lightweight model, characterized in that: The following steps are involved: (1) Collect salt stress data images of mung bean leaves using a multispectral fluorescence imager, classify the images, and create a data set; (2) performing image preprocessing on the data set obtained in step (1), expanding the data sample by data enhancement, and dividing the sample data into a training set and a test set; (3) A mung bean salt stress recognition network based on the LMS-Net lightweight model was constructed, including a preliminary feature extraction module, three downsampling modules and four backbone modules; the training image first passed through a preliminary feature extraction module and the first backbone module, and then passed through the downsampling module and the backbone module alternately for feature extraction; the preliminary feature extraction module captured details through multiple convolutional layers; the downsampling module performed downsampling operations in front of the three backbone modules, so that the subsequent convolution kernels could learn global information and reduce the amount of calculation to prevent fitting; the backbone module was stacked multiple times to extract fine salt stress features; the backbone module was composed of a convolutional encoder and a lightweight residual module connected in series; the convolutional encoder was composed of a 3×3 depth convolution, a batch normalization layer and two linear layers; the lightweight residual module was composed of 2 1×1 convolutions and 2 3×3 depth convolutions; (4) The mung bean salt stress recognition network based on the LMS-Net lightweight model built in the training step (3) is trained by the above network, and finally the trained result is output through the SoftMax classifier, and the LMS-Net lightweight model weight for salt stress level classification is finally obtained by adjusting the training parameters; (5) Input the optimal training model weights obtained in step (4) into the test code, then verify the data images in the test set and evaluate the performance of the model.

2. According to claim 1, a mung bean salt stress identification method based on the LMS-Net lightweight model is characterized in that: The sample images of the mung bean salt stress data in step (1) are divided into five levels according to the maximum photon efficiency.

3. According to claim 1, a mung bean salt stress identification method based on the LMS-Net lightweight model is characterized in that: The image preprocessing in step (2) is to perform data enhancement on all leaf images, including adding random pixels, Gaussian noise, random rectangular occlusion, and random cropping and filling.

4. The mung bean salt stress identification method based on the LMS-Net lightweight model according to claim 1, characterized in that: The preliminary feature extraction module in step (3) includes a 3×3 ordinary convolution, two 3×3 depth convolutions and a 1×1 ordinary convolution.

5. The mung bean salt stress identification method based on the LMS-Net lightweight model according to claim 1, characterized in that: The feature extraction process of the preliminary feature extraction module in step (3) is as follows: sequentially passing through a 4×4 ordinary convolution, a residual structure, a 3×3 deep convolution, a 3×3 ordinary convolution, a 1×1 ordinary convolution and a 3×3 deep convolution; then adding the residual and the feature vector after the last 3×3 deep convolution to output a new feature vector, wherein each convolution needs to undergo batch normalization and ReLU6 activation function.

6. The mung bean salt stress identification method based on the LMS-Net lightweight model according to claim 1, characterized in that: The downsampling module in step (3) is composed of a 2×2 ordinary convolution.

7. The mung bean salt stress identification method based on the LMS-Net lightweight model according to claim 1, characterized in that: The implementation process of step (4) is as follows: (41) After the input RGB 3-channel mung bean leaf image is preprocessed in step (2), the image is adjusted to a uniform size and input into the model to start training, and the feature vector 1 is output; (42) inputting the feature vector obtained in step (41) into the preliminary extraction module, the backbone module 1, the first downsampling module, the backbone module 2, the second downsampling module, the backbone module 3, the third downsampling module and the backbone module 4 in sequence to obtain feature vector 2; (43) The feature vector obtained in step (42) is input into the global average pooling and fully connected layer.