Gramineae plant leaf parameter acquisition method

The deep instance segmentation model is used to identify the contour coordinate points of stems and leaves, and accurately obtain the leaf parameters of gramineous plants, which solves the problems of inaccurate data and long calculation time in the existing technology, and improves efficiency and accuracy.

CN118822981APending Publication Date: 2024-10-22CHINA AGRI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410882019.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

When the existing technology obtains the leaf parameters of gramineous plants, the data is inaccurate and the calculation takes a long time, and it is easy to misjudge the leaves of other plants as the leaves of the target plant.

Method used

The deep instance segmentation model is used to identify stems and leaves in video images. By recording the outline coordinate point data of stems and leaves, the position of leaves relative to the stem is judged, and the height and number of leaves are accurately obtained. Using preset values ​​and coefficients to reduce misjudgments and optimize the data processing process.

Benefits of technology

It achieves accurate acquisition of the height and number of plant leaves, reduces the complexity and calculation time of data processing, and improves efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118822981A_ABST
    Figure CN118822981A_ABST
Patent Text Reader

Abstract

The invention discloses a gramineous plant leaf parameter acquisition method. The method comprises the following steps: S10, acquiring a video image of a gramineous plant; s20, capturing a picture from the formed video image; s30, identifying stalks and leaves in each frame of picture by using a depth instance segmentation model, and generating a data table recording contour coordinate point data of the stalks and the leaves; s40, judging the transverse position of the leaf relative to the stem based on the contour coordinate point data of the leaf and the stem; s50, if it is judged that the leaf is located on the right side of the stalk, the leftmost coordinate point in the contour coordinate point data of the leaf serves as a node of the leaf; if it is judged that the leaf is located on the left side of the stalk, the rightmost coordinate point in the contour coordinate point data of the leaf serves as a node of the leaf; s60, acquiring a target data table corresponding to a node closest to the vertical center line of the picture from the data table of the nodes with the same blade; and S70, determining the height of the corresponding blade based on the target data table.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of image processing, and in particular to a method for acquiring leaf parameters of a Gramineae plant. Background Art

[0002] As the world's largest food crop, increasing corn yield is one of the effective means to solve the problem of food security, one of the important breeding goals that breeders have always pursued, and one of the key and difficult points in the field of crop genetic improvement research. Corn ear type and plant type are crucial to improving yield and environmental adaptability. Analyzing the genetic structure of corn plant type and ear type is of great significance for guiding breeding work, optimizing hybrid combinations, accelerating the breeding process, and improving the adaptability and yield of corn varieties.

[0003] The acquisition of phenotypic data of corn plant type and ear shape is a prerequisite for analyzing genetic structure, and the leaf parameters of corn plant type (such as the number and height of leaves in a corn plant) are particularly important phenotypic data of corn, so it is necessary to study the methods for obtaining them.

[0004] The traditional acquisition method is to manually measure the blade height and the number of blades. Obviously, this method is extremely inefficient.

[0005] At present, in terms of obtaining phenotypic data of Gramineae plants (such as obtaining leaf height and number), the prior art provides some efficient methods. For example, some technicians have developed an algorithm to extract the 3D skeleton of plants based on the point cloud data obtained by the side-view Time-Of-Flight (TOF) time camera. By analyzing the relationship between the graphic structure of the skeleton and the 3D lines, the point cloud is divided into plant instances with separated stems and leaves, and then phenotypic data such as leaf parameters are extracted. For another example, some technicians use a robot vehicle equipped with a camera to capture the side image of a corn plant, use a convolutional neural network to detect each leaf angle in the two-dimensional image, and use a three-dimensional modeling method to extract phenotypic data such as leaf parameters from the model.

[0006] However, the above method has the following defects: 1. The phenotypic data such as leaf parameters of the obtained plants are inaccurate, for example, leaves of other plants are often recorded as leaves of the target plant. 2. The calculation and analysis of relevant data takes a long time. Summary of the invention

[0007] In view of the above-mentioned technical problems existing in the prior art, an embodiment of the present invention provides a method for obtaining leaf parameters of a Poaceae plant.

[0008] In order to solve the above technical problems, the technical solution adopted in the embodiments of the present invention is:

[0009] A method for obtaining leaf parameters of a Gramineae plant, wherein the leaf parameters include the height of the leaf, and the method comprises the following steps:

