Point cloud-based visualization method for three-dimensional spatial distribution of plant chlorophyll content

Through a point cloud-based method, a regression model of chlorophyll content and color factors is established and a three-dimensional model is reconstructed, which solves the shortcomings of traditional measurement methods, realizes the visualization of the three-dimensional spatial distribution of plant chlorophyll content, and provides fast and accurate measurement and growth monitoring. tool.

CN113610965BActive Publication Date: 2024-09-24NANJING FORESTRY UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110921475.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-11
Publication Date
2024-09-24
Estimated Expiration
2041-08-11

AI Technical Summary

Technical Problem

Existing technology cannot measure plant chlorophyll content quickly, accurately, and non-destructively, and traditional methods can only measure a single point on a single leaf, making it difficult to visualize the three-dimensional spatial distribution of plant chlorophyll content.

Method used

Using a point cloud-based method, color image data of plant leaves are collected through visible light cameras, combined with the data detected by the chlorophyll content measuring instrument, using color factors and feature point matching to establish a regression model for chlorophyll content, reconstruct the three-dimensional plant model, and conduct pseudo-color Processed to visualize the three-dimensional spatial distribution of chlorophyll content.

Benefits of technology

It realizes the visualization of the three-dimensional spatial distribution of plant chlorophyll content, can quickly, accurately and non-destructively measure the chlorophyll content distribution of the entire plant, and provides guidance for growth monitoring, fertilization management and yield estimation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113610965B
    Figure CN113610965B
Patent Text Reader

Abstract

The present invention discloses a method for visualizing the three-dimensional spatial distribution of plant chlorophyll content based on point cloud, including: collecting color image data of plant leaves; detecting the collected chlorophyll content of plant leaves by a chlorophyll content measuring instrument; extracting color factors from the color image data of plant leaves; performing correlation analysis between the chlorophyll content detected by the chlorophyll content measuring instrument and the extracted color factors, and establishing an optimal regression model for chlorophyll content; applying the optimal regression model for chlorophyll content to the reconstructed three-dimensional plant model to obtain the corresponding chlorophyll content values ​​of all points, and realizing visualization of the three-dimensional spatial distribution of plant chlorophyll content after pseudo-color processing. The present invention solves the problem that the chlorophyll content cannot be measured in large quantities, quickly, accurately, and non-destructively in the current plant phenotypic information extraction, and realizes the visualization of the three-dimensional spatial distribution of plant chlorophyll content, so as to intuitively observe the distribution of plant chlorophyll content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image analysis, and more specifically to a visualization method for three-dimensional spatial distribution of plant chlorophyll content based on point clouds. Background Art

[0002] When analyzing physiological and biochemical parameters of plants, it is a common method to collect plant images through computer vision technology and analyze the color information in the image data and the parameters detected by the physiological and biochemical content measuring instrument to establish a mathematical estimation model. Among them, using a visible light camera to collect two-dimensional images has the advantages of low cost and easy acquisition, and is a more commonly used method in the field of computer vision. Two-dimensional plant images can only be used for unilateral imaging analysis of plants. However, plants have complex spatial morphological structures, obvious morphological structures and physiological and biochemical changes during growth, and the topological structure is generally complex. It is difficult to obtain accurate measurement values ​​from two-dimensional image analysis alone, and it is impossible to obtain complete morphological and structural information of plants, such as the leaf area of ​​the curved leaf surface of the plant, and the parameters of organs blocked by some branches and leaves. By establishing a three-dimensional spatial stereo model of the plant, the color information of each organ of the plant can be accurately analyzed, which can be used to explore the changing laws of physiological and biochemical parameters of each organ of the plant during the entire growth cycle of the plant, which is of great value to plant fertilization management, phenotypic monitoring, and pest and disease identification research.

