Skip to Content
Remote SensingRemote Sensing
  • Article
  • Open Access

30 October 2026

18 Pages

Bidirectional Global-Edge Refinement Network for Aerial Infrared Segmentation in Automated Industrial Inspection

,
,
,
,
and
1
Northwest Institute of Mechanical and Electrical Engineering, Xianyang 712099, China
2
Key Laboratory of Intelligent Perception and Image Understanding of the Ministry of Education, School of Artificial Intelligence, Xidian University, Xi’an 710126, China
3
Xi’an Zhongfei Aviation Testing Technology Development Co., Ltd., Xi’an 710075, China
4
School of Electrical and Information Engineering, Changzhou Institute of Technology, Changzhou 213032, China

Highlights

What are the main findings?
  • A bidirectional global-edge refinement network is proposed for aircraft-region segmentation in physics-based simulated aerial infrared imagery. On AISD, the proposed method achieves an 86.29% mPA, 83.35% mF1, and 76.20% mIoU.
  • DGAP and CFC strengthen multi-scale semantic representation, while ESSG and edge-refinement feedback improve boundary localization and target-contour consistency.
What are the implications of the main findings?
  • The framework provides a useful scene-understanding component for image-assisted aviation inspection under simulated aerial infrared conditions.
  • The results support the value of jointly optimizing global semantic context and local boundary structure for infrared target segmentation.

Abstract

Accurate aircraft-region segmentation in aerial infrared imagery can provide a useful scene-understanding component for image-assisted aviation inspection. However, target scale variation and ambiguous boundaries remain challenging in simulated aerial infrared scenes. To address these issues, this paper develops a bidirectional collaborative framework that couples global semantic fusion with edge optimization. The Semantics-guided Multi-scale Context Fusion branch uses adaptive multi-scale feature extraction and cross-stage calibration to produce a reliable initial segmentation, while the Edge-Sensitive Superpixel Collaborative Refinement branch improves boundary localization through semantic-guided superpixel consistency. Their interaction forms a bidirectional closed loop in which semantic context guides edge refinement and refined boundaries feed back to semantic learning. Experiments on AISD, a dedicated physics-based simulated aerial infrared dataset, achieve an 86.29% mPA, 83.35% mF1, and 76.20% mIoU. Relative to the strongest baseline, P-Mamba, the gains are 0.89 percentage points in mPA, 1.52 points in mF1, and 0.88 points in mIoU, and a sourcewise holdout comparison indicates consistent performance under unseen source content within the AISD simulation pipeline. These results concern aircraft-region segmentation rather than direct diagnosis of thermal defects.

1. Introduction

With the rapid advancement of aviation technology, infrared imaging has become indispensable in critical aviation safety applications such as aircraft fault detection [1,2,3,4], thermal anomaly monitoring, and vehicle health management. Its ability to provide reliable thermal information under low-visibility conditions offers significant advantages for proactive maintenance and safety assurance. In this context, addressing the dual challenges of multi-scale target complexity and edge ambiguity becomes essential, respectively necessitating robust global semantic understanding to identify aircraft regions and precise edge preservation to delineate target contours. Therefore, a unified framework integrating both capabilities is key to providing the reliable analysis needed for scene parsing that may support subsequent aviation inspection workflows.
In the domain of global semantic understanding [5,6,7], existing methodologies range from efficient yet limited seeded region growth techniques [8] to more advanced deep learning models such as FCN [9] and U-Net [10]. While these deep learning approaches enhance contextual modeling through multi-level feature integration [11], they often remain inadequate for handling the multi-scale target complexity and characteristically weak features present in aviation infrared images, frequently leading to incomplete target localization.
For edge preservation [12,13,14], techniques have evolved from traditional adaptive thresholding [15] and edge detection operators [16] to deep learning–based reconstruction methods [17]. However, when confronted with the significant edge ambiguity inherent to thermal imagery, these methods commonly face issues such as sensitivity to noise and limited generalization, struggling to recover crisp and accurate boundaries in complex aviation environments.
Aerial aircraft-region segmentation requires both coherent identification of aircraft structures (a global semantic task) and precise delineation of their boundaries (a local edge task). Consequently, researchers have continued to explore frameworks for integrating these two capabilities. Existing methods primarily concentrate on innovations in network architecture and optimization of feature fusion paradigms; for example, Chen et al. proposed an Edge-Enhanced U-Net network [18] that fused multi-level edge detection feature maps through skip connections and introduced an edge loss function to enhance contour learning. While it is effective on structured scenes, its reliance on localized edge cues often leads to fragmented semantic understanding and inconsistent performance in cluttered infrared backgrounds. Zhang et al. developed a Graph-CNN hybrid model [19] that innovatively combined graph convolutional networks with a CNN, utilizing graph structures to capture global semantic relationships while employing deformable convolution to enhance edge feature extraction. However, its graph-based topological modeling struggles with the high noise and low contrast typical of infrared images, resulting in suboptimal edge-semantic consistency. Ahmad et al. designed a Wavelet Transformer architecture [20] that decomposed high-frequency edge information through a wavelet transform, combined with Transformer’s long-range modeling capability. Nevertheless, the fixed nature of its frequency decomposition limits adaptability to the diverse edge profiles and scale variations present in aviation infrared scenes. Chen et al. proposed a double-branch parallel network [21], in which a high-resolution branch learns global context and a low-resolution branch captures local edge features, achieving feature interaction through cross-attention. A key limitation lies in its late-stage feature fusion, which may not fully resolve inherent conflicts between global semantic coherence and local boundary precision during learning.
In conclusion, existing approaches to global semantic understanding often fail to adequately address multi-scale target complexity in cluttered infrared scenes, while methods for edge preservation remain challenged by the edge ambiguity inherent in thermal imagery. Most importantly, although existing dual-branch networks attempt to co-optimize semantics and edges, they predominantly rely on parallel or late-fusion strategies. As illustrated in Figure 1a, this design fails to establish a bidirectional feedback mechanism between deep semantic guidance and edge detail refinement. Consequently, global and local features struggle to collaborate effectively. It should be noted that the specific requirements of aviation safety monitoring amplify these limitations: aircraft-region segmentation requires consistent semantic labeling and precise target contours as potential inputs to later inspection processes. The uniqueness of this application scenario requires that the algorithm simultaneously achieve adaptive receptive fields and accurate edge localization.
Figure 1. Comparison of segmentation results on an aerial infrared image. (a) A typical dual-branch network fails to effectively coordinate features. (b) The proposed method achieves bidirectional optimization of global and edge features.
The inherent synergy between semantics and edges suggests that they should not be treated in isolation: blurred boundaries can undermine semantic integrity, and inaccurate semantic regions can, in turn, mislead precise edge optimization. This interdependent relationship implies that addressing them as separate problems inevitably leads to a performance bottleneck. The core insight of this study, drawing inspiration from bio-inspired visual computing models [22] and multi-scale geometric analysis [23], is the establishment of a bidirectional closed-loop optimization mechanism between global semantics and local edges. As illustrated in Figure 1b, this mechanism enables continuous mutual enhancement, where semantic guidance steers edge refinement while edge feedback rectifies semantic representation.
The main contributions of this work are summarized as follows:
1.
Proposal of a bidirectional closed-loop architecture. A novel framework integrating multi-scale semantic fusion with superpixel-guided refinement is proposed, establishing a dedicated bidirectional interaction mechanism between global semantic representation and local boundary refinement beyond what conventional parallel or late-fusion paradigms provide.
2.
Novel technical components. This includes a multi-scale fusion network with Dynamic Gated Atrous Pyramid (DGAP) and Cross-stage Feature Calibration (CFC) for global context capture, as well as an Edge-Sensitive Superpixel Generation (ESSG) algorithm for boundary-aware refinement.
3.
Experimental validation on physics-based simulated aerial infrared imagery. Experiments on AISD, including a scene/sequence-disjoint standard split and a source-wise holdout protocol, evaluate the effectiveness and robustness of the proposed approach under diverse simulated aviation conditions.

