Image diagnostic device, image diagnostic method, and program
The image diagnostic apparatus and method enhance crop management by accurately estimating multiple growth indicators through ear information extraction and noise processing, addressing the limitations of existing methods focused solely on color indicators.
Patent Information
- Application Number
- JP2023027901
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-06
AI Technical Summary
Existing image diagnostic methods for agricultural crops, such as rice cultivation, primarily focus on color-related indicators and fail to capture various growth indicators.
An image diagnostic apparatus and method that utilizes information from agricultural crop images to estimate ear information, including a learning model for panicle region extraction and noise processing, enabling the acquisition of multiple growth indicators like panicle area, lodging degree, and leaf color.
Enables the accurate acquisition of various growth indicators, including panicle area, lodging degree, and leaf color, facilitating better crop management and yield prediction.
Smart Images

Figure 2024121046000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an image diagnostic apparatus, an image diagnostic method, and an image diagnostic system for diagnosing the growth condition of agricultural crops using images of the agricultural crops. [Background technology]
[0002] In agriculture, particularly in rice cultivation, methods have been proposed for diagnosing growth conditions using various growth indices such as leaf color, plant height, and number of stalks. Patent Document 1 discloses a configuration for recognizing a target area from an image of rice and acquiring color indices such as ripeness color using information from the target area. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2022-112116 Summary of the Invention [Problem to be solved by the invention]
[0004] However, the configuration of Patent Document 1 only acquires color-related indices, and is unable to acquire various growth indices.
[0005] An object of the present invention is to provide an image diagnostic apparatus, an image diagnostic method, and a program capable of acquiring various growth indices. [Means for solving the problem]
[0006] An image diagnostic device according to one aspect of the present invention is characterized by having an estimation unit that acquires information about the ears of the agricultural crop using information about an image obtained by photographing the agricultural crop, and an acquisition unit that acquires information about the agricultural crop using information about the image and information about the ears. Effect of the Invention
[0007] According to the present invention, it is possible to provide an image diagnostic apparatus, an image diagnostic method, and a program capable of acquiring various growth indices. [Brief description of the drawings]
[0008] [Figure 1] 1 is a configuration diagram of an image diagnostic system including an image diagnostic apparatus according to an embodiment of the present invention. [Diagram 2] 1 is a flowchart showing an image diagnosis method according to a first embodiment. [Diagram 3] 1A and 1B are diagrams showing an example of a photographed image and a vegetation cover area image in the first embodiment. [Figure 4] FIG. 2 is a conceptual diagram of a learning model used in the process of extracting a spike region in the first embodiment. [Diagram 5] FIG. 1 is a diagram showing a learning method of a learning model used in the process of extracting a spike region in Example 1. [Figure 6] FIG. 4 is an explanatory diagram of a noise processing method focusing on the green color of leaves in the first embodiment. [Figure 7] 1 is a diagram showing the relationship between a vegetation cover region image, a panicle region image, and a leaf region image in Example 1. FIG. [Figure 8] 1 is a diagram for explaining the relationship between the area of ears on a captured image and the area of ears in real space in Example 1. FIG. [Figure 9] 11A to 11C are diagrams illustrating a method for calculating the area of the ear in real space using distance information in the first embodiment. [Figure 10] FIG. 2 is a diagram showing an example of a spike region color image in the first embodiment. [Figure 11] 13 is a diagram showing changes over time in the R / G histogram in the spike region color image of Example 1. FIG. [Figure 12] FIG. 1 is a diagram illustrating the relationship between the degree of ear lodging and the distance histogram of the ear region in Example 1. [Figure 13] 10 is a flowchart showing an image diagnostic method according to a second embodiment. [Figure 14] FIG. 13 is a diagram showing an example of an image captured at the heading stage and an image of the ear region in Example 2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In each drawing, the same reference numerals are given to the same members, and duplicated explanations will be omitted.
[0010] 1(a) is a configuration diagram of an image diagnostic system including an image diagnostic apparatus 100 according to an embodiment of the present invention. The image diagnostic system includes the image diagnostic apparatus 100, the Internet 200, and an external storage device 300.
[0011] The image diagnostic apparatus 100 includes a system bus 101, a CPU 102, a ROM 103, a RAM 104, a HDD 105, a GPU 106, a NIC 107, an input unit 108, and a display unit 109.
[0012] The input unit 108 acquires an image (photographed image) of a growing crop such as rice or wheat captured by an imaging means such as a camera (not shown). In this embodiment, an RGB image is used as the photographed image. When detecting leaves or ears immediately after emergence, a monochrome image of a chloroplast absorption wavelength band such as a wavelength of 700 nm may be used. However, since detection accuracy is improved when color information is used, it is preferable to use an image including wavelength information of two or more bands. The ROM 103 stores the photographed image. The photographed image may be stored in the HDD 105 or the external storage device 300. The RAM 104 reads the photographed image stored in the ROM 103 or the HDD 105. When the photographed image is stored in the external storage device 300, the RAM 104 reads the photographed image via the NIC 107.
[0013] The CPU 102 executes the flow of FIG. 2, which will be described later. As shown in FIG. 1(b), the CPU 102 includes an estimation unit 102a and an acquisition unit 102b. The estimation unit 102a acquires information about the ears of the crop using information about an image obtained by photographing the crop. The acquisition unit 102b acquires information about the crop (a growth index of the crop) using information about the image and information about the ears. In other words, in this embodiment, the estimation unit 102a and the acquisition unit 102b function when at least one or more processors execute a program stored in at least one or more memories. Specifically, at least one or more processors execute a process of estimating information about the ears in an image of the crop and a process of acquiring information about the crop. Note that machine learning and CNN processes, which will be described later, may be executed by the CPU 102, but in this embodiment, in order to shorten the calculation time, they are executed by the GPU 106 instead of the CPU 102.
[0014] The display unit 109 displays the acquired indexes. The display unit 109 may display not only the indexes but also information such as images used when the indexes were acquired (photographed images or images used during the calculation of the indexes), the accumulated temperature from the heading date or transplantation date, and data from the previous year.
[0015] Hereinafter, a method for accurately diagnosing a wide variety of growth indices related to panicles and leaves from captured images of rice using the image diagnostic device 100 will be described. The subject of the present invention is not limited to rice. Examples of plants other than rice include wheat. In the case of wheat, as in the case of rice, importance is attached to growth indices related to panicles and leaves, so the present invention can be applied. EXAMPLES
[0016] In this embodiment, a method of image diagnosis will be described in which growth indices such as grain ripeness color, ear area, ear length, ear number, ear lodging degree, and leaf color are diagnosed from images of rice plants photographed in a field after ear emergence.
[0017] FIG. 2 is a flow chart showing an image diagnosis method executed by the CPU 102 and the GPU 106 of this embodiment.
[0018] In step S10, the CPU 102 acquires, via the input unit 108, an image of the rice plant photographed (photographed image) and an image relating to the distance from the imaging means to the rice plant (distance image).
[0019] In step S20, CPU 102 extracts the area where rice plants exist (vegetation cover area), which is information related to ears, using the photographed image acquired in step S10. Specifically, CPU 102 extracts the vegetation cover area based on color information of the photographed image. FIG. 3 is a diagram showing a photographed image 301 and an example thereof. CPU 102 may use RGBVI when extracting the vegetation cover area. RGBVI is expressed by the following formula (1) and is a vegetation index that focuses on the green color of leaves.
[0020]
number
[0021] When a general digital camera is used to capture the captured image, the value of each pixel in the two-dimensional image can be used as is for each value in formula (1). Instead of the value of each pixel, the average value of multiple pixels within a predetermined range may be used. CPU 102 performs threshold processing using RGBVI to extract the area where leaves exist (leaf area) and generate vegetation cover area image 302. The vegetation cover area mask is a binary image in which vegetation cover areas are white (1) and non-vegetation cover areas are black (0).
[0022] When using a camera capable of capturing infrared light to capture an image, other indices such as NDVI may be used when performing threshold processing. In addition, multiple indices and thresholds may be combined, such as removing pixel values with small values to remove shadow areas (shadow areas) from vegetation coverage. By removing the shadow areas, the effect of color errors caused by the difference in the spectrum of light irradiated on objects (leaves) in the shadow areas from the areas directly irradiated by sunlight is reduced in the process of estimating leaf color, which will be described later.
[0023] In addition, in order to reduce errors due to noise in the captured image that occurs due to the performance of the imaging means, noise processing such as morphological processing may be performed on the vegetation cover area image 302 generated by performing threshold processing.
[0024] Furthermore, the captured image 301 shown in FIG. 3 is a monochrome image, but in actual image diagnosis, an RGB image is used.
[0025] In step S30, the GPU 106 extracts an area (ear region) in which ears exist, which is information about ears, using the captured image acquired in step S10. Specifically, the GPU 106 extracts the ear region using a learning model generated by machine learning.
[0026] Here, the learning model used in the processing of this step is a learning model 402 generated by CNN in which input data 401 is a photographed image and output data 403 is a spike region image, as shown in FIG. 4, to solve a regression problem.
[0027] When learning using CNN, as shown in Fig. 5, learning is performed by using input data 511 of learning sample 510 as a photographed image of rice, and teaching data 512 as an image in which pixels with ears are labeled with different values, such as white (1) for pixels with ears and black (0) for pixels without ears. In Fig. 5, first, an error corresponding to the difference between output data 503 estimated using a learning model 502 generated by CNN according to the input data 511 and the teaching data is calculated using a loss function 504. Next, the connection weighting coefficients between the nodes of the CNN are updated, for example, using the backpropagation method, so as to reduce the obtained error.
[0028] Also, learning may be performed using an image in which the shadowed parts are removed from pixels labeled as the area where the ears are present as a learning sample, and the obtained learning model may be used to obtain an ear area image in which the shadowed parts are removed. By removing the shadowed parts, the effect of color errors resulting from the difference in the spectrum of light irradiated to the area directly irradiated by sunlight and the object (leaf) in the shaded area is reduced in the process of estimating leaf color, which will be described later.
[0029] Moreover, it is preferable to perform noise processing on the ear region image according to the performance of the learning model 402. In this embodiment, since the subject of the image is rice, most of the parts in the output data 403 that are erroneously detected as ears are actually "leaves." Therefore, noise processing can be performed by focusing on the fact that most of the parts that are erroneously detected are "leaves."
[0030] FIG. 6 is an explanatory diagram of a noise processing method focusing on the green of leaves. First, the accuracy rate of the learning model 402 (pixels that are actually correct as spikes / pixels predicted to be spikes) is measured in advance using multiple samples different from the teacher data used for learning. When the accuracy rate is X%, it can be considered that (100-X)% of the pixels are "leaves but detected as spikes". Next, a spike region image 601 is generated by performing mask processing on the captured image using the output data 303, and a histogram 602 focusing on the green of the spike region image 601 is generated. Next, a spike region image 603 after noise processing is generated by removing (100-X)% of the pixels having a large value in the G direction of the histogram 602. Next, a histogram 604 focusing on the green of the spike region image 603 is generated. Then, a spike region image 605 is generated by performing threshold processing or the like on the spike region image 603. By performing the noise processing of FIG. 6, a more accurate spike region image can be generated. Note that the histogram may be one that focuses on another vegetation index such as RGBVI, instead of the G value. In addition, in this embodiment, a noise processing method that focuses on the green color of leaves has been described, but a noise processing method according to the performance of another learning model 402 may be performed.
[0031] In addition, in order to reduce errors due to noise in the captured image caused by the performance of the imaging means, noise processing such as morphological processing may be performed on the spike region image in addition to the noise processing based on the performance of the learning model. The order of the two noise processing processes may be reversed. When noise processing such as morphological processing is performed first, it is advisable to measure the accuracy of the learning model 402 for the image after morphological processing.
[0032] In step S40, CPU 102 extracts an area where leaves exist (leaf area) using the vegetation cover area extracted in step S20 and the spike area extracted in step S30. Specifically, CPU 102 calculates the leaf area by subtracting the spike area image generated in step S30 from the vegetation cover area image generated in step S20.
[0033] 7 is a diagram showing the relationship between a vegetation cover region image 701, an ear region image 702, and a leaf region image 703. When the vegetation cover region image 701 and the ear region image 702 are binary images in which pixels in which leaves or ears are present are colored white (1) and pixels in which no leaves or ears are present are colored black (0), the leaf region image 703 can be calculated by directly subtracting the ear region image 702 from the vegetation cover region image 701. In addition, in order to reduce errors due to noise in the captured image generated by the performance of the imaging means, noise processing such as morphological processing may be performed on the leaf region image 703.
[0034] In step S50, the CPU 102 estimates the amount of spikes in the captured image using the spike area extracted in step S30 and the distance image. Although spikes grow upward, the imaging means captures an image from one direction, so there is a discrepancy between the area of the spikes in the captured image and the area of the spikes in real space.
[0035] FIG. 8 is a diagram for explaining the relationship between the area of the spike on the captured image and the area of the spike in real space. In an image 801 obtained by combining a spike region image and a captured image, spike 802 has a height of 30 cm because the tip is 120 cm and the base is 90 cm in the distance image. If spike 802 is approximated as a triangle, the base 805 can be considered to be the area of spike 802 on the image, the height 804 the height of spike 802 (30 cm), and the oblique side 803 the area of spike 802 in real space. For the area of spike 802 on the captured image, it is preferable to use a value that takes into account the area per pixel from the distance from the imaging means to spike 802, the angle of view, etc. For the distance from the imaging means to spike 802, the median or average value of the height information of spike 802 may be used, or the median or average value of the height information of the entire image or spike region may be used.
[0036] The CPU 102 generates an ear region weighted image having a value (corresponding to the amount of ears) weighted by the height information of the ears 802 for each pixel, and estimates the amount of ears in the ear region weighted image as the amount of ears in the captured image. It is possible to predict the yield of the field from the estimated amount of ears.
[0037] In addition, when the highest point is located other than the end of the spike, such as spike 807, the highest point can be considered as the vertex, and the bases 808, 810 of the two triangles can be considered as the area of spike 807 in the captured image, and the hypotenuses 809, 811 of the two triangles can be considered as the area of spike 807 in real space.
[0038] Also, for example, as shown in FIG. 9, a distance histogram 902 within the spike region of spike 901 is calculated, and the sum of the hypotenuses of multiple triangles 903 taking frequency distribution into consideration corresponds to the area of spike 901 in real space.
[0039] Moreover, the area regarded as one spike may be the spike area of the entire photographed image, or may be a part of the photographed image.
[0040] In step S60, the CPU 102 acquires information about the color of the ear in the photographed image using the ear region extracted in step S30 and the photographed image. In this embodiment, the CPU 102 acquires information about ripeness color as information about the color of the ear. Specifically, the CPU 102 generates an ear region color image by performing mask processing on the photographed image using the ear region image 702. FIG. 10 is a diagram showing an example of the ear region color image. Next, the CPU 102 generates a histogram of color information at pixels in which the ear is present in the ear region color image. In this embodiment, the histogram of color information is a histogram of color ratios, specifically, an R / G histogram (a histogram of green and red). Then, the CPU 102 acquires information about the color of the ear using at least one of the peak value, full width at half maximum (width), average value, and median value of the histogram, as well as the amount of movement, speed of movement, and shape change of the histogram over time. CPU 102 may also obtain the optimum harvest time for ears using at least one of the amount of movement, the speed of movement, and the shape change of the histogram over time. CPU 102 may also obtain information on rice quality using information on kurtosis such as the peak value and full width at half maximum of the histogram. CPU 102 may also obtain at least one of the amount of useful unhulled rice, the ratio of useful unhulled rice, and the useful yield using the histogram.
[0041] FIG. 11 is a diagram showing the change over time of the histogram of R / G in the ear region color image. Histograms 1101, 1102, and 1103 are generated using the ear region color images at the optimum harvest time, one week before the optimum harvest time, and two weeks before the optimum harvest time, respectively. In FIG. 11, the histogram moves so that R / G becomes larger as time passes, clearly reflecting the process of the ear coloring. The CPU 102 acquires information about the ripeness color by using the median value of each histogram. The acquired information about the ripeness color may be presented to the user. For example, the median value of the histogram of the optimum harvest time may be used as a threshold value to present the optimum harvest time. Generally, the optimum harvest time for rice is considered to be the time when about 85 to 90% of all rice grains are yellow and ripe, so the time when the ratio of rice grains exceeding the threshold value in the histogram is 85 to 90% may be presented to the user as the optimum harvest time. In addition, the optimum harvest time may be predicted from the amount of movement or speed of the histogram over time and presented to the user.
[0042] In this embodiment, the median value of the histogram is used to estimate the ripeness color, but other values such as the average value or the peak value of the histogram may be used. Also, other indices related to the ripeness color, such as the uniformity of the yellow ripeness, may be obtained from the full width at half maximum of the histogram. Since the width of the histogram is related to the uniformity of the yellow ripeness of the ears, i.e., the uniformity of the rice quality, a threshold value may be set for the width such as the full width at half maximum of the histogram to predict the grade, which is the quality of the rice.
[0043] In addition, not all harvested rice grains are of sufficient quality; some grains become too yellow and crack (cracked), and some grains are green before they become yellow, so the harvested amount differs from the usable yield. For example, the true yield can be predicted by setting upper and lower thresholds for the color histogram of the grains and defining the area within that range as "usable grains." The usable grain ratio can also be calculated by calculating the ratio of the entire histogram to the usable grains, and displayed to the user.
[0044] In addition, by focusing on the color of the ears, it is possible to present and warn the user of abnormalities such as diseases that have appeared in the rice. For example, ears of rice infected with "rice blast," a disease known as a typical disease of rice, turn white, so the variance of the RGB values of the ears can be used as a judgment criterion. The smaller the variance value, the closer it can be determined to be achromatic (white), so there is a high possibility that the ears are infected with "rice blast."
[0045] In addition, it is preferable to use an image after noise processing that takes into account the chromatic aberration of the camera as the ear region image. By performing a shrinking process as noise processing that takes into account the chromatic aberration of the camera, it is possible to exclude pixels that are not suitable for estimating the ripeness color because they have turned red or blue due to the influence of chromatic aberration from the determination target.
[0046] In step S70, CPU 102 estimates the degree of lodging of the ear in the captured image using the ear region extracted in step S30 and the distance image. Specifically, CPU 102 extracts the ear region by performing mask processing on the distance image using the ear region image 702, calculates a distance histogram from the distance image of the extracted ear region, and calculates the variance value of the distance histogram. FIG. 12 is a diagram explaining the relationship between the degree of lodging of the ear and the distance histogram of the ear region. The distance histogram 1102 of the ear region of a typical ear 1201 has a gentle shape. On the other hand, the distance histogram 1204 of the ear region of a tilted ear 1203 that is at high risk of lodging has a steep shape as the ear falls straight to the side. The steeper the shape of the distance histogram, the lower the variance value of the distance histogram. The lodging speed may also be calculated from the variance value and the time change of the histogram and presented to the user.
[0047] In this embodiment, the degree of lodging is estimated using the variance value of the histogram, but it may also be estimated using other values that indicate the shape of the histogram, such as the full width at half maximum, kurtosis, and peak value of the histogram.
[0048] Furthermore, the CPU 102 may calculate the variance value within a certain range of the spike region for each pixel to calculate the spike region distance variance image and present it to the user. The spike region distance variance image may be calculated at a certain sampling interval rather than for each pixel, and a reduced image may be presented, or an upsampled image may be presented by performing pixel interpolation such as bilinear.
[0049] In step S80, CPU 102 outputs the index calculated in each step. CPU 102 may also output or display the image used to calculate each index. CPU 102 may also perform display to improve user visibility, such as presenting the ripe color distribution of the ears by combining the R / G value with the ear region image and displaying it, or converting the amount of ears into the amount of unhusks from the calculated ear area and the area per grain and presenting it.
[0050] Also, each process and calculation may be omitted or changed taking into consideration the input data, calculation time, etc. For example, if a distance image is not input, the process of step S70 using the distance image may be omitted. Also, the process of step S50 may be executed without taking the distance image into consideration. Furthermore, in the process of step S50, the number of panicle region pixels in the panicle region image may be treated as the rice grain amount as it is.
[0051] As described above, according to the configuration of this embodiment, it is possible to obtain various growth indices without using a neural network. EXAMPLES
[0052] In this example, a method of image diagnosis will be described for diagnosing growth indices such as ear area, ear length, ear number, ear lodging degree, and leaf color from images of rice plants at the heading stage in a field. The heading stage refers to the period when 1 to 50% of the stems have emerged.
[0053] FIG. 13 is a flowchart showing an image diagnosis method executed by the CPU 102 of this embodiment.
[0054] The processes from step S10 to step S70 are similar to those described with reference to FIG. 2, and therefore the description thereof will be omitted.
[0055] In step S90, CPU 102 estimates the color of the leaves in the captured image using the leaf area extracted in step S40 and the captured image. Specifically, CPU 102 extracts the leaf area by performing mask processing on the captured image using leaf area image 703, and estimates the leaf color from the captured image of the extracted leaf area. This makes it possible to estimate the leaf color only for the pure leaf area excluding the ear area.
[0056] In addition, in estimating the leaf color, each pixel value of the leaf region of the captured image may be used, or a representative value of several pixels may be used. In addition, when converting the leaf color into a leaf color index, an existing conversion method may be used. In addition, when converting each pixel value into a leaf color index such as a SPAD value or a leaf color value, a process similar to the process of step S50 may be performed on the leaf region to generate a leaf region weighted image, and a representative value of the leaf color index may be determined according to each pixel of the leaf region weighted image.
[0057] When the average value is used as the representative value, the representative value can be expressed by the following equation (2).
[0058]
number
[0059] Here, α i is the pixel value of the leaf area weighted image. i is the leaf color index for each pixel value. However, the representative value used is not limited to the average value, and other values such as the median value may be used.
[0060] In step S100, CPU 102 estimates the amount of ripe color of the ear (in this embodiment, the amount of ripe rice grains) using the amount of ears calculated in step S50 and the color of the ears calculated in step S70. In this embodiment, CPU 102 weights the pixel values of the ear region color image according to each pixel value of the ear region weighted image before calculating the amount of ripe rice grains, then generates an R / G histogram and obtains the amount of ripe rice grains using the generated R / G histogram. This makes it possible to generate a histogram that takes into account the area in real space that reflects the inclination of the ears, and to obtain a more accurate amount of ripe rice grains. CPU 102 may also obtain the amount of yellow ripe rice grains, true yield, effective rice grain ratio, and optimum harvest time from the weighted R / G histogram and present them to the user.
[0061] In step S110, the CPU 102 calculates the number of ears from the ear region image. FIG. 14 is a diagram showing an example of a photographed image 1401 at the heading stage and an ear region image 1402. At the heading stage, each ear is small, so as in the ear region image 1402, each ear is separated into different region blocks. The CPU 102 calculates the number of ears by calculating the number of region blocks. It is preferable that the CPU 102 does not consider small region blocks as ears by performing threshold processing according to the size of the region block. Since the "heading stage" is generally considered to be "the time when the number of stalks with ears appears is 50% of the total," the ratio with the number of stalks obtained separately may be obtained, and "heading" diagnosis may be performed when the change in the ratio exceeds a threshold. In addition, the day when the transition of the ratio reaches a specific threshold when extended with an approximation curve may be diagnosed as the predicted heading date.
[0062] Furthermore, the CPU 102 may predict the yield of the field from the number of panicles.
[0063] In addition, the percentage of stems that have produced ears (productive tillers) may be calculated from the final number of ears and the separately obtained number of stems, and presented to the user.
[0064] The processing contents of the flow in FIG. 13 may be changed according to the number of ears. For example, they may be changed based on the "ear emergence" judgment. For example, because ears before "ear emergence" are "green", processing related to the ripe color of the ears such as step S60 and step S100 may be omitted. "Ear emergence" judgment is not limited to 50% of the number of ears relative to the number of stalks, and other indices such as the area of the ear region or the average size of the region may be used. Furthermore, the period for judging ear emergence and the period for the ear color may be switched using the area of the ear region or the number of emerged ears as a threshold value.
[0065] The process of step S120 is similar to the process of step S80 in FIG. 2, and therefore a description thereof will be omitted.
[0066] Furthermore, each process and calculation may be omitted or changed taking into consideration the input data, calculation time, etc. For example, if a distance image is not input, the processes of steps S70 and S100, which use the distance image, may be omitted. Furthermore, the processes of steps S50 and S90 may be performed without taking the distance image into consideration. Furthermore, in the process of step S50, the number of panicle region pixels in the panicle region image may be treated as the rice grain amount as it is. Furthermore, in the process of step S90, the leaf color index may be calculated without weighting using the leaf region weighting image.
[0067] As described above, according to the configuration of this embodiment, various growth indices can be obtained. [Other Examples] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-mentioned embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0068] The disclosure of this embodiment includes the following configurations and methods.
[0069] (Configuration 1) an estimation unit that acquires information about the ears of the agricultural crop using information about an image obtained by photographing the agricultural crop; An image diagnostic device comprising an acquisition unit that acquires information about the crop using information about the image and information about the ears. (Configuration 2) The estimation unit estimates pixels in the image where ears are present, 2. The image diagnostic apparatus according to claim 1, wherein the acquisition unit acquires information regarding the color of the spike at the pixel. (Configuration 3) 3. The image diagnostic apparatus according to claim 2, wherein the acquisition unit acquires information regarding the color of the spikelet by using a histogram of color information in the pixels. (Configuration 4) 4. The image diagnostic apparatus according to configuration 3, wherein the histogram of color information is a histogram regarding color ratios. (Configuration 5) 5. The image diagnostic apparatus according to configuration 4, wherein the histogram relating to color ratio is a histogram relating to the ratio of green to red. (Configuration 6) The imaging diagnostic device according to any one of configurations 3 to 5, wherein the acquisition unit acquires information regarding the color of the ears using at least one of the peak value, width, average value, and median value of the histogram, as well as the amount of movement, speed of movement, and shape change of the histogram over time. (Configuration 7) The imaging diagnostic device according to any one of configurations 3 to 6, characterized in that the acquisition unit acquires information regarding the optimum harvest time of the ears using at least one of the amount of movement, the speed of movement, and the change in shape of the histogram over time. (Configuration 8) 8. The image diagnostic device according to any one of configurations 3 to 7, wherein the acquisition unit acquires information about rice quality by using a value related to kurtosis of the histogram. (Configuration 9) The imaging diagnostic device according to any one of configurations 3 to 8, wherein the acquisition unit acquires at least one of the effective rice grain amount, the effective rice grain ratio, and the effective yield using values related to the histogram. (Configuration 10) 10. The image diagnostic device according to any one of configurations 1 to 9, wherein the estimation unit performs noise processing on the information about the spikes, taking into account camera aberration. (Configuration 11) 11. The image diagnostic apparatus according to any one of configurations 1 to 10, wherein the estimation unit performs processing to remove a shadow region from the image. (Configuration 12) The estimation unit converts an area of the pixel where the spike is located into an area in real space using the pixel and information about a distance from the imaging means to the spike; 12. The image diagnostic device according to any one of configurations 2 to 11, wherein the acquisition unit acquires information regarding the yellow ripeness of ears of rice by using the area in the real space. (Configuration 13) 13. The image diagnostic device according to any one of configurations 2 to 12, wherein the acquisition unit acquires information regarding abnormalities in the spike using a variance value of color information in the pixels. (Configuration 14) The estimation unit estimates pixels in the image where ears are present, 14. The image diagnostic apparatus according to any one of configurations 1 to 13, wherein the acquisition unit acquires information regarding the amount of spikelets using the number of pixels. (Configuration 15) 15. The imaging diagnostic apparatus according to claim 14, wherein the acquisition unit presents information regarding the amount of the spikelets to a user. (Configuration 16) 16. The imaging diagnostic apparatus according to claim 14, wherein the acquisition unit acquires information regarding the amount of spikelets using information regarding the distance from the imaging means to the spikelets. (Configuration 17) The estimation unit converts an area of the pixel where the spike is located into an area in real space using the pixel and information about a distance from the imaging means to the spike; 17. The image diagnostic apparatus according to any one of configurations 14 to 16, wherein the acquisition unit acquires information regarding the amount of the spikelets using an area in the real space. (Configuration 18) 18. The image diagnostic apparatus according to any one of configurations 14 to 17, wherein the acquisition unit acquires a yield using the number of pixels. (Configuration 19) 19. The image diagnostic device according to any one of configurations 1 to 18, wherein the acquisition unit acquires the degree of lodging of the ear using information on the distance from the imaging means to the ear. (Configuration 20) 20. The image diagnostic apparatus according to claim 19, wherein the acquisition unit acquires the degree of tilt using a value based on a shape of a histogram of the information about the distance. (Configuration 21) 21. The image diagnostic apparatus according to claim 19, wherein the acquisition unit acquires the degree of lying down by using a variance value of the information about the distance. (Configuration 22) The estimation unit estimates pixels in the image where ears are present, 22. The image diagnostic device according to any one of configurations 1 to 21, wherein the acquisition unit acquires information regarding the number of emerged ears using the number of blocks of pixels. (Configuration 23) 23. The image diagnostic apparatus according to claim 22, wherein the acquisition unit presents information regarding the number of emerged ears to a user. (Configuration 24) The imaging diagnostic device according to configuration 23, characterized in that the period for determining the emergence of the ears and the period for determining the color of the ears can be switched using the area of the ear region or the number of the emerged ears as a threshold value. (Configuration 25) 25. The image diagnostic apparatus according to any one of configurations 22 to 24, wherein the estimation unit estimates the number of blocks of pixels using a spike region image after noise processing. (Configuration 26) 26. The image diagnostic apparatus according to claim 25, wherein the noise processing includes threshold processing according to a size of the block of pixels. (Configuration 27) The imaging diagnostic device according to any one of configurations 22 to 26, wherein the acquisition unit acquires as the predicted heading date the day on which the change in the value of the ratio of the number of ears to the number of stalks exceeds a threshold value. (Configuration 28) 28. The imaging diagnostic device according to any one of configurations 22 to 27, wherein the acquisition unit acquires the yield using the number of ears. (Configuration 29) 29. An imaging diagnostic apparatus according to any one of configurations 22 to 28, wherein the acquisition unit acquires a value relating to the number of valid stalks using the number of ears and the number of stalks. (Configuration 30) The estimation unit estimates a leaf area by removing pixels in the image in which ears are present from pixels in the image in which crops are present; 30. The image diagnostic apparatus according to any one of configurations 1 to 29, wherein the acquisition unit acquires information about leaves using the leaf region. (Configuration 31) 31. The image diagnostic apparatus according to claim 30, wherein the estimation unit estimates pixels in the image where crops are present by using threshold processing based on color information of the pixels. (Configuration 32) 32. The image diagnostic device according to claim 30, wherein the acquisition unit acquires information about the leaf using information about pixels in the leaf region. (Configuration 33) the estimation unit converts an area of the leaf region in the pixel into an area in real space using information about the leaf region and a distance from the imaging means to the leaf; 33. The image diagnostic apparatus according to any one of configurations 30 to 32, wherein the acquisition unit acquires information about the leaf using an area in the real space. (Configuration 34) An image diagnostic device described in any one of configurations 1 to 133, characterized in that the estimation unit removes areas that are erroneously detected by performing noise processing focusing on green in areas in the image where it is estimated that the spike exists. (Configuration 35) 35. The image diagnostic apparatus according to configuration 34, wherein the noise processing is characterized in that the strength of the processing is determined based on information about the spike calculated from a sample estimated in advance. (Configuration 36) The imaging diagnostic device described in any one of configurations 1 to 35, characterized in that the estimation unit estimates information regarding the spike by using a learning model generated by machine learning. (Configuration 37) 37. The image diagnostic device according to any one of configurations 1 to 36, wherein the image is obtained by photographing the crop from above. (Configuration 38) 38. The image diagnostic device according to any one of configurations 1 to 37, wherein the agricultural crops include at least one of rice and wheat. (Method 1) estimating information about ears of crops using images of the crops; An image diagnostic method comprising the step of obtaining an index related to the crop using information related to the image and information related to the ears. (Configuration 39) A program for causing a computer to execute the image diagnosis method described in Method 1. (Configuration 40) A storage medium storing the program according to configuration 39.
[0070] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. [Explanation of symbols]
[0071] 102 CPU (imaging diagnostic equipment) 102a Estimation Section 102b Acquisition
Claims
1. an estimation unit that acquires information about the ears of the agricultural crop using information about an image obtained by photographing the agricultural crop; An image diagnostic device comprising an acquisition unit that acquires information about the crop using information about the image and information about the ears.
2. The estimation unit estimates pixels in the image where ears are present, The image diagnostic apparatus according to claim 1 , wherein the acquisition unit acquires information regarding a color of the spike at the pixel.
3. The image diagnostic apparatus according to claim 2 , wherein the acquisition unit acquires information regarding the color of the spikelet by using a histogram of color information for the pixels.
4. 4. The image diagnostic apparatus according to claim 3, wherein the histogram of color information is a histogram relating to color ratios.
5. 5. The image diagnostic apparatus according to claim 4, wherein the histogram relating to the color ratio is a histogram relating to the ratio of green to red.
6. The imaging diagnostic device according to claim 3, characterized in that the acquisition unit acquires information regarding the color of the ears using at least one of the peak value, width, average value, and median value of the histogram, as well as the amount of movement, speed of movement, and shape change of the histogram over time.
7. 4. The image diagnostic device according to claim 3, wherein the acquisition unit acquires information about the optimum harvest time of the ears using at least one of a movement amount, a movement speed, and a change in shape of the histogram over time.
8. The image diagnostic device according to claim 3 , wherein the acquisition unit acquires information about rice quality using a value related to kurtosis of the histogram.
9. 4. The image diagnostic device according to claim 3, wherein the acquisition unit acquires at least one of a useful rice grain amount, a useful rice grain ratio, and a useful yield using values related to the histogram.
10. 3. The image diagnostic apparatus according to claim 1, wherein the estimation unit performs noise processing on the information about the spikelets, taking into account aberration of a camera.
11. 3. The image diagnostic apparatus according to claim 1, wherein the estimation unit performs processing to remove a shadow region from the image.
12. The estimation unit converts an area of the pixel where the spike is located into an area in real space using the pixel and information about a distance from the imaging means to the spike; The image diagnostic apparatus according to claim 2 , wherein the acquisition unit acquires information regarding yellow ripe ears of rice by using the area in the real space.
13. The image diagnostic apparatus according to claim 2 , wherein the acquisition unit acquires information regarding abnormalities in the ear by using a variance value of color information in the pixels.
14. The estimation unit estimates pixels in the image where ears are present, 3. The image diagnostic apparatus according to claim 1, wherein the acquisition unit acquires information regarding the amount of spikelets using the number of pixels.
15. The image diagnostic apparatus according to claim 14 , wherein the acquisition unit presents information regarding the amount of the spikelets to a user.
16. The image diagnostic apparatus according to claim 14 , wherein the acquisition unit acquires information regarding the amount of spikelets using information regarding a distance from an imaging device to the spikelets.
17. The estimation unit converts an area of the pixel where the spike is located into an area in real space using the pixel and information about a distance from the imaging means to the spike; The image diagnostic apparatus according to claim 14 , wherein the acquisition unit acquires information regarding the amount of the spikelets by using an area in the real space.
18. The image diagnostic apparatus according to claim 14 , wherein the acquisition unit acquires the yield using the number of pixels.
19. 3. The image diagnostic apparatus according to claim 1, wherein the acquisition unit acquires the degree of lodging of the ear using information about a distance from an imaging device to the ear.
20. 20. The image diagnostic apparatus according to claim 19, wherein the acquisition unit acquires the degree of tilt using a value based on a shape of a histogram of the information about the distance.
21. The image diagnostic apparatus according to claim 19 , wherein the acquiring unit acquires the degree of lying down by using a variance value of the information about the distance.
22. The estimation unit estimates pixels in the image where ears are present, 3. The image diagnostic apparatus according to claim 1, wherein the acquisition unit acquires information regarding the number of emerged ears by using the number of blocks of pixels.
23. The image diagnostic apparatus according to claim 22 , wherein the acquisition unit presents information regarding the number of emerged ears to a user.
24. The image diagnostic device according to claim 23, wherein the period for determining the emergence of the ears and the period for determining the color of the ears are switched using an area of the ear region or the number of the emerged ears as a threshold value.
25. 23. The image diagnostic apparatus according to claim 22, wherein the estimation unit estimates the number of blocks of pixels by using a spike region image after noise processing.
26. 26. The image diagnostic apparatus of claim 25, wherein the noise processing includes threshold processing according to a size of the block of pixels.
27. 23. The image diagnostic device according to claim 22, wherein the acquisition unit acquires, as the predicted heading date, a date on which an amount of change in a value of the ratio of the number of ears to the number of stalks exceeds a threshold value.
28. The image diagnostic apparatus according to claim 22 , wherein the acquisition unit acquires the yield using the number of ears.
29. The image diagnostic apparatus according to claim 22 , wherein the acquisition unit acquires a value relating to the number of valid stalks by using the number of ears and the number of stalks.
30. The estimation unit estimates a leaf area by removing pixels in the image in which ears are present from pixels in the image in which crops are present; The image diagnostic apparatus according to claim 1 , wherein the acquisition unit acquires information about the leaf using the leaf region.
31. 31. The image diagnostic apparatus according to claim 30, wherein the estimation unit estimates pixels in the image where crops are present by using threshold processing based on color information of the pixels.
32. 31. The image diagnostic apparatus according to claim 30, wherein the acquisition unit acquires information about the leaf using information about pixels in the leaf region.
33. the estimation unit converts an area of the leaf region in the pixel into an area in real space using information about the leaf region and a distance from the imaging means to the leaf; 31. The image diagnostic apparatus according to claim 30, wherein the acquisition unit acquires information about the leaf using an area in the real space.
34. The image diagnostic device according to claim 1 or 2, characterized in that the estimation unit removes erroneously detected areas by performing noise processing focusing on green in areas in the image in which the ear is estimated to exist.
35. 35. The image diagnostic apparatus according to claim 34, wherein the noise processing is performed by determining a processing strength based on information about the spike calculated from a sample estimated in advance.
36. 3. The image diagnostic apparatus according to claim 1, wherein the estimation unit estimates information about the spike by using a learning model generated by machine learning.
37. 3. The image diagnostic apparatus according to claim 1, wherein the image is obtained by photographing the crop from above.
38. 3. The image diagnostic apparatus according to claim 1, wherein the agricultural crops include at least one of rice and wheat.
39. estimating information about ears of crops using images of the crops; An image diagnostic method comprising the step of obtaining an index related to the crop using information related to the image and information related to the ears.
40. A program for causing a computer to execute the image diagnostic method according to claim 39.
41. A storage medium storing the program according to claim 40.
Citation Information
Patent Citations
Method and apparatus for analyzing structure of ear
JP2010088407A
Taxonomic image creation device
JP2011113233A
Plant cultivation apparatus
JP2016198054A
Crop raising support device and program thereof
JP2017046639A
Image processing device, imaging device, image processing method, and, program
JP2019079283A
Cited By
Self-adaptive adjusting type universal header and control method
CN119586434A
