IMAGING DIAGNOSTIC APPARATUS, IMAGING DIAGNOSTIC SYSTEM, IMAGING DIAGNOSTIC METHOD, AND PROGRAM
The image diagnostic apparatus and method address the challenge of varying stem-count correlations by detecting leaf tips and applying a relational expression to calculate stems, ensuring accurate stem counts across different cultivation conditions.
Patent Information
- Application Number
- JP2020004912
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-01-16
- Publication Date
- 2024-09-02
- Estimated Expiration
- 2040-01-16
AI Technical Summary
Existing methods for determining the number of plant stems from images are hindered by varying correlations between vegetation cover and stems due to different cultivation conditions, making it difficult to accurately count stems, especially as vegetation cover approaches full coverage.
An image diagnostic apparatus and method that detects leaf tips in plant images, correlates the number of leaves with stems using a unique relationship, and applies a relational expression to calculate the number of stems, independent of planting density or growth stage.
Enables easy and accurate determination of plant stem counts from images, regardless of cultivation conditions, maintaining accuracy even as vegetation cover approaches full coverage.
Smart Images

Figure 0007542954000013 
Figure 0007542954000007 
Figure 0007542954000009
Abstract
Description
[Technical field]
[0001] The present invention relates to an image diagnostic device, an image diagnostic system, an image diagnostic method, and a program for acquiring the number of stems of a plant using an image of the plant. [Background technology]
[0002] In recent years, methods have been proposed for obtaining the number of stalks using images of plants. Patent Document 1 discloses a method for obtaining the vegetation coverage ratio, which is an index showing the proportion of rice plants in the photographed area, using images of rice plants, and obtaining the number of stalks based on the correlation between the vegetation coverage ratio and the number of stalks. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-82648 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, the correlation between vegetation coverage and stalk number differs depending on the cultivation conditions, such as planting density (number of plants per unit area) and the number of plants planted per plant. Therefore, in order to use the method of Patent Document 1, it is necessary to investigate the correlation between vegetation coverage and stalk number for each cultivation condition. Furthermore, with the method of Patent Document 1, as rice grows and the vegetation coverage approaches 1, the change in vegetation coverage becomes smaller even if the number of stalks increases, making it difficult to obtain the number of stalks appropriately.
[0005] An object of the present invention is to provide an image diagnostic device, an image diagnostic system, an image diagnostic method, and a program that are capable of easily and appropriately obtaining the number of stems of a plant using an image of the plant. [Means for solving the problem]
[0006] According to one aspect of the present invention, an image diagnostic apparatus uses an image of a plant. The leaf tips of the plant are detected, and the leaf tips are used to obtain a leaf tip number. The leaf tip number is used to obtainA first acquisition unit for acquiring the number of leaves of a plant, and Number of stems on the plant The number of stems is calculated using a relational equation based on the correlation with A second acquisition unit that acquires The plant includes at least one of rice and wheat. It is characterized by:
[0007] Another aspect of the present invention is an image diagnostic method characterized by having a step of obtaining the number of leaves of a plant using an image of the plant, and a step of obtaining the number of stems of the plant using the number of leaves. Effect of the Invention
[0008] According to the present invention, it is possible to provide an image diagnostic device, an image diagnostic system, an image diagnostic method, and a program that are capable of easily and appropriately obtaining the number of stems of a plant using an image of the plant. [Brief description of the drawings]
[0009] [Figure 1] FIG. 13 is a diagram showing the correlation between the measured leaf number and the measured stem number. [Diagram 2] 1 is a flowchart showing an image diagnostic method of the present invention. [Diagram 3] 3 is a flowchart showing details of step S20 in FIG. 2. [Figure 4] FIG. 2 is a conceptual diagram of a learning model of the present invention. [Diagram 5] FIG. 11 is a diagram illustrating an example of a method for setting an analysis region. [Figure 6] FIG. 2 is a hardware configuration diagram of the image diagnostic apparatus according to the first embodiment. [Figure 7] FIG. 2 is a software configuration diagram of the image diagnostic apparatus according to the first embodiment. [Figure 8] FIG. 1 is a diagram showing an example of an image of a part of a farm field photographed from above. [Figure 9] FIG. 13 is a diagram showing the results of obtaining the number of stems. [Figure 10] FIG. 11 is a configuration diagram of an image diagnostic system according to a second embodiment. [Figure 11] FIG. 1 is a diagram showing an example of an image of a part of a farm field photographed from above. [Figure 12]FIG. 13 is a diagram showing the results of obtaining the number of stems. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] 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.
[0011] First, before describing each embodiment in detail, the gist of the present invention will be described. The present invention is characterized in that the number of plant stems is obtained based on the number of leaves acquired using an image of the plant, utilizing the fact that the number of leaves (leaf count) of a plant correlates with the number of stems of the plant. In particular, the present invention is characterized in that the number of stems is obtained based on the number of leaves acquired using an image of rice, utilizing the correlation between the number of leaves and the number of stems of rice. In the following, rice will be used as an example of a plant for description.
[0012] Figure 1 shows the correlation between the measured leaf number and the measured stalk number. The measured leaf number is the number of leaves obtained using an image of rice. The measured stalk number is the number of stalks per rice plant measured manually. As shown in Figure 1, the coefficient of determination is 0.74, and there is a strong correlation between the measured leaf number and the measured stalk number. In other words, the measured leaf number can be used to obtain the stalk number.
[0013] The correlation between the number of leaves and the number of stalks is not dependent on the planting density or the number of plants per stalk, but is specific to rice. Therefore, in the present invention, even if the cultivation conditions of rice are different, the number of stalks can be easily obtained using the same method and the same parameters. Furthermore, in the present invention, the leaf number measurement value is obtained using the number of leaf tips (leaf tip number) as described below, so that the number of stalks can be appropriately obtained even in the later growth stage when the vegetation coverage approaches 1.
[0014] The image diagnostic method for acquiring the number of stems of a plant using an image of the plant according to the present invention will be described below. Fig. 2 is a flow chart showing the image diagnostic method according to the present invention.
[0015] In step S10, an image of rice is input. As described below, in this embodiment, the leaf tips of rice are detected to obtain the number of rice stalks. Because rice leaves grow from the ground toward the sky, the leaf tips of rice are always located high above the ground. Therefore, photographing rice from above makes it easier to see the leaf tips. Therefore, when obtaining the number of rice stalks, it is preferable to use an image of rice photographed from above.
[0016] In step S20, the leaf number measurement value is obtained using the input rice image.
[0017] FIG. 3 is a flowchart showing the details of step S20 in FIG.
[0018] In step S21, the leaf tips of the rice are detected from the image of the rice, and an image in which the leaf tips are detected (leaf tip detection image) is output. When performing the process of step S21, for example, a trained model constructed by machine learning may be used. When constructing the trained model, for example, a neural network shown in FIG. 4(a) may be used, in which the input data is the image of the rice and the output data is the leaf tip detection image.
[0019] When constructing a trained model using a neural network, as shown in Fig. 4(b), an image of rice plant may be used as input data, and a labeled image obtained by labeling the leaf tips and other areas of the plant with different values may be used as training data. For example, as shown in Fig. 4(b), an image in which the leaf tip area is labeled with 1 and the other areas are labeled with 0 may be used as the labeled image. However, the training data is not limited to the above-mentioned data, and a labeled image in which the areas other than the leaf tips are further classified may be used.
[0020] The neural network may be trained by the method shown in Figure 4(b). First, an error corresponding to the difference between the output data output from the output layer according to the input data input to the input layer and the teacher data is calculated using a loss function. Next, the connection weighting coefficients between the nodes of the neural network are updated so as to reduce the obtained error. In this update, for example, the connection weighting coefficients are updated using the error backpropagation method that adjusts the connection weighting coefficients between the nodes of the neural network so as to reduce the above error.
[0021] Note that the process of step S21 is not limited to the method using machine learning, and may be performed by a method using a pattern recognition technique such as pattern matching or a local feature such as a SIFT feature.
[0022] In step S22, the number of leaf tips is obtained using the leaf tip detection image output in step S21. In this embodiment, the leaf tip detection image output in step S21 is used as an input, and the number of leaf tips is obtained by using a labeling process. Specifically, first, in the leaf tip detection image, the pixel value of a pixel detected as a leaf tip is set to 1, and the pixel value of a pixel detected as an area other than a leaf tip is set to 0. Next, a labeling process is performed by treating a group of areas in which adjacent pixels have pixel values of 1 as one leaf tip, and the number of leaf tips in the leaf tip detection image is obtained.
[0023] In step S23, a leaf number measurement value is obtained using the number of leaf tips obtained in step S22. Depending on the plant, one leaf may have multiple leaf tips, but since one leaf of rice has one leaf tip, in this step, the leaf number measurement value is obtained assuming that the number of leaf tips is equal to the number of leaves.
[0024] The process of step S20 is not limited to the above-mentioned method, and other methods may be used to acquire the leaf number measurement value.
[0025] In step S30, the number of stems is obtained using the leaf number measurement. When obtaining the number of stems, a relational expression calculated based on the correlation in FIG. 1 is used. Specifically, the leaf number measurement value obtained in step S23 is taken as X, and the number of stems Y is calculated by the following formula (1). est is obtained.
[0026]
number
[0027] Here, a i (i=0, ,M) is a coefficient based on the correlation between the measured leaf number and the measured stem number in Figure 1. For example, let us consider N sets of data for the measured leaf number and the measured stem number as (X j ,Y j )(j=1, ,N), then a i teeth
[0028]
number
[0029] It is expressed as:
[0030] In the present invention, by carrying out the above steps, it is possible to obtain the number of stalks in an image of rice plants.
[0031] The number of stalks in rice plants is usually expressed as the number of stalks per plant or the number of stalks per unit area. Therefore, when obtaining the number of stalks per plant or the number of stalks per unit area, it is a good idea to set an analysis region (ROI) in advance.
[0032] Fig. 5(a) is a diagram for explaining an example of a method for setting the analysis region ROI. In Fig. 5(a), the white circles represent the center positions of each rice stalk in the image, the dotted lines connect adjacent white circles on a grid, and the solid lines represent the analysis region ROI. In Fig. 5(a), the region connecting the centers of the outermost rice stalks in a 3x4 rice stalk array (a region equivalent to the cultivated land area for six rice stalks) is set as the analysis region ROI.
[0033] When setting the analysis region ROI, the center position of the rice stalk may be set manually by the user while looking at the rice image, or it may be set automatically using pattern recognition technology or the like.
[0034] In step S22, when the analysis region ROI is set as the range for obtaining the number of leaf tips, the number of leaf tips per analysis region ROI can be obtained. In step S23, the leaf number measurement value per analysis region ROI can be obtained. Therefore, in step S30, the number of stems Y per analysis region ROI is calculated using the leaf number measurement value X per analysis region ROI. est can be obtained.
[0035] If the number of plants in the analysis region ROI is L and the area of the analysis region ROI is S, the number of stems per plant is Y. est / L, the number of stems per unit area is Y est The area S of the analysis region ROI can be obtained using the actual area of the analysis region ROI on the image sensor surface and the shooting magnification at the time of shooting. The area S of the analysis region ROI may also be obtained from the planting interval (row spacing or plant spacing) when planting rice.
[0036] The analysis region ROI may be set by the method shown in Fig. 5(b). In Fig. 5(b), the white circles indicate the center positions of each rice stalk in the image, the dashed lines connect adjacent white circles on a grid, the white squares indicate the center positions calculated using the coordinates of the four nearest white circles that make up the square, and the solid lines indicate the analysis region ROI. The dotted lines indicate auxiliary lines that indicate the analysis region per stalk. In Fig. 5(b), the analysis region ROI is set by connecting the center positions set from the center positions of the 3 x 4 rice stalks to surround the two central stalks.
[0037] In Figures 5(a) and (b), the number of plants in the analysis region ROI is six and two, respectively, but the number of plants in the analysis region ROI can be set arbitrarily according to the purpose. For example, when obtaining the number of stalks per plant, the number of plants in the analysis region ROI can be set to one. When obtaining the average value in the field, the number of plants in the analysis region ROI can be set to two or more. To ensure that the average value in the field is reliable, it is preferable to set the number of plants in the analysis region ROI to ten or more.
[0038] Each embodiment of the present invention will now be described in detail. EXAMPLES
[0039] In this embodiment, an image diagnostic device 300 capable of acquiring the number of stems of a plant using an image of the plant by implementing the image diagnostic method of the present invention will be described. In this embodiment, rice will be used as an example of a plant.
[0040] 6 is a diagram showing the hardware configuration of an image diagnostic apparatus 300. The image diagnostic apparatus 300 includes a system bus 301 for transferring data between the various components, a CPU 302, a ROM 303, a RAM 304, a HDD 305, a NIC 306, an input unit 307, a display unit 308, and a GPU 309.
[0041] 7 is a software configuration diagram of the image diagnostic device 300. The image diagnostic device 300 has an image input means 310, a leaf number acquisition means (first acquisition unit) 320, and a stem number acquisition means (second acquisition unit) 330. The leaf number acquisition means 320 has a leaf tip detection unit (detection unit) 321, a leaf tip number acquisition unit 322, and a leaf number acquisition unit 323. Each of the leaf number acquisition means 320 and the stem number acquisition means 330 may include a processor and a memory programmed to execute each function.
[0042] An image of paddy rice is input to the image input means 310. The image is input by loading an image stored in advance in a storage device such as ROM 303 or HDD 305 onto RAM 304, or by loading an image stored on a network onto RAM 304 via NIC 306.
[0043] The leaf number acquisition means 320 acquires the leaf number measurement value using the image read on the RAM 304. Specifically, first, the leaf tip detection unit 321 generates a leaf tip detection image from the input image. In this embodiment, the leaf tip detection image is generated using a trained model configured by a neural network. Information on the structure of the trained model and various parameters is stored in advance in the ROM 303 or the HDD 305. When the leaf tip detection unit 321 performs processing to generate a leaf tip detection image, the GPU 309 is used in addition to the CPU 302. The GPU 309 can perform efficient calculations by processing more data in parallel, so it is effective to use the GPU 309 when performing calculation processing of a neural network.
[0044] Next, the leaf tip number acquisition unit 322 acquires the leaf tip number using the leaf tip detection image. In this embodiment, the leaf tip number is acquired by the CPU 302 or the GPU 309 using a labeling process. In this embodiment, the leaf tip number is acquired within the analysis region ROI1, which is an area equivalent to the cultivated land area of six rice stalks described with reference to FIG. 5(a). The analysis region ROI1 is set based on information stored in advance in the ROM 303 or the HDD 305, or is set by the user by direct input from the input unit 307.
[0045] Next, the leaf number acquisition unit 323 acquires a leaf number measurement value using the leaf tip number. In this embodiment, since the plant is rice, the leaf number acquisition unit 323 acquires the leaf tip number as the leaf number measurement value. The processing of the leaf number acquisition unit 323 is performed by the CPU 302.
[0046] The stem number acquisition means 330 acquires the stem number using the leaf number measurement value and formula (1). In this embodiment, the stem number is acquired by setting M, a0, and a1 to 1, 0, and 0.59, respectively. The acquired stem number is stored in the ROM 303 or HDD 305. The acquired stem number may also be stored in an external storage device (not shown) connected to the network via the NIC 306. The acquired stem number may also be displayed on the display unit 308. The processing of the stem number acquisition means 330 is performed by the CPU 302.
[0047] FIG. 8 shows an example of an image taken from above of a part of a Koshihikari rice field where rice was planted under the first cultivation condition with a planting density of 37 plants / tsubo and 4 plants / plant. The rice planting date of the field in FIG. 8 was May 15, and images in FIG. 8(a) and (b) were taken on June 4 and July 11, respectively. Note that the image in FIG. 8 is displayed in monochrome, but an RGB image is used for actual image diagnosis. A monochrome image may be used to detect the tips of rice leaves, but it is preferable to use a multiband image with two or more bands because the detection accuracy of the leaf tips is improved when color information is used.
[0048] Figure 9 shows the results of obtaining the number of stalks using images taken at fixed points in a field of Koshihikari rice planted under the first cultivation condition. The horizontal axis represents the date, and the vertical axis represents the number of stalks per stalk. The white circles represent the diagnostic values (obtained values) obtained using the image diagnostic method of the present invention, the black stars represent the correct value calculated by averaging the actual measured values of the 3 x 4 rice stalks included in the analysis region ROI1, and the error bars represent the standard deviation of the actual measured values of the 3 x 4 rice stalks. As shown in Figure 9, the diagnostic values are close to the correct values, confirming the effectiveness of the image diagnostic supplementation method of the present invention. EXAMPLES
[0049] In this embodiment, an image diagnostic system 400 capable of acquiring the number of stems of a plant using an image of the plant by implementing the image diagnostic method of the present invention will be described. In this embodiment, rice will be used as an example of a plant.
[0050] 10 is a configuration diagram of an image diagnostic system 400 of this embodiment. The image diagnostic system 400 includes an image acquisition device 410, the Internet 420, a data collection server (storage device) 430, and an image diagnostic device 300.
[0051] The image acquisition device 410 acquires images of rice plants. The images acquired by the image acquisition device 410 are stored in the data collection server 430 via the Internet 420. The image diagnosis device 300 reads the images of rice plants stored in the data collection server 430 via the Internet 420, and acquires the number of stalks using the images of rice plants by the method described in the first embodiment.
[0052] Fig. 11 shows an example of an image taken from above of a part of a field of Koshihikari rice planted under the second cultivation condition with a planting density of 60 plants / tsubo and 4 plants / plant. In the field of Fig. 11, the spacing between plants is narrower and the planting density is higher than in the field of Fig. 8 described in Example 1. The rice planting date of the field of Fig. 11 was May 15th, and Figs. 11(a) and (b) are images taken on June 4th and July 11th, respectively. Note that the image of Fig. 11 is displayed in monochrome, but an RGB image is used for actual image diagnosis.
[0053] FIG. 12 shows the results of acquiring the number of stalks using fixed-point photographed images of a field of Koshihikari rice planted under the second cultivation condition. The horizontal axis indicates the date, and the vertical axis indicates the number of stalks per stalk. Since the second cultivation condition is different from the first cultivation condition in terms of the spacing between stalks, the area of the analysis region ROI2, which is the area corresponding to the cultivated land area of six rice stalks in this embodiment, is different from the area of the analysis region ROI1 in the first embodiment, but the other parameters are the same as those in the first embodiment. The white circles indicate the diagnostic values (acquired values) acquired using the image diagnostic method of the present invention, the black stars indicate the correct answer values calculated by averaging the actual measured values of the 3×4 rice stalks included in the analysis region ROI2, and the error bars indicate the standard deviation of the actual measured values of the 3×4 rice stalks. As shown in FIG. 12, the diagnostic values indicate values close to the correct answer values, and it can be confirmed that the image diagnostic supplementation method of the present invention is effective.
[0054] Furthermore, comparing the correct values in Figures 9 and 12, it can be seen that in the later stages of growth, the field under the first cultivation condition had a greater number of stalks than the field under the second cultivation condition, and the diagnostic values showed similar results. Therefore, it can be confirmed that it is possible to distinguish and diagnose differences in stalk numbers even in the later stages of growth when the vegetation coverage rate approaches 1.
[0055] As described above, according to the configuration of the present invention, it is possible to easily and appropriately obtain the number of plant stems using images of the plants, regardless of the planting density, number of plants planted, or growth season of the plants.
[0056] In this specification, rice has been described as an example of a plant, but the plant of the present invention is not limited to rice. An example of a plant other than rice is wheat. Like rice, wheat also has a strong correlation between the number of leaves and the number of stems, and the shape of the leaves is similar to that of rice, so the present invention can be applied to wheat. However, the plant is not limited to rice and wheat as long as it is a plant to which the present invention can be applied. [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. The present invention can also be realized by a circuit (e.g., an ASIC (Application-Specific Integrated Circuit)) that implements one or more of the functions.
[0057] Although the preferred embodiments and examples of the present invention have been described above, the present invention is not limited to these embodiments and examples, and various combinations, modifications, and changes are possible within the scope of the gist of the present invention. [Explanation of symbols]
[0058] 300 Diagnostic Imaging Devices 320 Leaf number acquisition means (1st acquisition part) 330 Means for acquiring the number of stems (second acquisition part)
Claims
1. a first acquisition unit that detects leaf tips of a plant using an image of the plant, acquires a number of leaf tips using the leaf tips, and acquires a number of leaves of the plant using the leaf tips; a second acquisition unit that acquires the number of stems by using a relational expression calculated based on a correlation between the number of leaves and the number of stems of the plant, The image diagnostic device is characterized in that the plant includes at least one of rice and wheat.
2. The image diagnostic apparatus according to claim 1 , wherein the first acquisition unit detects the leaf tip using a trained model generated by machine learning.
3. The image diagnostic device according to claim 2, characterized in that the trained model is obtained by learning using an image of the plant as input data and an image obtained by labeling the leaf tips and areas other than the leaf tips of the plant with different values as training data.
4. 4. The image diagnostic apparatus according to claim 1, wherein the image is obtained by photographing the plant from above.
5. Let X be the number of leaves, and Y be the actual number of stems of the plant, [0010] The coefficient based on the correlation between the number of leaves and the measured number of stems is ai (i=0, . . . , M), and the number of stems is Y est. The relational expression is [0025] 5. The image diagnostic apparatus according to claim 1, wherein the image diagnostic apparatus is expressed by the following formula:
6. An image diagnostic system comprising an image diagnostic device described in any one of claims 1 to 5 and an image acquisition device for acquiring an image of the plant.
7. a first step of detecting leaf tips of a plant using an image of the plant, obtaining a number of leaf tips using the leaf tips, and obtaining a number of leaves of the plant using the leaf tips; and a second step of acquiring the number of stems using a relational expression calculated based on a correlation between the number of leaves and the number of stems of the plant, The image diagnostic method according to the present invention, wherein the plant includes at least one of rice and wheat.
8. The image diagnostic method described in Claim 7, characterized in that in the first step, the leaf tip is detected using a trained model generated by machine learning.
9. The image diagnostic method described in Claim 8, characterized in that the trained model is obtained by learning using an image of the plant as input data and an image obtained by labeling the leaf tips and areas other than the leaf tips of the plant with different values as training data.
10. An image diagnostic method as described in any one of claims 7 to 9, characterized in that it includes a step of obtaining the image by photographing the plant from above.
11. A program for causing a computer to execute the image diagnostic method according to any one of claims 7 to 10.
Citation Information
Patent Citations
Field wheat stem tiller number extraction method
CN109978047A
Crop growth level measuring system, crop growth level measuring method, crop growth level measuring program, and computer-readable recording medium recorded with the program
JP2003009664A
Plant cultivation apparatus and method
JP2004121033A
Fertilization design method, fertilization design program, and fertilization design system
JP2018082648A