2. System Framework

As shown in Figure 2, this paper proposes a bidirectional closed-loop architecture based on a dual-branch network structure. The framework maintains the parallel processing paradigm of conventional dual-branch networks while introducing a novel interactive mechanism between branches.
Figure 2. Framework of the proposed bidirectional closed-loop network. Branch (a) (top) performs global semantic understanding through DGAP and CFC, while Branch (b) (bottom) performs ESSG-based boundary refinement. The r 1 – r 4 labels in DGAP denote the four fixed integer-dilation branches { 2 , 4 , 8 , 16 } ; their contributions are dynamically gated rather than sampled at fractional dilation rates. The middle path shows semantic-to-edge guidance and edge-to-semantic feedback.
Branch (a) (Global Semantic Understanding) contains a Semantics-guided Multi-scale Context Fusion module designed to tackle the challenge of multi-scale target complexity. This branch focuses on capturing comprehensive contextual information from complex infrared scenes. Through Dynamic Gated Atrous Pyramid (DGAP) and Cross-stage Feature Calibration (CFC) mechanisms, it achieves robust semantic understanding of targets varying significantly in size and appearance, providing reliable global guidance for subsequent edge optimization.
In Branch (b) (Edge Optimization), an Edge-Sensitive Superpixel Collaborative Refinement method addresses edge ambiguity. This branch performs fine-grained segmentation along object boundaries by incorporating Edge-Sensitive Superpixel Generation (ESSG) and Superpixel Semantic Refinement. It is designed to improve boundary localization while preserving local structural continuity, providing geometric feedback to enhance the global semantic representation.
The core innovation lies in the bidirectional interactive mechanism between the two branches. Branch (a) provides high-level semantic guidance to Branch (b), steering the edge refinement process with global contextual understanding. Conversely, Branch (b) delivers refined edge information back to Branch (a), enabling boundary-aware correction of semantic predictions. During training, the semantic guidance signal is used by ESSG and superpixel semantic refinement, and the resulting refined edge map is detached from the discrete refinement path before it is used in the edge-feedback loss. During inference, ESSG and superpixel semantic refinement are still applied once to obtain the final refined mask, whereas the feedback loss and gradient update are disabled. This distinction makes the closed-loop training mechanism explicit while preserving the same forward refinement procedure at test time.

3. Semantics-Guided Multi-Scale Context Fusion

This section presents the semantic branch used to generate the guidance signal for subsequent superpixel refinement. As shown in Figure 2, a Dynamic Local Statistical Mapping Enhancement step is first applied to improve local contrast using patch-wise statistics; this fixed preprocessing step does not alter the supervision or the bidirectional interaction. The Dynamic Gated Atrous Pyramid (DGAP) then captures complementary receptive fields using dynamically weighted atrous branches, while Cross-stage Feature Calibration (CFC) calibrates shallow spatial details with deep semantic context.

3.1. Dynamic Gated Atrous Pyramid (DGAP)

