Mu counting methods and equipment
By using SD cards to store pixel files and marking agricultural machinery coordinates in the mu-counting equipment, combined with the actual area restrictions of cultivated land, the problems of repeated counting and data delay of mu-counting instruments are solved, and accurate and efficient calculation of operating area is achieved.
Patent Information
- Application Number
- CN202311460985.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2043-11-06
AI Technical Summary
In the agricultural machinery operation, the existing mu meter has problems such as repeated counting mu values and data processing speeds that cannot keep up with the update speed of position coordinates, resulting in unreliable data.
By using SD cards to store pixel files in the acre counting equipment, multiple local pixel files are determined based on the position points of the agricultural machinery, and coordinate values are marked in these files. Combined with the actual area limitations of the cultivated land, the operating area of the agricultural machinery is calculated, so as to avoid repeated counting and improve data processing speed.
It achieves accurate operating area at low cost, improves the reliability and efficiency of data processing, and avoids duplicate counting and data delay problems.
Smart Images

Figure CN117611656B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of acreage counting, and in particular to an acreage counting method and acreage counting equipment. Background Art
[0002] The acre meter is also known as land area measuring instrument, handheld acre meter, etc. It integrates a high-precision GPS positioning system, an accurate area calculation method and an intelligent handheld computer system, and can realize real-time measurement of irregular areas, dynamic graphic display and intelligent data processing and storage.
[0003] Existing acreage meters on the market are mostly used on operating machines (agricultural machinery, etc.), counting acres while working. During operation, agricultural machinery may turn around, transfer or collect harvested crops, resulting in a large number of repeated counting of acre values. In addition, when processing data, the acreage meter often cannot keep up with the speed of position coordinate updates due to the large map file, resulting in unreliable data.
[0004] Therefore, how to improve the reliability of area measurement has become an urgent problem to be solved. Summary of the Invention
[0005] The embodiments of the present application provide an acreage counting method and acreage counting equipment, which can obtain an accurate working area at a low cost.
[0006] In a first aspect, a method for calculating mu is provided, which includes: obtaining a first coordinate value of an agricultural machinery; determining a first coordinate range based on the first coordinate value, and determining a first pixel file based on the first coordinate range, wherein the first pixel file is a file of a first plane area spliced by pixels; marking the first pixel corresponding to the first coordinate value in the first pixel file; obtaining a second coordinate value of the agricultural machinery; if the second coordinate value belongs to the first coordinate range, and the second pixel corresponding to the second coordinate value in the first pixel file is not marked, marking the second pixel in the first pixel file; if the second coordinate value does not belong to the first coordinate range, determining a second coordinate range based on the second coordinate value, wherein the second coordinate range does not overlap with the first coordinate range, and determining a second pixel file based on the second coordinate range, wherein the second pixel file is a file of a second plane area spliced by pixels; marking the third pixel corresponding to the second coordinate value in the second pixel file; and determining the area of the mu counting operation based on the first pixel file and the second pixel file.
[0007] In the acreage counting method of the embodiment of the present application, the acreage counting device determines multiple local pixel files based on the location points of the agricultural machinery, uses smaller memory, improves the processing speed, and improves the reliability of data processing.
[0008] In combination with the first aspect and possible implementations thereof, in another possible implementation, the first pixel file and the second pixel file are stored in an SD card.
[0009] The embodiment provided in this application stores pixel files during agricultural machinery operation in an SD card, trading time for space, resulting in lower costs and larger storage capacity.
[0010] In combination with the first aspect and its possible implementation, in another possible implementation, determining the area of the acreage operation based on the first pixel file and the second pixel file can be determining the agricultural machinery trajectory based on the marked pixels in the first pixel file and the second pixel file; recording pixels based on the agricultural machinery trajectory; and determining the area of the acreage operation based on the recorded pixels.
[0011] In combination with the first aspect and its possible implementation, in another possible implementation, the area of the mu counting operation determined based on the recorded pixels can be determined based on the product of the number of the recorded pixels and the area represented by the recorded pixels.
[0012] The solution provided in the embodiment of the present application traverses the working trajectory of the agricultural machinery based on the marked points in the stored pixel file, and calculates the area of the agricultural machinery operation based on this, which is simple and efficient.
[0013] In combination with the first aspect and possible implementations thereof, in another possible implementation, the recorded pixel and the marked pixel have different identifiers.
[0014] In the embodiment provided by the present application, the recorded pixels and the marked pixels have different identifiers, which can intuitively show the location points and the covered area, clearly reflecting the operation process.
[0015] In combination with the first aspect and its possible implementation, in another possible implementation, determining the agricultural machinery trajectory based on the marked pixels in the first pixel file and the second pixel file can be to connect the marked pixels in the first pixel file and the second pixel file to obtain the agricultural machinery trajectory; or, to fit a smooth curve based on the marked pixels in the first pixel file and the second pixel file to obtain the agricultural machinery trajectory.
[0016] In conjunction with the first aspect and its possible implementations, in another possible implementation, recording pixels based on the agricultural machinery trajectory may include obtaining a width value, determining a track with a covered area based on the width value and the agricultural machinery trajectory, and recording pixels based on the track with a covered area. The embodiments provided herein can more realistically reproduce the work scene based on the width value and the agricultural machinery trajectory, and more accurately calculate the actual work area.
[0017] In combination with the first aspect and its possible implementations, in another possible implementation, the pixel recorded according to the trajectory with the coverage area may be at least one of a pixel completely covered by the trajectory with the coverage area, a pixel whose center of gravity is included by the trajectory with the coverage area, a pixel whose area is more than half included by the trajectory with the coverage area, and a pixel whose any portion is included by the trajectory with the coverage area.
[0018] In combination with the first aspect and its possible implementation, in another possible implementation, determining the first pixel file based on the first coordinate value may be determining the first coordinate range based on the coordinate interval to which the horizontal coordinate of the first coordinate value belongs and the coordinate interval to which the vertical coordinate of the first coordinate value belongs; and determining the first pixel file based on the first coordinate range.
[0019] In combination with the first aspect and its possible implementation, in another possible implementation, the method also includes determining a third coordinate range of the actual area of the cultivated land; after obtaining the first coordinate value, if the first coordinate value does not belong to the third coordinate range, discarding the first coordinate value; after obtaining the second coordinate value, if the second coordinate value does not belong to the third coordinate range, discarding the second coordinate value.
[0020] The embodiment provided in this application takes into account the actual area of the cultivated land and the overall location information, which can ensure that the operations of agricultural machinery outside the cultivated land will not be counted in the harvested area. Only the necessary location information is processed, which improves the processing accuracy and precision and improves the processing efficiency.
[0021] In combination with the first aspect and possible implementations thereof, in another possible implementation, the shape of the pixel may be a rectangle, a triangle, or a hexagon.
[0022] In the embodiments provided by the present application, the shapes of pixels are flexible and diverse. When the pixel shape is a rectangle, the pixels are relatively regular and have a good correspondence with the direct coordinates of the plane, which is convenient for statistics. When the pixel shape is a triangle, it is possible to flexibly count farmland whose boundaries are not orthogonal, for example, the boundaries are acute or obtuse. Triangles with specific angles can be used to accurately cover the farmland. When the pixel shape is a hexagon, the pixel coverage is radial, the statistical results are more accurate, can adapt to different scenarios, and improve the flexibility of pixel counting.
[0023] In combination with the first aspect and its possible implementation, in another possible implementation, the method also includes obtaining an image of the harvesting area, which is an overhead image including the agricultural machinery cutting platform, and switching the working state of the acreage counting equipment according to the difference between the front end of the cutting platform and the rear end of the cutting platform in the image.
[0024] In combination with the first aspect and its possible implementation methods, in another possible implementation method, the working state of the acre counting device is switched according to the difference between the front end of the harvesting platform and the rear end of the harvesting platform in the image. When the front end of the harvesting platform is an image of unharvested farmland and the rear end of the harvesting platform is an image of harvested farmland, the acre counting device normally obtains the coordinate value of the agricultural machinery; or when the front end of the harvesting platform and the rear end of the harvesting platform are both images of unharvested farmland or images of harvested farmland, the acre counting device stops obtaining the coordinate value of the agricultural machinery.
[0025] The embodiment provided in the present application determines whether the agricultural machinery is in an operating state by analyzing the image of the harvesting area, thereby switching the working state of the acreage counting equipment, avoiding the agricultural machinery being counted as the harvesting area when transporting crops, and further improving the reliability of the operating area calculation.
[0026] In a second aspect, an acreage counting device is provided, the device comprising an SD card slot for connecting an SD card, the SD card being used to store the first pixel file and the second pixel file in any one of the implementations of the first aspect; the memory being used to store a computer program, and the processor being able to implement the acreage counting method in any one of the implementations of the first aspect when executing the computer program stored in the memory.
[0027] The acreage counting device provided in this embodiment uses an SD card to store pixel files and uses the acreage counting method provided in the embodiment of this application to count the working area, so that farms and agricultural machinery operations can obtain an accurate working area at the lowest cost.
[0028] In combination with the second aspect, in a possible implementation, the device further includes: a display screen and an input device; the display screen is used to present data and interact with the user; the input device is used to enable the user to interact with the metering device.
[0029] In a third aspect, a chip is provided, comprising a processor and a memory, wherein the processor and the memory are coupled, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to implement the method in any implementation manner in the first aspect.
[0030] In a fourth aspect, a computer storage medium is provided, comprising computer instructions. When the computer instructions are executed on a control device, the control device executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0031] In a fifth aspect, a computer program product is provided. When the computer program product is run on a control device, the control device executes the method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1A flowchart of an acreage calculation method according to an embodiment of the present application is shown;
[0033] Figure 2 A schematic diagram of pixels corresponding to marking coordinate values in an embodiment of the present application is shown.
[0034] Figure 3 A schematic diagram showing pixels corresponding to marking coordinate values in another embodiment of the present application is shown;
[0035] Figure 4 A schematic diagram showing pixels corresponding to marking coordinate values in yet another embodiment of the present application is shown;
[0036] Figure 5 A schematic diagram of possible pixel shapes in an embodiment of the present application is shown;
[0037] Figure 6 A schematic diagram showing a method of recording pixels of an operation through a pixel file according to an embodiment of the present application is shown;
[0038] Figure 7 A schematic diagram showing a method of reading a portion of a track for calculating acres according to an embodiment of the present application is shown;
[0039] Figure 8 A schematic diagram showing the coordinate values and recorded pixels corresponding to the trajectory according to an embodiment of the present application is shown;
[0040] Figure 9 A schematic diagram of a real-time image of acres in one embodiment of the present application is shown;
[0041] Figure 10 A schematic diagram of an acreage counting device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0042] The technical solution in the application is described below with reference to the accompanying drawings.
[0043] Figure 1 FIG. 1 shows a flow chart of the calculation of acres according to an embodiment of the present application. Figure 1As shown in the flow chart of the acreage counting method, when a harvester begins operation, the acreage counting device uses a positioning system to locate the harvester and obtain a first coordinate value of the harvester. This first coordinate value can be a latitude and longitude value, or a coordinate value converted into a rectangular coordinate. After obtaining the first coordinate value of the harvester, a first coordinate range can be determined based on the first coordinate value. This determination can be performed by determining the coordinate range to which the first coordinate value belongs based on the first coordinate value. For example, if the first coordinate value has an abscissa of 5 and a ordinate of 5, the first coordinate range can be 0-10 for abscissas and 0-10 for ordinates. When configuring the acreage counting device, the span of the coordinate range can be set based on the device's processing capacity. After determining the first coordinate range, a first pixel file is determined based on the first coordinate range. The first pixel file is a file of a first planar area composed of pixels. Determining the first pixel file based on the first coordinate range can be by creating a first pixel file having the first planar area based on the first coordinate range, selecting a first pixel file having the first planar area from an existing pixel file, or selecting a first pixel file having a first planar area with a coordinate range close to the first coordinate range. After determining the first pixel file, find the first pixel corresponding to the first coordinate value in the first pixel file and mark the pixel. The marking can be to deepen the color of the pixel or use other identifiers, which is not limited in the embodiment of the present application. After marking the first pixel corresponding to the first coordinate value, the acreage counting device continues to obtain the second coordinate value of the agricultural machinery. The second coordinate value can be the position reached after a certain time at the first coordinate value. It is judged whether the second coordinate value belongs to the first coordinate range. If the second coordinate value belongs to the first coordinate range, it means that the second coordinate value does not exceed the boundary of the first pixel file. Then, it is further judged whether the pixel corresponding to the second coordinate value in the first pixel file has been marked. If it has not been marked, the second pixel corresponding to the second coordinate value is marked in the first pixel file. If it has been marked, the second coordinate value is discarded. If the second coordinate value does not belong to the first coordinate range, it means that the second coordinate value exceeds the boundary of the first pixel file. At this time, the second coordinate range is determined according to the second coordinate value. The process of determining the coordinate range is not described in detail here. The second pixel file is determined according to the second coordinate range, and the third pixel corresponding to the second coordinate value is found in the second pixel file and marked. After marking or discarding the second coordinate value, the second coordinate value is obtained again and the above judgment is performed until the operation is completed.
[0044] During the operation, the machine may sometimes move outside the cultivated land and collect the edges. In order to avoid repeated calculation of this part, the boundary limit of the actual cultivated land area can be added to the file boundary. This part is described later.
[0045] Existing acreage meters on the market are mostly used on working machines (such as agricultural machinery), counting acres while working. During operation, agricultural machinery may turn around, transfer or collect harvested crops, resulting in a large number of double-counted acreage values. In addition, acreage meters often need to process large map files when processing data. Due to the large map file, the processing speed cannot keep up with the speed of position coordinate updates, resulting in delayed data updates and unreliable data. The acreage counting method provided in the embodiments of the present application can accurately determine the working area of farms and agricultural machinery at the lowest cost.
[0046] The following combination Figure 2-Figure 4 Describe the process of labeling pixels.
[0047] Figure 2 A schematic diagram of pixels corresponding to marking coordinate values in an embodiment of the present application is shown.
[0048] like Figure 2 As shown, in Figure 2 In (a), the acreage counting device obtains the first coordinate value of the agricultural machinery (47.115°N, 113.228°E). This coordinate value can be obtained through the positioning system configured by the acreage counting device, such as GPS, Beidou, etc. Based on the first coordinate value, the appropriate first pixel file can be determined. The process of determining the first pixel file will not be described in detail here. Figure 2 As shown, the first coordinate range of the first pixel file determined according to the first coordinate value can be the range of the horizontal coordinate 113.226-113.237, and the range of the vertical coordinate 47.105-47.116. After determining the appropriate first pixel file, the pixel corresponding to (47.115°N, 113.228°E) in the pixel file is marked. Figure 2 As shown in (b), the pixel corresponding to the first coordinate value in the first pixel file is the pixel with the horizontal coordinate of 113.228 and the vertical coordinate of 47.115. After the pixel is determined, the pixel is marked. The mark can be set to 1, or a specific identifier can be used, or the color of the pixel can be darkened, for example, the mark in the figure is darkened to black.
[0049] It should be understood that the embodiments of the present application are merely exemplary, and the coordinates of the first pixel file can be converted into a plane rectangular coordinate system, or longitude and latitude can be directly used as coordinate values, and the present application does not impose any limitation on this.
[0050] Figure 3 A schematic diagram showing pixels corresponding to marking coordinate values in another embodiment of the present application is shown.
[0051] like Figure 3 Schematic diagram of the pixels corresponding to the marked coordinate values shown, as shown Figure 3In (a), the acreage counting device records four locations through the positioning system. The coordinate values of these four locations are #1 (47.115°N, 113.228°E), #2 (47.111°N, 113.231°E), #3 (47.109°N, 113.233°E), and #4 (47.106°N, 113.235°E). After determining the coordinate range of the first pixel file based on the first point, as shown in the following example: Figure 3 As shown, the first coordinate range of the first pixel file can be the range of the horizontal coordinate 113.226-113.237, the range of the vertical coordinate 47.105-47.116, #2, #3, #4 all belong to the first coordinate range. So further, determine whether #2, #3, #4 have been marked, such as Figure 3 As shown in (a) in the figure, the pixels corresponding to these four coordinate values are not marked, so the pixels corresponding to these four coordinate values can be marked, such as Figure 3 In (b), (113.228, 47.115), (113.231, 47.111), (113.233, 47.109), (113.235, 47.106) are marked in the first pixel file, and the color of the marked pixels is deepened to black.
[0052] It should be understood that the embodiments of the present application are merely illustrative and should not constitute inappropriate limitations. In the present application, other identifiers may be used to mark pixels, the span of the coordinate range of the pixel file may be other values, and the coordinate values and coordinate range may also be converted into plane rectangular coordinate values first. The present application is not limited to this.
[0053] It should be understood that in the embodiment of the present application, for the convenience of display, there are no repeated coordinate values among the four coordinate values. Therefore, the figure does not show the step of discarding the repeated marked coordinate values. However, in practice, if repeated coordinate values appear, they need to be discarded.
[0054] Figure 4 A schematic diagram showing pixels corresponding to marking coordinate values in yet another embodiment of the present application is shown.
[0055] like Figure 4 As shown in (a) in the figure, the acreage counting equipment obtains two positions of the agricultural machinery, #1 (47.115°N, 113.228°E) and #5 (47.109°N, 113.240°E) through the positioning system. The coordinate range of the first pixel file is determined based on the first coordinate value, as shown in the following example: Figure 4As shown, the first coordinate range of the first pixel file can be the range of 113.226-113.237 for the horizontal coordinate and 47.105-47.116 for the vertical coordinate. After determining the appropriate first pixel file, the pixel corresponding to (47.115°N, 113.228°E) in the pixel file is marked. However, the coordinate value of #5 obviously does not belong to the first coordinate range, which means that #5 exceeds the boundary of the first pixel file. Figure 4 As shown in (a), pixel #5 cannot be found in the first pixel file, so a new pixel file needs to be determined based on the coordinates of #5. The second coordinate range of the second pixel file determined based on the coordinates of #5 can be 113.238-113.249 for the horizontal coordinate and 47.105-47.116 for the vertical coordinate. After determining the appropriate second pixel file, the third pixel corresponding to (47.109°N, 113.240°E) in the second pixel file is marked.
[0056] like Figure 4 As shown in (b), #1 and #5 mark the corresponding pixels in the first pixel file and the second pixel file respectively. After saving the two pixel files separately, the marked pixels corresponding to the coordinate values of different areas can be obtained. As the operation time progresses, more pixel files may be generated. After the operation is completed, multiple pixel files are processed, and the area of the acreage operation can be simply calculated. By marking the coordinate values in multiple pixel files, the impact of excessively large pixel files on the memory is reduced, the processing efficiency is accelerated, and the problem of processing excessively large map files causing the processing speed to fail to keep up with the speed of position coordinate updates, data update delays, and unreliable data is avoided. The acreage counting method provided in the embodiment of the present application can allow farms and agricultural machinery operations to obtain an accurate operating area at the lowest cost.
[0057] Figure 5 A schematic diagram of possible pixel shapes in an embodiment of the present application is shown.
[0058] As an example, Figure 4 Only the pixels of the rectangular grid are given in the figure. In fact, the selection of pixels in this application can be flexibly set. Figure 5 Taking the graphics in as an example, when the pixel shape is a rectangle, the pixels are relatively regular, and have a good correspondence with the direct coordinates of the plane, which is convenient for statistics. When the pixel shape is a triangle, it can flexibly count the cultivated land whose boundaries are not orthogonal, for example, the boundaries are acute angles or obtuse angles. The use of triangles with specific angles can accurately cover the cultivated land. When the pixel shape is a hexagon, the pixel coverage is radial, and the statistical results are more accurate. The pixels in the embodiments of the present application can also be replaced by other graphics, which will not cause unnecessary impact on the pixel count, so the present application is not limited to this.
[0059] Figure 6 A schematic diagram showing recording operation pixels through a pixel file according to an embodiment of the present application is shown.
[0060] like Figure 6 As shown in the figure, the acreage counting device records 4 position points through the positioning system. Connecting these data points in sequence can get a line, or fit them into a smooth curve. In order to facilitate drawing and presentation, Figure 6 The trajectory in the figure only illustrates a method for sequentially connecting the first and second pixels to form a straight line. As a possible implementation, these four points can also be used to fit a smooth curve, though this application does not limit this. For ease of explanation, the trajectory line here is depicted using a sequentially connected straight line. After obtaining this straight line, the actual width of the agricultural implement can be obtained. The width of the agricultural implement can be determined along a direction perpendicular to the direction of the broken line. This width can be measured and stored by an acreage meter or a configurable value, though this application does not limit this. Based on the trajectory line between the marked pixels and the width of the agricultural implement, an agricultural machinery track with a certain coverage area can be obtained. Based on this agricultural machinery track with a certain coverage area, operating pixels are recorded. Several methods are provided to determine whether to record partially covered pixels. For example, rounding can be used. A pixel can be recorded if the covered pixel area is at least half of the pixel area; if the covered pixel area is less than half of the pixel area, the pixel is not recorded. Another example is the rounding-up method, where all covered pixels are recorded. For another example, as long as the center of gravity of the pixel is covered by the track of the agricultural machinery, the pixel is recorded. The above examples are merely illustrative and are not limited to this application. Those skilled in the art can flexibly choose the basis for whether to record a pixel, and this application should not be limited to this.
[0061] After obtaining the pixel file with recorded pixels, the actual area of mu operation can be calculated based on the number of recorded pixels and the area represented by each recorded pixel. For example, if 15 pixels are recorded and each pixel represents an area of 2m×1m, the actual area of mu operation is 30m 2 .
[0062] By restoring the path of the agricultural machinery through the determined marked pixels and estimating the trajectory of the agricultural machinery by considering the width amplitude of the agricultural implement, the working state of the agricultural implement can be restored and a more accurate working area of the agricultural machinery can be obtained.
[0063] Figure 7 A schematic diagram of reading a portion of a track for acreage calculation according to an embodiment of the present application is shown.
[0064] like Figure 7As shown in (a), after the agricultural machinery starts working, the acreage counting device is turned on and the acreage counting device obtains the coordinate values of the agricultural machinery in real time. Part of the coordinate values are outside the cultivated land, and part are inside the cultivated land. It is obviously unreasonable to calculate the track outside the cultivated land as the working area. In order to correctly remove the track outside the working area, the geographic coordinates of the cultivated land can be converted into the coordinate range in the pixel file when creating the pixel file, and the obtained coordinate values can be constrained, as shown in the following example: Figure 7 In (b), when the coordinate value exceeds the actual boundary of the cultivated land, the pixels corresponding to the coordinate value exceeding the actual coordinate range of the cultivated land may not be marked.
[0065] like Figure 7 As shown in (b), when the harvester is trimming the edges, the header may extend beyond the boundary of the cultivated land. At this time, it is obviously unreasonable to calculate the excess part as the working area. At this time, when the coverage area of the estimated agricultural machinery trajectory exceeds the boundary of the actual cultivated land area, the corresponding pixels can be omitted.
[0066] Using the coordinate range of the actual cultivated land area to determine the pixel file boundaries can effectively avoid the calculation of invalid data, improving computational efficiency and statistical flexibility. For example, when the boundaries are determined based on the actual cultivated land area, it is possible to effectively avoid counting non-cultivated areas outside the cultivated land, making the statistics more flexible and accurate.
[0067] Figure 8 A schematic diagram of recorded pixels corresponding to coordinate values of the track according to an embodiment of the present application is shown.
[0068] like Figure 8 The trajectory and corresponding recorded pixel diagram shown, Figure 8 (a) in the figure can be a schematic diagram of the coordinate trajectory points obtained by the positioning system. Figure 8 (b) is processed by the mu counting method in the embodiment of this application, and records the corresponding Figure 8 The pixel file after the pixels covered by the agricultural machinery tracks in . Figure 8 As shown in (b) in Figure 8 By processing the coordinate values of (a) in the image, we obtain two pixel files containing dark pixels. These two bitmap files, combined together, can restore the pixels recorded during the entire work process. The actual area of the work is calculated based on the number of recorded pixels and the area represented by each pixel.
[0069] The mu calculation method provided in the embodiment of the present application can effectively save algorithm costs, improve computing efficiency, and increase deduplication accuracy. The improvement effect of deduplication accuracy can be seen in Table 1.
[0070] Table 1
[0071]
[0072] As shown in Table 1, the acreage counting method provided in the embodiment of the present application can effectively improve the deduplication accuracy compared with the distance algorithm in the prior art, and the re-cultivation rate for different areas is lower than that of the distance algorithm in the prior art.
[0073] As a possible implementation, when calculating cultivated area using the acreage counting method provided in the embodiments of this application, the smaller the size of each pixel, the more accurate it is. For example, the side length unit can be centimeters, decimeters, meters, etc. Of course, smaller side length units mean higher statistical accuracy, but also mean a higher computational effort. The side length and area of the pixel can be determined based on actual needs.
[0074] Figure 9 A schematic diagram of a real-time image of acres in an embodiment of the present application is shown.
[0075] like Figure 9 The real-time image of the acreage is shown. The acreage device takes the image of the header through the imaging unit and transmits it to the processor. Figure 9 As can be seen from the figure, the arable land to be harvested has crops, while the harvested arable land only has land, and there will be color difference between the two. When the image detects that there is a color difference before and after the header, it means that the harvester is in a working state. At this time, the position trajectory is recorded. When there is no color difference before and after the header, the harvester may be in a non-working state. If the trajectory is recorded at this time, it will obviously overcalculate a part of the working area. In order to remove this part of the area, when there is no color difference before and after the header, the position trajectory recording is stopped.
[0076] The embodiment provided in the present application determines whether the agricultural machinery is in an operating state by analyzing the image of the harvesting area, thereby switching the working state of the acreage counting equipment, avoiding the agricultural machinery being counted as the harvesting area when transporting crops, and further improving the reliability of the operating area calculation.
[0077] Figure 10 A schematic diagram of an acreage counting device provided in one embodiment of the present application.
[0078] like Figure 10 The acreage counting device shown may include an antenna, a processor, a memory, an SD card slot, a power switch, a display, and an input device. The SD card slot is used to connect an SD card to the acreage counting device. The antenna is used to receive signals from a positioning system, which are converted into coordinate values by the processor. The memory is used to store a computer program product for the acreage counting method in the above-mentioned embodiment. When the processor reads the computer program product in the memory, the acreage counting device can be used to implement the acreage counting method provided in the above-mentioned embodiment. The display screen enables human-computer interaction. Through the input device, the user can input information such as the width of the harvester's header and the actual coordinate range of the cultivated land, thereby realizing the functions of the acreage counting device.
[0079] As a possible implementation, an SD card can be used to store pixel files, either without or with marked pixels. If a wide header is configured, the processor can combine the pixel files with the marked pixels to process the files to obtain a track of a machine with a certain coverage area. Based on the track, the pixels covered by the track are recorded.
[0080] As a possible implementation method, the acreage counting device may also include an imaging unit, which can capture and transmit images at the cutting platform. The processor determines whether the cutting platform is working based on the image. For example, the processor determines whether the cutting platform is working based on the different grayscales before and after the cutting platform, and controls the acreage counting device to obtain coordinate values based on whether the cutting platform is working.
[0081] It should be understood that the specific examples in the above embodiments are only intended to help those skilled in the art better understand the embodiments of the present application, and are not intended to limit the scope of the embodiments of the present application. It should also be understood that the order of the sequence numbers of the above processes does not necessarily indicate the order in which they are executed. The order in which the processes are executed should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0082] 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.
[0083] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions for implementing the method executed by the processor in the above method embodiment.
[0084] For example, when the computer program is executed by a computer, the computer can implement the method executed by the processor in the above method embodiment.
[0085] An embodiment of the present application further provides a computer program product comprising instructions, which, when executed by a computer, enables the computer to implement the method executed by the controller in the above method embodiment.
[0086] The explanation of the relevant contents and beneficial effects of any of the above-mentioned devices can be referred to the corresponding method embodiments provided above, and will not be repeated here.
[0087] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to implement the solutions provided in this application.
[0088] In addition, each functional unit in each embodiment of the present application may be integrated into one unit, each unit may exist physically separately, or two or more units may be integrated into one unit.
[0089] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A method for calculating acreage, characterized in that: include: Obtain the first coordinate value of the agricultural machinery; Determine a first coordinate range according to the first coordinate value, and determine a first pixel file according to the first coordinate range, where the first pixel file is a file of a first plane area formed by splicing pixels; Marking the first pixel corresponding to the first coordinate value in the first pixel file; obtaining a second coordinate value of the agricultural machine; If the second coordinate value belongs to the first coordinate range, and the second pixel corresponding to the second coordinate value in the first pixel file is not marked, marking the second pixel in the first pixel file; If the second coordinate value does not fall within the first coordinate range, determining a second coordinate range based on the second coordinate value, where the second coordinate range does not overlap with the first coordinate range, determining a second pixel file based on the second coordinate range, where the second pixel file is a file of a second plane area formed by stitching pixels, and marking a third pixel corresponding to the second coordinate value in the second pixel file; determining a track of the agricultural machine based on the marked pixels in the first pixel file and the second pixel file; Acquiring a width value, and determining a track having a coverage area according to the width value and the track of the agricultural machine; Recording pixels according to the track having the coverage area; The area of the acreage operation is determined based on the recorded pixels.
2. The method for calculating acreage according to claim 1, wherein: The first pixel file and the second pixel file are stored in an SD card.
3. The method for calculating acreage according to claim 1, wherein: Determining the area of the acreage operation based on the recorded pixels includes: The area of the acreage operation is determined according to the product of the number of the recorded pixels and the area represented by the recorded pixels.
4. The method for calculating acreage according to claim 1, wherein: The recorded pixels have different identifiers than the marked pixels.
5. The method for calculating acreage according to claim 1, wherein: The determining of the agricultural machine trajectory according to the marked pixels in the first pixel file and the second pixel file includes: Connecting the marked pixels in the first pixel file and the second pixel file to obtain the agricultural machinery track; or, A smooth curve is fitted according to the marked pixels in the first pixel file and the second pixel file to obtain the agricultural machinery trajectory.
6. The method for calculating acreage according to claim 1, wherein: The step of recording pixels according to the track having the coverage area includes: Record pixels that have at least one of the following conditions: Pixels completely covered by the track with the coverage area; The pixel whose center of gravity is included by the trajectory having the coverage area; Pixels having more than half of their area are included by the track having the covered area; The track with the coverage area includes any part of the pixels.
7. The method for calculating acreage according to claim 1, wherein: The determining of the first pixel file according to the first coordinate value includes: determining the first coordinate range according to the coordinate interval to which the abscissa of the first coordinate value belongs and the coordinate interval to which the ordinate of the first coordinate value belongs; The first pixel file is determined according to the first coordinate range.
8. The method for calculating acreage according to claim 1, wherein: The method further comprises: Determine the third coordinate range of the actual cultivated land area; After obtaining the first coordinate value, if the first coordinate value does not fall within the third coordinate range, discarding the first coordinate value; After obtaining the second coordinate value, if the second coordinate value does not belong to the third coordinate range, the second coordinate value is discarded.
9. The method for calculating acreage according to any one of claims 1 to 8, characterized in that: The shape of the pixel includes any one of the following: rectangle, triangle, and hexagon.
10. The acreage calculation method according to any one of claims 1 to 8, characterized in that: The method further comprises: An image of a harvesting area is acquired, where the harvesting area is a top view image of a harvesting platform of an agricultural machine, and a working state of an acreage counting device is switched according to a difference between a front end of the harvesting platform and a rear end of the harvesting platform in the image.
11. The method for calculating acreage according to claim 10, characterized in that: The switching of the working state of the acreage counting device according to the difference between the front end of the header and the rear end of the header on the image comprises: When the front end of the header is an image of unharvested farmland and the rear end of the header is an image of harvested farmland, the acreage counting device normally obtains the coordinate value of the agricultural machine; or When the front end of the harvesting platform and the rear end of the harvesting platform are both unharvested farmland images or harvested farmland images, the acreage counting device stops acquiring the coordinate values of the agricultural machinery.
12. A device for measuring acres, characterized in that: include: Processor, memory and SD card slot; The SD card slot is used to connect an SD card, and the SD card is used to store the first pixel file and the second pixel file in the mu calculation method according to any one of claims 1 to 11; The memory is used to store a computer program, and when the processor executes the computer program stored in the memory, the metering device can execute the metering method according to claims 1-11.
13. The acreage counting device according to claim 12, characterized in that: The acreage counting device also includes: Display screens and input devices; The display screen is used to present data and interact with the user; the input device is used to enable the user to interact with the metering device.
Citation Information
Patent Citations
Method and apparatus for determining track point area
CN109410269A