[0003] When plants perform photosynthesis, chlorophyll plays an important role in the absorption and utilization of light energy. The distribution of chlorophyll content in plants can be used as a basis for whether the plants are lacking in nutrients or affected by the environment. The chlorophyll content of plants is correlated with the nitrogen content, and the chlorophyll content can be used as an important indicator for the precise management of plant nitrogen fertilizer. Guiding plant fertilization by chlorophyll content can not only effectively reduce fertilizer waste, but also avoid excessive fertilization. However, traditional chlorophyll content determination can only be performed on plants at specific times or growth stages. Some even separate the leaves from the plants by breaking, picking, cutting, etc. for destructive measurement, which is labor-intensive and inefficient, and can only measure a single point on a single leaf. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a point cloud-based visualization method for the three-dimensional spatial distribution of plant chlorophyll content in response to the deficiencies of the above-mentioned prior art. The point cloud-based visualization method for the three-dimensional spatial distribution of plant chlorophyll content solves the problem that the current plant phenotypic information extraction cannot measure chlorophyll content in large quantities, quickly, accurately and non-destructively, and realizes the visualization of the three-dimensional spatial distribution of plant chlorophyll content, so as to intuitively observe the distribution of plant chlorophyll content.

[0005] In order to achieve the above technical objectives, the technical solution adopted by the present invention is:

[0006] The method for visualizing the three-dimensional spatial distribution of plant chlorophyll content based on point cloud includes the following steps:

[0007] S1, calibrating the color information parameters of the visible light camera and collecting color image data of plant leaves;

[0008] S2, detecting the chlorophyll content of the collected plant leaves by using a chlorophyll content measuring instrument;

[0009] S3, processing the collected color image data of the plant leaves to extract color factors;

[0010] S4, performing correlation analysis on the chlorophyll content detected by the chlorophyll content measuring instrument and the color factor extracted after the above treatment, and establishing an optimal regression model for the chlorophyll content;

[0011] S5, collecting color image data of plants from multiple viewing angles;

[0012] S6, using scale and rotation invariance algorithms to extract feature point information from plant color images collected from multiple perspectives;

[0013] S7, matching the feature points in each plant color image in S6 by neighboring search;

[0014] S8, obtaining a three-dimensional plant model with color information by using a structure-from-motion algorithm;

[0015] S9. Apply the optimal regression model of chlorophyll content established in S4 to the three-dimensional plant model reconstructed in S8 to obtain the corresponding chlorophyll content values ​​of all points, and realize the visualization of the three-dimensional spatial distribution of plant chlorophyll content through pseudo-color processing.

[0016] As a further improved technical solution of the present invention, the visible light camera color information parameter calibration in step S1 specifically includes the following steps:

[0017] S11. First, collect red, green, and blue primary color card images through a visible light camera, wherein the RGB color channel values ​​of the red color card are (255, 0, 0), the RGB color channel values ​​of the green color card are (0, 255, 0), and the RGB color channel values ​​of the blue color card are (0, 0, 255);

[0018] S12, extract the R channel from the red color card image, extract the G channel from the green color card image, extract the B channel from the blue color card image, calculate the average pixel value under the R channel, record it as Y_r, calculate the average pixel value under the G channel, record it as Y_g, calculate the average pixel value under the B channel, record it as Y_b, where the average pixel value calculation formula is as follows:

[0019]

[0020] Among them, Y_x is the value of the average pixel under the x channel, f x (i,j) is the value of row i and column j in channel x;

[0021] S13, the average pixel value of each channel obtained in step S12 is calculated with the theoretical value to obtain the color correction ratio coefficient Z_r under the R channel, the color correction ratio coefficient Z_g under the G channel, and the color correction ratio coefficient Z_b under the B channel, wherein the calculation function of the color correction ratio coefficient is as follows:

[0022]

[0023] Among them, Z_x is the color correction ratio coefficient under the x channel, and Y_x is the value of the average pixel under the x channel;

[0024] S14: Apply the color correction proportional coefficients of each channel obtained in step S13 to all color images subsequently captured by the visible light camera to achieve color correction.

[0025] As a further improved technical solution of the present invention, the chlorophyll content of the plant leaves collected by the chlorophyll content measuring instrument in step S2 is specifically:

[0026] S21, calibrating the chlorophyll content measuring instrument;

[0027] S22. Measure the chlorophyll contents at three different locations on the collected single plant leaf, and take the average value of the chlorophyll contents at the three different locations as the chlorophyll content of the plant leaf.

[0028] As a further improved technical solution of the present invention, the step S3 specifically includes:

[0029] S31, first converting the collected plant leaf color image into a grayscale image;

[0030] S32, performing binarization processing on the converted grayscale image to achieve segmentation between plant leaves and background;

[0031] S33, if there are certain noise points in the plant leaf image after the binarization processing, perform image noise reduction processing;