[0010] S10: Using a video recording device to record the Gramineae plants in a top-down or bottom-up moving order to obtain video images of the Gramineae plants;

[0011] S20: sequentially intercepting N frames of pictures from the M frames of pictures constituting the video image;

[0012] S30: using the deep instance segmentation model to identify the stems and leaves in each frame of the image, and generating a data table for the identification result of each frame of the image, if the deep instance segmentation model identifies that there are stems and leaves in the image, the corresponding generated data table records the contour coordinate point data of the stem and the contour coordinate point data of the leaf;

[0013] S40: traversing the data in the data table generated for each frame of the image, if the data table contains both the contour coordinate point data of the stem and the contour coordinate point data of the leaf, determining the lateral position of the leaf relative to the stem based on the contour coordinate point data of the leaf and the contour coordinate point data of the stem;

[0014] S50: if it is determined that the leaf is located on the right side of the stem, the leftmost coordinate point in the leaf contour coordinate point data is used as the node between the leaf and the stem; if it is determined that the leaf is located on the left side of the stem, the rightmost coordinate point in the leaf contour coordinate point data is used as the node between the leaf and the stem;

[0015] S60: Obtaining a target data table corresponding to a node closest to a vertical center line of the image from a data table of nodes having the same leaf.

[0016] S70: Determine the height of the corresponding blade based on the target data table.

[0017] Preferably,

[0018] In step S40:

[0019] If the data table contains both the contour coordinate point data of the stem and the contour coordinate point data of the leaf, first determine whether there is a contour coordinate point of the leaf whose vertical straight line distance from the midpoint P2 is less than a preset value Q. If so, determine the horizontal position of the leaf relative to the stem based on the contour coordinate point data of the leaf and the contour coordinate point data of the stem; wherein:

[0020] The midpoint P2 is the midpoint of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the stem.

[0021] Preferably, the setting rule of the preset value Q is: Q=αW / 2; wherein:

[0022] W is the lateral distance between the leftmost contour coordinate point and the rightmost contour coordinate point of the stem; α is a coefficient, 1<α<2.

[0023] 4. The method for obtaining leaf parameters of Gramineae plants according to claim 3, characterized in that the marking rule of the contour coordinate points of the leaf is:

[0024] V = βW; where:

[0025] V is the lateral distance between each adjacent contour coordinate point of the blade, β is a coefficient, β<0.5.

[0026] Preferably, the step of determining the lateral position of the leaf relative to the stem based on the contour coordinate point data of the leaf and the contour coordinate point data of the stem comprises:

[0027] If the midpoint P1 of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the same leaf is located on the left side of the stem, it is judged that the leaf is located on the left side of the stem;

[0028] If the midpoint P1 of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the same leaf is located on the right side of the stem, it is determined that the leaf is located on the right side of the stem.

[0029] Preferably,

[0030] If the midpoint P1 of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the same leaf is located to the left of the midpoint P2 of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the stem, then it is judged that the leaf is located on the left side of the stem;

[0031] If the midpoint of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the same leaf is located to the right of the midpoint P2 of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the stem, the leaf is judged to be located on the right side of the stem.

[0032] Preferably, the blade parameters also include the number of blades;

[0033] Step S30 also includes:

[0034] If the deep instance segmentation model recognizes that there are stems and leaves in the image, the corresponding data table not only records the contour coordinate point data of the stem and the contour coordinate point data of the leaves, but also records the identity ID of the leaves used to distinguish different leaves; the identity ID of the same leaf is the same in different data tables;

[0035] Step S60 also includes:

[0036] Determine the number of leaves on a plant based on the leaf IDs in all data tables.

[0037] Preferably,

[0038] In step 10:

[0039] When recording the plant, height information is configured for each frame of the generated video image;

[0040] Step S30 also includes:

[0041] The generated data table records the height information of the corresponding pictures;

[0042] In step S70:

[0043] The height information in the target data table is the height of the corresponding blade.

[0044] Preferably, before using the deep instance segmentation model to recognize the picture of the video image, the deep instance segmentation model is trained, and the training method is:

[0045] Obtain training images showing both leaves and stems;

[0046] Mark the outlines of leaves and stems with nodes in the training images;

[0047] The deep instance segmentation model is trained by viewing training images labeled with leaf and stem outlines.