The Dynamic Gated Atrous Pyramid (DGAP) is designed to capture multi-scale context in complex infrared scenes without imposing a fixed receptive-field preference. This is useful for aerial infrared targets because their apparent spatial support changes with target scale and viewing distance, while thermal diffusion and low local contrast can make the effective target region broader or less sharply bounded. Smaller receptive fields help preserve compact target structures, whereas larger receptive fields provide the surrounding context needed to distinguish spatially diffuse target responses from background clutter. DGAP therefore uses four complementary integer-dilation branches and adaptively emphasizes the receptive fields that are more informative for each input. Here, “dynamic” denotes sample-dependent branch weighting rather than non-integer atrous sampling.
Let X ∈ R H × W × C be the input feature map. DGAP first predicts normalized branch weights a = [ a 1 , a 2 , a 3 , a 4 ] for the fixed dilation set d = [ 2 , 4 , 8 , 16 ] :
a = Softmax W 2 δ W 1 GAP ( X ) , d = [ 2 , 4 , 8 , 16 ] ,
where W 1 and W 2 are learnable transformations, δ is ReLU, and ∑ k a k = 1 . Thus, the global descriptor adjusts the relative contribution of small and large receptive fields while all dilation rates remain legal integers.
For Branch k, the gated atrous response is
Y k = a k ∑ i , j X p i + d k i , p j + d k j W k ( i , j ) ⊙ σ G k ∗ X ,
where W k is the convolution kernel, G k is a 3 × 3 depthwise separable convolution, and σ is Sigmoid. The integer dilation d k controls receptive-field scale, a k provides sample-dependent scale weighting, and the spatial gate σ ( G k ∗ X ) suppresses weak background responses. Standard atrous convolution is therefore used without fractional sampling or interpolation.
Finally, the four branch features are collaboratively fused as
F out = ∑ k = 1 4 α k LN ( Y k ) , α = Softmax v k T FC ( GAP ( Y k ) ) k = 1 4 ,
where LN is layer normalization and α denotes the fusion weights derived from the global responses of the four branches. The fused feature combines compact local structure with broader semantic context.

3.2. Cross-Stage Feature Calibration (CFC)

In infrared image segmentation, a significant gap exists between the spatially rich but semantically weak shallow features and the semantically strong but spatially coarse deep features. Traditional fusion methods such as concatenation often yield fragmented representations, limiting precise structure description and semantic guidance. To address this, the Cross-stage Feature Calibration (CFC) mechanism is proposed, as illustrated in the CFC module of Figure 2 Branch (a). The core component of this module is a spatial-channel cooperative attention unit, which leverages global semantics from deep features to adaptively calibrate shallow spatial details.
The feature F l ∈ R H × W × C l extracted from the lth layer of the backbone network preserves detailed information like edges and textures. Simultaneously, deep features F D G A P ∈ R H × W × C d are obtained from DGAP outputs, which contain higher-level semantic information describing target categories and overall structures through multi-scale feature extraction and fusion. To achieve effective fusion of shallow and deep features, a feature calibration unit is designed with the following formula:
F l ′ = C F l = CA F l ⊕ Up F D G A P ⊗ SA F l
where shallow features F l are concatenated (⊕) with upsampled deep features Up ( F D G A P ) to align them spatially, fusing shallow details with deep semantic information. A Channel Attention layer (CA) processes the concatenated features by learning weights for each channel, generating a C l -dimensional weight vector that emphasizes important channel information and enhances the model’s response to crucial feature channels. A Spatial Attention layer (SA) processes the shallow features F l to generate an H × W weight map that adjusts feature distribution spatially, enhancing feature responses in target regions. Finally, elementwise multiplication (⊗) of the channel attention results with spatial attention results achieves calibration and optimization of shallow features through their cooperative action.
After calibration, the calibrated shallow features F l ′ are adaptively fused with deep features F D G A P to obtain the final fused features using the following formula:
F final = F DGAP + γ · Conv 1 × 1 F l ′
where Conv 1 × 1 adjusts the feature channel count to ensure compatibility between shallow and deep features in the channel dimension. The fusion coefficient γ is dynamically computed based on global representations of both deep and calibrated shallow features:
γ = Sigmoid w T · GAP F D G A P ; GAP F l ′
where GAP is applied to both deep features F D G A P and calibrated shallow features F l ′ and the two global descriptors are concatenated. For each input sample, w T maps this concatenated descriptor to a single scalar and the Sigmoid function constrains the resulting fusion coefficient to γ ∈ ( 0 , 1 ) . Thus, γ is a sample-dependent scalar rather than a channel-wise vector or spatial map. Compared with direct addition or a fixed fusion weight, the bounded adaptive coefficient allows the network to vary the contribution of calibrated shallow details while preserving F D G A P as a stable semantic residual.
Finally, the fused feature F final is processed through convolution to obtain the semantic guidance signal G s e m ∈ R H × W × C , which will guide the superpixel segmentation in Section 4:
G s e m = Conv 1 × 1 F final

4. Edge-Sensitive Superpixel Collaborative Semantic Refinement

Deep semantic segmentation models demonstrate strong pixel-level classification capabilities and effectively extract high-level semantic information. However, these models often exhibit limitations in edge region segmentation, frequently resulting in edge blurring and detail loss. To address this issue, an Edge-Sensitive Superpixel Collaborative Semantic Refinement approach is proposed. Building upon the semantic guided signal G s e m ∈ R H × W × C output from Section 3, this method performs edge optimization on initial segmentation results. A dedicated edge refinement loss function is introduced to provide feedback to the network parameters in Section 3, establishing a reverse closed-loop optimization from edges to semantics.

4.1. Edge-Sensitive Superpixel Generation (ESSG)

