Method, device, storage medium and equipment for determining crop height
By acquiring and analyzing digital surface model data and location information of vegetation coverage areas, crop heights are automatically calculated, solving the problem of low crop height determination in existing technologies and achieving an efficient, manual-interference-free measurement process.
Patent Information
- Application Number
- CN202011640504.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-12-31
AI Technical Summary
The efficiency of determining crop height in the existing technology is low and requires manual measurement equipment, resulting in a heavy workload and affecting the crops themselves.
By obtaining the digital surface model data of the target area and the location information of the vegetation coverage area, the height of crops is determined based on these data, avoiding manual measurement. UAVs and other equipment are used to collect high-precision data and automatically calculate crop heights.
It improves the efficiency of determining the height of crops, reduces the impact on crops, and achieves rapid and large-scale measurement.
Smart Images

Figure CN112700346B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a method, device, storage medium and equipment for determining the height of crops. Background Art
[0002] At present, crop height is one of the important indicators for measuring the growth status of crops. 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 and set up the measuring equipment for measurement, which makes the workload of determining the crop height particularly huge, which not only affects the crops themselves, but also makes the operation particularly troublesome, resulting in a technical problem of low efficiency in determining the crop height.
[0003] With respect to the above-mentioned technical problem of low efficiency in determining the height of crops, no effective solution has been proposed so far. Summary of the invention
[0004] Embodiments of the present invention provide a method, apparatus, storage medium and device for determining the height of crops, so as to at least solve the technical problem of low efficiency in determining the height of crops.
[0005] According to one aspect of an embodiment of the present invention, a method for determining the height of crops is provided. The method may include: obtaining digital surface model data of a target area; obtaining digital surface model data of a target area; obtaining first position information of at least one vegetation-covered area in the target area, wherein each vegetation-covered area corresponds to a crop; for each vegetation-covered area, based on the first position information of the vegetation-covered area and the second position information of the digital surface model data, determining first sub-digital surface model data corresponding to the vegetation-covered area from the digital surface model data; for each vegetation-covered area, based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground on which the crop corresponding to each vegetation-covered area grows, determining the height of the corresponding crop.
[0006] Optionally, based on the first position information of the vegetation covered area and the second position information of the digital surface model data, determining first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data includes: determining target position information that is the same as the first position information from the second position information; and determining the digital surface model data corresponding to the target position information as the first sub-digital surface model data.
[0007] Optionally, based on the first position information of the vegetation covered area and the second position information of the digital surface model data, determining first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data includes: displaying a first layer presented by the digital surface model data; marking a target position corresponding to the second position information that is the same as the first position information in the first layer; obtaining an updated target position based on a user's correction operation on the target position; and determining the digital surface model data corresponding to the updated target position as the first sub-digital surface model data.
[0008] Optionally, after obtaining an updated target position based on the user's correction operation on the target position, the method also includes: determining a position correction amount of the corresponding target position based on the correction operation; updating other target positions other than the target position corresponding to the correction operation based on the position correction amount; and for each vegetation coverage area, using the corresponding and updated target position as the sub-digital surface model data corresponding to the vegetation coverage area.
[0009] Optionally, based on the first position information of the vegetation coverage area and the second position information of the digital surface model data, first sub-digital surface model data corresponding to the vegetation coverage area is determined from the digital surface model data, including: displaying a first 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 set reference positions in the first layer and the second layer, respectively; updating and displaying the first layer and the second layer based on an instruction for instructing to overlap the alignment reference points in the first layer and the alignment reference points in the second layer; and determining the digital surface model data corresponding to the area in the first layer that overlaps with the second layer as the first sub-digital surface model data corresponding to the vegetation coverage area.
[0010] Optionally, before determining the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data, the method further includes: displaying a first layer presented by the digital surface model data and a second layer corresponding to the vegetation coverage area; outputting prompt information for prompting the user whether to adopt the first layer and the second layer; and determining whether 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 according to an instruction fed back by the user in response to the prompt information.
[0011] Optionally, based on the first elevation value corresponding to the first sub-digital surface model data and the second 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 the first layer presented by the digital surface model data; at the target position corresponding to the second position information that is the same as the first position information in the first layer, displaying multiple elevation values corresponding to the target position; based on the user's selection operation on the multiple elevation values, determining the first elevation value from the multiple elevation values; and using the difference between the first elevation value and the second elevation value as the height of the crop.
[0012] Optionally, before determining the height of the corresponding crops based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground where the crops grow corresponding to each vegetation coverage area, the method also includes: selecting a maximum elevation value from multiple elevation values corresponding to the first sub-digital surface model data; and determining the maximum elevation value as the first elevation value.
[0013] Optionally, before determining the height of the corresponding crops based on the first elevation value corresponding to the first sub-digital surface model data and the second 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; and determining a second elevation value based on the second sub-digital surface model data.
[0014] Optionally, determining the second elevation value according to the second sub-digital surface model data includes: acquiring a plurality of third elevation values corresponding to the second sub-digital surface model data; and determining the second elevation value according to the plurality of third elevation values.
[0015] Optionally, determining the second elevation value based on multiple third elevation values includes at least one of the following: determining the second elevation value by the median of multiple third elevation values; determining the second elevation value by the average of multiple third elevation values; determining the second elevation value by the maximum value of multiple third elevation values; determining the second elevation value by the minimum value of multiple third elevation values.
[0016] Optionally, the first elevation value is the absolute elevation of the canopy of the crop, and the second elevation value is the absolute elevation of the ground on which the crop grows.
[0017] Optionally, before obtaining the first position information of at least one vegetation coverage area in the target 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.
[0018] According to another aspect of an embodiment of the present invention, a device for determining the height of crops is also provided. The device may include: a first acquisition unit for acquiring digital surface model data of a target area; a second acquisition unit for acquiring first position information of at least one vegetation-covered area in the target area, wherein each vegetation-covered area corresponds to a crop; a first determination unit for determining, for each vegetation-covered area, first sub-digital surface model data corresponding to the vegetation-covered area from the digital surface model data based on the first position information of the vegetation-covered area and the second position information of the digital surface model data; a second determination unit for determining, for each vegetation-covered area, the height of the corresponding crop based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground on which the crop corresponding to each vegetation-covered area grows.
[0019] According to another aspect of the present invention, a computer storage medium is provided, which includes a stored program, wherein when the program is executed, the device where the computer storage medium is located is controlled to execute the method for determining the height of crops according to the present invention.
[0020] According to another aspect of an embodiment of the present invention, an electronic device is provided. The electronic device includes a processor and a memory for storing programs. When the processor executes the program, the steps of the method for determining the height of crops according to an embodiment of the present invention are implemented.
[0021] The present invention obtains digital surface model data of a target area; obtains digital surface model data of the target area; obtains first position information of at least one vegetation-covered area in the target area, wherein each vegetation-covered area corresponds to a crop; for each vegetation-covered area, based on the first position information of the vegetation-covered area and the second position information of the digital surface model data, first sub-digital surface model data corresponding to the vegetation-covered area is determined from the digital surface model data; for each vegetation-covered area, based on a first elevation value corresponding to the first sub-digital surface model data and a second elevation value of the ground where the crop corresponding to each vegetation-covered area grows, the height of the corresponding crop is determined. That is to say, for each vegetation covered area, this embodiment determines the first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data of the target area, and determines the height of the crops in the vegetation covered area through the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground on which the corresponding crops grow, thereby avoiding obtaining the height of the crops by manually measuring the crops with measuring equipment and avoiding affecting the crops themselves, thereby solving the technical problem of low efficiency in determining the crops and achieving the technical effect of improving the efficiency in determining the crops. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] 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:
[0023] Figure 1 is a flow chart of a method for determining the height of crops according to an embodiment of the present invention;
[0024] Figure 2 is a schematic diagram of a crop height measuring instrument according to an embodiment of the present invention;
[0025] Figure 3 is a schematic diagram of data distribution of a high-precision digital surface model according to an embodiment of the present invention;
[0026] Figure 4 It is a schematic diagram of a high-precision NDVI index data distribution according to an embodiment of the present invention;
[0027] Figure 5 is a schematic diagram of a super green range and a non-super green range of a target area according to an embodiment of the present invention; and
[0028] Figure 6 is a schematic diagram of a device for determining the height of crops according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] 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.
[0030] 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.
[0031] Example 1
[0032] According to an embodiment of the present invention, an embodiment of a method for determining the height of crops 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.
[0033] Figure 1 FIG. 1 is a flow chart of a method for determining the height of crops according to an embodiment of the present invention. Figure 1 As shown, the method may include the following steps:
[0034] Step S102: acquiring digital surface model data of the target area.
[0035] In the technical solution provided in the above step S102 of the present invention, the target area can be a certain range of areas where crops are planted, and the digital surface model data (Digital Surface Mode, referred to as DSM) of the target area can be collected and calculated by equipment such as drones, wherein the DSM data is a set expressed in digital form, has high-precision coordinate information, includes the ground elevation model of crops, and can most realistically express the ground undulations. Among them, the crops in this embodiment are growing crops including roots, stems, leaves and other parts.
[0036] Step S104: acquiring first position information of at least one vegetation-covered area in the target area.
[0037] In the technical solution provided in the above step S104 of the present invention, after acquiring the digital surface model data of the target area, first position information of at least one vegetation covered area in the target area is acquired, wherein each vegetation covered area corresponds to a crop.
[0038] In this embodiment, the target area includes at least one vegetation-covered area, each of which is planted with a crop of which height is to be determined. Optionally, at least one vegetation-covered area in the target area constitutes a super green area portion of the target area.
[0039] 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.
[0040] Step S106: for each vegetation covered area, based on the first position information of the vegetation covered area and the second position information of the digital surface model data, determine first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data.
[0041] 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 in the target area, for each vegetation-covered area, based on the first position information of the vegetation-covered area and the second position information of the digital surface model data, first sub-digital surface model data corresponding to the vegetation-covered area is determined from the digital surface model data.
[0042] In this embodiment, the digital surface model data includes first sub-digital surface model data, and the first sub-digital surface model data corresponds to the first position information of the vegetation coverage area. Optionally, the first position information of the vegetation coverage area and the second position information of the digital surface model data of this embodiment 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 digital surface model data can be aligned first, and then 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 digital surface model data, and then the first sub-digital surface model data corresponding to the vegetation coverage area can be determined from the digital surface model data.
[0043] Step S108, for each vegetation covered area, based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground where the crops corresponding to each vegetation covered area grow, determine the height of the corresponding crops.
[0044] In the technical solution provided in the above step S108 of the present invention, after determining the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data, for each vegetation coverage area, the height of the corresponding crop is determined based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground on which the crops corresponding to each vegetation coverage area grow.
[0045] 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 the first elevation value corresponding to the first sub-digital surface model data is obtained. The first elevation value can be used to represent the elevation value of the canopy of crops. Optionally, this embodiment can obtain a second elevation value of the ground where the crops grow, which can be the absolute elevation of the ground where the crops grow. The crop height of the crops can be determined based on the above-mentioned first elevation value and second elevation value. 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 crops. Among them, the second 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.
[0046] It should be noted that the above-mentioned method for determining the height of crops in this embodiment is for one crop, and the height of other crops can also be determined by the above-mentioned method. At least one vegetation coverage area can be traversed, and the height of crops in each vegetation coverage area can be determined by the above-mentioned method. Therefore, the height of crops can be measured quickly, on a large scale, and automatically, avoiding the problem of low efficiency in determining the height of crops and affecting the crops themselves due to manual measurement of the height of crops when there are a large number of crops. Therefore, the height of all crops in the target area can be determined.
[0047] The present application obtains digital surface model data of the target area through the above steps S102 to S108; obtains first position information of at least one vegetation-covered area in the target area, wherein each vegetation-covered area corresponds to a crop; for each vegetation-covered area, based on the first position information of the vegetation-covered area and the second position information of the digital surface model data, determines first sub-digital surface model data corresponding to the vegetation-covered area from the digital surface model data; for each vegetation-covered area, based on a first elevation value corresponding to the first sub-digital surface model data and a second elevation value of the ground on which the crop corresponding to each vegetation-covered area grows, determines the height of the corresponding crop. That is to say, for each vegetation covered area, this embodiment determines the first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data of the target area, and determines the height of the crops in the vegetation covered area through the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground on which the corresponding crops grow, thereby avoiding obtaining the height of the crops by manually measuring the crops with measuring equipment and avoiding affecting the crops themselves, thereby solving the technical problem of low efficiency in determining the crops and achieving the technical effect of improving the efficiency in determining the crops.
[0048] As an optional implementation, step S106, based on the first position information of the vegetation covered area and the second position information of the digital surface model data, determining first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data includes: determining target position information that is the same as the first position information from the second position information; and determining the digital surface model data corresponding to the target position information as the first sub-digital surface model data.
[0049] In this embodiment, the second position information of the digital surface model data and the first position information of the vegetation coverage area may have the same target position information, for example, the same coordinate information, and the digital surface model data corresponding to the 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 real-time kinematic (RTK) to determine the first digital surface model data corresponding to the vegetation coverage area from the digital surface model data according to the above target position information.
[0050] As an optional implementation, step S106, based on the first position information of the vegetation covered area and the second position information of the digital surface model data, determining first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data, includes: displaying a first layer presented by the digital surface model data; marking in the first layer a target position corresponding to the second position information that is the same as the first position information; obtaining an updated target position based on a user's correction operation on the target position; and determining the digital surface model data corresponding to the updated target position as the first sub-digital surface model data.
[0051] In this embodiment, the digital surface model data can be reflected by the first layer, and the first layer presented by the digital surface model data can be displayed. The first layer can be used to indicate a specific position. The target position corresponding to the second position information that is the same as the first position information can be marked and displayed in the first layer. The target position is also the mapping position of the first position information in the digital surface model data, which can be displayed through marking information. The marking information may include but is not limited to text, icons, symbols, etc.
[0052] Optionally, since the 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 target position, for example, obtains the user's drag operation on the point corresponding to the 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 target position is updated, that is, the target position is adjusted, and the digital surface model data corresponding to the updated 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.
[0053] As an optional implementation, after obtaining an updated target position based on the user's correction operation on the target position, the method also includes: determining a position correction amount of the corresponding target position based on the correction operation; updating other target positions other than the target position corresponding to the correction operation based on the position correction amount; and for each vegetation coverage area, using the corresponding and updated target position as the sub-digital surface model data corresponding to the vegetation coverage area.
[0054] In this embodiment, the first layer may include target positions corresponding to second position information that is the same as different first position information, that is, the number of the target positions may be multiple, and the embodiment may adaptively adjust all the target positions based on the user's correction operation on one of the multiple target positions. Optionally, the embodiment may determine the position correction amount of the corresponding 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 target positions other than the 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 target positions in the first layer based on the user's correction operation on a target position. For each vegetation coverage area, the digital surface model data corresponding to the corresponding and updated 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 target position, the operation is cumbersome and the calculation efficiency of the crop height is affected.
[0055] As an optional implementation, step S106, based on the first position information of the vegetation coverage area 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: displaying the first 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 first layer and the second layer respectively; updating and displaying the first layer and the second layer based on an instruction for instructing to overlap the alignment reference points in the first layer and the alignment reference points in the second layer; and determining the digital surface model data corresponding to the area in the first layer that overlaps with the second layer as the first sub-digital surface model data corresponding to the vegetation coverage area.
[0056] In this embodiment, the digital surface model data can be reflected by the first layer of points, and the vegetation coverage area can be reflected by the second layer. This embodiment can display the first 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 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 already 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 first layer as the first sub-digital surface model data corresponding to the vegetation coverage area.
[0057] As an optional implementation, in step S106, before determining the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data, the method further includes: displaying a first layer presented by the digital surface model data and a second layer corresponding to the vegetation coverage area; outputting prompt information for prompting the user whether to adopt the first layer and the second layer; and determining whether 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 according to an instruction fed back by the user in response to the prompt information.
[0058] 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 first layer presented by the digital surface model data and the second layer corresponding to the vegetation coverage area can be displayed on the interface, and then prompt information can be output on the interface, the prompt information 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 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 first 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.
[0059] As an optional implementation, step S108, based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground where the crops corresponding to each vegetation coverage area grow, determines the height of the corresponding crops, including: displaying the first layer presented by the digital surface model data; displaying multiple elevation values corresponding to the target position at the target position corresponding to the second position information that is the same as the first position information in the first layer; determining the first elevation value from the multiple elevation values based on the user's selection operation on the multiple elevation values; and using the difference between the first elevation value and the second elevation value as the height of the crop.
[0060] In this embodiment, when determining the height of the corresponding crops based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground where the crops corresponding to each vegetation coverage area grow, the first layer presented by the digital surface model data can be first displayed on the interface, and the target position corresponding to the second position information identical to the first position information can be determined in the first layer, and then multiple elevation values corresponding to the target position can be displayed at the target position, for example, a list of elevation values corresponding to the target position can be displayed. The user's selection operation on the above multiple elevation values is obtained, and in response to the selection operation, the first elevation value is selected from the multiple elevation values, and the first elevation value and the second 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 can be determined by the user's own selection of the elevation value, which can play a certain auxiliary correction role.
[0061] As an optional implementation, in step S106, before determining the height of the corresponding crops based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground on which the crops corresponding to each vegetation coverage area grow, the method also includes: selecting a maximum elevation value from multiple elevation values corresponding to the first sub-digital surface model data; and determining the maximum elevation value as the first elevation value.
[0062] In this embodiment, the above-mentioned multiple elevation values can be sorted in order from large to small, and the maximum elevation value can be determined from the sorted multiple elevation values, and the maximum elevation value can be determined as the first elevation value of this embodiment.
[0063] As an optional implementation, in step S108, before determining the height of the corresponding crops based on the first elevation value corresponding to the first sub-digital surface model data and the second 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; and determining a second elevation value based on the second sub-digital surface model data.
[0064] In this embodiment, before determining the height of the corresponding crops based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground where the crops grow corresponding to each vegetation coverage area, the second elevation value of the ground where the crops grow can be determined. The area corresponding to the first sub-digital surface model can be first determined in the target area, and the area can be expanded outward 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. The second sub-digital surface model data corresponds to an elevation value at each position, and the elevation value is also the elevation value of the non-super green range. The second elevation value of the ground where the crops grow can be determined based on the elevation value corresponding to the second sub-digital surface model data.
[0065] As an optional implementation, determining the second elevation value according to the second sub-digital surface model data includes: acquiring a plurality of third elevation values corresponding to the second sub-digital surface model data; and determining the second elevation value according to the plurality of third elevation values.
[0066] In this embodiment, when determining the second elevation value based on the second sub-digital surface model data, each position in the surrounding area corresponding to the second sub-digital surface model data corresponds to a third elevation value, and the third elevation value is an absolute elevation, that is, the distance (height) from the point on the ground to the geoid along the vertical direction. Multiple third elevation values corresponding to the second sub-digital surface model data are obtained, and then the second elevation value of the ground where the crops grow is determined based on the multiple third elevation values.
[0067] As an optional embodiment, determining the second elevation value based on multiple third elevation values includes at least one of the following: determining the second elevation value by the median of multiple third elevation values; determining the second elevation value by the average of multiple third elevation values; determining the second elevation value by the maximum value of multiple third elevation values; determining the second elevation value by the minimum value of multiple third elevation values.
[0068] In this embodiment, after obtaining multiple third elevation values, the median of the multiple third elevation values can be obtained, and the second 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 second elevation value of the ground where the crops grow; this embodiment can also obtain the average value of the multiple third elevation values, and determine the second elevation value of the ground where the crops grow by the average value. For example, the above average value can be determined as the second elevation value of the ground where the crops grow; this embodiment can also obtain the maximum value of the multiple third elevation values, and the second 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 second elevation value of the ground where the crops grow; this embodiment can also obtain the minimum value of the multiple third elevation values, and determine the second elevation value of the ground where the crops grow by the minimum value. For example, the above minimum value can be determined as the second elevation value of the ground where the crops grow.
[0069] It should be noted that the method of determining the second elevation value by using the median, mean, maximum and minimum values of the above-mentioned multiple third elevation values in this embodiment is only a preferred implementation method for determining the second elevation value based on multiple third elevation values in an embodiment of the present invention. Any method that can be used to determine the second elevation value by using multiple third elevation values is within the scope of the embodiments of the present invention and will not be illustrated one by one here.
[0070] As an optional implementation, in step S102, before obtaining the first position information of at least one vegetation coverage area in the target area, the method also includes: determining the area in the target area that meets the target conditions as the vegetation coverage area; wherein the target conditions include any one of the following: the vegetation coverage index is greater than the first threshold, the leaf area index is greater than the second threshold; or, based on the image of the target area, the area where the crops are located is identified to obtain the vegetation coverage area.
[0071] 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.
[0072] 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.
[0073] 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.
[0074] 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.
[0075] 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.
[0076] 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.
[0077] 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.
[0078] 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.
[0079] 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.
[0080] The above-mentioned crop height determination method of this embodiment can be a method for sensing the crop height distribution of a crop group, obtaining digital surface model data of a target area; obtaining first position information of at least one vegetation coverage area in the target area, wherein each vegetation coverage area corresponds to a crop; for each vegetation coverage area, based on the first position information of the vegetation coverage area 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; for each vegetation coverage area, determining the height of the corresponding crop based on a first elevation value corresponding to the first sub-digital surface model data and a second elevation value of the ground where the crop grows, thereby avoiding obtaining the crop height by manually measuring the crop using a measuring device, and also avoiding affecting the crop itself, thereby solving the technical problem of low efficiency in crop determination and achieving the technical effect of improving the efficiency in crop determination.
[0081] Example 2
[0082] The technical solution of the embodiment of the present invention is illustrated below in conjunction with preferred implementation modes.
[0083] The height of crops is one of the important indicators for measuring the growth status of crops. Usually, the height of crops is measured manually using measuring equipment, such as Figure 2 The crop height measuring instrument X shown, wherein: Figure 2 2 is a schematic diagram of a crop height measuring instrument according to an embodiment of the present invention. The bottom of the measuring instrument X needs to be aligned with the bottom of the crop, placed vertically, and then the reading at the highest point of the crop is read to measure the crop height.
[0084] However, using a crop height meter or other traditional equipment to measure crop height has the technical problem of low efficiency. If there are many sampling points to be measured, the workload is particularly huge, and the surveyor needs to go inside the planting area and set up the crop meter for measurement, which not only affects the crops themselves, but also makes the operation very troublesome, thus leading to the technical problem of low efficiency in crop determination.
[0085] In this embodiment, a device such as a drone may be used to collect and calculate high-precision digital surface model data of the target area. Figure 3 FIG. 1 is a schematic diagram of a high-precision digital surface model data distribution according to an embodiment of the present invention. Figure 3 As shown, the high-precision point high-precision digital surface model data includes crops whose heights are to be determined, such as trees. The digital surface model data is a set expressed in digital form, has high-precision coordinate information, includes a ground elevation model of crops, and can most realistically express the ground undulations.
[0086] Figure 4 Schematic diagram of a high-precision NDVI index data distribution according to an embodiment of the present invention. Figure 4 As shown in Figure 2, a drone equipped with a multispectral camera can be used to collect and calculate high-precision NDVI index data for the target area (such as Figure 4 The light-colored part Y) is extracted from the target area using the NDVI index data to extract the super-green part (vegetation-covered area). The value range of the NDVI index data of this embodiment is -1 to 1, wherein the closer to the maximum value, the more chlorophyll there is, and the extraction can be performed by setting a threshold value. For example, the threshold value is set to 0.5, and the partial area in the target area where the NDVI index data is > 0.5 can be determined as the super-green area of the crop, and it is determined as the vegetation-covered area.
[0087] In this embodiment, since both the digital surface model data and the NDVI index data have high-precision coordinate information, the point cloud data and the NDVI index data can be superimposed and calculated. The positions of all the super-green parts extracted from the target area are superimposed on the digital surface model layer for calculation. The same position in the digital surface model layer has only one elevation value, which is the absolute elevation of the crop. Figure 5 is a schematic diagram of a super green range and a non-super green range of a target area according to an embodiment of the present invention, such as Figure 5 As shown, the range indicated by circle 1 is the super green range. According to the position of circle 1 in the target area, a certain range can be expanded to obtain circle 2. The range within circle 2 but not within circle 1 is the non-super green range around the super green range. This embodiment can obtain the elevation values of all positions within circle 2 but not within circle 1 according to the digital surface model layer, obtain multiple elevation values, calculate the multiple elevation values using algorithms such as median, mean, maximum or minimum, obtain an elevation value A, determine the elevation value as the elevation value B of the ground where the crops in circle 1 grow, and perform subtraction operation on the elevation value A and the elevation value B to obtain the crop height of the crops.
[0088] The above-mentioned crop height determination method of this embodiment can be a method for sensing the crop height distribution of a crop group. Through 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 crop grows is determined by the elevation value, and the difference between the elevation value of the canopy of the crop and the elevation value of the ground on which the crop grows is used to determine the crop height, so that the crop height can be measured quickly, over a large range, and automatically, avoiding the need to obtain the crop height by manually measuring the crop using measuring equipment, and also avoiding affecting the crop itself, thereby solving the technical problem of low efficiency in crop determination and achieving the technical effect of improving the efficiency of crop determination.
[0089] Example 3
[0090] The embodiment of the present invention further provides a device for determining the height of crops. It should be noted that the device for determining the height of crops in this embodiment can be used to execute the method for determining the height of crops in this embodiment of the present invention.
[0091] Figure 6 Schematic diagram of a device for determining the height of crops according to an embodiment of the present invention. Figure 6As shown, the device 60 for determining the height of crops may include: a first acquiring unit 61 , a second acquiring unit 62 , a first determining unit 63 and a second determining unit 64 .
[0092] The first acquisition unit 61 is used to acquire digital surface model data of a target area.
[0093] The second acquisition unit 62 is used to acquire first position information of at least one vegetation-covered area in the target area, wherein each vegetation-covered area corresponds to a crop.
[0094] The first determining unit 63 is configured to determine, for each vegetation covered area, first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data based on the first position information of the vegetation covered area and the second position information of the digital surface model data.
[0095] The second determining unit 64 is used to determine the height of the corresponding crop for each vegetation covered area based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground where the crop corresponding to each vegetation covered area grows.
[0096] Optionally, the first determining unit 63 includes: a first determining module, configured to determine target position information identical to the first position information from the second position information; and a second determining module, configured to determine the digital surface model data corresponding to the target position information as the first sub-digital surface model data.
[0097] Optionally, the first determination unit 63 includes: a first display module, used to display a first layer presented by the digital surface model data; a first marking module, used to mark and display in the first layer a target position corresponding to second position information that is the same as the first position information; a correction module, used to obtain an updated target position based on a user's correction operation on the target position; and a third determination module, used to determine the digital surface model data corresponding to the updated target position as the first sub-digital surface model data.
[0098] Optionally, the device also includes: a third determination unit, which is used to determine the position correction amount of the corresponding target position based on the correction operation after obtaining the updated target position based on the user's correction operation on the target position; an updating unit, which is used to update other target positions other than the target position corresponding to the correction operation based on the position correction amount; and a fourth determination unit, which is used to use the corresponding and updated target position of each vegetation coverage area as the sub-digital surface model data corresponding to the vegetation coverage area.
[0099] Optionally, the first determination unit 63 includes: a second display module, used to display the first layer presented by the digital surface model data and the second layer corresponding to the vegetation coverage area; a second marking module, used to mark and display the alignment reference points corresponding to the set reference positions in the first layer and the second layer respectively; a second updating module, used to update and display the first layer and the second layer based on an instruction for instructing to overlap the alignment reference points in the first layer and the alignment reference points in the second layer; and a fourth determination module, used to determine the digital surface model data corresponding to the area in the first layer that overlaps with the second layer as the first sub-digital surface model data corresponding to the vegetation coverage area.
[0100] Optionally, the device further includes: a display unit, used to display a first layer presented by the digital surface model data and a second layer corresponding to the vegetation coverage area before determining the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data; an output unit, used to output prompt information for prompting the user whether to adopt the first layer and the second layer; and a fifth determination unit, used to determine whether 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 according to an instruction fed back by the user in response to the prompt information.
[0101] Optionally, the second determination unit 64 includes: a third display module, used to display the first layer presented by the digital surface model data; at the target position corresponding to the second position information that is the same as the first position information in the first layer, displaying multiple elevation values corresponding to the target position; a selection module, used to determine the first elevation value from the multiple elevation values based on the user's selection operation on the multiple elevation values; and a fifth determination module, used to use the difference between the first elevation value and the second elevation value as the height of the crop.
[0102] Optionally, the device also includes: a selection unit, used to select a maximum elevation value from multiple elevation values corresponding to the first sub-digital surface model data before determining the height of the corresponding crops based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground where the crops corresponding to each vegetation coverage area grow; a sixth determination unit, used to determine the maximum elevation value as the first elevation value.
[0103] Optionally, the device also includes: a seventh determination unit, used to determine the surrounding area of the 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 first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground where the crops corresponding to each vegetation coverage area grow, wherein the surrounding area is not covered with crops; a third acquisition unit, used to acquire the second sub-digital surface model data corresponding to the surrounding area in the digital surface model data; and an eighth determination unit, used to determine the second elevation value based on the second sub-digital surface model data.
[0104] Optionally, the eighth determination unit includes: an acquisition module, used to acquire a plurality of third elevation values corresponding to the second sub-digital surface model data; and a sixth determination module, used to determine the second elevation value according to the plurality of third elevation values.
[0105] Optionally, the sixth determination module is used to determine the second elevation value based on multiple third elevation values through at least one of the following steps: determining the second elevation value through the median value of multiple third elevation values; determining the second elevation value through the average value of multiple third elevation values; determining the second elevation value through the maximum value of multiple third elevation values; determining the second elevation value through the minimum value of multiple third elevation values.
[0106] Optionally, the first elevation value is the absolute elevation of the canopy of the crop, and the second elevation value is the absolute elevation of the ground on which the crop grows.
[0107] Optionally, the device also includes: a ninth determination unit, which is used to determine the 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 in the target area; wherein the target conditions include any one of the following: the vegetation coverage index is greater than the first threshold, the leaf area index is greater than the second threshold; or, based on the image of the target area, the area where the crops are located is identified to obtain the vegetation coverage area.
[0108] The device for determining the height of crops in this embodiment determines, for each vegetation coverage area, first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data of the target area, and determines the height of the crops in the vegetation coverage area through a first elevation value corresponding to the first sub-digital surface model data and a second elevation value of the ground on which the corresponding crops grow, thereby avoiding obtaining the height of the crops by manually measuring the crops using measuring equipment and avoiding affecting the crops themselves, thereby solving the technical problem of low efficiency in determining the crops and achieving the technical effect of improving the efficiency in determining the crops.
[0109] Example 4
[0110] The embodiment of the present invention further provides a computer storage medium, which includes a stored program, wherein when the program is executed by a processor, the device where the computer storage medium is located is controlled to execute the method for determining the height of crops of the embodiment of the present invention.
[0111] Example 5
[0112] An 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 steps of the method for determining the height of crops of the embodiment of the present invention are implemented.
[0113] 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.
[0114] 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.
[0115] 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.
[0116] 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.
[0117] 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.
[0118] 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.
[0119] 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 determining the height of crops, characterized in that: include: Acquire digital surface model data of the target area; Acquire first position information of at least one vegetation-covered area in the target area, wherein each vegetation-covered area corresponds to a crop; For each vegetation covered area, based on the first position information of the vegetation covered area and the second position information of the digital surface model data, determining first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data; For each vegetation covered area, determining the height of the corresponding crop based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground where the crop corresponding to each vegetation covered area grows; Wherein, before obtaining the first position information of at least one vegetation-covered area in the target area, the method also includes: calling a target neural network model to identify the image of the target area to obtain a vegetation image, wherein the target neural network model is trained based on image samples containing the vegetation-covered area and labels corresponding to the image samples, and the labels are used to represent the labeling results obtained by labeling the image samples; determining the area corresponding to the vegetation image in the target area as an area that meets the target conditions; and determining the area in the target area that meets the target conditions as the vegetation-covered area.
2. The method according to claim 1, characterized in that Based on the first position information of the vegetation covered area and the second position information of the digital surface model data, determining first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data, comprising: Determining target location information that is the same as the first location information from the second location information; The digital surface model data corresponding to the target position information is determined as the first sub-digital surface model data.
3. The method according to claim 1, characterized in that Based on the first position information of the vegetation covered area and the second position information of the digital surface model data, determining first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data, comprising: Displaying a first layer presented by the digital surface model data; Marking and displaying in the first layer a target location corresponding to the second location information which is the same as the first location information; Based on the user's correction operation on the target position, an updated target position is obtained; The digital surface model data corresponding to the updated target position is determined as the first sub-digital surface model data.
4. The method according to claim 3, characterized in that After obtaining an updated target position based on the user's correction operation on the target position, the method further includes: Determine a position correction amount of a corresponding target position based on the correction operation; updating other target positions other than the target position corresponding to the correction operation based on the position correction amount; For each vegetation covered area, the corresponding and updated target position is used as the sub-digital surface model data corresponding to the vegetation covered area.
5. The method according to claim 1, characterized in that Based on the first position information of the vegetation covered area and the second position information of the digital surface model data, determining first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data, comprising: Displaying a first 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 set reference positions in the first layer and the second layer respectively; Based on an instruction for instructing to overlap the alignment reference point in the first layer with the alignment reference point in the second layer, updating and displaying the first layer and the second layer; The digital surface model data corresponding to the area in the first layer that overlaps with the second layer is determined as the first sub-digital surface model data corresponding to the vegetation coverage area.
6. The method according to claim 1, characterized in that Before determining the first sub-digital surface model data corresponding to the vegetation coverage area from the digital surface model data, the method further includes: Displaying a first layer presented by the digital surface model data and a second layer corresponding to the vegetation coverage area; Outputting prompt information for prompting the user whether to adopt the first layer and the second layer; According to the instruction fed back by the user in response to the prompt information, it is determined whether 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.
7. The method according to claim 1, characterized in that Determining the height of the corresponding crop based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground where the crop corresponding to each vegetation coverage area grows includes: Displaying a first layer presented by the digital surface model data; At a target position corresponding to the second position information that is the same as the first position information in the first layer, display a plurality of elevation values corresponding to the target position; Based on a user's selection operation on the plurality of elevation values, determining the first elevation value from the plurality of elevation values; The difference between the first elevation value and the second elevation value is used as the height of the crop.
8. The method according to claim 1, characterized in that Before determining the height of the corresponding crop based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground on which the crop corresponding to each vegetation coverage area grows, the method further includes: Selecting a maximum elevation value from a plurality of elevation values corresponding to the first sub-digital surface model data; The maximum elevation value is determined as the first elevation value.
9. The method according to claim 1, characterized in that: Before determining the height of the corresponding crop based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground on which the crop corresponding to each vegetation coverage area grows, the method further includes: Determine, in the target area, a peripheral area of the area corresponding to the first sub-digital surface model data, wherein the peripheral area is not covered with crops; In the digital surface model data, obtaining second sub-digital surface model data corresponding to the surrounding area; The second elevation value is determined according to the second sub-digital surface model data.
10. The method according to claim 9, characterized in that Determining the second elevation value according to the second sub-digital surface model data includes: Acquire a plurality of third elevation values corresponding to the second sub-digital surface model data; The second elevation value is determined according to the plurality of third elevation values.
11. The method according to claim 10, characterized in that Determining the second elevation value according to the plurality of third elevation values comprises at least one of the following: Determine the second elevation value by the median value of the plurality of third elevation values; Determine the second elevation value by averaging the plurality of third elevation values; Determine the second elevation value by the maximum value of the plurality of third elevation values; The second elevation value is determined by the minimum value of the plurality of third elevation values.
12. The method according to claim 1, characterized in that The first elevation value is the absolute elevation of the canopy of the crop, and the second elevation value is the absolute elevation of the ground where the crop grows.
13. The method according to claim 1, characterized in that The target condition includes any one of the following: the vegetation cover index is greater than a first threshold, the leaf area index is greater than a second threshold; Alternatively, the area where the crops are located is identified based on the image of the target area to obtain the vegetation coverage area.
14. A device for determining the height of crops, characterized in that: include: A first acquisition unit, used to acquire digital surface model data of a target area; a second acquisition unit, configured to acquire first position information of at least one vegetation-covered area in the target area, wherein each vegetation-covered area corresponds to a crop; a first determining unit, configured to determine, for each vegetation covered area, first sub-digital surface model data corresponding to the vegetation covered area from the digital surface model data based on the first position information of the vegetation covered area and the second position information of the digital surface model data; A second determining unit is used to determine, for each vegetation covered area, the height of the corresponding crop based on the first elevation value corresponding to the first sub-digital surface model data and the second elevation value of the ground where the crop corresponding to each vegetation covered area grows; The device is also used for: before the second acquisition unit is used to acquire the first position information of at least one vegetation-covered area in the target area, calling the target neural network model to identify the image of the target area to obtain a vegetation image, wherein the target neural network model is trained based on image samples containing the vegetation-covered area and labels corresponding to the image samples, and the labels are used to represent the labeling results obtained by labeling the image samples; determining the area corresponding to the vegetation image in the target area as an area that meets the target conditions; and determining the area in the target area that meets the target conditions as the vegetation-covered area.
15. A computer storage medium, characterized in that The computer storage medium includes a stored program, wherein when the program is executed, the device where the computer storage medium is located is controlled to execute the method according to any one of claims 1 to 13.
16. An electronic device, 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 13 are implemented.
Citation Information
Patent Citations
Method for extracting point cloud data of tree height based on space three-dimensional template
CN102521835A
Method and device for acquiring building height
CN105865413A
Rapid measuring method for growing height of agricultural crops in mountainous areas based on unmanned aerial vehicle photographed image
CN106643529A
A system and method for extracting plant height based on unmanned aerial vehicle image DSM
CN109948484A
Method for measuring vegetation coverage of sandy land vegetation in alpine fragile area based on TLS
CN110988909A
