Next Article in Journal
Asymptotic Stability of Time-Varying Nonlinear Cascade Systems with Delay via Lyapunov–Razumikhin Approach
Next Article in Special Issue
SLA-YOLO—Enhancing YOLO for Tiny Defect Detection in Industrial Defect Scenes
Previous Article in Journal
Application of Machine Learning to Cluster Analysis of Diabetes Mortality at the Municipality Level in Mexico According to Sociodemographic Factors
Previous Article in Special Issue
Weighted, Mixed p Norm Regularization for Gaussian Noise-Based Denoising Method Extension
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimized Image Segmentation Model for Pellet Microstructure Incorporating KL Divergence Constraints

1
College of Science, North China University of Science and Technology, Tangshan 063210, China
2
School of Mathematics and Information Technology, Hebei Normal University of Science and Technology, Qinhuangdao 066004, China
3
Hebei Engineering Research Center of Iron Ore Optimization and Iron Pre-Process Intelligence, North China University of Science and Technology, Tangshan 063210, China
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(3), 574; https://doi.org/10.3390/math14030574
Submission received: 17 December 2025 / Revised: 20 January 2026 / Accepted: 4 February 2026 / Published: 5 February 2026
(This article belongs to the Special Issue Mathematical Methods for Image Processing and Computer Vision)

Abstract

Accurate segmentation of pellet microstructure images is crucial for evaluating their metallurgical performance and optimizing production processes. To address the challenges posed by complex structures, blurred boundaries, and fine-grained textures of hematite and magnetite in pellet micrographs, this study proposes a hybrid intelligently optimized VGG16-U-Net semantic segmentation model. The model incorporates an improved SPC-SA channel self-attention mechanism in the encoder to enhance deep feature representation, while a simplified SAN and SAW module is integrated into the decoder to strengthen its response to key mineral regions. Additionally, a hybrid loss strategy is employed with KL regularization for training optimization. Experimental results show that the model achieves an mIoU of 85.58%, an mPA of 91.54%, and an overall accuracy of 93.58%. Compared with the baseline models, the proposed method achieves improved performance to some extent.

1. Introduction

The microstructure of iron ore pellets is a direct manifestation of the pelletizing process conditions and serves as a critical indicator for assessing process stability and rationality; its structural characteristics exert a decisive influence on the mechanical and metallurgical properties of the pellets [1]. Inadequate process control readily leads to the formation of laminated or grape-like agglomerated structures within pellets, the former being primarily caused by non-uniform densification during balling, while the latter is closely associated with elevated contents of FeO and silicate liquid phases. Such structures typically originate from poor green pellet quality, excessive recycling ratios, overly high roasting temperatures, or FeO enrichment induced by a reducing atmosphere, all of which promote liquid-phase formation and enhance interparticle bonding [2]. In contrast, under appropriate process conditions, the oxidation of Fe3O4 to Fe2O3 proceeds uniformly throughout the pellet, leading to the formation of a dense and interconnected structure between newly formed and primary Fe2O3 grains, thereby markedly enhancing pellet strength [3]. Owing to substantial differences among iron mineral phases in crystal structure, oxygen diffusivity, and reaction activity, their relative proportions directly govern the oxidation behavior, reduction kinetics, and strength stability of the pellets; consequently, accurate segmentation and quantitative analysis of hematite and magnetite based on microscopic images constitute a crucial step toward understanding pellet metallurgical performance and optimizing roasting process parameters [4]. Furthermore, quantitative microstructural descriptors such as grain size, phase boundary area, pore structure, and connectivity can be employed not only to characterize pellet performance but also as key inputs for performance prediction models, contributing to improved predictive accuracy and deeper insights into pellet behavior during blast furnace and direct reduction processes [5,6,7,8,9].
In recent years, a variety of methods have been proposed for the segmentation of microscopic images of iron ore pellet microstructures, and notable progress has been achieved. Early studies primarily employed traditional image processing techniques, such as Otsu thresholding and morphological operations, to segment mineral phases and pores; however, these methods are highly dependent on image quality and are sensitive to illumination conditions, polishing states, and grayscale variations, making them difficult to apply to complex or low-contrast mineral phases [10]. With the development of deep learning, convolutional neural network-based semantic segmentation models, including PSPNet, FC-DenseNet, and DeepLabv3, have been introduced into pellet microscopic image analysis and have achieved relatively high segmentation accuracy in automated microstructural recognition; nevertheless, limitations remain in handling complex boundaries, identifying small-scale defects, and achieving robust cross-sample generalization [11]. To improve model efficiency and practical applicability, some studies have enhanced the U-Net architecture by incorporating lightweight encoders, depthwise separable convolutions, and attention mechanisms, achieving certain improvements in the segmentation of bonded regions and microstructural defects; however, the recognition of highly agglomerated structures and latent defects remains constrained [12]. In addition, segmentation results from microscopic images have been applied to pellet performance prediction or combined with three-dimensional microscopic imaging for mineral phase and pore structure reconstruction; although progress has been made in prediction accuracy and structural characterization, model performance is still limited by factors such as image quality, data scale, and acquisition cost [13,14].
From the perspective of methodological development, traditional image segmentation approaches have largely relied on grayscale analysis to accomplish region partitioning [15] or employed threshold-based methods for target extraction [16], often in combination with wavelet transforms to enhance texture feature representation [17,18]. To improve segmentation stability, some studies have introduced clustering methods to group pixels [19,20] or adopted support vector machines for supervised classification [21]; however, when image structures become complex or boundaries are blurred, the feature representation capability based on pixel-level contrast remains limited [22]. In recent years, advances in convolutional neural networks have driven major breakthroughs in image segmentation, with fully convolutional networks enabling pixel-level prediction through end-to-end architectures and effectively enhancing the representation of deep semantic features [23,24]. Building upon this foundation, U-Net introduced an encoder–decoder architecture with skip connections to achieve multi-scale feature fusion, demonstrating outstanding performance in materials and industrial image segmentation tasks [25]. In terms of model architecture optimization, researchers have enhanced feature extraction capability by incorporating high-quality backbones such as VGG16 into the U-Net encoder, leading to improvements in detail recovery and small-scale target recognition [26]; meanwhile, the integration of transfer learning strategies can further improve model generalization under limited data conditions [27], and multi-weight fusion U-Net-backbone structures have also been shown to enhance overall segmentation accuracy [28]. In addition, loss function design plays a critical role in segmentation performance: composite loss functions have demonstrated superior performance across various segmentation tasks [29], and improved loss functions targeting class imbalance and boundary ambiguity have also achieved notable results [30]. To further strengthen structural constraints, the introduction of shape-consistency or boundary-aware loss functions can further improve segmentation performance for complex structures [31,32]. To further enhance the stability and generalization ability of the model, relevant research on probability distribution modeling and robustness design can be referenced. Chunpeng Wang et al. improved the robustness against geometric attacks by modeling image information distributions and employing stable embedding and extraction mechanisms [33]. A similar approach can be applied to semantic segmentation tasks by introducing a distribution constraint based on KL divergence to enhance the model’s resistance to disturbances.
The microstructure of iron ore pellets is highly complex, involving multiphase coexistence [34], morphological heterogeneity [35], and mechanical differences among mineral phases [36]. These characteristics make it difficult for conventional image segmentation methods to handle complex regions accurately. In microscopic images of roasted pellets, multiple constituents—including magnetite, hematite, silicates, slag, and pores—are distributed in a spatially non-uniform manner [10], which poses additional challenges for reliable segmentation. To address the limitations of existing methods in complex-structure scenarios, this study proposes a hybrid intelligent optimization-based VGG16-U-Net segmentation model that integrates SPC-SA, SAN–SAW modules, and Kullback–Leibler (KL) divergence regularization. Compared with conventional attention-based U-Net variants, the proposed model incorporates the following design elements, which contribute to performance improvements to some extent:
  • Multi-scale feature learning: A VGG16-U-Net encoder–decoder architecture is used to extract multi-scale features that capture both fine details and global context, which may improve segmentation in regions where magnetite is interwoven with other mineral phases.
  • KL divergence regularization: KL divergence regularization constrains the model by dynamically shaping the output probability distribution, which may facilitate alignment across different class-specific feature spaces. Compared with entropy-based regularization, KL divergence offers an alternative way to regulate inter-class distribution alignment. In this work, a uniform distribution is adopted as the reference distribution, and the KL divergence is computed to constrain the model outputs, leading to a smoother distribution of the predicted features.
  • Attention mechanisms: In many existing U-Net variants, attention is often applied separately as either channel attention or spatial attention. In the proposed model, the SPC-SA module combines the Q/K/V mechanism with sparse spatial prompts (EPGO) to realize more fine-grained channel-level attention, and the self-attention formulation is intended to improve sensitivity to complex boundaries and subtle defects. To better handle complex structures and backgrounds, SAN–SAW modules are further introduced to jointly model spatial and channel attention. This design aims to strengthen feature representations in semantically sensitive regions, and a sparsity-inspired weighting scheme is used to assign higher importance to informative features, thereby contributing to performance improvements to some extent.
  • Comparison with existing methods: Compared with U-Net variants that employ high-quality backbones such as VGG16 [25,26,27,28], the proposed model shows improved capability in detail recovery and small-scale target recognition under our experimental settings. In addition, while many conventional approaches rely on a single attention module (either channel attention or spatial attention), the proposed model integrates multiple attention mechanisms, which may help the network capture diverse semantic structures in the images.

2. Materials and Methods

2.1. Dataset Production

