Image diagnostic device, image diagnostic method, program, and storage medium

The image diagnostic apparatus addresses inaccuracies in plant height measurement by adjusting calculation methods based on leaf deflection, ensuring precise plant height determination.

JP2024154462APending Publication Date: 2024-10-31CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023068268
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-19
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Existing methods for diagnosing plant height using leaf shape as a substitute for plant height are inaccurate due to variations in leaf deflection, which can lead to errors in growth condition assessments.

Method used

An image diagnostic apparatus that acquires plant height information by adjusting the method based on the amount of leaf deflection, using a CPU to process images and calculate plant height through histogram analysis, adjusting the representative height value based on deflection to improve accuracy.

Benefits of technology

The apparatus achieves high-precision plant height measurements by accounting for leaf deflection, reducing errors and providing accurate growth state assessments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024154462000001_ABST
    Figure 2024154462000001_ABST
Patent Text Reader

Abstract

To provide an image diagnostic device that can acquire the plant length with high accuracy.SOLUTION: An image diagnostic device includes a first acquisition unit that acquires the amount of plant deflection based on an image of the plant and a second acquisition unit that acquires the plant length based on the image. The second acquisition unit changes the method for acquiring the plant length according to the amount of deflection.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image diagnostic device for diagnosing the growth condition of a plant from an image obtained by photographing the plant. [Background technology]

[0002] In agriculture, particularly in rice cultivation, methods have been proposed for diagnosing the growth state using various growth indices such as leaf color, plant height, and number of stalks. Patent Document 1 discloses a configuration for acquiring plant height from images of agricultural crops taken by a network camera installed in a farm field. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2021-96726 Summary of the Invention [Problem to be solved by the invention]

[0004] However, the maximum height of the crop from the ground, which is referred to as the plant height in Patent Document 1, is an index generally used to refer to the plant height. The plant height is usually the height (length) of the crop when the leaves are stretched straight. Since the shape (amount of bending) of the leaves varies depending on the variety and growth condition, the plant height may not coincide with the plant height, and cannot be a complete substitute for the plant height.

[0005] An object of the present invention is to provide an image diagnostic device capable of acquiring plant height with high accuracy. [Means for solving the problem]

[0006] An image diagnostic device according to one aspect of the present invention has a first acquisition unit that acquires information regarding the amount of bending of a plant based on an image of the plant, and a second acquisition unit that acquires the height of the plant based on the image, and the second acquisition unit changes a method of acquiring the height of the plant depending on the amount of bending. Effect of the Invention

[0007] An object of the present invention is to provide an image diagnostic device capable of acquiring plant height with high accuracy. [Brief description of the drawings]

[0008] [Figure 1] 1 is a configuration diagram of an image diagnostic system according to an embodiment of the present invention. [Diagram 2] 1 is a flowchart showing an imaging diagnostic method. [Diagram 3] FIG. 2 is a diagram showing an example of a captured image and a leaf region image. [Figure 4] FIG. 13 is an explanatory diagram of the resolution of a histogram corresponding to plant height in a leaf region. [Diagram 5] FIG. 1 is a diagram showing the relationship between rice plant height and plant height. [Figure 6] FIG. 13 is a diagram showing an example of a histogram corresponding to plant height in a leaf region. [Figure 7] FIG. 13 is a diagram showing a histogram corresponding to the plant height of the leaf region superimposed. [Figure 8] 13 is a flowchart showing a process of acquiring the plant height. [Figure 9] 13A and 13B are diagrams illustrating a change in the method of acquiring a height representative value. 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 is a configuration diagram of an image diagnostic system 1000 according to an embodiment of the present invention. The image diagnostic system 1000 includes an image diagnostic apparatus 100 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 NIC 106, an input unit 107, and a display unit 108.

[0012] The input unit 107 acquires a captured image (image of a plant) obtained by capturing an image of a growing plant (e.g., a crop such as rice or wheat) with an imaging unit such as a camera (not shown). The ROM 103 stores the captured image. The captured image may be stored in the HDD 105, or may be stored in the external storage device 300 via the Internet 200. The RAM 104 reads the captured image stored in the ROM 103 or the HDD 105. When the captured image is stored in the external storage device 300, the RAM 104 reads the captured image via the NIC 106.

