Farmland plot crop yield prediction method

Through pyramid transformation and SVM prediction methods, farmland plot yield models at different resolutions are established, which solves the problems of long processing time of large scene data and information loss, achieves accurate prediction of farmland crop yield, and improves accuracy and efficiency.

CN118586535APending Publication Date: 2024-09-03CHINESE ACAD OF AGRI MECHANIZATION SCI GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310218805.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing technologies have problems with long processing time and information loss when processing large-scene farmland data, making it difficult to achieve efficient crop yield prediction.

Method used

A method based on pyramid transformation is used to establish learning models at different resolutions. The single-point feature vector is processed through the pyramid transformation model to generate a potential yield map. The SVM prediction method is combined with the SVM prediction method for yield prediction, and the resolution is improved layer by layer to obtain accuracy. production distribution map.

Benefits of technology

It improves the accuracy of crop yield prediction in farmland plots, reduces data processing time, solves the problems of information loss and long processing time, and achieves accurate prediction of farmland yield in large scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586535A
    Figure CN118586535A
Patent Text Reader

Abstract

The invention discloses a farmland plot crop yield prediction method. The method comprises the following steps: establishing a learning model of various growth factors and crop yields under different resolutions by using pyramid transformation; generating a potential yield map of large-area crops from low-resolution plot data for a large number of collected single-point feature vectors, and providing the potential yield map as prior information or context information for high-resolution crop growth data for processing; and predicting the crop yield of the farmland plot, subdividing the results in the medium and low resolution, and generating a yield distribution diagram of the whole farmland according to the yield prediction of a single point so as to obtain an accurate prediction value of the farmland yield of a large scene. According to the method, a variable-resolution data processing mode based on pyramid transformation is utilized, a single-pixel feature vector yield division prediction model is established, and the relationship among farmland plot feature parameters, crop growth vigor and yield is established, so that the global yield prediction condition of the farmland is obtained, the crop yield prediction precision is improved, and meanwhile, the crop yield prediction efficiency is improved. And the data processing time is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of precision agriculture intelligent decision-making, and in particular to a method for predicting crop yield of farmland plots based on pyramid transformation. Background Art

[0002] Accurate prediction of crop yield is one of the most important links in mechanized precision agriculture. The prediction results directly determine the prescription decision of subsequent agricultural machinery operation parameters. Diverse airborne sensors bring high-resolution farmland data, which can display the growth information of multiple or even single crops that is not available in low-resolution data. However, their growth conditions are greatly affected by the surrounding environment, so it is necessary to process large-scale farmland plot data with wide coverage and more information.

[0003] Large-scene farmland data takes up a lot of space. In order to speed up computer processing, block processing or some pixel-based processing methods are usually adopted. This solves the problem of large-scene data processing to a certain extent, but there are still problems such as long processing time and loss of contextual information. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a method for predicting crop yield of farmland plots based on pyramid transformation in view of the above-mentioned defects of the prior art.

[0005] In order to achieve the above object, the present invention provides a method for predicting crop yield of a farmland plot, which comprises the following steps:

[0006] S100, using pyramid transformation to establish a learning model of multiple growth factors and crop yields at different resolutions;

[0007] S200, generating a large-area crop potential yield map from low-resolution plot data using a large number of collected single-point feature vectors, and providing the map as prior information or context information to high-resolution crop growth data for processing; and

[0008] S300, predicting the crop yield of farmland plots, further subdividing the results in medium and low resolutions, and generating a yield distribution map of the entire farmland based on the yield prediction of a single point, so as to obtain an accurate prediction value of the farmland yield in a large scene.

[0009] In the above-mentioned method for predicting crop yields of farmland plots, step S100 comprises:

[0010] S101, acquiring characteristic data of farmland plots, and obtaining scale-uniform characteristic spatial data by scaling; and

[0011] S102: Building a pyramid transformation model, and setting the number of layers and down-sampling window size of the pyramid transformation model according to the relationship between the single-point data collection interval and the actual scale.

[0012] In the above-mentioned method for predicting crop yields of farmland plots, step S200 further comprises:

[0013] S201, top-level division of large-scale farmland data, classifying the yield of the region over the years, inputting the original data into the top-level to obtain low-resolution data, and roughly dividing the single-point feature vector; and

[0014] S202, the mixed pixels are divided again, and the boundary information is extracted by extracting the boundary information of the roughly divided production distribution data, and the data of the corresponding area in the next layer are divided again until all the original data of the bottom layer are processed.

