Next Article in Journal
RETRACTED: Integrated Analysis of Physiological and Transcriptional Mechanisms in Response to Drought Stress in Scaevola taccada Seedlings
Next Article in Special Issue
SCEA-YOLO: A General-Purpose Maturity Grading Model of Multi-Crop Greenhouse Robots
Previous Article in Journal
Roles of Cultivar, Light and Carbohydrates in Rooting of Cuttings of Hydrangea macrophylla
Previous Article in Special Issue
Hybrid Deep Learning–Geostatistical Mapping of Forest Aboveground Biomass in Lishui, China
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

MBMSA-UNet: A Multi-Scale Attention-Based Instance Segmentation Model for Moso Bamboo Cells

1
College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China
2
Business School, Nanfang College Guangzhou, Guangzhou 510970, China
3
School of Economics and Trade, Changzhou Technical Institute of Tourism & Commerce, Changzhou 213032, China
*
Authors to whom correspondence should be addressed.
Plants 2026, 15(6), 969; https://doi.org/10.3390/plants15060969
Submission received: 13 February 2026 / Revised: 17 March 2026 / Accepted: 18 March 2026 / Published: 20 March 2026
(This article belongs to the Special Issue Advanced Remote Sensing and AI Techniques in Agriculture and Forestry)

Abstract

Instance segmentation of moso bamboo cells is a critical step in quantitative structural analysis of bamboo materials and plant phenomics research. Moso bamboo tissues are mainly composed of vascular bundles and parenchyma cells. Within vascular bundles, fiber cells exhibit thick cell walls and extremely dense arrangements, whereas vessel cells are characterized by large diameters and complex internal structures. These features frequently lead to blurred boundaries, structural complexity, and local overexposure in microscopic images, making it difficult for traditional segmentation algorithms to achieve stable and accurate results. Although the U-Net has demonstrated outstanding performance in biological microscopic image analysis, its feature extraction capability and boundary recognition stability remain insufficient when dealing with the composite structure of moso bamboo. To address these challenges, this study proposes an improved model based on a multi-scale attention mechanism, termed MBMSA-UNet (Moso Bamboo Multi-Scale Attention U-Net). Building upon the encoder–decoder architecture of U-Net, the proposed model introduces a multi-scale channel-spatial attention block, aiming to handle the pronounced morphological and scale differences among vessels, fibers, and parenchyma cells. By adaptively reweighting features at different scales, the model enhances cross-layer feature fusion and strengthens responses to key regions, thereby effectively suppressing local overexposure interference and emphasizing boundary features between different cell types. Experimental results demonstrate that, compared with the U-Net and several of its improved variants, MBMSA-UNet achieves higher segmentation accuracy and greater robustness on microscopic images of moso bamboo, providing a solid foundation for fine-grained quantitative analysis of complex bamboo tissues.

1. Introduction

Instance segmentation of moso bamboo (Phyllostachys edulis) cells is a fundamental task for investigating bamboo growth mechanisms and the mechanical properties of bamboo materials. As a typical fast-growing plant with high carbon sequestration efficiency, the cellular structure of moso bamboo underlies its excellent mechanical and ecological performance [1,2,3,4]. At the microscopic level, bamboo tissues are primarily composed of vascular bundles and parenchyma cells, which exhibit diverse morphologies and relatively weak boundaries [1,5]. Moso bamboo plays a critical role in global environmental protection, achieving carbon neutrality, and ecological restoration goals [6,7,8,9]. However, large-scale harvesting requires a deeper understanding of bamboo cellular structures and growth patterns [10,11,12]. Cellular structures vary significantly across different internode positions, which directly affects structural analysis [13,14]. To reveal these characteristics, various microscopic imaging techniques have been employed, including optical microscopy [1], X-ray microscopy [15,16], micro-CT [17,18], time-lapse microscopy [19], and transmission electron microscopy [20]. These studies have successfully elucidated the spatiotemporal evolution of cell types during bamboo development [21,22]. By enabling the automatic identification of individual cells, researchers can quantitatively analyze cell morphology and spatial arrangement, providing precise data support for mechanical and growth modeling. Vascular bundles serve as functional units integrating transport and mechanical support, consisting mainly of two key cell types. First, vessel cells function as conducting tissues responsible for longitudinal transport; morphologically, they appear as large-lumen structures often accompanied by lignified and thickened cell walls. Second, fiber cells are mainly distributed around the vascular bundles to form a mechanical sheath; they are characterized by elongated shapes, extremely thick walls, and exceptionally dense arrangements. This complex cellular composition poses significant challenges for automated instance segmentation. The dense arrangement of fiber cells results in highly ambiguous intercellular boundaries, while the large size of vessel cells and the irregular morphology of parenchyma cells introduce pronounced scale variations. Furthermore, local overexposure and low signal-to-noise ratios frequently occur during image acquisition, further increasing the difficulty of precise segmentation.
Constructing comprehensive three-dimensional structural models requires high-precision algorithms capable of accurately distinguishing cell types and extracting precise boundaries. Existing image segmentation methods fall into traditional image processing approaches and deep learning-based methods. Traditional approaches rely on handcrafted features but show limited performance on dense bamboo microstructures, often leading to under-segmentation or misclassifying overexposed textures as noise. Furthermore, they are highly sensitive to illumination and imaging conditions [23]. Convolutional neural networks (CNNs) have provided new solutions through end-to-end feature learning, effectively extracting multi-scale features and suppressing pseudo-texture interference. Nevertheless, standard convolution kernels often struggle to capture features across the extreme scale discrepancies between small fiber cells and large vessel cells [24,25]. In the field of general cell segmentation, models like Cellpose [26] and HoVer-Net [27] achieve unified segmentation and fine-grained boundary extraction. In plant science, deep learning is widely applied. For instance, PlantSeg [28] and methods developed by Smith et al. [29] provide robust cell-level segmentation. Recent reviews also show notable progress in crop disease detection and plant phenotyping [30,31]. Among deep learning models, U-Net and its variants are highly representative in biological microscopic image analysis [32,33,34]. However, when applied to moso bamboo, the standard U-Net suffers from boundary information loss, false responses to internal overexposure, and difficulty handling the strong adhesion and scale disparity of dense vascular bundles [35]. To address these issues, numerous improvements have been proposed, such as RSU-Net [36], MSECA-U-Net [37], ECA-Net integrations [38], E-Res U-Net [39], and SDAU-Net [40]. Other variants have utilized SE modules [32], densely connected blocks [33], or optimized information fusion during upsampling [34]. Although promising, these methods still struggle to simultaneously achieve fine-grained boundary delineation and effective multi-scale modeling for complex bamboo tissues.
To address the key bottlenecks of blurred boundaries, local overexposure, and significant structural scale variations, this study proposes an improved instance segmentation model tailored for moso bamboo cells, namely MBMSA-UNet (Moso Bamboo Multi-Scale Attention U-Net). Built upon the classical U-Net framework, the proposed model introduces a multi-scale channel-spatial attention module to adaptively adjust feature weights, enhance boundary responses, and effectively suppress internal overexposure. The network predicts both cell regions and boundary-related features, enabling reliable instance-level segmentation of densely packed cells during post-processing. Experimental results demonstrate that MBMSA-UNet significantly outperforms conventional U-Net and its improved variants [36,37,38,39,40], achieving clear advantages in segmentation accuracy and boundary integrity. This approach provides a new, robust solution for the automated segmentation of complex plant cells and establishes a methodological foundation for future studies on bamboo growth mechanisms and tissue structural analysis [41].

