Method, device and storage medium for generating crop height growth curve
By identifying the vegetation covered areas and automatically calculating crop height using point cloud or digital surface model data, the problem of low generation efficiency of crop height growth curves is solved, and efficient crop management is achieved.
Patent Information
- Application Number
- CN202011642216.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2040-12-31
AI Technical Summary
In the prior art, the generation efficiency of crop height growth curves is low, requires a lot of manual measurement, affecting the crop itself and operating cumbersome.
By identifying the vegetation coverage area, obtaining location information, determining the elevation value of the crop using point cloud data or digital surface model data, and automatically compute and generate crop height growth curves.
A large-scale and automated crop height measurement has been achieved, the growth curve generation efficiency has been improved, and the precise management of crops has been supported.
Smart Images

Figure CN112700347B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a method, device and storage medium for generating a crop height growth curve. Background Art
[0002] At present, crop height is one of the important indicators for measuring the growth status of crops. It is usually done by manually measuring the crop height of crops in different growth periods to draw the crop height growth curve of crops. For example, when determining the crop height of crops, it is usually measured manually using measuring equipment. However, if there are many sampling points to be measured, the surveyor needs to go inside the planting area, set up the measuring equipment for measurement, and then use the measured crop height to draw the crop height growth curve of the crop, which makes the workload of generating the crop height growth curve particularly huge, which not only affects the crops themselves, but also the operation is cumbersome, so there is a technical problem of low efficiency in generating the crop height growth curve.
[0003] With respect to the above-mentioned technical problem of low efficiency in generating height growth curves of crops, no effective solution has been proposed so far. Summary of the invention
[0004] The embodiments of the present invention provide a method, device and storage medium for generating a crop height growth curve, so as to at least solve the technical problem of low efficiency in generating the crop height growth curve.
[0005] According to one aspect of an embodiment of the present invention, a method for generating a crop height growth curve is provided. The method may include: identifying at least one vegetation coverage area from a target area, wherein each vegetation coverage area corresponds to a crop, and the crop has multiple growth periods; obtaining first position information of at least one vegetation coverage area; for each vegetation coverage area and each growth period of the corresponding crop, determining the elevation value of the corresponding crop based on the first position information and the second position information of the point cloud data or digital surface model data of the target area; for each vegetation coverage area and each growth period of the corresponding crop, determining the height of the corresponding crop according to the elevation value of the corresponding crop; generating a crop height growth curve based on the height of the corresponding crop in multiple growth periods.
[0006] Optionally, a crop height growth curve is generated based on the heights of corresponding crops in multiple growing periods, including: for each vegetation-covered area, generating a crop growth curve for each vegetation-covered area based on the heights of corresponding crops in multiple growing periods; and / or for multiple vegetation-covered areas, determining a target crop height for each growth period based on the heights of the corresponding multiple crops in each growth period; generating crop height growth curves for multiple vegetation-covered areas based on the target crop heights for multiple growth periods.
[0007] Optionally, a target crop height for each growth period is determined based on the heights of the corresponding multiple crops in each growth period, including at least one of the following: determining the target crop height based on the median value of the heights of the corresponding multiple crops in each growth period; determining the target crop height based on the average value of the heights of the corresponding multiple crops in each growth period; determining the target crop height based on the maximum value of the heights of the corresponding multiple crops in each growth period; determining the target crop height based on the minimum value of the heights of the corresponding multiple crops in each growth period.
[0008] Optionally, based on the first position information and the second position information of the point cloud data of the target area, the elevation value of the corresponding crop is determined, including: based on the first position information and the second position information of the point cloud data, determining the vegetation point cloud data corresponding to the vegetation coverage area from the point cloud data; determining multiple first elevation values corresponding to the vegetation point cloud data; determining the height of the corresponding crop according to the elevation value of the corresponding crop, including: determining the height of the corresponding crop based on the multiple first elevation values.
[0009] Optionally, based on the first position information and the second position information of the point cloud data, vegetation point cloud data corresponding to the vegetation coverage area is determined from the point cloud data, including: determining the first target position information that is the same as the first position information from the second position information of the point cloud data; determining the point cloud data corresponding to the first target position information as the vegetation point cloud data; or displaying the first layer presented by the point cloud data; marking and displaying the first target position corresponding to the second position information of the point cloud data that is the same as the first position information in the first layer; obtaining the updated first target position based on the user's correction operation on the first target position; determining the point cloud data corresponding to the updated first target position as the vegetation point cloud data; or displaying the first layer presented by the point cloud data and the second layer corresponding to the vegetation coverage area; marking and displaying the alignment reference points corresponding to the set reference positions in the first layer and the second layer respectively; updating and displaying the first layer and the second layer based on the instruction for instructing to overlap the alignment reference points in the first layer and the alignment reference points in the second layer; determining the point cloud data corresponding to the area in the first layer that overlaps with the second layer as the vegetation point cloud data corresponding to the vegetation coverage area.
[0010] Optionally, determining the height of the corresponding crops based on multiple first elevation values includes: displaying a first layer presented by the point cloud data; displaying multiple first elevation values corresponding to the first target position at a first target position corresponding to second position information of the point cloud data that is the same as the first position information in the first layer; determining two first elevation values from the multiple first elevation values based on a user's selection operation of the multiple first elevation values; using the absolute value of the difference between the two first elevation values as the height of the crop; or selecting a maximum elevation value and a minimum elevation value from the multiple first elevation values, and determining the difference between the maximum elevation value and the minimum elevation value as the height of the crop.
[0011] Optionally, based on the first position information and the second position information of the digital surface model data of the target area, the elevation value of the corresponding crops is determined, including: based on the first position information and the second position information of the digital surface model data, determining the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data; determining the second elevation value corresponding to the first sub-digital surface model data; determining the height of the corresponding crops according to the elevation value of the corresponding crops, including: determining the height of the corresponding crops based on the second elevation value and the third elevation value of the ground on which the crops corresponding to each vegetation coverage area grow.
[0012] Optionally, based on the first position information and the second position information of the digital surface model data, determining first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data includes: determining second target position information identical to the first position information from the second position information of the digital surface model data; determining the digital surface model data corresponding to the second target position information as the first sub-digital surface model data; or displaying a third layer presented by the digital surface model data; marking and displaying in the third layer a second target position corresponding to the second position information of the digital surface model data identical to the first position information; and performing a correction operation on the second target position based on the user. , obtaining an updated second target position; determining the digital surface model data corresponding to the updated second target position as the first sub-digital surface model data; or displaying the third layer presented by the digital surface model data and the second layer corresponding to the vegetation coverage area; marking and displaying the alignment reference points corresponding to the set reference positions in the third layer and the second layer respectively; updating and displaying the third layer and the second layer based on the instruction for instructing to overlap the alignment reference points in the third layer and the alignment reference points in the second layer; determining the digital surface model data corresponding to the area in the third layer that overlaps with the second layer as the first sub-digital surface model data corresponding to the vegetation coverage area.
[0013] Optionally, based on the second elevation value and the third elevation value of the ground where the crops corresponding to each vegetation coverage area grow, the height of the corresponding crops is determined, including: displaying a third layer presented by the digital surface model data; displaying multiple fourth elevation values corresponding to the second target position at the second target position corresponding to the second position information of the digital surface model data that is the same as the first position information in the third layer; based on a user's selection operation of the multiple fourth elevation values, determining the second elevation value from the multiple fourth elevation values; using the difference between the second elevation value and the third elevation value as the height of the crop; or selecting the maximum elevation value from the multiple fourth elevation values corresponding to the first sub-digital surface model data; determining the maximum elevation value as the second elevation value; and using the difference between the second elevation value and the third elevation value as the height of the crop.
[0014] Optionally, before determining the height of the corresponding crops based on the second elevation value and the third elevation value of the ground where the crops corresponding to each vegetation coverage area grow, the method also includes: determining a surrounding area of the area corresponding to the first sub-digital surface model data in the target area, wherein the surrounding area is not covered with crops; obtaining second sub-digital surface model data corresponding to the surrounding area in the digital surface model data; obtaining multiple fifth elevation values corresponding to the second sub-digital surface model data; and determining the third elevation value based on the multiple fifth elevation values.
[0015] Optionally, before obtaining the first position information of at least one vegetation coverage area, the method also includes: determining an area in the target area that meets the target conditions as a vegetation coverage area; wherein the target conditions include any one of the following: a vegetation coverage index greater than a first threshold, a leaf area index greater than a second threshold; or, identifying an area where crops are located based on an image of the target area to obtain a vegetation coverage area.
[0016] According to another aspect of an embodiment of the present invention, a device for generating a crop height growth curve is also provided. The device may include: an identification unit for identifying at least one vegetation coverage area from a target area, wherein each vegetation coverage area corresponds to a crop, and the crop has multiple growth periods; an acquisition unit for acquiring first position information of at least one vegetation coverage area; a first determination unit for determining the elevation value of the corresponding crop for each vegetation coverage area and each growth period of the corresponding crop based on the first position information and the second position information of the point cloud data or digital surface model data of the target area; a second determination unit for determining the height of the corresponding crop for each vegetation coverage area and each growth period of the corresponding crop according to the elevation value of the corresponding crop; and a generation unit for generating a crop height growth curve based on the height of the corresponding crop in multiple growth periods.
[0017] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for generating a crop height growth curve according to an embodiment of the present invention.
[0018] According to another aspect of an embodiment of the present invention, an electronic device is provided, which includes a processor and a memory for storing programs; when the processor executes the program, the method for generating a crop height growth curve according to an embodiment of the present invention is implemented.
[0019] In an embodiment of the present invention, at least one vegetation-covered area is identified from a target area, wherein each vegetation-covered area corresponds to a crop, and the crop has multiple growth periods; the first position information of at least one vegetation-covered area is obtained; for each vegetation-covered area and each growth period of the corresponding crop, the elevation value of the corresponding crop is determined based on the first position information and the second position information of the point cloud data or digital surface model data of the target area; for each vegetation-covered area and each growth period of the corresponding crop, the height of the corresponding crop is determined according to the elevation value of the corresponding crop; and the crop height growth curve is generated based on the height of the corresponding crop in multiple growth periods. That is, the present application determines the elevation value of the corresponding crop for each vegetation-covered area, determines the height of the corresponding crop in each growth period according to the elevation value of the corresponding crop, and then generates the crop height growth curve based on the height of the corresponding crop in multiple growth periods, so that the crop curve of the crop can be measured in a large range and automatically to support the precise management of the crop, solves the technical problem of low efficiency in generating the crop height growth curve, and achieves the technical effect of improving the efficiency of generating the crop height growth curve. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0021] Figure 1 is a flow chart of a method for generating a crop height growth curve according to an embodiment of the present invention;
[0022] Figure 2 is a schematic diagram of a vegetation coverage range according to an embodiment of the present invention;
[0023] Figure 3 is a schematic diagram of a crop height growth curve according to an embodiment of the present invention; and
[0024] Figure 44 is a schematic diagram of a device for generating a crop height growth curve according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] Example 1
[0028] According to an embodiment of the present invention, an embodiment of a method for generating a crop height growth curve is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0029] Figure 1 FIG. 1 is a flow chart of a method for generating a crop height growth curve according to an embodiment of the present invention. Figure 1 As shown, the method may include the following steps:
[0030] Step S102: identifying at least one vegetation-covered area from the target area.
[0031] In the technical solution provided in the above step S102 of the present invention, each vegetation coverage area corresponds to a crop, and the crop has multiple growth periods.
[0032] In this embodiment, the target area includes at least one vegetation-covered area, each of which is planted with a crop of which the height is to be determined, and has multiple growth periods, which may include a lag phase, a logarithmic phase, a stationary phase, and a decay phase. Optionally, at least one vegetation-covered area in the target area constitutes a super green area portion of the target area.
[0033] This embodiment can identify the characteristic data of crops, for example, the characteristic data of the crops to be determined can be identified through a feature extraction network, and the feature extraction network can be obtained by training image samples and the characteristic data corresponding to the image samples through deep learning. After the characteristic data is identified, at least one vegetation coverage area can be identified in the target area based on the characteristic data, for example, the area in the target area including the characteristic data is determined as the at least one vegetation coverage area.
[0034] Optionally, this embodiment can collect images of the target area through an image acquisition device, and can use artificial intelligence (AI) technology to identify vegetation images from the images of the target area based on feature data, and the vegetation images include images of crops whose heights are to be determined. Optionally, this embodiment can pre-collect a large number of image samples containing vegetation-covered areas, and can manually annotate a certain range of vegetation-covered areas in the image samples, set the annotation results as labels of the image samples, and then train the sub-neural network model through the image samples and the corresponding labels to obtain a target neural network model, wherein the target neural network model takes the image to be identified as input and outputs the result of the vegetation image in the image. After the target neural network model is trained, the image of the target area is input into the target neural network model, and the image of the target area is identified by the target neural network model, thereby outputting the vegetation image in the target area, and then determining the area corresponding to the vegetation image in the target area as at least one vegetation-covered area.
[0035] Step S104: Acquire first position information of at least one vegetation covered area.
[0036] In the technical solution provided in the above step S104 of the present invention, after identifying at least one vegetation-covered area from the target area, first position information of the at least one vegetation-covered area is acquired.
[0037] This embodiment obtains first position information of at least one vegetation-covered area in the target area. The first position information may be pixel position data, such as pixel coordinates, used to indicate the position of the vegetation-covered area.
[0038] Step S106, for each vegetation coverage area and each growth period of the corresponding crop, determine the elevation value of the corresponding crop based on the first position information and the second position information of the point cloud data or digital surface model data of the target area.
[0039] In the technical solution provided in the above step S106 of the present invention, after obtaining the first position information of at least one vegetation-covered area, for each vegetation-covered area and each growth period of the corresponding crops, the elevation value of the corresponding crop is determined based on the first position information and the second position information of the point cloud data or digital surface model data of the target area.
[0040] The elevation value of this embodiment may be an elevation value of point cloud data or an elevation value of digital surface model data.
[0041] In this embodiment, the first position information of the vegetation coverage area and the second position information of the point cloud data or the digital surface model data have high-precision coordinate information. For each vegetation coverage area, the first position information of the vegetation coverage area and the second position information of the point cloud data or the digital surface model data can be aligned first, and then the vegetation point cloud data corresponding to the vegetation coverage area can be determined from the point cloud data, or the first sub-digital surface model data corresponding to the vegetation coverage area can be determined from the digital surface model data. Optionally, in the case where the first position information is pixel position data, it can be converted into earth coordinates and then aligned with the second position information of the point cloud data or the digital surface model data, and then the vegetation point cloud data corresponding to the vegetation coverage area can be determined from the point cloud data, or the first digital surface model data corresponding to the vegetation coverage area can be determined from the digital surface model data. The above-mentioned vegetation point cloud data or the first sub-digital surface model data corresponds to the elevation value of the crop.
[0042] Step S108, for each vegetation coverage area and each growth period of the corresponding crop, determine the height of the corresponding crop according to the elevation value of the corresponding crop.
[0043] In the technical solution provided in the above step S108 of the present invention, after determining the elevation value of the corresponding crop based on the first position information and the second position information of the point cloud data or digital surface model data of the target area, for each vegetation coverage area and each growth period of the corresponding crop, the height of the corresponding crop is determined according to the elevation value of the corresponding crop.
[0044] In this embodiment, during the growth process of crops, the height of crops in each growth period is different. This embodiment can determine the height of crops in each growth period based on the elevation value of each growth period, and can determine the elevation value of the crop canopy in each growth period and the elevation value of the ground where the crops grow, and determine the difference between the two as the height of crops in each growth period. The crop height refers to the distance from the base of the crop to the top of the main stem (main stem growth point), that is, in the vegetation coverage area, it is the height between the crop canopy and the ground, which can reflect the growth status of the crop.
[0045] Step S110, generating a crop height growth curve based on the heights of the corresponding crops in multiple growth periods.
[0046] In the technical solution provided in the above step S110 of the present invention, after determining the height of the corresponding crop according to the elevation value of the corresponding crop for each vegetation coverage area and each growing period of the corresponding crop, a crop height growth curve is generated based on the height of the corresponding crop in multiple growing periods.
[0047] In this embodiment, the crop height growth curve, i.e., the height change curve, can be used to accurately evaluate the growth status of crops in a certain growth period, thereby guiding production operations more automatically and intelligently. Based on the height of the corresponding crops in multiple growth periods, this embodiment can generate a height growth curve for reflecting the growth status of each crop, or can generate a height growth area for reflecting the overall growth status of all crops.
[0048] Optionally, this embodiment determines the curve parameters, and can use the crop height corresponding to each growth period as the vertical axis parameter, and can also use each growth period as the horizontal axis parameter of the coordinate system, so as to depict the crop height growth curve of the crop through the vertical axis parameters and the horizontal axis parameters.
[0049] This embodiment can generate a standard crop height growth curve based on crop height growth curves over many years. Through the standard crop height growth curve, the growth status of crops in a certain growth period can be accurately evaluated, thereby guiding production operations more automatically and intelligently.
[0050] The present application identifies at least one vegetation-covered area from the target area through the above steps S102 to S110, wherein each vegetation-covered area corresponds to a crop, and the crop has multiple growth periods; obtains the first position information of at least one vegetation-covered area; for each vegetation-covered area and each growth period of the corresponding crop, the elevation value of the corresponding crop is determined based on the first position information and the second position information of the point cloud data or digital surface model data of the target area; for each vegetation-covered area and each growth period of the corresponding crop, the height of the corresponding crop is determined according to the elevation value of the corresponding crop; and the crop height growth curve is generated based on the height of the corresponding crop in multiple growth periods. That is, this embodiment determines the elevation value of the corresponding crop for each vegetation-covered area, determines the height of the corresponding crop in each growth period according to the elevation value of the corresponding crop, and then generates the crop height growth curve based on the height of the corresponding crop in multiple growth periods, so that the crop curve of the crop can be measured in a large range and automatically to support the precise management of the crop, solves the technical problem of low efficiency in generating the crop height growth curve, and achieves the technical effect of improving the efficiency of generating the crop height growth curve.
[0051] As an optional implementation, step S110, generating a crop height growth curve based on the heights of corresponding crops in multiple growth periods, includes: for each vegetation coverage area, generating a crop growth curve for each vegetation coverage area based on the heights of corresponding crops in multiple growth periods; and / or for multiple vegetation coverage areas, determining a target crop height for each growth period based on the heights of corresponding multiple crops in each growth period; generating crop height growth curves for multiple vegetation coverage areas based on the target crop heights for multiple growth periods.
[0052] In this embodiment, when realizing the generation of crop height growth curves based on the heights of corresponding crops in multiple growth periods, a crop height growth curve for a crop in each vegetation coverage area may be generated. Optionally, based on the elevation value of a crop in each vegetation coverage area in each growth period, the crop height of a crop in each vegetation coverage area in each growth period is determined, thereby obtaining the height of the crop in multiple growth periods, and then the curve parameters are determined based on the heights of the crop in multiple growth periods. The height growth curve for a crop in each vegetation coverage area is depicted by the curve parameters. The height of the crop corresponding to each growth period may be used as a vertical axis parameter, and each growth period may be used as a horizontal axis parameter, thereby depicting the height growth curve for a crop in each vegetation coverage area by the vertical axis parameters and the horizontal axis parameters.
[0053] Optionally, the embodiment may also generate a crop curve for a crop group to reflect the overall growth status of the crop group. The embodiment determines the target crop height for each growth period based on the height of multiple crops corresponding to multiple vegetation coverage areas in each growth period. The target crop height may be the overall crop height of the crop group. The target crop height of the crop group may be generated by calculating the crop height of each crop in the crop group, and then determining the curve parameters based on the target crop height. The crop height growth curve of the crop group may be drawn using the curve parameters. The target crop height corresponding to each growth period may be used as a ordinate axis parameter, and each growth period may be used as a horizontal axis parameter. The crop height growth curve may be drawn using the ordinate axis parameters and the horizontal axis parameters, thereby determining the overall crop height change of the crop group.
[0054] As an optional embodiment, determining a target crop height for each growth period based on the heights of the corresponding multiple crops in each growth period includes at least one of the following: determining the target crop height based on the median value of the heights of the corresponding multiple crops in each growth period; determining the target crop height based on the average value of the heights of the corresponding multiple crops in each growth period; determining the target crop height based on the maximum value of the heights of the corresponding multiple crops in each growth period; determining the target crop height based on the minimum value of the heights of the corresponding multiple crops in each growth period.
[0055] In this embodiment, when determining the target crop height for each growth period based on the heights of the corresponding multiple crops in each growth period, the median of the heights of the multiple crops in each growth period can be obtained, and the target crop height of the multiple crops in each growth period can be determined by the median, and the median can be determined as the target crop height of the multiple crops in each growth period; this embodiment can also obtain the average value of the heights of the multiple crops in each growth period, and determine the target crop height of the multiple crops in each growth period by the average value, and the average value can be determined as the target crop height of the multiple crops in each growth period; this embodiment can also sort the heights of the multiple crops in each growth period in order from large to small, and then determine the maximum value among the heights of the sorted multiple crops, that is, the maximum crop height, and the target crop height can be determined by the maximum value, for example, the maximum value is determined as the target crop height of the multiple crops in each growth period; this embodiment can also determine the minimum value among the heights of the sorted multiple crops, that is, determine the minimum crop height, and the target crop height of the multiple crops in each growth period can be determined by the minimum value, for example, the minimum value is determined as the target crop height of the crop group in each growth period.
[0056] It should be noted that the above-mentioned method of determining the target crop height of multiple crops in each growth period by using the median, average, maximum and minimum values of the heights of multiple crops in each growth period is only a preferred implementation mode of the embodiment of the present invention. Any method that can determine the target crop height for each growth period based on the heights of the corresponding multiple crops in each growth period is within the scope of this embodiment and will not be illustrated one by one here.
[0057] As an optional implementation, step S106, based on the first position information and the second position information of the point cloud data of the target area, determines the elevation value of the corresponding crop, including: based on the first position information and the second position information of the point cloud data, determines the vegetation point cloud data corresponding to the vegetation coverage area from the point cloud data; determines multiple first elevation values corresponding to the vegetation point cloud data; step S108, determines the height of the corresponding crop according to the elevation value of the corresponding crop, including: determines the height of the corresponding crop based on multiple first elevation values.
[0058] In this embodiment, for each vegetation coverage area, multiple first elevation values corresponding to the vegetation point cloud data can be obtained, that is, the multiple first elevation values are for a crop in each vegetation coverage area. Optionally, a list of elevation values corresponding to the vegetation point cloud data is obtained, and the elevation value list includes the above-mentioned multiple first elevation values. This embodiment can sort the multiple first elevation values in order from large to small, determine the maximum elevation value and the minimum elevation value from the sorted multiple first elevation values, and then determine the crop height of the crop based on the maximum elevation value and the minimum elevation value among the multiple first elevation values.
[0059] As an optional implementation, based on the first position information and the second position information of the point cloud data, vegetation point cloud data corresponding to the vegetation coverage area is determined from the point cloud data, including: determining the first target position information that is the same as the first position information from the second position information of the point cloud data; determining the point cloud data corresponding to the first target position information as the vegetation point cloud data; or displaying the first layer presented by the point cloud data; marking and displaying the first target position corresponding to the second position information of the point cloud data that is the same as the first position information in the first layer; obtaining the updated first target position based on the user's correction operation on the first target position; determining the point cloud data corresponding to the updated first target position as the vegetation point cloud data; or displaying the first layer presented by the point cloud data and the second layer corresponding to the vegetation coverage area; marking and displaying the alignment reference points corresponding to the set reference positions in the first layer and the second layer respectively; updating and displaying the first layer and the second layer based on the instruction for indicating that the alignment reference points in the first layer and the alignment reference points in the second layer are to be overlapped; and determining the point cloud data corresponding to the area in the first layer that overlaps with the second layer as the vegetation point cloud data corresponding to the vegetation coverage area.
[0060] In this embodiment, the second position information of the point cloud data and the first position information of the vegetation coverage area may have the same first target position information, and the point cloud data corresponding to the first target position information may be determined as the vegetation point cloud data in the point cloud data of the target area. Optionally, this embodiment may use real-time kinematic (RTK) to determine the vegetation point cloud data corresponding to the vegetation coverage area from the point cloud data according to the first target position information.
[0061] Optionally, in this embodiment, the point cloud data can be reflected by a first layer, and the first layer presented by the point cloud data can be displayed. The first layer can be used to indicate a specific position, and a first target position corresponding to second position information that is the same as the first position information can be marked in the first layer. The first target position, that is, the mapping position of the first position information in the point cloud data, can be displayed through marking information, and the marking information may include but is not limited to text, icons, symbols, etc.
[0062] Since the first target position may have a certain deviation, this embodiment allows the user to perform a correction operation on it. This embodiment obtains the user's correction operation on the above-mentioned first target position, for example, obtains the user's drag operation on the point corresponding to the first target position, and can also obtain the adjustment operation performed on the input box or sliding control in the x-axis and y-axis directions displayed in the interface. In response to the above-mentioned correction operation, the first target position is updated, that is, the first target position is adjusted, and the point cloud data corresponding to the updated first target position in the point cloud data can be determined as vegetation point cloud data to improve the accuracy of the vegetation point cloud data.
[0063] In this embodiment, the first layer may include first target positions corresponding to second position information of point cloud data that are respectively the same as different first position information, that is, the number of the first target positions may be multiple, and the embodiment may adaptively adjust all first target positions based on the user's correction operation on one of the multiple first target positions. Optionally, the embodiment may determine the position correction amount of the corresponding first target position based on the correction operation, and the position correction amount may include at least one of the following: the lateral position offset on the x-axis and the longitudinal position offset on the y-axis. Then, other first target positions other than the first target position corresponding to the correction operation may be updated based on the position correction amount, that is, the embodiment may adaptively update all first target positions based on the user's correction operation on a first target position. For each vegetation coverage area, the point cloud data corresponding to the corresponding and updated first target position may be used as the vegetation point cloud data corresponding to the vegetation coverage area, thereby avoiding the problem that if the user performs a correction operation on each first target position, the operation is cumbersome and the calculation efficiency of the crop height is affected.
[0064] Optionally, in this embodiment, the point cloud data can be represented by the first layer, and the vegetation coverage area can be represented by the second layer. This embodiment can display the first layer presented by the point cloud data and the second layer corresponding to the vegetation coverage area on the interface, and can mark and display the alignment reference point corresponding to the set reference position in the first layer, and mark and display the alignment reference point corresponding to the set reference position in the second layer, and then obtain the instruction triggered by the user to indicate that the alignment reference point in the first layer and the alignment reference point in the second layer are to be overlapped, and respond to the instruction to update the display of the first layer and the second layer, that is, this embodiment can directly align the first position information and the second position information of the point cloud data that have been displayed in the interface based on the user operation without prior alignment, which can reduce a certain amount of alignment calculation, and then determine the point cloud data corresponding to the area in the updated first layer that overlaps with the updated second layer as the vegetation point cloud data corresponding to the vegetation coverage area.
[0065] Optionally, in this embodiment, before determining the vegetation point cloud data corresponding to the vegetation coverage area from the point cloud data, the first layer presented by the point cloud data and the second layer corresponding to the vegetation coverage area can be displayed on the interface, and then a prompt message can be output on the interface. The prompt message is used to prompt the user whether to adopt the first layer and the second layer. The user can trigger a first feedback instruction to adopt the first layer and the second layer, and then respond to the first feedback instruction to determine the step of determining the vegetation point cloud data corresponding to the vegetation coverage area from the point cloud data. The user can also trigger a second feedback instruction not to adopt the first layer and the second layer, and then respond to the second feedback instruction to determine not to execute the step of determining the vegetation point cloud data corresponding to the vegetation coverage area from the point cloud data, thereby avoiding the situation where the first layer and the second layer do not meet actual needs.
[0066] As an optional implementation, determining the height of the corresponding crops based on multiple first elevation values includes: displaying a first layer presented by point cloud data; displaying multiple first elevation values corresponding to the first target position at a first target position corresponding to second position information of the point cloud data that is the same as the first position information in the first layer; determining two first elevation values from the multiple first elevation values based on a user's selection operation of the multiple first elevation values; using the absolute value of the difference between the two first elevation values as the height of the crop; or selecting a maximum elevation value and a minimum elevation value from the multiple first elevation values, and determining the difference between the maximum elevation value and the minimum elevation value as the height of the crop.
[0067] In this embodiment, when determining the height of the corresponding crop based on multiple first elevation values, the first layer presented by the point cloud data can be first displayed on the interface, and the first target position corresponding to the second position information of the point cloud data identical to the first position information can be determined in the first layer, and then multiple first elevation values corresponding to the first target position can be displayed at the first target position, for example, a list of elevation values corresponding to the first target position can be displayed. The user's selection operation on the above multiple first elevation values is obtained, and in response to the selection operation, two first elevation values are selected from the multiple first elevation values, and the two first elevation values are subtracted. The absolute value of the obtained difference can be determined as the height of the crop, so that the height of the crop can be determined by the user's own selection of the elevation value, which can play a certain auxiliary correction role.
[0068] Optionally, in this embodiment, the above-mentioned multiple first elevation values can be sorted in descending order, the maximum elevation value and the minimum elevation value can be determined from the sorted multiple first elevation values, the maximum elevation value and the minimum elevation value can be subtracted, and the difference can be determined as the crop height of the crop.
[0069] Optionally, the multiple first elevation values are the absolute elevations of different parts of the crop; the maximum elevation value is the absolute elevation of the canopy of the crop, and the minimum elevation value is the absolute elevation of the ground where the crop grows.
[0070] As an optional implementation, based on the first position information and the second position information of the digital surface model data of the target area, the elevation value of the corresponding crops is determined, including: based on the first position information and the second position information of the digital surface model data, determining the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data; determining the second elevation value corresponding to the first sub-digital surface model data; determining the height of the corresponding crops according to the elevation value of the corresponding crops, including: determining the height of the corresponding crops based on the second elevation value and the third elevation value of the ground on which the crops corresponding to each vegetation coverage area grow.
[0071] In this embodiment, for each vegetation coverage area, the same position in the first sub-digital surface model data corresponds to an elevation value, and a second elevation value corresponding to the first sub-digital surface model data is obtained, and the second elevation value can be used to represent the elevation value of the canopy of the crop. Optionally, this embodiment can obtain a third elevation value of the ground where the crops grow, which can be the absolute elevation of the ground where the crops grow, and the crop height of the crops can be determined based on the second elevation value and the third elevation value. Among them, the third elevation value of the ground where the crops grow can be determined by the elevation values of all positions within the surrounding area of the vegetation coverage area in the target area.
[0072] As an optional implementation, based on the first position information and the second position information of the digital surface model data, determining the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data includes: determining the second target position information identical to the first position information from the second position information of the digital surface model data; determining the digital surface model data corresponding to the second target position information as the first sub-digital surface model data; or displaying a third layer presented by the digital surface model data; marking and displaying the second target position corresponding to the second position information of the digital surface model data identical to the first position information in the third layer; based on the user's control of the second target position A correction operation is performed to obtain an updated second target position; the digital surface model data corresponding to the updated second target position is determined as the first sub-digital surface model data; or a third layer presented by the digital surface model data and a second layer corresponding to the vegetation coverage area are displayed; alignment reference points corresponding to the set reference positions are marked and displayed in the third layer and the second layer respectively; based on an instruction for indicating that the alignment reference points in the third layer and the alignment reference points in the second layer are to be overlapped, the third layer and the second layer are updated and displayed; and the digital surface model data corresponding to the area in the third layer that overlaps with the second layer is determined as the first sub-digital surface model data corresponding to the vegetation coverage area.
[0073] In this embodiment, the second position information of the digital surface model data and the first position information of the vegetation covered area may have the same second target position information, and the digital surface model data corresponding to the second target position information may be determined as the first digital surface model data in the digital surface model data of the target area. Optionally, this embodiment may use RTK to determine the first digital surface model data corresponding to the vegetation covered area from the digital surface model data according to the second target position information.
[0074] Optionally, in this embodiment, the digital surface model data may be embodied through a third layer, and the third layer presented by the digital surface model data may be displayed. The third layer may be used to indicate a specific location. A second target location corresponding to second location information that is the same as the first location information may be marked and displayed in the third layer. The second target location, i.e., the mapping location of the second location information in the digital surface model data, may be displayed through marking information, and the marking information may include but is not limited to text, icons, symbols, etc.
[0075] Optionally, since the second target position may have a certain deviation, this embodiment allows the user to perform a correction operation on it. This embodiment obtains the user's correction operation on the above-mentioned second target position, for example, obtains the user's drag operation on the point corresponding to the second target position, and can also obtain the adjustment operation performed on the input box or sliding control in the x-axis and y-axis directions displayed in the interface. In response to the above-mentioned correction operation, the second target position is updated, that is, the second target position is adjusted, and the digital surface model data corresponding to the updated second target position in the digital surface model data can be determined as the first sub-digital surface model data to improve the accuracy of the first sub-digital surface model data.
[0076] Optionally, in this embodiment, the third layer may include second target positions corresponding to second position information of digital surface model data that are respectively the same as different first position information, that is, the number of the second target positions may be multiple, and the embodiment may adaptively adjust all the second target positions based on the user's correction operation on one of the multiple second target positions. Optionally, the embodiment may determine the position correction amount of the corresponding second target position based on the correction operation, and the position correction amount may include at least one of the following: a lateral position offset on the x-axis and a longitudinal position offset on the y-axis. Then, other second target positions other than the second target position corresponding to the correction operation may be updated based on the position correction amount, that is, the embodiment may adaptively update all the second target positions in the third layer based on the user's correction operation on a second target position. For each vegetation coverage area, the digital surface model data corresponding to the corresponding and updated second target position may be used as the first sub-digital surface model data corresponding to the vegetation coverage area, thereby avoiding the problem that if the user performs a correction operation on each second target position, the operation is cumbersome and the calculation efficiency of the crop height is affected.
[0077] Optionally, in this embodiment, the digital surface model data can be reflected by the third layer of points, and the vegetation coverage area can be reflected by the second layer. This embodiment can display the third layer presented by the digital surface model data and the second layer corresponding to the vegetation coverage area on the interface, and can mark and display the alignment reference point corresponding to the set reference position in the third layer, and mark and display the alignment reference point corresponding to the set reference position in the second layer, and then obtain the instruction triggered by the user to indicate that the alignment reference point in the third layer and the alignment reference point in the second layer are to be overlapped, and respond to the instruction to update the display of the third layer and the second layer, that is, this embodiment can directly align the first position information and the second position information of the digital surface model data that have been displayed in the interface based on the user operation without prior alignment, which can reduce a certain amount of alignment calculation, and then determine the digital surface model data corresponding to the area overlapped with the updated second layer in the updated third layer as the first sub-digital surface model data corresponding to the vegetation coverage area.
[0078] Optionally, in this embodiment, before determining the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data, the third layer presented by the digital surface model data and the second layer corresponding to the vegetation coverage area can be displayed on the interface first, and then prompt information can be output on the interface, the prompt information is used to prompt the user whether to adopt the third layer and the second layer. The user can trigger a first feedback instruction to adopt the third layer and the second layer, and in response to the first feedback instruction, it is determined to execute the step of determining the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data. The user can also trigger a second feedback instruction not to adopt the third layer and the second layer, and in response to the second feedback instruction, it is determined not to execute the step of determining the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data.
[0079] As an optional implementation, based on the second elevation value and the third elevation value of the ground where the crops corresponding to each vegetation coverage area grow, determining the height of the corresponding crops, includes: displaying a third layer presented by the digital surface model data; displaying multiple fourth elevation values corresponding to the second target position at the second target position corresponding to the second position information of the digital surface model data that is the same as the first position information in the third layer; determining the second elevation value from the multiple fourth elevation values based on a user's selection operation of the multiple fourth elevation values; using the difference between the second elevation value and the third elevation value as the height of the crop; or selecting the maximum elevation value from the multiple fourth elevation values corresponding to the first sub-digital surface model data; determining the maximum elevation value as the second elevation value; and using the difference between the second elevation value and the third elevation value as the height of the crop.
[0080] In this embodiment, when determining the height of the corresponding crops based on the second elevation value and the third elevation value of the ground where the crops corresponding to each vegetation coverage area grow, the third layer presented by the digital surface model data can be first displayed on the interface, and the second target position corresponding to the second position information of the digital surface model data that is the same as the first position information is determined in the third layer, and then multiple fourth elevation values corresponding to the second target position are displayed at the second target position, for example, a list of elevation values corresponding to the target position is displayed. The user's selection operation of the above multiple fourth elevation values is obtained, and in response to the selection operation, the second elevation value is selected from the multiple fourth elevation values, and the second elevation value and the third elevation value are subtracted. The absolute value of the obtained difference can be determined as the height of the crop, so that the height of the crop is determined by the user's own selection of the elevation value, which can play a certain auxiliary correction role.
[0081] Optionally, in this embodiment, the above-mentioned multiple fourth elevation values can be sorted in descending order, and the maximum elevation value can be determined from the sorted multiple fourth elevation values, and the maximum elevation value can be determined as the second elevation value of this embodiment, and then the second elevation value and the third elevation value can be subtracted, and the absolute value of the difference can be determined as the height of the crop.
[0082] As an optional implementation, before determining the height of the corresponding crops based on the second elevation value and the third elevation value of the ground where the crops corresponding to each vegetation coverage area grow, the method also includes: determining a surrounding area of the area corresponding to the first sub-digital surface model data in the target area, wherein the surrounding area is not covered with crops; obtaining second sub-digital surface model data corresponding to the surrounding area in the digital surface model data; obtaining multiple fifth elevation values corresponding to the second sub-digital surface model data; and determining the third elevation value based on the multiple fifth elevation values.
[0083] In this embodiment, before determining the height of the corresponding crops based on the second elevation value and the third elevation value of the ground where the crops grow corresponding to each vegetation coverage area, the third elevation value of the ground where the crops grow can be determined by first determining the area corresponding to the first sub-digital surface model in the target area, expanding the area by a certain range in the target area to obtain a peripheral area, thereby obtaining a peripheral area of the area corresponding to the first sub-digital surface model data, and the peripheral area is not covered with crops. After obtaining the above-mentioned peripheral area, the second sub-digital surface model data corresponding to the peripheral area is obtained in the digital surface model data of the target area, and the second sub-digital surface model data corresponds to a plurality of fifth elevation values, which are also the elevation values of the non-super green range, and the third elevation value of the ground where the crops grow can be determined based on the fifth elevation value corresponding to the second sub-digital surface model data.
[0084] Optionally, after obtaining multiple fifth elevation values, the median of the multiple fifth elevation values can be obtained, and the third elevation value of the ground where the crops grow is determined by the median value, for example, the above median value can be determined as the third elevation value of the ground where the crops grow; this embodiment can also obtain the average value of the multiple fifth elevation values, and determine the third elevation value of the ground where the crops grow by the average value, for example, the above average value can be determined as the third elevation value of the ground where the crops grow; this embodiment can also obtain the maximum value of the multiple fifth elevation values, and the third elevation value of the ground where the crops grow can be determined by the maximum value, for example, the above maximum value can be determined as the third elevation value of the ground where the crops grow; this embodiment can also obtain the minimum value of the multiple fifth elevation values, and determine the third elevation value of the ground where the crops grow by the minimum value, for example, the above minimum value can be determined as the third elevation value of the ground where the crops grow.
[0085] It should be noted that the method of determining the third elevation value by using the median, mean, maximum and minimum values of the above-mentioned multiple fifth elevation values in this embodiment is only a preferred implementation method for determining the third elevation value based on multiple fifth elevation values in an embodiment of the present invention. Any method that can be used to determine the third elevation value by using multiple fifth elevation values is within the scope of the embodiments of the present invention and will not be illustrated one by one here.
[0086] As an optional implementation, in step S104, before obtaining the first position information of at least one vegetation coverage area, the method further includes: determining an area in the target area that meets the target conditions as a vegetation coverage area; wherein the target conditions include any one of the following: a vegetation coverage index greater than a first threshold, a leaf area index greater than a second threshold; or, identifying an area where crops are located based on an image of the target area to obtain a vegetation coverage area.
[0087] In this embodiment, before obtaining the first position information of at least one vegetation-covered area in the target area, the target area can be detected and the area that meets the target conditions can be determined as a vegetation-covered area, wherein the target conditions are judgment conditions for determining whether the target area is a vegetation-covered area, which is further introduced below.
[0088] As an optional implementation, the method further includes: acquiring a vegetation coverage index of the target area; and determining an area in the target area whose vegetation coverage index is greater than a first threshold as an area meeting the target condition.
[0089] In this embodiment, the above-mentioned target condition can be a judgment condition of whether the vegetation coverage index in the target area is greater than the first threshold value, and the vegetation coverage index (Normalized Difference Vegetation Index, referred to as NDVI) of the target area can be obtained, which can indicate the distribution of tree crowns in the target area and has high-precision coordinate information. Optionally, this embodiment uses an unmanned aerial vehicle device equipped with a multi-spectral camera to collect and calculate the vegetation coverage index of the target area. The vegetation coverage index can also be called a super green index, and its value range is between -1 and 1. The size of its value can be positively correlated with the amount of chlorophyll in the corresponding area, that is, the larger the value of the vegetation coverage index, the more chlorophyll in the corresponding area.
[0090] This embodiment can extract the vegetation coverage area from the target area by setting a first threshold. For example, the first threshold can be 0.5. It can be determined whether the collected vegetation coverage index is greater than the first threshold. If the vegetation coverage index is greater than the first threshold, it is determined that the above-mentioned target conditions are met. All areas in the target area indicated by the vegetation coverage index greater than the first threshold can be determined as the above-mentioned areas that meet the target conditions, and then determined as vegetation coverage areas, that is, super green areas in the target area.
[0091] As an optional implementation, the method further includes: acquiring a leaf area index of the target area; and determining an area in the target area having a leaf area index greater than a second threshold as an area meeting the target condition.
[0092] In this embodiment, the above-mentioned target condition may be a judgment condition of whether the leaf area index in the target area is greater than the second threshold value. The leaf area index (LAI) of the target area may be obtained, which is the multiple of the total area of plant leaves per unit land area to the land area, and may indicate the distribution of tree crowns in the target area. Optionally, the higher the leaf area index, the more luxuriant the vegetation in the corresponding area, and the more likely it is that there is a tree crown at the corresponding location. This embodiment may extract the vegetation coverage area from the target area by setting a second threshold value, and may determine whether the collected leaf area index is greater than the second threshold value. If the leaf area index is greater than the second threshold value, it is determined that the above-mentioned target condition is met, and all areas indicated by the leaf area index greater than the second threshold value in the target area may be determined as the above-mentioned areas meeting the target condition, and then determined as vegetation coverage areas.
[0093] As an optional implementation, the method further includes: identifying a vegetation image from the image of the target area; and determining an area corresponding to the vegetation image in the target area as an area that meets the target condition.
[0094] In this embodiment, an image of the target area is collected by an image acquisition device, and artificial intelligence technology (AI) can be used to identify vegetation images from the images of the target area, and the vegetation images include images of crops whose heights are to be determined. Optionally, this embodiment can pre-collect a large number of image samples containing vegetation-covered areas, and can manually annotate a certain range of vegetation-covered areas in the image samples, set the annotated results as labels of the image samples, and then train the sub-neural network model through the image samples and the corresponding labels to obtain a target neural network model, wherein the target neural network model is a result of the input being the image to be identified and the output being the vegetation image in the image. After the target neural network model is trained, the image of the target area is input into the target neural network model, and the image of the target area is identified by the target neural network model, thereby outputting the vegetation image in the target area, and then determining the area corresponding to the vegetation image in the target area as an area that meets the above-mentioned target conditions, and determining the area as a vegetation-covered area.
[0095] It should be noted that the method of determining the vegetation coverage area through the above-mentioned vegetation coverage index, leaf area index and AI image recognition in this embodiment is only a preferred implementation mode of the embodiment of the present invention. Any method that can be used to determine the vegetation coverage area from the target area is within the scope of this embodiment and will not be illustrated one by one here.
[0096] The above-mentioned crop height growth curve generation method of this embodiment determines the elevation value of the corresponding crop for each vegetation coverage area, determines the height of the corresponding crop in each growth period based on the elevation value of the corresponding crop, and then generates the crop height growth curve based on the height of the corresponding crop in multiple growth periods, thereby being able to measure the crop curve of crops on a large scale and in an automated manner to support precise management of crops, solving the technical problem of low efficiency in generating the crop height growth curve and achieving the technical effect of improving the efficiency in generating the crop height growth curve.
[0097] Example 2
[0098] The technical solution of the embodiment of the present invention is illustrated below in conjunction with preferred implementation modes.
[0099] The height of crops is one of the important indicators used to reflect the growth status of crops. The changes in the height of different crops have their own inherent laws. Precision agriculture hopes to manage crops in a precise way to maximize the yield and quality of crops. Therefore, the crop height growth curve of crops is depicted by measuring the height of crops in different growth periods, and a standard crop height growth curve of crops is generated based on the curve for many years. With the standard crop height growth curve, the growth status of crops in a certain growth period can be accurately evaluated, thereby guiding production operations more automatically and intelligently.
[0100] Figure 2 FIG. 1 is a schematic diagram of a vegetation coverage range according to an embodiment of the present invention. Figure 2 Shown is the vegetation coverage identified using AI technology.
[0101] This embodiment uses RTK position information to overlay and align the layer corresponding to the point cloud data of the target area and the layer corresponding to the position data of the vegetation coverage area, traverses the pixel positions of all vegetation coverage areas, calculates the elevation list of the point cloud data corresponding to the pixel position, calculates the maximum elevation and the minimum elevation in the elevation list, wherein the maximum elevation is the canopy height of the crops, and the minimum elevation is the height from the ground, and the difference between the two is determined as the height from the canopy of the crops in the vegetation coverage area to the ground.
[0102] Optionally, through the RTK position information, the layer corresponding to the digital surface model data of the target area and the layer corresponding to the position data of the vegetation coverage area are superimposed and aligned, the pixel positions of all vegetation coverage areas are traversed, and the elevation value of the digital surface model data corresponding to the pixel position is calculated. The elevation value of the digital surface model data can be the elevation value of the canopy of the crop. Then, the elevation value of the ground in the surrounding area of the vegetation coverage area is retrieved, and the elevation value of the ground on which the crops grow is determined to be the elevation value, and the height of the crop is determined by the difference between the elevation value of the canopy of the crop and the elevation value of the ground on which the crops grow.
[0103] This embodiment can use algorithms such as average value, maximum value, minimum value, median value, etc. to calculate the target crop height that reflects the overall crop height of the crop group in the vegetation coverage area.
[0104] By using the above method to measure different growth periods, the target crop heights of the crop groups in different growth periods can be obtained. The crop height growth curve of the crop groups can be drawn using these target crop heights in different growth periods.
[0105] Figure 3 Schematic diagram of a crop height growth curve according to an embodiment of the present invention. Figure 3As shown, with time as the horizontal axis and the crop height as the vertical axis, the crop height growth curve of crops in different growth periods is drawn, wherein the different growth periods include the lag phase, the logarithmic phase, the stationary phase, and the decay phase.
[0106] The method for generating the crop height growth curve of the above-mentioned embodiment can identify the real range of crop coverage through AI technology, determine the crop height of crops in each growth period according to the elevation value of each growth period corresponding to the location data of the vegetation coverage area, and use the mean, minimum, maximum and other algorithms to calculate the crop height of all crops in the crop group in each growth period, calculate the target crop height of the overall crop height of the crop group in each growth period, and then use the target crop height of each growth period to draw the growth curve of crops. That is to say, this embodiment determines the crop height of crops in each growth period by the elevation values of different growth periods corresponding to the location data, and then generates the crop height growth curve by each growth period and the crop height of each growth period, so that the crop curve of crops can be measured in a large range and automatically to support the precise management of crops, solve the technical problem of low efficiency in generating crop height growth curves, and achieve the technical effect of improving the efficiency of generating crop height growth curves.
[0107] Example 3
[0108] The embodiment of the present invention further provides a device for generating a crop height growth curve. It should be noted that the device for generating a crop height growth curve of the embodiment can be used to execute the method for generating a crop height growth curve of the embodiment of the present invention.
[0109] Figure 4 Schematic diagram of a device for generating a crop height growth curve according to an embodiment of the present invention. Figure 4 As shown, the device 40 for generating a crop height growth curve may include: an identification unit 41 , an acquisition unit 42 , a first determination unit 43 , a second determination unit 44 and a generation unit 45 .
[0110] The identification unit 41 is used to identify at least one vegetation-covered area from the target area, wherein each vegetation-covered area corresponds to a crop, and the crop has multiple growth periods.
[0111] The acquisition unit 42 is configured to acquire first position information of at least one vegetation-covered area.
[0112] The first determination unit 43 is used to determine the elevation value of the corresponding crop for each vegetation coverage area and each growth period of the corresponding crop based on the first position information and the second position information of the point cloud data or digital surface model data of the target area.
[0113] The second determining unit 44 is used to determine the height of the corresponding crop according to the elevation value of the corresponding crop for each vegetation coverage area and each growth period of the corresponding crop.
[0114] The generating unit 45 is used to generate a crop height growth curve based on the heights of the corresponding crops in multiple growth periods.
[0115] Optionally, the generation unit 45 includes: a first generation module, used to generate a crop growth curve for each vegetation coverage area based on the heights of the corresponding crops in multiple growth periods; and / or a first determination module, used to determine, for multiple vegetation coverage areas, a target crop height for each growth period based on the heights of the corresponding multiple crops in each growth period; and a second generation module, used to generate crop height growth curves for multiple vegetation coverage areas based on the target crop heights for multiple growth periods.
[0116] Optionally, the first determination module includes at least one of the following: a first determination submodule, used to determine the target crop height based on the median value of the heights of the corresponding multiple crops in each growth period; a second determination submodule, used to determine the target crop height based on the average value of the heights of the corresponding multiple crops in each growth period; a third determination submodule, used to determine the target crop height based on the maximum value of the heights of the corresponding multiple crops in each growth period; a fourth determination submodule, used to determine the target crop height based on the minimum value of the heights of the corresponding multiple crops in each growth period.
[0117] Optionally, the first determination unit 43 includes: a second determination module, used to determine vegetation point cloud data corresponding to the vegetation coverage area from the point cloud data based on the first position information and the second position information of the point cloud data; a third determination module, used to determine multiple first elevation values corresponding to the vegetation point cloud data; the second determination unit 44 includes: a fourth determination module, used to determine the corresponding height of the crop based on the multiple first elevation values.
[0118] The second determination module is used to determine vegetation point cloud data corresponding to the vegetation coverage area from the point cloud data based on the first position information and the second position information of the point cloud data through the following steps: determining the first target position information that is the same as the first position information from the second position information of the point cloud data; determining the point cloud data corresponding to the first target position information as the vegetation point cloud data; or displaying the first layer presented by the point cloud data; marking and displaying the first target position corresponding to the second position information of the point cloud data that is the same as the first position information in the first layer; obtaining the updated first target position based on the user's correction operation on the first target position; determining the point cloud data corresponding to the updated first target position as the vegetation point cloud data; or displaying the first layer presented by the point cloud data and the second layer corresponding to the vegetation coverage area; marking and displaying the alignment reference points corresponding to the set reference positions in the first layer and the second layer respectively; updating and displaying the first layer and the second layer based on the instruction for instructing to overlap the alignment reference points in the first layer and the alignment reference points in the second layer; determining the point cloud data corresponding to the area in the first layer that overlaps with the second layer as the vegetation point cloud data corresponding to the vegetation coverage area.
[0119] The fourth determination module is used to determine the height of the corresponding crops based on multiple first elevation values through the following steps: displaying the first layer presented by the point cloud data; displaying multiple first elevation values corresponding to the first target position at the first target position corresponding to the second position information of the point cloud data that is the same as the first position information in the first layer; determining two first elevation values from the multiple first elevation values based on the user's selection operation on the multiple first elevation values; using the absolute value of the difference between the two first elevation values as the height of the crop; or selecting the maximum elevation value and the minimum elevation value from the multiple first elevation values, and determining the difference between the maximum elevation value and the minimum elevation value as the height of the crop.
[0120] The first determination unit 43 includes: a fifth determination module, which is used to determine the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data based on the first position information and the second position information of the digital surface model data; a sixth determination module, which is used to determine the second elevation value corresponding to the first sub-digital surface model data; the second determination unit 44 includes: a seventh determination module, which is used to determine the height of the corresponding crops based on the second elevation value and the third elevation value of the ground where the crops corresponding to each vegetation coverage area grow.
[0121] Optionally, the fifth determination module is used to determine the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data based on the first position information and the second position information of the digital surface model data by the following steps: determining the second target position information identical to the first position information from the second position information of the digital surface model data; determining the digital surface model data corresponding to the second target position information as the first sub-digital surface model data; or displaying a third layer presented by the digital surface model data; marking in the third layer a second target position corresponding to the second position information of the digital surface model data identical to the first position information; based on the user's determination of the second target position The method comprises the steps of: performing a correction operation on the set position to obtain an updated second target position; determining the digital surface model data corresponding to the updated second target position as the first sub-digital surface model data; or displaying a third layer presented by the digital surface model data and a second layer corresponding to the vegetation coverage area; marking and displaying alignment reference points corresponding to the set reference positions in the third layer and the second layer respectively; updating and displaying the third layer and the second layer based on an instruction for instructing to overlap the alignment reference points in the third layer and the second layer; and determining the digital surface model data corresponding to the area in the third layer overlapping with the second layer as the first sub-digital surface model data corresponding to the vegetation coverage area.
[0122] Optionally, the seventh determination module is used to determine the height of the corresponding crops based on the second elevation value and the third elevation value of the ground where the crops corresponding to each vegetation coverage area grow through the following steps: displaying the third layer presented by the digital surface model data; displaying multiple fourth elevation values corresponding to the second target position at the second target position corresponding to the second position information of the digital surface model data that is the same as the first position information in the third layer; determining the second elevation value from the multiple fourth elevation values based on the user's selection operation of the multiple fourth elevation values; taking the difference between the second elevation value and the third elevation value as the height of the crop; or selecting the maximum elevation value from the multiple fourth elevation values corresponding to the first sub-digital surface model data; determining the maximum elevation value as the second elevation value; and taking the difference between the second elevation value and the third elevation value as the height of the crop.
[0123] Optionally, the device also includes: a third determination unit, used to determine a surrounding area of an area corresponding to the first sub-digital surface model data in the target area before determining the height of the corresponding crops based on the second elevation value and a third elevation value of the ground on which the crops corresponding to each vegetation coverage area grow, wherein the surrounding area is not covered with crops; a first acquisition unit, used to acquire second sub-digital surface model data corresponding to the surrounding area in the digital surface model data; a second acquisition unit, used to acquire multiple fifth elevation values corresponding to the second sub-digital surface model data; and a fourth determination unit, used to determine the third elevation value based on the multiple fifth elevation values.
[0124] Optionally, the device also includes: a fifth determination unit, used to determine an area in the target area that meets the target conditions as a vegetation coverage area before obtaining the first position information of at least one vegetation coverage area; wherein the target conditions include any one of the following: a vegetation coverage index greater than a first threshold, a leaf area index greater than a second threshold; or, based on an image of the target area, identifying an area where crops are located to obtain a vegetation coverage area.
[0125] The device for generating a crop height growth curve of this embodiment determines the elevation value of the corresponding crop for each vegetation coverage area, determines the height of the corresponding crop in each growth period based on the elevation value of the corresponding crop, and then generates a crop height growth curve based on the height of the corresponding crop in multiple growth periods, thereby being able to measure the crop curves of crops on a large scale and in an automated manner to support precise management of crops, solving the technical problem of low efficiency in generating crop height growth curves and achieving the technical effect of improving the efficiency in generating crop height growth curves.
[0126] Example 4
[0127] The embodiment of the present invention further provides a computer-readable storage medium, which includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for generating a crop height growth curve according to the embodiment of the present invention.
[0128] Example 5
[0129] The embodiment of the present invention further provides an electronic device, which includes a processor and a memory for storing programs; when the processor executes the program, the method for generating a crop height growth curve according to the embodiment of the present invention is implemented.
[0130] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0131] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0132] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0133] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0134] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0135] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or 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, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0136] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for generating a crop height growth curve, It is characterized in that include: Identifying at least one vegetation-covered area from the target area, wherein each vegetation-covered area corresponds to a crop, and the crop has multiple growth periods; Acquire first position information of the at least one vegetation covered area; For each vegetation coverage area and each growth period of the corresponding crop, determining the elevation value of the corresponding crop based on the first position information and the second position information of the point cloud data or digital surface model data of the target area; For each vegetation coverage area and each growth period of the corresponding crop, the height of the corresponding crop is determined according to the elevation value of the corresponding crop; generating a crop height growth curve based on the heights of the corresponding crops during the plurality of growth periods; Wherein, identifying at least one vegetation-covered area from the target area comprises: identifying feature data of the crop based on a feature extraction network, wherein the feature extraction network is trained based on image samples of the target area and feature data samples corresponding to the image samples; identifying at least one vegetation-covered area from the target area based on the feature data; Determining the height of the corresponding crops based on the elevation values of the corresponding crops includes: determining the elevation value of the ground in the surrounding area of the vegetation coverage area as the elevation value of the ground where the crops grow; determining the height of the corresponding crops based on the elevation value of the corresponding crops and the elevation value of the ground where the crops grow.
2. The method according to claim 1, It is characterized in that Generate crop height growth curves based on the heights of corresponding crops at multiple growth periods, including: For each vegetation covered area, generating a crop growth curve for each vegetation covered area based on the height of the corresponding crop during the plurality of growth periods; and / or For multiple vegetation-covered areas, a target crop height for each growth period is determined based on the heights of the corresponding multiple crops in each growth period; and crop height growth curves for the multiple vegetation-covered areas are generated based on the target crop heights for the multiple growth periods.
3. The method according to claim 2, It is characterized in that Determining a target crop height in each growth period based on the heights of the corresponding plurality of crops in each growth period includes at least one of the following: Determining the target crop height based on the median values of the heights of the corresponding plurality of crops in each growth period; Determining the target crop height based on an average value of the heights of the corresponding plurality of crops in each growth period; Determining the target crop height based on the maximum value of the heights of the corresponding plurality of crops in each growth period; The target crop height is determined based on the minimum value of the heights of the corresponding plurality of crops in each growth period.
4. The method according to claim 1, It is characterized in that Based on the first position information and the second position information of the point cloud data of the target area, determining the elevation value of the corresponding crop, comprising: based on the first position information and the second position information of the point cloud data, determining vegetation point cloud data corresponding to the vegetation coverage area from the point cloud data; determining a plurality of first elevation values corresponding to the vegetation point cloud data; Determining the height of the corresponding crop according to the elevation value of the corresponding crop includes: determining the height of the corresponding crop based on the multiple first elevation values.
5. The method according to claim 4, It is characterized in that Determining vegetation point cloud data corresponding to the vegetation coverage area from the point cloud data based on the first position information and the second position information of the point cloud data includes: Determine first target position information that is the same as the first position information from the second position information of the point cloud data; determine the point cloud data corresponding to the first target position information as the vegetation point cloud data; or Displaying a first layer presented by the point cloud data; marking and displaying in the first layer a first target position corresponding to second position information of the point cloud data that is identical to the first position information; obtaining an updated first target position based on a deviation correction operation performed by a user on the first target position; and determining the point cloud data corresponding to the updated first target position as the vegetation point cloud data; or Display a first layer presented by the point cloud data and a second layer corresponding to the vegetation coverage area; mark and display alignment reference points corresponding to set reference positions in the first layer and the second layer respectively; update and display the first layer and the second layer based on an instruction for indicating that the alignment reference points in the first layer and the alignment reference points in the second layer are to be overlapped; determine the point cloud data corresponding to the area in the first layer that overlaps with the second layer as the vegetation point cloud data corresponding to the vegetation coverage area.
6. The method according to claim 4, It is characterized in that Determining the height of the corresponding crop based on the plurality of first elevation values comprises: Displaying a first layer presented by the point cloud data; displaying the plurality of first elevation values corresponding to the first target position at a first target position corresponding to the second position information of the point cloud data that is the same as the first position information in the first layer; determining two first elevation values from the plurality of first elevation values based on a user's selection operation of the plurality of first elevation values; and using the absolute value of the difference between the two first elevation values as the height of the crop; or A maximum elevation value and a minimum elevation value are selected from the plurality of first elevation values, and the difference between the maximum elevation value and the minimum elevation value is determined as the height of the crop.
7. The method according to claim 1, It is characterized in that Determining the elevation value of the corresponding crop based on the first position information and the second position information of the digital surface model data of the target area includes: determining first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data based on the first position information and the second position information of the digital surface model data; determining a second elevation value corresponding to the first sub-digital surface model data; Determining the height of the corresponding crop according to the elevation value of the corresponding crop includes: determining the height of the corresponding crop based on the second elevation value and a third elevation value of the ground where the crop corresponding to each vegetation coverage area grows.
8. The method according to claim 7, It is characterized in that Determining first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data based on the first position information and the second position information of the digital surface model data includes: Determine second target position information identical to the first position information from the second position information of the digital surface model data; determine the digital surface model data corresponding to the second target position information as the first sub-digital surface model data; or Displaying a third layer presented by the digital surface model data; marking and displaying in the third layer a second target position corresponding to second position information of the digital surface model data which is identical to the first position information; obtaining an updated second target position based on a deviation correction operation performed by a user on the second target position; and determining the digital surface model data corresponding to the updated second target position as the first sub-digital surface model data; or The third layer presented by the digital surface model data and the second layer corresponding to the vegetation coverage area are displayed; alignment reference points corresponding to the set reference positions are marked and displayed in the third layer and the second layer respectively; based on an instruction for instructing to overlap the alignment reference points in the third layer with the alignment reference points in the second layer, the third layer and the second layer are updated and displayed; and the digital surface model data corresponding to the area in the third layer overlapping with the second layer is determined as the first sub-digital surface model data corresponding to the vegetation coverage area.
9. The method according to claim 7, It is characterized in that Determining the height of the corresponding crop based on the second elevation value and a third elevation value of the ground where the crop corresponding to each vegetation coverage area grows includes: Displaying a third layer presented by the digital surface model data; displaying a plurality of fourth elevation values corresponding to the second target position at a second target position corresponding to the second position information of the digital surface model data which is the same as the first position information in the third layer; determining the second elevation value from the plurality of fourth elevation values based on a user's selection operation of the plurality of fourth elevation values; and using the difference between the second elevation value and the third elevation value as the height of the crop; or A maximum elevation value is selected from a plurality of fourth elevation values corresponding to the first sub-digital surface model data; the maximum elevation value is determined as the second elevation value; and a difference between the second elevation value and the third elevation value is used as the height of the crop.
10. The method according to claim 7, It is characterized in that Before determining the height of the corresponding crop based on the second elevation value and the third elevation value of the ground on which the crop corresponding to each vegetation coverage area grows, the method further includes: The method comprises the steps of: determining a peripheral area of the area corresponding to the first sub-digital surface model data in the target area, wherein the peripheral area is not covered with crops; obtaining second sub-digital surface model data corresponding to the peripheral area in the digital surface model data; obtaining a plurality of fifth elevation values corresponding to the second sub-digital surface model data; and determining the third elevation value according to the plurality of fifth elevation values.
11. The method according to claim 1, It is characterized in that Before acquiring the first position information of the at least one vegetation-covered area, the method further includes: Determine the area in the target area that meets the target condition as the vegetation coverage area; wherein the target condition includes any one of the following: the vegetation coverage index is greater than the first threshold value, and the leaf area index is greater than the second threshold value; Alternatively, the area where the crops are located is identified based on the image of the target area to obtain the vegetation coverage area.
12. A device for generating a crop height growth curve, It is characterized in that include: An identification unit, used for identifying at least one vegetation-covered area from the target area, wherein each vegetation-covered area corresponds to a crop, and the crop has multiple growth periods; An acquisition unit, configured to acquire first position information of the at least one vegetation covered area; A first determining unit is used to determine, for each vegetation coverage area and each growth period of the corresponding crop, an elevation value of the corresponding crop based on the first position information and second position information of the point cloud data or digital surface model data of the target area; A second determining unit is used to determine the height of the corresponding crop according to the elevation value of the corresponding crop for each vegetation coverage area and each growth period of the corresponding crop; A generating unit, configured to generate a crop height growth curve based on the heights of the corresponding crops in the plurality of growth periods; The identification unit is further used to identify at least one vegetation-covered area from the target area through the following steps: identifying feature data of the crop based on a feature extraction network, wherein the feature extraction network is trained based on image samples of the target area and feature data samples corresponding to the image samples; identifying at least one vegetation-covered area from the target area based on the feature data; The second determining unit is further used to determine the height of the corresponding crop according to the elevation value of the corresponding crop through the following steps: Determining the height of the corresponding crop according to the elevation value of the corresponding crop includes: The elevation value of the ground in the surrounding area of the vegetation coverage area is determined as the elevation value of the ground where the crops grow; and the height of the corresponding crops is determined based on the elevation value of the corresponding crops and the elevation value of the ground where the crops grow.
13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed by a processor, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 11.
14. An electronic device, It is characterized in that The method comprises a processor and a memory for storing a program; when the processor executes the program, the steps of the method described in any one of claims 1 to 11 are implemented.
