Information processing device, information processing method, and program
The information processing device automates crop counting and detection in aerial images by determining rows and crop spacing, addressing the challenge of manual entry in existing technologies, and providing accurate field management information.
Patent Information
- Application Number
- JP2021558252
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-11-18
- Filing Date
- 2020-10-28
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-10-28
AI Technical Summary
Existing technologies face challenges in accurately counting crops from aerially photographed images, as manual entry of field area, row direction, and position is time-consuming, making it difficult to automate crop counting and detection in large-scale farming.
An information processing device that detects crops in image data, determines rows based on crop detection, calculates crop spacing, and estimates row likelihood to automate crop counting, including curved rows, and generates output information for field management.
Enables accurate and automated crop counting, distinguishing between crops and weeds, detecting missing spots, and providing useful field management information such as crop ratio and predicted yield, improving efficiency and accuracy in large-scale farming.
Smart Images

Figure 0007574802000001 
Figure 0007574802000002 
Figure 0007574802000003
Abstract
Description
[Technical field]
[0001] The present technology relates to an information processing device, an information processing method, and a program, and in particular to a technology suitable for generating information regarding crop cultivation. [Background technology]
[0002] In recent years, as farms have become larger, automatic planting of crops has become common. In automatic planting, it is very important to check whether the crops have been planted correctly and whether they are growing as expected. If there are areas where the crops are not planted or growing as expected, replanting may be performed to optimize the final yield.
[0003] On the other hand, with the development of aerial imaging technology using cameras mounted on drones and other flying objects, attempts are being made to simplify and automate the work of manually inspecting farmland on large-scale farms. Detection of crop defects as mentioned above is also becoming automated using such aerial imaging technology. Patent Document 1 discloses a technique for capturing images of farm fields and performing remote sensing of vegetation conditions. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 5162890 Summary of the Invention [Problem to be solved by the invention]
[0005] Incidentally, in order to check for defects in crops, it would be sufficient to count the number of crops from images taken from the air, but it is difficult to count the crops accurately from images taken from the air. Furthermore, when counting crops using image processing, counting accuracy can be improved by specifying rows (furrows or planting lines) in the image; however, this requires manual input of the field area, row direction, row position, etc., which can be very time-consuming when processing a large number of images.
[0006] In view of this, the present disclosure proposes a technology that makes it possible to easily and hassle-freely count the number of crops using image processing from images captured from the air. [Means for solving the problem]
[0007] The information processing device according to the present technology includes a row determination unit that performs crop detection within image data obtained by capturing an image of a farm field, and determines rows, which are lines along which crops are planted, within the image data based on the results of the crop detection. A portion of a crop is detected in image data relating to the field, and a row is determined in the image data based thereon.
[0008] In the information processing device related to the above-mentioned present technology, the row determination unit may detect row candidates based on the results of the crop detection, calculate the likelihood of each row candidate being a row based on the crop spacing, and determine the row based on the result of the likelihood calculation. By detecting areas that appear to be crops, rows of crops can be estimated, and these are used as row candidates. The likelihood of each row candidate is determined based on the spacing between the crops.
[0009] In the information processing device related to the above-mentioned present technology, the law determination unit may calculate a crop size from the size of a crop-like area located near the top of the law candidate, detect a crop candidate on the law candidate from the calculated crop size, calculate a crop spacing on the image data from the spacing of the detected crop candidates, determine a likelihood of the law candidate from the determined crop spacing, and perform a process of determining the law after excluding law candidates determined to be erroneous detections using the determined likelihood. By estimating the size of crops from areas that look like crops, the spacing between crops in the image data can be determined appropriately. The likelihood of row candidates is determined from such spacing between crops.
[0010] In the information processing device according to the present technology described above, it is considered that the law determination unit determines a law including a curve within the image data. That is, the rows are not limited to straight lines, but curved lines or partial curved lines are also detected and determined as rows on the image data.
[0011] In the information processing device related to the above-mentioned present technology, the law determination unit may divide the image data, perform law detection for each divided image, and combine the lines of the law detection of the divided images to set law candidates including curves. That is, a straight line, a curve, or a row of a partial curve can be detected using a short straight line in the divided image.
[0012] The information processing device according to the present technology described above may include an output information generating unit that generates output information related to crop growth using the wax information determined by the wax determining unit. The output information regarding crop growth is information that can be used for managing the farm field, such as the number of crops per unit area, the predicted harvest amount, and the crop ratio.
[0013] In the information processing device related to the above-mentioned present technology, it is considered that the output information generation unit counts the number of crops in the row determined by the row determination unit and counts the total number of crops present in the image data. When a row is determined, the number of crops is counted as the plant parts above that row.
[0014] In the information processing device according to the present technology described above, it is considered that the output information generating unit counts the number of missing portions of the crop by using the crop interval determined by the row determining unit. By determining the crop spacing, it is possible to estimate missing areas where crops should not be present.
[0015] In the information processing device related to the above-mentioned present technology, the output information generation unit may count the number of missing crop areas using the crop spacing determined by the row determination unit, and may use the counting result of the missing crop areas to calculate the crop ratio, which is the ratio between the ideal number of planted areas and the actual number of planted areas. The ideal number of plants is the number of plants that would be counted if all the seeds were planted. By finding the missing areas, the ideal number of plants can be calculated, and the ratio to the actual number of plants can be calculated. The crop percentage is the percentage of the crop that has germinated, and can also be expressed as, for example, the germination percentage or germination rate.
[0016] In the information processing device according to the present technology described above, it is considered that the output information generation unit calculates an effective cultivation area based on the position of the row determined by the row determination unit. The effective cultivation area is the area in which cultivation is actually carried out, for example, the area of a farm field excluding areas in which cultivation is not carried out.
[0017] In the information processing device according to the present technology described above, it is considered that the output information generating section calculates the representative output information by using output information obtained from each of a plurality of image data. The representative output information is, for example, the average value, median value, or centroid value of output information such as the number of crops, the yield, or the crop ratio, calculated from a plurality of image data.
[0018] In the information processing device according to the present technology described above, it is conceivable that the output information generation unit detects a group of crops whose arrangement interval value is equal to or less than a predetermined value, and generates output information presenting the corresponding group of crops. The placement interval is the distance between the locations where crops are growing. Crops that are close to each other in placement interval are detected, and output information is generated that allows them to be identified on a display, for example.
[0019] In the information processing device related to the above-mentioned present technology, the output information generation unit may detect the number of crops whose arrangement spacing value is equal to or less than a predetermined value, and calculate a predicted harvest yield that reflects the number. Since crops that are placed close to each other tend to grow poorly, it is not appropriate to count them as usual to calculate the predicted yield. Therefore, the number of crops that are placed close to each other is reflected in the calculation of the predicted yield.
[0020] In the information processing device according to the present technology described above, it is conceivable that the presence of calculation data for image data of the same farm field is confirmed, and if the calculation data is present, the calculation data is used to perform processing. For example, if there are multiple image data sets for a certain field captured by a series of imaging operations, or multiple image data sets captured at approximately the same time, and calculated data such as crop spacing, growth size, row spacing, etc. are calculated for one of the image data, the calculated data can also be used in the row determination process and output information calculation process for other image data.
[0021] In the information processing device related to the above-mentioned present technology, if the calculated data calculated from the image data is a value outside the allowable range based on the representative calculated data obtained for other image data of the same field, it is possible to apply the value of the representative calculated data. For example, when there are multiple image data for a certain field captured by a series of imaging operations, or when there are multiple image data captured at approximately the same time, if the crop spacing, growth size, row spacing, etc. calculated for one image data is significantly different from the values obtained from other image data, the value of the representative calculated data, such as the average value or median, will be used.
[0022] In the information processing device according to the present technology described above, it is conceivable that the effective cultivation range in the image data is determined by using map data of the farm field. For example, map data of a farm field owned by a farmer is used to determine the validity range of image data.
[0023] In the information processing device related to the above-mentioned present technology, the law determination unit controls the presentation of the determined law and is equipped with a user interface control unit that detects user operation, and the law determination unit can be thought of as changing the determined law in response to the detected user operation. For example, the determined law may be clearly indicated on the image data so that the user can confirm it.
[0024] The information processing method according to the present technology performs crop detection within image data obtained by capturing an image of a farm field, and determines rows, which are lines in which crops are planted, within the image data based on the results of the crop detection. This makes it possible for the information processing device to easily identify the wax that contributes to the accuracy of calculation of crop information without human intervention. A program according to the present technology causes an information processing device to execute the processing of the above-described method, thereby making it easy to realize a computer device that generates accurate output information without requiring the user to do anything. [Brief description of the drawings]
[0025] [Figure 1] FIG. 1 is an explanatory diagram of a sensing system according to an embodiment of the present technology. [Diagram 2] FIG. 2 is an explanatory diagram of rows and an imaging range in a farm field. [Diagram 3] FIG. 1 is a block diagram of a hardware configuration of an information processing apparatus according to an embodiment. [Figure 4] FIG. 2 is an explanatory diagram of a functional configuration of the information processing apparatus according to the embodiment; [Diagram 5] 4 is a flowchart showing a series of processes of the information processing apparatus according to the embodiment. [Figure 6] 4 is a flowchart of a processing example according to the first embodiment. [Figure 7] FIG. 11 is an explanatory diagram of an image showing crop-likeness according to the embodiment. [Figure 8] FIG. 4 is an explanatory diagram of a law candidate according to the embodiment; [Figure 9] 11 is an explanatory diagram of a straight line projection calculation of a row candidate according to an embodiment; [Figure 10] FIG. 13 is an explanatory diagram of detection of a crop location on a wax according to an embodiment. [Figure 11] 11A and 11B are explanatory diagrams of narrowing down Law candidates according to an embodiment; [Figure 12] 13 is a flowchart of a processing example according to the second embodiment. [Figure 13] FIG. 13 is an explanatory diagram of a missing portion in the second embodiment. [Figure 14] FIG. 13 is an explanatory diagram of an effective range of a row according to the third embodiment. [Figure 15] 13 is a flowchart of a processing example according to the third embodiment. [Figure 16] 13 is a flowchart of a processing example according to the fourth embodiment. [Figure 17] 13 is a flowchart of a processing example according to the fifth embodiment. [Figure 18] 13 is a flowchart of another processing example according to the fifth embodiment. [Figure 19] 23 is a flowchart of a processing example according to the sixth embodiment. [Figure 20] 23 is a flowchart of a processing example according to the seventh embodiment. [Figure 21] 23 is a flowchart of a processing example according to the eighth embodiment. [Figure 22] FIG. 13 is an explanatory diagram of a state called "double" in the ninth embodiment. [Figure 23] 23 is a flowchart of a processing example of the ninth embodiment. [Figure 24] FIG. 23 is an explanatory diagram of a double display example according to the ninth embodiment. [Diagram 25] 13 is a flowchart of another processing example of the ninth embodiment. [Figure 26] 23 is a flowchart of a processing example of the tenth embodiment. [Figure 27] FIG. 23 is an explanatory diagram of an example of a user interface according to the tenth embodiment; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0026] The embodiments will be described below in the following order. <1. Sensing system configuration> <2. Configuration of information processing device> <3. Processing of information processing device> <4. First embodiment> <5. Second embodiment> <6. Third embodiment> <7. Fourth embodiment> <8. Fifth embodiment> <9. Sixth embodiment> <10. Seventh embodiment> <11. Eighth embodiment> <12. Ninth embodiment> <13. Tenth embodiment> <14. Summary and Variations>
[0027] <1. Sensing system configuration> First, a sensing system according to an embodiment will be described. FIG. 1 shows an information processing device 1 constituting a sensing system, and an imaging device 220 mounted on a small flying object 200 such as a drone.
[0028] The flying object 200 can move above the field 300, for example, by radio control by an operator or by automatic control. An imaging device 220 is set on the flying object 200 so as to capture, for example, an image of a downward direction. When the flying object 200 moves above the farm field 300 along a predetermined route, the imaging device 220 captures still images, for example, periodically.
[0029] It should be noted that, by flying object 200 at a relatively low altitude (for example, at an altitude of about 10 to 20 m), only a portion of farm field 300 appears in one captured image. By capturing still images at short intervals, it is possible to stitch the captured images together to obtain a composite image of the entire field. However, in the case of sensing in this embodiment, this is not necessarily required. For example, it is sufficient if discrete areas in the field 300 are captured as sensing samples to obtain multiple image data.
[0030] The imaging device 220 mounted on the flying object 200 may be a visible light image sensor (an image sensor that captures visible light of R (red), G (green), and B (blue)), a camera for capturing NIR (Near Infra Red) images, a multi-spectrum camera that captures images in multiple wavelength bands, a hyper-spectrum camera, a Fourier transform infrared spectrophotometer (FTIR), an infrared sensor, etc. Of course, multiple types of cameras (sensors) may be mounted on the flying object 200. A multispectral camera may be used that captures, for example, NIR and R (red) images and can calculate the NDVI (Normalized Difference Vegetation Index) from the images obtained. NDVI is a vegetation index that indicates the degree of vegetation, and can be used as an index showing the distribution and activity of vegetation. NDVI can be calculated from R and NIR images. That is, the NDVI value is: NDVI=(NIR-R) / (NIR+R) It is required as follows.
[0031] Tag information is added to the images captured by the imaging device 220. The tag information includes imaging date and time information, position information (latitude / longitude information) as GPS (Global Positioning System) data, information on the flying altitude of the flying object 200 at the time of capturing the image, imaging device information (camera individual identification information, model information, etc.), and information on each image data (image size, wavelength, imaging parameters, etc.).
[0032] Image data and tag information captured by the imaging device 220 attached to such an aircraft 200 are acquired by the information processing device 1. For example, image data and tag information are exchanged via wireless communication or network communication between the imaging device 220 and the information processing device 1. Examples of the network include the Internet, a home network, a LAN (Local Area Network), a satellite communication network, and various other networks. Alternatively, the image data and tag information are transferred to the information processing device 1 in such a manner that a recording medium (eg, a memory card) attached to the imaging device 220 is read by the information processing device 1 side.
[0033] The information processing device 1 uses the image data and tag information to generate analytical information for measuring the farm field 300. The information processing device 1 also performs processing to present the analysis results to the user as an image. Specifically, the crops captured in the image data can be counted, and based on that, information that can be used for field management, such as the number of crops, the number of crops per unit area, predicted harvest yield, and crop ratio, can be generated and presented to the user.
[0034] The information processing device 1 is realized as, for example, a personal computer (PC), a field-programmable gate array (FPGA), or a terminal device such as a smartphone or a tablet. In FIG. 1, the information processing device 1 is separate from the imaging device 220. However, for example, a calculation device (such as a microcomputer) serving as the information processing device 1 may be provided in a unit including the imaging device 220.
[0035] Here, in the case of the sensing system of this embodiment, in particular, the locations in the farm field 300 that are deemed to be "row" on the image data are automatically determined, and the number of planted crops is counted based on this determination. A row is a line along which crops are planted. For example, the ridges formed for planting seeds in the field 300 are a type of row. Rows are not limited to raised soil such as ridges, but also include lines formed when seeds are sown on flat land. For example, planting lines formed when sowing seeds with a tractor (seeder) are called rows.
[0036] 2A shows a schematic diagram of rows 301 formed in a farm field 300. For example, as time passes after sowing, the seeds germinate and the rows of crop leaves form rows 301 as shown in the figure. In this embodiment, the image capturing device 220 captures images of the farm field 300 while the flying object 200 is moving, and images of various locations are captured at appropriate timing, for example, as in the image capturing ranges SP1 and SP2 in the figure. For example, image data of the image capturing range SP1 and image data of the image capturing range SP2 are obtained by the image capturing device 220 as a still image captured image of one frame, and these are input into the information processing device 1.
[0037] 2A shows straight row 301, but row 301 is not necessarily always straight. Straight row 301 may bend at the edge of field 300. Row 301 may be partially curved or may be formed in a spiral or concentric shape, for example, depending on the shape of field 300, the route taken during sowing, obstacles, etc. FIG. 2B shows row 301 curving in this manner.
[0038] <2. Configuration of information processing device> An information processing device 1 that acquires and processes image data from the imaging device 220 in the above sensing system will be described.
[0039] 3 shows a hardware configuration of the information processing device 1. The information processing device 1 includes a central processing unit (CPU) 51, a read only memory (ROM) 52, and a random access memory (RAM) 53. The CPU 51 executes various processes according to a program stored in the ROM 52 or a program loaded from the storage unit 59 to the RAM 53. The RAM 53 also stores data and the like necessary for the CPU 51 to execute various processes. The CPU 51, the ROM 52, and the RAM 53 are interconnected via a bus 54. An input / output interface 55 is also connected to this bus 54.
[0040] To the input / output interface 55, a display unit 56 consisting of a liquid crystal panel or an organic EL (Electroluminescence) panel, an input unit 57 consisting of a keyboard, a mouse, etc., a speaker 58, a storage unit 59, a communication unit 60, etc. can be connected.
[0041] The display unit 56 may be integrated with the information processing device 1 or may be a separate device. The display unit 56 displays captured images, various calculation results, and the like on the display screen based on instructions from the CPU 51. Furthermore, the display unit 56 displays various operation menus, icons, messages, and the like, that is, a GUI (Graphical User Interface), based on instructions from the CPU 51.
[0042] The input unit 57 refers to an input device used by a user of the information processing device 1. For example, the input unit 57 may be various types of operators or operation devices such as a keyboard, a mouse, keys, a dial, a touch panel, a touch pad, or a remote controller. An operation by the user is detected by the input unit 57, and a signal corresponding to the input operation is interpreted by the CPU 51.
[0043] The storage unit 59 is composed of a storage medium such as a hard disk drive (HDD) or a solid-state memory. The storage unit 59 stores, for example, image data captured by the imaging device 220, tag information, and various other information. The storage unit 59 is also used to store program data for various processes.
[0044] The communication unit 60 performs communication processing via networks including the Internet, and communication with various peripheral devices. The communication unit 60 may be a communication device that communicates with the image capture device 220, for example.
[0045] A drive 61 is also connected to the input / output interface 55 as required, and a storage device 62 such as a memory card is attached to it, for writing and reading data. For example, a computer program read from the storage device 62 is installed in the memory unit 59 as necessary, and data processed by the CPU 51 is stored therein. Of course, the drive 61 may be a recording / reproducing drive for removable storage media such as a magnetic disk, an optical disk, or a magneto-optical disk. These magnetic disks, optical disks, magneto-optical disks, etc. are also aspects of the storage device 62.
[0046] The information processing device 1 according to the embodiment is not limited to being configured as a single information processing device (computer device) 1 having a hardware configuration as shown in Fig. 3, but may be configured as a system of multiple computer devices. The multiple computer devices may be systemized using a LAN or the like, or may be located in a remote location using a VPN (Virtual Private Network) or the like using the Internet or the like. The multiple computer devices may include a computer device that can be used by a cloud computing service. 3 can be realized as a desktop or notebook personal computer, a tablet terminal, a smartphone, or other portable terminal. Furthermore, the information processing device 1 of this embodiment can be mounted in electronic devices having the function of the information processing device 1, such as a measuring device, a television device, a monitor device, an imaging device, and a facility management device.
[0047] For example, an information processing device 1 having such a hardware configuration has a calculation function by a CPU 51, a storage function by a ROM 52, a RAM 53, and a storage unit 59, a data acquisition function by a communication unit 60 and a drive 61, and an output function by a display unit 56, etc., and is provided with a functional configuration as shown in Figure 4 by the installed software functioning.
[0048] That is, the information processing device 1 includes an image acquisition unit 2, a row determination unit 4, an output information generation unit 5, a user interface control unit 6 (hereinafter, "user interface" will be abbreviated as "UI"), and a recording control unit 7 shown in FIG. These processing functions are realized by software executed by the CPU 51 . The programs constituting the software are downloaded from a network or read from a storage device 62 (e.g., a removable storage medium) and installed in the information processing device 1 in Fig. 3. Alternatively, the programs may be pre-stored in the storage unit 59 or the like. When the programs are started in the CPU 51, the functions of the above-mentioned units are realized. The calculation process and results of each function are stored, for example, in the memory area of the RAM 53 or the memory unit 59.
[0049] The image acquisition unit 2 is a function for acquiring image data to be processed and tag information associated with the image data. For example, image data captured by the imaging device 220 is stored in the storage unit 59, and the CPU 51 reads out specific image data and uses it as a target for calculation processing.
[0050] The row determination unit 4 is a processing function that performs crop detection within the image data of the farm field 300, i.e., the image data processed by the image acquisition unit 2, and determines the row 301 (i.e., the part of the image in which the row 301 is captured) within the image data based on the results of crop detection.
[0051] The output information generating unit 5 has a function of performing calculations to generate information indicating the state of the farm field 300. For example, the output information generating unit 5 counts the number of crops captured in the image data, and calculates the number of crops per unit area (such as 1 acre), predicted harvest amount, crop ratio, and the like based on the count number of crops.
[0052] The UI control unit 6 has a function of performing, for example, display control of the display unit 56 and acquisition processing of operation information input by the input unit 57. That is, the UI control unit 6 presents information calculated by the image and output information generation unit 5 and recognizes user operations.
[0053] The recording control unit 7 has a function of controlling the storage of information calculated by the output information generating unit 5 and the like in the storage unit 59.
[0054] The information calculated by the output information generating unit 5, such as the number of crops, the predicted harvest amount, and the crop ratio, may be stored in the storage unit 59, and may also be transmitted to an external device by the communication unit 60. In this sense, the information processing device 1 may have a function as a communication control unit that transmits the output information calculated by the output information generating unit 5, although this is not shown in the figure.
[0055] <3. Processing of information processing device> An example of basic processing of the information processing device 1 will be described with reference to FIG. Fig. 5 shows a series of processes in which the CPU 51 performs necessary arithmetic processing on the image data to be processed, and generates and outputs output information. This process is realized by the CPU 51 having the functions shown in Fig. 4. That is, step S50 is processed by the image acquisition unit 2, steps S100 to S130 are processed by the row determination unit 4, step S140 is processed by the output information generation unit 5, and step S150 is processed by the UI control unit 6 (or the recording control unit 7, or a communication control unit not shown).
[0056] In step S50, the CPU 51 specifies the image data to be processed. In step S100, the CPU 51 detects a region that resembles a crop within the image data to be processed. In step S110, the CPU 51 detects areas in the image that are estimated to be wax, as wax candidates. The detection of wax candidates is performed using the detection result of the crop-like area detected in step S100.
[0057] In step S120, the CPU 51 detects crops in the row candidates. In this case, the crops are detected and the intervals are determined. In step S130, the CPU 51 determines a row in the image.
[0058] In step S140, the CPU 51 performs a process of calculating output information, such as the number of crops in the image, the number of crops per unit area, the crop ratio, and the predicted harvest amount. In step S150, the CPU 51 performs a process of outputting the calculated output information, such as displaying the output information on the display unit 56, recording the output information in the memory unit 59 or the storage device 62, or transmitting the output information to an external device via the communication unit 60.
[0059] Specific examples of a series of processes as shown in FIG. 5 will be described below as first to tenth embodiments. In the description of the processes in each embodiment, the same steps as those described above will be assigned the same step numbers to avoid duplication of description.
[0060] <4. First embodiment> A processing example of Fig. 6 will be described as a specific example of the processing of Fig. 5. This shows a detailed example of the processing of steps S120 and S140 of Fig. 5. In addition, each of the processing of steps S50, S100, S110, S130, and S150 will also be described in detail.
[0061] In step S50, the CPU 51 specifies one of the image data captured from the air by the imaging device 220 mounted on the flying object 200 as a processing target. In this case, the image data may be color image data captured by an RGB (red, green, blue) camera, or may be image data as IR (near infrared) data and R (red) data. It may also be the above-mentioned NDVI image data obtained from the IR (near infrared) data and R (red) data.
[0062] In step S100, the CPU 51 performs detection of crop-like areas within the images for these pieces of image data. For example, G pixel detection will be described as a detection method when an image captured by an RGB camera is used. Crops are mainly composed of leaves, and leaves are generally green, so green areas are detected from the RGB color image. To detect green areas, for example, each RGB component of a pixel in the image may be compared, and only the pixel with the highest G (green) may be detected. Alternatively, RGB can be converted to a lightness, saturation, and hue space such as HSV, and pixels having a hue within the region can be detected by setting a region with a certain width in the green region of the hue value.
[0063] Next, threshold detection for NDVI images will be explained as a detection method when using images captured in near infrared and red. NDVI, an index showing the distribution of crops (plants), is calculated from near infrared and red light and has a range of ±1, with crops having high NDVI values and soil having low NDVI. Therefore, an NDVI image is created from IR data and R data, and pixels that resemble crops are detected by threshold processing. If an NDVI image already exists, the NDVI image is acquired in step S50 as described above, and pixels resembling crops are detected in step S100 by threshold processing.
[0064] It is possible to detect crop-like areas using only one of the above processes, but it is also possible to select one of the above two processes (G pixel detection and threshold detection for NDVI images) according to the type of information contained in the input image to detect crop-like areas.
[0065] For example, consider the case where an image as shown in FIG. 7A is input as a processing target. The image in FIG. 7A shows crops 310 planted in rows on a row, but there are some gaps (places where crops 310 should be but are not), and there are plants other than crops, such as weeds 315, in places other than the row.
[0066] The result of the detection of crop-like areas obtained by the above-mentioned G pixel detection or threshold detection of the NDVI image is expressed as a binary value of crop-like (white) or non-crop-like (black) for each pixel in an image of the same size as the input image, as shown in Fig. 7B. The white pixel parts are pixel areas where plants are considered to be captured, but in this case, not only the crop 310 but also the weeds 315 are considered to be crop-like areas.
[0067] It should be noted that, in order to obtain such a result, a plurality of threshold values may be set, rather than just one. For example, two thresholds may be set for the NDVI value, and in addition to the two categories of "likely to be crops" and "not likely to be crops," three values may be added: "unclear whether crop or not."
[0068] Also, since there are no visible lines for the wax, it does not appear in an image like that of Figure 7A, but in this case, the line along which the crops 310 are lined up vertically in the figure is the wax. Of course, there are also cases where the wax can be physically seen due to ridges, etc. Thereafter, the CPU 51 performs processing to search for rows within the image.
[0069] In step S110, the CPU 51 detects law candidates. Since rows are generally straight lines, straight lines of the rows of crops 310 in the image are detected. For detecting straight lines, a Hough transform, a RANSAC (Random Sample Consensus), or the like is used. Straight lines passing through the crop-like pixels (white pixels in FIG. 7B) are detected as law candidates. Since the number and direction of the rows are unknown, all straight lines that appear to be wax in the image, such as dashed lines K1 to K7 in FIG. 8, are detected as law candidates.
[0070] Next, the CPU 51 calculates the crop size in step S121. First, for a certain line of a row candidate, we project the crop-like pixels near the line along the line. Specifically, we assume an arbitrary line parallel to the row candidate line, and count the number of crop-like pixels on that line. This makes it possible to obtain the distribution of crop-like pixels in the direction perpendicular to the row candidate line. Figure 9 shows an example of calculating the projection of a line of a row candidate shown by the dashed line K1 on the left side of Figure 8. Since the line of the row candidate is detected as passing through pixels that are likely to be crops, this distribution is highest near the center and decreases as it moves away from the center. A certain threshold thS is then set for this distribution, and the width WS that is equal to or greater than the threshold is estimated as the crop size. The threshold thS can be set, for example, to half the median.
[0071] This process is performed on all straight lines of the row candidates (dashed lines K1 to K7) to calculate (estimate) the crop size. Since crops planted at the same time are considered to be approximately the same size, the average value, median value, or other value of the crop sizes of all the calculated row candidates is determined as the crop size SS. Alternatively, the projections of all crop-like pixels in the vicinity of a line of any row candidate may be summed and a unique crop size SS may be determined by thresholding.
[0072] Next, in step S122, the CPU 51 detects the location of the crop on the row. In this case, a reference area RA is set on the row according to the calculated crop size. An example of the reference area RA is shown in Fig. 10A. The reference area RA may be, for example, a circular area with the crop size SS as a diameter, or a square area with the crop size SS as one side. Of course, it may have another shape. The reference area RA is moved along the straight line of the row candidate (dashed line K1 to dashed line K7 in FIG. 10C) to sequentially determine the crop location. For example, as shown in FIG. 10B, the reference area RA is moved along dashed line K1 to determine whether each location in the reference area RA is a crop location. For example, the number of pixels that look like crops in the reference area RA is counted, and if the count number is equal to or greater than a certain threshold value thC, the position of the reference area RA is determined to be the crop location CS. In this case, the threshold value thC may be set to, for example, half or 2 / 3 of the area of the reference area RA. FIG. 10C shows an example of detecting crop locations CS on row candidates.
[0073] Next, in step S123, the CPU 51 determines the spacing between crops on the rows. When crops are considered to be planted at equal intervals on any row in the input image to be processed, the spacing between crops on the image is determined. First, for any line of a row candidate, the distance to the adjacent crop point CS detected by the above process is calculated. For each crop point CS, the distance to the adjacent crop point CS is calculated, and the average or median of the distances is determined as the crop interval in the image to be processed.
[0074] Next, in step S124, the CPU 51 calculates the likelihood of each of the Law candidates (dashed lines K1 to K7). Since crops are evenly planted on the correct rows, the calculated crop spacing is used to count the number of sets of crops planted with the correct crop spacing. A "pair of crops" refers to two adjacent crops, which corresponds to two adjacent crop locations CS in this case. In other words, the number of pairs of two crop locations CS with the correct crop spacing is counted. Whether the crop spacing is correct or not is determined based on whether the distance between the crops is within an error range for the above-mentioned crop spacing, which is preset to, for example, 20%.
[0075] For example, Fig. 11A shows four crop locations CS, and in this case, there are three sets GP1, GP2, and GP3 as "crop sets." If the crop spacing of each set GP1, GP2, and GP3 is distance BT1, BT2, and BT3, and the distances BT1 and BT2 are correct crop spacings and the distance BT3 is an incorrect crop spacing, then the number of crop sets with correct crop spacings is "2." In this way, the CPU 51 calculates the number of combinations of crops planted at the correct crop intervals for each Law candidate, and sets the calculated value as the likelihood value of the Law candidate. The larger the value, the more likely the Law candidate is defined as being Law.
[0076] Next, in step S130, the CPU 51 determines the correct row from among the row candidates, for example by carrying out the following steps (P1) to (P3).
[0077] (P1) Since laws do not generally intersect, we look for two intersecting law candidates, and of the two law candidates, we delete the one with the lower probability. This is repeated until there are no more intersecting Law candidates.
[0078] (P2) The slope of each line of each law candidate remaining in the process of (P1) above is calculated, and the average or median is calculated as the slope of the law for the entire image. Since each law is arranged in parallel, law candidates whose slope deviates from the calculated law slope by more than an allowable range are deleted. The allowable range of deviation is preset, for example, to within an angle difference of 10 degrees.
[0079] (P3) The Law interval is calculated from the average or median of the intervals of the narrowed-down Law candidates. Then, among the Law candidates remaining from the processes (P1) and (P2) above, Law candidates whose intervals are closer to the calculated Law interval (for example, 80% or less of the Law interval) are eliminated as Law candidates with low probability.
[0080] By this process, the law candidates indicated by the dashed lines K1, K2, K3, and K4 remain as likely law candidates, as shown in Fig. 11B. In this case, not only are the intersecting law candidates removed, but also the erroneous law candidates detected due to weeds, etc. are removed. The CPU 51 determines these remaining law candidates as the law in the image.
[0081] In step S141, the CPU 51 counts the number of crop points CS on the straight line determined as the row, and sets the total number as the number of crops in the image to be processed. Because the system detects the wax, it can distinguish between plants that grow randomly outside the wax, such as weeds, and crops that grow on the wax, enabling the system to accurately count the number of crops.
[0082] In step S150, the CPU 51 performs a process of outputting the totaled number of crops as output information. For example, the CPU 51 performs a process of displaying the information on the number of crops on the display unit 56, recording the information in the memory unit 59 or the storage device 62, and transmitting the information to an external device via the communication unit 60. Furthermore, the CPU 51 may output, as auxiliary information, information required before calculating the number of crops, such as the number and positions of rows, and crop locations CS.
[0083] Note that the above count of the number of crops is the count of the number of crops captured in the image data to be processed, and therefore the total number varies depending on the area of the imaging range, for example, the altitude of the flying object 200, the angle of view of the imaging device 220, etc. Therefore, it is effective to convert the counted number of crops into the number of crops per unit area. For example, the flight altitude and the angle of view at the time of image capture are obtained from tag information acquired together with the image data, and the area of the image capture range of the image data to be processed is calculated. Then, the ratio between the calculated area of the image capture range and a unit area (e.g., 1 acre) is calculated, and the number of crops per unit area can be obtained by multiplying the count number by a coefficient corresponding to the ratio. In step S150, CPU 51 may output information on the number of crops per unit area.
[0084] <5. Second embodiment> In the above first embodiment, the number of crops in an image is set as output information, but since the number of crops depends on the area of the image capture range, it may be difficult to handle. Therefore, we calculate the crop ratio that is not dependent on the area of the imaging range. The crop ratio here is expressed as the ratio of the ideal number of crops to the actual number of crops when crops are planted according to a set rule (for example, the width between rows is equal, the spacing between crops on the rows is equal, etc.). For example, Crop ratio = (actual number of crops) / (ideal number of crops) Therefore, it can also be called the germination rate. Since the number of crops detected in the first embodiment is the actual number of crops planted (the number of germinated crops), in order to obtain the crop ratio, it is necessary to obtain the ideal number of crops planted.
[0085] The ideal number of plants can be calculated by knowing the width between rows and the spacing of the crops on the rows. If the processing of steps S121 to S123 in FIG. 6 is performed in step S120 in FIG. 5, the crop spacing is calculated. Therefore, when calculating the crop ratio, for example, in step S140 in FIG. 5, the crop spacing value already calculated can be used to calculate the ideal planting number. The ideal number of plants is one in which crops are observed at every point on the row, so the ideal number of plants is determined by counting the number of points at every crop interval on the image. The number of crops actually counted compared to this ideal number of plants is the crop ratio, and the crop ratio can be calculated, for example, as a percentage of yield.
[0086] However, if there is an error in the row width and the crop spacing, the ideal number of crops is calculated by integrating these two values, so the effect of the error will be large. Therefore, to reduce the effect of the error, the crop ratio can be calculated using the procedure shown in Figure 12. The process in FIG. 12 is executed by the CPU 51 as one of the output information calculations in step S140, for example.
[0087] First, in step S142, the CPU 51 detects the missing portion of the crop. The ideal number of crops can be calculated by adding the number of missing areas where crops should be present to the actual number of crops detected. The number of missing areas is calculated as follows:
[0088] If the distance between adjacent crops on a row is sufficiently longer than the crop distance calculated by the image processing described in the first embodiment, it is considered that there is a missing part between them. Therefore, if the distance between adjacent crops is "d" and the calculated crop distance is "D", the number of missing parts n is expressed by the following formula. n = (d - (d%D)) / D - 1 (1)
[0089] The operator “%” calculates the remainder when a is divided by b, i.e. a%b. Using formula (1), when the spacing between adjacent crops is twice the calculated spacing between crops, n=1, and it is calculated that there is one missing spot. In addition, since the spacing between adjacent crops cannot be defined at the ends of the row lines on the image, a virtual crop is placed at the intersection of the row and the edge of the image, the spacing between the virtual crop and the adjacent crop is determined, and the total number of missing areas is calculated using equation (1). FIG. 13 shows missing parts FP detected on the image to be processed.
[0090] In step S143 of FIG. 12, the CPU 51 totals the number of missing points FP on all rows in the image data to be processed. By knowing the number of missing areas (FP) (N) and the number of crops (P), the ideal number of crops to plant can be calculated as P+N. Then, the CPU 51 can calculate the crop proportion R in step S144 using the following formula. R = P / (P+N) × 100 [%] (2)
[0091] The CPU 51 calculates such crop proportion R as one piece of output information in step S140, and outputs it in step S150.
[0092] <6. Third embodiment> As a third embodiment, a method for calculating an effective cultivation area will be described. When the rows are spaced equally apart, the effective range of any row can be shown based on half the distance between the rows. For example, in Fig. 14, the area within half the distance between the rows from the center lines of the rows shown by the dashed lines K1, K2, K3, and K4 on the image data to be processed is shaded, and the non-shaded areas are painted black. These black areas can be considered as areas where no cropping will be performed.
[0093] Therefore, when the CPU 51 calculates the output information in step S140, it is considered that the CPU 51 performs the process shown in FIG. 15 as one of the processes. In step S145, the CPU 51 calculates the distance between the rows. If the row interval has been calculated as described above as process (P3) in step S130 of FIG.
[0094] In step S146, the CPU 51 specifies the effective range of the rows. For example, the effective range is the area that is included within half the distance between the rows from the center line of the rows. That is, the area indicated by diagonal lines in FIG. In step S147, the CPU 51 calculates the effective cultivation area, which is the area of the effective range excluding the blackened areas.
[0095] The CPU 51 calculates the effective cultivation area thus obtained as one piece of output information, and outputs it in step S150. This effective cultivation area is the area excluding the areas between the rows where cultivation is not performed, and by outputting this information together with information such as the number of crops, it can become useful information for field management.
[0096] In addition, if the imaging environment, specifically the altitude at the time of imaging, the camera's angle of view, the imaging angle of the camera, etc., can be obtained from the tag information, it is possible to calculate the imaging area when the farmland is treated as a flat surface. The crop area can also be calculated from this imaging area and the effective range of the wax. The above method is suitable for use in determining the correct crop area when areas other than fields, such as footpaths and irrigation channels, are captured in the image.
[0097] <7. Fourth embodiment> The fourth embodiment is an example that can also handle non-linear rows. In the first embodiment, an example was described in which the row candidates were calculated as straight lines, but rows are not necessarily straight lines. In particular, at the edge of farmland, rows may be bent to conform to the shape of the surroundings of the farmland. For example, a row 301 such as that shown in FIG. 2B exists. Therefore, it is desirable to be able to detect curved rows that have curved portions.
[0098] Curved rows can be detected by detecting curves. Curve detection can also be achieved using the Hough transform or RANSAC described in the first embodiment. However, while there are only two parameters to be found for a straight line, the slope and the intercept, there are three parameters for a quadratic curve and four parameters for a cubic curve. In the case of the Hough transform or RANSAC, the number of dimensions of the parameters to be searched increases, resulting in an enormous increase in processing time.
[0099] Therefore, the image is divided, and the detection of the rows described in the first embodiment is performed for each divided image. The processing procedure is shown in Fig. 16. The CPU 51 performs the processing of Fig. 16 in step S110 of Figs. In step S111, the CPU 51 divides the image data of the design into a plurality of regions. The number of divisions is arbitrary, but for example, a rectangular image may be divided into 4, 9, 16, 32, or 64 rectangles.
[0100] In step S112, the CPU 51 detects straight lines as rows of crop-like regions for each divided region, that is, approximates the rows with short straight lines, thereby finding straight lines that may be rows within the region.
[0101] In step S113, the CPU 51 connects the straight lines detected in each region while matching the front-back, left-right relationship in the original image. That is, a curve is expressed by connecting short straight lines found by approximating each region. Straight lines between divided images are connected by associating lines that are close to each other at the ends of the divided images.
[0102] In step S114, CPU 51 sets the connected lines as law candidates. For example, a law candidate can be set in which curved portions are expressed by connecting short straight line segments. For the law candidates set in this way, the process goes through step S120 in FIG. 5 (steps S121 to S124 in FIG. 6), and a law is determined in step S130.
[0103] With the above process, rows including curved lines can be detected with relatively simple processing. In the above-mentioned methods, when there are many curves or when the curvature of the curves is large, it is advantageous to plot the rows more accurately by dividing the image into a larger number of parts. Therefore, it may be possible to change the number of parts divided into the image in order to perform appropriate processing according to the row condition of the field 300 being sensed.
[0104] In addition, the image may be divided by simply cutting the image, or the divided images may be cut while overlapping each other. When overlapping, the connection of lines is made by using the distance between lines within the overlapping area, not the distance at the image edge. Also, an approximation curve of a row made up of a plurality of detected straight lines may be calculated by least squares approximation from the positions of the crops on the row.
[0105] <8. Fifth embodiment> The fifth embodiment is an example in which map information of a farm field 300 is used. In the first embodiment, crops were detected in the entire image, but in this embodiment, the position of the imaging device 220 (position of the aircraft 200) when the image was captured is overlaid with a map of the effective area of the farm field 300 owned by the farmer to determine the effective area of the field, and wax and crops are detected only in that effective area.
[0106] Processing examples such as those shown in FIG. 17 and FIG. 18 are possible. In the process of FIG. 17, the CPU 51 acquires map information in step S301. In step S302, the CPU 51 obtains the imaging range for each of the acquired multiple image data from information such as position information, angle of view, and imaging angle, and plots it on a map. The multiple image data here refers to each image data obtained by periodically capturing images while moving the flying object 200 during one flight, for example. In other words, these are images used as samples for sensing.
[0107] In step S303, the CPU 51 extracts only image data within the effective range that can be determined by the map. The extracted image data can be image data to be processed in Figs.
[0108] That is, by plotting the imaging ranges of multiple sampled image data on the map information, it is possible to distinguish image data whose imaging range is, for example, a footpath or outside a field where no wax exists, and to prevent such image data from being processed for crop counting.
[0109] Fig. 18 shows an example that can be applied to the process of step S140 in Fig. 5. In particular, the process can be used to find the effective cultivation area. For example, it is assumed that the CPU 51 performs the process up to step S130 in Fig. 5 for one image to be processed, and performs the process of calculating output information in step S140. At this time, the process in Fig. 18 is also performed to calculate the effective cultivation area.
[0110] In step S1401, the CPU 51 acquires map information. In step S1402, the CPU 51 overlays the image data currently being processed on the map information, i.e., projects the imaging range of the image data onto the map.
[0111] In step S1403, CPU 51 identifies the effective range of the row. This is to identify the range in the image capture range in which the row is formed. For example, the range in which the row is formed is identified by excluding areas on the map that are outside the footpaths and field 300.
[0112] In step S1404, the CPU 51 calculates the effective area for cultivation. That is, only the effective range of the rows in the image data being processed is the effective area for cultivation in the image. The effective range thus determined can be used as the effective area described in the third embodiment.
[0113] <9. Sixth embodiment> In the first embodiment, the number of crops on one image data is calculated. However, the reliability of the value of the number of crops may be improved by using the average or median of the processing results on multiple image data. The multiple images referred to here may refer to image data captured by the imaging device 220 mounted on the flying object 200 while moving, capturing images of different locations in the same vicinity, or may refer to image data captured at the same location on different dates and times.
[0114] An example of the process is shown in Fig. 19. This is, for example, one of the process examples performed in step S140 in Fig. 5. In step S1410, the CPU 51 acquires output information of the plurality of image data, such as the number of crops, the number of crops per unit area, and the crop ratio, calculated from the plurality of image data. In step S1411, the CPU 51 calculates a representative value. For example, in the case of the number of crops, the CPU 51 calculates the average value, median value, or centroid value of the number of crops calculated from a plurality of image data, and sets this as the representative value. In step S1412, the CPU 51 sets the determined representative value as the representative output information.
[0115] For example, when the process of FIG. 5 is performed for each of the required number of image data, it is possible to perform such a process in step S140 when processing the last image data, and generate and output representative output information.
[0116] <10. Seventh embodiment> The seventh embodiment is an example in which information obtained from other image data is used. For example, in the process of the first embodiment shown in FIG. 6, the crop size, crop interval, row interval, and the like are determined by image processing separately for each image data. On the other hand, when multiple images are captured by the aircraft 200 of the same field 300, or at the same time, or with the same equipment, it is likely that the crop size, crop spacing, row spacing, etc. will be approximately the same. Therefore, it is advisable to apply the crop size and row spacing detected from one of the multiple captured image data or from some of the multiple image data (if some of the multiple images are used, the average value, median value, center of gravity value, etc. of the crop size, crop spacing, row spacing, etc.) to the other images.
[0117] An example of the process is shown in Fig. 20. This is a modified example of the process shown in Fig. 6, in which step S51 is added. After identifying one image data to be processed in step S50, the CPU 51 checks in step S51 whether or not the crop interval has already been calculated for other image data. The other image data referred to here is image data that captures the same farm field 300 at the same time, such as other image data captured on the same flight.
[0118] If the crop spacing has already been calculated, the CPU 51 proceeds to step S124 and subsequent steps, calculates the likelihood of the row, and determines the row in step S130. If the crop spacing has not been calculated, the CPU 51 calculates the crop spacing in the processes from step S100 to step S123, and then proceeds to step S124 and subsequent steps. By such processing, the efficiency of the processing operation can be improved.
[0119] <11. Eighth embodiment> The eighth embodiment is an example in which values of crop size, crop interval, row interval, and the like calculated from image data are replaced with representative values when they become inappropriate for some reason. In the eighth embodiment, similarly to the first embodiment, all the processes in FIG. 6 are performed for each image data. Then, representative values (average, median, or center of gravity value, etc.) of the crop size, crop spacing, row spacing, etc. detected for each image data are calculated, and for image data for which the calculation results are significantly different from these values, re-processing is performed using the representative values of the crop size, crop spacing, and row spacing.
[0120] An example of the process is shown in Fig. 21. For example, the CPU 51 performs the processes from step S50 to step S141 in Fig. 6 for each image data. However, it is considered that step S150 is not executed at that point. After the processes from step S50 to step S141 in FIG. 6 have been completed for all image data, the verification process in FIG. 21 is carried out.
[0121] The CPU 51 calculates the representative value in step S400. In this case, the CPU 51 obtains the crop size SS and crop spacing values obtained for each image data, and calculates their representative values. Here, "all image data" means all image data adopted as the processing target. For example, it means all image data adopted as the processing target in the process of FIG. 6 as all or part of multiple image data obtained in one flight.
[0122] After determining the representative value, the CPU 51 identifies one piece of image data to be verified in step S401. In step S402, the CPU 51 performs a verification process on the identified image data. Specifically, it determines whether the value of the crop size SS calculated in the image data is within an allowable range set based on a representative value of the crop size SS. It also determines whether the value of the crop spacing calculated in the image data is within an allowable range set based on a representative value of the crop spacing. Of course, if the row spacing is required, the row spacing may also be determined in a similar manner.
[0123] If a value outside the allowable range is detected as a result of the determination, the CPU 51 proceeds from step S403 to step S404, and sets the image data as the object for reprocessing. In step S405, it is confirmed whether the above processing has been completed for all image data, and if not, the process returns to step S401 to verify the next image data. When the CPU 51 has completed the above verification for all image data, it ends the process of FIG.
[0124] After such a verification process, the CPU 51 performs the processes from step S50 to step S141 in Fig. 6 again for the image data to be reprocessed. At that time, the process is performed by applying representative values to the values of the crop size SS and the crop spacing that are determined to be within the allowable range.
[0125] For image data that was not reprocessed, the output information obtained in the initial processing (e.g. number of crops, number of crops per unit area, crop ratio, predicted yield, etc.) will remain valid output information. For image data that was reprocessed, the output information obtained in the reprocessing will remain valid output information. This prevents crop size, crop spacing, row spacing, and other factors, which are not expected to change significantly, from fluctuating significantly for some reason, resulting in inaccurate values in output information such as the number of crops, the number of crops per unit area, and the crop ratio.
[0126] <12. Ninth embodiment> The ninth embodiment is an example that corresponds to crops planted very close together, known as "doubles." In the first embodiment, the positions of the crops on the rows are detected and the number of crops is counted. However, as shown in FIG. 22, some crops may be located very close to each other. For example, the crops shown by the pair of crop locations CS shown as double 320.
[0127] If crops are located close to each other like this, they may compete with each other for nutrients and sunlight if they continue to grow, resulting in a decrease in the yield of each crop. To avoid this situation, the location of the two nearby crops can be displayed and measures can be taken.
[0128] Therefore, the CPU 51 performs the process of FIG. 23 in step S140 of FIG. In step S1421, the CPU 51 detects a set of crops whose arrangement interval is equal to or less than a predetermined threshold. That is, a set of crops in a double state is detected. The predetermined threshold here is an appropriate value for determining that the crops are double 320, such as a value equal to or less than 1 / 3 of the calculated crop interval. The predetermined threshold may be input by the user or may be set in advance.
[0129] In step S1422, CPU 51 generates information presenting the detected double 320. For example, an image like that shown in Figure 24 is generated to indicate the position of crops, but the double 320 part is generated in a different color from normal crops or with a different marking shape. By using such an image as output information, the manager of the farm field 300 can easily recognize crops in a double 320 state and take appropriate action.
[0130] However, there are cases where the double 320 condition is left as it is. In that case, it is necessary to revise the harvest yield prediction. Therefore, for example, the process of FIG. 25 is performed in step S140 of FIG. In step S1431, the CPU 51 acquires the number P of counted crops. In step S1432, the CPU 51 detects a set of crops whose arrangement interval is equal to or less than a predetermined threshold value. That is, a set of crops in a double state is detected. The predetermined threshold value is the same as in the case of FIG. Then, in step S1433, the CPU 51 acquires the number M of adjacent crops, that is, crops that are doubled 320. This is twice the number of crop pairs whose arrangement interval is equal to or less than the predetermined threshold (because there are two crops in one pair).
[0131] In step S1434, the CPU 51 calculates the predicted harvest yield. Generally, yield predictions can be calculated by multiplying (number of crops) by (average yield per crop). However, for crops that are close to each other, a constant smaller than 1 (such as 0.7) can be used as a correction coefficient to make the calculation. Specifically, if the number of crops is P, the number of crops that are close to each other is M, the average yield per crop is K, and the correction coefficient for the average yield of crops that are close to each other is μ, the yield H can be predicted using the following formula. H = K(PM) + μKM (3)
[0132] This type of processing makes it possible to calculate accurate predicted yields that take into account crops in a double state.
[0133] <13. Tenth embodiment> In the tenth embodiment, the user can confirm and operate the row determined in the process of the process shown in FIG. 6, for example, by using the functions of the UI control unit 6. An example of the process is shown in Fig. 26. This is the process of Fig. 6 with steps S500 to S503 added.
[0134] After the law has been determined in the processes up to step S130, the CPU 51 performs a process in step S500 to present the determined law to the user. For example, as shown in FIG. 27A, presentation image data is generated in which a row presentation line 350 indicating the determined row is superimposed on the image data, and this is displayed on the display unit 56 or an external device. Then, in step S501, the process waits for a user operation. That is, the CPU 51 performs UI processing so that the user can specify the row presentation line 350 on the image and perform editing operations such as deleting the line or modifying the line.
[0135] When the user performs an operation to edit a row, the CPU 51 changes the row in step S502. For example, when the user performs an operation to specify and delete a certain row presentation line 350, the CPU 51 performs a process to remove the row from the determined rows and presents it again. For example, when a user specifies and deletes the curved row presentation line 350 at the right end of the image in Fig. 27A, the CPU 51 determines that the portion corresponding to the row presentation line 350 is not row. Also, an image in which the row presentation line 350 has been deleted, as shown in Fig. 27B, is presented to the user on the display unit 56 or the like. When the user performs an OK operation, the CPU 51 maintains the state in which the line indicated by the row presentation line 350 at that time has been determined as the row, and proceeds from step S503 to step S141.
[0136] By carrying out such processing, the user can check the automatic detection of wax, and it is also possible to deal with cases where the accuracy of wax detection has decreased due to, for example, the condition of the field 300 or the type of crop.
[0137] <14. Summary and Variations> According to the above embodiment, the following effects can be obtained. The information processing device 1 of the embodiment is equipped with a row determination unit 4 that performs crop detection within image data captured of a farm field 300 and determines rows, which are lines along which crops are planted, within the image data based on the results of crop detection. This makes it possible to automatically determine the row from image data captured of the farm field 300. Therefore, there is no need for user input or data transfer to identify the row, making it possible to realize a system with extremely good usability, for example as a system for checking the condition of a farm field.
[0138] In the embodiment, an example has been described in which the row determination unit 4 detects row candidates based on the results of crop detection, calculates the likelihood of each row candidate being a row based on the crop spacing, and determines a row based on the calculation result of the likelihood (see Figure 6). When determining rows, first of all, areas where crops (plants) are present can be candidates for rows. By using the presence of crops as a criterion and finding many row (row of crops) candidates, it is possible to eliminate missing a row. Then, by calculating the likelihood from among the row candidates, accurate row detection can be achieved. It is particularly easy to find the likelihood by using the spacing between crops as a criterion. Of course, accuracy can be further improved by taking into account the fact that rows are lined up in parallel. And by accurately detecting wax in an image, it will be possible to distinguish crops from randomly growing vegetation, such as weeds.
[0139] As described in detail in the first embodiment, the law determination unit 4 calculates the crop size SS from the size of the crop-like area near the top of the law candidate, detects crop candidates on the law candidate from the calculated crop size SS, calculates the crop spacing on the image data from the spacing of the detected crop candidates, determines the likelihood of the law candidate from the determined crop spacing, and uses the determined likelihood to exclude law candidates that are determined to be erroneously detected. In other words, it excludes law candidates that are erroneously detected. Then, it performs a process to determine the law. When determining the likelihood of a row candidate based on the spacing between crops, it is also important that the spacing between crops is highly accurate. In the process of the embodiment, crop candidates on a row candidate are detected from the estimated crop size. In other words, by detecting the spacing between crops while taking the growing size into account and determining the likelihood of the row candidate based on that, it becomes possible to determine the row with higher accuracy.
[0140] As described in the fourth embodiment, the law determination unit 4 also determines the laws, including curves, within the image data. That is, the rows are not limited to straight lines, but curved lines or partial curved lines are also detected and determined as rows on the image data. The wax in the field 300 is not necessarily always straight. Straight wax may bend at the edge of the field 300. Also, depending on the shape of the field 300, the route taken during sowing, obstacles, etc., the wax may be partially curved, or may be formed in a spiral or concentric shape, for example. By determining the row including the curved state, it is possible to determine the row in accordance with the actual situation.
[0141] As described in the fourth embodiment, the law determination unit 4 can set law candidates including curves by dividing the image data, performing law detection for each divided image, and combining the lines of the law detection of the divided images (see FIG. 16). By dividing the image, it is possible to approximate the row parts with short straight lines. By connecting these short approximation lines, rows including curves can be detected with simple processing, reducing the processing burden on the system. For example, when approximating quadratic or cubic curves, the Hough transform and RANSAC require an enormous amount of processing time due to the increased dimensions of the parameters to be searched, but this method can detect the rows of curves while reducing the processing burden.
[0142] The information processing device 1 according to the embodiment includes an output information generating unit 5 that uses the wax information determined by the wax determining unit 4 to generate output information related to crop growth. The output information regarding the growth of the crops is information that can be used for managing the farm field 300, such as the number of crops, the number of crops per unit area, the predicted harvest amount, and the crop ratio. By using the information on the wax in the image, it is possible to distinguish between plants on the wax and weeds other than the wax, and therefore to accurately calculate, for example, the number of crops, the number of crops per unit area, the predicted yield, and the crop ratio. The output information generation unit 5 then calculates the condition of the field 300, such as the number of crops per unit area, predicted harvest yield, crop ratio, etc., making it possible to construct a system that provides information indicating the field condition that is useful to field staff.
[0143] In the first embodiment, an example has been given in which output information generating unit 5 counts the number of crops in the rows determined by row determining unit 4, and counts the total number of crops present in the image data. By determining the row and then counting the crops, plants that are outside the row, such as weeds, will not be mistakenly included in the count, improving the accuracy of the crop count. Then, if the total number of crops in the image data is known, the number of crops per unit area can be calculated by using the ratio of the area of the range captured in the image to the unit area (for example, 1 acre) as a coefficient. By accurately determining the rows and then counting the crops, the calculated number of crops per unit area will also be a highly accurate figure.
[0144] As described in the second embodiment, the output information generating unit 5 may count the number of missing portions of the crop by using the crop interval determined by the row determining unit 4. By determining the spacing between crops, it is possible to estimate missing areas where crops should not be present. By counting the missing spots, it is possible to detect and tally up the spots where crops should have germinated but have not, and this information can be used for farm field management.
[0145] As described in the second embodiment, the output information generation unit 5 may count the areas where the crop is missing using the crop spacing determined by the row determination unit 4, and may use the counting result of the areas where the crop is missing to calculate the crop ratio, which is the ratio between the ideal number of crops and the actual number of crops (see Figure 12). The ideal number of plants is the number of plants that would be counted if all the seeds were planted. By finding the missing areas, the ideal number of plants can be calculated, and the ratio to the actual number of plants can be calculated. The crop percentage is the percentage of the crop that has germinated, and can also be expressed as, for example, the germination percentage or germination rate. The number of crops counted on the rows depends on the area of the field (photographed area) captured in the image data, and may be difficult to use as information for farm management. This is because the photographed area varies depending on the altitude of the aircraft 200 and the lens condition (angle of view) of the imaging device 220, and therefore the totaled number of crops also varies. Therefore, it may be desirable to calculate the crop ratio independent of the photographed area. By calculating the crop ratio, it is possible to provide an index for evaluating the crop condition in a field that is independent of the photographed area. For example, this is suitable information when it is difficult to handle information on the number of crops.
[0146] As described in the third embodiment, the output information generating unit 5 may calculate the effective cultivation area based on the positions of the rows determined by the row determining unit 4 (see FIG. 15). The effective cultivation area is the area in which cultivation is actually carried out, in other words, the area of the field excluding the area in which cultivation is not carried out. By determining the rows, it is possible to calculate the effective planting area from the row spacing. In addition, by calculating the effective cultivation area, it becomes possible to calculate the harvest rate and crop ratio according to the actual range of the wax, and to provide more useful information for farm field management by using the effective area excluding roads, irrigation channels, etc., when they are shown in the image. For example, the number of crops per unit area, crop ratio, expected harvest amount, etc. can be calculated in accordance with the actual state of the farm field 300.
[0147] As described in the sixth embodiment, the output information generating unit 5 calculates the representative output information by using the output information obtained from each of the multiple image data (see FIG. 19). By generating representative output information as an average value, median value, center of gravity value, or the like of output information obtained from each of a plurality of image data, the reliability of the information can be further increased.
[0148] As described in the ninth embodiment, the output information generation unit 5 detects groups of crops whose placement interval values are equal to or less than a predetermined value, and generates output information presenting the corresponding groups of crops (see Figures 22, 23, and 24). In field management, crops that are growing very close together on a row, known as "doubles," can lead to poor growth and reduced yields. Therefore, the system presents crops that are close together as information for field management. This allows managers to easily deal with "doubles."
[0149] As described in the ninth embodiment, the output information generation unit 5 may detect the number of crops whose placement interval value is equal to or less than a predetermined value, and calculate a predicted harvest yield that reflects this number (see FIG. 25). This makes it possible to calculate predicted yields by taking into account the number of crops in the "double" state, thereby improving the accuracy of the information.
[0150] As described in the seventh embodiment, the information processing device 1 may check the presence of calculated data for image data of the same field, and if the calculated data exists, perform processing using the calculated data (see FIG. 20). For example, when there are multiple image data for a certain field 300 captured by a series of imaging operations or at approximately the same time, and calculated data such as crop spacing, growth size, row spacing, etc. calculated for one image data exists, the calculated data can also be used in the row determination process and output information calculation process for other image data. As shown in FIG. 20, by using the crop spacing calculated for one image data, the row determination unit 4 can omit the processes of steps S100 to S123 in FIG. 6 for other image data, for example, and therefore the efficiency of the row determination process can be improved. As another example, even if the crop size SS calculated for one image data is used, the law determination unit 4 can omit the processes of steps S100 to S121 in FIG. 6 for other image data, for example, and therefore the law determination process can be made more efficient. As yet another example, by using the calculation data of the row distance calculated for one image data, the output information generation unit 5 can omit processing, for example, step S145 in Figure 15 for other image data, thereby making the effective area calculation processing more efficient.
[0151] As described in the eighth embodiment, if the calculated data calculated from the image data is a value outside the allowable range based on the representative calculated data obtained for other image data of the same field 300, the value of the representative calculated data can be applied (see FIG. 21). If the crop size or crop spacing calculated for a single image data is outside the normally expected range, the calculated value is considered to have some kind of error, and by using representative calculated data, the row determination process and effective area calculation process can be optimized.
[0152] As described in the fifth embodiment, the map data of the farm field 300 can be used to determine the effective cultivation range in the image data (see Figs. 17 and 18). For example, map data of a farm field owned by a farmer is used to determine the validity range of image data. Since the shape and footpaths of the field 300 are usually fixed, map data can be effectively used if it exists. By inputting the map data, it is possible to determine whether the image data shows the cultivated area of the field 300 and to determine footpaths and the like within the image data, and the data can be used for row determination processing by the row determination unit 4 and for calculation of the effective cultivated area by the output information generation unit 5.
[0153] In the example described in the tenth embodiment, the law determination unit 4 controls the presentation of the determined law, and is provided with a UI control unit 6 that detects user operations, and the law determination unit 4 changes the determined law in response to the detected user operations (see Figures 26 and 27). By presenting the row 301 on the image data, the user can check the state of the row that the information processing device 1 automatically detects from the image. If there is any erroneous detection, the row can be corrected by performing the necessary operations. This allows the accurate row to be identified, and the accuracy of output information such as the number of crops can be improved.
[0154] In the embodiment, an example has been given in which the imaging device 220 is mounted on the flying object 200 that can be wirelessly controlled or automatically controlled. Examples of the flying object 200 that can be radio-controlled or automatically controlled include so-called drones, small radio-controlled fixed-wing airplanes, and small radio-controlled helicopters.
[0155] The program of the embodiment causes the information processing device 1 to perform a process of detecting crops within image data of a farm field 300, and a process of determining rows, which are lines along which crops are planted, within the image data based on the results of the crop detection. That is, it is a program that causes an information processing device to execute the processes described with reference to FIG. 5, FIG. 6, etc.
[0156] Such a program makes it easy to realize the information processing device 1 of the present embodiment. Such a program can be stored in advance in a recording medium built into a device such as a computer device, or in a ROM in a microcomputer having a CPU. Alternatively, the program can be temporarily or permanently stored (stored) in a removable recording medium such as a semiconductor memory, a memory card, an optical disk, a magneto-optical disk, or a magnetic disk. Such a removable recording medium can be provided as a so-called package software. Furthermore, such a program can be installed in a personal computer or the like from a removable recording medium, or can be downloaded from a download site via a network such as a LAN or the Internet.
[0157] It should be noted that the effects described in this specification are merely examples and are not limiting, and other effects may also be obtained.
[0158] The present technology can also be configured as follows. (1) A row determination unit is provided for detecting crops in image data obtained by capturing an image of a farm field, and determining rows, which are lines along which crops are planted, in the image data based on the results of the crop detection. Information processing device. (2) The row determination unit is detecting row candidates based on the results of the crop detection; Calculate the likelihood of each row candidate as a row based on the crop interval of the row candidate; Determine the law based on the result of the likelihood calculation. The information processing device according to (1) above. (3) The row determination unit is The size of the crop is calculated from the size of the crop-like area near the top of the row candidate. Detecting crop candidates on the row candidates from the calculated crop size; Calculating the intervals between the crops on the image data from the intervals between the detected crop candidates; The likelihood of a row candidate is determined from the determined crop spacing. Using the determined likelihood, the process of determining the law is performed after eliminating law candidates determined to be false positives. The information processing device according to (1) or (2) above. (4) The law determination unit determines a law including a curve in the image data. An information processing device according to any one of (1) to (3) above. (5) The law determination unit divides the image data, performs law detection for each divided image, and sets law candidates including curves by combining lines of the law detection for the divided images. An information processing device according to any one of (1) to (4) above. (6) and an output information generating unit that generates output information regarding crop growth using the wax information determined by the wax determining unit. An information processing device according to any one of (1) to (5) above. (7) The output information generation unit Counting the number of crops in the rows determined by the row determination unit, and counting the total number of crops present in the image data. The information processing device according to (6) above. (8) The output information generation unit The crop missing portions are counted using the crop interval determined by the row determination unit. The information processing device according to (6) or (7) above. (9) The output information generation unit Counting the number of missing portions of the crop using the crop interval determined by the row determination unit; Using the results of counting the number of crops that are missing, the crop ratio, which is the ratio of the ideal number of crops to the actual number of crops, is calculated. An information processing device according to any one of (6) to (8) above. (10) The output information generation unit Calculating the effective area for cultivation based on the row positions determined by the row determination unit An information processing device according to any one of (6) to (9) above. (11) The output information generation unit Representative output information is calculated using output information obtained from each of the plurality of image data. An information processing device according to any one of (6) to (10) above. (12) The output information generation unit A set of crops whose arrangement interval value is equal to or less than a predetermined value is detected, and output information presenting the corresponding set of crops is generated. An information processing device according to any one of (6) to (11) above. (13) The output information generation unit The number of crops whose placement interval is equal to or less than a predetermined value is detected, and the predicted yield is calculated based on the detected number. An information processing device according to any one of (6) to (12) above. (14) The existence of calculated data for the image data of the same field is confirmed, and if the calculated data exists, the calculated data is used for processing. An information processing device according to any one of (1) to (13) above. (15) If the calculated data from the image data is outside the allowable range based on representative calculated data obtained from other image data of the same field, the value of the representative calculated data is applied. An information processing device according to any one of (1) to (14) above. (16) Using map data of the field, the effective range of cultivation in the image data is determined. An information processing device according to any one of (1) to (15) above. (17) a user interface control unit that controls the presentation of the law determined by the law determination unit and detects a user operation; The law determination unit changes the law determination in response to a detected user operation. An information processing device according to any one of (1) to (16) above. (18) Crop detection is performed within the image data of the field. determining rows in the image data in which crops are planted based on the results of the crop detection; Information processing methods. (19) performing crop detection within image data of a farm field; determining rows in the image data, the rows being lines along which crops are planted, based on the results of the crop detection; A program for causing an information processing device to execute the above. [Explanation of symbols]
[0159] 1. Information processing device 2. Image acquisition section 4 Law determination section 5. Output information generation unit 6 UI control section 7 Recording control section 51 CPU 56 Display section 57 Input section 59 Memory section 60 Communications Department 200 Flying Objects 220 Imaging device 300 fields 301 Row 310 Crops 315 Weeds 350 Row indication line
Claims
1. a row determination unit that performs crop detection within image data of an image of a farm field and determines rows, which are lines along which crops have been planted, within the image data based on a result of the crop detection; The row determination unit is The size of the crop is calculated from the size of the crop-like area near the top of the row candidate. Detecting crop candidates on the row candidate based on the calculated crop size; Calculating the intervals between the crops on the image data from the intervals between the detected crop candidates; The likelihood of a row candidate is determined from the determined crop spacing. Using the determined likelihood, the process of determining the law is performed after eliminating law candidates determined to be false positives. Information processing device.
2. The row determination unit is Detect row candidates based on the results of the crop detection The information processing device according to claim 1 .
3. The law determination unit determines a law including a curve in the image data.
3. The information processing device according to claim 1 or 2.
4. The law determination unit divides the image data, performs law detection for each divided image, and sets law candidates including curves by combining lines of the law detection for the divided images.
4. The information processing device according to claim 1.
5. and an output information generating unit that generates output information regarding crop growth using the wax information determined by the wax determining unit.
5. The information processing device according to claim 1.
6. The output information generation unit Counting the number of crops in the rows determined by the row determination unit, and counting the total number of crops present in the image data. The information processing device according to claim 5 .
7. A row determination unit that performs crop detection within image data of an image of a farm field, and determines rows, which are lines along which crops are planted, within the image data based on a result of the crop detection; an output information generating unit that generates output information regarding crop growth using the wax information determined by the wax determining unit; The output information generation unit The crop missing portions are counted using the crop interval determined by the row determination unit. Information processing device.
8. A row determination unit that performs crop detection within image data of an image of a farm field, and determines rows, which are lines along which crops are planted, within the image data based on a result of the crop detection; an output information generating unit that generates output information regarding crop growth using the wax information determined by the wax determining unit; The output information generation unit Counting the number of missing portions of the crop using the crop interval determined by the row determination unit; Using the results of counting the number of crops that are missing, the crop ratio, which is the ratio of the ideal number of crops to the actual number of crops, is calculated. Information processing device.
9. A row determination unit that performs crop detection within image data of an image of a farm field, and determines rows, which are lines along which crops are planted, within the image data based on a result of the crop detection; an output information generating unit that generates output information regarding crop growth using the wax information determined by the wax determining unit; The output information generation unit A set of crops whose arrangement interval value is equal to or less than a predetermined value is detected, and output information presenting the corresponding set of crops is generated. Information processing device.
10. A row determination unit that performs crop detection within image data of an image of a farm field, and determines rows, which are lines along which crops are planted, within the image data based on a result of the crop detection; an output information generating unit that generates output information regarding crop growth using the wax information determined by the wax determining unit; The output information generation unit The number of crops whose placement interval is equal to or less than a predetermined value is detected, and the predicted yield is calculated based on the detected number. Information processing device.
11. The output information generation unit Calculating the effective area for cultivation based on the row positions determined by the row determination unit 11. The information processing device according to claim 5.
12. The output information generation unit Representative output information is calculated using output information obtained from each of the plurality of image data.
11. The information processing device according to claim 5.
13. The existence of calculated data for the image data of the same field is confirmed, and if the calculated data exists, the calculated data is used for processing. The information processing device according to claim 1 .
14. A method for detecting a crop in image data of a farm field, and determining rows, which are lines along which crops are planted, in the image data based on a result of the crop detection, If the calculated data from the image data is outside the allowable range based on representative calculated data obtained from other image data of the same field, the value of the representative calculated data is applied. Information processing device.
15. Using map data of the field, the effective range of cultivation in the image data is determined.
15. The information processing device according to claim 1.
16. a user interface control unit that controls the presentation of the law determined by the law determination unit and detects a user operation; The law determination unit changes the law determination in response to a detected user operation.
16. The information processing device according to claim 1.
17. A row determination process includes performing crop detection within image data of an image of a farm field, and determining a row, which is a line in which crops are planted, within the image data based on a result of the crop detection, The size of the crop is calculated from the size of the crop-like area near the top of the row candidate. Detecting crop candidates on the row candidate based on the calculated crop size; Calculating the intervals between the crops on the image data from the intervals between the detected crop candidates; The likelihood of a row candidate is determined from the determined crop spacing. Using the determined likelihood, the process of determining the law is performed after eliminating law candidates determined to be false positives. Information processing methods.
18. A row determination process includes performing crop detection within image data of an image of a farm field, and determining a row, which is a line in which crops are planted, within the image data based on a result of the crop detection, The size of the crop is calculated from the size of the crop-like area near the top of the row candidate. Detecting crop candidates on the row candidate based on the calculated crop size; Calculating the intervals between the crops on the image data from the intervals between the detected crop candidates; The likelihood of a row candidate is determined from the determined crop spacing. The process of determining the law by using the determined probability and excluding the law candidates determined to be false positives is performed. A program for causing an information processing device to execute the above.
Citation Information
Patent Citations
Kaishitsuechirenkei kyojugotaino ratetsukusuno seizohoho
JP1976062890A
Method for detecting insert direction of endoscope
JP1990182231A
Crop row detection apparatus of farm working machine
JP1991272607A
Image processor for working vehicle
JP2007043919A
Crop image processing program, crop image processing method and crop image processing system
JP2012198688A