Previous studies cate that hematite and magnetite are the primary mineral constituents of iron ore pellets, and their relative proportions serve as key factors influencing the pellets’ metallurgical performance. In this study, hematite and magnetite were annotated in the pellet microstructure images to support subsequent segmentation analysis. Figure 1 illustrates the workflow for producing pellet microstructure images.
In the dataset construction process of this study, the pellet samples were first screened and cleaned, ensuring the samples were intact before being labeled. Then, a Leica M80 sample preparation machine was used to cut the samples to obtain pellet cross-sections, and the thin sections were progressively ground and polished to ensure a smooth surface. Subsequently, a Leica DM4500P polarizing microscope was used for image acquisition, capturing microstructural images of the entire pellet cross-section and local mineral phases. All labeled images were annotated by a single annotator, and the annotation process strictly followed a unified annotation standard, with annotation checks performed to ensure consistency. The annotation pass rate for all images was 100%. All labeled images were annotated by a single annotator, and the annotation process strictly followed a unified annotation standard, with annotation checks performed to ensure consistency. The annotation pass rate for all images was 100%. Regarding the category distribution, the red category consists of 715,526 pixels (28.54%), the green category consists of 177,199 pixels (7.07%), and the background (black) consists of 1,614,027 pixels (64.39%). The total pixel count is 2,506,752. The final microstructural images of the pellets were obtained with a resolution of 2560 × 1920.
During the construction of the pellet microstructure semantic segmentation dataset, a 224 × 224 sliding window was applied to extract patches from the original images, with a stride of 128, in order to reduce the loss of boundary information caused by cropping. This setting introduces overlaps between adjacent patches in both the horizontal and vertical directions, thereby preserving boundary context without substantially increasing the number of samples. Next, to meet the annotation-quality requirements for deep learning training, Labelme was used to perform pixel-wise annotation of two target classes (hematite and magnetite), and the annotations were then converted into the required format for the semantic segmentation training framework. In total, 224 annotated images were obtained. For dataset splitting, we followed a VOC-style training and validation strategy: all annotated samples were first included in the training and validation set (without creating a separate test set), and the training and validation set was then split into training and validation subsets at a 9:1 ratio. The training set was used for parameter learning, whereas the validation set was used for performance evaluation and model selection during training. Overall, the pipeline consists of patch extraction, annotation, format conversion, dataset splitting, and training-time data augmentation; the detailed procedure is illustrated in Figure 2.
The figure illustrates the overall pipeline for constructing the model training dataset from the original pellet mineral-phase micrographs. First, the original micrographs are cropped, and the large field-of-view images are divided into multiple fixed-size patches. The red arrows indicate the cropping direction, and the red dashed boxes represent the final cropped image patches. The patches are then preprocessed and annotated to generate the corresponding label masks. Subsequently, the images and labels are converted into the required format, and data augmentation is applied to enhance image clarity and highlight mineral-phase structural characteristics. Finally, the processed data are used for model training to enable automatic identification and segmentation of pellet mineral microstructures.

2.2. Evaluation Metrics

To comprehensively evaluate the segmentation performance of the proposed model, several mainstream metrics were employed, including overall pixel accuracy (Accuracy), mean pixel accuracy (mPA), mean intersection over union (mIoU), along with training loss (Total Loss) and validation loss (Val Loss). Specifically, Accuracy measures the overall prediction correctness across all pixels. The mPA metric reflects the model’s pixel-level recognition performance across different classes. Meanwhile, mIoU evaluates segmentation accuracy based on the overlap ratio between the predicted regions and the ground-truth regions. In addition, Total Loss and Val Loss are used to monitor the model’s fitting behavior during training and its generalization capability during validation, respectively. The corresponding calculation formulas are as follows:
A c c u r a c y = i = 1 C P i i i = 1 C j = 1 C P i j
m P A = 1 C i = 1 C p i i j = 1 C p i j
m I o U = 1 C c = 1 C Y c Y ^ c Y c Y ^ c
Total   Loss = k = 1 K λ k L k
Val   Loss = 1 N i = 1 N c = 1 C y i , c log p i , c
p i i denotes the number of pixels that belong to class i and are predicted as class i; p i j represents the number of pixels that belong to class i but are misclassified as class j; Y c and Y ^ c respectively denote the ground-truth pixel set and the predicted pixel set of class c. C denotes the total number of label classes. λ κ denotes the assigned weight. L κ denotes the type of loss function used. By jointly employing the above metrics, the segmentation performance of the model can be comprehensively evaluated in terms of both overall accuracy and class-level balance.

2.3. Data Preprocessing

During the image preprocessing stage, a strategy that integrates multi-scale feature extraction with edge enhancement is employed to improve image details and edge information. Figure 3 illustrates the overall framework of the image enhancement process.
First, edge features are extracted using the Sobel operator. Multi-scale convolutional kernels (1 × 1, 3 × 3, and 5 × 5) are then employed to capture features at different spatial scales. The extracted features are fused with the input image through a residual learning structure, thereby enhancing the representation of fine-grained image details. Subsequently, dilated convolution is applied to enlarge the receptive field and capture more extensive contextual information. To further enhance edge details, pyramid pooling is utilized to extract global contextual information, which is then adaptively weighted by an edge attention mechanism to emphasize edge regions in the image. As a result, an enhanced image with clearer details and sharper edges is generated. This preprocessing method effectively improves image detail representation, particularly in edge regions, making it well suited for tasks that require high-quality visual perception. After image enhancement, the model performance is significantly improved, as shown in Table 1, which presents the results obtained using the enhanced images.
In this experiment, the performance of the model trained with original images is compared with that trained using enhanced images. An analysis of multiple performance metrics indicates that the use of enhanced images leads to notable improvements across several evaluation criteria. Specifically, the mIoU increases from 84.98% to 85.58% when enhanced images are used, indicating more accurate segmentation results and improved recognition of target regions. Meanwhile, the mPA rises from 91.12% to 91.54%, suggesting higher accuracy in pixel-level classification. In addition, the overall accuracy improves from 93.43% to 93.58%, reflecting a modest enhancement in the model’s overall classification performance.
To further evaluate the impact of image enhancement on model performance, a confusion matrix is employed to conduct a comparative analysis of pixel-level predictions across different classes, as illustrated in Figure 4:
From the normalized confusion matrices of the image-enhanced model (left) and the original model (right), it can be observed that the image-enhanced model exhibits improved recognition performance across all categories. For Category 1 and Category 2, the enhanced model shows higher proportions along the diagonal, indicating increased correct classification rates, while the proportions of pixels misclassified as background or other categories are reduced, demonstrating improved discrimination of foreground features. Although the background class maintains high accuracy in both models, the off-diagonal regions in the enhanced model are overall lighter, suggesting reduced inter-class confusion. Overall, image enhancement effectively improves the model’s generalization capability, with particularly notable gains in recognizing small targets and easily confused categories.
Figure 5 presents the mean Intersection over Union (mIoU) at each training epoch. As shown in the figure, image enhancement demonstrates clear advantages in improving both training efficiency and final model accuracy. The use of enhanced images enables faster model convergence and leads to superior final performance. Specifically, the mIoU of the enhanced images increases rapidly within approximately five epochs and then stabilizes, whereas the model trained on original images requires more training epochs to reach a comparable mIoU level. This indicates that image enhancement allows the model to achieve strong performance at an early stage of training. Furthermore, after 20 epochs, the mIoU obtained with enhanced images is slightly higher than that achieved with original images, suggesting that image enhancement not only accelerates training but also improves final accuracy. The mIoU of the enhanced images stabilizes at approximately 85.5%, while that of the original images remains around 84.5%.

3. Model Construction

3.1. Hybrid Intelligent Optimization-Based VGG16-U-Net Segmentation Model

This study proposes a VGG16–U-Net-based semantic segmentation network designed to achieve fine-grained segmentation of targets with complex structures. The overall architecture follows an encoder–decoder paradigm, as illustrated in Figure 6.
Let the input image be denoted as I .
X B × 3 × H × W
The network adopts an encoder–decoder architecture, in which the encoder produces feature maps at five different scales.
{ F 1 , F 2 , F 3 , F 4 , F 5 }
The encoder first extracts multi-scale semantic features, while the decoder progressively restores spatial resolution through hierarchical upsampling and skip connections, ultimately producing pixel-wise prediction results.
Z B × C × H × W
where B denotes the batch size and C represents the number of classes.
The overall model consists of three main components:
(1)
a VGG16-based encoder, in which a channel attention module (SPC-SA) is incorporated at high-level feature representations to enhance semantic discriminability;
(2)
a U-Net-style decoder, where a SAN–SAW dual-attention module is applied to the highest-resolution decoded features for semantic refinement;
(3)
a multi-loss joint optimization strategy that integrates cross-entropy, focal, and Dice losses, together with a confidence regularization term based on the Kullback–Leibler (KL) divergence.

3.2. VGG16 Encoder with the SPC-SA Channel Attention Module

3.2.1. VGG16 Encoder

The encoder adopts the VGG16 network as its backbone and progressively extracts multi-scale features through successive convolution and max-pooling operations. Shallow features mainly capture fine-grained spatial details, whereas deeper features possess stronger semantic abstraction capability. Considering that attention mechanisms incur high computational cost on high-resolution feature maps and may interfere with local detail modeling, attention modules are introduced only at the outputs of the fourth and fifth convolutional blocks to enhance high-level semantic discriminability.

3.2.2. SPC-SA: Channel Recalibration for High-Level Features