2. Materials and Methods

2.1. MBVB-PaC Dataset

2.1.1. Data Acquisition and Labeling

To systematically study the three-dimensional microstructural characteristics of moso bamboo culm tissue, we constructed a micro-CT image dataset containing vascular bundles and pith cells, named MBVB-PaC (Moso Bamboo Vascular Bundle and Pith Cell Dataset) (Figure 1). The growth pattern of moso bamboo cells is such that their height and morphology are essentially completed within a single growing season, after which they no longer grow taller but only undergo tissue maturation and cell wall thickening. The moso bamboo samples used in this study were collected from moso bamboo plants in Zhejiang Province, China, which is a high-yielding region for moso bamboo with a warm and humid climate and abundant rainfall, suitable for moso bamboo growth. In this region, the moso bamboo takes approximately 40 to 60 days to mature. Therefore, samples were collected from moso bamboo plants after the formation stage to facilitate understanding of the cell growth pattern after this stage. The samples were collected from the upper and middle parts of individual moso bamboo culms. The extracted tiny samples had a physical size of 0.0503 cm × 0.0518 cm × 0.1905 cm and were scanned using a micro-CT system to obtain continuous cross-sectional slices with a resolution of 1939 × 1995 pixels. The ratio of the size of moso bamboo cells in the slice image to the actual moso bamboo cells is 1:0.2956. A total of 1400 images were collected, including 800 from the upper and middle parts and 600 from the lower part. Compared to traditional microscopic observation methods, CT scanning technology can non-destructively acquire high-resolution image information. More and more researchers are applying CT technology to plant cell research. The spatial resolution of micro-CT can reach the micrometer or even submicrometer level, allowing for clear observation of plant cell structures through the images obtained. By adopting this high-precision, fine-step scanning strategy, key structural features of moso bamboo tissue, including the thick walls and dense arrangement of fiber cells, the significant lumens of vessel cells, and the overall structural complexity of vascular bundles, were comprehensively captured. Since the scanning step length is much smaller than the typical cell diameter, individual cells repeatedly appear in multiple continuous slices, ensuring complete recording of information from different cross-sections. This redundancy enables the dataset to retain richer three-dimensional structural details.
The acquired images were initially pre-labeled using the Cellpose cell segmentation model to automatically generate label files. Each cell instance was assigned an individual label, and the corresponding boundary coordinates were recorded in text format, where straight-line connections between successive coordinate points formed closed cell contours. This pre-annotation strategy substantially reduced the manual labeling workload. The generated text-based labels were subsequently converted into JSON format, and the cell categories were manually refined in LabelMe 5.2.1 by relabeling instances as either vascular bundle or parenchyma cell, resulting in a two-class annotated dataset.
Based on the annotation results, the original microscopic CT images were organized into paired image-mask samples, where input images were represented as three-channel RGB images, and corresponding masks were single-channel integer-labeled maps. The dataset included three categories: background, parenchyma cells, and vascular bundles.

2.1.2. Data Augmentation

Before dataset splitting, each original image was evenly partitioned into nine non-overlapping patches in a 3 × 3 layout. This strategy reduced information waste caused by direct cropping, preserved more useful local details, and effectively expanded the dataset beyond the original 1400 images to 12,600 images. The dataset was then randomly split into training and validation subsets at an 8:2 ratio, with category distributions kept as balanced as possible across the two subsets. To reduce the potential bias caused by a single train–validation split, a 5-fold cross-validation experiment was conducted, and the average performance is reported. Prior to network input, the original single-channel discrete masks were converted into three-channel one-hot encoded representations to support multi-class pixel-wise classification loss functions and evaluation metrics. Subsequently, a series of synchronized data augmentation operations was applied to image–mask pairs to enhance model generalization and alleviate overfitting, which were as follows: (1) Random Rotation: For each sample, a rotation angle was randomly sampled with a probability of 25%, and both the image and its corresponding mask were rotated using the same affine transformation. Nearest-neighbor interpolation was employed to prevent label ambiguity or boundary blurring in the masks. (2) Random Flipping: For each sample, a random number drawn from a uniform distribution U(0, 1) was used to determine conditional flipping operations. Vertical flipping was applied when the random value was less than 0.25, while horizontal flipping was applied when the value exceeded 0.75. This strategy resulted in approximately 25% probability for both vertical and horizontal flips, effectively simulating variations in slicing orientation and imaging direction. (3) Brightness and Hue Perturbation: During training, random brightness and hue augmentations were applied exclusively to the input images. The maximum brightness variation was set to 0.1, and the maximum hue variation was set to 0.5. Pixel values were clipped to the range [0, 1] after augmentation (Figure 2). These operations were not applied to the masks, ensuring structural consistency while increasing diversity in illumination conditions and staining variations.
Each MBVB-PaC image typically contains a variable number of parenchyma cells (approximately 100–300 per image), along with vascular bundle structures composed of vessels, fibers, and phloem tissues, providing a realistic and comprehensive sample basis for cellular morphology analysis. As shown in the annotated samples in Figure 1, the microscopic CT images exhibit characteristic features such as densely packed fiber regions, large vessel lumens, considerable background noise, blurred boundaries, and mixed cellular morphologies. These complex patterns reflect the natural anatomical organization of moso bamboo tissues and pose significant challenges for segmentation models, particularly in handling extreme scale variations and tightly adhered boundaries. Consequently, the MBVB-PaC dataset holds substantial academic and practical value for evaluating advanced cell segmentation methods (Figure 3).

2.2. MBMSA-UNet

2.2.1. Architecture