[0013] The CPU 102 executes the flow of FIG. 2, which will be described later. The CPU 102 includes a first acquisition unit 102a and a second acquisition unit 102b. The first acquisition unit 102a acquires information about the amount of bending of the plant based on the captured image. The second acquisition unit 102b acquires the plant height based on the captured image. The second acquisition unit 102b changes a method of acquiring the plant height according to the amount of bending of the plant. In other words, in this embodiment, when at least one or more processors execute a program stored in at least one or more memories, the first acquisition unit 102a and the second acquisition unit 102b function as the first acquisition unit 102a and the second acquisition unit 102b. Specifically, at least one or more processors execute a process of acquiring information about the amount of bending of the plant from the captured image and a process of acquiring the plant height.

[0014] The display unit 108 displays the acquired plant height. The display unit 108 may also display images and values ​​used in acquiring the plant height, and a histogram of the plant height (height of the plant) of the plant, which will be described later. Furthermore, the display unit 108 may display information such as the accumulated temperature from the transplantation date and data from the previous year.

[0015] In this embodiment, the image diagnosis system 1000 diagnoses the height of a plant (in this embodiment, the height of the rice plant) using a captured image (image of the rice plant) obtained by photographing the rice plant from above with a camera in a field and a distance image related to the distance from the camera to the rice plant.

[0016] FIG. 2 is a flowchart showing the image diagnosis method executed by the CPU 102.

[0017] In step S10, the CPU 102 acquires, via the input unit 107, a photographed image and a distance image relating to the distance from the camera to the rice plant.

[0018] In step S20, CPU 102 extracts an area (leaf area) where rice plants exist from the photographed image. Specifically, CPU 102 extracts the leaf area based on color information of the photographed image. FIG. 3 is a diagram showing an example of a photographed image 301 and a leaf area image 302. CPU 102 may use RGBVI when extracting the leaf area. RGBVI is a vegetation index that focuses on the green color of leaves, and is expressed by the following formula (1).

[0019]

number

[0020] 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. The CPU 102 extracts the leaf region by performing threshold processing using RGBVI, and generates a leaf region mask. The leaf region mask is a binary image in which vegetation regions are white (1) and non-vegetation regions are black (0).

[0021] When using a camera capable of capturing infrared images, other indices such as NDVI may be used for threshold processing. Multiple indices and thresholds may be combined.

[0022] In addition, in order to reduce errors due to noise in the captured image that occurs due to the performance of the camera, noise processing such as morphological processing may be performed on the leaf region mask generated by performing threshold processing.

[0023] 3 is a monochrome image, but an RGB image is used in actual image diagnosis. When detecting leaves, a monochrome image of the chloroplast absorption wavelength band, such as a wavelength of 700 nm, may be used, but since detection accuracy is improved when color information is used, it is preferable to use an image containing wavelength information of two or more bands.

[0024] Also, although the leaf region is extracted using color information from the RGB image, the leaf region may be extracted from information relating to the distance from the camera (distance information). For example, the camera height (distance between the camera and the ground) is acquired in advance, and pixels in the distance image having values ​​near the camera height are excluded from the leaf region, thereby extracting the leaf region from the distance image. When extracting the leaf region only from the distance image, the captured image, i.e., the RGB image, is not used in subsequent processing, so CPU 102 may acquire only the distance image in step S10.

[0025] Moreover, the analysis may be limited to a part of the photographed image 301, such as an analysis area 303 located in the center of the photographed image 301.

[0026] In step S30, CPU 102 obtains a histogram corresponding to the plant height in the leaf region (a histogram corresponding to the plant height) using the distance image and the leaf region. Specifically, CPU 102 generates a histogram corresponding to the plant height in the leaf region by performing mask processing on the distance image using the leaf region mask generated in step S20. Note that the histogram corresponding to the plant height in the leaf region may be a histogram of the plant height in the leaf region, or a histogram obtained by adding, subtracting, multiplying or dividing a uniform value to the plant height in the leaf region. In addition, when generating a histogram corresponding to the plant height in the leaf region, large values ​​or small values ​​in an area in the distance image that cannot be a leaf region may be removed by threshold processing.

[0027] The histogram acquired in this step is preferably generated with low resolution for the process of step S40 described later. FIG. 4 is an explanatory diagram of the resolution of the histogram corresponding to the grass height of the leaf area. In the histogram described in this embodiment, the left side is the camera side (sky side) and the right side is the ground side. The low-resolution histogram 401 and the high-resolution histogram 402 are histograms generated using the same captured image, distance image, and leaf area. When the CPU 102 acquires a peak value as a representative value of the histogram in step S40 described later, there is a possibility that an error occurs because there are multiple peaks in the histogram 402. Therefore, it is preferable to generate a histogram with low resolution like the histogram 401. In addition, a smoothing process may be performed on the histogram generated with high resolution.