Using VGG16 as the backbone network, the input RGB image with a resolution of H × W × 3 is first processed to extract multi-scale features, resulting in five levels of feature maps at different resolutions. The SPC-SA module is then incorporated into the feature extraction pipeline [37], as illustrated in Figure 7:
To enhance the semantic discriminability of high-level encoder features, an improved SPC-SA module is introduced after the fourth and fifth convolutional blocks of VGG16. Unlike SE -style channel attention mechanisms that rely solely on global pooling, the proposed module models inter-channel dependencies via channel self-attention guided by sparse spatial prompts, thereby improving the complementarity and cooperative representation of high-level semantic features while maintaining computational efficiency.
The SPC-SA module generates the Query, Key, and Value feature representations through three parallel convolutional branches, respectively:
Q = f q ( X ) ,   K = f k ( X ) ,   V = f v ( X )
where f q , f k , and f v are composed of a 1 × 1 convolution, a ReLU activation, and a 3 × 3 convolution, which introduce local contextual information while preserving the channel dimensionality. Subsequently, Q and K are unfolded along the spatial dimension into token sequences Q s , K s B × H W × C , whereas V is rearranged into V c B × C × H W to facilitate subsequent channel-wise attention modeling.
Performing channel self-attention over all spatial positions not only incurs substantial computational redundancy but may also introduce considerable background noise. To address this issue, an Efficient Prompt-Guided Operation (EPGO) strategy is introduced to select a small number of representative tokens from the spatial dimension as sparse prompts. Specifically, the L 2 norm of the Query tokens is employed as a measure of spatial importance:
α n = Q s ( : , n , : ) 2 , n = 1 , , H W
The top- m positions with the highest response values are selected to form a prompt index set, where m denotes the predefined upper bound on the number of prompts. Based on this index set, the corresponding tokens are extracted from Q s and K s to construct the prompt matrix P and the associated key matrix K p , respectively. Intuitively, this process leverages a small number of semantically salient spatial locations as “semantic anchors,” guiding channel relationship modeling to focus on high-response regions and thereby mitigating the interference of irrelevant background information in channel correlation learning. Guided by the sparse prompts, the SPC-SA module constructs a self-attention correlation matrix along the channel dimension:
M = 1 C P K p B × C × C
where the scaling factor C is introduced to alleviate numerical instability. The matrix M characterizes the correlations among different semantic channels at the sparse prompt locations. To further suppress the interference of weakly correlated channels and reduce the effective complexity of channel interactions, a Top- k sparsification is applied to M along the channel dimension, retaining only the k most relevant channels for each output channel while setting the remaining elements to zero. The sparsified matrix is then normalized using a Softmax function to obtain the channel attention matrix A .
Finally, the channel attention matrix A is applied to the Value features V c to perform channel-wise transformation, and the resulting features are rearranged back to the original spatial dimensions to obtain the enhanced feature representation Y . A residual connection is then employed to add Y to the input features, yielding the final output of the SPC-SA module:
SPC - SA ( X ) = Y + X
Unlike U-Net variants that repeatedly introduce attention mechanisms across multiple feature scales, the proposed SPC-SA module is applied exclusively to high-level encoder features, aiming to enhance semantic discriminability without interfering with low-level spatial details. Moreover, by leveraging sparse spatial prompts and channel sparsification, the proposed design avoids the redundant computation and noise propagation induced by dense channel interactions, enabling channel recalibration to focus more effectively on semantically salient regions. As a semantic enhancement unit in the encoding stage, SPC-SA, together with the SAN–SAW module in the decoder and the KL-divergence-based regularization at the output layer, forms a stage-wise and functionally decoupled attention enhancement framework, whose effectiveness will be further validated through ablation studies.

3.3. U-Net Decoder with the SAN–SAW Semantic Refinement Module

3.3.1. U-Net Decoder Architecture

The decoder follows the progressive up-sampling structure of U-Net. At each decoding stage, the low-resolution features are first up-sampled via bilinear interpolation, then concatenated with the encoder features at the corresponding scale along the channel dimension, and finally fused through two convolutional layers, thereby progressively recovering spatial details.

3.3.2. SAN–SAW Semantic Refinement Module

SAN first extracts a global context vector defined as
μ = 1 H W i , j X ( : , : , i , j ) B × C × 1 × 1
which is then mapped to channel attention weights through a 1 × 1 convolution followed by a sigmoid activation,
α = σ ( Conv 1 × 1 ( μ ) )
where σ denotes the sigmoid function. Finally, SAN normalizes and emphasizes semantically important channels via channel-wise scaling, yielding
X san = X α .
Unlike conventional channel attention mechanisms that rely solely on average or max pooling, SAN adopts a semantic center alignment strategy, encouraging each channel to be closer to the center of its semantic category in the feature space, thereby reducing intra-class variance and enhancing feature discriminability. As shown in Figure 8, the SAW module, built upon the SAN-refined features, further enhances semantically salient regions from the spatial dimension by generating a spatial attention map through a 1 × 1 convolution.
β = σ ( Conv 1 × 1 ( X san ) ) B × 1 × H × W
The feature map is further weighted in a pixel-wise manner as
X saw = X san β
The SAN–SAW module sequentially performs channel recalibration and spatial weighting to effectively refine the features at the end of the decoding stage [38], without introducing additional structural complexity. Unlike U-Net variants that extensively incorporate attention mechanisms across multiple feature scales, SAN–SAW is restricted to the terminal decoding stage in this work, where it primarily enhances the semantic consistency and spatial focus of the final pixel-wise predictions without imposing extra interference on low-level features or intermediate decoding processes. This lightweight design establishes a clear functional division between SAN–SAW and the SPC-SA module in the encoding stage, and its effectiveness will be further validated through ablation experiments.

3.4. Multi-Level Improved Loss Function

In this work, a hybrid loss function composed of cross-entropy loss, Focal Loss, Dice Loss, and an additional regularization term is adopted, and a dynamic loss-weight scheduling strategy is further introduced, as shown in Figure 9. The overall loss is formulated as
L = w ce ( t ) L ce + w focal ( t ) L focal + w dice ( t ) L dice + λ KL L KL
where t = epoch/Epoch 0 ,   1 denotes the normalized training progress. According to the implementation, linear dynamic weight scheduling is applied to the three primary loss terms. During the early stage of training, the cross-entropy loss dominates to ensure that the model rapidly learns basic classification capability. For each pixel location i (with N images of spatial resolution H × W and C classes), let p i = p i 1 , , p i C denote the predicted probabilities after the softmax operation, y i the corresponding one-hot label, and w c the class weights. The weighted cross- entropy loss is then defined as
L ce = 1 N H W i = 1 N H W c = 1 C w c y i c log p i c
To alleviate class imbalance and emphasize hard samples, Focal Loss is further introduced. Let p t i denote the predicted probability of the true class for the i -th pixel, and let α and γ represent the balancing factor and focusing parameter, respectively. The Focal Loss is defined as
L focal = 1 N H W i = 1 N H W α ( 1 p t i ) γ log p t i
Meanwhile, to improve region overlap quality, a Dice loss based on the F-score is adopted. For each foreground class k , the numbers of true positives T P k , false positives F P k , and false negatives F N k are computed, then
L dice = 1 1 C 1 k = 1 C 1 2 T P k + ε 2 T P k + F P k + F N k + ε
where ε is a small constant introduced to ensure numerical stability.

KL-Divergence-Based Confidence Penalty Regularization

Within the multi-loss fusion framework, a confidence penalty regularization term based on the Kullback–Leibler (KL) divergence is further introduced to constrain the output class distribution of the model, encouraging moderate uncertainty during training so as to alleviate overfitting and improve generalization ability. Specifically, let the predicted probability distribution after the softmax operation for the i -th pixel be denoted as:
p i = ( p i 1 , p i 2 , , p i C ) , c = 1 C p i c = 1
A prior reference distribution u over the class space is constructed, which is set to a uniform distribution in this work:
u = ( u 1 , u 2 , , u C ) , u c = 1 C , c
The KL regularization term is defined as the KL divergence between the predicted distribution and a uniform distribution, averaged over all pixel locations:
L WKL = 1 N i KL ( p i u ) = 1 N i c = 1 C p i , c log p i , c log 1 C
Since the reference distribution is uniform, the above expression can be equivalently reformulated as a linear transformation of the entropy of the predicted distribution:
L WKL = 1 N i c = 1 C p i , c log p i , c + log C
Consequently, minimizing L W K L can be interpreted as encouraging the predicted distribution to maintain relatively high information entropy, thereby preventing the model from producing overly confident predictions toward a single class during training. For pixel locations where the predicted distribution becomes excessively sharp, this regularization term imposes a larger penalty, whereas predictions that retain a reasonable level of uncertainty incur a comparatively smaller regularization cost. From an optimization perspective, this KL-based regularization constrains the model outputs in the space of probability distributions. Unlike conventional regularization methods based on parameter norms (e.g., L2 regularization) or stochastic regularization techniques such as Dropout, this approach directly operates on the predicted distribution at the output layer. By jointly optimizing the supervised loss and the distribution regularization term, the model is able to suppress overly confident predictions while maintaining segmentation accuracy, which contributes to improved overall performance. The overall loss function is defined in Equation (18), where λ W K L controls the weighting strength of the regularization term. In addition, during the early stages of training, model predictions tend to be unstable and the output distributions may contain considerable noise. Introducing overly strong distribution regularization at this stage may hinder the learning of discriminative features. To address this issue, a dynamic loss weight scheduling strategy is adopted. In the early training phase, the optimization primarily focuses on the supervised loss (e.g., cross-entropy loss) to ensure rapid convergence and stable semantic discrimination. Subsequently, the weights of the regularization term and hard-sample-oriented loss components (such as L W K L and Focal/Dice losses) are gradually increased, aiming to further mitigate overly confident predictions without sacrificing segmentation accuracy.

4. Experimental Results

4.1. Framework for Optimizing Metal Smelting Production Processes