The overall architecture of MBMSA-UNet is inspired by the triple-symmetric encoder–decoder design of UNet-ID (Figure 3). The network consists of three structurally identical but parameter-independent encoder–decoder branches, which operate in parallel to extract features and perform hierarchical semantic analysis on the input microscopic images. This triple-branch design enables the model to capture fine-grained differences in moso bamboo cell structures from multiple perspectives, scales, and representation pathways, thereby significantly enhancing sensitivity to subtle cell boundaries, textures, and low-contrast regions.
Within each branch, the encoder progressively extracts multi-scale features ranging from shallow texture information to high-level semantic representations through successive convolutional layers, downsampling operations, and feature aggregation. The decoder restores spatial resolution via upsampling and fuses shallow detail features with deep semantic features through skip connections, ensuring precise discrimination between cellular structures and background regions. The network predicts pixel-wise probability maps representing cellular regions in the microscopic images.
In moso bamboo tissues, neighboring cells are usually densely packed, and the boundaries between adjacent cells are often weak or partially indistinguishable. To alleviate this difficulty, the network is designed to enhance the representation of cell boundary features during feature extraction and decoding. Stronger boundary responses help highlight the cell walls that separate neighboring cells. During inference, the predicted probability maps are first converted into discrete segmentation masks. The enhanced boundary responses facilitate the separation of densely adhered cell regions. Subsequently, connected-component analysis is applied to identify individual connected regions, and each region is assigned a unique label to form a cell instance. In this way, instance-level segmentation of bamboo cells can be obtained while maintaining the stability of semantic segmentation training. The instance generation process is illustrated in Figure 4. Starting from the original micro-CT image (Figure 4A), the network predicts strong boundary responses that highlight the cell walls separating neighboring cells (Figure 4B). Based on these boundary cues, densely adhered cellular regions are separated to obtain individual cell interiors (Figure 4C). Finally, connected-component labeling assigns a unique identifier to each separated region, producing the final cell instances (Figure 4D).
To further strengthen feature representation, MBAM (Moso Bamboo Attention Module) blocks are introduced at two critical stages. In the first encoder stage, MBAM modules are inserted after convolutional blocks at each scale and before feature downsampling, enabling adaptive recalibration of channel-wise features to emphasize informative texture regions while suppressing redundant background noise. In the second decoder stage, MBAM modules are applied after each upsampling and skip-connection fusion step to mitigate noise amplification from shallow features and to enhance boundary representation consistency, thereby improving localization accuracy in complex boundary regions. This insertion strategy reinforces hierarchical feature propagation during encoding and suppresses mis-segmentation caused by local overexposure during decoding. In alignment with the challenges discussed in the Introduction, the proposed architecture specifically addresses blurred intercellular boundaries, local overexposure, and pronounced structural scale variations in moso bamboo microscopic images.
Let the input image be x R H × W × C , and the network output be a pixel-wise foreground probability map y ^ = σ ( f θ ( x ) ) , where f θ ( · ) denotes the learnable mapping and σ ( · ) is the Sigmoid function. During training, a weighted combination of binary cross-entropy (BCE) loss and Dice loss, which could be denoted as L = λ L B C E + ( 1 λ ) L D i c e , is employed. For the validation set, only essential type conversions and one-hot encoding are performed, with no random augmentation applied, ensuring a stable data distribution and objective evaluation of model generalization performance.

2.2.2. MBAM

To address the three major challenges of moso bamboo microscopic images—blurred intercellular boundaries, local overexposure, and significant structural scale variation—we designed the MBAM module (Figure 5). MBAM adopts a cascaded structure of channel recalibration followed by spatial saliency enhancement, enabling adaptive feature weighting during both downward feature propagation and skip-connection fusion to strengthen responses to critical cellular regions. Let the input feature map be F R H × W × C . Channel Attention first adopts global average pooling to obtain a channel descriptor z R C . This descriptor is then passed through a two-layer fully connected bottleneck structure to generate a channel weight vector S ( 0 ,   1 ) C , where W 1 R C r × C , W 2 R C × C r , r denotes the channel reduction ratio, δ ( · ) is the ReLU activation, and σ ( · ) is the Sigmoid function. The channel-recalibrated feature map is denoted as F i ,   j ,   c CA = s c · F i ,   c ,   j . Spatial attention is then applied by performing average pooling and max pooling along the channel dimension of F CA , yielding two spatial maps A ,   M R H × W × 1 . These maps are concatenated along the channel dimension and passed through a 7 × 7 convolution followed by a Sigmoid function to produce a spatial attention map P ( 0 ,   1 ) H × W × 1 .
By applying channel recalibration prior to spatial gating, MBAM demonstrates more stable enhancement of boundary regions and low-contrast areas compared with alternative designs (e.g., spatial-first or parallel attention), while effectively suppressing erroneous activation of background textures in cell segmentation tasks. The parameter and computational overhead of MBAM are relatively small compared with the convolutional backbone. Given channel number C and reduction ratio r , the channel attention module introduces approximately 2 C 2 / r parameters, while the spatial attention module adds only 7 × 7 × 2 = 98 parameters. This overhead is negligible compared with standard convolution operations (e.g., two 3 × 3 convolutions with 9 C i n C o u t parameters). Under identical channel configurations and input resolutions, MBAM significantly improves boundary separation and weak-edge localization with acceptable computational cost. Inserting MBAM at the end of convolutional blocks allows global feature recalibration before downward propagation, reducing the accumulation of irrelevant responses. Placement after upsampling and skip fusion suppresses amplification of shallow textures during decoding while highlighting regions consistent with high-level semantics. To maintain training stability, MBAM is designed as a plug-and-play module decoupled from the backbone, without modifying the optimizer, learning rate schedule, loss function, or threshold settings. This design facilitates rapid reuse, fair comparison with existing U-Net variants, and transfer evaluation across different resolutions and microscopic imaging modalities. Compared with traditional attention modules, MBAM exhibits the following advantages: Its parameter design is tailored to the feature distribution characteristics of moso bamboo cell images, enabling simultaneous perception of morphologically distinct vascular bundle components (e.g., slender dense fibers and large-lumen vessels) and irregular parenchyma cells; it enhances interlayer semantic propagation and suppresses local overexposure during encoding while reinforcing boundary responses during decoding, yielding stable performance under low-contrast and high-blur conditions; and it maintains plug-and-play compatibility and optimization decoupling, allowing seamless integration into other bamboo cell analysis frameworks. With minimal additional parameters and high computational efficiency, MBAM consistently enhances blurred boundaries and overexposed regions in both middle-upper and middle-lower bamboo tissue samples, significantly improving the robustness and generalization of moso bamboo cell instance segmentation.

2.3. Experimental Settings

2.3.1. Experimental Environment and Training Configuration

All experiments were conducted in identical hardware and software environments. Model construction and training were implemented through joint invocation of the R programming language and deep learning frameworks, with GPU acceleration enabled via CUDA. The main experimental environment configuration is summarized in Table 1.
All models were trained under comparable settings, while minor adjustments were made according to the recommended configurations in the original papers. The key training hyperparameters of our model are listed in Table 2.
A relatively small initial learning rate combined with an extremely low decay term facilitates stable convergence of the multi-branch attention-based U-Net architecture. The batch size of 12 balances gradient estimation stability and training efficiency.

2.3.2. Evaluation Metrics