[0015] In the above-mentioned method for predicting crop yields of farmland plots, when setting the number of layers of the pyramid transformation model in step S102, variable resolution processing is adopted between the layers, including:

[0016] S1021, performing smoothing filtering on the original data to make the amplitude distribution of the original data uniform, so as to prevent the original data information from being lost during the downsampling process;

[0017] S1022, downsample the rows and columns of the set layer data, and set the sampling scale to 2 n , get the low-resolution data of the previous layer; and

[0018] S1023. Calculate a set of differential images to record lost information so as to restore original data from the transformed image.

[0019] In the above-mentioned method for predicting crop yields of farmland plots, in step S1023, the difference between the i-th layer data and the i+1-th layer restored data is calculated so that the transformed detail images form a pyramid to restore the original data from any level.

[0020] In the above-mentioned method for predicting crop yields of farmland plots, the quantitative relationship between the number of layers N of the pyramid transformation model and the resolution r of the original data and the resolution R of the top layer data of the pyramid transformation model is as follows:

[0021]

[0022] Among them, INT(·) is a rounding operation.

[0023] In the above-mentioned method for predicting crop yield of farmland plots, in step S201, the SVM prediction method is used to perform a rough division of single-point feature vectors, including:

[0024] S2011, constructing a training set and a test set for the training model, and marking each sample in the training set according to the production grade of the year;

[0025] S2012, performing variable resolution processing on the labeled image of the training sample to match it with the training set of each layer; and

[0026] S2013, each layer trains a prediction model at the current resolution.

[0027] In the above method for predicting crop yields in farmland plots, if the filter window size is w, then the extra outer boundary width is:

[0028]

[0029] The overall corresponding area size W is:

[0030]

[0031] In the above-mentioned method for predicting crop yield of farmland plots, the inter-layer corresponding area of ​​a mixed pixel is a neighborhood of w+2 centered on the mixed pixel.

[0032] In the above-mentioned method for predicting crop yield of farmland plots, the characteristic data of the farmland plots include nutrient information of soil nitrogen, phosphorus and potassium content, soil moisture content, water potential, electrical conductivity and crop growth information.

[0033] The technical effects of the present invention are:

[0034] The present invention uses a variable resolution data processing method based on pyramid transformation to establish a single pixel feature vector yield division prediction model and establish the relationship between farmland plot feature parameters, crop growth and yield. The image can be transformed into a set of images with successively lower resolutions, so that according to the requirements of grade division of different yields, a suitable resolution can be selected for coarse division, and then the resolution can be increased layer by layer for finer division. By processing the feature vector of a single point position, the yield value of the point is predicted, thereby obtaining the global yield prediction of the farmland, improving the crop yield prediction accuracy while greatly reducing the data processing time.

[0035] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments, but is not intended to limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a working principle diagram of the present invention;

[0037] Figure 2 The figure is a flow chart of a method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0038] The structural principle and working principle of the present invention are described in detail below in conjunction with the accompanying drawings:

[0039] See also Figure 1 and Figure 2 , Figure 1 It is the working principle diagram of the present invention, Figure 2 The flowchart of the method of one embodiment of the present invention. For the set target area, the airborne sensor is used to obtain the original data of the farmland in the area and store it in the farmland database. For example, if the size of the selected regional farmland is about 14.5 acres, the sensor collection interval is 0.5s, the irradiation range is 50cm, and the row spacing is 75cm, the amount of data collected for a single feature in the area is about 25,000. The crop yield prediction method of the farmland plot of the present invention includes the following steps:

[0040] Step S100, using pyramid transformation to establish a learning model of multiple growth factors and crop yields at different resolutions;

[0041] Step S200, generating a large-area crop potential yield map from low-resolution plot data using a large number of collected single-point feature vectors, and providing the map as prior information or context information to high-resolution crop growth data for processing; and

[0042] Step S300, predict the crop yield of the farmland plot, further subdivide the results in the medium and low resolutions, and generate a yield distribution map of the entire farmland based on the yield prediction of a single point to obtain an accurate prediction value of the farmland yield in a large scene.

[0043] Wherein, step S100 further includes:

[0044] Step S101, obtaining original data, i.e., farmland plot characteristic data, from a database, and obtaining scale-uniform characteristic space data by scaling, wherein the farmland plot characteristic data specifically includes soil nitrogen, phosphorus, and potassium content nutrient information, soil water content, water potential, electrical conductivity, and crop growth information, etc.; and

[0045] Step S102: construct a pyramid transformation model, and set the number of layers and the size of the down-sampling window of the pyramid transformation model according to the relationship between the single-point data collection interval and the actual scale.

[0046] Step S200 further includes:

[0047] Step S201, top-level division of large-scale farmland data, classifying the yield of the region over the years, inputting the original data into the top-level to obtain low-resolution data, and roughly dividing the single-point feature vector; and

[0048] Step S202, the mixed pixel is re-divided by extracting the boundary information, the boundary information of the roughly divided production distribution data is extracted, and the data of the corresponding area in the next layer is re-divided until all the original data of the bottom layer is processed.

[0049] This embodiment uses the SVM prediction method to perform single-point feature vector prediction division, and the training model is divided into a training set and a test set. Each sample in the training set is labeled according to the production level of the year, and the original data is input into the top layer to obtain low-resolution data, and the original data is roughly divided. Among them, the labeled data of the training samples and test samples of the single-point feature vector prediction division are processed with variable resolution to match the training set of each layer, and each layer trains a prediction model at the current resolution. That is, in step S201, the SVM prediction method is used to perform single-point feature vector rough division, that is, the SVM prediction method is used with the original data production level setting, the training model is divided into a training set and a test set, each sample in the training set needs to be labeled according to the production level of the year, and the original data is input into the top layer to obtain low-resolution data, and the original data is roughly divided, including:

[0050] Step S2011, constructing a training set and a test set for the training model, and marking each sample in the training set according to the production grade of the year;

[0051] Step S2012, performing variable resolution processing on the labeled image of the training sample to match it with the training set of each layer; and

[0052] Step S2013: Each layer trains a prediction model at the current resolution.

[0053] In this embodiment, when setting the number of layers of the pyramid transformation model in step S102, variable resolution processing is adopted between layers, further comprising:

[0054] Step S1021, smoothing and filtering the original data, mainly to make the amplitude distribution of the original data more uniform, so as to prevent the main information of the original data from being lost in the downsampling process;

[0055] Step S1022: downsample the rows and columns of the set layer data. The sampling scale can be defined by yourself. For the convenience of processing, it is usually set to 2. n , thereby obtaining the low-resolution data of the previous layer; and

[0056] Step S1023: In order to restore the original data from the transformed image, a set of differential images is calculated to record the lost information, so as to restore the original data from the transformed image. In step S1023, the difference between the i-th layer data and the i+1-th layer restored data is calculated, and so on, so that the transformed detail image can also form a pyramid, so that no matter how many levels there are, the original data can be restored from any level.

[0057] That is, the layer data is set as layer i, and the rows and columns of the image are downsampled. The sampling scale is usually 2 for ease of processing. n , thus obtaining the i+1th layer of the pyramid; each layer of the transformed image is a blur of the original data, and the i+1th layer of data is upsampled to obtain restored data with the same resolution as the i-th layer; in order to restore the original data from the transformed image, it is necessary to calculate a set of differential data to record the lost information, that is, the difference between the i-th layer of data and the i+1th layer of restored data. Similarly, the detail image can also form a pyramid, so that no matter how many levels there are, the original data can be restored from any level. The quantitative relationship between the number of layers N of the pyramid transformation model and the resolution r of the original data and the resolution of the top layer of the pyramid transformation model is as follows:

[0058]

[0059] Among them, INT(·) is a rounding operation.

[0060] The inter-layer corresponding area of ​​a mixed pixel in this embodiment is the w+2 neighborhood centered on the mixed pixel. Assuming that the filter window is 3, and the middle pure color pixel is the pixel extracted in the i-th level, then the four pixels represented by the pixel must fall within its 3×3 neighborhood, and each pixel will affect the pixels in its window. The pure color pixel will affect the mixed pixel, but will not affect the middle pixel in the 3× neighborhood of the upper left corner. Therefore, the inter-layer corresponding area of ​​a mixed pixel is the 5× neighborhood centered on the pixel.

[0061] In general, if the filter window size is w, then the extra outer boundary width is:

[0062]

[0063] The overall corresponding area size W is:

[0064]

