Method and device for identifying and analyzing parenchyma cells

Through the automated parenchyma cell identification and analysis method, using neural network and mathematical morphology operations, combined with the YOLOv8 algorithm, the accuracy and efficiency problems of traditional bamboo parenchyma cell analysis methods are solved, and high-precision bamboo parenchyma cell identification and analyze.

CN118799862APending Publication Date: 2024-10-18INT CENT FOR BAMBOO & RATTAN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410775970.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Traditional bamboo parenchyma cell analysis methods rely on manual measurement and visual evaluation, which is time-consuming and labor-intensive, and the results have poor accuracy and repeatability. They lack precise analysis and quantitative evaluation of parenchyma cell area proportions and morphological characteristics.

Method used

A parenchyma cell identification and analysis method is adopted, including data set preparation, parenchyma cell identification model and model inference steps, using neural networks and mathematical morphology operations (such as expansion, corrosion, OSTU filtering method) for automated identification and correction, combined with YOLOv8 algorithm performs image segmentation and recognition.

Benefits of technology

Significantly improves the accuracy and detail resolution of analysis, reduces human error, provides a high degree of repeatability of results, simplifies operating steps, reduces requirements on operator skills, and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799862A_ABST
    Figure CN118799862A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of bamboo performance analysis, and discloses a parenchyma cell recognition analysis method and device, and the method comprises the following steps: preparing a data set; an identification model of parenchyma cells; model inference; and correcting the result of the morphological function. The parenchyma cell recognition device provided by the invention combines the automation advantage of digital image analysis and the high-precision recognition capability of the neural network model; compared with a traditional method, the method has the advantages that the analysis accuracy and the detail resolution are greatly improved, and indexes such as the size, the shape, the area proportion and the distribution of the parenchyma cells can be accurately provided. More importantly, by means of the device, personal errors are reduced, high result repeatability is provided, meanwhile, operation steps are simplified, the requirement for the skill of an operator is reduced, and cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of bamboo material performance analysis, and in particular relates to a thin-wall cell identification and analysis method and a device thereof. Background Art

[0002] As an environmentally friendly biological resource, bamboo has been widely used in many fields such as architecture, furniture, and handicrafts. In terms of optimizing the performance of bamboo and promoting its scientific research, the proportion and morphological structure of thin-walled cells are key evaluation indicators. This is because the characteristics of thin-walled cells are directly related to the mechanical properties, processing quality, and durability of bamboo. For example, bamboo with a high proportion of thin-walled cells may show better flexibility and processing adaptability, which is crucial for specific application scenarios.

[0003] Traditionally, the analysis of thin-walled cells relies on manual measurement and visual evaluation, which are not only time-consuming and labor-intensive, but also have poor accuracy and repeatability. Although existing patent literature provides some methods for the separation, preparation and analysis of thin-walled cells, most of them focus on macroscopic analysis and lack accurate analysis and quantitative evaluation of the area ratio and morphological characteristics of thin-walled cells.

[0004] When exploring the characteristics of bamboo parenchyma cells, traditional analysis methods include microscopic observation, chemical staining, and mechanical separation. These methods have various limitations in practice, such as high dependence on operator skills, low efficiency and accuracy of analysis, and lack of automated processing capabilities. With the development of technology, attempts to study parenchyma cells through digital image analysis and image processing software have made some progress, improving the speed and consistency of analysis. However, these solutions are often limited by their ability to process complex image data and cannot meet the needs of sophisticated analysis.

[0005] In view of this, the present invention is proposed. Summary of the invention

[0006] To solve this problem, traditionally, the analysis of thin-walled cells relies on manual measurement and visual evaluation, which are not only time-consuming and labor-intensive, but also have poor accuracy and repeatability. Although existing patent literature provides some methods for the separation, preparation and analysis of thin-walled cells, most of them focus on macroscopic analysis and lack fine-grained analysis and quantitative evaluation of the area ratio and morphological characteristics of thin-walled cells.