The proposed Edge-Sensitive Superpixel Generation (ESSG) algorithm is designed to produce superpixels that adhere precisely to semantically meaningful boundaries. Its core innovation lies in leveraging high-level semantic guidance to inform the low-level clustering process. This semantics-aware approach enables the generated superpixels to respect color and spatial proximity while aligning with object contours indicated by deep features, thereby providing a boundary-aware geometric prior for the subsequent semantic refinement stage. The algorithm comprises the following steps:
Initialization of cluster centers: Semantic features are integrated with low-level features to define enhanced initial cluster centers:
C k = l k , a k , b k , x k , y k , AvgPool G s e m ( k )
where ( l k , a k , b k ) represent Lab color values, ( x k , y k ) denote pixel coordinates, and AvgPool G s e m ( k ) represents the pooled semantic features.
Similarity metric calculation: Within the neighborhood of each cluster center, the distance between pixel i and cluster center k is computed as
D = d c 2 m 2 + d s 2 + β · d s e m 2
d c = l i − l k 2 + a i − a k 2 + b i − b k 2
d s = x i − x k 2 + y i − y k 2
d s e m = AvgPool G s e m ( i ) − AvgPool G s e m ( k ) 2
where d c , d s , and d s e m represent color, spatial, and semantic distances, respectively. In all experiments, the target number of superpixels is fixed to K = 1600 , the distance-balancing weight is m = 10 , and the semantic-distance coefficient is β = 0.4 . A local sensitivity check showed stable behavior for β ∈ [ 0.3 , 0.5 ] .
Update of cluster centers: Cluster center positions are updated by computing the mean of all pixels within each cluster.
For each cluster center, ESSG dynamically adjusts the window size S k based on local gradient variations, making superpixels more compact in high-gradient regions:
S k = S 0 ∇ G k G ¯
where S 0 is the baseline window size determined by the K = 1600 initial superpixel grid, ∇ G k is the average gradient in the cluster-center region, and G ¯ is the average gradient of the entire image. Thus, the local window scale is controlled directly by the target superpixel budget and the gradient ratio.
Gradient-aware optimization introduces gradient constraints into similarity metric calculation, enhancing superpixel boundary adaptation to complex texture regions:
D ′ = D + λ g · ∇ G
where D ′ is the improved distance, λ g is the gradient weight factor, and ∇ G is the pixel gradient magnitude. We use λ g = 0.5 in all experiments; the observed stable range is λ g ∈ [ 0.4 , 0.7 ] .

4.2. Superpixel Semantic Refinement

The Superpixel Semantic Refinement module leverages the geometric coherence of superpixels to resolve semantic ambiguities near object boundaries. Unlike methods that operate solely on pixel-level predictions, it uses superpixels as local structural units to enforce spatial consistency and boundary-aware label correction through semantic voting. The workflow is illustrated in Branch (b) of Figure 2 and detailed as follows.

4.2.1. Superpixel Semantic Category Statistics

For input image I, using the ESSG algorithm, divide it into K superpixel blocks, each containing n pixels, denoted as
S i = p 1 , p 2 , … , p n , i ∈ { 1 , 2 , … , K }
The pixel-level semantic labels generated by the deep segmentation model are L, and so the semantic category set corresponding to superpixel S j is
S p i = l 1 , l 2 , … , l n , l i ∈ { 0 , 1 , 2 , … , M }
where l i = 0 represents background, while other values represent foreground categories; M is the total number of foreground categories. The proportion r of each category in the superpixel is calculated as
r j = n j n , j ∈ { 0 , 1 , 2 , … , M }
where n j is defined as the total count of pixels assigned to category j within the superpixel.

4.2.2. Semantic Category Ambiguity Refinement

To determine whether the semantic category of superpixel S j is clear, the following criterion is established.
Calculate the semantic category l max with the largest proportion in the superpixel and its corresponding proportion r max :
l max = arg max j r j , r max = max r j
If r max falls below the ambiguity threshold τ a = 0.6 , S j is considered semantically ambiguous and requires correction.
For ambiguous superpixel S i , correction rules are established based on color feature differences and semantic category distributions between superpixels: find the adjacent superpixel set Neighbor ( S i ) , where adjacency is determined based on geometric positions of superpixel blocks. Compute the color feature difference μ between S i and its nearest neighbor superpixel Neighbor ( S i ) :
μ = 1 n ∑ k = 1 n C i − C k
where C i and C k are the average color features of S i and Neighbor ( S i ) , respectively.
The Lab-space color-similarity threshold is fixed to τ c = 15 . If μ > τ c , the two superpixels are treated as dissimilar and the decision threshold T is computed from the semantic proportions within the superpixel region:
T = 1 n ∑ k = 1 n r k
If μ ≤ τ c , S i and Neighbor ( S i ) are treated as similar regions and the same semantic-consistency rule is applied with the ambiguity threshold τ a as the confidence reference.
Semantic correction is then performed: if r max > T , the deep segmentation model’s result is retained; if r max ≤ T , all pixels in S i are relabeled with the semantic category l max .
The refined segmentation result L refined is encapsulated as an edge optimization feedback signal E ref , which guides the optimization of the network in Section 3 during training:
E ref = Sobel L refined
where E ref represents the boundary map extracted from L refined with values in the range [0, 1]. During training, it serves as a detached refinement-consistency target for the semantic prediction branch.

5. Loss Function Design

To achieve cooperative enhancement between semantic understanding and edge optimization, a multi-objective loss function comprising two key components is designed:

5.1. Base Segmentation Loss