[0032] S34, performing mask processing on the image collected in step S1 and the binary image after the noise reduction processing in step S33 by using an image mask algorithm, wherein the mask processing means: taking the white pixel area in the binary image after the noise reduction processing in step S33 as the region of interest ROI, performing a bit operation on the region of interest ROI and the image collected in step S1, after the bit operation, the obtained value is still the same, and the image values ​​of other areas become 0, thereby achieving complete separation of the plant leaf part and the background in the image;

[0033] S35, converting the plant leaf image after the mask processing in step S34 into different color spaces, the different color spaces include RGB color space, La*b* color space, and HSV color space, extracting color factors from different color spaces, the color factors include R, G, B, H, S, V, L, a, and b; calculating the number of pixels occupied by the plant leaves and the sum of the color factors under a single channel, and dividing the sum of the color factors under a single channel by the number of pixels occupied by the plant leaves as the value of the color factor of the plant leaves under the channel;

[0034]

[0035] Among them, F x (i, j) is the value of row i and column j under the x channel, S is the number of pixels occupied by the calculated plant leaves, and F x is the value of the color factor of the plant leaf in the x channel; the x channel refers to the R, G, B color factors in the RGB color space, the H, S, V color factors in the HSV color space, or the L, a, b color factors in the La*b* color space;

[0036] Calculate the color factor combination value, the color factor combination value includes G 2 ;

[0037] S36, normalize the color factor values ​​and color factor combination values ​​obtained in each channel in step S35, and convert the original values ​​in the range [0, 255] to the range [0, 1].

[0038] As a further improved technical solution of the present invention, the step S4 specifically includes:

[0039] A linear and nonlinear polynomial regression model is established by combining the color factors extracted from different channels in different color spaces obtained in step S3 and the color factor combination values ​​with the chlorophyll content values ​​of plant leaves detected by the chlorophyll content meter in step S2, and a variety of model evaluation indicators are used to select the model with the best fitting performance as the optimal regression model for chlorophyll content.

[0040] As a further improved technical solution of the present invention, the step S5 specifically includes:

[0041] The visible light camera is kept stationary and the plant is placed on a tray and rotated, or the plant is kept stationary and the visible light camera is placed on a platform and rotated around the plant. Image acquisition is performed for each plant at a rotation angle interval of 18°, and 20 color image data of the plant are collected in one circle.

[0042] As a further improved technical solution of the present invention, the step S9 specifically includes:

[0043] A91, applying the optimal regression model of chlorophyll content in step S4 to the normalized color information of the three-dimensional plant model reconstructed in step S8, so that the normalized color information of the three-dimensional model is converted into an estimated value of chlorophyll content;

[0044] A92, the distribution range of the estimated chlorophyll content in step A91 is [0, 100], and the distribution range of the estimated chlorophyll content is stretched to [0, 255] to obtain the full gray value interval distribution of the plant chlorophyll content;

[0045] A93. Perform pseudo-color processing on the three-dimensional plant model processed in step A92, so that the chlorophyll content of the plant is visualized according to the spatial distribution.

[0046] The beneficial effects of the present invention are:

[0047] The visualization method of the three-dimensional spatial distribution of plant chlorophyll content based on point cloud establishes a regression model between chlorophyll content and plant color factors and color factor combinations and reconstructs a three-dimensional model of the plant. The regression model is applied to the point cloud and pseudo-color processing is performed to realize the visualization of the three-dimensional spatial distribution of plant chlorophyll content. The problem that the current plant phenotypic information extraction cannot measure chlorophyll content in large quantities, quickly, accurately and non-destructively is solved, and the visualization of the three-dimensional spatial distribution of plant chlorophyll content is realized, so that the distribution of plant chlorophyll content can be observed intuitively, which can provide guidance for plant growth monitoring, yield estimation, precise fertilization management, and aging degree judgment; the chlorophyll content of the plant can be measured at any time, and the chlorophyll content of any point on the plant leaf can be measured and visualized. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 The figure is a schematic flow chart of the method for visualizing the three-dimensional spatial distribution of plant chlorophyll content based on point cloud of the present invention.

[0049] Figure 2 It is a schematic diagram of the plant leaf image processing flow in the point cloud-based three-dimensional spatial distribution visualization method of plant chlorophyll content of the present invention.

[0050] Figure 3 It is a schematic diagram of the spatial visualization processing flow of chlorophyll content in the point cloud-based three-dimensional spatial distribution visualization method of plant chlorophyll content of the present invention.