To illustrate the potential role of the proposed method in pellet production and quality evaluation, Figure 10 presents a conceptual framework diagram. It should be emphasized that this study is limited to the development and validation of the pellet image segmentation model. The quality prediction and process parameter optimization depicted in the figure are provided for background purposes and fall outside the scope of this work.
In the pellet production process, process parameters such as water addition, mixing time, pelletizing speed, and roasting temperature are typically regarded as decision variables in optimization problems, while quality indicators including pellet strength, size distribution, and porosity are required to satisfy certain constraints. In related studies, metrics such as compressive strength, energy consumption, or production efficiency are commonly considered as optimization objectives. After obtaining pellet and pore regions through image segmentation, morphological features such as area fraction, equivalent diameter, perimeter, circularity, and fractal dimension can be further extracted to characterize pellet microstructures, thereby providing inputs for subsequent quality analysis or modeling. Owing to the complex coupling mechanisms during the roasting process and the generally nonlinear relationships among process parameters, structural features, and performance indicators, parameter optimization in pellet production is typically categorized as a nonlinear optimization problem. This study provides only a conceptual description of this issue and does not involve the formulation or solution of specific optimization models. In related studies, indicators such as pellet compressive strength, production efficiency, or energy consumption are often treated as optimization objectives, and their values can be evaluated through experimental measurements or data-driven models. These definitions are intended to illustrate the general structure of optimization problems in metallurgical production and do not involve the development or solution of specific optimization models.

4.2. Experimental System Configuration

The hybrid intelligent optimization-based VGG16-U-Net image segmentation model is implemented using Python 3.9 and the PyTorch framework, and is trained on a single NVIDIA RTX 4060 GPU with 8 GB of memory. During training, a fixed random seed of 11 is used to ensure reproducibility, and a single-machine, single-GPU training mode is adopted with the number of target classes set to three. The model is initialized by loading a specified set of pretrained weights with matched initialization, and all input images are resized to a unified resolution of 512 × 512 . Training is conducted from epoch 0 to epoch 20 with a batch size of 2. The Adam optimizer is employed with an initial learning rate of 1 × 10 4 , and the minimum learning rate is set to 1% of the initial value. A cosine annealing strategy is applied for learning rate scheduling, while weight decay is set to zero. During training, a weighted loss function is used to alleviate class imbalance by assigning loss weights to all classes. Model checkpoints are saved at the end of each epoch, and the validation set is evaluated periodically. The entire training process takes approximately 30 min on a single RTX 4060 GPU.

4.3. Ablation Studies

To comprehensively evaluate the contribution of each module to the overall model performance, systematic ablation studies were conducted. This section analyzes the effects of the VGG16 backbone, the U-Net decoder, the SPC-SA module, the SAN-SAW attention mechanism, and the loss function design in a step-by-step manner. Under identical training settings and dataset conditions, multiple model variants with different component combinations were constructed. Their performance was evaluated on the validation set using key metrics, including mPA, mIoU, Accuracy, Total Loss, and Validation Loss, to quantitatively assess the effectiveness of each component, as summarized in Table 2:
To provide an intuitive comparison of the impact of different experimental settings on segmentation performance, the results of each experiment are visualized and analyzed in Figure 11. The masks shown at the top of the figure represent the manually annotated standard segmentation results and serve as the ground truth reference. A higher degree of consistency between the segmentation results produced by each model and the standard masks indicates greater accuracy in structural recognition and region delineation, and thus superior segmentation performance. As shown in Figure 11, the experimental settings for B–H and others correspond to the settings of each model in Table 2. The differences between the models in segmentation accuracy and region division reflect their strengths and weaknesses in handling structural recognition tasks.
From the tables and figures, using the U-Net-only configuration (B) as the baseline, adding the decoder-side SAN–SAW module alone (C) results in only a modest performance change (mIoU 74.49%), suggesting that when encoder features remain relatively weak, spatial refinement alone may provide limited benefit. After introducing a stronger VGG-based encoder (D), the performance increases to an mIoU of 78.00%, indicating that deeper convolutional features are more capable of capturing fine-grained textures and structural patterns in pellet microstructures and can serve as a foundation for subsequent improvements. Building on this configuration, incorporating the SPC-SA module (E) further increases the mIoU to 82.27%. This behavior is consistent with SPC-SA modeling channel-wise dependencies and performing adaptive re-calibration, assigning higher weights to channels related to mineral phases or pores while suppressing noisy or redundant channels, thereby enhancing deep semantic discriminability In comparison, combining SAN–SAW with the VGG encoder (F) also leads to a performance increase (mIoU 82.52%), plausibly by strengthening decoder responses to key mineral regions and boundary-adjacent areas through spatial attention and reweighting, which may help alleviate localization bias and background interference during upsampling. When SPC-SA and SAN–SAW are enabled simultaneously (G), the mIoU further increases to 84.52%, suggesting a complementary effect between channel-wise semantic selection (SPC-SA) and spatial focusing with decoding refinement (SAN–SAW) for segmenting complex structures and blurred boundaries. Finally, adding KL divergence regularization on top of configuration (G) (H) yields the best performance among the evaluated settings. From a probabilistic perspective, KL regularization constrains the output distribution by encouraging a reasonable entropy level and discouraging overly confident single-class predictions; this may reduce the amplification of high-confidence errors during gradient updates, particularly in boundary and texture-mixed regions, thereby improving training stability without compromising segmentation accuracy. Overall, the results suggest that the VGG encoder provides stronger feature representations, SPC-SA enhances channel discrimination, SAN–SAW improves spatial responses during decoding, and KL regularization moderates overconfident predictions at the distribution level. The combination of these components is associated with consistent and stable performance gains in the segmentation of complex pellet microstructures.
To further evaluate the training stability of the model, an analysis was conducted on the trends of training loss and validation loss over iterations, as shown in Figure 12 and Figure 13.
From the trends of training loss, validation loss, and their difference for each model in the figure, it is evident that as the structure is progressively improved, the model’s convergence speed and stability continue to increase. Ultimately, Model H maintains the lowest levels of training and validation loss, with smooth curves and minimal fluctuation. Furthermore, the model does not exhibit significant overfitting during training, demonstrating stronger stability and better fitting ability.

4.4. Impact of KL Divergence Regularization

4.4.1. Sensitivity Analysis of the KL Regularization Weight (λ)

To evaluate the impact of the KL regularization weight λ on segmentation performance and to assess the robustness of our method to hyperparameter selection, we conducted comparative experiments with different values of λ while keeping all other training settings unchanged. The results are reported in Table 3.
To evaluate the impact of the KL regularization weight λ on segmentation performance, we conducted comparative experiments with different values of λ while keeping all other training settings unchanged. The results show that, compared with the setting without KL regularization, incorporating KL regularization improves segmentation performance overall. Moreover, the evaluation metrics vary only slightly within the tested range of λ , indicating that the model is relatively insensitive to λ and thus exhibits good robustness and reproducibility, which reduces the cost of hyperparameter tuning.

4.4.2. Segmentation Performance Analysis Based on Region Partitioning

We perform a morphology-based partitioning of pixel regions using the labels and conduct region-wise evaluation accordingly. Let the annotation be denoted as Y N × H × W , where the background class is indexed as 0. An effective-pixel mask is defined as M val = I Y ignore to exclude pixels labeled as ignore. We first construct a foreground mask   M f g = I Y 0 M v a l . Based on M fg , morphological dilation and erosion are applied using a structuring element with radius r = 3 :
D = Dilate ( M fg , r ) , E = Erode ( M fg , r )
The interior-region mask is defined as M i n = E M v a l , and the boundary-region mask is defined as:
M bd = ( D ¬ E ) M val
Based on the above region partitioning, we separately compute the mIoU, mPA, Accuracy, and loss for the boundary regions and the interior regions, and compare the results obtained with KL regularization (Ours + KL) and without KL regularization (Ours), as summarized in Table 4.
According to the results in Table 4, after introducing KL regularization, the loss in the interior region decreases, while mIoU, mPA, and Accuracy show increases. These observations suggest that KL regularization may help mitigate overly confident predictions and reduce the influence of noise in semantically consistent core regions, leading to a more stable predictive distribution. Qualitative visual comparisons further provide evidence consistent with the above observations: compared with the model without KL regularization, incorporating KL regularization yields predictions that more closely follow the ground-truth masks in boundary-transition regions, and misclassifications as well as abrupt discontinuities appear less frequent, as shown in Figure 14.
Overall, Red and green represent different category regions in the segmentation, black represents the background, and the blue line indicates the boundary. As shown in Figure 14, KL regularization exhibits a more pronounced stabilizing effect in the interior regions of targets, while boundary regions remain the primary source of segmentation ambiguity and errors; nevertheless, a certain degree of improvement in segmentation performance is also observed in these regions.
In semantic segmentation tasks, severe class distribution imbalance can impact the training loss and regularization terms. Previous studies have shown that traditional loss functions and their regularization terms inherently introduce a bias towards region size, and different designs affect the model’s learning of the minority class. Liu et al.’s work, through information-theoretic analysis, pointed out that common segmentation losses contain a bias towards region scale and proposed that explicitly incorporating the target class ratio into the loss function can alleviate the imbalance effect, thereby improving the matching of predicted regions to the true class ratios [39]. Additionally, Boykov et al. analyzed the so-called volumetric bias within the energy optimization framework for image segmentation and reconstruction, and noted that the likelihood terms of many standard methods are equivalent to a KL divergence penalty from a uniform distribution, which tends to generate equally sized class regions. However, when classes are highly imbalanced, this can lead to artifacts or biases [40]. Furthermore, a substantial amount of research on addressing class imbalance indicates that strategies such as weighted loss functions, redesigned loss functions for imbalance, or dynamic weighting mechanisms are needed when the class distribution has a long tail, in order to improve the performance of the minority class. Otherwise, the default uniform prior or unweighted design often fails to achieve optimal results. Related work includes the use of focal loss, resampling methods, or adaptive weight loss functions to mitigate the impact of class imbalance [41]. In summary, these analyses suggest that when the background dominates or the class distribution is extremely imbalanced, the KL regularization term assuming a uniform distribution may not be optimal. Future work could consider introducing category-aware target distributions, weighted KL divergence, or dynamic weighting mechanisms as regularization designs better suited to handling class imbalance, thereby improving model performance.