[0028] In this embodiment, a histogram corresponding to the plant height in the leaf region is acquired as information regarding the amount of bending of the plant, but the present invention is not limited to this. For example, a variance value of the plant height in the leaf region may be acquired.

[0029] In step S40, the CPU 102 executes a plant height acquisition process for acquiring the plant height of the plant (in this embodiment, the plant height of paddy rice) using a histogram corresponding to the plant height of the leaf region.

[0030] When the representative height of a plant is H and the conversion coefficient is α, the plant height L can be expressed by the following equation (2).

[0031] L = H × α (2) 5 is a diagram showing the relationship between the height and plant height of rice. Generally, the height 501, which is an index showing the growth state of rice, is the height (length) of the rice plant when the leaves are stretched out straight. However, because plants such as rice are curved (the shape of the leaves varies), the representative height value that can be measured in the distance image is close to the plant height 502, and the relationship between the plant height 502 and the plant height 501 changes depending on the amount of bending.

[0032] FIG. 6 is a diagram showing an example of a histogram corresponding to the plant height of the leaf region. FIG. 6(a) shows a histogram 602 corresponding to the plant height of the leaf region generated using a rice plant 601 with a small amount of bending. FIG. 6(b) shows a histogram 606 corresponding to the plant height of the leaf region generated using a rice plant 605 with a large amount of bending. When the amount of bending is small, as shown in FIG. 6(a), the histogram 602 has a shape that spreads out to the left and right. The mode 603 of the histogram 602 corresponds to the middle of the rice plant 601, and the distance 604 between the mode 603 and the value corresponding to the tip position of the rice plant 601 is long. On the other hand, when the amount of bending is large, as shown in FIG. 6(b), the histogram 606 has many values ​​on the camera side (values ​​with high plant height). The mode 607 of the histogram 606 corresponds to a position higher than the middle of the rice plant 605, and the distance 608 between the mode 607 and the value corresponding to the tip of the rice plant 605 is short.

[0033] Fig. 7 is a diagram in which histograms 602, 606 corresponding to the plant height in the leaf region are superimposed. As shown in Fig. 7, the shape of the histogram differs depending on the amount of deflection. When the representative value of the histogram (mode, median, average, peak value, etc.) is used as the plant height of a plant, the representative value differs depending on the amount of deflection, so if the plant height is obtained using a fixed conversion coefficient in equation (2), there is a possibility that the error between the obtained plant height and the actual plant height will be large.

[0034] Therefore, in this embodiment, the method of acquiring the plant height is changed according to the amount of bending of the plant. In this embodiment, the amount of bending is estimated from the shape of the histogram corresponding to the plant height in the leaf region, and is reflected in the plant height diagnosis. The amount of bending may be estimated from the variance value of the plant height in the leaf region. The shape of the histogram can be estimated from values ​​related to the histogram, but the present invention is not limited to this. The values ​​related to the histogram are, for example, the distance between the position of the plant corresponding to the representative value of the histogram and the position of the plant (the tip position of the plant) corresponding to the value of the end of the histogram on the camera side, the width of the histogram, and the kurtosis of the histogram. The representative value of the histogram is, for example, the mode, median, average, and peak value of the histogram. The peak value is a peak value different from the mode.

[0035] In this embodiment, an example in which the height representative value is changed according to the amount of bending of the plant will be described. Fig. 8 is a flowchart showing the plant height acquisition process.

[0036] In step S41 (first step), CPU 102 acquires a representative value of a histogram corresponding to the plant height in the leaf region and a value at the end on the camera side as information regarding the amount of bending of a plant. In this embodiment, the most frequent value is acquired as the representative value of the histogram, but it may be a median, an average, or a peak value. When acquiring the value at the end on the camera side, CPU 102 preferably acquires a point where there is a number of data equal to or greater than a predetermined value (e.g., 1000) and where the number of data is the largest, in order to reduce the influence of erroneous distance measurements due to the influence of noise. Note that in this embodiment, a representative value of a histogram corresponding to the plant height in the leaf region and a value at the end on the camera side are acquired, but information regarding the amount of bending of other plants may also be acquired.

[0037] In step S42, the CPU 102 acquires the distance (hereinafter referred to as the histogram distance) between the position of the rice corresponding to the representative value and the position of the rice corresponding to the value at the end on the camera side.

[0038] In step S43 (second step), the CPU 102 acquires the height of the plant. Specifically, the CPU 102 first acquires a height representative value. Since the error increases as the histogram distance acquired in step S42 becomes longer, the CPU 102 changes the height representative value according to the histogram distance. FIG. 9 is a diagram for explaining a change in the method of acquiring the height representative value 901 according to the histogram distance 902. When the median of the range of values ​​from the histogram representative value to the end value on the camera side is C1, the entire median of the histogram is C2, and the coefficient is R, the height representative value H is expressed by the following formula (3).