During training and validation, two metrics were recorded: the total loss and the Dice coefficient. The final model performance was evaluated using four metrics: Dice, IoU, Overall Accuracy, and m A P 50 95 m a s k . Let an image contain N pixels, with ground-truth mask y = { y i } i = 1 N y i 0 ,   1 and predicted mask y ^ = { y ^ i } i = 1 N , where y ^ i [ 0 ,   1 ] or y ^ i { 0 ,   1 } after thresholding. A small constant ε > 0 is added to avoid division by zero.
Dice (Sørensen–Dice coefficient) measures overlap quality between prediction and ground truth and is robust to class imbalance, making it particularly suitable for cell segmentation. The metric of Dice is defined as
D i c e = 2 i = 1 N y i y ^ i + ε / i = 1 N y i + i = 1 N y ^ i + ε = 2 T P 2 T P + F P + F N + ε
IoU (Intersection over Union) is more sensitive to boundary errors and reflects over-segmentation and under-segmentation effects. The metric of IoU is defined as
I o U = i = 1 N m i n ( y i ,   y ^ i ) i = 1 N m a x ( y i ,   y ^ i ) + ε = T P T P + F P + F N + ε
Overall Accuracy reflects global pixel classification accuracy but may be overly optimistic when foreground occupies a small fraction of the image; thus, it is reported alongside Dice and IoU. The metric of Overall Accuracy is defined as
O v e r a l l   A c c u r a c y = 1 N i = 1 N 1 [ y ^ i = y i ] = T P + T N N
m A P 50 95 m a s k (mean Average Precision for masks) evaluates instance-level detection and localization quality across both lenient and strict overlap thresholds and is particularly sensitive to boundary precision and instance discrimination performance at higher thresholds (≥0.75). Predicted instance masks are matched to ground-truth masks in descending order of confidence using maximum IoU or Hungarian matching. For IoU thresholds t {   0.50 ,   0.55 ,   ,   0.95   } , the average precision A P m a s k ( t ) is computed as the area under the precision–recall curve. The metric of m A P 50 95 m a s k is defined as
m A P 50 95 m a s k = 1 10 t     {   0.50 ,   0.55 ,   ,   0.95   } A P m a s k ( t )

3. Results

3.1. Comparative Experiments

3.1.1. Comparison of Attention Modules

To verify the effectiveness of the proposed Moso Bamboo Multi-scale Attention Module (MBAM), comparative experiments were conducted with three widely used attention mechanisms, which are SENet (Squeeze-and-Excitation Network), CBAM (Convolutional Block Attention Module), and CA (Coordinate Attention). All attention modules were embedded into the same U-Net backbone and trained and tested under identical settings. From the training loss and validation Dice curves of different attention modules (Figure 6A), it can be observed that all models exhibit rapid and stable convergence during the early training stage. As the number of epochs increases, the loss curves gradually flatten and enter a stable phase after approximately 80 epochs. Among all models, MBAM achieves the lowest final loss value, highlighting its superior capability in suppressing noise and enhancing effective feature representations. In terms of validation of Dice improvement (Figure 6B), CBAM shows a relatively faster performance gain in the early stage and reaches a high Dice level earlier. However, as training progresses, the performance improvement of CBAM gradually saturates and fails to maintain its advantage in the final convergence stage. In contrast, the Dice curve of MBAM continues to rise steadily during later training stages.
Table 3 summarizes the segmentation performance of different attention modules on the validation set, including Dice, IoU, Overall Accuracy, and m A P 50 95 m a s k . The results show that MBAM achieves the best performance on all three pixel-level metrics (Dice, IoU, and Overall Accuracy). CA slightly outperforms others on m A P 50 95 m a s k , indicating that coordinate-guided attention is more sensitive to elongated structures under higher IoU thresholds. Considering overall pixel-level overlap metrics, MBAM demonstrates greater robustness with minimal additional computational cost, satisfying the design goal of boundary refinement required for moso bamboo cell segmentation.
From the quantitative results in Table 3, MBAM (Ours) achieves the best performance across all three core pixel-level metrics: Dice = 0.9690, IoU = 0.9324, and Overall Accuracy = 0.9707. Compared with CA, CBAM, and SENet, MBAM improves IoU by +0.0012, +0.0024, and +0.0043, respectively. Dice is further improved from the range of 0.9622–0.9640 to 0.9690, while Overall Accuracy also ranks first within the range of 0.9688–0.9707. For instance-level mask quality, CA achieves the highest m A P 50 95 m a s k of 0.9314, whereas the remaining three methods all reach 0.9286, with differences on the order of 0.0028. These comparisons indicate that MBAM achieves comprehensive superiority in pixel-level overlap metrics (Dice/IoU/Overall Accuracy), while CA exhibits a slight advantage in cross-threshold instance matching ( m A P 50 95 m a s k ). In terms of stability and performance margin, MBAM consistently leads across all three pixel-level metrics with balanced improvements: the maximum IoU gain reaches +0.0043 (vs. SENet), and the maximum Dice gain is approximately +0.0068 (vs. SENet), demonstrating systematic improvements in pixel-level overlap and overall accuracy. Although MBAM is slightly lower than CA in m A P 50 95 m a s k by 0.0028, the difference is statistically small. Overall, MBAM and CA show complementary strengths across different evaluation dimensions, while the remaining methods fall into a secondary performance tier.

3.1.2. Comparison of Segmentation Models

To comprehensively evaluate the overall performance of MBMSA-UNet, several classical and lightweight instance segmentation models were selected as baselines, including U-Net, UNet++, U-Net-ID, YOLOv8m-seg, YOLOv9c-seg, YOLO11l-seg, and MBMSA-UNet (Ours). All models were trained on the same dataset with identical hyperparameter settings, and evaluation metrics and computational environments were kept consistent with those in Section 2 to ensure fairness and comparability. From the loss curves of different segmentation models (Figure 7A), it can be observed that U-Net-based models converge significantly faster than YOLO-based models, which is primarily attributed to differences in architectural design. Due to its increased structural complexity, MBMSA-UNet shows a slightly slower loss decrease in the early stage, but its overall curve is smoother and more stable. In contrast, YOLO-based models exhibit consistently higher loss values and slower convergence, which can be attributed to their detection-oriented architecture and multi-task loss formulation, making them less efficient for pixel-level optimization. The validation Dice curves (Figure 7B) further highlight the performance differences among the models. Although MBMSA-UNet shows a moderate growth rate in the early stage, its Dice curve continues to increase steadily as training progresses, eventually surpassing other U-Net variants and achieving the highest Dice score. The YOLO-based models maintain relatively low Dice values throughout training, stabilizing around 0.8, which is insufficient for fine-grained segmentation tasks. This further confirms the inherent limitations of general-purpose detection models in microscopic structure segmentation.
Table 4 summarizes the quantitative performance of different models. Compared with the standard U-Net, MBMSA-Unet achieves substantial improvements in Dice, IoU, and m A P 50 95 m a s k , significantly enhancing boundary consistency and reducing missed detections for adhesive cells. Compared with U-Net-ID and Unet++, MBMSA-Unet achieves higher Dice and IoU while maintaining a parameter count and computational cost close to U-Net-ID and far lower than Unet++ in terms of FLOPs, demonstrating a superior accuracy-efficiency trade-off. The YOLO series performs relatively poorly on this task, mainly due to its bias toward object-level detection and coarse-grained masks, which struggle to capture dense cell wall structures. This further validates the necessity of combining an encoder–decoder backbone with multi-scale attention mechanisms. As shown in Table 4, MBMSA-Unet achieves the best performance across all four core metrics: Dice = 0.9690, IoU = 0.9324, Overall Accuracy = 0.9707, and m A P 50 95 m a s k = 0.9286. Compared with the baseline U-Net, the improvements are +2.65, +3.95, +1.54, and +5.43 percentage points, respectively, indicating significant advantages in both pixel-level overlap and instance matching. Compared with U-Net-ID and Unet++, MBMSA-Unet remains superior in Dice and IoU, and also achieves higher m A P 50 95 m a s k (0.9286 vs. 0.9086/0.9014). The YOLOv8m-seg, YOLOv9c-seg, and YOLOv11l-seg models perform significantly worse across all metrics than U-Net-based methods. In terms of resource efficiency, MBMSA-Unet has approximately 26.37 M parameters and 43.19 B FLOPs, comparable to U-Net-ID (25.98 M/42.02 B). Compared with Unet++ (9.16 M/117.29 B), MBMSA-Unet achieves higher accuracy with substantially lower computational cost. Relative to U-Net (8.64 M/12.79 B), MBMSA-Unet incurs higher computation but yields substantial accuracy gains. Compared with YOLO-based models (~27–28 M/110–145 B), MBMSA-Unet requires significantly fewer FLOPs while achieving markedly higher accuracy. These results demonstrate that MBMSA-Unet achieves comprehensive superiority in Dice, IoU, Overall Accuracy, and m A P 50 95 m a s k under resource consumption comparable to U-Net-ID, while significantly outperforming Unet++ and YOLO-based models in overall efficiency.