4.4.3. Comparison of Segmentation Performance with and Without KL Regularization

To examine the effect of the KL regularization term and different loss combinations on segmentation performance, loss-function ablation experiments were conducted under identical network architectures, data splits, and training settings. Table 5 summarizes the performance obtained using CE, Dice, and their combinations, with and without KL regularization, and further presents a comparison of the proposed method under the two regularization settings. The evaluation metrics include mIoU, mPA, and Accuracy.
Table 5 presents the ablation results for different loss functions and the KL regularization term. Overall, after incorporating KL regularization into CE, mIoU shows varying degrees of improvement, suggesting that KL regularization provides a certain level of benefit.

4.4.4. Robustness Evaluation Under Adversarial and Gaussian Noise Perturbations

To systematically analyze the stability and robustness of the model under complex disturbance conditions, we performed robustness evaluation from two perspectives: adversarial perturbations and random noise interference. In terms of adversarial sample evaluation, we generate adversarial examples using the FGSM method, which involves applying small gradient perturbations to the input images, and then evaluate the model’s performance on the adversarial samples, as shown in Table 6:
Figure 15 shows the range of the model’s performance in terms of Accuracy, mIoU, and mPA:
As shown in the figure and table, after introducing the KL regularization term, the model demonstrates improvements in Accuracy, mIoU, and mPA compared to the model without KL regularization. This indicates that the inclusion of KL regularization effectively enhances the model’s stability and accuracy under adversarial perturbations.
In terms of Gaussian noise evaluation, to simulate the impact of imaging noise, transmission noise, and environmental interference in real-world scenarios, we add Gaussian noise of varying intensities to the original images. The standard deviation of the noise is set in the normalized space as σ 0 ,   0.01 ,   0.03 ,   0.05 ,   0.10 , which is used to evaluate the model’s robustness under different noise conditions, as shown in the Table 7:
Figure 16 shows the range of the model’s performance in terms of Accuracy, mIoU, and mPA under different noise standard deviations:
As shown in the table and figure, the model with KL regularization outperforms the model without KL regularization under all noise intensities. Particularly, under high noise standard deviations (e.g., σ = 0.05 and σ = 0.10 ), KL regularization brings significant improvements. These results indicate that KL regularization effectively enhances the model’s robustness under noisy conditions, especially in high-noise environments, by mitigating the negative impact of noise and improving the model’s stability and accuracy.

4.5. Comparative Experiments with Different Semantic Segmentation Model

To validate the effectiveness of the hybrid intelligence-optimized VGG16-U-Net image segmentation model for pellet microstructural image segmentation, it is compared with four representative semantic segmentation methods, including the superpixel segmentation algorithm [42], Medical-SAM-Adapter [43], texture-based segmentation of SEM images [44], PSPNet, FC-DenseNet, ResUNet [14] and DeepLabv3. To ensure a fair comparison, all competing methods are adapted to a three-class output configuration and retrained on the pellet microstructural image dataset to suit the three-class segmentation task addressed in this study. The experimental results are summarized in Table 8.
To further verify the segmentation superiority of the proposed model, the segmentation results of different methods are visualized to provide an intuitive comparison of their performance in boundary detail preservation and complex region segmentation, as shown in Figure 17:
As shown in Table 8 and Figure 17, the traditional superpixel-based segmentation method exhibits the weakest performance in this task. It shows limited capability in distinguishing magnetite from other mineral phases within complex microstructures, and tends to produce fragmented regions and misclassifications. Compared with the traditional approach, texture-based segmentation of SEM images shows some improvement; however, it remains constrained by the representational capacity of handcrafted features and exhibits unstable behavior in regions with complex boundaries.
Among deep learning approaches, DeepLabv3, PSPNet, and FC-DenseNet—by incorporating atrous convolutions, multi-scale pooling, or dense connections—generally achieve better overall performance than traditional methods. However, boundary regions may still exhibit some degree of over-smoothing or local misclassification. Medical-SAM-Adapter-main performs relatively well in semantically consistent regions; nevertheless, owing to its general-purpose visual pretraining, deviations can still be observed near boundaries. In contrast, the proposed Self-model achieves the highest scores across the reported metrics among the evaluated methods under our experimental settings. As illustrated in Figure 17, the Self-model produces predictions with more consistent mineral boundary continuity and pore-region integrity, and it shows improved separation between magnetite and other phases. Misclassifications and boundary jaggedness also appear less frequent. These results are consistent with the combined effects of the model design, including multi-scale feature extraction based on VGG16-U-Net, attention modules that adaptively emphasize informative channels and spatial regions, and KL divergence regularization that moderates overly confident predictions, which together contribute to improved segmentation accuracy.

4.6. Complexity Experiments

4.6.1. Complexity Analysis of the Simplified SPC-SA Module

To reduce the implementation complexity of the SPC-SA module while highlighting its core mechanism, the original structure is simplified while retaining key components, including Q/K/V feature extraction, Top-k spatial position selection, and channel self-attention with sparsification. Specifically, the EPGO-based prompt weight generation network and its channel-wise weighting operation on prompt features in the original design are removed, and the additional 1 × 1 convolutional projection layer at the output is discarded, such that the model directly constructs the channel correlation matrix using the selected sparse spatial features and applies Top-k sparsification. This simplification preserves the core concept of SPC-SA, namely modeling inter-channel dependencies via sparse prompts, while significantly reducing the number of parameters and computational cost, thereby making the module more lightweight and easier to implement. To validate the effectiveness of the proposed simplified SPC-SA module, comparative experiments are conducted under the same experimental settings as those reported in the original study, and the results are summarized in Table 9.
Despite the removal of the EPG weight generation and output projection layers, the simplified SPC-SA module maintains—and even slightly improves—the overall model performance. Specifically, the mIoU increases from 84.91% to 85.58%, the mPA improves from 90.86% to 91.54%, and the overall classification Accuracy rises from 92.80% to 93.58%. These results indicate that the simplified architecture not only reduces module complexity and computational overhead but also effectively captures critical inter-channel relationships, achieving performance comparable to or even better than that of the original design. To further analyze the performance differences between the original SPC-SA and the proposed simplified SPC-SA across different categories, class-wise statistics of mIoU, mPA, and Accuracy are computed for three classes (Category 1, Category 2, and Background), as shown in Figure 18 and Figure 19.
The results indicate that the simplified SPC-SA achieves performance comparable to, or slightly better than, the original module across most categories. In particular, the mIoU and Accuracy for Category 1 and Category 2 are noticeably higher than those of the original design, demonstrating that the simplified structure does not compromise the model’s discriminative capability but instead improves overall stability while reducing complexity. To analyze the computational advantages of the simplified SPC-SA module, a quantitative comparison is conducted in terms of FLOPs, parameter count, memory consumption, and inference speed, as summarized in Table 10.

4.6.2. Simplification of the SAN-SAW Module

To reduce the computational complexity of the original SAN-SAW module and improve inference efficiency, the structure is simplified while preserving its core semantic-aware enhancement principle. Specifically, the original SAN computes class-wise weighted means and variances based on category probabilities to achieve semantic-conditioned normalization, whereas the simplified SAN replaces class-wise statistics with global channel attention, generating channel weights from global context to approximately align features across different semantic regions. Meanwhile, the original SAW involves semantic whitening and class–channel relationship modeling, which incurs substantial computational cost; in contrast, the simplified SAW adopts a lightweight spatial attention mechanism that enhances semantically salient regions via pixel-level weighting, thereby achieving a similar semantic-sensitive feature reweighting effect. Overall, the simplified SAN-SAW significantly reduces parameter count and computational overhead while effectively retaining semantic-aware modulation capability, making it more suitable as a lightweight enhancement module in the decoding stage. To validate the effectiveness of the proposed simplified SAN-SAW module, comparative experiments are conducted under the same experimental settings as those used in the original study, and the results are summarized in Table 11.
To further analyze the performance differences between the original SAN-SAW and the proposed simplified SAN-SAW modules across different categories, class-wise statistics of mIoU, mPA, and Accuracy are computed for three classes (Category 1, Category 2, and Background), as shown in Figure 20 and Figure 21.
A comparison between Figure 20 and Figure 21 shows that the simplified SAN-SAW achieves varying degrees of improvement over the original module across all categories in terms of mIoU, mPA, and Accuracy. While reducing semantic statistical computations, the simplified approach effectively enhances semantically relevant features through lightweight channel and spatial attention mechanisms, thereby achieving more stable and superior class-wise performance under lower computational complexity. To further analyze the computational advantages of the simplified SPC-SA module, a quantitative comparison is conducted, as summarized in Table 12.
As shown in Table 12, the simplified SAN-SAW module exhibits a slight reduction in computational complexity compared with the original design, while achieving more pronounced improvements in inference efficiency. The simplified version maintains nearly identical FLOPs and parameter count; however, the activation memory decreases slightly from 876.50 MB to 875.50 MB, indicating that the lightweight structure reduces intermediate feature storage overhead. In terms of runtime efficiency, the latency is reduced from 30.338 ms to 28.111 ms, corresponding to an inference speed improvement of approximately 7.3%, while the throughput increases from 32.96 FPS to 35.57 FPS. Overall, the simplified SAN-SAW effectively reduces runtime overhead with minimal impact on model capacity, resulting in a more lightweight module with higher inference efficiency.

4.7. Model Evaluation