[0051] Figure 4 (a) is a schematic diagram of a three-dimensional point cloud model of Arabidopsis thaliana in an application example of spatial visualization of chlorophyll content in the point cloud-based three-dimensional spatial distribution visualization method of plant chlorophyll content of the present invention.

[0052] Figure 4 (b) is a schematic diagram of visualization of the spatial distribution of chlorophyll content in Arabidopsis thaliana in an application example of spatial visualization of chlorophyll content in the point cloud-based three-dimensional spatial distribution visualization method of plant chlorophyll content of the present invention.

[0053] Figure 4 (c) is a schematic diagram of the three-dimensional point cloud model of osmanthus fragrans leaves in the application example of spatial visualization of chlorophyll content in the point cloud-based three-dimensional spatial distribution visualization method of plant chlorophyll content of the present invention.

[0054] Figure 4 (d) is a schematic diagram of visualization of the spatial distribution of chlorophyll content in osmanthus fragrans leaves in an application example of spatial visualization of chlorophyll content in the point cloud-based three-dimensional spatial distribution visualization method of plant chlorophyll content of the present invention.

[0055] Figure 5 (a) is Figure 4 Grayscale image of (a).

[0056] Figure 5 (b) is Figure 4 Grayscale image in (b).

[0057] Figure 5 (c) is Figure 4 Grayscale image in (c).

[0058] Figure 5 (d) is Figure 4 Grayscale image in (d). DETAILED DESCRIPTION

[0059] The specific embodiments of the present invention are further described below according to the accompanying drawings:

[0060] like Figure 1 FIG. 1 is a flow chart of an embodiment of a method for visualizing the three-dimensional spatial distribution of plant chlorophyll content based on point cloud. The image analysis method includes:

[0061] S1, calibrate the color information parameters of the visible light camera and collect color image data of plant leaves.

[0062] S2, detecting the chlorophyll content of the collected plant leaves by using a chlorophyll content measuring instrument.

[0063] S3, input the collected color image data of the plant leaves into the image processing program, process the plant leaf images and extract the image color factors, including R, G, B, G*G, H, S, V, L, a, b, among which R, G, B, H, S, V, L, a, b are color factors under a single channel, G*G, It is the combined color factor, which can also be called color factor combination.

[0064] S4, establishing a regression model between the chlorophyll content of plant leaves detected by the chlorophyll content meter and the color factors extracted after the above processing.

[0065] S5, rotation shooting (the visible light camera does not move, the plant is placed on the tray and rotates, or the plant does not move, the visible light camera is placed on the platform and rotates around the plant), collects color image data of the plant from multiple perspectives, and collects images at a rotation angle interval of 18°, and collects 20 color image data of the plant in one circle.

[0066] S6, using the scale-invariant feature transform (SIFT) algorithm, extracts feature point information from plant color images collected from multiple perspectives.

[0067] S7, matching the feature points in each plant color image in S6 through a proximity search.

[0068] S8, obtaining a three-dimensional plant model with color information through a structure from motion (SFM) algorithm.

[0069] S9, applying the regression model established in S4 to the three-dimensional plant model reconstructed in S8, obtaining the corresponding chlorophyll content values ​​of all points and stretching them to the range of [0, 255], and realizing the visualization of the three-dimensional spatial distribution of plant chlorophyll content through pseudo-color processing.

[0070] The color image data of the plant leaves in step S1 is collected by a visible light camera to ensure that the light environment, the position of the visible light camera and other conditions are consistent. Before collecting, the color parameters of the visible light camera are calibrated. The color parameter calibration of the visible light camera includes the following steps:

[0071] S11 first collects red, green, and blue primary color card images through a visible light camera, where the RGB color channel values ​​of the red, green, and blue color cards are (255, 0, 0), (0, 255, 0), and (0, 0, 255), respectively.

[0072] S12 extracts the R channel from the collected red color card image, extracts the G channel from the collected green color card image, extracts the B channel from the collected blue color card image, calculates the average pixel value Y_r under the R channel, calculates the average pixel value Y_g under the G channel, and calculates the average pixel value Y_b under the B channel, where the average pixel calculation formula is as follows:

[0073]

[0074] Among them, Y_x is the value of the average pixel in the x channel, f x (i,j) is the value of row i and column j under channel x.

