A monitoring and evaluation method and system for comprehensive evaluation indexes of defoliation effect of machine-picked cotton
Through the extreme learning machine model based on particle swarm optimization algorithm, the characteristics of the RGB image of the machine-picked cotton crown layer are used to evaluate the leaf removal effect, which solves the problem of accuracy and low efficiency of the evaluation of the machine-picked cotton leaf removal effect, and achieves more accurate judging the harvest timing.
Patent Information
- Application Number
- CN202210396435.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-15
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-04-15
AI Technical Summary
The existing comprehensive evaluation index monitoring and evaluation methods for the deleaving effect of machine-picked cotton have problems such as strong subjectivity, low accuracy and low efficiency, and it is difficult to accurately judge the optimal harvest time of machine-picked cotton.
The extreme learning machine model based on particle swarm optimization algorithm is adopted, and the visible vegetation index characteristics, color component characteristics and texture characteristics of the RGB image of the machine-picking cotton canopy are collected, and the leaf removal effect evaluation value is output to determine the harvesting time of machine-picking cotton.
Improve the monitoring and evaluation accuracy of the comprehensive evaluation indicators of the deleaving effect of machine-picked cotton, accurately judge the optimal harvesting time of machine-picked cotton, solve the problem of subjectivity and low efficiency of traditional methods, and provide more efficient evaluation and decision-making. support.
Smart Images

Figure CN114973024B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cotton picking index monitoring and evaluation, and in particular to a method and system for monitoring and evaluating comprehensive evaluation indexes of defoliation effect of machine-picked cotton. Background Art
[0002] Cotton is one of the main cash crops in my country and the most important fiber crop for the textile industry. Cotton production plays an important role in international trade and national security, and is also an important source of income for cotton farmers. With the continuous increase in the area of machine-picked cotton, research on the effect of cotton defoliation has also gradually increased. In agricultural production, the defoliation rate and boll opening rate are used as the basis for cotton harvesting. It is believed that mechanical harvesting can be carried out when the defoliation rate of machine-picked cotton reaches more than 90% and the boll opening rate reaches more than 95%. Therefore, monitoring and evaluating the defoliation rate, boll opening rate and yield of machine-picked cotton are crucial for the research on machine-picked cotton defoliants and for judging the harvesting time of machine-picked cotton in field production.
[0003] However, the results obtained by the existing monitoring and evaluation methods of the comprehensive evaluation indicators of the defoliation effect of machine-picked cotton are usually highly subjective and greatly affected by human factors. The evaluation of the defoliation effect of machine-picked cotton and the judgment of the harvesting time are less accurate, and the cycle is long and the efficiency is low. Therefore, how to improve the accuracy and efficiency of the monitoring and evaluation of the comprehensive evaluation indicators of the defoliation effect of machine-picked cotton is a problem that needs to be solved urgently. Summary of the invention
[0004] The purpose of the present invention is to provide a method and system for monitoring and evaluating comprehensive evaluation indicators of machine-picked cotton defoliation effect, so as to improve the accuracy and efficiency of monitoring and evaluating comprehensive evaluation indicators of machine-picked cotton defoliation effect, and provide a reference for studying the defoliation effect of machine-picked cotton and determining the optimal harvesting time of machine-picked cotton.
[0005] To achieve the above object, the present invention provides the following solutions:
[0006] On the one hand, the present invention proposes a method for monitoring and evaluating comprehensive evaluation indicators of defoliation effect of machine-picked cotton, comprising:
[0007] RGB image of cotton canopy collected by a collection machine;
[0008] Extracting visible light vegetation index features, color component features and texture features of the machine-picked cotton canopy RGB image;
[0009] The visible light vegetation index feature, color component feature and texture feature are input into a trained comprehensive evaluation model for defoliation effect of machine-picked cotton, and a defoliation effect evaluation value is output; the trained comprehensive evaluation model for defoliation effect of machine-picked cotton is an extreme learning machine model based on a particle swarm optimization algorithm obtained by training with the visible light vegetation index feature, color component feature and texture feature of the RGB image of the machine-picked cotton canopy as input and the defoliation effect evaluation value as output, wherein the extreme learning machine model comprises an input layer, a hidden layer and an output layer, and the particle swarm optimization algorithm is used to optimize the weight value of the input layer and the bias value of the hidden layer;
[0010] The harvesting time of the machine-picked cotton is determined according to the defoliation effect evaluation value.
[0011] Optionally, after the step of collecting the RGB image of the cotton canopy by the collecting machine, the step further includes:
[0012] The RGB image of the machine-picked cotton canopy was spliced using Pix4Dmapper software to obtain an RGB orthophoto image of the machine-picked cotton canopy.
[0013] Optionally, the extracting of visible light vegetation index features, color component features and texture features of the machine-picked cotton canopy RGB image specifically includes:
[0014] According to the location of each experimental plot in the area to be monitored, the RGB orthophoto image of the machine-picked cotton canopy is divided to obtain multiple regions of interest;
[0015] Obtaining digital quantization values of each color channel in each of the regions of interest, and calculating an average digital quantization value of each color channel; the color channels include an R channel, a G channel, and a B channel;
[0016] Normalizing the digital quantization value and the average digital quantization value of each color channel to calculate each color component value; the color component value is the normalized value of each color component in the RGB orthophoto image, and each color component in the RGB orthophoto image includes an r component, a g component, and a b component;
[0017] Calculating the visible light vegetation index feature according to the values of each color component;
[0018] Performing color space model conversion on the RGB color space model corresponding to the color feature of each region of interest to obtain a converted color space model, wherein the converted color space model includes an HSV color space model, a La*b* color space model, a YCrCb color space model, and a YIQ color space model;
[0019] According to the converted color space model, extract the color component features in each color space model, and calculate the digital quantization value of each color component feature;
[0020] Based on the gray-level co-occurrence matrix, the texture features of second-order moment, entropy, contrast and autocorrelation are calculated from different angles.
[0021] Optionally, after the step of extracting the visible light vegetation index features, color component features and texture features of the machine-picked cotton canopy RGB image, the step further includes:
[0022] The extracted visible light vegetation index features, color component features and texture features are respectively screened using a random forest method to obtain screened image features, wherein the screened image features include at least one visible light vegetation index feature, at least one color component feature and at least one texture feature.
[0023] Optionally, before the step of collecting the RGB image of the cotton canopy by the collecting machine, the step further includes:
[0024] Collect historical basic data of machine-picked cotton in the area to be monitored;
[0025] According to the historical basic data, a principal component analysis method is used to determine a comprehensive evaluation index of the defoliation effect of machine-picked cotton; the comprehensive evaluation index of the defoliation effect of machine-picked cotton is an index for evaluating the harvesting timing of machine-picked cotton;
[0026] According to the comprehensive evaluation index of defoliation effect of machine-picked cotton, a comprehensive evaluation standard threshold of defoliation effect of machine-picked cotton is calculated; the comprehensive evaluation standard threshold of defoliation effect of machine-picked cotton is a standard threshold for evaluating the harvesting timing of machine-picked cotton, and according to the comprehensive evaluation standard threshold of defoliation effect of machine-picked cotton and the defoliation effect evaluation value, it is judged whether the machine-picked cotton corresponding to the RGB image of the machine-picked cotton canopy is suitable for harvesting.
[0027] Optionally, the comprehensive evaluation index of the defoliation effect of machine-picked cotton is determined by principal component analysis based on the historical basic data, specifically including:
[0028] Performing standardization processing on the historical basic data to obtain a data matrix corresponding to the historical basic data;
[0029] According to the data matrix, a correlation matrix or a covariance matrix corresponding to the data matrix is calculated;
[0030] Determine the eigenvalues of the correlation matrix or the covariance matrix, and calculate the eigenvector corresponding to each of the eigenvalues;
[0031] Determine a principal component eigenvector according to the eigenvector, and calculate the contribution rate and cumulative contribution rate of the principal component eigenvector;
[0032] The comprehensive evaluation index of the machine-picked cotton defoliation effect is determined according to the contribution rate and cumulative contribution rate of the principal component eigenvector.
[0033] Optionally, the threshold value of the comprehensive evaluation standard of the defoliation effect of the machine-picked cotton is calculated based on the comprehensive evaluation index of the defoliation effect of the machine-picked cotton, and specifically includes:
[0034] According to the comprehensive evaluation index of the defoliation effect of machine-picked cotton, the threshold value of the comprehensive evaluation standard of the defoliation effect of machine-picked cotton is calculated by the following formula:
[0035] PCA1=0.9992×T+0.0008×C
[0036] Among them, PCA1 represents the comprehensive evaluation standard threshold of machine-picked cotton defoliation effect, T represents defoliation rate, and C represents yield.
[0037] Optionally, determining the harvesting time of the machine-picked cotton according to the defoliation effect evaluation value specifically includes:
[0038] Comparing the defoliation effect evaluation value with the threshold of the comprehensive evaluation standard for defoliation effect of machine-picked cotton, and judging whether the machine-picked cotton corresponding to the machine-picked cotton canopy RGB image is suitable for harvesting according to the comparison result, including:
[0039] When the defoliation effect evaluation value is greater than the threshold value of the comprehensive evaluation standard for defoliation effect of machine-picked cotton, it is determined that the machine-picked cotton corresponding to the machine-picked cotton canopy RGB image is suitable for harvesting;
[0040] When the defoliation effect evaluation value is less than or equal to the machine-picked cotton defoliation effect comprehensive evaluation standard threshold, it is determined that the machine-picked cotton corresponding to the machine-picked cotton canopy RGB image is not suitable for harvesting.
[0041] Optionally, the comprehensive evaluation index of the machine-picked cotton defoliation effect includes defoliation rate, boll opening rate and yield.
[0042] On the other hand, the present invention also proposes a comprehensive evaluation index monitoring and evaluation system for machine-picked cotton defoliation effect, comprising:
[0043] Machine-picked cotton canopy RGB image acquisition module, used to collect machine-picked cotton canopy RGB images;
[0044] An image feature extraction module is used to extract the visible light vegetation index feature, color component feature and texture feature of the machine-picked cotton canopy RGB image;
[0045] A model comprehensive evaluation module is used to input the visible light vegetation index feature, color component feature and texture feature into a trained machine-picked cotton defoliation effect comprehensive evaluation model, and output a defoliation effect evaluation value; the trained machine-picked cotton defoliation effect comprehensive evaluation model is an extreme learning machine model based on a particle swarm optimization algorithm, which is trained with the visible light vegetation index feature, color component feature and texture feature of the machine-picked cotton canopy RGB image as input and the defoliation effect evaluation value as output;
[0046] The machine-picked cotton harvesting time determination module is used to determine the machine-picked cotton harvesting time according to the defoliation effect evaluation value.
[0047] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0048] The present invention proposes a monitoring and evaluation method for comprehensive evaluation indicators of defoliation effect of machine-picked cotton. First, RGB images of machine-picked cotton canopies are collected, and then visible light vegetation index features, color component features and texture features of the RGB images of the machine-picked cotton canopies are extracted. The visible light vegetation index features, color component features and texture features are used as input, and output to a trained comprehensive evaluation model for defoliation effect of machine-picked cotton, and a defoliation effect evaluation value is output, so that the defoliation effect of the machine-picked cotton can be evaluated according to the defoliation effect evaluation value. The defoliation effect of the machine-picked cotton represents the harvesting timing of the machine-picked cotton, which directly determines whether the machine-picked cotton is suitable for harvesting. Therefore, whether the machine-picked cotton corresponding to the currently captured RGB image of the machine-picked cotton canopy is suitable for harvesting can be directly judged according to the defoliation effect evaluation value.
[0049] The present invention adopts an extreme learning machine model based on a particle swarm optimization algorithm as a comprehensive evaluation model for the defoliation effect of machine-picked cotton, and takes the visible light vegetation index characteristics, color component characteristics and texture characteristics of the RGB image of the machine-picked cotton canopy as model input, which can truly and effectively reflect the defoliation effect of machine-picked cotton, thereby being able to accurately and reliably judge the optimal harvesting time of machine-picked cotton, thereby improving the accuracy of monitoring and evaluation of the comprehensive evaluation indicators of the defoliation effect of machine-picked cotton, solving the problems of strong subjectivity and low accuracy of traditional methods, and being able to provide estimation technical support for research related to the defoliation effect of machine-picked cotton, and provide a reference for determining the optimal harvesting time of machine-picked cotton in agricultural production.
[0050] Moreover, after taking the RGB image of the machine-picked cotton canopy and extracting the image features, the present invention inputs the extracted features into the model to output a defoliation effect evaluation value. According to this value, it can be determined whether the current machine-picked cotton is suitable for harvesting. It is simpler and faster to use, thereby improving the efficiency of monitoring and evaluating the comprehensive evaluation indicators of the defoliation effect of machine-picked cotton, and solving the problems of long evaluation cycle and low efficiency of traditional methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, 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 creative work. The following drawings are not deliberately scaled according to the actual size, and the focus is on illustrating the main purpose of the present invention.
[0052] Figure 1 A flow chart of a method for monitoring and evaluating comprehensive evaluation indicators of defoliation effect of machine-picked cotton provided in Example 1 of the present invention;
[0053] Figure 2 A schematic diagram of a method for monitoring and evaluating comprehensive evaluation indicators of defoliation effect of machine-picked cotton provided in Example 1 of the present invention;
[0054] Figure 3 A network structure diagram of the extreme learning machine model provided in Example 1 of the present invention;
[0055] Figure 4 A schematic diagram of the relationship between the estimated value and the measured value of the cotton opening rate of the comprehensive evaluation model for the defoliation effect of machine-picked cotton provided in Example 1 of the present invention;
[0056] Figure 5 This is a schematic diagram of the structure of a comprehensive evaluation index monitoring and evaluation system for machine-picked cotton defoliation effect provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0057] 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 making creative work are within the scope of protection of the present invention.
[0058] As shown in the present invention and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular, but also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list, and the method or device may also include other steps or elements.
[0059] Although the present invention has made various references to certain modules in the system according to an embodiment of the present invention, any number of different modules can be used and run on a user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.
[0060] The present invention uses a flow chart to illustrate the operations performed by the system according to an embodiment of the present invention. It should be understood that the preceding or following operations are not necessarily performed precisely in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.
[0061] Cotton is one of the main cash crops in my country and the most important fiber crop in the textile industry. Cotton production plays an important role in international trade and national security, and is also an important source of income for cotton farmers. China is one of the major cotton-growing countries in the world. In 2020, the national cotton planting area reached 319,900 hectares. In order to reduce production costs, reduce the labor burden of farmers, and improve cotton harvesting efficiency, the planting area of machine-picked cotton has been gradually expanded in recent years. Spraying defoliants is a key technology for mechanized cotton harvesting. Spraying defoliants can promote the shedding of cotton leaves and the opening of cotton bolls, effectively reduce impurities in the harvesting process of machine-picked cotton, and improve harvesting efficiency and quality. In addition, the ripening ingredients contained in the defoliant can promote the opening of cotton bolls. In the Xinjiang cotton area, due to the low temperature in the late growth period, it is difficult to achieve a high boll opening rate in a short time, which can be promoted by spraying chemical adjuvants. Different factors such as the spraying time of defoliants and the concentration of defoliants have different effects on the defoliation effect of cotton. With the continuous increase in the planting area of machine-picked cotton, research on the defoliation effect of cotton has also gradually increased.
[0062] In agricultural production, the defoliation rate and boll opening rate are used as the basis for cotton harvesting. It is generally believed that when the defoliation rate of machine-picked cotton reaches more than 90% and the boll opening rate reaches more than 95%, mechanical harvesting can be carried out. Therefore, the ability to quickly and accurately monitor the defoliation rate, boll opening rate and yield of machine-picked cotton is crucial for the research on defoliants for machine-picked cotton and for judging the harvesting time of machine-picked cotton in field production. As the leaves of machine-picked cotton fall off and the bolls open, the color and texture characteristics of its canopy RGB image change significantly, with green information gradually decreasing and white information gradually increasing. Domestic and foreign scholars use various methods to analyze the changes in color and texture characteristics of crop canopy RGB images and carry out monitoring of crop leaf growth-related indicators. Remote sensing technology can achieve timely, dynamic and macroscopic monitoring, and has become an important means of monitoring crop growth information.
[0063] In recent years, with the continuous development of remote sensing technology, a large number of studies at home and abroad have been conducted on crop growth monitoring based on remote sensing technology. At present, common remote sensing methods include handheld spectrometers, drones and satellites. Ground spectral monitoring has the advantages of non-destructive and accurate, but due to the limitations of shooting range and instrument weight, its spatial scale is small and more suitable for mechanism research. Satellite remote sensing technology has become an important means of collecting various agricultural production data and has certain potential in crop growth monitoring. However, since its image resolution is mostly 10-60m, it is more suitable for large-scale monitoring. And the use of satellite sensors has defects such as high cost, low spatial resolution, long sampling cycle, and image quality affected by clouds. UAV low-altitude remote sensing platforms are becoming more and more popular in the development of precision agriculture. They have fast and repeated capture capabilities. At present, drones can carry more and more sensors, such as hyperspectral, thermal imaging, RGB, LiDAR, etc. Compared with satellite remote sensing, UAV remote sensing platforms are more flexible, low cost, less atmospheric influence, relatively high temporal and spatial resolution, and more suitable for small plot monitoring. Among the information that drones can obtain, digital images are the easiest and most common image information in our daily lives. The cost of obtaining information is low and they are widely used in crop growth monitoring. Among the sensors carried by drones, RGB cameras have the advantages of small size, high resolution, and simple information acquisition. RGB images can record the brightness (DN value) of the red, green, and blue bands, and perform color space conversion, calculate vegetation index, extract texture features, etc. based on this. Compared with spectral images or multi-source data fusion, RGB images have a small amount of data and are simple to process. High-resolution RGB images can be obtained through drones, and image information can be fully mined, which is more conducive to reducing monitoring costs and complexity.
[0064] The purpose of the present invention is to provide a method and system for monitoring and evaluating comprehensive evaluation indicators of machine-picked cotton defoliation effect, so as to improve the accuracy and efficiency of monitoring and evaluating comprehensive evaluation indicators of machine-picked cotton defoliation effect, and provide a reference for studying the defoliation effect of machine-picked cotton and determining the optimal harvesting time of machine-picked cotton.
[0065] 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.
[0066] Example 1
[0067] like Figure 1 and Figure 2 As shown, this embodiment provides a method for monitoring and evaluating comprehensive evaluation indicators of defoliation effect of machine-picked cotton, and the method specifically includes the following steps:
[0068] Step S1, collecting RGB images of the cotton canopy collected by the machine.
[0069] In this embodiment, a DJI Phantom 4 Advanced drone was used to collect RGB images of the machine-picked cotton canopy. The RGB images of the machine-picked cotton canopy were collected between 12:00 and 16:00. The collection time was one day before spraying the defoliant and every 3 days after spraying the defoliant until the 15th day, and one day before harvesting. The relevant parameters of the drone are shown in Table 1:
[0070] Table 1 Phantom 4 Advanced aerial photography drone parameters
[0071] parameter Numeric Drone weight 1368g Maximum flight time 30min sensor 1-inch CMOS, effective pixels 20 million Ground resolution 0.3cm focal length 24 Spectral band R, G, B
[0072] According to the requirements for aerial image stitching, this embodiment sets the overlap rate between adjacent routes to 80%, and the overlap rate between adjacent images in the direction to 80%. According to the image resolution requirements and flight software limitations, the flight altitude is set to 10 meters when collecting images. After determining the flight altitude and overlap rate, set the shooting area on the DIJ GO GSP software. When collecting images, the lens is pointed vertically downward. According to the weather during shooting, adjust the exposure time and ISO to fixed values. After route planning, automatically shoot to obtain the RGB image of the machine-picked cotton canopy.
[0073] In this embodiment, the size of the obtained RGB image of the machine-picked cotton canopy is 5472×3648 pixels, and the format is JPG. After the RGB image of the machine-picked cotton canopy is collected, the RGB image of the machine-picked cotton canopy is also spliced and cropped by Pix4Dmapper software. The software can automatically identify the GPS information of the image. After the processing is completed, the RGB orthophoto of the machine-picked cotton canopy is obtained and stored in TIFF format, retaining the grayscale information of the three colors of red (R), green (G), and blue (B) of the ground objects, with a numerical range of 0-255.
[0074] In this embodiment, before the cotton is sprayed with defoliant, 20 adjacent cotton plants with uniform and representative growth are selected in each treatment plot, and the number of leaves, the number of boll opening and the number of green bolls are investigated 3 days, 6 days, 9 days, 12 days and 15 days before and after the application of the defoliant, respectively. The number of drone photos is the same as the number of investigations, and the defoliation rate and the boll opening rate are calculated based on the investigation results. In addition, the actual yield of each test plot is obtained by manual harvesting before harvesting.
[0075] The calculation formulas for defoliation rate and fluff opening rate are:
[0076] Defoliation rate = [(number of leaves on cotton plants before treatment - number of leaves remaining during investigation) / number of leaves on cotton plants before treatment] × 100%
[0077] Floc opening rate = (number of floc opening / total number of bolls) × 100
[0078] It should be noted that the present invention does not limit the model, parameters, acquisition time, acquisition cycle, RGB image size and format of the drone, which can be set according to actual conditions.
[0079] Figure 2 The schematic diagram of the comprehensive evaluation index monitoring and evaluation method for the defoliation effect of machine-picked cotton of the present invention is shown, which includes the process of determining the defoliation effect evaluation index by using the principal component analysis method. Therefore, before the step of collecting the RGB image of the canopy of machine-picked cotton, this embodiment also includes the following steps:
[0080] Step A1: Collect historical basic data of machine-picked cotton in the area to be monitored, that is, conduct a field survey of the area to be monitored to obtain historical basic data of the area, including historical data of leaf removal rate, boll opening rate and yield.
[0081] Step A2: Based on the historical basic data, the principal component analysis (PCA) method is used to determine the comprehensive evaluation index of the defoliation effect of machine-picked cotton. The comprehensive evaluation index of the defoliation effect of machine-picked cotton is an index for evaluating the harvesting time of machine-picked cotton. The comprehensive evaluation index of the defoliation effect of machine-picked cotton includes defoliation rate, cotton opening rate and yield.
[0082] The present invention performs principal component analysis on the defoliation rate, boll opening rate and yield under different spraying time and spraying concentration conditions. The principal component analysis method is a data dimension reduction algorithm. Its main idea is to map n-dimensional features to k-dimensional, that is, to convert an n×m matrix into an n×k matrix, and only retain the main characteristics existing in the matrix, thereby greatly saving space and data volume.
[0083] Step A2 specifically includes:
[0084] Step A2.1: Standardize the historical basic data, that is, subtract the mean of the corresponding variable and divide it by its variance to obtain a data matrix corresponding to the historical basic data. The standardization is as follows:
[0085]
[0086] in, represents the mean of the corresponding variable, S j represents the variance of the corresponding variable, X ij ′ represents the standardized variable, X ij Represents the variables before standardization, thereby generating the standardized data matrix X.
[0087] Step A2.2: Based on the data matrix X, calculate the correlation matrix R corresponding to the data matrix X. X Or the covariance matrix Cov(X).
[0088] Step A2.3: Determine the eigenvalues of the correlation matrix or the covariance matrix, and calculate the eigenvector corresponding to each eigenvalue.
[0089] The correlation matrix R X For example, through the correlation matrix R X Characteristic equation of |R-λ I |=0, find m non-negative eigenvalues, arrange these eigenvalues in descending order, and then use formula (2) to get:
[0090]
[0091] Among them, λ I represents the eigenvalue of the correlation matrix, λ iI represents the i-th eigenvalue of the correlation matrix, α i Represents the eigenvector of the corresponding index, α i ′ is α i The inverse of , solve for each i-th eigenvalue λ iI The characteristic vector α corresponding to the index i , and then determine the main components according to formula (3):
[0092] X'=α i1 X 1 +α i2 X 2 +…+α im X m (3)
[0093] Among them, X' represents the principal component value, that is, the principal component score, X m represents the mth index; α im Represents the i-th eigenvector corresponding to the m-th index.
[0094] Step A2.4: Determine the principal component eigenvector according to the eigenvector, and calculate the contribution rate and cumulative contribution rate of the principal component eigenvector.
[0095] Among them, the calculation formula of the contribution rate of the i-th principal component is formula (4):
[0096]
[0097] Among them, λ i represents the i-th principal component feature, and m represents the number of features.
[0098] The calculation formula for the cumulative contribution rate of the first k principal components is as follows:
[0099]
[0100] Step A2.5: Determine the comprehensive evaluation index of the defoliation effect of the machine-picked cotton, including defoliation rate, boll opening rate and yield, according to the contribution rate and cumulative contribution rate of the principal component eigenvector.
[0101] Based on the principal component analysis method, the contribution rate and cumulative contribution rate of each component feature vector are calculated, as shown in Table 2:
[0102] Table 2 Contribution rate and cumulative contribution rate of principal component eigenvectors
[0103]
[0104] It can be seen from Table 2 that the contribution rate of using one component PCA1 can reach 96.51%, which proves that using PCA1 can achieve more than 95% of the defoliation effect information of the original data, and can be used to represent the defoliation rate, boll opening rate and yield as comprehensive evaluation indicators. In this embodiment, PCA1 is defined as the threshold value of the comprehensive evaluation standard for cotton picking defoliation effect, and its value is determined by comprehensive evaluation indicators such as defoliation rate, boll opening rate and yield.
[0105] Step A3: According to the comprehensive evaluation index of defoliation effect of machine-picked cotton, a threshold value of comprehensive evaluation standard of defoliation effect of machine-picked cotton is calculated. The threshold value of comprehensive evaluation standard of defoliation effect of machine-picked cotton is a standard threshold value for evaluating the harvesting time of machine-picked cotton. According to the threshold value of comprehensive evaluation standard of defoliation effect of machine-picked cotton and the defoliation effect evaluation value, it is judged whether the machine-picked cotton corresponding to the RGB image of the machine-picked cotton canopy is suitable for harvesting.
[0106] Table 3 shows the score coefficient matrix of each component, and the comprehensive score of PCA1 can be calculated based on the component score coefficient matrix.
[0107] Table 3 Principal component analysis component score coefficient matrix
[0108]
[0109]
[0110] In this embodiment, according to the comprehensive evaluation index of the defoliation effect of machine-picked cotton, the comprehensive evaluation standard threshold PCA1 of the defoliation effect of machine-picked cotton is calculated by formula (6):
[0111] PCA1=0.9992×T+0.0008×C (6)
[0112] Among them, PCA1 represents the comprehensive evaluation standard threshold of machine-picked cotton defoliation effect, T represents defoliation rate, and C represents yield.
[0113] It should be noted that the present invention uses defoliation rate, boll opening rate and yield as comprehensive evaluation indicators to predetermine the threshold value of the comprehensive evaluation standard for defoliation effect of machine-picked cotton. Since a large number of tests have determined that the coefficient of boll opening rate is approximately equal to 0, when calculating the threshold value PCA1 of the comprehensive evaluation standard for defoliation effect of machine-picked cotton, only defoliation rate and yield are used to simplify the calculation process. However, the standard for timely harvesting of machine-picked cotton stipulates that the defoliation rate must reach more than 90%, and the boll opening rate must reach more than 95% at the same time. Therefore, in actual application, the boll opening rate should still be used as an important indicator for evaluating the defoliation effect of machine-picked cotton.
[0114] Step S2: extracting the visible light vegetation index features, color component features and texture features of the machine-picked cotton canopy RGB image. Specifically comprising:
[0115] Step S2.1: Divide the RGB orthophoto image of the machine-picked cotton canopy according to the location of each test plot in the area to be monitored to obtain multiple regions of interest (ROIs).
[0116] Step S2.2, obtaining the digital quantization value (Digital Number, DN) of each color channel in each of the regions of interest, and calculating the average digital quantization value of each color channel; the color channels include an R channel, a G channel, and a B channel.
[0117] The information of the RGB orthophoto image includes the DN values of the three color channels of red, green, and blue. This embodiment uses Matlab2019a software to obtain the DN values of the three color channels of each area of interest and calculates the average DN value of each color channel.
[0118] Step S2.3, normalize the digital quantization value and the average digital quantization value of each color channel to calculate each color component value; the color component value is the normalized value of each color component in the RGB orthoimage, and each color component in the RGB orthoimage includes an r component, a g component, and a b component.
[0119] Step S2.4: Calculate the visible light vegetation index feature according to the values of each color component.
[0120] In this embodiment, the original DN values of the three color channels, R channel, G channel and B channel, are divided by the sum of the DN values of the three color channels, and the normalized values r, g and b of the three color components, r component, g component and b component, are calculated, as shown in equations (7), (8) and (9), respectively:
[0121]
[0122]
[0123]
[0124] The visible light vegetation index features selected in this embodiment include NGRDI, MGRVI, RGBVI, NDI, VARI, WI, CIVE, GLA, ExG, ExR, ExGR, GLI and NGBDI, and the color component features corresponding to the color space include R, G, B, r, g, b, Y, Cb, Cr and U, etc. The calculation formulas of each visible light vegetation index feature and color component feature are shown in Table 4:
[0125] Table 4 Expressions of color space and visible light vegetation index involved in the present invention
[0126]
[0127]
[0128] Step S2.5, perform color space model conversion on the RGB color space model corresponding to the color feature in each of the regions of interest to obtain a converted color space model, wherein the converted color space model includes an HSV color space model, a La*b* color space model, a YCrCb color space model and a YIQ color space model.
[0129] Step S2.6: extract the color component features in each color space model according to the converted color space model, and calculate the digital quantization value of each color component feature.
[0130] In this embodiment, the color features of each divided region of interest are converted from the RGB color space model to the HSV color space model, the La*b* color space model, the YCrCb color space model and the YIQ color space model, wherein the HSV color space model, the La*b* color space model and the YIQ color space model are calculated based on the rgb2hsv function, the rgb2lab function and the rgb2ntsc function in Matlab, and the conversion formulas of other parameters are shown in Table 4.
[0131] Step S2.7: Based on the gray-level co-occurrence matrix, the texture features of the second-order moment, entropy, contrast and autocorrelation are calculated from different angles.
[0132] Ultra-high-resolution images (ground resolution 0.3 cm) were obtained from a drone flying at an altitude of 10 meters. Four texture features calculated from four different angles (0°, 45°, 90°, and 135°) based on the gray-level co-occurrence matrix (GLMC) were selected, and the mean (mean) and variance (sd) of the four texture features at each angle were calculated. The three bands of the RGB image were calculated as grayscale values before calculating the texture features, as shown in Table 5.
[0133] The texture features used in this embodiment include second-order moment texture features, entropy texture features, contrast texture features and autocorrelation texture features. The meaning and calculation formula of each texture feature are as follows:
[0134] (1) Second-order moment (AngularSecondMoment, Asm) texture feature: It represents the change of image energy value, reflecting the uniformity of image grayscale distribution and texture coarseness. When the grayscale values of all pixels in the image are the same, the energy value is 1. The calculation formula is (10):
[0135] Asm=∑ i ∑ j P(i, j) 2 (10)
[0136] Among them, P(i, j) represents the grayscale value corresponding to the pixel point with abscissa i and ordinate j.
[0137] (2) Entropy (Ent) texture feature: reflects the complexity of the gray value distribution in the image. The larger the Ent value, the more complex the pixel distribution in the image, and the more dispersed the distribution of the same elements. The calculation formula is formula (11):
[0138] Ent=∑ i ∑ j P(i, j)logP(i, j) (11)
[0139] (3) Contrast (Con): reflects the clarity and texture depth of the image. The deeper the texture, the larger the Con, the clearer the image, and the greater the grayscale value variation between pixels. The calculation formula is (12):
[0140] Con=∑ i ∑ j P(i, j) 2 P(i,j) (12)
[0141] (4) Autocorrelation (Cor) texture feature: It reflects the predictable linear relationship between the grayscale values of two adjacent pixels in the window. The larger the Cor, the greater the predictability between pixels and the more uniform the grayscale value. The calculation formula is as follows:
[0142]
[0143] In this embodiment, let P x (i) = ∑ j=1 P(i, j), P y (j) = ∑ i=1 P(i, j), μ x and σ x Indicates P x (i); (i = 1, 2, ..., G) mean and variance of gray values; μ y and σ y Indicates P y (j); (j=1, 2, ..., G) mean and variance of gray values, where G represents the gray level of the image.
[0144] Table 5 Texture features and extraction angles extracted by the present invention
[0145]
[0146]
[0147] It should be noted that the present invention does not limit the specific categories of visible light vegetation index features, color component features and texture features. The above-mentioned visible light vegetation index features, color component features and texture features are merely examples and may also include other visible light vegetation index features, color component features and texture features, which should be set according to the actual RGB image of the machine-picked cotton canopy.
[0148] In this embodiment, after the step of extracting the visible light vegetation index characteristics, color component characteristics and texture characteristics of the machine-picked cotton canopy RGB image, the correlation between different characteristic parameters such as the visible light vegetation index characteristics, color component characteristics and texture characteristics extracted from the machine-picked cotton canopy RGB image and the machine-picked cotton defoliation rate, boll opening rate and yield can be analyzed, and characteristic parameters with no correlation or poor correlation can be removed, thereby not only simplifying the calculation process but also ensuring the accuracy of the comprehensive evaluation model of the machine-picked cotton defoliation effect as much as possible.
[0149] In addition, after extracting the visible light vegetation index feature, color component feature, and texture feature of the machine-picked cotton canopy RGB image, this embodiment may also include a step of screening the visible light vegetation index feature, color component feature, and texture feature, specifically:
[0150] The Random Forest (RF) method was used to screen the extracted visible light vegetation index features, color component features and texture features, respectively, and the feature parameters such as visible light vegetation index features, color component features and texture features that had no correlation or poor correlation with the defoliation rate, boll opening rate and yield of machine-picked cotton were removed to obtain the screened image features.
[0151] The random forest method is used to select some features from the relevant feature parameters as modeling parameters to reduce the amount of calculation and eliminate the overfitting problem. In addition, the image features after the screening include at least one visible light vegetation index feature, at least one color component feature, and at least one texture feature, so as to ensure that the machine-picked cotton defoliation effect can be evaluated based on the three feature dimensions of visible light vegetation index, color component, and texture feature, and the three features of visible light vegetation index, color component, and texture of the RGB image of the machine-picked cotton canopy, thereby improving the accuracy of the evaluation results.
[0152] In this embodiment, for the 39 feature information extracted from the high-resolution RGB images obtained by the drone (the average and variance of 4 texture features, 18 color components and 13 visible light vegetation indices), the 10 parameters with the highest contribution rate are selected as modeling objects based on the random forest method, and a comprehensive evaluation model for the defoliation effect of machine-picked cotton is constructed and trained. In practical applications, the RGB images of the machine-picked cotton canopy can be directly collected in real time, and the extracted visible light vegetation index, color component and texture features can be directly input into the pre-trained comprehensive evaluation model for the defoliation effect of machine-picked cotton, so that the corresponding defoliation effect evaluation value can be quickly output.
[0153] Random forest is an integrated machine learning algorithm that uses bootstrap and node classification techniques to resample and construct multiple unrelated decision trees, and generates the final classification result through voting. The random forest method can analyze the relationship between features with complex interactions, and has good robustness to noise and missing data, and has a faster learning speed. The importance of variables can be used as the basis for feature selection of high-dimensional data.
[0154] The present invention uses the random forest method to perform feature screening with two goals: to select highly dependent feature variables and to select feature variables with low dimensions that can better express the prediction results. In the random forest method, the Gini index and the error rate of OOB data are usually used to measure the importance of screening features. The feature screening results are shown in Table 6:
[0155] Table 6 Feature screening results
[0156]
[0157] It can be seen from Table 6 that three vegetation index features, three color component features and four texture features were screened out based on the random forest method. Among them, the texture feature Con-sd has the highest contribution rate, and the color component Cr has the lowest contribution rate.
[0158] Step S3: input the visible light vegetation index feature, color component feature and texture feature into the trained machine-picked cotton defoliation effect comprehensive evaluation model, and output the defoliation effect evaluation value.
[0159] The trained comprehensive evaluation model for the defoliation effect of machine-picked cotton is an extreme learning machine (ELM) model based on the particle swarm optimization algorithm (PSO) obtained by taking the visible light vegetation index characteristics, color component characteristics and texture characteristics of the RGB image of the machine-picked cotton canopy as input and the defoliation effect evaluation value as output.
[0160] Among them, the extreme learning machine is a single hidden layer feedforward neural network, and its learning speed is faster than that of the traditional feedforward neural network. The extreme learning machine consists of an input layer, a hidden layer, and an output layer. Figure 3 As shown in the figure, unlike traditional neural network algorithms, the goal of the extreme learning machine is to achieve the minimum training error and the minimum output weight norm. The weights of its hidden layer can be randomly generated without iterative optimization, which is suitable for real-time training. In addition, the extreme learning machine can handle complex data and make multiple highly correlated variables robust. The particle swarm optimization algorithm is a computational method that simulates the foraging behavior of birds, and finds the optimal solution through collaboration and information sharing between individuals in the group.
[0161] The comprehensive evaluation model for the defoliation effect of machine-picked cotton adopted by the present invention is a PSO-ELM model. After screening out three vegetation indexes, three color components and four texture features, these feature parameters are input into the trained PSO-ELM model. The extreme learning machine model includes an input layer, a hidden layer and an output layer. The particle swarm optimization algorithm is used to optimize the weight value of the input layer and the bias value of the hidden layer, which can reduce the number of hidden nodes required for each layer of the extreme learning machine and improve the generalization ability of the network after training. In the optimization process of the particle swarm optimization algorithm, parameters such as inertia weight, learning factor, maximum number of iterations and population size should be considered.
[0162] The process of particle swarm optimization algorithm includes:
[0163] (1) Initialization. Assuming that the particle swarm has n particles in total, initialize the particle swarm and assign a random initial position and velocity to each particle;
[0164] (2) Calculate the fitness value. According to the fitness function, calculate the fitness value of each particle;
[0165] (3) Calculate the individual best fitness value. For each particle, compare the fitness value of its current position with the fitness value corresponding to its historical best position. If the fitness value of the current position is higher, use the current position to update the historical best position.
[0166] (4) Find the optimal fitness value of the group. For each particle, compare the fitness value of its current position with the fitness value corresponding to its global optimal position. If the fitness value of the current position is higher, use the current position to update the global optimal position.
[0167] (5) Calculate and update the velocity and position of each particle. The calculation of the velocity and position of the particle is the same as in the prior art and will not be repeated here.
[0168] (6) Determine whether the algorithm has ended. If the end condition is not met, return to step (2). If the end condition is met, the algorithm ends and the global best position is the global optimal solution.
[0169] In the stage of establishing and training the model, the present invention obtains sample data based on the UAV and the ground, and obtains a total of 335 groups of samples (each group of samples includes 10 characteristic parameters screened out in step S2 and the corresponding PCA1, which are randomly divided into 201 samples as training sets and 134 samples as validation sets. The mean square error between the predicted value and the observed value of the test sample is used as the fitness of the particle swarm optimization algorithm, and the individual extreme value and the global extreme value are calculated. The position and speed of the particles are updated through the fitness iteration of the particle swarm optimization algorithm.
[0170] The present invention adopts the strategy of reducing the adaptive inertia weight, sets the maximum value of the inertia weight in the particle swarm optimization algorithm within the range of 1 to 2.5 to increase the probability of finding the global optimal peak value, and sets the minimum value within the range of -1 to -2.5 to allow the particles to slowly converge to the optimal value. Finally, the maximum and minimum values of the inertia weight are set to 1 and -1 respectively. The two learning rates are acceleration constants, and the optimal learning rates are found by testing with a step size of 0.1, and are finally set to 1.4945 and 1.3128. The maximum number of iterations is set to 50, and the population size is tested from 15 to 200 with a step size of 15. Then, the individual extreme values and global extreme values of the particles are updated until the minimum error is obtained or the maximum number of iterations is reached. Finally, the input layer weights and hidden layer bias values of the optimal results are used as input parameters of the extreme learning machine model.
[0171] The results are shown in Table 7. The R 2 =0.6801, RMSE =1.5754, rRMSE =51.08%; R 2=0.6805, RMSE=1.6257, rRMSE=56.90%. Figure 4 The linear relationship comparison between the true value and the predicted value of each model training set (Cal) and validation set (Val) is shown, where PF_PSO-ELM represents the extreme learning machine model based on random forest method and particle swarm optimization algorithm adopted by the present invention, that is, the comprehensive evaluation model of defoliation effect of machine-picked cotton. Figure 4 As shown, the linear trend between the model predicted values and the measured values is close to the 1:1 line, proving that the model can be used in practical applications.
[0172] Table 7 Comprehensive evaluation model of defoliation effect of machine-picked cotton
[0173]
[0174] The present invention adopts an extreme learning machine model based on the random forest method and the particle swarm optimization algorithm as a comprehensive evaluation model for the defoliation effect of machine-picked cotton, and takes the visible light vegetation index characteristics, color component characteristics and texture characteristics of the RGB image of the machine-picked cotton canopy as model input, which can truly and effectively reflect the defoliation effect of machine-picked cotton, thereby accurately and reliably judging the optimal harvesting time of machine-picked cotton, improving the accuracy of monitoring and evaluation of the comprehensive evaluation indicators of the defoliation effect of machine-picked cotton, and solving the problems of strong subjectivity and low accuracy of traditional methods.
[0175] Step S4: Determine the harvesting time of the machine-picked cotton according to the defoliation effect evaluation value.
[0176] The present invention obtains a defoliation effect evaluation value in step S3, and uses the defoliation effect evaluation value to evaluate the defoliation effect of the machine-picked cotton corresponding to the collected machine-picked cotton canopy RGB image, so as to determine whether the machine-picked cotton is suitable for harvesting. Specifically, it includes:
[0177] The defoliation effect evaluation value is compared with the threshold value of the comprehensive evaluation standard for defoliation effect of machine-picked cotton, and according to the comparison result, it is judged whether the machine-picked cotton corresponding to the RGB image of the machine-picked cotton canopy is suitable for harvesting. The judgment results include the following two types:
[0178] (1) when the defoliation effect evaluation value is greater than the threshold value of the comprehensive evaluation standard for defoliation effect of machine-picked cotton, it is determined that the machine-picked cotton corresponding to the RGB image of the machine-picked cotton canopy is suitable for harvesting;
[0179] (2) When the defoliation effect evaluation value is less than or equal to the threshold value of the comprehensive evaluation standard for the defoliation effect of machine-picked cotton, it is determined that the machine-picked cotton corresponding to the machine-picked cotton canopy RGB image is not suitable for harvesting.
[0180] In this embodiment, according to the standard for timely harvesting of machine-picked cotton, the cotton can be harvested when the defoliation rate reaches more than 90% and the boll opening rate reaches more than 95%. Taking the machine-picked cotton in Xinjiang as an example, the yield data comes from the cotton yield in the statistical yearbooks of Xinjiang and other corresponding regions. In this embodiment, the average seed cotton yield of Xinjiang cotton in the statistical yearbook is 360kg / mu. By substituting it into formula (6), the threshold PCA1 of the comprehensive evaluation standard for the defoliation effect of machine-picked cotton can be calculated. The PCA1 in this embodiment is 1.3225. It is easy to understand that the value of the threshold PCA1 of the comprehensive evaluation standard for the defoliation effect of machine-picked cotton in the present invention is 1.3225, which is only an example. It is a data listed in Xinjiang as an example, and the value of PCA1 is not fixed or unique. It should be determined according to the actual situation of the defoliation rate, boll opening rate and yield in the area to be tested.
[0181] In step S3, after the visible light vegetation index feature, color component feature and texture feature are input into the trained machine-picked cotton defoliation effect comprehensive evaluation model, a defoliation effect evaluation value PCA is output. p , the defoliation effect evaluation value PCA p The PCA1 threshold value of the comprehensive evaluation standard for the defoliation effect of machine-picked cotton is compared with the PCA1 threshold value. Based on the comparison result, it is possible to directly determine whether the defoliation effect of the machine-picked cotton corresponding to the currently collected RGB image of the machine-picked cotton canopy meets the standard and whether it is suitable for harvesting. p When PCA is >1.3225, it means that the defoliation effect is up to standard and it is suitable for harvesting. p When ≤1.3225, it means that the defoliation effect is not up to standard and it is not suitable for harvesting.
[0182] In order to prove the effectiveness of the method of the present invention, the following experiments were carried out in this example:
[0183] In the experiment, DJI Phantom4Advanced drone was used to collect RGB images of machine-picked cotton canopies covering 48 plots, and the visible light vegetation index, color component and texture features in the images were extracted. The extreme learning machine model based on random forest method and particle swarm optimization algorithm was used to invert the comprehensive evaluation index of defoliation effect at different times during the harvest period. The PCA1 value was used as the standard to judge the harvest time. p The PCA1 calculated by comparing the ground-measured defoliation rate, boll opening rate and yield processing with the discrimination accuracy of the RGB image inversion obtained by the UAV, the results show that monitoring 10 days before harvest, PCA pThe range was 1.2216-7.1434. The predicted value obtained by the comprehensive evaluation model of the defoliation effect of machine-picked cotton was overestimated by 1.3225-3.5717 compared with the actual value, resulting in the area that was actually unharvestable being judged as harvestable, and the area that was underestimated by 5.3576-7.1431. Monitoring was carried out 5 days before harvest, and PCA p The range of PCA was 1.2217-9.1019, and the judgment on whether it could be harvested was basically accurate. The comprehensive evaluation model of defoliation effect of machine-picked cotton only misjudged one unharvestable area as harvestable, but underestimated the higher area at the same time. Monitoring was carried out 1 day before harvest, and there was no misjudgment on whether it could be harvested, but there was still a large PCA p In summary, it is feasible to use high-resolution RGB images of machine-picked cotton canopies obtained by UAVs to monitor the comprehensive evaluation indicators of defoliation effect and determine the timing of harvesting.
[0184] The defoliation rate, boll opening rate and yield of machine-picked cotton play an important role in the field management of machine-picked cotton and the judgment of the best harvesting time. It is inevitable that errors will occur when judging the harvesting time with a single indicator. The present invention constructs a comprehensive indicator based on the three indicators of defoliation rate, boll opening rate and yield, defines the judgment criteria, and determines the threshold of the comprehensive evaluation standard for the defoliation effect of machine-picked cotton, which is of great value for the field management of machine-picked cotton and the judgment of the best harvesting time. In addition, traditional survey methods are mostly manual, which makes it difficult to achieve regional judgment and is not representative. Based on this, the present invention obtains the RGB image of the canopy of machine-picked cotton based on a drone, combines it with image feature extraction, and uses an extreme learning machine model based on the random forest method and the particle swarm optimization algorithm to output a defoliation effect evaluation value according to the visible light vegetation index characteristics, color component characteristics and texture characteristics of the RGB image of the canopy of machine-picked cotton. By comparing the defoliation effect evaluation value with the threshold of the comprehensive evaluation standard for the defoliation effect of machine-picked cotton, the monitoring of the comprehensive evaluation index of the defoliation effect and the judgment of the harvesting time can be realized, which can improve the accuracy and efficiency of the evaluation, provide estimation technical support for the research related to the defoliation effect of cotton picking, and provide a reference for determining the optimal harvesting time of machine-picked cotton in agricultural production.
[0185] Example 2
[0186] like Figure 5 As shown, this embodiment provides a monitoring and evaluation system for comprehensive evaluation indicators of defoliation effect of machine-picked cotton. The functions of each module of the system are the same as the steps of the method in Example 1 and correspond one to one. The system specifically includes:
[0187] Machine-picked cotton canopy RGB image acquisition module M1, used to collect machine-picked cotton canopy RGB images;
[0188] An image feature extraction module M2 is used to extract the visible light vegetation index feature, color component feature and texture feature of the machine-picked cotton canopy RGB image;
[0189] The model comprehensive evaluation module M3 is used to input the visible light vegetation index feature, color component feature and texture feature into the trained machine-picked cotton defoliation effect comprehensive evaluation model, and output the defoliation effect evaluation value; the trained machine-picked cotton defoliation effect comprehensive evaluation model is an extreme learning machine model based on the particle swarm optimization algorithm, which is trained with the visible light vegetation index feature, color component feature and texture feature of the machine-picked cotton canopy RGB image as input and the defoliation effect evaluation value as output;
[0190] The machine-picked cotton harvesting time determination module M4 is used to determine the machine-picked cotton harvesting time according to the defoliation effect evaluation value.
[0191] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined as such herein.
[0192] The above is an explanation of the present invention and should not be considered as a limitation thereof. Although several exemplary embodiments of the present invention have been described, it will be readily appreciated by those skilled in the art that many modifications may be made to the exemplary embodiments without departing from the novel teachings and advantages of the present invention. Therefore, all such modifications are intended to be included within the scope of the present invention as defined in the claims. It should be understood that the above is an explanation of the present invention and should not be considered as being limited to the specific embodiments disclosed, and modifications to the disclosed embodiments and other embodiments are intended to be included within the scope of the appended claims. The present invention is defined by the claims and their equivalents.
Claims
1. A method for monitoring and evaluating comprehensive evaluation indicators of defoliation effect of machine-picked cotton, characterized in that: include: RGB image of cotton canopy collected by a collection machine; Extracting visible light vegetation index features, color component features and texture features of the machine-picked cotton canopy RGB image; The visible light vegetation index feature, color component feature and texture feature are input into a trained comprehensive evaluation model for defoliation effect of machine-picked cotton, and a defoliation effect evaluation value is output; the trained comprehensive evaluation model for defoliation effect of machine-picked cotton is an extreme learning machine model based on a particle swarm optimization algorithm obtained by training with the visible light vegetation index feature, color component feature and texture feature of the RGB image of the machine-picked cotton canopy as input and the defoliation effect evaluation value as output, wherein the extreme learning machine model comprises an input layer, a hidden layer and an output layer, and the particle swarm optimization algorithm is used to optimize the weight value of the input layer and the bias value of the hidden layer; Determining the harvesting time of the machine-picked cotton according to the defoliation effect evaluation value; Before the step of collecting the RGB image of the cotton canopy by the machine, the step further includes: Collect historical basic data of machine-picked cotton in the area to be monitored; According to the historical basic data, a principal component analysis method is used to determine a comprehensive evaluation index of the defoliation effect of machine-picked cotton; the comprehensive evaluation index of the defoliation effect of machine-picked cotton is an index for evaluating the harvesting timing of machine-picked cotton; According to the comprehensive evaluation index of defoliation effect of machine-picked cotton, a threshold value of comprehensive evaluation standard for defoliation effect of machine-picked cotton is calculated; the threshold value of comprehensive evaluation standard for defoliation effect of machine-picked cotton is a standard threshold value for evaluating the harvesting time of machine-picked cotton, and according to the threshold value of comprehensive evaluation standard for defoliation effect of machine-picked cotton and the defoliation effect evaluation value, it is judged whether the machine-picked cotton corresponding to the RGB image of the machine-picked cotton canopy is suitable for harvesting; The threshold value of the comprehensive evaluation standard of the defoliation effect of the machine-picked cotton and the computer-picked cotton defoliation effect according to the comprehensive evaluation index of the machine-picked cotton defoliation effect specifically includes: According to the comprehensive evaluation index of the defoliation effect of machine-picked cotton, the threshold value of the comprehensive evaluation standard of the defoliation effect of machine-picked cotton is calculated by the following formula: PCA1=0.9992×T+0.0008×C; Among them, PCA1 represents the comprehensive evaluation standard threshold of machine-picked cotton defoliation effect, T represents defoliation rate, and C represents yield.
2. The method according to claim 1, characterized in that: After the step of collecting the RGB image of the cotton canopy by the machine, the step further includes: The RGB image of the machine-picked cotton canopy was spliced using Pix4Dmapper software to obtain an RGB orthophoto image of the machine-picked cotton canopy.
3. The method according to claim 2, characterized in that The extracting of the visible light vegetation index feature, color component feature and texture feature of the machine-picked cotton canopy RGB image specifically includes: According to the location of each experimental plot in the area to be monitored, the RGB orthophoto image of the machine-picked cotton canopy is divided to obtain multiple regions of interest; Obtaining digital quantization values of each color channel in each of the regions of interest, and calculating an average digital quantization value of each color channel; the color channels include an R channel, a G channel, and a B channel; Normalizing the digital quantization value and the average digital quantization value of each color channel to calculate each color component value; the color component value is the normalized value of each color component in the RGB orthophoto image, and each color component in the RGB orthophoto image includes an r component, a g component, and a b component; Calculating the visible light vegetation index feature according to the values of each color component; Performing color space model conversion on the RGB color space model corresponding to the color feature of each region of interest to obtain a converted color space model, wherein the converted color space model includes an HSV color space model, a La*b* color space model, a YCrCb color space model, and a YIQ color space model; According to the converted color space model, extract the color component features in each color space model, and calculate the digital quantization value of each color component feature; Based on the gray-level co-occurrence matrix, the texture features of second-order moment, entropy, contrast and autocorrelation are calculated from different angles.
4. The method according to claim 1, characterized in that: After the step of extracting the visible light vegetation index feature, color component feature and texture feature of the machine-picked cotton canopy RGB image, the method further includes the following steps: The extracted visible light vegetation index features, color component features and texture features are respectively screened using a random forest method to obtain screened image features, wherein the screened image features include at least one visible light vegetation index feature, at least one color component feature and at least one texture feature.
5. The method according to claim 1, characterized in that According to the historical basic data, the principal component analysis method is used to determine the comprehensive evaluation index of the defoliation effect of machine-picked cotton, which specifically includes: Performing standardization processing on the historical basic data to obtain a data matrix corresponding to the historical basic data; According to the data matrix, a correlation matrix or a covariance matrix corresponding to the data matrix is calculated; Determine the eigenvalues of the correlation matrix or the covariance matrix, and calculate the eigenvector corresponding to each of the eigenvalues; Determine a principal component eigenvector according to the eigenvector, and calculate the contribution rate and cumulative contribution rate of the principal component eigenvector; The comprehensive evaluation index of the machine-picked cotton defoliation effect is determined according to the contribution rate and cumulative contribution rate of the principal component eigenvector.
6. The method according to claim 1, characterized in that Determining the harvesting time of the machine-picked cotton according to the defoliation effect evaluation value specifically includes: Comparing the defoliation effect evaluation value with the threshold of the comprehensive evaluation standard for defoliation effect of machine-picked cotton, and judging whether the machine-picked cotton corresponding to the machine-picked cotton canopy RGB image is suitable for harvesting according to the comparison result, including: When the defoliation effect evaluation value is greater than the threshold value of the comprehensive evaluation standard for defoliation effect of machine-picked cotton, it is determined that the machine-picked cotton corresponding to the machine-picked cotton canopy RGB image is suitable for harvesting; When the defoliation effect evaluation value is less than or equal to the machine-picked cotton defoliation effect comprehensive evaluation standard threshold, it is determined that the machine-picked cotton corresponding to the machine-picked cotton canopy RGB image is not suitable for harvesting.
7. The method according to claim 1, characterized in that The comprehensive evaluation indexes of the defoliation effect of machine-picked cotton include defoliation rate, boll opening rate and yield.
8. A monitoring and evaluation system for comprehensive evaluation indexes of defoliation effect of machine-picked cotton, characterized in that: include: Machine-picked cotton canopy RGB image acquisition module, used to collect machine-picked cotton canopy RGB images; An image feature extraction module is used to extract the visible light vegetation index feature, color component feature and texture feature of the machine-picked cotton canopy RGB image; A model comprehensive evaluation module is used to input the visible light vegetation index feature, color component feature and texture feature into a trained machine-picked cotton defoliation effect comprehensive evaluation model, and output a defoliation effect evaluation value; the trained machine-picked cotton defoliation effect comprehensive evaluation model is an extreme learning machine model based on a particle swarm optimization algorithm, which is trained with the visible light vegetation index feature, color component feature and texture feature of the machine-picked cotton canopy RGB image as input and the defoliation effect evaluation value as output; A machine-picked cotton harvesting time determination module, used to determine the machine-picked cotton harvesting time according to the defoliation effect evaluation value; Before the step of collecting the RGB image of the cotton canopy by the machine, the method further includes: Collect historical basic data of machine-picked cotton in the area to be monitored; According to the historical basic data, a principal component analysis method is used to determine a comprehensive evaluation index of the defoliation effect of machine-picked cotton; the comprehensive evaluation index of the defoliation effect of machine-picked cotton is an index for evaluating the harvesting timing of machine-picked cotton; According to the comprehensive evaluation index of defoliation effect of machine-picked cotton, a threshold value of comprehensive evaluation standard for defoliation effect of machine-picked cotton is calculated; the threshold value of comprehensive evaluation standard for defoliation effect of machine-picked cotton is a standard threshold value for evaluating the harvesting time of machine-picked cotton, and according to the threshold value of comprehensive evaluation standard for defoliation effect of machine-picked cotton and the defoliation effect evaluation value, it is judged whether the machine-picked cotton corresponding to the RGB image of the machine-picked cotton canopy is suitable for harvesting; The threshold value of the comprehensive evaluation standard of the defoliation effect of the machine-picked cotton and the computer-picked cotton defoliation effect according to the comprehensive evaluation index of the machine-picked cotton defoliation effect specifically includes: According to the comprehensive evaluation index of the defoliation effect of machine-picked cotton, the threshold value of the comprehensive evaluation standard of the defoliation effect of machine-picked cotton is calculated by the following formula: PCA1=0.9992×T+0.0008×C; Among them, PCA1 represents the comprehensive evaluation standard threshold of machine-picked cotton defoliation effect, T represents defoliation rate, and C represents yield.