[0048] Preferably,

[0049] In step S10:

[0050] The video recording device is used to record the plants in a uniform vertical motion;

[0051] In step S20:

[0052] From the M frames of pictures constituting the video image, N frames of pictures are sequentially captured in the same time interval.

[0053] Compared with the prior art, the method for obtaining leaf parameters of Gramineae plants disclosed in the present invention has the following beneficial effects:

[0054] The method disclosed in the present invention can accurately obtain the height and number of leaves of a plant, and less data is processed, without requiring excessive computing power.

[0055] This summary of various implementations or examples of the technology described in this disclosure is not a comprehensive disclosure of the entire scope or all features of the disclosed technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1The present invention provides a flow chart of the method for obtaining leaf parameters of Gramineae plants.

[0057] Figure 2 Schematic diagram of the ideal result of the deep instance segmentation model identifying a frame of image.

[0058] Figure 3 Schematic diagram of the non-ideal results of the deep instance segmentation model identifying a frame of image. DETAILED DESCRIPTION

[0059] Unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0060] In order to keep the following description of the embodiments of the present invention clear and concise, detailed descriptions of well-known functions and well-known components are omitted.

[0061] like Figure 1 As shown, an embodiment of the present invention discloses a method for obtaining leaf parameters of a grass plant, wherein the leaf parameters include: the height and number of all leaves of each plant; the height of the leaf is defined as: the height of the connection node between each leaf and the stem (hereinafter referred to as the node) from the ground. The method includes:

[0062] S10: Using a video recording device to record the Gramineae plants in a top-down or bottom-up moving order to obtain video images of the Gramineae plants, and configuring height information for each frame of the video image.

[0063] Specifically, before photographing the plants, a photographing device is arranged in front of the plants, the photographing device includes a column and a recording device (such as a camera, a mobile phone with a camera, etc.) arranged on the column, so that the recording device faces the plant to be recorded, and a stepper motor is used to drive the recording device through a transmission mechanism to shoot the plant from top to bottom or from bottom to top. Preferably, the recording device is driven to move vertically at a uniform speed. The height of the recording device corresponding to each frame of the video image is measured using a height sensor or obtained based on the transmission ratio of the stepper motor and the transmission mechanism and the calibrated reference height, and the height is marked in the picture, so that each frame of the picture records the height of the recording device when the picture is generated.

[0064] The horizontal position of the video recording device is adjusted so that, when shooting the plants, the stems appear in the middle of the horizontal position of the video image, thereby making the stems appear in the middle of each frame of the video image.

[0065] The longitudinal position of the video camera (i.e., the vertical distance of the video camera relative to the plant) is adjusted so that, when shooting the plant, the stem and only the area where the leaves are connected to the stem appear in the video image, and the area where the leaves are away from the stem does not need to appear in the video image, thereby reducing the probability of leaves of other plants appearing in the video image, thereby reducing the probability of leaves of other plants appearing in the pictures that make up the video image.

[0066] S20: Sequentially intercept N frames of pictures from the M frames of pictures constituting the video image as pictures to be identified and processed. Preferably, all pictures constituting the video image can be used as pictures to be identified and processed, that is, N=M. Preferably, the video recording device records the plants in a uniform vertical motion mode, and sequentially intercepts pictures from all pictures constituting the video image in a manner with the same time interval, so that the height information in the intercepted pictures increases or decreases in an arithmetic progression.

[0067] Before using the deep instance segmentation model to identify the image, that is, before implementing step S30, the deep instance segmentation model is pre-trained. The specific training method is:

[0068] First, a training picture in which leaves and stems appear at the same time is obtained. Specifically, a video image can be obtained in the manner of step S10, and then, from all pictures constituting the video image, pictures in which stems appear and the area in which leaves are only connected to the stems are intercepted as training pictures, and the nodes of the leaves are located in the area in which the leaves are connected to the stems.

[0069] Then, the outlines of the leaves and stems in the training images are marked;

[0070] Finally, the training pictures marked with the outlines of leaves and stems are viewed by the deep instance segmentation model to train it, so that the deep instance segmentation model can identify the stems and leaves with connected areas to the stems from the pictures when actually used.

[0071] Preferably, YOLOv8 software is selected as the deep instance segmentation model.