[0075] S13 calculates the average pixel value of each channel obtained in S12 and the theoretical value to obtain the color correction ratio coefficient Z_r under the R channel, the color correction ratio coefficient Z_g under the G channel, and the color correction ratio coefficient Z_b under the B channel, wherein the calculation function of the color correction ratio coefficient is as follows:

[0076]

[0077] Among them, Z_x is the color correction ratio coefficient under the x channel, and Y_x is the value of the average pixel under the x channel.

[0078] S14 applies the color correction proportional coefficients of each channel obtained in S13 to all subsequent color images for color correction.

[0079] When the chlorophyll content measuring instrument is used to collect data in step S2, the measuring instrument is first calibrated. After the calibration is completed, the plant leaf (avoiding the veins) is inserted and the measuring probe is closed. Three different locations on the plant leaf are found to repeat this operation, and the average of the three measurement values ​​is taken as the leaf chlorophyll content collected in S1.

[0080] like Figure 2 As shown, the image processing algorithm for processing the plant leaf image and extracting the image color factor in step S3 includes the following steps:

[0081] S31 first converts the plant leaf color image into a grayscale image. The conversion function is as follows:

[0082]

[0083] Among them, I is the gray value, f x (i,j) is the value of row i and column j under channel x.

[0084] S32 performs binarization processing on the grayscale image converted in S31 to achieve segmentation between plant leaves and background.

[0085] S33 If there are certain noise points in the plant leaf image after the threshold processing in S32, the opening operation algorithm in image morphology is set to be used and a suitable convolution kernel is set to perform image noise reduction processing. The opening operation function is as follows:

[0086]

[0087] Where A is the image set, B is the convolution kernel, D is the dilation operation, and E is the erosion operation.

[0088] S34 performs mask processing on the image in S1 and the binary image after noise reduction processing in S33 through an image mask algorithm. The mask processing refers to using the white pixel area in the binary image processed by S33 as the region of interest ROI (Region of Interest) to perform bit operation with the image in S1. When the value in the image of S1 is subjected to bit operation with the region of interest, the value obtained is still the value itself, and the value of other parts of the image becomes 0, thereby achieving complete separation of the plant leaf part from the background in the image.

[0089] S35 converts the plant leaf image after the mask processing in S34 into different color spaces, including RGB (Red, Green, Blue) color space, La*b* (Lab color space) color space, HSV (Hue, Saturation, Value) color space, as shown in Table 1, which extracts color factors and their combinations from different color spaces. The number of pixels occupied by the plant leaves and the sum of the color factors under a single channel are calculated, and the sum of the color factors under a single channel is divided by the number of pixels occupied by the plant leaves as the value of the color factor of the plant leaves under the channel.

[0090]

[0091] Among them, F x (i, j) is the value of row i and column j under the x channel, S is the number of pixels occupied by the calculated plant leaves, and F x It is the value of the color factor under the x channel. The x channel refers to the R, G, B color factors in the RGB color space, the H, S, V color factors in the HSV color space, and the L, a, b in the La*b* color space.

[0092] The three color factors R, G, and B are combined and calculated, and the color component that can reflect the degree of green is considered to be converted into another 4 common color factors (i.e. G 2 , G 2 is the combined color factor, also called color factor combination).

[0093] Table 1:

[0094]

[0095] S36 normalizes the values ​​of the color factors of each channel obtained in the above S35 and the color factor combination values, and converts the values ​​in the original value range [0, 255] to the range [0, 1].

[0096] In step S4, the color factors extracted from different channels in different color spaces obtained in S3 and the color factor combinations are used to establish linear and nonlinear polynomial regression models with the chlorophyll content values ​​of plant leaves detected by the chlorophyll content meter in S2; specifically, a single or multiple color factors are randomly selected from all the color factors in Table 1, and the relationship between these color factors and the chlorophyll content values ​​of plant leaves detected by the chlorophyll content meter is analyzed to establish linear and nonlinear polynomial regression models. The model with the best fitting performance is selected as the optimal regression model using a variety of model evaluation indicators. The various model evaluation indicators include root mean square error RMSE, determination coefficient R 2 .

[0097]