During independent training of Section 3, a standard segmentation loss function is used to optimize parameters:
L base = L c e L base , Y g t + λ d L dice L base , Y g t
L base = Softmax Conv 1 × 1 F final
where L c e represents the cross-entropy loss, L dice denotes the Dice loss, λ d is the hyperparameter controlling the Dice-loss weight, L base is the original prediction result from the network in Section 3, and Y g t is the ground truth.

5.2. Edge Refinement Feedback Loss

This loss constitutes the reverse edge-to-semantic path of the bidirectional optimization. It compares the gradient of the original prediction L base with the edge map obtained after superpixel refinement. Because ESSG and the relabeling operations are discrete, the refined edge target is explicitly detached before the loss is evaluated; gradients are propagated only through the semantic prediction branch:
L edge _ fb = 1 N ∑ i = 1 N ∇ L base , i − sg E ref , i 2 2
where ∇ L base is the gradient map of L base and sg ( · ) denotes the stop-gradient operation. Consequently, prediction errors in the discrete refinement path cannot recursively update the pseudo-boundary itself. Ground-truth masks remain the direct supervision in L base ; replacing E ref with Sobel ( Y g t ) would instead constitute an additional fully supervised boundary loss and is therefore conceptually different from the proposed refinement-consistency feedback. The configuration comparison in Section 7.3 provides supporting evidence for the feedback pathway, while a matched-refinement comparison is needed to isolate its independent effect.
The final joint training loss function is obtained as
L final = L base + η · L edge _ fb
where η is the weight coefficient for the edge feedback loss, controlling the guidance strength of edge optimization on network training.
The stop-gradient operation prevents differentiation through the discrete refinement target but does not guarantee that the target is error-free. As a result, the feedback term is best interpreted as a refinement-consistency constraint rather than independent ground-truth edge supervision. A controlled comparison with ground-truth-derived boundary supervision would be needed to separate these effects.

6. Experimental Setup

6.1. Experimental Dataset and Split Protocol

A prevalent challenge in evaluating aerial infrared segmentation is the scarcity of public datasets that simultaneously provide aerial viewpoints, infrared modality, and pixel-level structural annotations. To address this issue, we construct the Aircraft Infrared Simulation Dataset (AISD), a physics-based simulated aerial infrared segmentation benchmark containing 10,000 samples. The Alibaba Cloud Tianchi Laboratory Aircraft Detection Dataset (5000 source samples), Aircraft Context Dataset (2000 source samples), and MAR20 (3000 source samples) are used as source libraries for aircraft/scene diversity and geometric configuration; their original optical intensities are not directly treated as thermal measurements and are not converted to infrared by a simple pixel-level intensity remapping.
The final infrared imagery is generated with the Guanxiang V2.0 Optoelectronic Image Simulation Platform supplied by Mukun Zhihui (Suzhou, China) using a unified forward electro-optical simulation pipeline. Target/background radiative characteristics are configured from target geometry, temperature-field information, and infrared material properties, followed by atmospheric propagation and parameterized optical, detector, and electronic response modeling. Sensor-level effects, including detector noise, NETD-related sensitivity, non-uniformity, optical effects, and dynamic-range compression, are incorporated in the image-formation process, while aerial viewpoints are generated through multi-view and path-based sampling. This procedure standardizes the heterogeneous source content into a common simulated infrared image-formation domain. Accordingly, AISD is defined as physics-based simulated infrared imagery generated by the above forward image-formation chain; its grayscale values are simulation outputs rather than luminance values obtained by desaturating optical images. The pseudo-color panels in Figure 3 are visualization renderings of simulated infrared outputs only and are not used as network inputs.
Figure 3. Representative samples from AISD covering diverse aircraft types, target scales, viewpoints, flight conditions, operational backgrounds, and simulated thermal appearances. Pseudo-color panels are included only for visualization of the simulated infrared outputs and are not used as network inputs.
To ensure rigorous evaluation and prevent scene-level leakage, the 10,000 images are partitioned into 7000 training, 1000 validation, and 2000 testing images. The split is performed at the source-scene and aircraft-sequence/near-duplicate group level rather than by random image allocation: samples belonging to the same scene or sequence group are assigned entirely to one subset. Thus, the standard AISD test set is scene-/sequence-disjoint from training. In addition, Section 7.1 reports a sourcewise holdout experiment in which the entire MAR20 source is excluded from training and used only for testing, providing a stricter evaluation of cross-source generalization within the common simulation pipeline.
AISD provides a controlled, physics-based simulated infrared setting for aircraft foreground and structural-region segmentation. The simulation parameters emulate components of an electro-optical imaging chain but have not been quantitatively calibrated against a matched set of physically acquired thermal images in this study. Accordingly, the present benchmark measures performance within this simulation domain; validating radiometric fidelity and downstream fault/anomaly detection requires dedicated future evaluation.

6.2. Experimental Settings and Evaluation Metrics

During training, Adam optimizer is used with an initial learning rate of 0.0005 and Poly learning-rate scheduling. The network settings are summarized in Table 1. For ESSG, all compared superpixel methods use a matched target budget of approximately 1600 superpixels; the proposed method uses m = 10 , β = 0.4 , λ g = 0.5 , τ a = 0.6 , and τ c = 15 .
Table 1. Segmentation network model training parameters.
To conduct in-depth and comprehensive evaluation of the deep model’s segmentation performance, three key evaluation metrics were carefully selected: mean Pixel Accuracy (mPA), F1-score, and mean Intersection over Union (mIoU). These metrics quantitatively assess model performance in semantic segmentation tasks of different dimensions, ensuring objective and comprehensive evaluation results.

7. Results