In the preliminary experiments, the dataset was divided into training and validation sets. To better assess the model’s performance, data augmentation was applied to the dataset to further evaluate the model’s generalization ability. Random sampling was used to allocate 80% of the original data to the training and validation sets, while the remaining 20% was used for the test set. Subsequently, the training and validation sets were split in a 3:1 ratio, resulting in final proportions of 60%, 20%, and 20% for the training, validation, and test sets, respectively. To ensure the randomness of the data partitioning, all experiments were conducted with a fixed random seed. The experimental results are shown in Table 13:
The experimental results show that after introducing the test set, the model’s performance on the validation and test sets is similar, indicating that the model has good generalization ability.
The figure shows the performance changes of the validation and test sets during the model training process. As shown in Figure 22, it can be observed that the mIoU curves for both the validation and test sets exhibit some fluctuation during training, but their performance gradually stabilizes as training progresses.
To further enhance the model’s generalization ability, data augmentation techniques such as random horizontal and vertical flips, small-angle rotations, slight scaling and padding, and color jittering were applied. All augmentation operations were simultaneously applied to both the images and their corresponding labels, with label images being interpolated using nearest-neighbor interpolation to avoid the loss of class values. Through this data augmentation strategy, the original training set was expanded to 2500 samples, enhancing its performance on unseen data.
As shown in the Table 14, after augmentation, the Accuracy, mIoU, and mPA metrics for both the test and validation sets have decreased. This indicates that while data augmentation improves generalization ability, it may also introduce complexity, negatively impacting model accuracy. Future work will focus on optimizing the augmentation strategy to balance generalization ability and accuracy.
Although the method proposed in this paper achieves effective segmentation results on two-dimensional microstructure images, its design, based solely on two-dimensional images, has inherent limitations in capturing the true three-dimensional internal structure of particles. Two-dimensional planar images can only reflect information along a single cross-section, often neglecting three-dimensional spatial features perpendicular to the imaging plane. These three-dimensional details are crucial in material internal structure analysis, defect localization, and the evaluation of organizational connectivity. Research has indicated that three-dimensional imaging technology and focused ion beam scanning electron microscopy (FIB SEM) tomography are becoming increasingly widely used in microstructural characterization. These methods allow for non-destructive three-dimensional reconstruction of complex internal structures and reveal spatial geometric details that are difficult to capture with two-dimensional images [45]. Three-dimensional tomography based on FIB SEM has been applied to the morphological characterization of porous particles and composite materials, providing an intuitive method for studying three-dimensional porosity, phase interfaces, and morphological changes [46]. Furthermore, research combining micro X-ray CT and deep learning has demonstrated that semantic segmentation of three-dimensional volumetric data allows for higher-precision quantitative analysis of microstructural components and defects, which is crucial for a deeper understanding of the relationship between internal structure and material performance [47]. Review studies in the field of structural characterization have also emphasized that multi-scale three-dimensional imaging and analysis are essential methods for revealing the connection between complex microstructures and their properties, further indicating that two-dimensional designs may lack sufficient information when dealing with complex three-dimensional geometries [48].
Therefore, the current design based on two-dimensional images in this paper may have limitations in tasks involving complex three-dimensional geometries or requiring multi-scale feature fusion. Future work could consider incorporating three-dimensional microimaging data or multimodal information to enhance the model’s ability to represent and analyze real internal structures, thereby providing a more comprehensive understanding and prediction of material performance.

5. Conclusions

Aiming at the microstructural identification of hematite–magnetite phases in iron ore pellets, this study develops an intelligently optimized improved VGG16-U-Net semantic segmentation model. Experimental results indicate that the model exhibits a certain degree of improvement in segmenting complex boundaries and internal regions in microscopic images. From the perspective of metallurgical engineering applications, the mineral phase segmentation results can provide auxiliary information for pellet quality evaluation, microstructural evolution analysis, and related mechanistic studies. With relatively accurate phase delineation, quantitative analyses of hematite and magnetite particle morphology, size distribution, and contact relationships can be further conducted, providing data references for investigating microstructural evolution during roasting and reduction processes. In addition, the segmentation outputs may serve as inputs for subsequent tasks such as mineral phase content calculation, microstructural evaluation, and performance prediction, which may help reduce uncertainties associated with manual interpretation and improve the consistency of the analysis process. Overall, the proposed segmentation model demonstrates a certain level of feasibility for mineral phase identification in microscopic images and may provide an optional technical approach for pellet microstructure analysis and related process studies. Future work may further validate the generalization capability of the model using larger datasets and diverse imaging conditions, and explore its integration with process parameter analysis to enhance practical applicability.

Author Contributions

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

Funding