[0098] The above formula is a unified expression of the established regression model, where Y is the chlorophyll content obtained by the regression model, X 1 , X 2 …X n is the color factor and color factor combination of each channel in n different color spaces, that is, the n color factors in Table 1, n is greater than or equal to 1 and less than or equal to 13, w 1 、w 2 …w n is the weight coefficient, A 1 , A 2 …A n is the base of the logarithm, B is the bias coefficient, a, b, c…n are the degree terms, as shown in Table 2, the color factor regression model under different color spaces. The RMSE in Table 2 represents the average prediction error compared with the measured value, and the lower the value, the higher the accuracy. 2 Indicates the model fitting effect, the percentage of measurement variance explained by the algorithm model, with a value range of [0, 1], R 2The larger it is, the better the model fit is.

[0099]

[0100]

[0101] where y real is the true value obtained by the handheld chlorophyll meter, dimensionless unit; y pred is the value predicted by the multi-color factor correlation model, dimensionless unit; m is the number of data, unit is group; y mean It is the average value of all multi-color factor correlation model predictions, dimensionless units.

[0102] Table 2:

[0103]

[0104]

[0105] In Table 2, numbers 1-5 are the established linear regression models, and numbers 6-15 are the established nonlinear regression models. It can be seen from the table that the regression model 14 constructed by the color factors lg(G), R, G, B, G / R, G / B and the regression model 15 constructed by the color factors lg(G), R, G, B, G / (R+B) have a determination coefficient R 2 Both are as high as 0.73, but the model 14 with G / R and G / B color factors has a smaller error (RMSE = 2.16 < 2.21). Therefore, regression model 14: Y = -8.51*lg(G) + 11.68*R-26.48*G + 18.30*B + 2.81*G / R + 3.85*G / B + 40 has the best fit with the SPAD value, showing the most significant regression, and is the best chlorophyll content fitting model. G / R and G / B have been proven in the linear regression model to better reflect the greenness of plant leaves than the G / (R+B) color factor. The effects of the quadratic regression models No. 7-10 and the logarithmic regression models No. 11-15 also confirm that G / R and G / B can be adjusted separately as two parameters, so as to better fit the relative greenness of plant leaves.

[0106] The specific implementation of collecting the color image data of the plant under multiple viewing angles in step S5 is to place the visible light camera on the tray and rotate the plant or to place the visible light camera on the platform and rotate it around the plant. The device is precisely controlled to rotate in a circle, and the image is collected for each plant at an interval of 18°, and 20 color image data of the plant are collected in one circle.

[0107] The plant image feature detection in step S6 uses the SIFT algorithm. The SIFT algorithm calculates the location information (x, y) of the feature point through Gaussian filters of different sizes, and also provides a descriptor information. In the square histogram around a feature point, each histogram contains the gradient direction, and a multi-dimensional feature vector is obtained to realize the feature detection of the plant image.

[0108] In the feature matching in step S7, the nearest neighbor distance is set to d1 through the neighbor search algorithm, and then the distance between the second closest matching pair of points is found to be d2. If the ratio of the two distances d1 and d2 is less than a threshold, it can be determined as an acceptable matching pair. The matching points are calculated using the random sample consensus (RANSC) algorithm to calculate the basic matrix, and the matching pairs that do not meet the basic matrix are eliminated. The principle function of feature point matching is as follows:

[0109]

[0110] where f d1 is the feature point, f d2 is another feature point on the image, f nn is the feature vector of the nearest neighbor, and F(J) is image J.

[0111] like Figure 3 As shown, the visualization of the three-dimensional spatial distribution of chlorophyll content in S9 includes the following steps:

[0112] S91 applies the chlorophyll content regression model in S4 to the normalized color information of the three-dimensional plant model reconstructed in S8, so that the normalized color information of the three-dimensional model is converted into an estimated value of the chlorophyll content.

[0113] S92 The estimated chlorophyll content value range in the above S91 is [0, 100]. The estimated chlorophyll content value distribution range is stretched to [0, 255] to obtain the full grayscale value interval distribution of the plant chlorophyll content.

[0114] S93 performs pseudo-color processing on the three-dimensional plant model processed in S92, so that the chlorophyll content of the plant is visualized according to the spatial distribution.