[0039] H = C1 × R - C2 × (1 - R) (3) The coefficient R is expressed according to the histogram distance 902 by the following formula (4).

[0040]

number

[0041] In this manner, in this embodiment, the height representative value is obtained according to the histogram distance 902, i.e., the amount of bending (shape of the leaf). In addition, in this embodiment, the coefficient R is divided into four stages according to the histogram distance 902, but the number of stages is not limited to this, and it may be a continuous value according to the histogram distance 902. In addition, the relationship between the histogram distance 902 and the coefficient R is not limited to the relationship of formula (4). It is preferable to use an appropriate value determined from the correlation with the actual measurement value. For example, it may be changed according to the camera height, the variety of the plant, etc.

[0042] Next, the CPU 102 obtains the plant height using the formula (2). In this embodiment, the plant height is obtained using a different representative value depending on the amount of bending, so that the error of the obtained plant height with respect to the actual plant height due to the amount of bending can be reduced.

[0043] In this embodiment, an example in which the height representative value is changed has been described, but the conversion coefficient α in formula (2) may be changed according to the amount of deflection. For example, the conversion coefficient α may be changed so that the conversion coefficient α increases as the histogram distance increases.

[0044] In this way, in step S42, the method of acquiring the plant height of the plant is changed depending on the amount of bending of the plant, thereby making it possible to reduce the error of the acquired plant height from the actual plant height due to the amount of bending.

[0045] In step S50, CPU 102 outputs the rice plant height acquired in step S40. When outputting the plant height, images used in each calculation, such as the photographed image, the leaf region image, and the distance image, may be displayed, or a histogram, a histogram representative value, a height representative value, a coefficient R, etc. may be displayed. By displaying the representative value, height representative value, plant height, histogram distance, etc. on the histogram, the user's visibility can be improved.

[0046] As described above, according to the configuration of this embodiment, it is possible to obtain the plant height of a plant with high accuracy from a captured image, without depending on the shape of the leaves. Note that the subject of the present invention is not limited to rice. Examples of plants other than rice include wheat. As with rice, the growth indexes related to the ears and leaves are important for wheat, and therefore the present invention can be applied to wheat. [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.

[0047] The disclosure of this embodiment includes the following configurations and methods.

[0048] (Configuration 1) a first acquisition unit that acquires information regarding an amount of bending of a plant based on an image of the plant; a second acquisition unit that acquires the height of the plant based on the image, The image diagnostic device, wherein the second acquisition unit changes a method for acquiring the grass height depending on the amount of bending. (Configuration 2) 2. The image diagnostic device according to configuration 1, wherein the second acquisition unit changes a method for acquiring the plant height depending on a shape of a histogram corresponding to the height of the plant. (Configuration 3) 3. The image diagnostic apparatus according to configuration 2, wherein the second acquisition unit changes a method for acquiring the grass height depending on a value related to the histogram. (Configuration 4) The image diagnostic device according to configuration 3, wherein the value relating to the histogram is at least one of the distance between the position of the plant corresponding to the representative value of the histogram and the position of the tip of the plant, the width of the histogram, and the kurtosis of the histogram. (Configuration 5) 5. The image diagnostic apparatus according to configuration 4, wherein the representative value is at least one of a mode, a median, an average, and a peak value of the histogram. (Configuration 6) The image diagnostic device according to any one of configurations 1 to 5, wherein the second acquisition unit acquires the grass height using a height representative value of the plant, the height of which changes depending on the amount of bending. (Configuration 7) The imaging diagnostic device according to configuration 4 or 5, wherein the second acquisition unit acquires the plant height using a height representative value of the plant, the height of the plant varying depending on the distance between a position of the plant corresponding to the representative value and a tip position of the plant. (Configuration 8) When the height representative value is H, the median of the range from the representative value to the value corresponding to the tip position of the plant is C1, the median of the entire histogram is C2, and a coefficient that changes depending on the distance between the position of the plant corresponding to the representative value and the tip position of the plant is R, the height representative value is expressed as follows: H = C1 × R - C2 × (1-R) 8. The imaging diagnostic apparatus according to claim 7, wherein the imaging diagnostic apparatus is expressed by the following formula: (Configuration 9) The image diagnostic device according to any one of configurations 1 to 5, wherein the second acquisition unit acquires the grass height using a height representative value of the plant height and a conversion coefficient that changes depending on the amount of bending. (Configuration 10) 10. The image diagnostic device according to claim 9, wherein the representative value of the height is at least one of a mode, a median, a mean, and a peak value of a histogram corresponding to the height of the plant. (Configuration 11) 9. The image diagnostic device according to any one of configurations 2 to 5, 7, and 8, wherein the histogram is generated using information on an area in which the plant is present in the image. (Configuration 12) 12. The imaging diagnostic apparatus according to claim 11, wherein the range is estimated from color information of the image. (Configuration 13) 12. The imaging diagnostic apparatus according to claim 11, wherein the range is estimated from information regarding a distance from an imaging unit. (Configuration 14) 14. The image diagnostic device according to any one of configurations 1 to 13, wherein the image is obtained by photographing the plant from above. (Configuration 15) 15. The image diagnostic device according to any one of configurations 1 to 14, wherein the plant includes at least one of rice and wheat. (Method 1) A first step of acquiring information about an amount of bending of a plant based on an image of the plant; and a second step of acquiring a height of the plant based on the image. The image diagnostic method is characterized in that in the second step, a method for acquiring the plant height is changed depending on an amount of bending of the plant. (Configuration 16) A program for causing a computer to execute the image diagnosis method described in Method 1. (Configuration 17) A storage medium storing the program according to configuration 16.

[0049] 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]