7.1. Overall Framework Performance Evaluation

As shown in Figure 4, the Bidirectional Global-Edge Refinement results exhibit clearer boundary localization and better recovery of local details. Compared with the Semantics-guided Multi-scale Context Fusion model in Figure 4b, the refined results in Figure 4c better preserve detailed regions such as the tail wings, tail flames, and landing gear while reducing scattered background misclassifications.
Figure 4. Segmentation results on aerial infrared aircraft images. (a) Input infrared image. (b) Results of the Semantics-guided Multi-scale Context Fusion model. (c) Results of the Bidirectional Global-Edge Refinement model.
In the aircraft headlamp area shown in the first row of Figure 4, the initial prediction includes part of the lamp halo, whereas superpixel refinement yields a cleaner boundary after local label reassignment.
Additionally, superpixel semantic refinement suppresses small isolated misclassified regions in the illustrated complex backgrounds. For example, background regions between the aircraft wings in the second row and partial background pixels around the landing-gear contours in the last row are filtered out, yielding cleaner target boundaries.
Table 2 compares the proposed method with representative segmentation models, including general architectures (e.g., U-Net and DeeplabV3) and edge-/context-enhanced models (e.g., Edge-Enhanced U-Net and Graph-CNN Hybrid), using mean Pixel Accuracy (mPA), mF1-score, and mean Intersection over Union (mIoU).
Table 2. Segmentation accuracy on the standard AISD split and sourcewise holdout evaluation.
On the standard AISD split, the proposed model achieves the highest point estimates in Table 2: 86.29% mPA, 83.35% mF1, and 76.20% mIoU. Relative to P-Mamba, the strongest baseline in this comparison, the corresponding gains are 0.89, 1.52, and 0.88 percentage points. Across three independent training runs with different random seeds, the proposed model obtains an mIoU of 76.20 % ± 0.18 % , describing within-model run-to-run variation. The sourcewise holdout results in the lower panel of Table 2 provide an additional robustness check on unseen-source content.
To complement the standard split and evaluate source-level robustness, we conduct a sourcewise holdout experiment. Models are trained only on the Tianchi and Aircraft Context sources and evaluated without adaptation on the unseen MAR20 source. As shown in the lower panel of Table 2, the proposed method reaches 83.15% mPA and 72.54% mIoU, compared with 81.30%/71.12% for P-Mamba and 71.25%/63.40% for DeeplabV3+. The mIoU margin over P-Mamba therefore increases from 0.88 points on the standard split to 1.42 points under the unseen-source protocol.

7.2. Qualitative Analysis

7.2.1. Semantics Guided Multi-Scale Context Fusion

As shown in Figure 5c, the segmentation results after Semantics-guided Multi-scale Context Fusion processing show clear improvement in both global structure and local details. From a global perspective, the network accurately captures the overall contours of aircraft, particularly in regions with complex boundaries or strong background interference, such as wing and tail positions in the image, where segmentation results exhibit greater edge continuity. From a detailed perspective, compared to segmentation results of the DeeplabV3+ model (as shown in Figure 5b), multi-scale feature fusion significantly improves the ability to capture local target features, especially in small areas such as wingtips and aircraft tails, where missed and misclassified segments are substantially reduced.
Figure 5. The segmentation results on the infrared aircraft image. (a) Infrared aircraft image. (b) Segmentation results of the DeeplabV3+ model. (c) Segmentation results of the Semantics-guided Multi-scale Context Fusion model.

7.2.2. Edge-Sensitive Superpixel Collaborative Semantic Refinement

As shown in Figure 6, applying ESSG to the infrared aircraft images produces clearer boundary-aligned region partitions.
Figure 6. Comparison of superpixel segmentation. (a) Input infrared image. (b) SLIC superpixels. (c) ESSG superpixels.
To directly evaluate superpixel quality rather than downstream segmentation accuracy, Table 3 reports Boundary Recall (BR), Achievable Segmentation Accuracy (ASA), and the average number of generated superpixels N s p . All methods are evaluated with a matched budget of approximately 1600 superpixels. Gradient-based Watershed obtains the lowest BR (72.40%) and ASA (75.10%), while SLIC reaches 81.20% BR and 83.50% ASA. ESSG achieves 87.60% BR and 89.20% ASA at a comparable superpixel count, providing direct evidence that the semantic- and gradient-aware clustering produces superpixels that adhere more closely to target boundaries.
Table 3. Intrinsic quality comparison of superpixel algorithms under a matched superpixel budget.

7.3. Ablation Study

Table 4 first shows the progressive contribution of the semantic modules and then compares the two directional configurations of the proposed interaction. The baseline achieves 55.30% mIoU; DGAP and CFC increase it to 62.10% and 67.40%, respectively. With semantic-to-edge guidance through ESSG but without the edge-feedback loss, performance reaches 72.50% mIoU. Conversely, retaining edge-to-semantic feedback while replacing semantic-guided ESSG with standard SLIC gives 71.82% mIoU. The full bidirectional configuration reaches 76.20% mIoU, exceeding the semantic-to-edge-only and edge-to-semantic-only variants by 3.70 and 4.38 percentage points, respectively.
Table 4. Ablation study of the proposed modules and bidirectional interaction (Unit: %).
The module-specific variants provide consistent supporting evidence. Integer multi-rate DGAP with dynamic gating improves mIoU from 59.80% to 62.10% relative to fixed-rate standard convolution; CFC improves from 64.20% to 67.40% relative to direct concatenation; and semantic/gradient-aware ESSG improves from 68.90% to 72.50% relative to SLIC. For ESSG, the selected settings are m = 10 , β = 0.4 , λ g = 0.5 , K = 1600 , τ a = 0.6 , and τ c = 15 . A local sensitivity check around the selected values showed stable behavior for β ∈ [ 0.3 , 0.5 ] and λ g ∈ [ 0.4 , 0.7 ] , reducing sensitivity to small parameter perturbations.