[0115] r(i, j = T R [f(i, j)]

[0116] g(i, j = T G [f(i, j)]

[0117] b(i,j=T B [f(i,j)]

[0118] Among them, r(i,j), g(i,j, b(i,j) are the values ​​of the red, green and blue components of the pseudo-color image, f(i,j) is the grayscale of the original image, and T R , T B , T G They represent the linear mapping relationship between grayscale and the three primary colors R, G, and B. R The linear mapping relationship refers to the gray level lower than H max / 2 are mapped to the darkest red; the gray value is in H max / 2~3H max / 4, the brightness of red increases linearly with the grayscale level; the grayscale value is between 3H max / 4~H max In between, red remains unchanged at the brightest level; T B , T C With the above T R The mapping relationship is the same, where H max The maximum grayscale value is 255.

[0119] Figure 4 Schematic diagram of an application example of spatial visualization of chlorophyll content (Arabidopsis thaliana and osmanthus fragrans leaves) in the point cloud-based three-dimensional spatial distribution visualization method of plant chlorophyll content of the present invention. Figure 4 (a) is a schematic diagram of the Arabidopsis thaliana three-dimensional point cloud model built according to steps S5-S8. Figure 4 (b) is a visualization diagram of the spatial distribution of chlorophyll content in Arabidopsis thaliana established according to step S9. Figure 4 (c) is a schematic diagram of the three-dimensional point cloud model of the osmanthus tree leaf constructed according to steps S5-S8.

[0120] Figure 4 (d) is a visualization diagram of the spatial distribution of chlorophyll content in osmanthus fragrans leaves established according to step S9. Figure 5 for Figure 4 Grayscale image of .

[0121] The present invention processes plant leaf images, extracts color factors and combinations of plant leaves, establishes a regression model between the color factors and combinations of plant leaves and the chlorophyll content obtained by a chlorophyll content measuring instrument, and applies the regression model to a three-dimensional plant model, obtains the chlorophyll content of all point clouds, and after normalization and pseudo-color processing, obtains a distinct spatial distribution of the chlorophyll content of the plant. The chlorophyll content of the entire plant is displayed in different colors on the three-dimensional structure of the plant, and changes can be seen before "the naked eye sees the changes" and quantitative analysis can be performed.

[0122] The point cloud-based visualization method of the three-dimensional spatial distribution of plant chlorophyll content provides guidance for plant growth monitoring, yield estimation, precise fertilization management, and aging degree assessment, which is of great significance.

[0123] The protection scope of the present invention includes but is not limited to the above embodiments. The protection scope of the present invention shall be based on the claims. Any replacement, deformation, and improvement of the technology that can be easily thought of by technicians in this field shall fall within the protection scope of the present invention.

Claims

1. A point cloud-based visualization method for the three-dimensional spatial distribution of plant chlorophyll content, characterized by: The following steps are involved: S1, calibrating the color information parameters of the visible light camera and collecting color image data of plant leaves; S2, detecting the chlorophyll content of the collected plant leaves by using a chlorophyll content measuring instrument; S3, processing the collected color image data of the plant leaves to extract color factors; S4, performing correlation analysis on the chlorophyll content detected by the chlorophyll content measuring instrument and the color factor extracted after the above treatment, and establishing an optimal regression model for the chlorophyll content; S5, collecting color image data of plants from multiple viewing angles; S6, using scale and rotation invariance algorithms to extract feature point information from plant color images collected from multiple perspectives; S7, matching the feature points in each plant color image in S6 by neighboring search; S8, obtaining a three-dimensional plant model with color information by using a structure-from-motion algorithm; S9, applying the optimal regression model of chlorophyll content established in S4 to the three-dimensional plant model reconstructed in S8, obtaining the corresponding chlorophyll content values ​​of all points, and realizing the visualization of the three-dimensional spatial distribution of chlorophyll content of the plant through pseudo-color processing; The visible light camera color information parameter calibration in step S1 specifically includes the following steps: S11. First, collect red, green, and blue primary color card images through a visible light camera, wherein the RGB color channel values ​​of the red color card are (255, 0, 0), the RGB color channel values ​​of the green color card are (0, 255, 0), and the RGB color channel values ​​of the blue color card are (0, 0, 255); S12, extract the R channel from the red color card image, extract the G channel from the green color card image, extract the B channel from the blue color card image, calculate the average pixel value under the R channel, record it as Y_r, calculate the average pixel value under the G channel, record it as Y_g, calculate the average pixel value under the B channel, record it as Y_b, where the average pixel value calculation formula is as follows: Among them, Y_x is the value of the average pixel under the x channel, f x (i,j) is the value of row i and column j in channel x; S13, the average pixel value of each channel obtained in step S12 is calculated with the theoretical value to obtain the color correction ratio coefficient Z_r under the R channel, the color correction ratio coefficient Z_g under the G channel, and the color correction ratio coefficient Z_b under the B channel, wherein the calculation function of the color correction ratio coefficient is as follows: Among them, Z_x is the color correction ratio coefficient under the x channel, and Y_x is the value of the average pixel under the x channel; S14, applying the color correction proportional coefficients of each channel obtained in step S13 to all color images subsequently collected by the visible light camera to achieve color correction; The chlorophyll content of the plant leaves collected by the chlorophyll content measuring instrument in step S2 is specifically: S21, calibrating the chlorophyll content measuring instrument; S22, measuring the chlorophyll contents at three different locations on the collected single plant leaf, and taking the average of the chlorophyll contents at the three different locations as the chlorophyll content of the plant leaf; The step S3 specifically includes: S31, first converting the collected plant leaf color image into a grayscale image; S32, performing binarization processing on the converted grayscale image to achieve segmentation between plant leaves and background; S33, if there are certain noise points in the plant leaf image after the binarization processing, perform image noise reduction processing; S34, performing mask processing on the image collected in step S1 and the binary image after the noise reduction processing in step S33 by using an image mask algorithm, wherein the mask processing means: taking the white pixel area in the binary image after the noise reduction processing in step S33 as the region of interest ROI, performing a bit operation on the region of interest ROI and the image collected in step S1, after the bit operation, the obtained value is still the same, and the image values ​​of other areas become 0, thereby achieving complete separation of the plant leaf part and the background in the image; S35, converting the plant leaf image after the mask processing in step S34 into different color spaces, the different color spaces include RGB color space, La*b* color space, and HSV color space, extracting color factors from different color spaces, the color factors include R, G, B, H, S, V, L, a, and b; calculating the number of pixels occupied by the plant leaves and the sum of the color factors under a single channel, and dividing the sum of the color factors under a single channel by the number of pixels occupied by the plant leaves as the value of the color factor of the plant leaves under the channel; where F x (i, j) is the value of row i and column j under the x channel, S is the number of pixels occupied by the calculated plant leaves, and F x is the value of the color factor of the plant leaf in the x channel; the x channel refers to the R, G, B color factors in the RGB color space, the H, S, V color factors in the HSV color space, or the L, a, b color factors in the La*b* color space; Calculate the color factor combination value, the color factor combination value includes G 2 ; S36, normalize the color factor values ​​and color factor combination values ​​obtained in each channel in step S35, and convert the original values ​​in the range [0, 255] to the range [0, 1].

2. The method for visualizing the three-dimensional spatial distribution of plant chlorophyll content based on point cloud according to claim 1, characterized in that: The step S4 specifically includes: A linear and nonlinear polynomial regression model is established by combining the color factors extracted from different channels in different color spaces obtained in step S3 and the color factor combination values ​​with the chlorophyll content values ​​of plant leaves detected by the chlorophyll content meter in step S2, and a variety of model evaluation indicators are used to select the model with the best fitting performance as the optimal regression model for chlorophyll content.

3. The method for visualizing the three-dimensional spatial distribution of plant chlorophyll content based on point cloud according to claim 1, characterized in that: The step S5 specifically includes: The visible light camera is kept stationary and the plant is placed on a tray and rotated, or the plant is kept stationary and the visible light camera is placed on a platform and rotated around the plant. Image acquisition is performed for each plant at a rotation angle interval of 18°, and 20 color image data of the plant are collected in one circle.

4. The method for visualizing the three-dimensional spatial distribution of plant chlorophyll content based on point cloud according to claim 1, characterized in that: The step S9 specifically includes: A91, applying the optimal regression model of chlorophyll content in step S4 to the normalized color information of the three-dimensional plant model reconstructed in step S8, so that the normalized color information of the three-dimensional model is converted into an estimated value of chlorophyll content; A92, the distribution range of the estimated chlorophyll content in step A91 is [0, 100], and the distribution range of the estimated chlorophyll content is stretched to [0, 255] to obtain the full gray value interval distribution of the plant chlorophyll content; A93. Perform pseudo-color processing on the three-dimensional plant model processed in step A92, so that the chlorophyll content of the plant is visualized according to the spatial distribution.