[0050] 102 CPU (imaging diagnostic equipment) 102a 1st acquisition part 102b 2nd acquisition part

Claims

1. a first acquisition unit that acquires information regarding an amount of bending of a plant based on an image of the plant; a second acquisition unit that acquires a plant height of the plant based on the image, The image diagnostic device according to claim 1, wherein the second acquisition unit changes a method for acquiring the grass height depending on the amount of bending.

2. The image diagnostic device according to claim 1 , wherein the second acquisition unit changes a method for acquiring the plant height depending on a shape of a histogram corresponding to the height of the plant.

3. The image diagnostic apparatus according to claim 2 , wherein the second acquisition unit changes a method for acquiring the grass height depending on a value related to the histogram.

4. 4. The image diagnostic device according to claim 3, wherein the value related to the histogram is at least one of the distance between the position of the plant corresponding to the representative value of the histogram and the tip position of the plant, the width of the histogram, and the kurtosis of the histogram.

5. 5. The image diagnostic apparatus according to claim 4, wherein the representative value is at least one of a mode, a median, a mean, and a peak value of the histogram.

6. 3. The image diagnostic apparatus according to claim 1, wherein the second acquisition unit acquires the plant height by using a representative value of the height of the plant, the representative value varying depending on the amount of bending.

7. The image diagnostic device according to claim 4, characterized in that the second acquisition unit acquires the plant height using a height representative value of the plant, the height of the plant varying depending on the distance between a position of the plant corresponding to the representative value and a tip position of the plant.

8. When the height representative value is H, the median of the range from the representative value to the value corresponding to the tip position of the plant is C1, the median of the entire histogram is C2, and a coefficient that changes depending on the distance between the position of the plant corresponding to the representative value and the tip position of the plant is R, the height representative value is expressed as follows: H=C1×R-C2×(1-R) 8. The image diagnostic apparatus according to claim 7, wherein the image diagnostic apparatus is expressed by the following formula:

9. 3. The image diagnostic device according to claim 1, wherein the second acquisition unit acquires the plant height by using a height representative value of the plant height and a conversion coefficient that changes depending on the amount of bending.

10. 10. The image diagnostic apparatus according to claim 9, wherein the representative value of height is at least one of a mode, a median, a mean, and a peak value of a histogram corresponding to the height of the plant.

11. 3. The image diagnostic apparatus according to claim 2, wherein the histogram is generated using information on an area in which the plant exists in the image.

12. The image diagnostic apparatus according to claim 11 , wherein the range is estimated from color information of the image.

13. The image diagnostic apparatus according to claim 11 , wherein the range is estimated from information regarding a distance from an imaging unit.

14. 3. The image diagnostic apparatus according to claim 1, wherein the image is obtained by photographing the plant from above.

15. 3. The image diagnostic apparatus according to claim 1, wherein the plant includes at least one of rice and wheat.

16. A first step of acquiring information regarding an amount of bending of a plant based on an image of the plant; and a second step of acquiring a height of the plant based on the image. The image diagnostic method is characterized in that in the second step, a method for acquiring the plant height is changed depending on an amount of bending of the plant.

17. A program for causing a computer to execute the image diagnostic method according to claim 16.

18. A storage medium storing the program according to claim 17.

Citation Information

Patent Citations

  • Information processing apparatus, computer program, and information processing method

    JP2021096726A