[0072] S30: Use the deep instance segmentation model to identify the stems and leaves in each captured frame of the image, and generate a data table for the recognition results of each frame of the image. If the deep instance segmentation model recognizes that there are stems and leaves in the image, the corresponding data table records the contour coordinate point data of the stems and the contour coordinate point data of the leaves, as well as the leaf identity ID used to distinguish different leaves.

[0073] According to the above-mentioned deep instance segmentation model and training method, the desired ideal result is that only leaves with a connection area with the stem in the image can be identified. Such leaves may be called leaves with A features. Leaves with A features indicate that the leaves belong to the target plant rather than other plants. Leaves without a connection area with the stem will not be identified. Such leaves may be called leaves with B features. Leaves with B features include two types of leaves in terms of plant attribution, such as Figure 2 One type of leaf (located in the lower right corner of the picture, with the outline indicated by a dotted line) belongs to the target plant. This leaf has a connection area with the stem. However, the connection area is not displayed in this frame of the picture, but will be displayed in subsequent pictures. The deep instance segmentation model can identify it in subsequent pictures. Another type of leaf (located in the lower left corner of the picture, with the outline indicated by a dotted line) does not belong to the target plant. This type of leaf belongs to other plants. This type of leaf does not have a connection area with the stem in all pictures.

[0074] It can be understood that: by making the number of captured pictures large enough, leaves with feature A can appear in multiple consecutive frames of pictures, and the deep instance segmentation model can identify the leaves with feature A in each frame of the consecutive pictures, so that the contour coordinate point data of the leaf are recorded in the data tables corresponding to these pictures, and the leaf is recorded as the same identity ID.

[0075] S40: Traverse the data in the data table generated for each frame of the image. If the data table contains both the contour coordinate point data of the stem and the contour coordinate point data of the leaf, determine the lateral position of the leaf relative to the stem based on the contour coordinate point data of the leaf and the contour coordinate point data of the stem.

[0076] In the ideal result of the deep instance segmentation model for image recognition, the data table only records the contour coordinate point data of the stem and the contour coordinate point data of the leaf with feature A, but there is no contour coordinate point data of the leaf with feature B. Therefore, the lateral position of the leaf relative to the stem can be directly judged based on the contour coordinate point data of the leaf and the contour coordinate point data of the stem.

[0077] In fact, when the deep instance segmentation model recognizes an image, there is a certain probability that the leaf with feature B is mistakenly identified as the leaf with feature A. Therefore, the contour of the leaf with feature B is marked and the contour coordinate point data is recorded in the data table (such as Figure 3 As shown, the deep instance segmentation model marks the contours of the leaves with B features located at the lower left corner and the lower right corner). In order to reduce the influence of the leaves with B features on subsequent data processing, the following steps are performed before judging the lateral position of the leaves relative to the stem based on the contour coordinate point data of the leaves and the contour coordinate point data of the stem:

[0078] If the data table contains both the contour coordinate point data of the stem and the contour coordinate point data of the leaf, first determine whether there is a contour coordinate point of the leaf whose distance from the vertical line H1 where the midpoint P2 is located is less than a preset value Q.