[0007] When exploring the characteristics of bamboo thin-walled cells, traditional analysis methods include microscopic observation, chemical staining, and mechanical separation. These methods have various limitations in practice, such as high dependence on operator skills, low efficiency and accuracy of analysis, and lack of automated processing capabilities. With the development of technology, attempts to study thin-walled cells through digital image analysis and image processing software have made some progress, improving the speed and consistency of analysis. However, these solutions are usually limited by the ability to process complex image data and cannot meet the technical problems of fine analysis needs. The basic concept of the technical solution adopted by the present invention is:

[0008] A thin-walled cell identification and analysis method comprises the following steps:

[0009] Step S1: Preparation of data set: Since thin-walled cells may be scanned under different conditions and states to generate samples to be identified, the robustness of the algorithm when facing complex data needs to be considered in advance during the data set preparation stage; all data are converted into standard data samples for identification, and then the algorithm is used to synthesize and restore them into the identification results of thin-walled cells;

[0010] Step S2: Identification model of thin-walled cells: Thin-walled cells are morphologically a "honeycomb-like" continuously arranged closed structure, and are embedded between vascular bundles on the cross section of bamboo. It is very difficult to directly identify thin-walled cells. Therefore, the present invention extracts pictures containing only vascular bundles and thin-walled cells during the training process and constructs them into trainable sample pictures. The significance of such sample pictures is to construct a thin-walled cell dataset by eliminating the vascular bundles in the trainable sample pictures. Considering the real scene, there may be scanning background, bamboo boundaries and potential noise around the thin-walled cells. Therefore, we further upgraded the thin-walled cell dataset and randomly pasted the thin-walled cell dataset onto a background picture with Gaussian noise to simulate various noise conditions that may occur;

[0011] Step S3: Model inference, including the following three steps:

[0012] Step 1: Identification of standard images: Cut the uploaded original cross-section image from top to bottom and from left to right into standard data samples; paste the standard samples into a pure black background image for identification to obtain the identification results of thin-walled cells in the standard image; then map the identification results back to the original cross-section image in the order of the cut standard images;

[0013] Step 2: Restoration of the standard image: Due to the essential characteristics of the neural network, the boundaries of the recognized standard parenchyma cell image may be randomly missing, resulting in obvious splicing lines in the restored original cross-sectional image;

[0014] Dilation and erosion are commonly used image processing operations in mathematical morphology, which can be used to remove noise and small connected areas in images, such as stitching lines. The following are the mathematical definitions and formulas of dilation and erosion operations:

[0015] Expansion:

[0016] The dilation operation can enlarge the white areas in the image and is often used to connect disconnected areas or fill small holes. Mathematically, the dilation of a binary image I and a structure element B is defined as:

[0017]

[0018] in, represents the reflection of the structural element B, that is (B) z represents translating the structural element B to position z.

[0019] For grayscale images, the dilation operation is defined as:

[0020]

[0021] corrosion:

[0022] The erosion operation can reduce the white area in the image and is often used to remove small noise or disconnect small connections. Mathematically, the erosion of a binary image I and a structural element B is defined as:

[0023]

[0024] For grayscale images, the erosion operation is defined as:

[0025]

[0026] Opening and closing operations:

[0027] Opening and closing operations are a combination of dilation and erosion operations to remove noise and small connected regions while preserving the main image structure.

[0028] The opening operation is defined as erosion followed by dilation:

[0029]

[0030] The closing operation is defined as dilation followed by erosion:

[0031]

[0032] Step 3: Correction of the results of the morphological function: Use the filtering method to identify the boundary, and obtain the pixel segmentation threshold through the filtering method to obtain a more refined original cross-sectional edge image;

[0033] The OSTU filter is an adaptive image binarization method that automatically determines the optimal threshold by maximizing the inter-class variance. The following is the detailed process of the OSTU filter:

[0034] Compute the grayscale histogram of an image:

[0035] The grayscale range of the image is divided into L levels, usually L=256.

[0036] Count the number of pixels n at each gray level i , where i=0,1,…,L-1.

[0037] Calculate the total number of pixels

[0038] Calculate the between-class variance:

[0039] For each possible threshold t, the image is divided into two classes: background (grayscale less than or equal to t) and foreground (grayscale greater than t).

[0040] Calculate the number of pixels w0(t) and the average grayscale μ0(t) of the background class

[0041]

