Method and device for obtaining crop harvest suitability index, storage medium and electronic equipment
By acquiring and analyzing vegetation index time series data of crops, and using remote sensing technology and mathematical models, the problem of difficult prediction of crop harvest period has been solved, efficient and accurate harvest period prediction has been achieved, and crop yield and quality have been improved.
Patent Information
- Application Number
- CN202410823978.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-10
AI Technical Summary
Existing technology makes it difficult to accurately predict the harvest period of crops. As a result, harvesting too early or too late will affect yield and quality. Moreover, fixed-point ground observation methods are time-consuming and labor-intensive, making it difficult to achieve accurate predictions.
By obtaining vegetation index time series data of crop-related reference years and target years, remote sensing technology is used to calculate the normalized vegetation index or enhanced vegetation index, combined with curve fitting and variable parameter calculation, to determine the harvest date and construct harvest index constraints. , reduce computational complexity and improve prediction efficiency and accuracy.
It achieves accurate prediction of crop harvest period, reduces labor and material costs, improves crop yield and quality, simplifies the prediction process, and improves prediction efficiency and accuracy.
Smart Images

Figure CN118627746A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of remote sensing image application, and in particular to a method, device, storage medium and electronic device for obtaining a crop harvest suitability index. Background Art
[0002] In actual production, the time of harvesting crops (such as winter wheat) has a significant impact on their yield and quality. Harvesting too early or too late is not conducive to high yield and increased income.
[0003] At present, in order to improve the yield and quality of crops, the growth status of crops is observed at fixed points on the ground to predict maturity. However, due to the strong regional limitations, it takes a lot of time, manpower and material resources. In addition, the maturity of crops is affected by many factors, including genetic factors of the variety itself and ecological factors of the planting area. It is difficult to accurately predict the harvest period of crops based on existing methods alone.
[0004] Therefore, how to provide a more accurate technical solution for obtaining the crop harvest suitability index has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] The purpose of some embodiments of the present application is to provide a method, device, storage medium and electronic device for obtaining a crop harvest suitability index. Through the technical solutions of the embodiments of the present application, accurate prediction of the crop harvest suitability index can be achieved with high efficiency and reduced manpower and material costs.
[0006] In a first aspect, some embodiments of the present application provide a method for obtaining a crop harvest suitability index, comprising: obtaining vegetation index reference time series data of a reference year related to the crop, and obtaining vegetation index target time series data of a target year; and obtaining harvest data of the crop in the target year based on the vegetation index reference time series data and the vegetation index target time series data.
[0007] Some embodiments of the present application can determine the harvest data related to the crops in the target year by obtaining the reference time series data of the vegetation index corresponding to the reference year of the crops and the target time series data of the vegetation index corresponding to the target year. The prediction method is simple, the prediction accuracy and efficiency are high, and the manpower and material costs are reduced, providing support for improving the yield and quality of crops.
[0008] In some embodiments, obtaining the harvest data of the crop in the target year based on the vegetation index reference time series data and the vegetation index target time series data includes: determining a reference harvest date based on the vegetation index reference time series data; determining a target harvest date for the target year through the reference harvest date and the vegetation index target time series data; and determining the harvest data for the target year based on the target harvest date.
[0009] In some embodiments of the present application, after determining a reference harvest date through vegetation index reference time series data, a target harvest date can be determined based on this and vegetation index target time series data, and then the harvest data can be obtained. The computational complexity of the entire process is low, which improves the prediction efficiency.
[0010] In some embodiments, determining a reference harvest date based on the vegetation index reference time series data includes: performing curve fitting on the vegetation index reference time series data to obtain a vegetation index value; and calculating a maximum vegetation index value corresponding to the vegetation index value and the vegetation index reference time series data to obtain the reference harvest date.
[0011] Some embodiments of the present application obtain a reference harvest date by curve fitting and calculation of vegetation index reference time series data, thereby providing data support for subsequent data acquisition.
[0012] In some embodiments, determining the target harvest date of the target year through the reference harvest date and the vegetation index target time series data includes: calculating the vegetation index values corresponding to the vegetation index target time series data and the vegetation index reference time series data to obtain variable parameters; calculating the variable parameters and the reference harvest date to obtain the target harvest date.
[0013] Some embodiments of the present application determine variable parameters through vegetation index target time series data and vegetation index values, and then determine the target harvest date in combination with a reference harvest date, with low computational complexity and high accuracy.
[0014] In some embodiments, determining the harvest data of the target year based on the target harvest date includes: constructing a harvest index constraint related to the target harvest date; determining a weight coefficient of any day before the target harvest date; obtaining the harvest index of any day through the harvest index constraint and the weight coefficient; and obtaining the harvest data by counting the harvest indices within a preset range and the dates corresponding to the harvest indices.
[0015] Some embodiments of the present application obtain harvest data through harvest index constraints and weight coefficients, which reduces calculation complexity and improves calculation efficiency.
[0016] In some embodiments, obtaining vegetation index reference time series data of a reference year related to crops, and obtaining vegetation index target time series data of a target year, include: obtaining remote sensing data corresponding to the crop area; calculating the normalized vegetation index or enhanced vegetation index in a clear sky state through the remote sensing data, and obtaining the vegetation index reference time series data and the vegetation index target time series data.
[0017] Some embodiments of the present application obtain time series data of corresponding years through remote sensing data obtained by remote sensing technology, providing effective data support for subsequent acquisition of harvest data.
[0018] In a second aspect, some embodiments of the present application provide a device for obtaining a crop harvest suitability index, including: a vegetation data acquisition module, used to obtain vegetation index reference time series data of a reference year related to the crops, and to obtain vegetation index target time series data of a target year; a harvest data acquisition module, used to obtain the harvest data of the crops in the target year based on the vegetation index reference time series data and the vegetation index target time series data.
[0019] In a third aspect, some embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the method described in any embodiment of the first aspect.
[0020] In a fourth aspect, some embodiments of the present application provide an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor can implement a method as described in any embodiment of the first aspect when executing the program.
[0021] In a fifth aspect, some embodiments of the present application provide a computer program product, wherein the computer program product comprises a computer program, wherein the computer program, when executed by a processor, can implement the method described in any embodiment of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of some embodiments of the present application, the drawings required for use in some embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 One of the flow charts of the method for obtaining crop harvest suitability index provided in some embodiments of the present application;
[0024] Figure 2 A second flow chart of a method for obtaining a crop harvest suitability index provided in some embodiments of the present application;
[0025] Figure 3 A block diagram of a device for obtaining a crop harvest suitability index provided in some embodiments of the present application;
[0026] Figure 4 A schematic diagram of an electronic device is provided for some embodiments of the present application. DETAILED DESCRIPTION
[0027] The technical solutions in some embodiments of the present application will be described below in conjunction with the drawings in some embodiments of the present application.
[0028] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0029] In the related art, the maturity period of crops (for example, winter wheat, corn, rice, soybeans, etc.) is affected by many factors, including genetic factors of the variety itself and ecological factors of the planting area. In practice, crops are more affected by light, temperature and meteorological factors during the sowing period and the growth period. In order to improve the effective prediction of the maturity period of crops, model simulation is currently used to predict the harvest date by obtaining the parameters that need to be input. However, in practice, due to the large number of parameters required, a large range of model parameters are difficult to obtain. It can be seen from the above-mentioned related art that in the prior art, it is difficult to collect parameters when predicting the suitable harvesting conditions of crops, the complexity is high, and the accuracy of the prediction cannot be ensured.
[0030] In view of this, some embodiments of the present application provide a method for obtaining a crop harvest suitability index, which uses remote sensing technology to obtain vegetation index reference time series data of a reference year and vegetation index target time series data of a target year related to crops, and through the association between the two time series data, the harvest data of crops in the target year can be accurately obtained. Some embodiments of the present application can reduce complexity and cost, improve the accuracy and efficiency of crop maturity prediction, and have wide adaptability.
[0031] The following is combined with Figure 1The implementation process of obtaining the crop harvest suitability index provided by some embodiments of the present application is exemplified.
[0032] Please see attached Figure 1 , Figure 1 A flow chart of a method for obtaining a crop harvest suitability index is provided for some embodiments of the present application. The method for obtaining a crop harvest suitability index may include:
[0033] S110, obtaining vegetation index reference time series data of a reference year related to crops, and obtaining vegetation index target time series data of a target year.
[0034] For example, in some embodiments of the present application, by acquiring time series data of vegetation indices related to crops in reference years (or historical years) and target years, a basis is provided for predicting subsequent harvest index-related data.
[0035] In some embodiments of the present application, S110 may include: obtaining remote sensing data corresponding to the crop area; calculating the normalized vegetation index or enhanced vegetation index under a clear sky state through the remote sensing data, and obtaining the vegetation index reference time series data and the vegetation index target time series data.
[0036] For example, in some embodiments of the present application, the specific implementation process of S110 is explained by taking winter wheat as an example. Select a winter wheat planting area (as a specific example of a crop area) with a temporal resolution of at least 1 day and a spatial resolution of not less than 1000 meters, and collect remote sensing data with at least red light and near-infrared bands. The normalized difference vegetation index (NDVI) or enhanced vegetation index (EVI) under clear sky conditions is calculated using the remote sensing data to generate a time series remote sensing vegetation index image (i.e., vegetation index reference time series data or vegetation index target time series data).
[0037] Specifically, the remote sensing data of the reference year is processed as described above to obtain the reference time series data of the vegetation index of the reference year. The time span of the reference time series data of the vegetation index of the reference year at least covers the heading period to the harvest period of winter wheat. The remote sensing data of the target year is processed as described above to obtain the target time series data of the vegetation index of the target year. The time span of the target time series data of the vegetation index of the target year at least covers the heading period of winter wheat to at least m days before the average harvest period of the year. m is an empirical coefficient, for example, the recommended value of m can be 15.
[0038] S120, obtaining harvest data of the crop in the target year according to the vegetation index reference time series data and the vegetation index target time series data.
[0039] For example, in some embodiments of the present application, the time series data of the reference year is the basis for determining the target year, and the harvest data of the target year can be obtained through the two.
[0040] In some embodiments of the present application, S120 may include:
[0041] S121, determining a reference harvest date based on the vegetation index reference time series data.
[0042] In some embodiments of the present application, S121 may include: performing curve fitting on the vegetation index reference time series data to obtain a vegetation index value; calculating the vegetation index value and the maximum value of the vegetation index corresponding to the vegetation index reference time series data to obtain the reference harvest date.
[0043] For example, in some embodiments of the present application, let the number of vegetation index reference time series data corresponding to a pixel with a planting type of winter wheat be n, and the specific value be {x t1 , x t2 , ..., x tn}, the vegetation index value is recorded as f(t), tn is the time, and n is a positive integer. The vegetation index reference time series data is divided into an ascending stage and a descending stage with the maximum value of the vegetation index in the n data as the boundary. The Logistic function is used to fit the curve in the descending stage, and the fitting formula is:
[0044]
[0045] Where t is time, a and b are fitting parameters, d is the initial background value of the vegetation index, and c+d is the maximum value of the vegetation index. The vegetation index value reflects the spectral state of the vegetation canopy and is related to the growth and development period of crops. The background value reflects the vegetation index value of the plot observed by remote sensing after harvest or before sowing, which is equivalent to the control, and is replaced by the minimum value in the vegetation index reference time series data, or the average of several smaller values.
[0046] Let the reference harvest date be t0, and the specific acquisition formula is:
[0047]
[0048] Where w is an empirical parameter and the recommended value is 0.1.
[0049] S122, determining the target harvest date of the target year by using the reference harvest date and the vegetation index target time series data.
[0050] In some embodiments of the present application, S122 may include: calculating the vegetation index values corresponding to the vegetation index target time series data and the vegetation index reference time series data to obtain variable parameters; calculating the variable parameters and the reference harvest date to obtain the target harvest date.
[0051] For example, in some embodiments of the present application, let the number of vegetation index target time series data corresponding to a certain pixel of winter wheat in the target year be k (i.e., the number of data), and the specific value h(t) corresponding to each data be {y t1 ,y t2 , ..., y tk}, correspond the k data corresponding positions or adjacent positions to the reference year, and record the vegetation index value at the same time in the reference year as f(t). At this time, the calculation method of the target harvest date t1 is:
[0052]
[0053] In the formula, p1, p2, and p3 are variables to be optimized (as a specific example of variable parameters). The values of p1, p2, and p3 are obtained by solving the first formula. Then t1 can be obtained. Among them, t1 is the best harvest period of the target year. The suitable harvest index for this date and the days after this date is 1, and the suitable harvest index for other dates is less than 1.
[0054] S123, determining the harvest data of the target year based on the target harvest date.
[0055] In some embodiments of the present application, S123 may include: constructing a harvest index constraint condition related to the target harvest date; determining a weight coefficient of any day before the target harvest date; obtaining the harvest index of any day through the harvest index constraint condition and the weight coefficient; and obtaining the harvest data by counting the harvest index within a preset range and the date corresponding to the harvest index.
[0056] For example, in some embodiments of the present application, through the harvest index constraint condition related to the above-obtained t1, let the suitable harvest index of the tth day (as a specific example of any day) in the target year be k t , the relationship between the harvest index constraint and the harvest index is as follows:
[0057]
[0058] Where q is the empirical coefficient, and the recommended value is 2; p is the empirical coefficient, which is a positive integer, and the recommended value is 10.
[0059] Specifically, Weight coefficient wi =exp(q*(i-t1)),i=1,2,....p.
[0060] The relevant date data with the harvest index between 0 and 1 (as a specific example of the preset interval) are counted to obtain the harvest data that meets the requirements, that is, the harvest data contains the harvest index on a certain day in the target year.
[0061] It is understandable that the above-mentioned empirical coefficients are obtained through a large number of experiments and can be specifically adjusted according to the experimental conditions of actual crops. The embodiments of the present application are not limited thereto.
[0062] The following is combined with Figure 2 The implementation process of obtaining the crop harvest suitability index provided by some embodiments of the present application is exemplified.
[0063] Please see attached Figure 2 , Figure 2 A flow chart of a method for obtaining a crop harvest suitability index is provided for some embodiments of the present application.
[0064] The above process is explained below as an example.
[0065] S201, acquiring remote sensing data corresponding to the crop area.
[0066] S202, calculating the normalized vegetation index or enhanced vegetation index in a clear sky state through remote sensing data, and obtaining vegetation index reference time series data and vegetation index target time series data.
[0067] S203, performing curve fitting on the vegetation index reference time series data to obtain a vegetation index value.
[0068] S204, calculating the vegetation index value and the maximum value of the vegetation index corresponding to the vegetation index reference time series data to obtain a reference harvest date.
[0069] S205, calculating the vegetation index target time series data and the vegetation index value to obtain variable parameters.
[0070] S206, calculating the variable parameters and the reference harvest date to obtain the target harvest date.
[0071] S207, constructing harvest index constraints related to the target harvest date; and determining a weight coefficient for any day before the target harvest date.
[0072] S208, obtaining the harvest index of any day through the harvest index constraint condition and the weight coefficient.
[0073] S209, counting the harvest indexes within a preset range and the dates corresponding to the harvest indexes to obtain harvest data.
[0074] It should be noted that the specific implementation process of S201 to S209 can refer to the method embodiment provided above, and in order to avoid repetition, the detailed description is appropriately omitted here.
[0075] Please refer to Figure 3 , Figure 3 The block diagram of the composition of the device for obtaining the crop harvest suitability index provided by some embodiments of the present application is shown. It should be understood that the device for obtaining the crop harvest suitability index corresponds to the above method embodiment and can execute each step involved in the above method embodiment. The specific functions of the device for obtaining the crop harvest suitability index can be found in the description above. To avoid repetition, the detailed description is appropriately omitted here.
[0076] Figure 3 The device for obtaining a crop harvest suitability index includes at least one software function module that can be stored in a memory in the form of software or firmware or solidified in the device for obtaining a crop harvest suitability index. The device for obtaining a crop harvest suitability index includes: a vegetation data acquisition module 310, used to obtain vegetation index reference time series data of a reference year related to crops, and to obtain vegetation index target time series data of a target year; a harvest data acquisition module 320, used to obtain the harvest data of the crop in the target year based on the vegetation index reference time series data and the vegetation index target time series data.
[0077] In some embodiments of the present application, the harvest data acquisition module 320 is used to determine a reference harvest date based on the vegetation index reference time series data; determine a target harvest date for the target year through the reference harvest date and the vegetation index target time series data; and determine the harvest data for the target year based on the target harvest date.
[0078] In some embodiments of the present application, the harvest data acquisition module 320 is used to perform curve fitting on the vegetation index reference time series data to obtain a vegetation index value; and calculate the vegetation index maximum value corresponding to the vegetation index value and the vegetation index reference time series data to obtain the reference harvest date.
[0079] In some embodiments of the present application, the harvest data acquisition module 320 is used to calculate the vegetation index values corresponding to the vegetation index target time series data and the vegetation index reference time series data to obtain variable parameters; and calculate the variable parameters and the reference harvest date to obtain the target harvest date.
[0080] In some embodiments of the present application, the harvest data acquisition module 320 is used to construct a harvest index constraint condition related to the target harvest date; determine a weight coefficient of any day before the target harvest date; obtain the harvest index of any day through the harvest index constraint condition and the weight coefficient; and obtain the harvest data by counting the harvest index within a preset range and the date corresponding to the harvest index.
[0081] In some embodiments of the present application, the vegetation data acquisition module 310 is used to obtain remote sensing data corresponding to the crop area; through the remote sensing data, the normalized vegetation index or enhanced vegetation index under a clear sky state is calculated to obtain the vegetation index reference time series data and the vegetation index target time series data.
[0082] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.
[0083] Some embodiments of the present application further provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the operations of the method corresponding to any of the above methods provided in the above embodiments.
[0084] Some embodiments of the present application further provide a computer program product, which includes a computer program, wherein when the computer program is executed by a processor, it can implement the operations corresponding to any of the above methods provided in the above embodiments.
[0085] like Figure 4 As shown, some embodiments of the present application provide an electronic device 400, which includes: a memory 410, a processor 420, and a computer program stored in the memory 410 and executable on the processor 420, wherein the processor 420 can implement a method as described in any of the above embodiments when reading the program from the memory 410 through a bus 430 and executing the program.
[0086] Processor 420 can process digital signals and can include various computing structures, such as complex instruction set computer structure, reduced instruction set computer structure, or a structure that implements a combination of multiple instruction sets. In some examples, processor 420 can be a microprocessor.
[0087] The memory 410 may be used to store instructions executed by the processor 420 or data related to the execution of instructions. These instructions and / or data may include codes for implementing some or all functions of one or more modules described in the embodiments of the present application. The processor 420 of the disclosed embodiment may be used to execute instructions in the memory 410 to implement the method shown above. The memory 410 includes a dynamic random access memory, a static random access memory, a flash memory, an optical memory, or other memory known to those skilled in the art.
[0088] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0089] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0090] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A method for obtaining a crop harvest suitability index, characterized in that: include: Obtain reference time series data of vegetation indices for reference years related to crops, and obtain target time series data of vegetation indices for target years; The harvest data of the crop in the target year is obtained according to the vegetation index reference time series data and the vegetation index target time series data.
2. The method according to claim 1, characterized in that The step of obtaining the harvest data of the crop in the target year according to the vegetation index reference time series data and the vegetation index target time series data includes: Determining a reference harvest date based on the vegetation index reference time series data; Determining the target harvest date of the target year by using the reference harvest date and the vegetation index target time series data; Based on the target harvest date, the harvest data for the target year is determined.
3. The method according to claim 2, characterized in that The step of determining a reference harvest date based on the vegetation index reference time series data comprises: Performing curve fitting on the vegetation index reference time series data to obtain a vegetation index value; The vegetation index value and the maximum value of the vegetation index corresponding to the vegetation index reference time series data are calculated to obtain the reference harvest date.
4. The method according to claim 2 or 3, characterized in that Determining the target harvest date of the target year by using the reference harvest date and the vegetation index target time series data includes: Calculating the vegetation index values corresponding to the vegetation index target time series data and the vegetation index reference time series data to obtain variable parameters; The variable parameters and the reference harvest date are calculated to obtain the target harvest date.
5. The method according to claim 2 or 3, characterized in that: Determining the harvest data of the target year based on the target harvest date includes: constructing a harvest index constraint associated with the target harvest date; determining a weight factor for any day preceding the target harvest date; Obtaining the harvest index of any day through the harvest index constraint condition and the weight coefficient; The harvest indexes within a preset interval and the dates corresponding to the harvest indexes are counted to obtain the harvest data.
6. The method according to any one of claims 1 to 3, characterized in that The step of obtaining reference time series data of vegetation indices of a reference year related to crops and obtaining target time series data of vegetation indices of a target year includes: Acquiring remote sensing data corresponding to the crop area; The normalized vegetation index or enhanced vegetation index under a clear sky state is calculated through the remote sensing data to obtain the vegetation index reference time series data and the vegetation index target time series data.
7. A device for obtaining a crop harvest suitability index, characterized in that: include: The vegetation data acquisition module is used to acquire the reference time series data of the vegetation index of the reference year related to the crops, and acquire the target time series data of the vegetation index of the target year; The harvest data acquisition module is used to acquire the harvest data of the crop in the target year according to the vegetation index reference time series data and the vegetation index target time series data.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program executes the method according to any one of claims 1 to 6 when executed by a processor.
9. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the computer program executes the method according to any one of claims 1 to 6 when being run by the processor.
10. A computer program product, characterized in that The computer program product comprises a computer program, wherein the computer program executes the method according to any one of claims 1 to 6 when executed by a processor.
Citation Information
Cited By
Wheat suitable harvest time estimation method and device based on satellite remote sensing image and medium
CN118822050A
