Crop planting management method and management system based on three-dimensional digital twinning
Three-dimensional digital twin technology is used to analyze farmland historical data and images to identify and mark suspected disease areas of crops, solving the problem of lagging disease judgment in the existing technology, improving the accuracy of early detection and prediction, reducing the scope of disease infection, and improving increased crop yields.
Patent Information
- Application Number
- CN202410780231.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-06
AI Technical Summary
Existing technologies lag behind in judgment in crop disease prevention and control, leading to an expansion of the disease scope and making it difficult to achieve early detection and prediction.
The crop planting management method based on three-dimensional digital twins obtains farmland historical data, analyzes and marks problem areas, identifies characteristic objects in the image, decomposes them into sub-characteristic objects, assigns values, and counts the total value to mark suspected characteristic objects, thereby improving early disease prevention. probability of discovery.
It achieves early detection and prediction of crop diseases, reduces the scope of disease infection, and increases crop yields.
Smart Images

Figure CN118608970A
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart agricultural technology, and in particular to a crop planting management method and management system based on three-dimensional digital twins. Background Art
[0002] Agriculture can be divided into basic agriculture and economic agriculture. Basic agriculture mainly refers to the cultivation of staple food and large-scale low-economic-efficiency crops that meet market demand. Basic agriculture can only obtain economic benefits through scale, which also promotes the widespread use of unmanned technology.
[0003] Three-dimensional digital twins are the reconstruction of real scenes in three-dimensional space. Thanks to low-cost phased array radar technology and drone technology, three-dimensional digital twins have begun to be used in basic agriculture and have application prospects in disease prevention and control and yield forecasting.
[0004] Disease prevention and control of crops requires advance prediction, because intervention measures taken after obvious regional disease conditions are discovered will lead to the expansion of the disease range and directly affect the later yield. The current judgment model requires a large number of trait comparisons to detect diseased plants, and the judgment lags significantly, so further research is needed. Summary of the invention
[0005] The present application provides a crop planting management method and management system based on three-dimensional digital twins, which performs advance prediction based on historical planting data and mutual comparison between plants, thereby discovering problem areas and problem plants, and increasing the probability of early disease detection.
[0006] The above-mentioned purpose of the present application is achieved through the following technical solutions:
[0007] In a first aspect, the present application provides a crop planting management method based on three-dimensional digital twins, comprising:
[0008] Obtain and analyze historical data of farmland within the coverage area, identify problem areas of the farmland and obtain the time period in which the problem areas occurred, and mark the problem areas in the 3D model generated based on the 3D digital twin;
[0009] Acquire an image of the problem area prior to a time period in which the problem area occurs;
[0010] Identify and separate feature objects in the image and decompose the feature objects, each feature object is decomposed into multiple sub-feature objects;
[0011] Put sub-feature objects of the same type into a single comparison group;
[0012] After analyzing a comparison group, assigning values to sub-feature objects in the comparison group;
[0013] The total value of each feature object is counted and the feature objects whose total value is greater than or equal to the set value or the set ratio are marked as suspected feature objects.
[0014] In a possible implementation manner of the first aspect, identifying and separating feature objects in an image and decomposing the feature objects includes:
[0015] determining a first object in the image based on color and contour features;
[0016] Creating a centerline attributed to the first object;
[0017] Determine the direction of the center line and determine the convergence point of the center line according to the direction of the center line;
[0018] Determine the reference point based on the convergence point of the center lines;
[0019] Creating datum areas using datum points and centerlines attributed to the datum points; and
[0020] Create a feature object using the first object within the reference region.
[0021] In a possible implementation manner of the first aspect, when creating the center line belonging to the first object, the method further includes determining a height change trend of the center line and using the height change trend to assist in determining a direction of the center line.
[0022] In a possible implementation manner of the first aspect, determining the height change trend of the center line includes:
[0023] Acquire a three-dimensional point cloud data set corresponding to the image and project the data points in the three-dimensional point cloud data set onto a plane parallel to the plane where the image is located;
[0024] Using the height difference to filter the data points in the three-dimensional point cloud data set, obtaining the data points associated with the first object and recording them as valid data points;
[0025] creating a second object using the valid data points and matching the first object to the second object;
[0026] Valid data points associated with the center line of the first object are screened and obtained, and the height variation trend of the center line is obtained using the valid data points.
[0027] In a possible implementation manner of the first aspect, analyzing a comparison group includes:
[0028] Performing secondary grouping of the sub-feature objects in the primary comparison group according to the height to obtain a secondary comparison group, wherein the secondary comparison group includes a plurality of sub-feature objects;
[0029] Compare the color difference and plane uniformity of any two sub-feature objects in the secondary comparison group;
[0030] Numerical values are assigned to the sub-feature objects according to the comparison results, and the numerical values include color difference values and plane regularity values.
[0031] In a possible implementation manner of the first aspect, comparing the color difference values of two sub-feature objects includes:
[0032] Obtain images of two sub-feature objects, recorded as the first image and the second image;
[0033] Performing a coincidence process on the first image and the second image, during which the center line of the first image coincides with the center line of the second image, and the edge of the first image coincides with the edge of the second image;
[0034] Calculate the total area of the color difference regions between the first image and the second image, and record the total area as the color difference;
[0035] When the length of the first image is not equal to the length of the second image, the first image or the second image is moved, and after each movement, the total area of the color difference area on the first image and the second image is calculated and the total area with the smallest value is selected as the total area of the color difference area.
[0036] In a possible implementation manner of the first aspect, comparing the plane regularity of two sub-feature objects includes:
[0037] Establishing a first reference line according to the center line of the sub-feature object;
[0038] Select multiple position points on the first reference line, and establish a second reference line at the position points, the second reference line is parallel to the corresponding position of the sub-feature object;
[0039] Establishing a reference plane using a first reference line and a second reference line;
[0040] Select a reference point on the sub-feature object and calculate the straight-line distance between the reference point and the reference plane;
[0041] The dispersion of straight-line distances is calculated and the obtained dispersion is used as the plane regularity.
[0042] In a second aspect, the present application provides a crop planting management device based on three-dimensional digital twins, comprising:
[0043] A data analysis unit is used to obtain historical data of farmland within the coverage area and analyze the historical data, find the problem areas of the farmland and obtain the time period in which the problem areas appear, and mark the problem areas in the three-dimensional model generated based on the three-dimensional digital twin;
[0044] An image acquisition unit, used for acquiring an image of the problem area before a time period in which the problem area occurs;
[0045] A model decomposition unit is used to identify and separate feature objects in the image and decompose the feature objects, each feature object is decomposed into multiple sub-feature objects;
[0046] A grouping processing unit, used for putting sub-feature objects of the same type into a one-time comparison group;
[0047] An assignment unit is used to assign values to sub-feature objects in a comparison group after analyzing the comparison group;
[0048] The statistical unit is used to count the total value of each feature object and mark the feature objects whose total value is greater than or equal to a set value or a set ratio as suspected feature objects.
[0049] In a third aspect, the present application provides a crop planting management system based on three-dimensional digital twins, the system comprising:
[0050] one or more memories for storing instructions; and
[0051] One or more processors, used to call and run the instructions from the memory to execute the method as described in the first aspect and any possible implementation of the first aspect.
[0052] In a fourth aspect, the present application provides a computer-readable storage medium, the computer-readable storage medium comprising:
[0053] Program, when the program is executed by a processor, the method described in the first aspect and any possible implementation of the first aspect is executed.
[0054] In a fifth aspect, the present application provides a computer program product, comprising program instructions. When the program instructions are executed by a computing device, the method described in the first aspect and any possible implementation of the first aspect is executed.
[0055] In a sixth aspect, the present application provides a chip system, which includes a processor for implementing the functions involved in the above aspects, for example, generating, receiving, sending, or processing the data and / or information involved in the above methods.
[0056] The chip system may be composed of chips, or may include chips and other discrete devices.
[0057] In a possible design, the chip system also includes a memory, which is used to store necessary program instructions and data. The processor and the memory can be decoupled and respectively set on different devices, connected by wired or wireless means, or the processor and the memory can also be coupled on the same device. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 This is a schematic flowchart of the steps of a crop planting management method provided in this application.
[0059] Figure 2 It is a schematic diagram of a problem area provided by this application.
[0060] Figure 3 This is a schematic diagram of the convergence position of a center line provided by this application.
[0061] Figure 4 This is another schematic diagram of the convergence position of the center lines provided in this application.
[0062] Figure 5 This is a schematic diagram of obtaining color difference areas provided by the present application.
[0063] Figure 6 This is another schematic diagram of obtaining color difference areas provided by the present application.
[0064] Figure 7 This is a schematic diagram for obtaining a first baseline provided by the present application.
[0065] Figure 8 This is a schematic diagram for obtaining a second baseline provided by the present application. DETAILED DESCRIPTION
[0066] The technical solution in this application is further described in detail below in conjunction with the accompanying drawings.
[0067] This application discloses a crop planting management method based on three-dimensional digital twins, please refer to Figure 1 In some examples, the crop planting management method based on three-dimensional digital twin disclosed in this application includes the following steps:
[0068] S101, obtaining historical data of farmland within the coverage area and analyzing the historical data, discovering problem areas of the farmland and obtaining the time period in which the problem areas appeared, and marking the problem areas in a three-dimensional model generated based on the three-dimensional digital twin;
[0069] S102, acquiring an image of the problem area before the time period in which the problem area appears;
[0070] S103, identifying and separating feature objects in the image and decomposing the feature objects, each feature object being decomposed into a plurality of sub-feature objects;
[0071] S104, putting sub-feature objects of the same type into a single comparison group;
[0072] S105, after analyzing the primary comparison group, assigning a numerical value to the sub-feature object in the primary comparison group;
[0073] S106, counting the total value of each feature object and marking the feature objects whose total value is greater than or equal to a set value or a set ratio as suspected feature objects.
[0074] The crop planting management method based on three-dimensional digital twin disclosed in this application first analyzes historical data to find plots with high probability of disease, and then conducts focused analysis on these plots.
[0075] It should be understood that a conventional treatment method is to take timely intervention measures after the disease is discovered, but in actual agricultural production, this method is limited to the early seedling stage, because it will not affect the yield or the impact is limited at this time. When the plant enters the flowering and fruiting stage, the effect of the intervention measures will decrease, because this will directly affect the yield. Therefore, in the process of crop planting, it is necessary to conduct pre-management of crop diseases and take timely intervention measures in the early stage of the disease or even when the disease is suspected.
[0076] The crop planting management method based on three-dimensional digital twins disclosed in this application is applied to a server, and the early data collection work is carried out by drones. The drones carry image sensors, lidars, etc. for data collection.
[0077] In step S101, the historical data of the farmland within the coverage area is first obtained and analyzed. The purpose of analyzing the historical data is to find the problem area of the farmland and obtain the time period when the problem area appears. Then, the problem area is marked in the three-dimensional model generated based on the three-dimensional digital twin, such as Figure 2 shown.
[0078] Because the diseased areas of crops have a certain continuity, this application finds the problem areas by analyzing historical data. For the processing of problem areas, a feasible way is to mark and accumulate the diseased areas on the three-dimensional model. The more times a disease occurs in an area, the darker the color.
[0079] The three-dimensional model generated based on the three-dimensional digital twin is a three-dimensional model obtained by three-dimensional modeling of the coverage area.
[0080] In the present application, areas where diseases have occurred are regarded as problem areas. At the same time, it is also necessary to obtain the time period when the problem areas appear, and obtain images of the problem areas before the time period when the problem areas appear, which is the content in step S102.
[0081] The purpose of acquiring images of the problem area before the problem area occurs is to detect the disease as early as possible through image analysis so that intervention measures can be taken in advance. Because some diseases are contagious, timely intervention measures can also reduce the scope of infection of these diseases.
[0082] In step S103, the feature objects in the image are identified and separated and decomposed. The feature objects here refer to crops. The feature objects are decomposed into multiple sub-feature objects according to their parts. Each sub-feature is a part of the feature object, such as flowers, leaves, stems, etc.
[0083] During the decomposition process, each feature object is decomposed into multiple sub-feature objects.
[0084] In step S104, sub-feature objects of the same type are placed in a primary comparison group, and then the primary comparison group is analyzed and assigned values to the sub-feature objects in the primary comparison group, which is the content of step S105. The assigned values include color difference values and plane regularity values, which will be further introduced in the subsequent content.
[0085] Finally, in step S106, the total value of each feature object is counted and the feature objects whose total value is greater than or equal to the set value or the set ratio are marked as suspected feature objects. Assigning a value means that the sub-feature object is different from other sub-feature objects. A feature object is composed of multiple sub-feature objects. The value of the sub-feature object belonging to the feature object is the value of the feature object.
[0086] The larger the value of a feature object is, the higher the probability that the feature object will have a disease.
[0087] In an actual process, after analyzing a problem area, the more suspected feature objects there are in the problem area, the greater the probability of disease occurring in the problem area.
[0088] After obtaining the results, technical personnel are required to go to the problem area for on-site inspection and confirmation, because the results obtained through the technical solution in this application are mostly early manifestations of the disease, and the characteristics of the traits are not obvious, that is, it is impossible to accurately determine the type of disease, and only areas suspected of having the disease can be found.
[0089] In some examples, identifying and separating feature objects in an image and decomposing the feature objects include:
[0090] S201, determining a first object in an image according to color and contour features;
[0091] S202, creating a center line belonging to the first object;
[0092] S203, determining the direction of the center line and determining the convergence point of the center line according to the direction of the center line;
[0093] S204, determining a reference point according to the convergence point of the center line;
[0094] S205, creating a reference area using the reference points and the center lines belonging to the reference points; and
[0095] S206: Create a feature object using the first object in the reference area.
[0096] In step S201, the first object in the image is first determined according to the color and contour features. The first object here refers to the area identified according to the color and contour features, and each independent area is a first object.
[0097] Then, in step S202, a center line belonging to the first object is created. The specific method is to select a point on the first object (usually the center point), and then use the line passing through the point as the center line. The center line rotates one circle during the creation process, and then the specific position of the center line is determined.
[0098] At this time, one or more center lines may be obtained. When multiple center lines are obtained, these center lines are merged. The specific merging method is to convert all the center lines back to vectors of the same length, and then merge these vectors into one vector. The straight line where the vector is located is the center line.
[0099] In step S204, the reference point is determined according to the convergence point of the center line. At this time, the convergence point of the center line may be a ( Figure 3 shown), or multiple ( Figure 4 When there is one convergence point of the center lines, the convergence point is used as the reference point; when there are multiple convergence points of the center lines, the point obtained by averaging the coordinates of the convergence points is used as the reference point.
[0100] Then, in step S205, the reference point and the center line belonging to the reference point are used to create a reference area. At this time, it is considered that the first objects in the reference area all belong to the same feature object. Because in the above process, it may be that the center line of the first object cannot be determined. In order to solve this problem, the present application uses the reference area to determine the belonging relationship of these first objects.
[0101] When a first object is in multiple reference areas at the same time, the first object is assigned to a reference area that is closest to the reference point of the reference area. Finally, in step S206, the first object in the reference area is used to create a feature object.
[0102] Regarding the creation of the reference area, in some possible implementations, a maximum area is constructed using the first object involved in determining the reference point, and the maximum area is the reference area.
[0103] Finally, it should be noted that the contents of step S201 to step S206 are all processed based on the plane. The advantage of this method is that the amount of data processing is small, but there is a certain error. The reason for the error is that the influence caused by the height is ignored.
[0104] Therefore, in some examples, when creating the attributable centerline, it also includes determining the height change trend of the centerline and using the height change trend to assist in determining the direction of the centerline.
[0105] For example, when processing on a plane, the height change trend of the first object cannot be obtained, which may lead to an error in determining the attribution of the first object, which in turn leads to inaccurate statistics of the total numerical value of each feature object, resulting in an error in the number of suspected feature objects.
[0106] In some examples, the height trend of the centerline is determined as follows:
[0107] Acquire a three-dimensional point cloud data set corresponding to the image and project the data points in the three-dimensional point cloud data set onto a plane parallel to the plane where the image is located;
[0108] Using the height difference to filter the data points in the three-dimensional point cloud data set, obtaining the data points associated with the first object and recording them as valid data points;
[0109] creating a second object using the valid data points and matching the first object to the second object;
[0110] Valid data points associated with the center line of the first object are screened and obtained, and the height variation trend of the center line is obtained using the valid data points.
[0111] The above method uses the three-dimensional point cloud data obtained by the laser radar to determine the height change trend of the first object, which can more accurately determine the ownership of the first object. It should be understood that in the early stage of the plant, the leaves (first objects) generally have a tendency to grow upward, that is, in the direction away from the main stem, the distance between the leaves (first objects) and the ground will tend to increase.
[0112] In some examples, a comparison group is analyzed in the following ways:
[0113] S301, performing secondary grouping on the sub-feature objects in the primary comparison group according to their heights to obtain a secondary comparison group, wherein the secondary comparison group includes a plurality of sub-feature objects;
[0114] S302, comparing the color difference and plane regularity of any two sub-feature objects in the secondary comparison group;
[0115] S303: assigning values to the sub-feature objects according to the comparison results, the values including color difference values and plane regularity values.
[0116] The contents from step S301 to step 303 are to perform secondary grouping on the sub-feature objects in the first comparison group. The basis for grouping is height. The reason for grouping is that the colors of the sub-feature objects at different heights are different, which is mainly caused by different growth times.
[0117] As for the determination of the height range, it also needs to be determined according to the growth period and the specific height of the plant. Generally speaking, when the height of the plant is greater than or equal to half a meter or the growth period enters the early stage of fruiting, the sub-feature objects in the first comparison group can be grouped again according to the height, otherwise they will be grouped differently.
[0118] The way to compare the color difference of two sub-feature objects is:
[0119] Obtain images of two sub-feature objects, recorded as the first image and the second image;
[0120] The first image and the second image are overlapped, during which the center line of the first image overlaps with the center line of the second image, and the edge of the first image overlaps with the edge of the second image. Figure 5 As shown;
[0121] Calculate the total area of the color difference regions between the first image and the second image, and record the total area as the color difference;
[0122] When the length of the first image is not equal to the length of the second image, the first image or the second image is moved. Figure 6As shown, after each movement, the total area of the color difference regions on the first image and the second image is calculated and the total area with the smallest value is selected as the total area of the color difference regions.
[0123] The core of the above method is to calculate the total area of the color difference area between the first image and the second image, and record the total area as the color difference. The purpose of coinciding the center line of the first image with the center line of the second image and coinciding the edge of the first image with the edge of the second image is to make the first image and the second image correspond as much as possible.
[0124] When the length of the first image is not equal to the length of the second image, it is necessary to move the first image or the second image. After each movement, the total area of the color difference area on the first image and the second image is calculated and the total area with the smallest value is selected as the total area of the color difference area. The purpose of this method is to find the corresponding area on the first image and the second image at this time as much as possible.
[0125] The specific method for comparing the plane uniformity of two sub-feature objects is:
[0126] Establishing a first reference line according to the center line of the sub-feature object;
[0127] Select multiple position points on the first reference line, and establish a second reference line at the position points, the second reference line is parallel to the corresponding position of the sub-feature object;
[0128] Establishing a reference plane using a first reference line and a second reference line;
[0129] Select a reference point on the sub-feature object and calculate the straight-line distance between the reference point and the reference plane;
[0130] The dispersion of straight-line distances is calculated and the obtained dispersion is used as the plane regularity.
[0131] Specifically, the above method is to establish a standard surface and then calculate the discreteness of the straight-line distance between the sub-feature object and the standard surface. The more consistent the values of the straight-line distance are, the lower the discreteness is and the better the plane uniformity is.
[0132] See also Figure 7 The first reference line has the same properties as the center line of the sub-feature object, or can be regarded as the translation of the center line of the sub-feature object. There is a distance between the two. In one processing process, the distance is a constant.
[0133] See also Figure 8 The processing method for the second reference line to be parallel to the corresponding position of the sub-feature object is to select several points on the second reference line, and the sum of the shortest straight lines from these points to the corresponding position on the sub-feature object is the smallest.
[0134] By calculating the color difference value and the plane regularity value, the differences between sub-feature objects can be discovered. After calculating the color difference value and the plane regularity value of each sub-feature object, the sub-feature object can be marked. There are four types of marks: normal color difference value, abnormal color difference value, normal plane regularity value and abnormal plane regularity value.
[0135] For a feature object, the more abnormal marks it carries, the greater the probability that the feature object is a suspected feature object. Of course, for abnormal marks, under the premise of having numerical values, the interval method can also be used to assign abnormal marks. For example, the number of intervals is three, and each interval corresponds to a different numerical value (for example, corresponding to 1 / 2 / 3 respectively). This assignment method will further widen the numerical difference during assignment, so that the suspected feature object can be clearly highlighted.
[0136] The present application also provides a crop planting management device based on three-dimensional digital twins, comprising:
[0137] A data analysis unit is used to obtain historical data of farmland within the coverage area and analyze the historical data, find the problem areas of the farmland and obtain the time period in which the problem areas appear, and mark the problem areas in the three-dimensional model generated based on the three-dimensional digital twin;
[0138] An image acquisition unit, used for acquiring an image of the problem area before a time period in which the problem area occurs;
[0139] A model decomposition unit is used to identify and separate feature objects in the image and decompose the feature objects, each feature object is decomposed into multiple sub-feature objects;
[0140] A grouping processing unit, used for putting sub-feature objects of the same type into a one-time comparison group;
[0141] An assignment unit is used to assign values to sub-feature objects in a comparison group after analyzing the comparison group;
[0142] The statistical unit is used to count the total value of each feature object and mark the feature objects whose total value is greater than or equal to a set value or a set ratio as suspected feature objects.
[0143] Furthermore, it also includes:
[0144] A first determining unit, configured to determine a first object in the image according to color and contour features;
[0145] A first processing unit, configured to create a center line belonging to the first object;
[0146] A second determining unit is used to determine the pointing direction of the center line and determine the convergence position point of the center line according to the pointing direction of the center line;
[0147] A second processing unit is used to determine a reference point according to a convergence point of the center line;
[0148] A third processing unit is used to create a reference area using the reference points and the center lines attributed to the reference points; and
[0149] The fourth processing unit is configured to create a feature object using the first object in the reference area.
[0150] Furthermore, when creating the center line belonging to the first object, it also includes determining a height change trend of the center line and using the height change trend to assist in determining a direction of the center line.
[0151] Furthermore, it also includes:
[0152] A first data processing unit, used for acquiring a three-dimensional point cloud data set corresponding to the image and projecting data points in the three-dimensional point cloud data set onto a plane parallel to the plane where the image is located;
[0153] A second data processing unit is used to screen the data points in the three-dimensional point cloud data group using the height difference to obtain the data points associated with the first object and record them as valid data points;
[0154] a third data processing unit, configured to create a second object using the valid data points and match the first object with the second object;
[0155] The fourth data processing unit is used to screen and obtain valid data points associated with the center line of the first object and obtain a height change trend of the center line using the valid data points.
[0156] Furthermore, it also includes:
[0157] A grouping unit, used for performing secondary grouping on the sub-feature objects in the primary comparison group according to the height to obtain a secondary comparison group, wherein the secondary comparison group includes a plurality of sub-feature objects;
[0158] A comparison unit, used for comparing the color difference and plane uniformity of any two sub-feature objects in the secondary comparison group;
[0159] The assignment unit is used to assign numerical values to the sub-feature objects according to the comparison results, and the numerical values include color difference values and plane regularity values.
[0160] Furthermore, it also includes:
[0161] An object acquisition unit, used to obtain images of two sub-feature objects, recorded as a first image and a second image;
[0162] An object processing unit, used for performing a coincidence process on the first image and the second image, wherein during the coincidence process, a center line of the first image coincides with a center line of the second image, and an edge of the first image coincides with an edge of the second image;
[0163] an area calculation unit, used for calculating the total area of the color difference regions between the first image and the second image, and recording the total area as the color difference;
[0164] When the length of the first image is not equal to the length of the second image, the first image or the second image is moved, and after each movement, the total area of the color difference area on the first image and the second image is calculated and the total area with the smallest value is selected as the total area of the color difference area.
[0165] Furthermore, it also includes:
[0166] A fifth processing unit, configured to establish a first reference line according to a center line of the sub-feature object;
[0167] A sixth processing unit, configured to select a plurality of position points on the first reference line, and establish a second reference line at the position points, wherein the second reference line is parallel to the corresponding position of the sub-feature object;
[0168] A seventh processing unit, configured to establish a reference plane using the first reference line and the second reference line;
[0169] The eighth processing unit is used for selecting a reference point on the sub-feature object and calculating a straight-line distance between the reference point and the reference plane;
[0170] The ninth processing unit is used to count the discreteness of the straight-line distance and use the obtained discreteness as the plane regularity.
[0171] In one example, the unit in any of the above devices can be one or more integrated circuits configured to implement the above methods, such as: one or more application specific integrated circuits (ASICs), or, one or more digital signal processors (DSPs), or, one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0172] For another example, when the units in the device can be implemented in the form of a processing element scheduling program, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0173] Various objects such as various messages / information / equipment / network elements / systems / devices / actions / operations / processes / concepts that may appear in this application are named. It can be understood that these specific names do not constitute a limitation on the relevant objects. The names assigned may change with factors such as scenarios, contexts or usage habits. The understanding of the technical meaning of the technical terms in this application should be mainly determined from the functions and technical effects embodied / executed in the technical scheme.
[0174] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0175] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as 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 devices or units, which can be electrical, mechanical or other forms.
[0176] 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0177] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0178] It should also be understood that in various embodiments of the present application, the first, second, etc. are only used to indicate that multiple objects are different. For example, the first time window and the second time window are only used to indicate different time windows. They should not have any impact on the time window itself, and the first, second, etc. mentioned above should not impose any limitations on the embodiments of the present application.
[0179] It should also be understood that in the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.
[0180] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a computer-readable storage medium, including several 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 methods described in each embodiment of the present application. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0181] The present application also provides a crop planting management system based on three-dimensional digital twins, the system comprising:
[0182] one or more memories for storing instructions; and
[0183] One or more processors are used to call and run the instructions from the memory to execute the method as described above.
[0184] The present application also provides a computer program product, which includes instructions. When the instructions are executed, the terminal device and the network device perform operations of the terminal device and the network device corresponding to the above method.
[0185] The present application also provides a chip system, which includes a processor for implementing the functions involved in the above content, such as generating, receiving, sending, or processing the data and / or information involved in the above method.
[0186] The chip system may be composed of chips, or may include chips and other discrete devices.
[0187] The processor mentioned in any of the above places can be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for executing programs for controlling the above-mentioned feedback information transmission method.
[0188] In a possible design, the chip system also includes a memory, which is used to store necessary program instructions and data. The processor and the memory can be decoupled and respectively set on different devices, connected by wire or wireless means to support the chip system to implement various functions in the above embodiments. Alternatively, the processor and the memory can also be coupled on the same device.
[0189] Optionally, the computer instructions are stored in a memory.
[0190] Optionally, the memory is a storage unit within the chip, such as a register, a cache, etc. The memory can also be a storage unit within the terminal located outside the chip, such as a ROM or other types of static storage devices that can store static information and instructions, RAM, etc.
[0191] It can be understood that the memory in the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories.
[0192] The non-volatile memory may be a ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory.
[0193] The volatile memory may be a RAM, which is used as an external cache. There are many different types of RAM, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory.
[0194] The embodiments of this specific implementation method are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Therefore, all equivalent changes made based on the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A crop planting management method based on three-dimensional digital twins, It is characterized in that include: Obtain and analyze historical data of farmland within the coverage area, identify problem areas of the farmland and obtain the time period in which the problem areas occurred, and mark the problem areas in the 3D model generated based on the 3D digital twin; Acquire an image of the problem area prior to a time period in which the problem area occurs; Identify and separate feature objects in the image and decompose the feature objects, each feature object is decomposed into multiple sub-feature objects; Put sub-feature objects of the same type into a single comparison group; After analyzing a comparison group, assigning values to sub-feature objects in the comparison group; The total value of each feature object is counted and the feature objects whose total value is greater than or equal to the set value or the set ratio are marked as suspected feature objects.
2. The crop planting management method based on three-dimensional digital twin according to claim 1, It is characterized in that Identifying and separating characteristic objects in an image and decomposing the characteristic objects include: determining a first object in the image based on color and contour features; Creating a centerline attributed to the first object; Determine the direction of the center line and determine the convergence point of the center line according to the direction of the center line; Determine the reference point based on the convergence point of the center lines; Creating datum areas using datum points and centerlines attributed to the datum points; and Create a feature object using the first object within the reference region.
3. The crop planting management method based on three-dimensional digital twin according to claim 2, It is characterized in that When creating the center line belonging to the first object, it also includes determining the height change trend of the center line and using the height change trend to assist in determining the direction of the center line.
4. The crop planting management method based on three-dimensional digital twin according to claim 3, It is characterized in that Determine the height trend of the center line including: Acquire a three-dimensional point cloud data set corresponding to the image and project the data points in the three-dimensional point cloud data set onto a plane parallel to the plane where the image is located; Using the height difference to filter the data points in the three-dimensional point cloud data set, obtaining the data points associated with the first object and recording them as valid data points; creating a second object using the valid data points and matching the first object to the second object; Valid data points associated with the center line of the first object are screened and obtained, and a height variation trend of the center line is obtained using the valid data points.
5. The crop planting management method based on three-dimensional digital twin according to any one of claims 1 to 4, It is characterized in that Analyses of the primary comparison groups included: Performing secondary grouping of the sub-feature objects in the primary comparison group according to the height to obtain a secondary comparison group, wherein the secondary comparison group includes a plurality of sub-feature objects; Compare the color difference and plane uniformity of any two sub-feature objects in the secondary comparison group; Numerical values are assigned to the sub-feature objects according to the comparison results, and the numerical values include color difference values and plane regularity values.
6. The crop planting management method based on three-dimensional digital twin according to claim 5, It is characterized in that Comparing the color difference of two sub-feature objects includes: Obtain images of two sub-feature objects, recorded as the first image and the second image; Performing a coincidence process on the first image and the second image, during which the center line of the first image coincides with the center line of the second image, and the edge of the first image coincides with the edge of the second image; Calculate the total area of the color difference regions between the first image and the second image, and record the total area as the color difference; When the length of the first image is not equal to the length of the second image, the first image or the second image is moved, and after each movement, the total area of the color difference area on the first image and the second image is calculated and the total area with the smallest value is selected as the total area of the color difference area.
7. The crop planting management method based on three-dimensional digital twin according to claim 5, It is characterized in that Comparing the plane uniformity of two sub-feature objects includes: Establishing a first reference line according to the center line of the sub-feature object; Select multiple position points on the first reference line, and establish a second reference line at the position points, the second reference line is parallel to the corresponding position of the sub-feature object; Establishing a reference plane using a first reference line and a second reference line; Select a reference point on the sub-feature object and calculate the straight-line distance between the reference point and the reference plane; The dispersion of straight-line distances is calculated and the obtained dispersion is used as the plane regularity.
8. A crop planting management device based on three-dimensional digital twins, It is characterized in that include: A data analysis unit is used to obtain historical data of farmland within the coverage area and analyze the historical data, find the problem areas of the farmland and obtain the time period in which the problem areas appear, and mark the problem areas in the three-dimensional model generated based on the three-dimensional digital twin; An image acquisition unit, used for acquiring an image of the problem area before a time period in which the problem area occurs; A model decomposition unit is used to identify and separate feature objects in the image and decompose the feature objects, each feature object is decomposed into multiple sub-feature objects; A grouping processing unit, used for putting sub-feature objects of the same type into a one-time comparison group; An assignment unit is used to assign values to sub-feature objects in a comparison group after analyzing the comparison group; The statistical unit is used to count the total value of each feature object and mark the feature objects whose total value is greater than or equal to a set value or a set ratio as suspected feature objects.
9. A crop planting management system based on three-dimensional digital twins, It is characterized in that The system comprises: one or more memories for storing instructions; and One or more processors, configured to call and execute the instructions from the memory to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer readable storage medium comprises: The program, when the program is executed by a processor, the method according to any one of claims 1 to 7 is executed.