[0042] where p i =n i / N is the percentage of pixels in the i-th gray level.

[0043] Calculate the number of pixels w1(t) and the average grayscale μ1(t) of the foreground class:

[0044] w1(t)=1-w0(t)

[0045] μ1(t)=(μ T -w0(t)·μ0(t)) / w1(t)

[0046] in is the average grayscale of the entire image.

[0047] Calculate the between-class variance

[0048]

[0049] Find the threshold corresponding to the maximum between-class variance:

[0050] Traverse all possible thresholds t and find the variance between classes Maximum threshold t*:

[0051]

[0052] As a preferred implementation manner of the present invention, the standard data sample in step S1 is a sample of size 512*512.

[0053] As a preferred embodiment of the present invention, in step S2, considering that in real scenes, there may be scanning background, bamboo boundaries and potential noise around the thin-walled cells; therefore, the thin-walled cell dataset is further upgraded and the thin-walled cell dataset is randomly pasted onto a background image with Gaussian noise to simulate various noise situations that may occur.

[0054] As a preferred embodiment of the present invention, in step S2, the image segmentation model is trained using the thin-walled cell dataset to obtain a basic thin-walled cell recognition algorithm.

[0055] As a preferred implementation of the present invention, in the second step of step S3, in order to eliminate the splicing line, a dilation-erosion function is used to erase the splicing line.

[0056] As a preferred embodiment of the present invention, the image segmentation model for the thin-walled cell dataset training is YOLOv8;

[0057] YOLOv8 is a target detection and segmentation algorithm based on deep learning. It is the latest version of the YOLO (You Only LookOnce) series of algorithms. The following is a brief description of the basic calculation process of the YOLO series of algorithms:

[0058] Backbone network: Convolutional neural networks (such as CSPDarknet) are usually used to extract image features. The following is the process of the backbone network:

[0059] Convolutional layer: f(x) = (x*W+b)*σ(x), where * represents the convolution operation and σ(x) is the activation function.

[0060] Pooling layer: downsampling to reduce the size of feature maps.

[0061] Feature Pyramid Network (FPN): Fuse feature maps of different scales to improve the detection ability of objects of different sizes.

[0062] Upsampling: Enlarge the feature map using bilinear interpolation or transposed convolution.

[0063] Feature fusion: f out =f up +f lateral , where f up is the upsampled feature map, f lateral are feature maps of the same scale.

[0064] Detection Head: performs object detection and segmentation on the feature map.

[0065] Detection branch: Generate candidate boxes (anchor boxes) and predict their categories and coordinates.

[0066] Category prediction: p i =σ(f i (x)), where p i is the probability of the i-th category, f i (x) is the linear transformation of feature map x.

[0067] Coordinate prediction: b i =(t x ,t y ,t w ,t h ), where (t x ,t y ) is the offset of the candidate box center relative to the grid, (t w ,t h ) is the scaling factor of the candidate box width and height.

[0068] Segmentation branch: Generate a pixel-level mask for each candidate box.

[0069] Mask prediction: m i =σ(g i (x)), where m i is the mask of the i-th candidate box, g i (x) is the linear transformation of feature map x.

[0070] Loss function: includes classification loss, positioning loss and segmentation loss.

[0071] Classification loss: binary cross entropy

[0072] Positioning loss: IoU loss Where b is the true bounding box, is the predicted bounding box.

[0073] Segmentation loss: binary cross entropy

[0074] Post-processing: Non-maximum suppression (NMS) removes overlapping detection boxes and filters low-quality detection results based on the confidence threshold.

[0075] The total loss function is: L = λ1L cls +λ2L loc +λ3L seg , λ1, λ2, λ3 are balance coefficients.

[0076] During training, the loss function is minimized and the network weights are updated using stochastic gradient descent (SGD) or Adam optimizer. During inference, the input image passes through the backbone network, FPN, and detection head to generate the final detection and segmentation results.

[0077] The present invention also discloses a thin-walled cell identification and analysis device, comprising an input device, a computing device and a display device, wherein the input device is responsible for scanning the cross section of bamboo and obtaining high-resolution image data; the computing device is used to run the calculated image data and execute the model inference process; various required indicators are generated according to the identified thin-walled cell structure; and the display device is used to display the analysis results.