8. Discussion

8.1. Interpretation of Global-Edge Refinement

The behavior shown in Figure 4 is consistent with the use of ESSG superpixels as local structural units together with the semantic predictions from the global branch. The proposed refinement uses superpixel blocks generated by ESSG as local segmentation units and performs a second-stage label correction using semantic information from the Semantics-guided Multi-scale Context Fusion branch. By dividing background areas into superpixel blocks and reassigning category labels according to semantic consistency, the refinement process removes scattered false positives while preserving the main aircraft contours.
Furthermore, shallow features extracted from intermediate layers of the backbone network, rich in edge and texture details, are combined with deep semantic features to further improve segmentation accuracy in boundary regions of complex scenes. For example, although brightness differences between aircraft wing edges and background in infrared images are small, the model effectively distinguishes targets from the background by the CFC, significantly reducing misclassified regions.
In contrast to SLIC [25], ESSG uses semantic guidance in the local adaptive clustering process, which helps the generated superpixels follow object contours in low-contrast regions such as aircraft wings and tail flames. In complex backgrounds, the same clustering strategy also produces more coherent background superpixels and reduces small isolated regions relative to SLIC.

8.2. Generalization Scope

Because AISD is generated through a physics-based electro-optical simulation pipeline, the present experiments characterize the proposed method under simulated aerial infrared imaging and source-level content shifts.
The point estimates in the lower panel of Table 2 indicate that the proposed global-edge refinement retains a higher mIoU when the test source is unseen during training, supporting transfer across source-library scene content within the shared simulation process. This protocol does not evaluate sensor-to-sensor transfer or simulation-to-real generalization.
The comparison models in Table 2 include general segmentation architectures and transferable architectures originating in other imaging tasks. They are evaluated here as architecture-level baselines on AISD, rather than as a comprehensive ranking of task-specific thermal segmentation systems. Future benchmarking against dedicated aerial thermal segmentation methods under harmonized training settings will further clarify task-level competitiveness.

8.3. Limitations and Future Work

Because corresponding repeated-run statistics for P-Mamba and the other baselines are unavailable, the point-estimate differences in Table 2 are not presented as statistically significant improvements.
The configurations in Table 4 show the performance of the implemented full system relative to two reduced variants. However, the edge-to-semantic-only variant also replaces ESSG with SLIC; therefore, this comparison jointly changes guidance and refinement design and cannot by itself isolate the causal effect of information-flow direction. A fully controlled directional study retaining the same superpixel mechanism would be useful for further evaluation.
A priority for future work is validation against physically acquired aerial thermal imagery, including quantitative assessment of simulation-to-real differences and heterogeneous sensor domains. Further work will investigate robustness under more complex thermal backgrounds and imaging conditions, broaden sourcewise validation, and develop lightweight real-time implementations for deployment on aerial inspection platforms. Additional priorities include controlled direction-only ablations, ground-truth boundary supervision comparisons, repeated runs for strong baselines, and benchmarking against task-specific thermal segmentation methods.

9. Conclusions

This paper presents a bidirectional global-edge refinement framework for aerial infrared segmentation, coupling multi-scale semantic modeling with edge-sensitive superpixel refinement. On the standard AISD split, the complete model achieves an 86.29% mPA, 83.35% mF1, and 76.20% mIoU, corresponding to gains of 0.89, 1.52, and 0.88 percentage points over P-Mamba. The reported configuration comparisons favor the full architecture, although the directional variants also differ in refinement design, while the intrinsic superpixel evaluation confirms improved BR and ASA for ESSG at a matched superpixel budget. In the sourcewise holdout context, the proposed method obtains a 72.54% mIoU on the unseen MAR20 source, compared with 71.12% for P-Mamba.

Author Contributions

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

Funding

This work was supported by the Key Research and Development Program of Shaanxi (Program No. 2025SF-YBXM-546).

Data Availability Statement

The data supporting the findings of this study are not publicly available because they contain confidential information subject to disclosure restrictions.

Conflicts of Interest