This work was supported by the National Natural Science Foundation of China (62006069).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Elahidoost, H.; Sheibani, S.; Raygan, S.; Hosseini, L.; Esmaeili, N. Mechanism of magnetite iron ore concentrate morphology affecting the pellet induration process. Adv. Powder Technol. 2022, 33, 103883. [Google Scholar] [CrossRef] [Scilit]
  2. Umadevi, T.; Kumar, P.P.; Kumar, P.; Lobo, N.F.; Ranjan, M. Investigation of factors affecting pellet strength in straight grate induration machine. Ironmak. Steelmak. 2008, 35, 321–326. [Google Scholar] [CrossRef] [Scilit]
  3. Wei, R.F.; Li, J.X.; Tang, G.W.; Cang, D.Q. Strength and consolidation mechanism of iron ore and coal pellets. Ironmak. Steelmak. 2014, 41, 514–520. [Google Scholar] [CrossRef] [Scilit]
  4. Bragin, V.V.; Bersenev, I.S.; Bersenev, E.S.; Sivkov, O.G.; Zagaynov, S.A. Influence of Iron Ore Phase Morphology in Pellets on Their Fracture Character. Steel Transl. 2025, 55, 109–117. [Google Scholar] [CrossRef] [Scilit]
  5. Hjortsberg, E.; Forsberg, F.; Gustafsson, G.; Rutqvist, E. X-ray microtomography for characterisation of cracks in iron ore pellets after reduction. Ironmak. Steelmak. 2013, 40, 399–406. [Google Scholar] [CrossRef] [Scilit]
  6. Bai, M.H.; Long, H.; Ren, S.B.; Liu, D.; Zhao, C. Reduction behavior and kinetics of iron ore pellets under H2-N2 atmosphere. ISIJ Int. 2018, 58, 1034–1041. [Google Scholar] [CrossRef] [Scilit]
  7. Lu, J.-G.; Lan, C.-C.; Lyu, Q.; Zhang, S.-H.; Sun, J.-N. Effects of SiO2 on the preparation and metallurgical properties of acid oxidized pellets. Int. J. Miner. Metall. Mater. 2021, 28, 629–636. [Google Scholar] [CrossRef] [Scilit]
  8. Forsmo, S.; Forsmo, S.-E.; Samskog, P.-O.; Björkman, B. Mechanisms in oxidation and sintering of magnetite iron ore green pellets. Powder Technol. 2008, 183, 247–259. [Google Scholar] [CrossRef] [Scilit]
  9. Dwarapudi, S.; Sekhar, C.; Paul, I.; Prasad, Y.G.S.; Modi, K.; Chakraborty, U. Effect of fluxing agents on reduction degradation behaviour of hematite pellets. Ironmak. Steelmak. 2016, 43, 180–191. [Google Scholar] [CrossRef] [Scilit]
  10. Nellros, F.; Thurley, M.J. Automated image analysis of iron-ore pellet structure using optical microscopy. Miner. Eng. 2011, 24, 1525–1531. [Google Scholar] [CrossRef] [Scilit]
  11. Svensson, T. Semantic Segmentation of Iron Ore Pellets with Neural Networks. Master’s Thesis, Luleå University of Technology, Luleå, Sweden, 2019; 70p. Available online: https://urn.kb.se/resolve?urn=urn:nbn:se:ltu:diva-74352 (accessed on 3 February 2026).
  12. Duan, J.; Liu, X.; Wu, X.; Mao, C. Detection and segmentation of iron ore green pellets in images using lightweight U-net deep learning network. Neural Comput. Appl. 2020, 32, 5775–5790. [Google Scholar] [CrossRef] [Scilit]
  13. Yang, A.; Zhuansun, Y. Prediction of compressive strength based on visualization of pellet microstructure data. J. Iron Steel Res. Int. 2021, 28, 651–660. [Google Scholar] [CrossRef] [Scilit]
  14. Huang, Y.; Liu, W.; Mi, Z.; Wu, X.; Yang, A.; Li, J. ResUNet: Application of Deep Learning in Quantitative Characterization of 3D Structures in Iron Ore Pellets. Minerals 2025, 15, 460. [Google Scholar] [CrossRef] [Scilit]
  15. Li, W.; Jiang, X.; Lyu, J.; Li, X.; Li, X.; Huang, X.; Wu, Y.; Xu, K. Research on the extraction of fluffing characteristic parameters and cluster analysis of heat-treated bamboo bundles based on grayscale image threshold segmentation. Ind. Crop. Prod. 2025, 230, 121084. [Google Scholar] [CrossRef] [Scilit]
  16. Li, K.; Bai, L.; Li, Y.; Feng, M. Improved Otsu multi-threshold image segmentation method based on sailfish optimi-zation. In Proceedings of the 2021 33rd Chinese Control and Decision Conference (CCDC), Kunming, China, 22–24 May 2021; IEEE: New York, NY, USA, 2021; pp. 1869–1874. [Google Scholar]
  17. Ramya, J.; Vijaylakshmi, H.C.; Saifuddin, H.M. Segmentation of skin lesion images using discrete wavelet transform. Biomed. Signal Process. Control. 2021, 69, 102839. [Google Scholar] [CrossRef] [Scilit]
  18. Xu, G.; Liao, W.; Zhang, X.; Li, C.; He, X.; Wu, X. Haar wavelet downsampling: A simple but effective downsampling module for semantic segmentation. Pattern Recognit. 2023, 143, 109819. [Google Scholar] [CrossRef] [Scilit]
  19. Yu, Y.; Wang, C.; Fu, Q.; Kou, R.; Huang, F.; Yang, B.; Yang, T.; Gao, M. Techniques and challenges of image segmentation: A review. Electronics 2023, 12, 1199. [Google Scholar] [CrossRef] [Scilit]
  20. Lei, T.; Liu, P.; Jia, X.; Zhang, X.; Meng, H.; Nandi, A.K. Automatic fuzzy clustering framework for image segmentation. IEEE Trans. Fuzzy Syst. 2019, 28, 2078–2092. [Google Scholar] [CrossRef] [Scilit]
  21. Yang, A.; Bai, Y.; Liu, H.; Jin, K.; Xue, T.; Ma, W. Application of SVM and its improved model in image segmentation. Mob. Netw. Appl. 2022, 27, 851–861. [Google Scholar] [CrossRef] [Scilit]
  22. Gao, G.W.; Xie, Y.D.; Wang, Q.; Guo, S. Method of edge detection of pileup-pellets based on wavelet transform. J. Comput. Appl. 2006, 7, 254–255. [Google Scholar]
  23. Zhou, X.; Li, C.; Rahaman, M.; Yao, Y.; Ai, S.; Sun, C.; Wang, Q.; Zhang, Y.; Li, M.; Li, X.; et al. A comprehensive review for breast histopathology image analysis using classical and deep neural networks. IEEE Access 2020, 8, 90931–90956. [Google Scholar] [CrossRef] [Scilit]
  24. Ronneberger, O.; Fischer, P.; Brox, T. U-net: Convo-lutional networks for biomedical image segmenta-tion. In Proceedings of the Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015: 18th International Conference, Munich, Germany, 5–9 October 2015; Springer International Publishing: Berlin/Heidelberg, Germany, 2015; pp. 234–241. [Google Scholar]
  25. Chen, L.-C.; Papandreou, G.; Kokkinos, I.; Murphy, K.; Yuille, A.L. Semantic image segmentation with deep convolutional nets and fully connected crfs. arXiv 2014, arXiv:1412.7062. [Google Scholar]
  26. Miao, Y.; Wang, R.; Jing, Z.; Wang, K.; Tan, M.; Li, F.; Zhang, W.; Han, J.; Han, Y. CT image segmentation of foxtail millet seeds based on semantic segmentation model VGG16-UNet. Plant Methods 2024, 20, 169. [Google Scholar] [CrossRef] [Scilit]
  27. Ametefe, D.S.; John, D.; Aliu, A.A.; Ametefe, G.D.; Hamid, A.; Darboe, T. Advancing breast cancer diagnosis: Integrating deep transfer learning and U-Net segmentation for precise classification and delineation of ultrasound images. Results Eng. 2025, 26, 105047. [Google Scholar] [CrossRef] [Scilit]
  28. Khorasani, A. Enhanced glioma semantic segmentation using U-net and pre-trained backbone U-net architectures. Sci. Rep. 2025, 15, 31821. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  29. Ma, J.; Chen, J.; Ng, M.; Huang, R.; Li, Y.; Li, C.; Yang, X.; Martel, A.L. Loss odyssey in medical image segmentation. Med. Image Anal. 2021, 71, 102035. [Google Scholar] [CrossRef] [Scilit]
  30. Xie, Z.; Shu, C.; Fu, Y.; Zhou, J.; Chen, D. Balanced loss function for accurate surface defect segmentation. Appl. Sci. 2023, 13, 826. [Google Scholar] [CrossRef] [Scilit]
  31. Erden, M.B.; Cansiz, S.; Caki, O.; Khattak, H.; Etiz, D.; Yakar, M.C.; Duruer, K.; Barut, B.; Gunduz-Demir, C. FourierLoss: Shape-aware loss function with Fourier descriptors. Neurocomputing 2025, 638, 130155. [Google Scholar] [CrossRef] [Scilit]
  32. Gao, Y.; Jiang, Y.; Peng, Y.; Yuan, F.; Zhang, X.; Wang, J. Medical Image Segmentation: A Comprehensive Review of Deep Learning-Based Methods. Tomography 2025, 11, 52. [Google Scholar] [CrossRef] [Scilit]
  33. Wang, C.; Zhang, Q.; Wang, X.; Zhou, L.; Li, Q.; Xia, Z.; Ma, B.; Shi, Y.-Q. Light-Field Image Multiple Reversible Robust Watermarking Against Geometric Attacks. IEEE Trans. Dependable Secur. Comput. 2025, 22, 5861–5875. [Google Scholar] [CrossRef] [Scilit]
  34. Prasad, R.; Gupta, K.; Poras, A.; Agarwal, S. Microstructure and phase analysis of indurated iron ore pellets. Mater. Today Proc. 2020, 26, 2636–2642. [Google Scholar] [CrossRef] [Scilit]
  35. Tong, S.; Xu, Y.; Hong, L.; Sun, C.; Ai, L.; Chen, J. Study on pore structure of iron phase in magnetite pellets reduced by pure hydrogen based on nitrogen adsorption method. Int. J. Hydrogen Energy 2025, 114, 186–193. [Google Scholar] [CrossRef] [Scilit]
  36. Dmitriev, A.N.; Smirnova, V.G.; Vitkina, G.Y.; Vyaznikova, E.A.; Rogovaya, S.A. The micromechanical properties of the structural phases in non-fluxed indurated titanomagnetite pellets. Metallurgist 2025, 2025, 1–8. [Google Scholar] [CrossRef] [Scilit]
  37. Zou, S.; Zou, Y.; Li, J.; Gao, G.; Qi, G. Cross Paradigm Representation and Alignment Transformer for Image Deraining. In Proceedings of the 33rd ACM International Conference on Multimedia, Dublin, Ireland, 27–31 October 2025; pp. 8448–8457. [Google Scholar]
  38. Peng, D.; Lei, Y.; Hayat, M.; Guo, Y.; Li, W. Semantic-aware domain generalized segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 18–24 June 2022; pp. 2594–2605. [Google Scholar]
  39. Liu, B.; Dolz, J.; Galdran, A.; Kobbi, R.; Ben Ayed, I. Do we really need dice? The hidden region-size biases of segmentation losses. Med. Image Anal. 2024, 91, 103015. [Google Scholar] [CrossRef] [Scilit]
  40. Boykov, Y.; Isack, H.; Olsson, C.; Ben Ayed, I. Volumetric bias in segmentation and reconstruction: Secrets and solutions. In Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile, 7–13 December 2015; pp. 1769–1777. [Google Scholar]
  41. Tian, J.; Mithun, N.; Seymour, Z.; Chiu, H.-P.; Kira, Z. Striking the right balance: Recall loss for semantic segmentation. In Proceedings of the 2022 International Conference on Robotics and Automation (ICRA); IEEE: New York, NY, USA, 2022; pp. 5063–5069. [Google Scholar]
  42. Jażdżewski, T.; Hallo, F.; Korpała, G.; Regulski, K. Knowledge Integration in Steel Microstructure Analysis Using Unsupervised Image Segmentation and Supervised Machine Learning Techniques. Appl. Sci. 2025, 15, 1810. [Google Scholar] [CrossRef] [Scilit]
  43. Wu, J.; Wang, Z.; Hong, M.; Ji, W.; Fu, H.; Xu, Y.; Xu, M.; Jin, Y. Medical sam adapter: Adapting segment anything model for medical image segmentation. Med. Image Anal. 2025, 102, 103547. [Google Scholar] [CrossRef] [Scilit]
  44. Li, C.; Liu, Y.; Li, L.; Wang, Z.; Li, H. Texture-Based Segmentation of SEM Images of Shale Rocks and Estimation of Meso-Scale Elastic Modulus by 2D FEM. Rock Mech. Rock Eng. 2025, 58, 6475–6491. [Google Scholar] [CrossRef] [Scilit]
  45. Tung, P.Y.; Harrison, R.J. Efficient microstructure segmentation in three-dimensional imaging: Combining few-shot learning with the segment anything model. Next Mater. 2025, 8, 100663. [Google Scholar] [CrossRef] [Scilit]
  46. Li, X.; Zhou, S.; Liu, X.; Zang, J.; Fu, W.; Lu, W.; Zhang, H.; Yan, Z. 3D microstructure reconstruction and characterization of porous materials using a cross-sectional SEM image and deep learning. Heliyon 2024, 10, e39185. [Google Scholar] [CrossRef] [Scilit]
  47. Qian, Q.W.; Zhang, X.; Yang, Z.J.; Shen, Z.; Xiao, J. Intelligent identification of micro components and defects of 3D braided C/C composites based on deep learning of X-ray CT images. Acta Mater. Compos. Sin. 2024, 7, 3536–3543. [Google Scholar]
  48. Sardhara, T.; Shkurmanov, A.; Li, Y.; Riedel, L.; Shi, S.; Cyron, C.J.; Aydin, R.C.; Ritter, M. Enhancing 3D reconstruction accuracy of FIB tomography data using multi-voltage images and multimodal machine learning. Nanomanuf. Metrol. 2024, 7, 4. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Preparation of Pellet Microstructure Images.
