Lignin and cellulose detection method and system based on plant staining images
Through RGB channel decomposition and signal ratio analysis of plant staining images, combined with cluster analysis, the problem of being unable to simultaneously analyze the distribution of lignin and cellulose in the existing technology is solved, improving the accuracy and repeatability of plant detection, and providing Quantified data on lignin and cellulose to support crop breeding research.
Patent Information
- Application Number
- CN202210886368.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-26
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-07-26
AI Technical Summary
Existing technology cannot simultaneously analyze the spatial distribution of lignin and cellulose in plant tissues, which affects the accurate analysis of gene regulatory networks and lignocellulose resource utilization mechanisms.
Through RGB channel decomposition and signal intensity ratio analysis based on plant dyeing images, quantitative results of lignin and cellulose are obtained. Combined with cluster analysis and color space conversion, simultaneous quantitative analysis of lignin and cellulose is achieved.
It improves the accuracy, objectivity and reproducibility of plant detection, provides quantitative data of lignin and cellulose, and supports difference analysis in crop breeding research.
Smart Images

Figure CN115346213B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of plant cell detection, and in particular to a method and system for detecting lignin and cellulose based on plant staining images. Background Art
[0002] The cell wall of higher plants is mainly composed of cellulose, lignin and non-cellulosic polysaccharides, and their proportions depend on the specific function of the cell. Cellulose aggregates into regularly structured microfibrils, defining the skeleton of the cell wall, and the spaces between the densely packed cell wall fibers are filled by lignin molecules through chemical and / or hydrogen bonds, which give the plant material hydrophobicity, mechanical strength, extensibility and rigidity.
[0003] With the development of microscopes and digital image processing technology, qualitative histological staining techniques have been developed and more objective and reproducible methods have been developed. Traditional histochemical staining based on the specific binding of cell wall components to dyes is an alternative method. For example, safranin-fast green staining can simultaneously observe the distribution of lignin and cellulose, dyeing lignin red and cellulose green. Then, the degree of lignification of plant tissues is quantified by analyzing the collected color images. However, the quantitative analysis methods based on staining images usually only focus on the distribution of lignin. The changes in lignin and cellulose in plant tissues are often synergistic and influence each other. Therefore, how to simultaneously analyze the spatial distribution of lignin and cellulose in plant tissues is of great significance for accurately analyzing the gene regulatory network and the utilization mechanism of lignocellulose resources. Summary of the invention
[0004] The present invention provides a method and system for detecting lignin and cellulose based on plant staining images, so as to solve the defect in the prior art that the spatial distribution of lignin and cellulose in plant tissues cannot be analyzed synchronously.
[0005] The present invention provides a method for detecting lignin and cellulose based on plant staining images, comprising:
[0006] Obtaining tissue distribution images based on stained section images of the plant sample to be tested;
[0007] After performing RGB channel decomposition on the tissue distribution image, a first image and a second image are acquired;
[0008] Performing statistical analysis on the signal intensities of the first image and the second image respectively to obtain a first quantitative result and a second quantitative result;
[0009] Wherein, the stained section image is obtained after the plant sample to be tested is stained with safranin-fast green; the pixel value of the first image is the ratio of the R channel signal intensity to the B channel signal intensity; the pixel value of the second image is the ratio of the G channel signal intensity to the B channel signal intensity; the first quantitative result is used to indicate the content of lignin in the corresponding tissue part of the plant sample to be tested; the second quantitative result is used to indicate the content of cellulose in the corresponding tissue part of the plant sample to be tested.
[0010] According to a method for detecting lignin and cellulose based on plant staining images provided by the present invention, after performing RGB channel decomposition on the tissue distribution image, a first image and a second image are obtained, comprising:
[0011] Determining a signal intensity threshold based on the channel signal intensity of the tissue distribution image;
[0012] Based on the signal intensity threshold, screening out the R channel image of the cell wall, the G channel image of the cell wall, and the B channel image of the cell wall from the channel signal intensity of the tissue distribution image;
[0013] Compare the R channel image of the cell wall and the G channel image of the cell wall with the B channel image of the cell wall, respectively, to obtain the first image and the second image;
[0014] The channel signal strength of the tissue distribution image includes R channel signal strength, G channel signal strength and B channel signal strength.
[0015] According to a method for detecting lignin and cellulose based on plant staining images provided by the present invention,
[0016] After acquiring the first image and the second image, the method further includes:
[0017] Performing cluster analysis on the first image and the second image respectively to obtain a first clustering result and a second clustering result;
[0018] The first clustering result is used to indicate the difference distribution of lignin content of the plant samples to be tested; and the second clustering result is used to indicate the difference distribution of cellulose content of the plant samples to be tested.
[0019] According to a method for detecting lignin and cellulose based on plant staining images provided by the present invention, cluster analysis is performed on the first image and the second image respectively to obtain a first clustering result and a second clustering result, including:
[0020] Performing R-type cluster analysis on the first image and the second image to obtain first pixel ratios and second pixel ratios of the first image and the second image in each category, respectively;
[0021] Based on the first pixel ratio and the second pixel ratio, the first clustering result and the second clustering result are determined respectively.
[0022] According to a method for detecting lignin and cellulose based on plant staining images provided by the present invention, the tissue distribution image is obtained based on the staining section image of the plant sample to be tested, comprising:
[0023] Convert the stained slice image to the Hue Saturation Value color space for foreground extraction to obtain the target image;
[0024] Based on the target image, the tissue distribution image is extracted.
[0025] According to a method for detecting lignin and cellulose based on plant staining images provided by the present invention, the stained slice image of the plant sample to be tested is collected after white balance correction is performed via a white board within the field of view.
[0026] The present invention also provides a lignin and cellulose detection system based on plant staining images, comprising:
[0027] A sample image processing module, used for obtaining a tissue distribution image based on a stained section image of a plant sample to be tested;
[0028] A component extraction module, used for obtaining a first image and a second image after performing RGB channel decomposition on the tissue distribution image;
[0029] A quantification module, used to perform statistical analysis on the signal strength of the first image and the second image respectively, to obtain a first quantitative result and a second quantitative result;
[0030] Wherein, the stained section image is obtained after the plant sample to be tested is stained with safranin-fast green; the pixel value of the first image is the ratio of the R channel signal intensity to the B channel signal intensity; the pixel value of the second image is the ratio of the G channel signal intensity to the B channel signal intensity; the first quantitative result is used to indicate the content of lignin in the corresponding tissue part of the plant sample to be tested; the second quantitative result is used to indicate the content of cellulose in the corresponding tissue part of the plant sample to be tested.
[0031] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for detecting lignin and cellulose based on plant staining images as described in any one of the above is implemented.
[0032] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for detecting lignin and cellulose based on plant staining images.
[0033] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned methods for detecting lignin and cellulose based on plant staining images.
[0034] The present invention provides a method and system for detecting lignin and cellulose based on plant staining images. The method extracts a tissue distribution image based on the staining slice image of the plant sample to be tested, and obtains a first quantitative result and a second quantitative result by statistically analyzing the first image and the second image obtained by processing the tissue distribution image. The R / B value and the G / B value can be used as quantitative indicators of lignin and cellulose distribution, respectively, to provide analyzable quantitative data for lignin and cellulose simultaneously, and to realize in-situ synchronous quantitative analysis. The subjective error of directly judging the distribution of lignin and cellulose through human eye analysis is avoided, and the accuracy, objectivity and repeatability of plant detection are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 It is a schematic diagram of the process of the detection method of lignin and cellulose based on plant staining images provided by the present invention;
[0037] Figure 2 This is one of the simulation schematic diagrams of the detection method of lignin and cellulose based on plant staining images provided by the present invention;
[0038] Figure 3 This is the second simulation schematic diagram of the method for detecting lignin and cellulose based on plant staining images provided by the present invention;
[0039] Figure 4 This is the third simulation schematic diagram of the method for detecting lignin and cellulose based on plant staining images provided by the present invention;
[0040] Figure 5 This is the fourth simulation schematic diagram of the method for detecting lignin and cellulose based on plant staining images provided by the present invention;
[0041] Figure 6 It is a schematic diagram of the structure of the detection system of lignin and cellulose based on plant staining images provided by the present invention;
[0042] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.
[0045] It should be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present invention, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0046] The terms “include” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0047] Figure 1 FIG. 1 is a schematic diagram of a process for detecting lignin and cellulose based on plant staining images provided by the present invention. Figure 1 As shown, the method for detecting lignin and cellulose based on plant staining images provided by an embodiment of the present invention includes: step 101, obtaining a tissue distribution image based on a staining section image of a plant sample to be detected.
[0048] The stained section image is obtained after the plant sample to be tested is stained with safranin-fast green.
[0049] It should be noted that the execution subject of the detection method of lignin and cellulose based on plant staining images provided in the embodiment of the present invention is the electronic device on which the detection system of lignin and cellulose based on plant staining images relies.
[0050] The above-mentioned electronic device can be implemented in various forms. The electronic device described in the embodiment of the present application may include mobile terminals such as mobile phones, smart phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), navigation devices, smart bracelets, smart watches, digital cameras, etc., and fixed terminals such as digital TVs, desktop computers, etc. Below, it is assumed that the electronic device is a mobile terminal. However, it will be understood by those skilled in the art that, in addition to components specifically for mobile purposes, the construction according to the embodiment of the present application can also be applied to fixed type terminals.
[0051] The application scenario of the lignin and cellulose detection system based on plant staining images is to prepare plant sample slices, stain them with safranin-fast green and obtain visible light microscope images, perform RGB decomposition on the processed microscope images, and use the R / B value to reflect the lignin content and the G / B value to reflect the cellulose content, so as to perform in situ visualization and quantitative characterization of the spatial distribution.
[0052] It should be noted that, before step 101, the plant sample to be detected is stained with a safranin-fast green staining reagent to prepare the sample and obtain a staining image.
[0053] The specific implementation process is: the plant sample to be tested is cut and fixed in formalin-acetic acid-ethanol fixative for more than 24 hours, and then the slices are embedded in paraffin, and then the slices are stained with safranin-fast green. Finally, the stained slices are observed under an ordinary biological microscope with an objective lens (for example, 5 times, 10 times or 20 times), and the acquired microscopic image is sent as a stained slice image to a lignin and cellulose detection system based on plant staining images.
[0054] The present embodiment of the present invention does not specifically limit the preparation of the plant sample to be detected.
[0055] For example, the specific implementation process is:
[0056] (1) The plant sample to be tested is cut in a fresh state with a thickness not exceeding 5 mm, and then placed in formalin-acetic-alcohol (FAA) fixative for more than 24 hours.
[0057] (2) The fixed samples are embedded in paraffin and sliced, and the slice thickness can be between 12 micrometers (μm) and 16 μm.
[0058] (3) Safranin-fast green dyeing, the specific operation includes:
[0059] (a) Dewaxing (xylene / ethanol solutions: 100% xylene, xylene / ethanol (3 / 1, v / v), xylene / ethanol (1 / 1, v / v), anhydrous ethanol, immersing in each solution for 10 min in sequence).
[0060] (b) Safranin-Fast Green counter-staining (absolute ethanol, immersion 3 times, 3 min / time; 95%, 85% and 70% ethanol, immersion for 3 min in sequence; 1% Safranin in 50% ethanol, 37°C, immersion for 30 min; 70% ethanol immersion 2 times, 1 min / time; 80% ethanol immersion 1 min; 95% ethanol immersion 2 times, 1 min / time; 0.5% Fast Green (95% ethanol as solvent) immersion for 6 seconds; ethanol immersion 2 times, 1 min / time; xylene / ethanol solution (1 / 1, v / v) immersion for 1 min; 100% xylene solution immersion 2 times, 1 min / time).
[0061] Specifically, in step 101, the lignin and cellulose detection system based on plant staining images uses a series of image processing methods to extract a single tissue structure from the received staining slice image to obtain a corresponding tissue distribution image.
[0062] Step 102: After performing RGB channel decomposition on the tissue distribution image, a first image and a second image are obtained.
[0063] The pixel value of the first image is the ratio of the signal intensity of the R channel to the signal intensity of the B channel. The pixel value of the second image is the ratio of the signal intensity of the G channel to the signal intensity of the B channel.
[0064] Specifically, in step 102, the lignin and cellulose detection system based on the plant staining image performs channel decomposition on the processed tissue distribution image, and normalizes it within the range of 0-1, and obtains the corresponding red R channel image, green G channel image and blue B channel image respectively. The R channel image and the B channel image are dot-wise divided to generate a first image with pixel values of R / B. Similarly, the G channel image and the B channel image are dot-wise divided to generate a second image with pixel values of G / B.
[0065] The pixel value of each pixel in the first image is the ratio between the signal intensity of the R channel and the signal intensity of the B channel of the tissue distribution image of the pixel, and the R / B ratio can be used as a quantitative indicator of lignin.
[0066] The pixel value of each pixel in the second image is the ratio between the signal intensity of the G channel and the signal intensity of the B channel of the tissue distribution image of the pixel. The G / B ratio can be used as a quantitative index of cellulose.
[0067] Step 103: Perform statistical analysis on the signal strength of the first image and the second image respectively to obtain a first quantitative result and a second quantitative result.
[0068] The first quantitative result is used to indicate the content of lignin in the corresponding tissue part of the plant sample to be tested, and the second quantitative result is used to indicate the content of cellulose in the corresponding tissue part of the plant sample to be tested.
[0069] Specifically, in step 103, the lignin and cellulose detection system based on the plant staining image performs statistical analysis on the R / B ratio in the first image and the G / B ratio in the second image to obtain a first quantitative result and a second quantitative result.
[0070] The first quantitative result refers to the statistical result of the R / B ratio in the first image, which can be used to characterize the distribution of the lignin content of the plant sample to be tested in space.
[0071] The second quantitative result refers to the statistical result of the G / B ratio in the second image, which can be used to characterize the distribution of the lignin content of the plant sample to be tested in space.
[0072] The statistical method used for the pixel values in the first image and the second image includes, but is not limited to, a statistical average value of the pixel values, a statistical variance of the pixel values, and the like, which is not specifically limited in the embodiment of the present invention.
[0073] The quantitative data of lignin and cellulose distribution indicated by the first quantitative result and the second quantitative result can support the analysis of statistically significant differences between different tissues of the same sample and the same tissue of different samples, which is helpful for analyzing the regulatory networks formed by different genes and traits and the degradation mechanisms in the process of resource utilization in crop breeding research.
[0074] The embodiment of the present invention extracts a tissue distribution image based on a stained slice image of a plant sample to be tested, and obtains a first quantitative result and a second quantitative result by statistically analyzing the first image and the second image obtained by processing the tissue distribution image. The R / B value and the G / B value can be used as quantitative indicators of lignin and cellulose distribution, respectively, to provide analyzable quantitative data for lignin and cellulose simultaneously, and to achieve in-situ synchronous quantitative analysis. The subjective error of directly judging the distribution of lignin and cellulose through human eye analysis is avoided, and the accuracy, objectivity and repeatability of plant detection are improved.
[0075] On the basis of any of the above embodiments, after performing RGB channel decomposition on the tissue distribution image, obtaining the first image and the second image includes: determining a signal intensity threshold based on the channel signal intensity of the tissue distribution image.
[0076] Specifically, in step 102, the lignin and cellulose detection system based on the plant staining image respectively calculates the corresponding channel thresholds from the frequency distribution histograms of different channel images for the normalized R channel image, G channel image and B channel image, and then averages the channel thresholds to determine the signal intensity thresholds of the cell wall and dye residue information.
[0077] It can be understood that, since the difference between the channel thresholds of each channel image is relatively small, it is possible to perform statistics on the frequency distribution histogram of the B channel image to obtain the signal strength threshold.
[0078] Based on the signal intensity threshold, the R channel image of the cell wall, the G channel image of the cell wall and the B channel image of the cell wall are screened out from the channel signal intensity of the tissue distribution image. Specifically, the detection system of lignin and cellulose based on plant staining images uses the B channel signal intensity in the RGB channel as a reference, and converts the pixels in the B channel image that are greater than the signal intensity threshold to NaN (i.e., pixels without a numerical value), thereby retaining only pixels that are less than or equal to the signal intensity threshold, and obtaining the B channel image of the cell wall. Similarly, the pixel coordinates converted to NaN are recorded, and the pixel values in the corresponding pixel coordinates in the R channel image and the G channel image are also converted to NaN, and the R channel image of the cell wall and the G channel image of the cell wall are obtained respectively, so as to remove the dye residue and retain the information cell wall RGB channel signal intensity.
[0079] The R channel image of the cell wall and the G channel image of the cell wall are respectively compared with the B channel image of the cell wall to obtain a first image and a second image.
[0080] Specifically, the lignin and cellulose detection system based on plant staining images compares the R channel image of the cell wall with the B channel image of the cell wall to obtain a first image. Similarly, the G channel image of the cell wall with the B channel image of the cell wall is compared to obtain a second image.
[0081] The embodiment of the present invention determines the signal intensity threshold based on the frequency distribution histogram of the RGB three-channel, screens the RGB three-channel image by the signal intensity threshold, removes the residual information of the dye, retains only the RGB three-channel signal intensity of the cell wall, and uses the R / B ratio of the first image and the G / B ratio of the second image as quantitative indicators of lignin and cellulose distribution, respectively. The quantitative index mean of all cell wall pixels in the plant tissue structure is used to perform quantitative comparative analysis of the lignin and cellulose content between tissues, and can qualitatively and quantitatively describe the differences in lignin and cellulose distribution.
[0082] On the basis of any of the above embodiments, after acquiring the first image and the second image, the method further includes: performing cluster analysis on the first image and the second image respectively to acquire a first clustering result and a second clustering result.
[0083] The first clustering result is used to indicate the difference distribution of the lignin content of the plant samples to be tested, and the second clustering result is used to indicate the difference distribution of the cellulose content of the plant samples to be tested.
[0084] Specifically, the lignin and cellulose detection system based on plant staining images clusters the R / B ratio in the first image and the G / B ratio in the second image respectively, and regards the ratios with high similarity as one category to obtain the first clustering result and the second clustering result.
[0085] Among them, the first clustering result refers to the classification with the most R / B ratios, which has obvious data characteristics and can be used to characterize the distribution of lignin content differences in the tested plant samples in space.
[0086] The second clustering result refers to the classification with the most G / B ratios, which has obvious data characteristics and can be used to characterize the distribution of cellulose content differences in the tested plant samples in space.
[0087] It is understandable that the clustering analysis method includes but is not limited to direct clustering, shortest distance clustering or longest distance clustering, etc., and the embodiment of the present invention does not specifically limit this.
[0088] Among them, the measurement of similarity can be achieved by calculating the distance, and its distance calculation method includes but is not limited to Euclidean distance, Manhattan distance, Chebyshev distance, Minkowski distance, standardized Euclidean distance, cosine similarity, Mahalanobis distance, Hamming distance or Bhattacharyya distance, etc.
[0089] The embodiment of the present invention performs cluster analysis based on the R / B value in the first image and the G / B value in the second image, so as to characterize the spatial difference distribution of lignin and cellulose according to the first clustering result and the second clustering result. It is possible to qualitatively and quantitatively describe the difference in the distribution of lignin and cellulose in different tissues of the same sample and in the same tissue of different samples, which is helpful for analyzing the regulatory network formed by different genes and traits and the degradation mechanism in the process of resource utilization in crop breeding research.
[0090] Based on any of the above embodiments, cluster analysis is performed on the first image and the second image respectively to obtain a first clustering result and a second clustering result, including: performing R-type cluster analysis on the first image and the second image to obtain a first pixel ratio and a second pixel ratio of the first image and the second image in each category respectively.
[0091] Specifically, the lignin and cellulose detection system based on plant staining images sets the number of categories n for the clustering analysis process, and then adopts R-type clustering in unsupervised K-means clustering to cluster the R / B in the first image and the G / B in the second image respectively. The cluster center point is not set, and the distance is repeatedly calculated n times. The ratios with similar distances are regarded as one category. The proportion of R / B pixel points of each category in all pixels of the first image is calculated as the first pixel point proportion, and the proportion of G / B pixel points of each category in all pixels of the second image is calculated as the second pixel point proportion.
[0092] Based on the first pixel ratio and the second pixel ratio, a first clustering result and a second clustering result are determined.
[0093] Specifically, the lignin and cellulose detection system based on plant dyeing images compares the first pixel ratio and the second pixel ratio under each classification to determine the first clustering result and the second clustering result.
[0094] The embodiment of the present invention performs R-type cluster analysis based on the first image and the second image, and obtains and determines the first clustering result and the second clustering result through the first pixel point ratio and the second pixel point ratio in each classification, and can qualitatively and quantitatively describe the distribution difference of lignin and cellulose.
[0095] On the basis of any of the above embodiments, a tissue distribution image is obtained based on a stained section image of the plant sample to be tested, including: converting the stained section image to a Hue Saturation Value color space for foreground extraction to obtain a target image.
[0096] Specifically, in step 101, the lignin and cellulose detection system based on plant staining images converts the stained slice image into the Hue Saturation Value (HSV) color space, uses an adaptive threshold method to binarize it in the V space, and then extracts the foreground by selecting the foreground polarity parameter to obtain the target image.
[0097] Based on the target image, a tissue distribution image is extracted.
[0098] Specifically, the lignin and cellulose detection system based on plant staining images uses multi-point fitting to extract single tissues in the plant section staining image from the target image and obtain the corresponding tissue distribution image.
[0099] Tissue distribution images, including the distribution images of lignin (i.e., the red part) and cellulose (i.e., the green part) in a single plant tissue.
[0100] The embodiment of the present invention converts the stained slice image to perform foreground extraction and different tissue structure extraction to obtain a tissue distribution image, realizes feature extraction of the sample image, retains only the plant tissue part, and improves the accuracy, objectivity and repeatability of plant detection.
[0101] Based on any of the above embodiments, the stained slice image of the plant sample to be tested is collected after white balance correction is performed on a white board within the field of view.
[0102] Specifically, the stained section images received by the lignin and cellulose detection system based on plant staining images are obtained by observing the stained sections with a 5X / 10X / 20X objective lens under an ordinary biological microscope, and simultaneously collecting various tissue microscopic images at the highest resolution within one field of view. The microscopic images are then obtained after white balance correction using a white board during the microscopic measurement process.
[0103] Figure 2 This is one of the simulation schematic diagrams of the method for detecting lignin and cellulose based on plant staining images provided by the present invention. Figure 3 This is the second simulation schematic diagram of the method for detecting lignin and cellulose based on plant staining images provided by the present invention. Figure 4 This is the third simulation schematic diagram of the method for detecting lignin and cellulose based on plant staining images provided by the present invention. Figure 5 FIG4 is a fourth simulation schematic diagram of the method for detecting lignin and cellulose based on plant staining images provided by the present invention. Figure 2-Figure 5As shown, the present invention uses the introgression line IL349 rice (IL349) and the rice Brittle Culm1 gene mutant rice (KO-BC1) separated from IL349 to grow in an outdoor paddy field environment, and the middle part of the penultimate internode of the two rice stems is used as the plant sample to be tested:
[0104] Example 1 is an in-situ simultaneous quantitative study of the differences in cellulose and lignin content in the cross section of rice stalks:
[0105] (1-1) Sample preparation: The penultimate internode of the collected rice stems was cut from the middle part, then placed in FAA fixative, fixed for more than 24 h and embedded in paraffin. A sliding microtome was used to cut cross-sectional slices with a thickness of about 15 μm, and then stained with safranin-fast green. The specific operations included: (a) dewaxing (xylene / ethanol solution: 100% xylene, xylene / ethanol (3 / 1, v / v), xylene / ethanol (1 / 1, v / v), anhydrous ethanol, soaking in each solution for 10 min in turn); (b) safranin-fast green staining ( Anhydrous ethanol, soak 3 times, 3 minutes each time; 95%, 85% and 70% ethanol, soak for 3 minutes respectively; 1% safranin in 50% ethanol, 37°C, soak for 30 minutes; soak in 70% ethanol twice, 1 minute each time; soak in 80% ethanol for 1 minute; soak in 95% ethanol twice, 1 minute each time; soak in 95% ethanol for 6 seconds with 0.5% fast green; soak in anhydrous ethanol twice, 1 minute each time; soak in xylene / ethanol solution (1 / 1, v / v) for 1 minute; soak in 100% xylene solution twice, 1 minute each time).
[0106] (1-2) Microscopic image acquisition: Under an ordinary biological microscope, use a 10X objective lens to observe the stained slices, and simultaneously collect various tissue microscopic images at the highest resolution in one field of view. Use a white plate to perform white balance correction before acquiring the image. Figure 2 As shown, the scale bar is set to 100 μm. The left sub-image is the staining section image corresponding to IL349, and the right sub-image is the staining section image corresponding to KO-BC1.
[0107] (1-3) Staining image processing: The images were converted into HSV color space, and then the adaptive threshold method was used to convert the images into binary images in V space. Finally, the foreground polarity parameters were selected for the foreground to obtain the tissue distribution image.
[0108] (1-4) Quantification of the spatial distribution of lignin and cellulose in plant tissues: The tissue distribution images of the two rice samples were decomposed into RGB and normalized in the range of 0-1. The RGB signal intensity threshold of the cell wall and dye residue information was obtained based on the frequency distribution histogram of the signal intensity of the RGB channel of the staining image. The B channel signal intensity in the RGB channel was used as a reference, and pixels greater than the threshold were converted to NaN (i.e., pixels without a value), thereby retaining only the cell wall RGB channel signal intensity. The R / B and G / B ratios were calculated as quantitative indicators of lignin and cellulose, and the R / B ratio image (i.e., the first image) and the G / B ratio image (i.e., the second image) were generated for in situ analysis of the spatial distribution of lignin and cellulose. The mean of the R / B and G / B values of all cell wall pixels was used for quantitative comparative analysis of the lignin and cellulose content between tissues.
[0109] like Figure 3 As shown, sub-images (a) and (b) correspond to the first image and the second image of the two rice plants, respectively, and the enlarged image in the white frame is shown on the right side of the figure. Sub-images (c) and (d) are the statistical results of the R / B ratio in the first image and the G / B ratio in the second image, respectively.
[0110] Among them, the abbreviation E stands for epidermis-mechanical tissue, the abbreviation P stands for parenchyma tissue, and the abbreviation V stands for vascular bundle.
[0111] The statistical results showed that compared with IL349 rice stems, the R / B ratio of KO-BC1 rice stems was significantly different in epidermis-mechanical tissue, but the difference in parenchyma and vascular bundle was smaller ( Figure 3 a). Violin plot based on R / B ratio ( Figure 3 c) It can be seen that the average value of KO-BC1 is higher than that of IL349, which indicates that the difference in lignin content is mainly reflected in the epidermis-mechanical tissue. The results of the G / B and R / B ratio images are in contrast ( Figure 3 b), the G / B ratio of epidermis-mechanical tissue of KO-BC1 rice stem was significantly lower than that of IL349, and the parenchyma and vascular bundle were slightly lower than those of IL349. According to the violin plot of G / B ratio ( Figure 3 d) It can be obtained that the average value of the G / B ratio of KO-BC1 rice stems is lower than that of IL349, which indicates that the difference in cellulose content is also mainly reflected in the epidermal-mechanical tissue.
[0112] Example 2 is an in situ simultaneous quantitative study on the difference in cellulose and lignin content in the epidermal-mechanical tissue of rice stems. Its (2-1) sample preparation and (2-2) microscopic image acquisition are the same as those in Example 1.
[0113] (2-3) Staining image processing: The images were converted into HSV color space, and then the adaptive threshold method was used to convert the images into binary images in V space. Finally, the foreground polarity parameters were selected for the foreground, and the tissue distribution image of the epidermis-mechanical tissue was extracted from the stained section image by multi-point fitting.
[0114] (2-4) Quantification of the spatial distribution of lignin and cellulose in epidermal-mechanical tissues: The tissue distribution images of the two rice samples were decomposed into RGB and normalized in the range of 0-1. The RGB signal intensity threshold of the cell wall and dye residue information was obtained based on the frequency distribution histogram of the signal intensity of the RGB channel of the staining image. The B channel signal intensity in the RGB channel was used as a reference, and pixels greater than the threshold were converted to NaN (i.e., pixels without a value), thereby retaining only the cell wall RGB channel signal intensity. An R / B ratio image (i.e., the first image) and a G / B ratio image (i.e., the second image) were generated, and the R / B and G / B ratios were calculated as quantitative indicators of lignin and cellulose.
[0115] (2-5) K-means clustering analysis: K-means clustering was performed on the R / B and G / B ratios in the first and second images of the two types of rice, respectively. The cluster center was not set, and the city distance was used to repeat the calculation 5 times. The ratios with similar city distances were considered as one category.
[0116] like Figure 4 As shown, the five sub-images on the top are K-means cluster images of the R / B ratio of the IL349 rice stem epidermis-mechanical tissue, and the five sub-images on the bottom are K-means cluster images of the R / B ratio of the KO-BC1 rice stem epidermis-mechanical tissue.
[0117] like Figure 5 As shown, the five sub-images on the top are K-means cluster images of the G / B ratio of the epidermis-mechanical tissue of the IL349 rice stem, and the five sub-images on the bottom are K-means cluster images of the G / B ratio of the epidermis-mechanical tissue of the KO-BC1 rice stem.
[0118] Among them, the abbreviation Epi is epidermis, the abbreviation Sa is sclerenchyma, and the abbreviation Svb is small vascular bundle.
[0119] according to Figure 4The clustering results show that the thick wall tissue in the epidermal-mechanical tissue of IL349 rice stems is concentrated in categories 3 and 4, while KO-BC1 is mainly distributed in category 1, indicating that the lignin content in the thick wall tissue of KO-BC1 rice stems is higher than that of IL349, with the largest difference. The small vascular bundles in the rice stems of IL349 are mainly in category 2, with relatively complete outlines, while the small vascular bundles of KO-BC1 are basically in category 1, indicating that the lignin content in the small vascular bundles of KO-BC1 rice stems is higher. The K-means clustering image also shows that the epidermis of IL349 rice stems is mainly in categories 1 and 2, while the epidermis of KO-BC1 is basically distributed in category 1, with the smallest difference.
[0120] K-means clustering images of the G / B ratio of the epidermal-mechanical tissue of two rice varieties (e.g. Figure 5 ), the morphological structure information of the epidermis and sclerenchyma of rice stems of KO-BC1 was mostly presented in the 4th category, and partly in the 3rd category. In contrast, the epidermis and sclerenchyma of IL349 were concentrated in the 1st and 2nd categories, the sclerenchyma in the 3rd category was relatively broken, and the epidermis was relatively intact, indicating that the cellulose content of the epidermis-mechanical tissue of rice stems of KO-BC1 was lower than that of IL349, and the tissue parts with the greatest difference were the sclerenchyma of the two rice stems, followed by the epidermis. The small vascular bundles of KO-BC1 were concentrated in the 3rd category, and the small vascular bundles of IL349 were concentrated in the 2nd and 3rd categories, and there were also some differences.
[0121] The embodiment of the present invention obtains the stained slice image by setting a white plate to perform white balance processing during the microscopic imaging process before obtaining the stained slice image, thereby filtering out the stray factors in the sample image and improving the accuracy, objectivity and repeatability of plant detection.
[0122] Figure 6 FIG. 1 is a schematic diagram of the structure of the lignin and cellulose detection system based on plant staining images provided by the present invention. Figure 6 As shown, the lignin and cellulose detection system based on plant dyeing images provided by the embodiment of the present invention includes: a sample image processing module 610, a component extraction module 620 and a quantification module 630, wherein:
[0123] The sample image processing module 610 is used to obtain a tissue distribution image based on the stained section image of the plant sample to be tested.
[0124] The component extraction module 620 is used to obtain a first image and a second image after performing RGB channel decomposition on the tissue distribution image.
[0125] The quantification module 630 is used to perform statistical analysis of the signal strength of the first image and the second image respectively to obtain a first quantitative result and a second quantitative result.
[0126] Wherein, the stained slice image is obtained after the plant sample to be tested is stained with safranin-fast green. The pixel value of the first image is the ratio of the R channel signal intensity to the B channel signal intensity. The pixel value of the second image is the ratio of the G channel signal intensity to the B channel signal intensity. The first quantitative result is used to indicate the content of lignin in the corresponding tissue part of the plant sample to be tested. The second quantitative result is used to indicate the content of cellulose in the corresponding tissue part of the plant sample to be tested.
[0127] Specifically, the sample image processing module 610, the component extraction module 620 and the quantization module 630 are electrically connected in sequence.
[0128] The sample image processing module 610 uses a series of image processing methods to extract a single tissue structure from the received stained slice image to obtain a corresponding tissue distribution image.
[0129] The tissue distribution image processed by the component extraction module 620 is processed to obtain a first image and a second image.
[0130] The pixel value of each pixel in the first image is the ratio between the red component and the blue component of the pixel in the tissue distribution image, and the R / B ratio can be used as a quantitative indicator of lignin.
[0131] The pixel value of each pixel in the second image is the ratio between the green component and the blue component of the pixel in the tissue distribution image. The G / B ratio can be used as a quantitative index of cellulose.
[0132] The quantization module 630 clusters the R / B ratios in the first image and the G / B ratios in the second image respectively, and regards the ratios with high similarity as one category to obtain a first clustering result and a second clustering result.
[0133] Optionally, the component extraction module 620 includes a threshold determination unit, a pixel screening unit and a tissue extraction unit, wherein:
[0134] The threshold determination unit is used to determine a signal intensity threshold based on the channel signal intensity of the tissue distribution image.
[0135] The pixel screening unit is used to screen out the R channel image of the cell wall, the G channel image of the cell wall and the B channel image of the cell wall from the channel signal intensity of the tissue distribution image based on the signal intensity threshold.
[0136] The tissue extraction unit is used to compare the R channel image of the cell wall and the G channel image of the cell wall with the B channel image of the cell wall respectively to obtain a first image and a second image.
[0137] Optionally, the detection system of lignin and cellulose based on plant staining images further includes an analysis module, wherein:
[0138] The analysis module is used to perform cluster analysis on the first image and the second image respectively to obtain a first clustering result and a second clustering result.
[0139] The first clustering result is used to indicate the difference distribution of the lignin content of the plant samples to be tested, and the second clustering result is used to indicate the difference distribution of the cellulose content of the plant samples to be tested.
[0140] Optionally, the analysis module includes a clustering unit and an analysis unit, wherein:
[0141] The clustering unit is used to perform R-type clustering analysis on the first image and the second image to obtain the first pixel ratio and the second pixel ratio of the first image and the second image in each category respectively.
[0142] The analyzing unit is used to determine a first clustering result and a second clustering result based on the first pixel ratio and the second pixel ratio.
[0143] Optionally, the sample image processing module 610 includes a space conversion unit and a feature extraction unit, wherein:
[0144] The space conversion unit is used to convert the stained slice image into the Hue Saturation Value color space for foreground extraction to obtain the target image.
[0145] The feature extraction unit is used to extract a tissue distribution image based on the target image.
[0146] Optionally, the stained section image of the plant sample to be tested is collected after white balance correction is performed via a white plate within the field of view.
[0147] The lignin and cellulose detection system based on plant staining images provided in an embodiment of the present invention is used to execute the above-mentioned lignin and cellulose detection method based on plant staining images of the present invention. Its implementation method is consistent with the implementation method of the lignin and cellulose detection method based on plant staining images provided by the present invention, and can achieve the same beneficial effects, which will not be repeated here.
[0148] The embodiment of the present invention extracts a tissue distribution image based on a stained slice image of a plant sample to be tested, and obtains a first quantitative result and a second quantitative result by statistically analyzing the first image and the second image obtained by processing the tissue distribution image. The R / B value and the G / B value can be used as quantitative indicators of lignin and cellulose distribution, respectively, to provide analyzable quantitative data for lignin and cellulose simultaneously, and to achieve in-situ synchronous quantitative analysis. The subjective error of directly judging the distribution of lignin and cellulose through human eye analysis is avoided, and the accuracy, objectivity and repeatability of plant detection are improved.
[0149] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor (processor) 710, a communication interface (Communications Interface) 720, a memory (memory) 730 and a communication bus 740, wherein the processor 710, the communication interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 can call the logic instructions in the memory 730 to execute a detection method for lignin and cellulose based on plant staining images, the method comprising: obtaining a tissue distribution image based on a stained section image of a plant sample to be tested; obtaining a first image and a second image after performing RGB channel decomposition on the tissue distribution image; performing statistical analysis of the signal intensity of the first image and the second image respectively to obtain a first quantitative result and a second quantitative result; wherein the stained section image is obtained after the plant sample to be tested is stained with safranin-fast green; the pixel value of the first image is the ratio of the R channel signal intensity to the B channel signal intensity; the pixel value of the second image is the ratio of the G channel signal intensity to the B channel signal intensity; the first quantitative result is used to indicate the content of lignin in the corresponding tissue part of the plant sample to be tested; the second quantitative result is used to indicate the content of cellulose in the corresponding tissue part of the plant sample to be tested.
[0150] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0151] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the lignin and cellulose detection methods based on plant staining images provided by the above-mentioned methods, the method including: obtaining a tissue distribution image based on a stained section image of a plant sample to be tested; obtaining a first image and a second image after performing RGB channel decomposition on the tissue distribution image; performing statistical analysis of the signal intensity of the first image and the second image respectively, to obtain a first quantitative result and a second quantitative result; wherein the stained section image is obtained after the plant sample to be tested is stained with safranin-fast green; the pixel value of the first image is the ratio of the R channel signal intensity to the B channel signal intensity; the pixel value of the second image is the ratio of the G channel signal intensity to the B channel signal intensity; the first quantitative result is used to indicate the content of lignin in the corresponding tissue part of the plant sample to be tested; the second quantitative result is used to indicate the content of cellulose in the corresponding tissue part of the plant sample to be tested.
[0152] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the lignin and cellulose detection methods based on plant staining images provided by the above-mentioned methods, the method comprising: obtaining a tissue distribution image based on a stained section image of a plant sample to be tested; obtaining a first image and a second image after performing RGB channel decomposition on the tissue distribution image; performing statistical analysis of signal intensity on the first image and the second image, respectively, to obtain a first quantitative result and a second quantitative result; wherein the stained section image is obtained after the plant sample to be tested is stained with safranin-fast green; the pixel value of the first image is the ratio of the R channel signal intensity to the B channel signal intensity; the pixel value of the second image is the ratio of the G channel signal intensity to the B channel signal intensity; the first quantitative result is used to indicate the content of lignin in the corresponding tissue part of the plant sample to be tested; the second quantitative result is used to indicate the content of cellulose in the corresponding tissue part of the plant sample to be tested.
[0153] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0154] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0155] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting lignin and cellulose based on plant staining images, characterized in that: include: Obtaining tissue distribution images based on stained section images of the plant sample to be tested; After performing RGB channel decomposition on the tissue distribution image, a first image and a second image are acquired; Performing statistical analysis on the signal intensities of the first image and the second image respectively to obtain a first quantitative result and a second quantitative result; Wherein, the stained slice image is obtained after the plant sample to be tested is stained with safranin-fast green; the pixel value of the first image is the ratio of the R channel signal intensity to the B channel signal intensity; the pixel value of the second image is the ratio of the G channel signal intensity to the B channel signal intensity; The first quantitative result is used to indicate the content of lignin in the corresponding tissue part of the plant sample to be tested; the second quantitative result is used to indicate the content of cellulose in the corresponding tissue part of the plant sample to be tested.
2. The method for detecting lignin and cellulose based on plant staining images according to claim 1, characterized in that: After performing RGB channel decomposition on the tissue distribution image, obtaining a first image and a second image includes: Determining a signal intensity threshold based on the channel signal intensity of the tissue distribution image; Based on the signal intensity threshold, screening out the R channel image of the cell wall, the G channel image of the cell wall, and the B channel image of the cell wall from the channel signal intensity of the tissue distribution image; Compare the R channel image of the cell wall and the G channel image of the cell wall with the B channel image of the cell wall, respectively, to obtain the first image and the second image; The channel signal strength of the tissue distribution image includes R channel signal strength, G channel signal strength and B channel signal strength.
3. The method for detecting lignin and cellulose based on plant staining images according to claim 1, characterized in that: After acquiring the first image and the second image, the method further includes: Performing cluster analysis on the first image and the second image respectively to obtain a first clustering result and a second clustering result; The first clustering result is used to indicate the difference distribution of lignin content of the plant samples to be tested; and the second clustering result is used to indicate the difference distribution of cellulose content of the plant samples to be tested.
4. The method for detecting lignin and cellulose based on plant staining images according to claim 1, characterized in that: The performing cluster analysis on the first image and the second image respectively to obtain a first clustering result and a second clustering result includes: Performing R-type cluster analysis on the first image and the second image to obtain first pixel ratios and second pixel ratios of the first image and the second image in each category, respectively; Based on the first pixel ratio and the second pixel ratio, the first clustering result and the second clustering result are determined respectively.
5. The method for detecting lignin and cellulose based on plant staining images according to claim 1, characterized in that: The step of obtaining a tissue distribution image based on a stained section image of a plant sample to be tested comprises: Convert the stained slice image to the Hue Saturation Value color space for foreground extraction to obtain the target image; Based on the target image, the tissue distribution image is extracted.
6. The method for detecting lignin and cellulose based on plant staining images according to claim 1, characterized in that: The stained slice image of the plant sample to be tested is collected after white balance correction is performed via a white plate within the field of view.
7. A lignin and cellulose detection system based on plant staining images, characterized in that: include: A sample image processing module, used for obtaining a tissue distribution image based on a stained section image of a plant sample to be tested; A component extraction module, used for obtaining a first image and a second image after performing RGB channel decomposition on the tissue distribution image; A quantification module, used to perform statistical analysis on the signal strength of the first image and the second image respectively, to obtain a first quantitative result and a second quantitative result; Wherein, the stained slice image is obtained after the plant sample to be tested is stained with safranin-fast green; the pixel value of the first image is the ratio of the R channel signal intensity to the B channel signal intensity; the pixel value of the second image is the ratio of the G channel signal intensity to the B channel signal intensity; The first quantitative result is used to indicate the content of lignin in the corresponding tissue part of the plant sample to be tested; the second quantitative result is used to indicate the content of cellulose in the corresponding tissue part of the plant sample to be tested.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for detecting lignin and cellulose based on plant staining images as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for detecting lignin and cellulose based on plant staining images as described in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for detecting lignin and cellulose based on plant staining images as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Plants Having Enhanced Yield-related Traits And Method For Making The Same
CN105755036A
Plant leaf nitrogen content detection method and device, computer device and storage medium
CN110097535A
Method and system for digital staining of label-free fluorescence images using deep learning
CN112106061A
Biological detection method and device based on mobile phone
CN114674789A
Plants with altered production of biomass constituents and methods of use
US20210010016A1