3.2. Visualization

3.2.1. Visualization of Attention Modules

Four representative moso bamboo cell microscopic images were selected for visualization. Images Upper and Middle—a and Upper and Middle—b are from the upper-middle region, where cells are relatively elongated with weaker contrast; images Middle and Lower—a and Middle and Lower—b are from the lower-middle region, where cells tend to be polygonal with more regular boundaries. All images were processed using identical preprocessing and the same segmentation backbone to eliminate external interference and highlight the impact of attention mechanisms on feature representation and boundary modeling. Figure 8 adopts a 5 × 4 matrix layout. The first row shows the original microscopic images, while the second to fifth rows present segmentation results using SENet, CBAM, CA, and MBAM, respectively. Columns correspond to the same images to facilitate cross-module comparison, while rows correspond to the same module to assess robustness across different cell morphologies. Module names are indicated on the left, and image IDs are labeled at the top. Overall, the four attention mechanisms exhibit consistent differences in boundary continuity, separation of adhesive cells, and background suppression. SENet enhances major structures through channel recalibration but still shows local boundary breaks or jagged edges in elongated, low-contrast regions (upper- and middle-type samples). CBAM alleviates some boundary discontinuities via joint channel-spatial modeling, yet fragmented masks persist in regions with uneven illumination or local overexposure. CA, benefiting from coordinate information, is more sensitive to elongated structures and produces smoother contours in upper- and middle-type images but occasionally causes over-smoothing and slight boundary shrinkage in middle- and lower-type images with multi-directional edges. In contrast, MBAM demonstrates more stable fine boundaries and fewer spurious responses across both image types. In the upper- and middle-type images, adhesion regions form clearer low-response separation bands, effectively mitigating the coexistence of under- and over-segmentation. In the middle- and lower-type images, corner points and fine cracks are better preserved, while overexposed intracellular textures and background noise are more effectively suppressed. Considering both visual quality and pixel-level consistency, MBAM achieves the most balanced performance across all four samples, maintaining global coherence while refining fine boundaries.

3.2.2. Visualization of Segmentation Models

Using the same four representative images, qualitative comparisons were conducted among seven segmentation models, as shown in Figure 9: YOLOv8m-seg, YOLOv9c-seg, YOLO11l-seg, UNet++, U-Net, U-Net-ID, and the proposed MBMSA-UNet.
All inference results were obtained under identical data and training configurations to ensure that observed differences primarily stem from the model architecture. The first row shows the original images, followed by the segmentation results of the seven models. Columns correspond to the four image types (Upper and Middle—a, Upper and Middle—b, Middle and Lower—a, and Middle and Lower—b), enabling horizontal comparison within the same image, while rows allow assessment of model robustness across different image types. The visualization results reveal significant differences among models in boundary refinement, region consistency, and weak-contrast recognition. The YOLO-based models (v8/v9/11-seg) tend to produce blocky masks and staircase-like edges in dense regions, with insufficient continuity of cell walls and frequent holes or deletions in weak-contrast areas. UNet++ generates relatively smooth boundaries but still exhibits texture-induced false segmentations in upper- and middle-type samples. U-Net shows poor stability in this task, with some missing or abnormal masks, indicating that basic semantic segmentation models are insufficient for this application. U-Net-ID produces more regular contours but still suffers from occasional connectivity issues in tightly packed boundaries. In contrast, MBMSA-UNet consistently produces finer and more continuous cell walls across all four images, with clearer separation between adjacent cells. It avoids both large merged under-segmentation and texture- or overexposure-induced holes. For weak-contrast upper- and middle-type cells, MBMSA-UNet maintains coherent boundary responses without excessive expansion; for polygonal B-type cells, it preserves corner points and fine cracks with better morphological consistency. Nevertheless, in scenarios with extremely uneven cell distribution or extremely narrow gaps, slight boundary shrinkage or corner over-smoothing may still occur. Future work may incorporate stronger boundary-aware losses or morphological consistency regularization to further improve the separability of sharp corners and micro-gaps while maintaining pixel-level accuracy and enhancing instance-level geometric fidelity. A representative failure case is analyzed in the following section.

3.2.3. Failure Case Analysis

Although MBMSA-UNet achieves strong segmentation performance in most scenarios, several challenging cases still remain. Figure 10 presents a representative failure example. In this image, the fiber cells are extremely densely packed, and the intercellular gaps are extremely narrow. As a result, the boundaries between neighboring cells become weak or partially indistinguishable.
As shown in Figure 10B, several adjacent cells are predicted as a single connected region, leading to under-segmentation. The overlay visualization in Figure 10C further highlights that these errors mainly occur in regions where cell walls are extremely thin or locally blurred. In such cases, the boundary responses generated by the network are insufficient to fully separate adjacent cells. These observations indicate that the current model may still struggle with extremely narrow cell walls and highly compressed cellular arrangements. Future work could incorporate stronger boundary-aware losses or topology-preserving regularization to further improve the separation of densely adhered cells.

4. Discussion