Figure 1. Preparation of Pellet Microstructure Images.
Mathematics 14 00574 g001
Figure 2. Dataset Construction Process.
Figure 2. Dataset Construction Process.
Mathematics 14 00574 g002
Figure 3. Image enhancement method.
Figure 3. Image enhancement method.
Mathematics 14 00574 g003
Figure 4. Comparison of normalized confusion matrices of the model before and after image enhancement.
Figure 4. Comparison of normalized confusion matrices of the model before and after image enhancement.
Mathematics 14 00574 g004
Figure 5. Comparison of mIoU convergence curves between original and enhanced images.
Figure 5. Comparison of mIoU convergence curves between original and enhanced images.
Mathematics 14 00574 g005
Figure 6. Overall architecture of the proposed model.
Figure 6. Overall architecture of the proposed model.
Mathematics 14 00574 g006
Figure 7. Architecture of the SPC-SA module.
Figure 7. Architecture of the SPC-SA module.
Mathematics 14 00574 g007
Figure 8. Schematic illustration of the SAN–SAW module.
Figure 8. Schematic illustration of the SAN–SAW module.
Mathematics 14 00574 g008
Figure 9. Schematic overview of the improved loss function.
Figure 9. Schematic overview of the improved loss function.
Mathematics 14 00574 g009
Figure 10. Conceptual framework for metallurgical production process optimization.
Figure 10. Conceptual framework for metallurgical production process optimization.
Mathematics 14 00574 g010
Figure 11. Segmentation results of pellet microstructural images.
Figure 11. Segmentation results of pellet microstructural images.
Mathematics 14 00574 g011
Figure 12. Training and validation loss curves of different models in the ablation experiments.
Figure 12. Training and validation loss curves of different models in the ablation experiments.
Mathematics 14 00574 g012
Figure 13. Error between training and validation loss curves.
Figure 13. Error between training and validation loss curves.
Mathematics 14 00574 g013
Figure 14. Comparison of segmentation results between Ours and Ours + KL.
Figure 14. Comparison of segmentation results between Ours and Ours + KL.
Mathematics 14 00574 g014
Figure 15. Comparison of the model’s performance ranges in terms of Accuracy, mIoU, and mPA.
Figure 15. Comparison of the model’s performance ranges in terms of Accuracy, mIoU, and mPA.
Mathematics 14 00574 g015
Figure 16. The effect of KL regularization under different noise conditions.
Figure 16. The effect of KL regularization under different noise conditions.
Mathematics 14 00574 g016
Figure 17. Segmentation results of pellet microstructural images produced by different models.
Figure 17. Segmentation results of pellet microstructural images produced by different models.
Mathematics 14 00574 g017
Figure 18. Performance comparison across different categories for the original SPC-SA.
Figure 18. Performance comparison across different categories for the original SPC-SA.
Mathematics 14 00574 g018
Figure 19. Performance comparison across different categories for the proposed SPC-SA.
Figure 19. Performance comparison across different categories for the proposed SPC-SA.
Mathematics 14 00574 g019
Figure 20. Performance comparison across different categories for the original SAN-SAW.
Figure 20. Performance comparison across different categories for the original SAN-SAW.
Mathematics 14 00574 g020
Figure 21. Performance comparison across different categories for the proposed SAN-SAW.
Figure 21. Performance comparison across different categories for the proposed SAN-SAW.
Mathematics 14 00574 g021
Figure 22. The iterative trend of mIoU on the validation and test sets.
Figure 22. The iterative trend of mIoU on the validation and test sets.
Mathematics 14 00574 g022
Table 1. Comparison of performance metrics after image enhancement.
Table 1. Comparison of performance metrics after image enhancement.
mIoU/%mPA/%Accuracy/%Total LossVal Loss
Original image84.9891.1293.430.0650.131
Enhanced image85.5891.5493.580.0630.130
Table 2. Performance metrics obtained from the ablation experiments.
Table 2. Performance metrics obtained from the ablation experiments.
ModelUnetVGG16SPC-SASAN-SAWLoss FunctionmIoU/%mPA/%Accuracy/%Total LossVal Loss
B××× L t o t a l 73.8783.6891.120.27960.2250
C×× L t o t a l 74.4985.0291.180.32760.2385
D×× L t o t a l 7885.4690.530.1370.252
E× L t o t a l 82.2788.9992.230.0800.221
F× L t o t a l 82.5289.2392.550.0800.152
G L t o t a l 84.5290.5693.150.0820.175
H   L t o t a l + K L 85.5891.5493.580.0630.139
Table 3. Results of Sensitivity Analysis for KL Regularization Weight (λ).
Table 3. Results of Sensitivity Analysis for KL Regularization Weight (λ).
λ ValuesmIoU/%mPA/%Accuracy/%Total LossVal Loss
084.5290.5693.150.0820.175
0.0185.5891.5493.580.0630.139
0.00185.4991.5693.540.0370.144
0.00585.5391.393.560.0410.114
0.000185.1691.0793.410.0330.092
0.000585.2291.1193.440.0340.092
Table 4. Segmentation performance in boundary and interior regions with and without KL regularization.
Table 4. Segmentation performance in boundary and interior regions with and without KL regularization.
MethodRegionmIoU/%mPA/%Accuracy/%CE
Ours + KLboundary42.9959.2161.170.9974
interior61.3393.2593.600.1744
Oursboundary39.9155.3159.821.0540
interior59.4091.3191.410.2315
Table 5. Impact of KL Regularization on Segmentation Performance with Different Loss Functions.
Table 5. Impact of KL Regularization on Segmentation Performance with Different Loss Functions.
Loss FunctionmIoU/%mPA/%Accuracy/%
CE82.6489.5292.38
CE + KL83.9490.6292.89
DICE82.3989.2592.36
DICE + KL83.6691.6592.72
CE + DICE83.9690.3692.87
CE + DICE + KL84.6491.8393.16
Ours84.5290.5693.15
Ours + KL85.5891.5493.58
Table 6. Comparison of model performance under perturbation conditions.
Table 6. Comparison of model performance under perturbation conditions.
MethodmIoU/%mPA/%Accuracy/%
Ours59.7574.6682.09
Ours + KL63.3075.4684.97
Table 7. Model Performance on Different Metrics under Varying Noise Standard Deviations.
Table 7. Model Performance on Different Metrics under Varying Noise Standard Deviations.
Sigma ValuesMethodmIoU/%mPA/%Accuracy/%
0Ours84.5290.5693.15
Ours + KL85.5891.5493.58
0.01Ours84.7590.8293.32
Ours + KL85.1691.1693.45
0.03Ours79.3886.9991.03
Ours + KL80.9287.9491.65
0.05Ours75.6984.189.47
Ours + KL78.6685.8290.8
0.1Ours70.679.0387.29
Ours + KL73.9481.9188.68
Table 8. Quantitative performance metrics of the comparative experiments.
Table 8. Quantitative performance metrics of the comparative experiments.
ModelmIoU/%mPA/%Accuracy/%
superpixel segmentation algorithm55.8372.3079.59
Medical-SAM-Adapter-main72.3481.3690.19
Texture-Based Segmentation of SEM70.2479.7988.76
DeepLabv370.2977.6986.79
PSPNet71.8285.6388.51
FC-DenseNet64.5975.0285.51
ResUNet72.0581.6989.54
Self-model85.5891.5493.58
Table 9. Performance comparison between the original and simplified SPC-SA modules.
Table 9. Performance comparison between the original and simplified SPC-SA modules.
mIoU/%mPA/%Accuracy/%
Original SPC-SA84.9190.8692.80
Proposed SPC-SA85.5891.5493.58
Table 10. Comparison of SPC-SA complexity metrics.
Table 10. Comparison of SPC-SA complexity metrics.
FLOPsParamsTrainable ParamsActivation Memory (MB)LatencyThroughput (FPS)
Original SPC-SA90.245 G30.443 M30,443,328633.50 MB23.479 ms42.59
Proposed SPC-SA90.581 G31.494 M31,494,464636.02 MB19.668 ms50.84
Table 11. Performance comparison between the original and simplified SAN-SAW modules.
Table 11. Performance comparison between the original and simplified SAN-SAW modules.
mIoU/%mPA/%Accuracy/%
Original SPC-SA84.9190.8692.80
Proposed SPC-SA85.5891.5493.58
Table 12. Comparison of SAN-SAW complexity metrics.
Table 12. Comparison of SAN-SAW complexity metrics.
FLOPsParamsTrainable ParamsActivation Memory (MB)LatencyThroughput (FPS)
Original SAN-SAW126.667 G40.624 M40,624,132875.50 MB28.111 ms35.57
Proposed SAN-SAW126.688 G40.620 M40,620,685876.50 MB30.338 ms32.96
Table 13. Model performance under different dataset partitions.
Table 13. Model performance under different dataset partitions.
mIoU/%mPA/%Accuracy/%
Val87.5592.4195.34
Test86.5691.1995.32
Table 14. The impact of data augmentation operations on model performance.
Table 14. The impact of data augmentation operations on model performance.
mIoU/%mPA/%Accuracy/%
Val87.5592.4195.34
Test86.5691.1995.32
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

Ai, Y.; Li, X.; Yang, A.; Bai, Y.; Wu, X. Optimized Image Segmentation Model for Pellet Microstructure Incorporating KL Divergence Constraints. Mathematics 2026, 14, 574. https://doi.org/10.3390/math14030574

AMA Style

Ai Y, Li X, Yang A, Bai Y, Wu X. Optimized Image Segmentation Model for Pellet Microstructure Incorporating KL Divergence Constraints. Mathematics. 2026; 14(3):574. https://doi.org/10.3390/math14030574

Chicago/Turabian Style

Ai, Yuwen, Xia Li, Aimin Yang, Yunjie Bai, and Xuezhi Wu. 2026. "Optimized Image Segmentation Model for Pellet Microstructure Incorporating KL Divergence Constraints" Mathematics 14, no. 3: 574. https://doi.org/10.3390/math14030574

APA Style

Ai, Y., Li, X., Yang, A., Bai, Y., & Wu, X. (2026). Optimized Image Segmentation Model for Pellet Microstructure Incorporating KL Divergence Constraints. Mathematics, 14(3), 574. https://doi.org/10.3390/math14030574

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