[0065] The present invention forms a farmland plot data set with soil information, climate information, and crop growth information necessary for crop growth collected by sensors, uses pyramid transformation to establish a learning model of multiple growth factors and crop yields at different resolutions, generates a large-area crop potential yield map from low-resolution plot data for a large number of collected single-point feature vectors, and provides it as prior information or context information to high-resolution crop growth data for processing, and then subdivides the results in medium and low resolutions to obtain a more accurate large-scene farmland yield prediction value. This variable resolution processing method solves the problems of information loss and long processing time caused by large-scene data segmentation or scaling processing to a certain extent, improves the accuracy of farmland plot yield prediction, and provides effective technical support for realizing precision agriculture intelligent decision-making.

[0066] Of course, the present invention may have many other embodiments. Without departing from the spirit and essence of the present invention, those skilled in the art may make various corresponding changes and modifications based on the present invention, but these corresponding changes and modifications should all fall within the scope of protection of the claims attached to the present invention.

Claims

1. A method for predicting crop yields in farmland plots, characterized in that: The steps include: S100, using pyramid transformation to establish a learning model of multiple growth factors and crop yields at different resolutions; S200, generating a large-area crop potential yield map from low-resolution plot data using a large number of collected single-point feature vectors, and providing the map as prior information or context information to high-resolution crop growth data for processing; as well as S300, predicting the crop yield of farmland plots, further subdividing the results in medium and low resolutions, and generating a yield distribution map of the entire farmland based on the yield prediction of a single point, so as to obtain an accurate prediction value of the farmland yield in a large scene.

2. The method for predicting crop yield of farmland plots according to claim 1, characterized in that: Step S100 includes: S101, acquiring characteristic data of farmland plots, and obtaining scale-uniform characteristic spatial data by scaling; and S102: Building a pyramid transformation model, and setting the number of layers and down-sampling window size of the pyramid transformation model according to the relationship between the single-point data collection interval and the actual scale.

3. The method for predicting crop yield of farmland plots according to claim 2, characterized in that: Step S200 further includes: S201, top-level division of large-scale farmland data, classifying the yield of the region over the years, inputting the original data into the top-level to obtain low-resolution data, and roughly dividing the single-point feature vector; and S202, the mixed pixels are divided again, and the boundary information is extracted by extracting the boundary information of the roughly divided production distribution data, and the data of the corresponding area in the next layer are divided again until all the original data of the bottom layer are processed.

4. The method for predicting crop yield of farmland plots according to claim 2 or 3, characterized in that: When setting the number of layers of the pyramid transformation model in step S102, variable resolution processing is adopted between layers, including: S1021, performing smoothing filtering on the original data to make the amplitude distribution of the original data uniform, so as to prevent the original data information from being lost during the downsampling process; S1022, downsample the rows and columns of the set layer data, and set the sampling scale to 2 n , get the low-resolution data of the previous layer; and S1023. Calculate a set of differential images to record lost information so as to restore original data from the transformed image.

5. The method for predicting crop yield of farmland plots according to claim 4, characterized in that: In step S1023, the difference between the i-th layer data and the i+1-th layer restored data is calculated so that the transformed detail images form a pyramid to restore the original data from any level.

6. The method for predicting crop yield of farmland plots according to claim 4, characterized in that: The quantitative relationship between the number of layers N of the pyramid transformation model, the resolution r of the original data, and the resolution R of the top layer data of the pyramid transformation model is as follows: Among them, INT(·) is a rounding operation.

7. The method for predicting crop yield of farmland plots according to claim 4, characterized in that: In step S201, a single-point feature vector is roughly divided using an SVM prediction method, including: S2011, constructing a training set and a test set for the training model, and marking each sample in the training set according to the production grade of the year; S2012, performing variable resolution processing on the labeled image of the training sample to match it with the training set of each layer; and S2013, each layer trains a prediction model at the current resolution.

8. The method for predicting crop yield of farmland plots according to claim 7, characterized in that: If the filter window size is w, then the extra outer boundary width is: The overall corresponding area size W is:

9. The method for predicting crop yield of farmland plots according to claim 8, characterized in that: The inter-layer corresponding area of ​​a mixed pixel is a neighborhood of w+2 centered on the mixed pixel.

10. The method for predicting crop yield of farmland plots according to claim 4, characterized in that: The farmland plot characteristic data include soil nitrogen, phosphorus, potassium content nutrient information, soil moisture content, water potential, electrical conductivity and crop growth information.