This study focuses on three key challenges in microscopic images of moso bamboo cells—namely, densely packed cell walls, blurred boundaries, and local overexposure—and proposes MBMSA-UNet, which adopts the encoder–decoder architecture of U-Net as its backbone. Multi-scale channel-spatial joint attention modules (MBAM) are inserted at critical fusion locations in both the encoder and decoder. Experimental results and visual comparisons show that the cascaded modeling strategy of MBAM enhances responses in boundary and overexposed regions while suppressing pseudo-activations induced by overexposed textures, without significantly increasing computational cost. Pixel-level metrics (Dice, IoU, and Overall Accuracy) remain stable and consistently within the top-performing range across four representative sample types, while instance-level mask quality is maintained at a level comparable to the best-performing methods. These findings indicate that multi-scale channel recalibration and spatial saliency gating are particularly crucial for plant tissues such as moso bamboo, which exhibit large structural scale variations and long, fine boundaries.
Compared with object-level segmentation approaches in the YOLO family, encoder–decoder backbones exhibit inherent advantages in fine-grained boundary delineation within densely packed cellular regions. Relative to improved U-Net variants such as U-Net-ID and UNet++, the proposed method achieves better boundary continuity and global consistency while maintaining a comparable number of parameters, highlighting the effectiveness of the attention insertion points and information flow design.
These factors define the applicability limits of the proposed approach. Nevertheless, several aspects of the model remain open for improvement. First, under scenarios with extremely uneven illumination or ultra-narrow intercellular gaps, a small number of samples exhibit slight boundary shrinkage or excessive smoothing at sharp corners, suggesting that the current loss function does not yet impose sufficient constraints on geometric morphology. Second, although the model demonstrates good robustness on samples from both the upper-middle and lower-middle regions, the data distribution is still dominated by specific imaging conditions and sample sources; thus, cross-laboratory and cross-modality generalization requires more systematic validation. Third, instance-level segmentation still relies on pixel-wise probability maps followed by thresholding and matching strategies. In addition, factors such as sample tilt angles during scanning, external structural damage, and variations in cultivation conditions may also influence the imaging quality and structural characteristics of the samples, which may affect the performance of the proposed method in more complex scenarios. When confronted with highly compact cell clusters, further improving the separability and topological consistency of instance boundaries remains a challenge that calls for coordinated optimization between network architecture design and post-processing strategies.
Based on these observations, future work can be advanced in three directions. First, boundary-aware or morphology-preserving regularization terms—such as level-set or contour-based losses, distance-transform-based boundary losses, and topological consistency constraints—can be incorporated into the learning objectives to alleviate excessive smoothing at sharp corners and ultra-thin gaps. Second, structurally, joint designs that combine attention mechanisms with decoupled upsampling or multi-resolution pyramids can be explored, or lightweight boundary refinement branches can be introduced after skip connections to further suppress shallow-layer noise during decoding while improving alignment with high-level semantic features. Third, at the data and application levels, cross-modality and cross-scenario evaluations (e.g., bright-field, polarized light, confocal microscopy, and micro-CT slices) should be expanded. In addition, few-shot self-supervised or semi-supervised learning strategies, together with uncertainty estimation, can be integrated to enhance transferability and interpretability in real-world production workflows. Meanwhile, for edge-device deployment, knowledge distillation and structural sparsification can be investigated to further reduce latency and energy consumption while maintaining segmentation accuracy.

5. Conclusions

This study addresses the task of instance segmentation of moso bamboo cells and proposes a multi-scale attention-based model, termed MBMSA-UNet. The model introduces a plug-and-play MBAM module into the U-Net framework and adopts a cascaded strategy of channel recalibration followed by spatial saliency enhancement, jointly reinforcing the representation of cell boundaries and low-contrast regions at critical stages of both encoding and decoding. This design effectively suppresses mis-segmentation caused by tightly packed and blurred cell walls as well as local overexposure artifacts. Comprehensive quantitative evaluations and qualitative visualizations demonstrate that MBMSA-UNet achieves leading performance on pixel-level metrics such as Dice, IoU, and Overall Accuracy while maintaining competitive quality in instance-level mask segmentation. In terms of computational cost, the proposed model remains on par with mainstream improved U-Net variants and significantly outperforms detection-oriented segmentation frameworks. These results indicate that, for plant tissue images such as moso bamboo that exhibit pronounced structural scale variations and densely distributed fine boundaries, the synergy between encoder–decoder backbones and multi-scale attention mechanisms provides an effective balance between segmentation accuracy and computational efficiency. Future work will focus on three directions: boundary- and morphology-aware learning, cross-modality generalization, and efficient deployment strategies, with the aim of further improving the robustness and accuracy of cell segmentation under complex microscopic imaging conditions.

Author Contributions

Conceptualization, X.Z. and Y.L.; methodology, X.Z. and L.C.; software, X.Z.; validation, X.Z.; formal analysis, X.Z. and L.C.; investigation, X.Z. and Y.L.; resources, X.Z. and C.L.; data curation, X.Z.; writing—original draft preparation, X.Z.; writing—review and editing, X.Z., Z.C., L.C., J.P., Y.L., W.L., C.W., and C.L.; visualization, X.Z.; supervision, W.L., C.W., and C.L.; project administration, X.Z. and C.L.; funding acquisition, C.W. and C.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Philosophy and Social Sciences Planning Project of Guangdong Province of China (Grant No. GD23XGL099) and the Philosophy and Social Sciences Planning Project of Guangzhou City of China (Grant No. 2025GZGJ21).

Data Availability Statement