[0079] If it exists, it means that the leaf has a high probability of being connected to the stem in the frame (for example, Figure 3 In the figure, the leaf located in the upper right corner of the image has a contour coordinate point D2 that meets the composite requirements, and the leaf located near the center line H2 of the image has a contour coordinate point C2 that meets the composite requirements, so it is judged as a leaf with feature A. If it is judged as a leaf with feature A, the lateral position of the leaf relative to the stem is judged based on the contour coordinate point data of the leaf and the contour coordinate point data of the stem; the midpoint P2 is the midpoint of the line connecting the leftmost contour coordinate point E1 of the stem and the rightmost contour coordinate point E2.

[0080] If it does not exist, it means that the leaf is most likely not connected to the stem (for example, Figure 3 In the image, the leaves located at the lower right corner and the lower left corner do not have the required contour coordinate points, so they are judged as leaves with B characteristics. If they are judged as leaves with B characteristics, the contour coordinate point data of the leaf and the assigned identity ID are deleted, and the lateral position of the leaf relative to the stem is not judged.

[0081] The setting rule of the preset value Q is: Q = αW / 2; where:

[0082] W is the lateral distance between the leftmost contour coordinate point and the rightmost contour coordinate point of the stem; α is a coefficient, 1<α<2.

[0083] The setting rule can be roughly understood as: the preset value Q is smaller than the maximum width of the stem. If the vertical straight line H1 from the contour coordinate point of the leaf closest to the stem to the midpoint P2 is smaller than the maximum width of the stem, the leaf is judged as an A feature leaf, otherwise it is a B feature leaf.

[0084] The marking rule of the deep instance segmentation model for the contour coordinate points of the blade is:

[0085] V = βW; V is the lateral distance between each adjacent contour coordinate point of the blade, β is a coefficient, β < 0.5. Try to reduce the value of V to avoid the situation where the actual contour of the blade falls into the contour of the stem or is very close to the contour of the stem, and the distance between the contour coordinate points of the blade in the lateral direction is too large, resulting in no contour coordinate point that meets the distance from the vertical straight line H1 where the midpoint P2 is located less than the preset value Q, thereby misjudging the blade with feature A as a blade with feature B.

[0086] Determining the lateral position of the leaf relative to the stem based on the contour coordinate point data of the leaf and the contour coordinate point data of the stem specifically includes:

[0087] If the midpoint P1 of the line connecting the leftmost contour coordinate point C3 and the rightmost contour coordinate point C1 of the same leaf is located to the left of the midpoint P2 of the line connecting the leftmost contour coordinate point E1 and the rightmost contour coordinate point E2 of the stem, then the leaf is judged to be located on the left side of the stem.

[0088] If the midpoint of the line connecting the leftmost contour coordinate point D1 and the rightmost contour coordinate point D3 of the same leaf is located to the right of the midpoint P2 of the line connecting the leftmost contour coordinate point E1 and the rightmost contour coordinate point E2 of the stem, then the leaf is judged to be located on the right side of the stem.

[0089] S50: If it is determined that the leaf is on the right side of the stem, the leftmost coordinate point C1 in the leaf contour coordinate point data is used as the node between the leaf and the stem; if it is determined that the leaf is on the left side of the stem, the rightmost coordinate point D1 in the leaf contour coordinate point data is used as the node between the leaf and the stem.

[0090] S60: Obtaining a target data table corresponding to a node closest to a vertical center line of the image from a data table of nodes having the same leaf.

[0091] Specifically, as explained above, the same leaf can appear in multiple consecutive pictures. If the node is located in the upper part of one (or some) picture, it means that the camera is shooting below the node; if the node is located in the lower part of one (or some) picture, it means that the camera is shooting above the node. This is because the farther the node is from the center line H2 of the picture, the greater the difference in height between the camera height corresponding to the picture and the node, and the closer the node is to the center line H2 of the picture, the smaller the difference in height between the camera height corresponding to the picture and the node. Therefore, the height of the camera height corresponding to the picture in which the node is closest to the center line H2 is taken as the height of the leaf.

[0092] S70: Determine the height of the corresponding blade based on the target data table and the identity IDs of the blades in all the data tables to determine the number of blades.

[0093] Specifically, since the target data table records the height information of the image of the node closest to the center line H2, the height information is the height of the leaf. All data tables are traversed, and thus, different leaves have different identity IDs, and thus, the number of different identity IDs in the data table is the number of leaves.

[0094] In addition, although exemplary embodiments have been described in the present invention, the scope includes any and all embodiments based on the present invention with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of this application, and their examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.

[0095] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, a person of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the present invention. This should not be interpreted as an intention that a disclosed feature that is not required to be protected is necessary for any claim. On the contrary, the subject matter of the present invention may be less than all the features of a specific disclosed embodiment. Thus, the following claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present invention should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.

[0096] The above embodiments are only exemplary embodiments of the present invention and are not intended to limit the present invention. The protection scope of the present invention is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present invention within the essence and protection scope of the present invention, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present invention.

Claims

1. A method for obtaining leaf parameters of a Gramineae plant, characterized in that: The blade parameters include the height of the blade, and the method includes the following steps: S10: Using a video recording device to record the Gramineae plants in a top-down or bottom-up moving order to obtain video images of the Gramineae plants; S20: sequentially intercepting N frames of pictures from the M frames of pictures constituting the video image; S30: using the deep instance segmentation model to identify the stems and leaves in each frame of the image, and generating a data table for the identification result of each frame of the image, if the deep instance segmentation model identifies that there are stems and leaves in the image, the corresponding generated data table records the contour coordinate point data of the stem and the contour coordinate point data of the leaf; S40: traversing the data in the data table generated for each frame of the image, if the data table contains both the contour coordinate point data of the stem and the contour coordinate point data of the leaf, determining the lateral position of the leaf relative to the stem based on the contour coordinate point data of the leaf and the contour coordinate point data of the stem; S50: if it is determined that the leaf is located on the right side of the stem, the leftmost coordinate point in the leaf contour coordinate point data is used as the node between the leaf and the stem; if it is determined that the leaf is located on the left side of the stem, the rightmost coordinate point in the leaf contour coordinate point data is used as the node between the leaf and the stem; S60: Obtaining a target data table corresponding to a node closest to a vertical center line of the image from a data table of nodes having the same leaf. S70: Determine the height of the corresponding blade based on the target data table.

2. The method for obtaining leaf parameters of Gramineae plants according to claim 1, characterized in that: In step S40: If the data table contains both the contour coordinate point data of the stem and the contour coordinate point data of the leaf, first determine whether there is a contour coordinate point of the leaf whose vertical straight line distance from the midpoint P2 is less than a preset value Q. If so, determine the horizontal position of the leaf relative to the stem based on the contour coordinate point data of the leaf and the contour coordinate point data of the stem; wherein: The midpoint P2 is the midpoint of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the stem.

3. The method for obtaining leaf parameters of Gramineae plants according to claim 2, characterized in that: The setting rule of the preset value Q is: Q = αW / 2; where: W is the lateral distance between the leftmost contour coordinate point and the rightmost contour coordinate point of the stem; α is a coefficient, 1<α<2.

4. The method for obtaining leaf parameters of Gramineae plants according to claim 3, characterized in that: The marking rules for the contour coordinate points of the blade are: V = βW; where: V is the lateral distance between each adjacent contour coordinate point of the blade, β is a coefficient, β<0.

5.

5. The method for obtaining leaf parameters of Gramineae plants according to claim 3, characterized in that: The method of determining the lateral position of the leaf relative to the stem based on the contour coordinate point data of the leaf and the contour coordinate point data of the stem includes: If the midpoint P1 of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the same leaf is located on the left side of the stem, it is judged that the leaf is located on the left side of the stem; If the midpoint P1 of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the same leaf is located on the right side of the stem, it is determined that the leaf is located on the right side of the stem.

6. The method for obtaining leaf parameters of Gramineae plants according to claim 5, characterized in that: If the midpoint P1 of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the same leaf is located to the left of the midpoint P2 of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the stem, then it is judged that the leaf is located on the left side of the stem; If the midpoint of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the same leaf is located to the right of the midpoint P2 of the line connecting the leftmost contour coordinate point and the rightmost contour coordinate point of the stem, the leaf is judged to be located on the right side of the stem.

7. The method for obtaining leaf parameters of Gramineae plants according to claim 1, characterized in that: The blade parameters also include the number of blades; Step S30 also includes: If the deep instance segmentation model recognizes that there are stems and leaves in the image, the corresponding data table not only records the contour coordinate point data of the stem and the contour coordinate point data of the leaves, but also records the identity ID of the leaves used to distinguish different leaves; the identity ID of the same leaf is the same in different data tables; Step S60 also includes: Determine the number of leaves on a plant based on the leaf IDs in all data tables.

8. The method for obtaining leaf parameters of Gramineae plants according to claim 1, characterized in that: In step 10: When recording the plant, height information is configured for each frame of the generated video image; Step S30 also includes: The generated data table records the height information of the corresponding pictures; In step S70: The height information in the target data table is the height of the corresponding blade.

9. The method for obtaining leaf parameters of Gramineae plants according to claim 1, characterized in that: Before using the deep instance segmentation model to recognize the pictures of the video image, the deep instance segmentation model is trained. The training method is: Obtain training images showing both leaves and stems; Mark the outlines of leaves and stems with nodes in the training images; The deep instance segmentation model is trained by viewing training images labeled with leaf and stem outlines.

10. The method for obtaining leaf parameters of Gramineae plants according to claim 1, characterized in that: In step S10: The video recording device is used to record the plants in a uniform vertical motion; In step S20: From the M frames of pictures constituting the video image, N frames of pictures are sequentially captured in the same time interval.