[0078] Compared with the prior art, the present invention has the following beneficial effects:

[0079] The thin-walled cell identification device proposed in the present invention combines the automation advantages of digital image analysis with the high-precision identification capabilities of the neural network model. Compared with traditional methods, the present invention greatly improves the accuracy and detail resolution of the analysis, and can provide accurate indicators such as the size, shape, area ratio and distribution of thin-walled cells. More importantly, the device reduces human errors, provides a high degree of result repeatability, simplifies the operating steps, reduces the requirements for operator skills, and reduces costs.

[0080] In addition, the thin-walled cell identification device proposed in the present invention has a high degree of automation and can quickly process a large number of samples while maintaining the accuracy of the analysis, thereby significantly improving work efficiency. This automated multi-dimensional analysis method not only increases the understanding of the number and structure of thin-walled cells, but also provides an intuitive morphological display. Therefore, the present invention is not only conducive to the systematic study and quality control of bamboo properties, but can also be widely used in related fields such as fiber material science and botany, promoting the innovative development of new material design and bamboo application technology.

[0081] The specific implementation modes of the present invention are further described in detail below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] In the attached picture:

[0083] Figure 1 It is a schematic diagram of the process of the present invention;

[0084] Figure 2 It is a schematic diagram of the bamboo cross-section image analysis of the present invention. DETAILED DESCRIPTION

[0085] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0086] A method for identifying and analyzing thin-walled cells comprises the following steps:

[0087] Step S1: Preparation of data set: Since thin-walled cells may be scanned under different conditions and states to generate samples to be identified, the robustness of the algorithm when facing complex data needs to be considered in advance during the data set preparation stage; all data are converted into standard data samples for identification, and then the algorithm is used to synthesize and restore them into the identification results of thin-walled cells;

[0088] Step S2: Identification model of thin-walled cells: Thin-walled cells are morphologically a "honeycomb-like" continuously arranged closed structure, and are embedded between vascular bundles on the cross section of bamboo. It is very difficult to directly identify thin-walled cells. Therefore, the present invention extracts pictures containing only vascular bundles and thin-walled cells during the training process and constructs them into trainable sample pictures. The significance of such sample pictures is to construct a thin-walled cell dataset by eliminating the vascular bundles in the trainable sample pictures. Considering the real scene, there may be scanning background, bamboo boundaries and potential noise around the thin-walled cells. Therefore, we further upgraded the thin-walled cell dataset and randomly pasted the thin-walled cell dataset onto a background picture with Gaussian noise to simulate various noise conditions that may occur;

[0089] Step S3: Model inference, including the following three steps:

[0090] Step 1: Identification of standard images: Cut the uploaded original cross-section image from top to bottom and from left to right into standard data samples; paste the standard samples into a pure black background image for identification to obtain the identification results of thin-walled cells in the standard image; then map the identification results back to the original cross-section image in the order of the cut standard images;

[0091] Step 2: Restoration of the standard image: Due to the essential characteristics of the neural network, the boundaries of the recognized standard parenchyma cell image may be randomly missing, resulting in obvious splicing lines in the restored original cross-sectional image;

[0092] Dilation and erosion are commonly used image processing operations in mathematical morphology, which can be used to remove noise and small connected areas in images, such as stitching lines. The following are the mathematical definitions and formulas of dilation and erosion operations:

[0093] Expansion:

[0094] The dilation operation can enlarge the white areas in the image and is often used to connect disconnected areas or fill small holes. Mathematically, the dilation of a binary image I and a structure element B is defined as:

[0095]

[0096] in, represents the reflection of the structural element B, that is (B) z represents translating the structural element B to position z.

[0097] For grayscale images, the dilation operation is defined as:

[0098]

[0099] corrosion:

[0100] The erosion operation can reduce the white area in the image and is often used to remove small noise or disconnect small connections. Mathematically, the erosion of a binary image I and a structural element B is defined as:

[0101]

[0102] For grayscale images, the erosion operation is defined as:

[0103]

[0104] Opening and closing operations:

[0105] Opening and closing operations are a combination of dilation and erosion operations to remove noise and small connected regions while preserving the main image structure.

[0106] The opening operation is defined as erosion followed by dilation:

[0107]

[0108] The closing operation is defined as dilation followed by erosion:

[0109]

[0110] Step 3: Correction of the results of the morphological function: Use the filtering method to identify the boundary, and obtain the pixel segmentation threshold through the filtering method to obtain a more refined original cross-sectional edge image;

[0111] The OSTU filter is an adaptive image binarization method that automatically determines the optimal threshold by maximizing the inter-class variance. The following is the detailed process of the OSTU filter:

[0112] Compute the grayscale histogram of an image:

[0113] The grayscale range of the image is divided into L levels, usually L=256.

[0114] Count the number of pixels n at each gray level i , where i=0,1,…,L-1.

[0115] Calculate the total number of pixels

[0116] Calculate the between-class variance:

[0117] For each possible threshold t, the image is divided into two classes: background (grayscale less than or equal to t) and foreground (grayscale greater than t).

[0118] Calculate the number of pixels w0(t) and the average grayscale μ0(t) of the background class

[0119]

[0120] where p i =n i / N is the percentage of pixels in the i-th gray level.

[0121] Calculate the number of pixels w1(t) and the average grayscale μ1(t) of the foreground class:

[0122] w1(t)=1-w0(t)

[0123] μ1(t)=(μ T -w0(t)·μ0(t)) / w1(t)

[0124] in is the average grayscale of the entire image.

[0125] Calculate the between-class variance

[0126]

[0127] Find the threshold corresponding to the maximum between-class variance:

[0128] Traverse all possible thresholds t and find the variance between classes Maximum threshold t*:

[0129]

[0130] Furthermore, the standard data sample in step S1 is a sample of size 512*512.

[0131] Furthermore, in step S2, considering that in real scenes, there may be scanning background, bamboo boundaries and potential noise around the thin-walled cells, the thin-walled cell dataset is further upgraded and the thin-walled cell dataset is randomly pasted onto a background image with Gaussian noise to simulate various possible noise situations.

[0132] Furthermore, in step S2, the image segmentation model is trained using the thin-walled cell dataset to obtain a basic thin-walled cell recognition algorithm.

[0133] Furthermore, in the second step of step S3, in order to eliminate the splicing line, the splicing line is erased using the expansion erosion function; the image segmentation model trained in the thin-walled cell dataset is YOLOv8;

[0134] YOLOv8 is a target detection and segmentation algorithm based on deep learning. It is the latest version of the YOLO (You Only LookOnce) series of algorithms. The following is a brief description of the basic calculation process of the YOLO series of algorithms:

[0135] Backbone network: Convolutional neural networks (such as CSPDarknet) are usually used to extract image features. The following is the process of the backbone network:

[0136] Convolutional layer: f(x) = (x*W+b)*σ(x), where * represents the convolution operation and σ(x) is the activation function.

[0137] Pooling layer: downsampling to reduce the size of feature maps.

[0138] Feature Pyramid Network (FPN): Fuse feature maps of different scales to improve the detection ability of objects of different sizes.

[0139] Upsampling: Enlarge the feature map using bilinear interpolation or transposed convolution.

[0140] Feature fusion: f out =f up +f lateral , where f up is the upsampled feature map, f lateral are feature maps of the same scale.

[0141] Detection Head: performs object detection and segmentation on the feature map.

[0142] Detection branch: Generate candidate boxes (anchor boxes) and predict their categories and coordinates.

[0143] Category prediction: p i =σ(f i (x)), where pi is the probability of the i-th category, f i (x) is the linear transformation of feature map x.

[0144] Coordinate prediction: b i =(t x ,t y ,t w ,t h ), where (t x ,t y ) is the offset of the candidate box center relative to the grid, (t w ,t h ) is the scaling factor of the candidate box width and height.

[0145] Segmentation branch: Generate a pixel-level mask for each candidate box.

[0146] Mask prediction: m i =σ(g i (x)), where m i is the mask of the i-th candidate box, g i (x) is the linear transformation of feature map x.

[0147] Loss function: includes classification loss, positioning loss and segmentation loss.

[0148] Classification loss: binary cross entropy

[0149] Positioning loss: IoU loss Where b is the true bounding box, is the predicted bounding box.

[0150] Segmentation loss: binary cross entropy

[0151] Post-processing: Non-maximum suppression (NMS) removes overlapping detection boxes and filters low-quality detection results based on the confidence threshold.

[0152] The total loss function is: L = λ1L cls +λ2L loc +λ3L seg , λ1, λ2, λ3 are balance coefficients.

[0153] During training, the loss function is minimized and the network weights are updated using stochastic gradient descent (SGD) or Adam optimizer. During inference, the input image passes through the backbone network, FPN, and detection head to generate the final detection and segmentation results.

[0154] The present invention also discloses a thin-walled cell identification and analysis device, comprising an input device, a computing device and a display device, wherein the input device is responsible for scanning the cross section of bamboo and obtaining high-resolution image data; the computing device is used to run the calculated image data and execute the model inference process; various required indicators are generated according to the identified thin-walled cell structure; and the display device is used to display the analysis results.

[0155] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions. The sentence "includes an element defined by ... does not exclude the existence of other identical elements in the process, method, article or device including the element".

[0156] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for identifying and analyzing thin-walled cells, characterized in that: The steps include: Step S1: Preparation of data set: Since thin-walled cells may be scanned under different conditions and states to generate samples to be identified, the robustness of the algorithm when facing complex data needs to be considered in advance during the data set preparation stage; all data are converted into standard data samples for identification, and then the algorithm is used to synthesize and restore them into the identification results of thin-walled cells; Step S2: Identification model of thin-walled cells: The thin-walled cells are morphologically a "honeycomb-like" continuously arranged closed structure, embedded between the vascular bundles on the cross section of bamboo. It is very difficult to directly identify the thin-walled cells. During the training process, images containing only vascular bundles and thin-walled cells are extracted and constructed into trainable sample images. By removing the vascular bundles in the trainable sample images, a thin-walled cell dataset is constructed; Step S3: Model inference, including the following three steps: Step 1: Identification of standard images: Cut the uploaded original cross-sectional images into standard data samples from top to bottom and from left to right; Paste the standard sample into a pure black background image for identification, and obtain the identification result of the thin-walled cells in the standard image; then map the identification result back to the original cross-section image according to the order of the cut standard images; Step 2: Restoration of the standard image: Due to the essential characteristics of the neural network, the boundaries of the recognized standard parenchyma cell image may be randomly missing, resulting in obvious splicing lines in the restored original cross-sectional image; Step 3: Correction of the results of the morphological function: Use filtering to identify boundaries, and obtain the pixel segmentation threshold through filtering to obtain a more refined original cross-sectional edge image.

2. A thin-walled cell identification and analysis method according to claim 1, characterized in that: The standard data sample in step S1 is a sample of size 512*512.

3. A thin-walled cell identification and analysis method according to claim 1, characterized in that: In step S2, considering that in real scenes, there may be scanning background, bamboo boundaries and potential noise around the thin-walled cells, the thin-walled cell dataset is further upgraded by randomly pasting the thin-walled cell dataset onto a background image with Gaussian noise to simulate various possible noise situations.

4. A thin-walled cell identification and analysis method according to claim 1, characterized in that: In the step S2, the image segmentation model is trained using the thin-walled cell dataset to obtain a basic thin-walled cell recognition algorithm.

5. A thin-walled cell identification and analysis method according to claim 1, characterized in that: In the second step of step S3, in order to eliminate the splicing line, the splicing line is erased using a dilation-erosion function.

6. A thin-walled cell identification and analysis method according to claim 4, characterized in that: The image segmentation model used for the thin-walled cell dataset training is YOLOv8.

7. A thin-walled cell identification and analysis device, applied to the thin-walled cell identification and analysis method according to any one of claims 1 to 6, characterized in that: It includes an input device, a computing device and a display device. The input device is used to scan the cross section of the bamboo material and obtain high-resolution image data; the computing device is used to run the calculated image data and execute the model inference process; various required indicators are generated according to the identified thin-walled cell structure; and the display device is used to display the analysis results.