The microscopic CT image datasets generated and analyzed during the current study are not publicly available due to privacy and proprietary restrictions, but they are available from the corresponding authors upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. He, X.Q.; Suzuki, K.; Kitamura, S.; Lin, J.X.; Cui, K.M.; Itoh, T. Toward understanding the different function of two types of parenchyma cells in bamboo culms. Plant Cell Physiol. 2002, 43, 186–195. [Google Scholar] [CrossRef] [Scilit]
  2. Chen, L.; Mi, B.; Lei, Y.; Yan, L.; Fei, B. Synergistic effects of bamboo cells during shrinkage process. Ind. Crops Prod. 2023, 193, 116232. [Google Scholar]
  3. Huang, Y.H.; Fei, B.H.; Wei, P.L.; Zhao, C. Mechanical properties of bamboo fiber cell walls during the culm development by nanoindentation. Ind. Crops Prod. 2016, 92, 102–108. [Google Scholar] [CrossRef] [Scilit]
  4. Meisam, K.; Habibi, A.; Samaei, B.; Ghasemi, B.; Lin, J. Asymmetric flexural behavior from bamboo’s functionally graded hierarchical structure: Underlying mechanisms. Acta Biomater. 2015, 16, 178–186. [Google Scholar] [CrossRef] [Scilit]
  5. Dixon, P.; Ahvenainen, P.; Aijazi, A.; Chen, S.; Lin, S.; Augusciak, P.; Borrega, M.; Svedström, K.; Gibson, L. Comparison of the structure and flexural properties of Moso, Guadua and Tre Gai bamboo. Constr. Build. Mater. 2015, 90, 11–17. [Google Scholar] [CrossRef] [Scilit]
  6. Meng, Z.; Guo, M.Z.; Lei, G. Carbon footprint and climate mitigation potential of bamboo products in China. Environ. Impact Assess. Rev. 2025, 114, 107958. [Google Scholar] [CrossRef] [Scilit]
  7. Fei, B. Economic value and research significance of Moso bamboo. In The Moso Bamboo Genome; Springer International Publishing: Cham, Switzerland, 2021; pp. 1–12. [Google Scholar]
  8. Mailly, D.; Christanty, L.; Kinunins, J.P. Without bamboo, the land dies: Nutrient cycling and biogeochemistry of a Javanese bamboo talun-kebun system. For. Ecol. Manag. 1997, 91, 155–173. [Google Scholar] [CrossRef] [Scilit]
  9. Isagi, Y.; Kawahara, T.; Kamo, K.; Ito, M. Net production and carbon cycling in a bamboo (Phyllostachys pubescens) stand. Plant Ecol. 1997, 130, 41–52. [Google Scholar] [CrossRef] [Scilit]
  10. Arfi, V.; Bagoudou, D.; Korboulewsky, N.; Bois, G. Initial efficiency of a bamboo grove–based treatment system for winery wastewater. Desalination 2008, 231, 210–217. [Google Scholar] [CrossRef] [Scilit]
  11. Chen, X.-A. Discussion on the growth regulation of on-year and off-year Moso bamboo. Cent. South For. Inventory Plan. 2010, 29, 21–23. [Google Scholar]
  12. Krause, J.; Silva, F.; Ghavami, K.; Gomes, O.F.M.; Filho, R.D.T. On the influence of Dendrocalamus giganteus bamboo microstructure on its mechanical behavior. Constr. Build. Mater. 2016, 127, 199–209. [Google Scholar] [CrossRef] [Scilit]
  13. Ren, W.; Guo, F.; Zhu, J.; Cao, M.; Wang, H.; Yu, Y. A comparative study on the crystalline structure of cellulose isolated from bamboo fibers and parenchyma cells. Cellulose 2021, 28, 5993–6005. [Google Scholar] [CrossRef] [Scilit]
  14. Wang, X.; Keplinger, T.; Gierlinger, N.; Burgert, I. Plant material features responsible for bamboo’s excellent mechanical performance: A comparison of tensile properties at the tissue, fibre and cell wall level. Ann. Bot. 2014, 114, 1627–1635. [Google Scholar] [CrossRef] [Scilit]
  15. Chen, M.L.; Ye, L.; Wang, G.; Ma, X.X.; Chen, Q.; Fang, C.H.; Fei, B.H.; Dai, C.P. In-situ investigation of deformation behaviors of Moso bamboo cells pertaining to flexural ductility. Cellulose 2020, 27, 9623–9635. [Google Scholar] [CrossRef] [Scilit]
  16. Ahvenainen, P.; Dixon, P.G.; Kallonen, A.; Suhonen, H.; Gibson, L.J.; Svedström, K. Spatially-localized bench-top X-ray scattering reveals tissue-specific microfibril orientation in Moso bamboo. Plant Methods 2017, 13, 5. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Xie, J.L.; He, Y.Y.; Jin, Q.Q.; Chen, Q. A nondestructive method using X-ray micro computed tomography for variation analysis of bamboo nodes’ vascular bundle among species. Polym. Test. 2024, 133, 108391. [Google Scholar] [CrossRef] [Scilit]
  18. Palombini, F.L.; Kindlein, W.; Oliveira, B.F.; Mariath, J.E.A. Bionics and design: 3D microstructural characterization and numerical analysis of bamboo based on X-ray microtomography. Mater. Charact. 2016, 120, 357–368. [Google Scholar] [CrossRef] [Scilit]
  19. Liu, L.M.; Fang, Z.J.; Zhang, Y.L.; Wang, S.J.; Zhang, L.; Yuan, J.; Chen, Q. Decoding dynamic bamboo cell shrinkage with time-lapse microscopy and machine-learning. Ind. Crops Prod. 2024, 218, 118965. [Google Scholar] [CrossRef] [Scilit]
  20. Lian, C.; Liu, R.; Zhang, S. Ultrastructure of parenchyma cell wall in bamboo (Phyllostachys edulis) culms. Cellulose 2020, 27, 7321–7329. [Google Scholar] [CrossRef] [Scilit]
  21. Wang, X.; Chen, L.; Huang, B. Quantitative characterization of bamboo cortex structure based on X-ray microtomography. Cellulose 2022, 29, 4335–4346. [Google Scholar] [CrossRef] [Scilit]
  22. Chen, M.L.; Fei, B.H.; Dai, C.P. Microstructural deformation and viscoelastic behavior of bamboo fibers under loading. Compos. Part B 2021, 212, 108721. [Google Scholar]
  23. Gonzalez, R.C.; Woods, R.E. Digital Image Processing, 3rd ed.; Pearson Prentice Hall: Upper Saddle River, NJ, USA, 2008. [Google Scholar]
  24. LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef] [Scilit]
  25. Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional networks for biomedical image segmentation. In Proceedings of the 18th International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI), Munich, Germany, 5–9 October 2015; pp. 234–241. [Google Scholar]
  26. Stringer, C.; Wang, T.; Michaelos, M.; Pachitariu, M. Cellpose: A generalist algorithm for cellular segmentation. Nat. Methods 2021, 18, 100–106. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Graham, S.; Vu, Q.D.; Raza, S.E.A.; Azam, A.; Tsang, Y.W.; Kwak, J.T.; Rajpoot, N.M. HoVer-Net: Simultaneous segmentation and classification of nuclei in multi-tissue histology images. Med. Image Anal. 2019, 58, 101563. [Google Scholar] [CrossRef] [Scilit]
  28. Wolny, A.; Cerrone, L.; Vijayan, A.; Tofanelli, R.; Barro, A.V.; Louveaux, M.; Wenzl, C.; Strauss, S.; Wilson-Sánchez, D. PlantSeg: Efficient and versatile segmentation of plant tissues at cellular resolution. eLife 2020, 9, e57613. [Google Scholar] [CrossRef] [Scilit]
  29. Smith, R.S.; Guyomarc’h, S.; Mandel, T.; Reinhardt, D.; Kuhlemeier, C.; Prusinkiewicz, P. Automated quantitative analysis of plant cell shapes and growth using microscopy images. Plant Physiol. 2019, 181, 1361–1375. [Google Scholar]
  30. Murphy, D.; Topham, A.; Tansley, C.; Pridmore, T.; Pound, M. Deep learning in plant phenomics: Advances and future perspectives. Annu. Rev. Plant Biol. 2024, 75, 525–549. [Google Scholar]
  31. Wang, R.-F.; Su, W.-H. The application of deep learning in the whole potato production chain: A comprehensive review. Agriculture 2024, 14, 1225. [Google Scholar] [CrossRef] [Scilit]
  32. Miao, X.; Wang, J.; Wang, Z.; Sui, Q.; Gao, Y.; Jiang, P. Automatic recognition of highway tunnel defects based on an improved U-Net model. IEEE Sens. J. 2019, 19, 11413–11423. [Google Scholar] [CrossRef] [Scilit]
  33. Long, F.X. Microscopy cell nuclei segmentation with enhanced U-Net. BMC Bioinform. 2019, 20, 3332. [Google Scholar] [CrossRef] [Scilit]
  34. Zhang, J.; Du, J.; Liu, H.; Hou, X.; Zhao, Y.; Ding, M. LU-NET: An improved U-Net for ventricular segmentation. IEEE Access 2019, 7, 92539–92546. [Google Scholar] [CrossRef] [Scilit]
  35. Micallef, N.; Seychell, D.; Bajada, C.J. Exploring the U-Net++ model for automatic brain tumor segmentation. IEEE Access 2021, 9, 125523–125539. [Google Scholar] [CrossRef] [Scilit]
  36. Li, Y.Z.; Wang, Y.; Huang, Y.H.; Xiang, P.; Liu, W.X.; Lai, Q.Q.; Gao, Y.Y.; Xu, M.S.; Guo, Y.F. RSU-Net: U-Net based on residual and self-attention mechanism in the segmentation of cardiac magnetic resonance images. Comput. Methods Programs Biomed. 2023, 231, 107437. [Google Scholar] [CrossRef] [Scilit]
  37. Ma, Z.; Wang, G.; Yao, J.; Huang, D.; Tan, H.; Jia, H.; Zou, Z. An improved U-Net model based on multi-scale input and attention mechanism: Application for recognition of Chinese cabbage and weed. Sustainability 2023, 15, 5764. [Google Scholar] [CrossRef] [Scilit]
  38. Han, G.; Zhang, M.; Wu, W.; He, M.; Liu, K.; Qin, L.; Liu, X. Improved U-Net based insulator image segmentation method based on attention mechanism. Energy Rep. 2021, 7, 210–217. [Google Scholar] [CrossRef] [Scilit]
  39. Zhou, J.S.; Lu, Y.W.; Tao, S.Y.; Cheng, X.; Huang, C.X. E-Res U-Net: An improved U-Net model for segmentation of muscle images. Expert Syst. Appl. 2021, 185, 115625. [Google Scholar] [CrossRef] [Scilit]
  40. Sun, K.; Chen, Y.; Chao, Y.; Geng, J.M.; Chen, Y.S. A retinal vessel segmentation method based on improved U-Net model. Biomed. Signal Process. Control 2023, 82, 104574. [Google Scholar] [CrossRef] [Scilit]
  41. Punn, N.S.; Agarwal, S. Modality specific U-Net variants for biomedical image segmentation: A survey. Artif. Intell. Rev. 2021, 54, 581–629. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Representative annotated samples from the MBVB-PaC dataset. The red color indicates vascular bundles, and the green color indicates parenchyma cells.
