Method and system for measuring rice leaf area index based on fusion information
By collecting images from drones and combining them with random forest and stepwise multiple regression algorithms, a multi-period rice leaf area index model is constructed, which solves the problem of low accuracy in extracting rice leaf area index in the existing technology and achieves high-precision and stable leaf area. Index measurement.
Patent Information
- Application Number
- CN202410644716.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The extraction method of rice leaf area index in the existing technology relies on human subjective factors, complex models or does not consider the differences of rice in different growth stages, resulting in low accuracy and difficulty in meeting practical application needs.
UAVs are used to collect RGB and multispectral images, and a multi-period rice leaf area index estimation model is constructed through preprocessing, spectral information extraction, multi-spatial scale resampling, random forests, and stepwise multiple regression algorithms to achieve high-precision leaf area index. Measurement.
It achieves high-precision and lossless extraction of rice leaf area index, reduces human subjectivity, improves the stability and applicability of the model, and adapts to changes in different growth periods.
Smart Images

Figure CN118628904A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of agricultural remote sensing, and in particular to a rice leaf area index measurement method and system based on fusion information. Background Art
[0002] As one of the important grains, rice yield monitoring and health status assessment are very important in daily crop management. Leaf area index (LAI) is closely related to the ability to intercept photosynthetically active radiation. It is a key variable to characterize photosynthesis, respiration and evaporation. It can be used as a good indicator to measure rice growth and reflect the nutritional level and productivity information of rice in the field.
[0003] At present, the extraction of rice leaf area index mainly relies on the following three methods: ① manual measurement, which is not only time-consuming, labor-intensive, and inefficient, but also has a great influence on the data results due to human subjective differences; ② simulation through physical models. Although this method has clear physical meaning, it involves many input parameters, the process is complex, and there is a "pathological inversion" problem, which is not convenient for practical application; ③ estimation through remote sensing technology. Although the rice leaf area index can be obtained quickly and non-destructively at different scales, due to the obvious morphological and structural differences of rice in different growth stages, the complexity of the field canopy observed at multiple scales is different, resulting in large differences in the accuracy of the models obtained in different studies, which is difficult to meet the needs of practical applications. Therefore, constructing a high-precision and stable leaf area index extraction model under different scale conditions is the main bottleneck and important task of remote sensing extraction of rice growth information. Summary of the invention
[0004] The invention provides a rice leaf area index measurement method and system based on fusion information, so as to solve the defects of the prior art in extracting rice leaf area index, such as over-reliance on human subjective factors, complex models or failure to consider the differences of rice in different growth stages by using remote sensing methods.
[0005] In a first aspect, the present invention provides a rice leaf area index measurement method based on fusion information, comprising:
[0006] Collecting UAV RGB images and multispectral images of the test area, and preprocessing the UAV RGB images and the multispectral images to obtain UAV RGB preprocessed images and multispectral preprocessed images;
[0007] Extracting spectral information from the UAV RGB pre-processed image and the multi-spectral pre-processed image to obtain a spectral index;
[0008] Based on the nearest neighbor method, the UAV RGB pre-processed image and the multi-spectral pre-processed image are resampled at multiple spatial scales to obtain an image with a specified spatial resolution, and texture features of the image with the specified spatial resolution at different spatial scales are calculated;
[0009] Using random forest and stepwise multiple regression algorithms, the spectral index and the texture features are used to construct and train a multi-period rice leaf area index estimation model;
[0010] The UAV RGB image and the multi-spectral image of the target area are input into the multi-period rice leaf area index estimation model to obtain the multi-period rice leaf area index measurement results.
[0011] A rice leaf area index measurement method based on fusion information provided by the present invention also includes:
[0012] According to the multi-period rice leaf area index estimation models corresponding to different measurement accuracies, the multi-period rice leaf area index estimation model with the highest accuracy is determined;
[0013] The most accurate multi-period rice leaf area index estimation model is used to apply a pixel-by-pixel model to the UAV RGB image and multispectral image of the target area, and a multi-period rice leaf area index map is output.
[0014] According to a rice leaf area index measurement method based on fusion information provided by the present invention, UAV RGB images and multispectral images of a test area are collected, and the UAV RGB images and the multispectral images are preprocessed to obtain UAV RGB preprocessed images and multispectral preprocessed images, including:
[0015] Determine the drone's aerial photography method and aerial photography route according to the rice field area, weather conditions and data acquisition requirements of the test area, and acquire the drone's RGB image and the multispectral image according to the aerial photography method and the aerial photography route;
[0016] Performing image stitching on the aerial images in the drone RGB image, stitching multiple aerial images into an orthophoto, importing the control point coordinates obtained by ground measurement into the orthophoto, manually marking based on the control point coordinates, completing image geometric correction, and forming the drone RGB preprocessed image;
[0017] The multispectral image is subjected to vignetting correction, band registration, distortion correction and radiation calibration in sequence to obtain the multispectral preprocessed image.
[0018] According to a rice leaf area index measurement method based on fusion information provided by the present invention, radiation calibration is performed on the multispectral image, including:
[0019] Determine multiple calibration blankets with different reflectivity;
[0020] Determine an area of interest according to the plurality of calibration blankets, and obtain an average pixel brightness value within the area of interest;
[0021] Determine the reflectance threshold, pixel brightness values in different bands, pixel brightness value fitting parameters and reflectance fitting parameters after radiation calibration;
[0022] If it is determined that the reflectivity after radiation calibration is less than or equal to the reflectivity threshold after radiation calibration, the reflectivity after radiation calibration is obtained by the brightness values of the pixels in the different bands and the pixel brightness value fitting parameters;
[0023] If it is determined that the reflectivity after radiation calibration is greater than the reflectivity threshold after radiation calibration, the reflectivity after radiation calibration is obtained by the pixel brightness values of the different bands, the pixel brightness value fitting parameters and the reflectivity fitting parameters.
[0024] According to a rice leaf area index measurement method based on fusion information provided by the present invention, spectral information is extracted from the UAV RGB pre-processed image and the multi-spectral pre-processed image to obtain a spectral index, including:
[0025] Extracting the RGB pixel brightness value of the field region from the RGB preprocessed image of the UAV, wherein the RGB pixel brightness value includes the blue band pixel brightness value, the green band pixel brightness value and the red band pixel brightness value of the RGB image;
[0026] Normalizing the blue band pixel brightness value, the green band pixel brightness value, and the red band pixel brightness value respectively to obtain a normalized blue band pixel brightness value, a normalized green band pixel brightness value, and a normalized red band pixel brightness value;
[0027] Using the normalized blue band pixel brightness value, the normalized green band pixel brightness value, and the normalized red band pixel brightness value, a super red index, a super green index, and a super blue index are obtained;
[0028] The normalized difference vegetation index, normalized red edge difference vegetation index, red edge chlorophyll index, green light chlorophyll index and visible light atmospheric impedance vegetation index are calculated based on the reflectance of the blue band, green band, red band, red edge band and near infrared band of the multispectral preprocessed image.
[0029] According to a rice leaf area index measurement method based on fusion information provided by the present invention, the drone RGB pre-processed image and the multi-spectral pre-processed image are subjected to multi-spatial scale resampling based on the nearest neighbor method to obtain a specified spatial resolution image, and the texture features of the specified spatial resolution image at different spatial scales are calculated, including:
[0030] Resample each band in the drone RGB preprocessed image and the multispectral preprocessed image to obtain an RGB image within a first preset spatial resolution range and a multispectral image within a second preset spatial resolution range;
[0031] The mean, variance, homogeneity, contrast, dissimilarity, entropy, second-order moment and correlation of each band in the RGB image of the first preset spatial resolution range and the multispectral image of the second preset spatial resolution range at the different spatial scales are calculated respectively to extract the regional texture features of the field.
[0032] According to a rice leaf area index measurement method based on fusion information provided by the present invention, a random forest and stepwise multiple regression algorithm is adopted, and the spectral index and the texture feature are used to construct and train a multi-period rice leaf area index estimation model, including:
[0033] Taking the spectral index and the texture feature as independent variables and measuring the rice leaf area index as the dependent variable, constructing a two-dimensional data matrix, and randomly dividing the two-dimensional data matrix into a validation set and a modeling set according to a preset ratio;
[0034] Performing correlation analysis on the two-dimensional data matrix to screen out spectral indices and texture features whose correlation coefficient values are greater than a specified coefficient value;
[0035] The random forest and stepwise multiple regression algorithms are used to construct an initial multi-period rice leaf area index estimation model using the spectral index and texture features screened in the modeling set, and the initial multi-period rice leaf area index estimation model is tested for accuracy using the validation set to obtain the multi-period rice leaf area index estimation model.
[0036] According to a rice leaf area index measurement method based on fusion information provided by the present invention, a random forest and stepwise multiple regression algorithm are used, and the spectral index and texture features screened in the modeling set are used to construct an initial multi-period rice leaf area index estimation model, and the initial multi-period rice leaf area index estimation model is tested for accuracy using the validation set to obtain the multi-period rice leaf area index estimation model, including:
[0037] Determining the screened spectral index and texture features in the modeling set and the validation set as explanatory variables, and the measured rice leaf area index as an explained variable;
[0038] Determine the field arrangement of the preset experimental period replicates, take one replicate in each period as the new validation set, and the replicates in the remaining periods as the new modeling set;
[0039] Using the sklearn module of Python software, calling RandomForestRegressor, determining the number and depth of trees in the random forest, and obtaining a random forest regression prediction value from the new modeling set;
[0040] Using the stepwise regression module in the social science statistical software package SPSS, the explanatory variables and the explained variables are determined, and the multivariate regression prediction values are obtained from the new modeling set;
[0041] The determination coefficient, root mean square error and relative root mean square error are respectively used to calculate the accuracy of the random forest regression prediction value and the multivariate regression prediction value to obtain the multi-period rice leaf area index estimation model.
[0042] In a second aspect, the present invention further provides a rice leaf area index measurement system based on fusion information, comprising:
[0043] An acquisition preprocessing module is used to acquire UAV RGB images and multispectral images of the test area, and preprocess the UAV RGB images and the multispectral images to obtain UAV RGB preprocessed images and multispectral preprocessed images;
[0044] An extraction module, used for extracting spectral information from the drone RGB pre-processed image and the multi-spectral pre-processed image to obtain a spectral index;
[0045] A resampling module is used to perform multi-spatial-scale resampling on the drone RGB pre-processed image and the multi-spectral pre-processed image based on the nearest neighbor method to obtain an image with a specified spatial resolution, and calculate texture features of the image with the specified spatial resolution at different spatial scales;
[0046] A training module, for constructing and training a multi-period rice leaf area index estimation model using the spectral index and the texture features by using a random forest and stepwise multivariate regression algorithm;
[0047] The measurement module is used to input the UAV RGB image and the multi-spectral image of the target area into the multi-period rice leaf area index estimation model to obtain the multi-period rice leaf area index measurement results.
[0048] In a third aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a rice leaf area index measurement method based on fusion information as described above is implemented.
[0049] The rice leaf area index measurement method and system based on fusion information provided by the present invention realize accurate estimation of the rice leaf area index by non-destructively extracting the rice leaf area index of multiple periods with high precision. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1 It is a schematic diagram of the flow of the rice leaf area index measurement method based on fusion information provided by the present invention;
[0052] Figure 2 It is a structural schematic diagram of a rice leaf area index measurement system based on fusion information provided by the present invention;
[0053] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] Figure 1 FIG. 1 is one of the flow charts of the rice leaf area index measurement method based on fusion information provided in an embodiment of the present invention. Figure 1 As shown, including:
[0056] Step 100: collecting UAV RGB images and multispectral images of the test area, and preprocessing the UAV RGB images and the multispectral images to obtain UAV RGB preprocessed images and multispectral preprocessed images;
[0057] Step 200: extracting spectral information from the drone RGB pre-processed image and the multi-spectral pre-processed image to obtain a spectral index;
[0058] Step 300: resampling the drone RGB preprocessed image and the multispectral preprocessed image at multiple spatial scales based on the nearest neighbor method to obtain an image with a specified spatial resolution, and calculating texture features of the image with the specified spatial resolution at different spatial scales;
[0059] Step 400: using the random forest and stepwise multiple regression algorithms, using the spectral index and the texture features, to construct and train a multi-period rice leaf area index estimation model;
[0060] Step 500: inputting the UAV RGB image and the multi-spectral image of the target area into the multi-period rice leaf area index estimation model to obtain the multi-period rice leaf area index measurement results.
[0061] The present invention realizes accurate estimation of rice leaf area index by non-destructively extracting rice leaf area index in multiple periods with high precision.
[0062] Based on the above embodiment, step 100 includes:
[0063] Determine the drone's aerial photography method and aerial photography route according to the rice field area, weather conditions and data acquisition requirements of the test area, and acquire the drone's RGB image and the multispectral image according to the aerial photography method and the aerial photography route;
[0064] Performing image stitching on the aerial images in the drone RGB image, stitching multiple aerial images into an orthophoto, importing the control point coordinates obtained by ground measurement into the orthophoto, manually marking based on the control point coordinates, completing image geometric correction, and forming the drone RGB preprocessed image;
[0065] The multispectral image is subjected to vignetting correction, band registration, distortion correction and radiation calibration in sequence to obtain the multispectral preprocessed image.
[0066] The step of performing radiometric calibration on the multispectral image includes:
[0067] Determine multiple calibration blankets with different reflectivity;
[0068] Determine an area of interest according to the plurality of calibration blankets, and obtain an average pixel brightness value within the area of interest;
[0069] Determine the reflectance threshold, pixel brightness values in different bands, pixel brightness value fitting parameters and reflectance fitting parameters after radiation calibration;
[0070] If it is determined that the reflectivity after radiation calibration is less than or equal to the reflectivity threshold after radiation calibration, the reflectivity after radiation calibration is obtained by the brightness values of the pixels in the different bands and the pixel brightness value fitting parameters;
[0071] If it is determined that the reflectivity after radiation calibration is greater than the reflectivity threshold after radiation calibration, the reflectivity after radiation calibration is obtained by the pixel brightness values of the different bands, the pixel brightness value fitting parameters and the reflectivity fitting parameters.
[0072] Specifically, the embodiment of the present invention first needs to design a drone aerial photography method and route according to the human-machine RGB and multispectral data acquisition scheme, based on the area of the rice field, weather conditions, data acquisition requirements, etc., to acquire drone RGB images and multispectral images.
[0073] Then, the UAV RGB images were preprocessed separately, including image stitching and geometric correction. Image stitching was performed in Pix4Dmapper software, and multiple aerial images were stitched into orthophotos. At the same time, the control point coordinate information obtained by ground measurement was imported, and the geometric correction process was completed by manually marking in different aerial images. The preprocessing of multispectral images includes vignetting correction, band registration, distortion correction and radiometric calibration. Except for radiometric calibration, the rest of the preprocessing processes are automatically completed in PixelWrech2 software. After the above steps are completed, the format of the UAV multispectral image is changed from RAW to Tif, which can be used for the next step of processing. The radiometric calibration is completed using a unified piecewise empirical linear method. Eight calibration blankets with known reflectivity (reflectivity of 3%, 6%, 12%, 24%, 36%, 48%, 56% and 80% respectively) are used for the radiometric calibration process. First, the area of interest is outlined according to the calibration blanket, and the average DN value in the area is counted, and then the radiometric calibration process is completed in combination with the known reflectivity. The specific calculation formula is as follows:
[0074]
[0075] Where y is the reflectivity after radiation calibration, x is the pixel brightness value (Digital Number, DN) of different bands, i is the band number from 1 to 12, and constants a and b are the corresponding parameters of the calibration blanket DN value and reflectivity fitting equation used.
[0076] Based on the above embodiment, step 200 includes:
[0077] Extracting the RGB pixel brightness value of the field region from the RGB preprocessed image of the UAV, wherein the RGB pixel brightness value includes the blue band pixel brightness value, the green band pixel brightness value and the red band pixel brightness value of the RGB image;
[0078] Normalizing the blue band pixel brightness value, the green band pixel brightness value, and the red band pixel brightness value respectively to obtain a normalized blue band pixel brightness value, a normalized green band pixel brightness value, and a normalized red band pixel brightness value;
[0079] Using the normalized blue band pixel brightness value, the normalized green band pixel brightness value, and the normalized red band pixel brightness value, a super red index, a super green index, and a super blue index are obtained;
[0080] The normalized difference vegetation index, normalized red edge difference vegetation index, red edge chlorophyll index, green light chlorophyll index and visible light atmospheric impedance vegetation index are calculated based on the reflectance of the blue band, green band, red band, red edge band and near infrared band of the multispectral preprocessed image.
[0081] Specifically, the embodiment of the present invention extracts the regional DN value of the field according to the RGB image and performs normalization processing, and the formula is as follows:
[0082] r=R / (R+G+B)
[0083] g=G / (R+G+B)
[0084] b=B / (R+G+B)
[0085] Where R, G, and B represent the DN values of the blue band, green band, and red band of the RGB image, respectively.
[0086] According to the normalized DN value and multispectral image, the regional spectral reflectance of the field is extracted and the spectral index is calculated. The specific calculation formula is as follows:
[0087] Super red index ExR = 1.4r-g
[0088] Super green index ExG = 1.4b-g
[0089] Super blue index ExB = 2g-r-b
[0090] Normalized difference vegetation index NDVI = (R800-R670) / (R800+R670)
[0091] Normalized Red Edge Difference Vegetation Index NDRE = (R800nm - R720nm) / (R800nm + R720)
[0092] Red Edge Chlorophyll Index CI red edge =R800 / R720-1
[0093] Green light chlorophyll index CI green =R800 / R550-1
[0094] Visible atmospheric impedance vegetation index VARI = (R550-R670) / (R550+R670-R490)
[0095] Where R490, R550, R670, R720, and R800 represent the reflectance of the blue band, green band, red band, red edge band, and near-infrared band of the multispectral image, respectively.
[0096] Based on the above embodiment, step 300 includes:
[0097] Resample each band in the drone RGB preprocessed image and the multispectral preprocessed image to obtain an RGB image within a first preset spatial resolution range and a multispectral image within a second preset spatial resolution range;
[0098] The mean, variance, homogeneity, contrast, dissimilarity, entropy, second-order moment and correlation of each band in the RGB image of the first preset spatial resolution range and the multispectral image of the second preset spatial resolution range at the different spatial scales are calculated respectively to extract the regional texture features of the field.
[0099] Specifically, in an embodiment of the present invention, the nearest neighbor method is used to resample each band of the drone RGB preprocessed image and the multispectral preprocessed image to obtain images with a spatial resolution of 1-48 cm for RGB images and 8-48 cm for multispectral images.
[0100] Furthermore, the texture information of each band in the UAV RGB preprocessed images and multispectral preprocessed images of different spatial scales was calculated, including the mean, variance, homogeneity, contrast, dissimilarity, entropy, second-order moment and correlation, and then the regional texture values of the rice fields were extracted.
[0101] Based on the above embodiment, step 400 includes:
[0102] Taking the spectral index and the texture feature as independent variables and measuring the rice leaf area index as the dependent variable, constructing a two-dimensional data matrix, and randomly dividing the two-dimensional data matrix into a validation set and a modeling set according to a preset ratio;
[0103] Performing correlation analysis on the two-dimensional data matrix to screen out spectral indices and texture features whose correlation coefficient values are greater than a specified coefficient value;
[0104] The random forest and stepwise multiple regression algorithms are used to construct an initial multi-period rice leaf area index estimation model using the spectral index and texture features screened in the modeling set, and the initial multi-period rice leaf area index estimation model is tested for accuracy using the validation set to obtain the multi-period rice leaf area index estimation model.
[0105] Among them, the random forest and stepwise multiple regression algorithms are used to construct an initial multi-period rice leaf area index estimation model using the spectral index and texture features screened in the modeling set, and the initial multi-period rice leaf area index estimation model is tested for accuracy using the validation set to obtain the multi-period rice leaf area index estimation model, including:
[0106] Determining the screened spectral index and texture features in the modeling set and the validation set as explanatory variables, and the measured rice leaf area index as an explained variable;
[0107] Determine the field arrangement of the preset experimental period replicates, take one replicate in each period as the new validation set, and the replicates in the remaining periods as the new modeling set;
[0108] Using the sklearn module of Python software, calling RandomForestRegressor, determining the number and depth of trees in the random forest, and obtaining a random forest regression prediction value from the new modeling set;
[0109] Using the stepwise regression module in the social science statistical software package SPSS, the explanatory variables and the explained variables are determined, and the multivariate regression prediction values are obtained from the new modeling set;
[0110] The determination coefficient, root mean square error and relative root mean square error are respectively used to calculate the accuracy of the random forest regression prediction value and the multivariate regression prediction value to obtain the multi-period rice leaf area index estimation model.
[0111] Specifically, correlation analysis was performed between the spectra and multi-scale textures extracted from UAV RGB imagery and multispectral image data and the measured LAI values. Based on the comparison of correlation coefficient values, the spectral indices and texture features with strong correlation with multi-period LAI, that is, those with a correlation coefficient with LAI greater than 0.5, were screened out. Random forest and multi-stepwise regression algorithms were used to construct an estimation model of the screened spectral indices and texture information and LAI based on the modeling set, and the validation set data was used to test its accuracy.
[0112] The specific model regression steps are:
[0113] 1) Define explanatory variables and explained variables. The selected spectral index and texture features are used as explanatory variables and named V1, V2, ..., and the rice LAI value is used as the explained variable.
[0114] 2) Determine the explanatory variables and explained variables included in the modeling set and the validation set. For example, according to the field arrangement of the three-repetition experiment, one repetition in each period is taken as the validation set, and the remaining two repetitions are taken as the modeling set;
[0115] 3) The random forest regression algorithm was used to predict the LAI value of rice. The sklearn module of Python software was used to call Random Forest Regressor, and random forest regression prediction was achieved by setting parameters such as the number and depth of trees.
[0116] 4) The stepwise multiple regression algorithm was used to predict the LAI value of rice. The stepwise regression module in SPSS software was used to automatically realize multiple regression prediction after selecting independent variables and dependent variables.
[0117] 5) Accuracy calculation, using the coefficient of determination R 2 , root mean square error RMSE and relative root mean square error RRMSE are used as indicators for evaluating model accuracy. The specific calculation formulas are as follows:
[0118]
[0119]
[0120]
[0121] Among them, and represent the measured value, estimated value and average value of rice LAI, respectively, and n is the sample size.
[0122] Finally, according to the prediction results of different parameters and different methods, the model with the highest accuracy was selected as the optimal model, and the optimal model was used to apply the pixel-by-pixel model to RGB or multispectral images to map rice LAI in multiple periods.
[0123] The rice leaf area index measurement system based on fusion information provided by the present invention is described below. The rice leaf area index measurement system based on fusion information described below and the rice leaf area index measurement method based on fusion information described above can correspond to each other.
[0124] Figure 2 FIG. 1 is a schematic diagram of a rice leaf area index measurement system based on fusion information provided by an embodiment of the present invention. Figure 3As shown, it includes: an acquisition preprocessing module 21, an extraction module 22, a resampling module 23, a training module 24 and a measurement module 25, wherein:
[0125] The acquisition preprocessing module 21 is used to acquire the UAV RGB images and multispectral images of the test area, and preprocess the UAV RGB images and the multispectral images to obtain the UAV RGB preprocessed images and the multispectral preprocessed images; the extraction module 22 is used to extract spectral information from the UAV RGB preprocessed images and the multispectral preprocessed images to obtain spectral indices; the resampling module 23 is used to perform multi-spatial scale resampling on the UAV RGB preprocessed images and the multispectral preprocessed images based on the nearest neighbor method to obtain images with specified spatial resolution, and calculate the texture features of the images with specified spatial resolution at different spatial scales; the training module 24 is used to adopt random forest and stepwise multivariate regression algorithms, use the spectral indices and the texture features, to construct and train a multi-period rice leaf area index estimation model; the measurement module 25 is used to input the UAV RGB images and multispectral images of the target area into the multi-period rice leaf area index estimation model to obtain multi-period rice leaf area index measurement results.
[0126] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor (processor) 310, a communication interface (Communications Interface) 320, a memory (memory) 330 and a communication bus 330, wherein the processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 330. The processor 310 can call the logic instructions in the memory 330 to execute the rice leaf area index measurement method based on fusion information, which includes: collecting drone RGB images and multispectral images of the test area, preprocessing the drone RGB images and the multispectral images to obtain drone RGB preprocessed images and multispectral preprocessed images; extracting spectral information from the drone RGB preprocessed images and the multispectral preprocessed images to obtain spectral indices; resampling the drone RGB preprocessed images and the multispectral preprocessed images at multiple spatial scales based on the nearest neighbor method to obtain images with specified spatial resolution, and calculating the texture features of the images with specified spatial resolution at different spatial scales; using random forest and stepwise multivariate regression algorithms, using the spectral indices and the texture features, to construct and train a multi-period rice leaf area index estimation model; inputting the drone RGB images and multispectral images of the target area into the multi-period rice leaf area index estimation model to obtain multi-period rice leaf area index measurement results.
[0127] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0128] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the rice leaf area index measurement method based on fusion information provided by the above methods, the method comprising: collecting drone RGB images and multispectral images of the test area, preprocessing the drone RGB images and the multispectral images to obtain drone RGB preprocessed images and multispectral preprocessed images; extracting spectral information from the drone RGB preprocessed images and the multispectral preprocessed images to obtain spectral indexes; resampling the drone RGB preprocessed images and the multispectral preprocessed images at multiple spatial scales based on the nearest neighbor method to obtain images with specified spatial resolution, and calculating the texture features of the images with specified spatial resolution at different spatial scales; using random forest and stepwise multivariate regression algorithms, using the spectral index and the texture features, to construct and train a multi-period rice leaf area index estimation model; inputting the drone RGB images and multispectral images of the target area into the multi-period rice leaf area index estimation model to obtain multi-period rice leaf area index measurement results.
[0129] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0130] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0131] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A rice leaf area index measurement method based on fusion information, characterized in that: include: Collecting UAV RGB images and multispectral images of the test area, and preprocessing the UAV RGB images and the multispectral images to obtain UAV RGB preprocessed images and multispectral preprocessed images; Extracting spectral information from the UAV RGB pre-processed image and the multi-spectral pre-processed image to obtain a spectral index; Based on the nearest neighbor method, the UAV RGB pre-processed image and the multi-spectral pre-processed image are resampled at multiple spatial scales to obtain an image with a specified spatial resolution, and texture features of the image with the specified spatial resolution at different spatial scales are calculated; Using random forest and stepwise multiple regression algorithms, the spectral index and the texture features are used to construct and train a multi-period rice leaf area index estimation model; The UAV RGB image and the multi-spectral image of the target area are input into the multi-period rice leaf area index estimation model to obtain the multi-period rice leaf area index measurement results.
2. The rice leaf area index measurement method based on fusion information according to claim 1, characterized in that: Also includes: According to the multi-period rice leaf area index estimation models corresponding to different measurement accuracies, the multi-period rice leaf area index estimation model with the highest accuracy is determined; The most accurate multi-period rice leaf area index estimation model is used to apply a pixel-by-pixel model to the UAV RGB image and multispectral image of the target area, and a multi-period rice leaf area index map is output.
3. The rice leaf area index measurement method based on fusion information according to claim 1, characterized in that: Collecting UAV RGB images and multispectral images of the test area, preprocessing the UAV RGB images and the multispectral images to obtain UAV RGB preprocessed images and multispectral preprocessed images, including: Determine the drone's aerial photography method and aerial photography route according to the rice field area, weather conditions and data acquisition requirements of the test area, and acquire the drone's RGB image and the multispectral image according to the aerial photography method and the aerial photography route; Performing image stitching on the aerial images in the drone RGB image, stitching multiple aerial images into an orthophoto, importing the control point coordinates obtained by ground measurement into the orthophoto, manually marking based on the control point coordinates, completing image geometric correction, and forming the drone RGB preprocessed image; The multispectral image is subjected to vignetting correction, band registration, distortion correction and radiation calibration in sequence to obtain the multispectral preprocessed image.
4. The rice leaf area index measurement method based on fusion information according to claim 3, characterized in that: Performing radiometric calibration on the multispectral image includes: Determine multiple calibration blankets with different reflectivity; Determine an area of interest according to the plurality of calibration blankets, and obtain an average pixel brightness value within the area of interest; Determine the reflectance threshold, pixel brightness values in different bands, pixel brightness value fitting parameters and reflectance fitting parameters after radiation calibration; If it is determined that the reflectivity after radiation calibration is less than or equal to the reflectivity threshold after radiation calibration, the reflectivity after radiation calibration is obtained by the brightness values of the pixels in the different bands and the pixel brightness value fitting parameters; If it is determined that the reflectivity after radiation calibration is greater than the reflectivity threshold after radiation calibration, the reflectivity after radiation calibration is obtained by the pixel brightness values of the different bands, the pixel brightness value fitting parameters and the reflectivity fitting parameters.
5. The rice leaf area index measurement method based on fusion information according to claim 1, characterized in that: Spectral information is extracted from the UAV RGB pre-processed image and the multi-spectral pre-processed image to obtain a spectral index, including: Extracting the RGB pixel brightness value of the field region from the RGB preprocessed image of the UAV, wherein the RGB pixel brightness value includes the blue band pixel brightness value, the green band pixel brightness value and the red band pixel brightness value of the RGB image; Normalizing the blue band pixel brightness value, the green band pixel brightness value, and the red band pixel brightness value respectively to obtain a normalized blue band pixel brightness value, a normalized green band pixel brightness value, and a normalized red band pixel brightness value; Using the normalized blue band pixel brightness value, the normalized green band pixel brightness value, and the normalized red band pixel brightness value, a super red index, a super green index, and a super blue index are obtained; The normalized difference vegetation index, normalized red edge difference vegetation index, red edge chlorophyll index, green light chlorophyll index and visible light atmospheric impedance vegetation index are calculated based on the reflectance of the blue band, green band, red band, red edge band and near infrared band of the multispectral preprocessed image.
6. The rice leaf area index measurement method based on fusion information according to claim 1, characterized in that: Based on the nearest neighbor method, the UAV RGB pre-processed image and the multi-spectral pre-processed image are resampled at multiple spatial scales to obtain an image with a specified spatial resolution, and texture features of the image with the specified spatial resolution at different spatial scales are calculated, including: Resample each band in the drone RGB preprocessed image and the multispectral preprocessed image to obtain an RGB image within a first preset spatial resolution range and a multispectral image within a second preset spatial resolution range; The mean, variance, homogeneity, contrast, dissimilarity, entropy, second-order moment and correlation of each band in the RGB image of the first preset spatial resolution range and the multispectral image of the second preset spatial resolution range at the different spatial scales are calculated respectively to extract the regional texture features of the field.
7. The rice leaf area index measurement method based on fusion information according to claim 1, characterized in that: A random forest and stepwise multiple regression algorithm is used to construct and train a multi-period rice leaf area index estimation model using the spectral index and the texture features, including: Taking the spectral index and the texture feature as independent variables and measuring the rice leaf area index as the dependent variable, constructing a two-dimensional data matrix, and randomly dividing the two-dimensional data matrix into a validation set and a modeling set according to a preset ratio; Performing correlation analysis on the two-dimensional data matrix to screen out spectral indices and texture features whose correlation coefficient values are greater than a specified coefficient value; The random forest and stepwise multiple regression algorithms are used to construct an initial multi-period rice leaf area index estimation model using the spectral index and texture features screened in the modeling set, and the initial multi-period rice leaf area index estimation model is tested for accuracy using the validation set to obtain the multi-period rice leaf area index estimation model.
8. The rice leaf area index measurement method based on fusion information according to claim 7, characterized in that: The random forest and stepwise multiple regression algorithms are used to construct an initial multi-period rice leaf area index estimation model using the spectral index and texture features screened in the modeling set, and the initial multi-period rice leaf area index estimation model is tested for accuracy using the validation set to obtain the multi-period rice leaf area index estimation model, including: Determining the screened spectral index and texture features in the modeling set and the validation set as explanatory variables, and the measured rice leaf area index as an explained variable; Determine the field arrangement of the preset experimental period replicates, take one replicate in each period as the new validation set, and the replicates in the remaining periods as the new modeling set; Using the sklearn module of Python software, calling RandomForestRegressor, determining the number and depth of trees in the random forest, and obtaining a random forest regression prediction value from the new modeling set; Using the stepwise regression module in the social science statistical software package SPSS, the explanatory variables and the explained variables are determined, and the multivariate regression prediction values are obtained from the new modeling set; The determination coefficient, root mean square error and relative root mean square error are respectively used to calculate the accuracy of the random forest regression prediction value and the multivariate regression prediction value to obtain the multi-period rice leaf area index estimation model.
9. A rice leaf area index measurement system based on fusion information, characterized in that: include: An acquisition preprocessing module is used to acquire UAV RGB images and multispectral images of the test area, and preprocess the UAV RGB images and the multispectral images to obtain UAV RGB preprocessed images and multispectral preprocessed images; An extraction module, used for extracting spectral information from the drone RGB pre-processed image and the multi-spectral pre-processed image to obtain a spectral index; A resampling module is used to perform multi-spatial-scale resampling on the drone RGB pre-processed image and the multi-spectral pre-processed image based on the nearest neighbor method to obtain an image with a specified spatial resolution, and calculate texture features of the image with the specified spatial resolution at different spatial scales; A training module, for constructing and training a multi-period rice leaf area index estimation model using the spectral index and the texture features by adopting a random forest and stepwise multivariate regression algorithm; The measurement module is used to input the UAV RGB image and the multi-spectral image of the target area into the multi-period rice leaf area index estimation model to obtain the multi-period rice leaf area index measurement results.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the rice leaf area index measurement method based on fusion information as described in any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Method and device for estimating flue-cured tobacco prosperity index based on unmanned aerial vehicle canopy spectrum and texture
CN119445404A
Method and device for estimating tobacco vigor index based on unmanned aerial vehicle canopy spectrum and texture
CN119445404B
Crop leaf area index estimation method based on unmanned aerial vehicle image processing
CN120431384A
Crop leaf area index estimation method based on unmanned aerial vehicle image processing
CN120431384B
Leaf area index estimation method and system based on dynamic feature weighting
CN120510204A