Author Zhiqi Hu was employed by the company Xi’an Zhongfei Aviation Testing Technology Development Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Rawat, S.S.; Verma, S.K.; Kumar, Y. Review on recent development in infrared small target detection algorithms. Procedia Comput. Sci. 2020, 167, 2496–2505. [Google Scholar] [CrossRef] [Scilit]
  2. Hou, Q.; Wang, Z.; Tan, F.; Zhao, Y.; Zheng, H.; Zhang, W. RISTDnet: Robust infrared small target detection network. IEEE Geosci. Remote Sens. Lett. 2021, 19, 7000805. [Google Scholar] [CrossRef] [Scilit]
  3. Zhang, M.; Zhang, R.; Yang, Y.; Bai, H.; Zhang, J.; Guo, J. ISNet: Shape matters for infrared small target detection. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2022; pp. 877–886. [Google Scholar]
  4. Wang, Z.; Li, H.; Chen, Z.; Han, Q.L. A fault diagnosis method for quadruped robot based on hybrid deep neural networks. IEEE Trans. Ind. Inform. 2025, 21, 3027–3036. [Google Scholar] [CrossRef] [Scilit]
  5. Kütük, Z.; Algan, G. Semantic segmentation for thermal images: A comparative survey. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW); IEEE: Piscataway, NJ, USA, 2022; pp. 286–295. [Google Scholar]
  6. Wu, S.; Tong, W.; Hou, Y.; Li, P.; Yang, W.; Wu, E.Q. Concept-Aware Entity Alignment Network for Industrial Knowledge Graph. IEEE Trans. Ind. Inform. 2025, 21, 4316–4323. [Google Scholar] [CrossRef] [Scilit]
  7. Dong, L.; Peng, Y.; Jiang, F.; Wang, K.; Yang, K. Explainable semantic federated learning enabled industrial edge network for fire surveillance. IEEE Trans. Ind. Inform. 2024, 20, 14053–14061. [Google Scholar] [CrossRef] [Scilit]
  8. Huang, Z.; Wang, X.; Wang, J.; Liu, W.; Wang, J. Weakly-supervised semantic segmentation network with deep seeded region growing. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2018; pp. 7014–7023. [Google Scholar]
  9. Zhang, S.; Wu, G.; Costeira, J.P.; Moura, J.M. FCN-RLSTM: Deep spatio-temporal neural networks for vehicle counting in city cameras. In 2017 IEEE International Conference on Computer Vision (ICCV); IEEE: Piscataway, NJ, USA, 2017; pp. 3667–3676. [Google Scholar]
  10. Siddique, N.; Sidike, P.; Elkin, C.; Devabhaktuni, V. U-Net and its variants for medical image segmentation: Theory and applications. arXiv 2020, arXiv:2011.01118. [Google Scholar]
  11. Zhang, Z.; Zhang, X.; Peng, C.; Xue, X.; Sun, J. Exfuse: Enhancing feature fusion for semantic segmentation. In Computer Vision—ECCV 2018; Springer: Cham, Switzerland, 2018; pp. 269–284. [Google Scholar]
  12. Duan, P.; Kang, X.; Li, S.; Ghamisi, P.; Benediktsson, J.A. Fusion of multiple edge-preserving operations for hyperspectral image classification. IEEE Trans. Geosci. Remote Sens. 2019, 57, 10336–10349. [Google Scholar] [CrossRef] [Scilit]
  13. Wu, Z.; Wang, Y.; Xie, H.; Feng, M.; Wu, H.; Ding, C.; Mian, A. A systematic point cloud edge detection framework for automatic aircraft skin milling. IEEE Trans. Ind. Inform. 2023, 20, 560–572. [Google Scholar] [CrossRef] [Scilit]
  14. Wang, J.; Zou, H.; Zhou, M.; Su, R. An efficient deep neural network for surface defect detection in industrial edge sensing. IEEE Trans. Ind. Inform. 2024, 21, 2560–2569. [Google Scholar] [CrossRef] [Scilit]
  15. Zhou, X.; Ma, X.; Li, Y. An adaptive threshold algorithm based on wavelet in QRS detection. In 2014 International Conference on Audio, Language and Image Processing; IEEE: Piscataway, NJ, USA, 2014; pp. 858–862. [Google Scholar]
  16. Deng, C.X.; Wang, G.B.; Yang, X.R. Image edge detection algorithm based on improved canny operator. In 2013 International Conference on Wavelet Analysis and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2013; pp. 168–172. [Google Scholar]
  17. Liu, Z.; Chen, H.; Liu, H. Deep learning based framework for direct reconstruction of PET images. In Medical Image Computing and Computer Assisted Intervention—MICCAI 2019; Springer: Cham, Switzerland, 2019; pp. 48–56. [Google Scholar]
  18. Chen, L.; Li, J.; Zou, Y.; Wang, T. ETU-Net: Edge enhancement-guided U-Net with transformer for skin lesion segmentation. Phys. Med. Biol. 2023, 69, 015001. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  19. Zhang, C.; Wang, L.; Cheng, S. HCGNet: A hybrid change detection network based on CNN and GNN. IEEE Trans. Geosci. Remote Sens. 2024, 62, 4401412. [Google Scholar] [CrossRef] [Scilit]
  20. Ahmad, M.; Ghous, U.; Usama, M.; Mazzara, M. WaveFormer: Spectral-spatial wavelet transformer for hyperspectral image classification. IEEE Geosci. Remote Sens. Lett. 2024, 21, 5502405. [Google Scholar] [CrossRef] [Scilit]
  21. Chen, J.; Xia, M.; Wang, D.; Lin, H. Double branch parallel network for segmentation of buildings and waters in remote sensing images. Remote Sens. 2023, 15, 1536. [Google Scholar] [CrossRef] [Scilit]
  22. Wei, B.; He, H.; Hao, K.; Gao, L.; Tang, X.S. Visual interaction networks: A novel bio-inspired computational model for image classification. Neural Netw. 2020, 130, 100–110. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. Wang, J.; Ding, D.; Li, Z.; Ma, Z. Multiscale point cloud geometry compression. In 2021 Data Compression Conference (DCC); IEEE: Piscataway, NJ, USA, 2021; pp. 73–82. [Google Scholar]
  24. Ye, Z.; Chen, T.; Wang, F.; Zhang, H.; Zhang, L. P-Mamba: Marrying Perona-Malik Diffusion with Mamba for Efficient Pediatric Echocardiographic Left Ventricular Segmentation. arXiv 2024, arXiv:2402.08506. [Google Scholar]
  25. He, F.; Mahmud, M.A.P.; Kouzani, A.Z.; Anwar, A.; Jiang, F.; Ling, S.H. An improved SLIC algorithm for segmentation of microscopic cell images. Biomed. Signal Process. Control 2022, 73, 103464. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.