Figure 1. Representative annotated samples from the MBVB-PaC dataset. The red color indicates vascular bundles, and the green color indicates parenchyma cells.
Plants 15 00969 g001
Figure 2. Samples of the applied data augmentation strategies.
Figure 2. Samples of the applied data augmentation strategies.
Plants 15 00969 g002
Figure 3. Overall architecture of the MBMSA-UNet model.
Figure 3. Overall architecture of the MBMSA-UNet model.
Plants 15 00969 g003
Figure 4. The boundary-guided instance generation process in MBMSA-UNet. (A) Original image. (B) Predicted boundaries, where vascular bundles are shown in red and parenchyma cells are shown in green. (C) Cellular interior regions, where vascular bundles are shown in red and parenchyma cells are shown in green. (D) Cell instances, where different colors represent different cell instances.
Figure 4. The boundary-guided instance generation process in MBMSA-UNet. (A) Original image. (B) Predicted boundaries, where vascular bundles are shown in red and parenchyma cells are shown in green. (C) Cellular interior regions, where vascular bundles are shown in red and parenchyma cells are shown in green. (D) Cell instances, where different colors represent different cell instances.
Plants 15 00969 g004
Figure 5. Architecture of the MBAM module.
Figure 5. Architecture of the MBAM module.
Plants 15 00969 g005
Figure 6. Training loss and validation Dice curves of different attention modules: (A) Loss over epochs. (B) Dice over epochs.
Figure 6. Training loss and validation Dice curves of different attention modules: (A) Loss over epochs. (B) Dice over epochs.
Plants 15 00969 g006
Figure 7. Training loss and validation Dice curves of different segmentation models: (A) Loss over epochs. (B) Dice over epochs.
Figure 7. Training loss and validation Dice curves of different segmentation models: (A) Loss over epochs. (B) Dice over epochs.
Plants 15 00969 g007
Figure 8. Segmentation results of different attention modules on moso bamboo cell images.
Figure 8. Segmentation results of different attention modules on moso bamboo cell images.
Plants 15 00969 g008
Figure 9. Segmentation results of different models on moso bamboo cell images.
Figure 9. Segmentation results of different models on moso bamboo cell images.
Plants 15 00969 g009
Figure 10. Failure case example of MBMSA-UNet on challenging bamboo cell structures: (A) Original image. (B) Predicted instance segmentation results. (C) Overlay visualization.
Figure 10. Failure case example of MBMSA-UNet on challenging bamboo cell structures: (A) Original image. (B) Predicted instance segmentation results. (C) Overlay visualization.
Plants 15 00969 g010
Table 1. Experimental environment configuration.
Table 1. Experimental environment configuration.
CategoriesConfiguration
CPUAMD EPYC 9K84 96-Core Processor (128 vCPUs)
GPUNVIDIA H20
Operating systemUbuntu Linux (64-bit)
Programming languageR 4.x + Python 3.8
FrameworkTensorFlow 2.x/PyTorch 2.4.1 + CUDA 12.x + cuDNN 9.x
Table 2. Key training parameters.
Table 2. Key training parameters.
Training ParametersValues
Input image size256 × 256 (RGB)
Epochs150
Batch size12
Initial learning rate1.0 × 10−4
Learning rate decay1.0 × 10−15
OptimizerRMSprop
Table 3. Comparison of different attention modules.
Table 3. Comparison of different attention modules.
ModulesDiceIoUOverall Accuracy mAP 50 95 mask
SENet0.96220.92810.96880.9286
CBAM0.96340.93000.96980.9286
CA0.96400.93120.96950.9314
MBAM (Ours)0.96900.93240.97070.9286
Table 4. Comparison of different segmentation models.
Table 4. Comparison of different segmentation models.
ModelsDiceIoUOverall Accuracy mAP 50 95 mask Params (M)FLOPs (B)
U-Net0.94250.89290.95530.87438.6412.79
Unet++0.96230.92790.96530.90149.16117.29
U-Net-ID0.95640.91760.96550.908625.9842.02
YOLOv8m-seg0.79800.68050.92970.557327.3110.2
YOLOv9c-seg0.78230.65860.92700.545527.4145.5
YOLOv11l-seg0.80340.68640.93120.572427.6132.2
MBMSA-Unet (Ours)0.96900.93240.97070.928626.3743.19
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhou, X.; Cheng, Z.; Chen, L.; Pei, J.; Liao, Y.; Liu, W.; Wu, C.; Liu, C. MBMSA-UNet: A Multi-Scale Attention-Based Instance Segmentation Model for Moso Bamboo Cells. Plants 2026, 15, 969. https://doi.org/10.3390/plants15060969

AMA Style

Zhou X, Cheng Z, Chen L, Pei J, Liao Y, Liu W, Wu C, Liu C. MBMSA-UNet: A Multi-Scale Attention-Based Instance Segmentation Model for Moso Bamboo Cells. Plants. 2026; 15(6):969. https://doi.org/10.3390/plants15060969

Chicago/Turabian Style

Zhou, Xue, Ziwei Cheng, Long Chen, Jiawei Pei, Yingyu Liao, Weizhang Liu, Chunyin Wu, and Changyu Liu. 2026. "MBMSA-UNet: A Multi-Scale Attention-Based Instance Segmentation Model for Moso Bamboo Cells" Plants 15, no. 6: 969. https://doi.org/10.3390/plants15060969

APA Style

Zhou, X., Cheng, Z., Chen, L., Pei, J., Liao, Y., Liu, W., Wu, C., & Liu, C. (2026). MBMSA-UNet: A Multi-Scale Attention-Based Instance Segmentation Model for Moso Bamboo Cells. Plants, 15(6), 969. https://doi.org/10.3390/plants15060969

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop