Next Article in Journal
Integrated Physics-Informed Machine Learning Framework for Structural Damage Detection, Localization, and Severity Classification
Previous Article in Journal
Inscription of Quasi-Sinusoidal Surface Relief Optical Gratings in ZEONOR™ Cyclic Olefin Polymer by a 10.5 MeV N4+ Ion Microbeam at Low Implanted Fluences
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Lightweight Multispectral Detection and DEM-Constrained Ray Consistency Localization for UAV-Assisted Search and Rescue

1
College of Intelligent Equipment, Shandong University of Science and Technology, Tai’an 271019, China
2
Industrial Big Data Intelligent Perception and Security Technology Innovation Laboratory, Shandong University of Science and Technology, Tai’an 271019, China
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(15), 4975; https://doi.org/10.3390/s26154975
Submission received: 23 June 2026 / Revised: 28 July 2026 / Accepted: 5 August 2026 / Published: 5 August 2026
(This article belongs to the Section Sensing and Imaging)

Abstract

Reliable target detection and geographic localization are critical for unmanned aerial vehicle (UAV)-assisted search and rescue (SAR) yet remain challenging in complex outdoor environments. Small targets in UAV Red–Green–Blue–Infrared (RGB–IR) imagery suffer from background clutter, occlusion, low illumination, and infrared thermal diffusion, while localization is vulnerable to unstable viewpoints and terrain-induced ray uncertainty. This study presents an integrated UAV-SAR framework coupling lightweight multispectral detection with Digital Elevation Model (DEM)-constrained geographic localization. For detection, the Asymmetric Fusion and Context-aware Detection (AFC-Det) network leverages asymmetric dual-stream encoding, cross-modal mutual prompting, and high-resolution anchored aggregation to enhance small-target representation from RGB–IR pairs. For localization, the Global Context-Regularized Huber Ray Consistency Optimization (GCR-HRCO) improves geolocation via global ray aggregation, multi-ray geometric consistency, Huber robust optimization, and DEM-based terrain constraints. Experimental results demonstrate AFC-Det achieves 45.4% average precision (AP) and 44.7% AP for small objects (APs) on the VTSaR dataset, with 1.7 million parameters, 8.0 GFLOPs, and 107.2 FPS, generalizing well to M3FD (54.6% AP). On SAR-DAG_raycast, GCR-HRCO reduces mean horizontal error from 6.85 m to 3.31 m and RMSE from 8.16 m to 4.33 m. Collectively, these results demonstrate the effectiveness of the proposed detection and localization components.

1. Introduction

Unmanned aerial vehicles (UAVs) have emerged as critical platforms for Search and Rescue (SAR) operations due to their ability to rapidly access hazardous, remote, or post-disaster environments and deliver aerial observations for emergency decision-making. Recent studies on UAV-based perception and aerial object detection indicate that SAR-oriented UAV systems are transitioning from simple image acquisition toward integrated robotic platforms that combine sensing, detection, localization, and mission-level decision support [1,2,3,4]. In such systems, two capabilities are especially critical: robust target perception and accurate geographic localization.
Deep learning has substantially advanced aerial object detection through high-resolution feature modeling, transformer-based frameworks, sparse-query mechanisms, and efficient architectures [5,6,7,8,9,10,11,12,13,14,15,16]. For instance, transformer-based detectors improve long-range feature interaction, whereas sparse-query and efficient detection frameworks reduce redundant computation for high-resolution aerial imagery. However, UAV-SAR targets are often small, weakly textured, partially occluded, and embedded in complex backgrounds. Existing studies on small-object and aerial detection highlight that high-resolution spatial details, foreground-aware computation, and scale-sensitive representations are crucial for tiny target perception [12,13,14,15,16]. Nevertheless, these designs often introduce additional computational costs, thereby limiting their applicability to resource-constrained UAV platforms.
Multispectral Red–Green–Blue–Infrared (RGB–IR) perception offers an effective solution for robust target detection under low illumination, occlusion, and visually degraded conditions. RGB images typically contain texture, boundary, color, and structural information, while infrared images provide thermal saliency that can highlight human or vehicle targets when visible-light cues are unreliable. Therefore, the key challenge in multispectral detection lies not only in fusing two modalities, but also in suppressing unreliable modality responses and preserving complementary information for small or weak targets.
Kim et al. [17] proposed uncertainty-guided cross-modal learning to mitigate the impact of unreliable visible or infrared features in pedestrian detection. This improves robustness under single-modality degradation, but it primarily focuses on ground-view pedestrian scenes and does not adequately address UAV-specific challenges such as tiny target size, large viewpoint variation, and rapidly changing backgrounds. Kim et al. [18] further introduced a memory-based cued-recall mechanism to enhance small-scale pedestrian representations by retrieving discriminative cues. While this strategy strengthens weak pedestrian features, its memory-based design adds extra complexity and is not specifically optimized for lightweight UAV deployment.
For UAV-oriented multispectral perception, Sun et al. [19] investigated drone-based RGB–infrared vehicle detection and proposed uncertainty-aware learning to address cross-modality inconsistency in aerial imagery. However, this work mainly targets vehicle detection, whereas SAR targets such as trapped persons typically have lower pixel occupancy and weaker boundary cues. Zhang et al. [20] studied drone-based Red–Green–Blue–Thermal (RGBT) tiny person detection, highlighting its inherent susceptibility to background clutter, infrared thermal diffusion, and insufficient high-resolution spatial details. Luo et al. [21] proposed an intramodal enhancement and cross-modal fusion network for UAV aerial RGB-IR small-object detection, demonstrating that both modality-specific refinement and robust fusion are essential. However, their relatively complex fusion structures may increase inference cost, making the trade-off between accuracy and lightweight deployment still critical.
Recent studies have also sought to improve RGB–IR interaction through more explicit cross-modal modeling. He et al. [22] proposed cross-modal conflict-aware learning to identify and suppress conflicting RGB–IR features, thereby reducing the negative influence of inconsistent modality responses. However, conflict modeling alone may still be insufficient for preserving fine boundaries under infrared thermal diffusion. Kim et al. [23] introduced language-driven multi-modal fusion for multispectral pedestrian detection, using semantic guidance to improve modality complementarity, but the additional guidance mechanism increases system complexity. Jang et al. [24] proposed cross-modal complementary learning with cosine-similarity-based channel resampling, improving channel-level modality selection; however, such mechanisms may still rely on stable feature alignment, which can be weakened in UAV imagery due to scale variation, motion, and viewpoint changes. Furthermore, while visible-thermal benchmarks [25] and datasets like MUST [26] underscore the value of multispectral UAV perception, these tracking-oriented studies primarily focus on temporal association rather than lightweight small-target detection for downstream geographic localization.
Reliable geographic localization is also a key requirement for UAV-assisted SAR because detected targets must be converted from image coordinates into geographic positions to support rescue decision-making. Existing studies have mainly explored UAV localization from two perspectives. One line of work uses satellite imagery, topographic information, or pose-aware benchmarks to improve UAV visual localization under Global Positioning System (GPS)-denied, oblique-view, or Six-Degree-of-Freedom (6–DoF) conditions [27,28,29]. Another line of work focuses on cross-view geo-localization, where drone, ground, and satellite images are matched through multi-view benchmarks, transformer-based correspondence learning, hard negative sampling, and geometric disentanglement [30,31,32,33,34]. These studies indicate that geographic priors and multi-view geometry are effective for improving localization robustness. However, most existing methods mainly address image-level place recognition or UAV pose estimation, while target-level geographic localization after visual detection remains underexplored. In UAV-assisted SAR scenarios, localization is further affected by detection deviations, unstable viewpoints, terrain relief, and uncertain ray–terrain intersections. Therefore, robust integration of visual detection uncertainty, global observation context, multi-ray geometric consistency, and Digital Elevation Model (DEM)-based terrain constraints remain necessary.
Motivated by these considerations, this study proposes an integrated UAV-assisted SAR framework that combines lightweight multispectral target detection with DEM-constrained geographic localization. In the visual perception stage, the Asymmetric Fusion and Context-aware Detection (AFC-Det) network is developed to robustly extract small targets from degraded RGB-IR imagery. Subsequently, the Global Context-Regularized Huber Ray Consistency Optimization (GCR-HRCO) converts these visual detections into geographic coordinates by integrating global multi-ray geometric consistency with robust Huber optimization under DEM constraints.
The main contributions of this study are summarized as follows.
  • A unified perception-to-localization framework for UAV-assisted SAR.
    We propose an integrated pipeline that links lightweight RGB-IR target detection with DEM-constrained geographic localization. Unlike studies that focus only on image-level detection or UAV pose recognition, our framework directly converts multispectral visual detections into target-level geographic coordinates through camera-ray geometry and terrain constraints.
  • Lightweight cross-modal small-target perception.
    The developed AFC-Det network robustly extracts tiny targets from degraded RGB-IR imagery. Instead of treating visible and infrared images symmetrically, AFC-Det adopts modality-specific feature encoding and early cross-modal calibration to preserve RGB structural details and infrared thermal saliency with low computational cost.
  • Geometry-consistent ray optimization for DEM-constrained localization.
    The GCR-HRCO pipeline is proposed to improve target geolocation from AFC-Det detections. By aggregating flight-level observations, fitting multiple camera rays with geometric consistency, and reducing the influence of inconsistent rays, the method improves localization stability under detection deviations, weak viewing geometry, and coarse DEM terrain constraints.
The remainder of this paper is organized as follows. Section 2 details the proposed unified framework, comprising the AFC-Det perception network and the GCR-HRCO localization pipeline. Section 3 presents the experimental settings, detection comparison results, ablation studies, generalization evaluation, and localization visualization analyses. Section 4 concludes the paper and discusses future research directions.

2. Materials and Methods

2.1. Integrated Detection and Localization Framework

This study presents a UAV-assisted SAR framework that couples lightweight multispectral target detection with DEM-constrained geographic localization, as shown in Figure 1. The framework adopts a perception-to-localization pipeline, where registered RGB–IR image pairs are first converted into target-level visual observations and then transformed into geographic coordinates through camera-ray geometry and terrain constraints.
In the first stage, AFC-Det detects small targets from registered RGB–IR image pairs. It adopts an asymmetric dual-stream backbone to model modality-specific RGB structural cues and infrared thermal responses, introduces the Cross-modal Mutual Prompting (CMP) module to enhance early-stage cross-modal calibration, and employs the High-Resolution Anchored Global Aggregation Pyramid (HRAG-FPN) to preserve fine spatial details for small-target representation. This stage significantly improves the reliability of visual measurements against complex environmental interferences and modality-specific degradations.
In the second stage, the detected image point is converted into a camera ray using UAV pose, camera parameters, and gimbal attitude. Rather than treating localization as an independent single-frame ray–terrain intersection problem, the proposed GCR-HRCO uses camera rays as a geometry-aware intermediate representation to link visual perception and geographic localization. Specifically, Global Context Ray Aggregation expands the observation set from a short sequence to the flight-level context, Ray Consistency Optimization estimates the target position through multi-ray geometric fitting, and Huber Robust Loss suppresses inconsistent rays during optimization. Finally, a fixed Terrain-Constrained Output step stabilizes the target height using DEM-based raycast intersections and outputs the final geographic coordinates.

2.2. Asymmetric Fusion and Context-Aware Detection Network

In UAV-assisted search and rescue (UAV-SAR) imagery, targets typically occupy only a small image region and exhibit weak texture, limited semantic cues, and scale variation, while simultaneously suffering from background clutter, canopy occlusion, low illumination, and infrared thermal diffusion. These factors compromise both detection accuracy and the reliability of two-dimensional visual priors for subsequent geographic localization. To address these challenges, we propose AFC-Det, a lightweight multispectral detector that predicts target bounding boxes and categories from registered RGB-IR image pairs, as illustrated in Figure 2.
AFC-Det adopts an asymmetric dual-stream architecture to capture modality-specific cues. The RGB branch uses StarBlock to enhance texture, edge, and local structural representation, whereas the infrared branch employs LSBlockS to model thermal response distributions and suppress irrelevant thermal noise. Compared with symmetric dual-stream designs, this asymmetric encoding better preserves discriminative information from each modality in complex rescue environments.
To reduce spatial response shifts and semantic inconsistency caused by independent down sampling, the CMP module is introduced in shallow and intermediate stages. Specifically, the infrared-to-visible thermal saliency prompt guides RGB features using infrared spatial responses, improving target awareness under low-light or occluded conditions. Meanwhile, the visible-to-infrared structural prompt uses high-frequency RGB structural cues to constrain infrared boundary ambiguity caused by thermal diffusion. This bidirectional prompting improves cross-modal alignment while maintaining complementary modality information.
The CMP-enhanced multi-scale features are then fed into the HRAG-FPN. By aggregating high-resolution shallow details with deep semantic features and feeding fine-grained spatial cues back to high-level layers, the HRAG-FPN strengthens small-target localization and alleviates detail loss caused by repeated downsampling. Consequently, AFC-Det improves detection robustness against these severe environmental and modality-specific degradations while maintaining a lightweight structure.

2.2.1. Asymmetric Dual-Stream Backbone

AFC-Det adopts an asymmetric dual-stream backbone to separately encode RGB and infrared images, enabling each modality to be processed according to its own imaging characteristics. In UAV-SAR scenarios, RGB images provide rich texture, edge, and structural details, but are easily degraded by low illumination, shadows, occlusion, and background clutter. Infrared images are more sensitive to thermal targets, but often suffer from weak boundaries, background heat interference, and thermal diffusion. Therefore, the RGB branch is designed to enhance texture and structural representation, whereas the infrared branch focuses on thermal response selection and local saliency enhancement.
In the RGB branch, StarBlock is used as the basic encoding unit. Given an input feature X , the StarBlock operation can be formulated as
X = B ( D W C o n v 7 × 7 ( X ) )
Z = R e L U 6 ( C o n v 1 × 1 f 1 ( X ) ) C o n v 1 × 1 f 2 ( X )
X o u t = S i L U ( D W C o n v 7 × 7 ( B ( C o n v 1 × 1 g ( Z ) ) ) + S ( X ) )
where denotes element-wise multiplication, and S X denotes the shortcut branch. When downsampling is required, S X consists of average pooling and a 1 × 1 convolution for spatial and channel alignment; otherwise, an identity shortcut is used. For the basic mathematical operators, B denotes the Batch Normalization operation, C o n v 1 × 1 denotes a 1 × 1 standard pointwise convolution, and D W C o n v 7 × 7 represents a 7 × 7 depthwise convolution. Specifically, C o n v 1 × 1 f 1 , C o n v 1 × 1 f 2 , and C o n v 1 × 1 g denote three distinct 1 × 1 convolutional layers with independent learnable weights used for channel expansion, interaction, and projection, respectively. Furthermore, ReLU 6 represents the ReLU6 activation function, and S i L U denotes the SiLU activation function.
We introduce LSBlockS into the infrared branch to model locally concentrated thermal responses while suppressing background thermal noise, and its structure is shown in Figure 3. Given the input feature X , LSBlockS contains a Large-kernel Perception (LKP) branch and a Small-kernel Aggregation (SKA) branch. The LKP branch generates a thermal modulation mask, while the SKA branch aggregates local thermal details for infrared small-target representation, which are defined as
W = σ C o n v 1 × 1 S i L U B D W C o n v 5 × 5 S i L U B C o n v 1 × 1 X
Y = S i L U B C o n v 1 × 1 S i L U B D W C o n v 3 × 3 S i L U B C o n v 1 × 1 X
X o u t = X + Y W
where W denotes the thermal modulation weight, Y denotes the local thermal feature, and σ represents the Sigmoid activation function. The expansion ratio of LSBlockS is set to e = 1.0 , which avoids premature channel compression of infrared small-target features while maintaining a lightweight structure.
Furthermore, the selection of distinct activation functions within the StarBlock is explicitly tailored to their specific operational roles. As formulated in Equation (2), ReLU6 is employed for internal feature interaction because its bounded output range of [0,6] effectively prevents numerical explosion during the element-wise multiplication of high-dimensional features. Additionally, this bounded property provides substantial robustness for low-precision hardware quantization, such as INT8, which is beneficial for future implementation on UAV edge devices. Conversely, SiLU is utilized as the final output activation of the block, as indicated in Equation (3). Benefiting from its smooth and non-monotonic mathematical properties, SiLU alleviates the dying ReLU phenomenon, thereby ensuring stable gradient propagation and preserving fine-grained RGB structural details for subsequent cross-modal fusion.

2.2.2. Cross-Modal Mutual Prompting

In RGB-IR dual-stream detection networks, RGB and infrared features are usually encoded separately, which may cause modality-specific noise, spatial response shifts, and semantic inconsistency during repeated downsampling. Infrared features are vulnerable to thermal diffusion and background heat interference, while RGB features can be degraded by shadows, low illumination, and complex texture clutter. Therefore, simple late-stage fusion is insufficient to correct the misalignment accumulated in intermediate encoding. To address this problem, CMP is introduced into the shallow and intermediate stages of the dual-stream backbone, enabling bidirectional modulation before the features enter the next encoding stage. The structure of CMP is illustrated in Figure 4.
Given the infrared feature F i r and visible feature F v i s at the current stage, where F i r , F v i s R C × H × W , CMP generates an infrared-to-visible thermal saliency prompt and a visible-to-infrared structural prompt as follows:
M i r v i s = σ B C o n v 1 × 1 D S C o n v 7 × 7 F i r
D v i s = F v i s D W C o n v 3 × 3 F v i s
M v i s i r = σ B C o n v 1 × 1 D v i s
where M i r v i s provides thermal saliency guidance for the RGB branch, and M v i s i r provides structural constraints for the infrared branch. For the operators and intermediate variables, σ represents the standard sigmoid activation function, and D S C o n v 7 × 7 denotes a 7 × 7 depthwise separable convolution layer. Additionally, the term D v i s explicitly represents the extracted high-frequency structural detail feature from the visible modality. The bidirectional prompting process is then formulated as
F v i s = F v i s 1 + M i r v i s
F i r = F i r 1 + M v i s i r
By introducing CMP before subsequent encoding stages, cross-modal interaction is performed earlier, effectively reducing modality misalignment and noise accumulation during feature extraction.

2.2.3. High-Resolution Anchored Global Aggregation Pyramid

In UAV-SAR scenarios, small targets often suffer from background interference and low pixel occupancy. Conventional Feature Pyramid Networks (FPNs) progressively downsample feature maps and may lose crucial shallow spatial details, such as object boundaries, local textures, and fine target cues. To address this issue, we propose the HRAG-FPN, whose structure is illustrated in Figure 5.
HRAG-FPN uses the high-resolution P 3 base feature as a global aggregation hub to enhance small-target representation. Specifically, multi-scale base features P 3 base , P 4 base , and P 5 base are first extracted from the multi-modal backbone features. Deep semantic information from P 4 base and P 5 base is then directly aggregated into P 3 base , forming an enhanced high-resolution hub representation. This hub-based aggregation shortens the cross-scale information transmission path, reduces semantic attenuation, and preserves fine spatial details for small-target feature localization.
After high-resolution semantic aggregation, the enhanced P 3 representation is propagated back to deeper feature levels through a bottom-up residual feedback pathway. This feedback mechanism compensates for spatial detail loss in low-resolution features while preserving their semantic discrimination. Each enhanced pyramid feature is further refined by a lightweight LSBlockS-based refinement block before being fed into the detection head. In this way, HRAG-FPN provides stable and discriminative multi-scale features for AFC-Det, thereby improving small-target detection and bounding-box localization under complex UAV-SAR backgrounds.

2.3. Vision-Guided DEM-Constrained Ray Consistency Localization

In UAV-SAR scenarios, target localization from image detections requires converting image-space observations into geographic coordinates. A conventional raycast-based pipeline first converts the detected image point into a camera ray and then intersects the ray with a DEM terrain surface. In practical SAR missions, especially in remote mountainous or disaster-affected regions, publicly available DEMs provide an accessible and efficient terrain in advance without requiring additional field surveying or high-cost terrain reconstruction. Therefore, DEM-constrained localization offers a practical solution for rapidly estimating target positions in complex outdoor environments.
However, localization based on independent single-frame ray–terrain intersections can still be sensitive to bounding-box deviations, viewpoint changes, and local terrain discretization. When localization is performed independently for each frame or simply averaged within a short sequence, the final position may be affected by weak viewing geometry and inconsistent ray observations. To address this issue, this study formulates target geolocation as a DEM-constrained multi-ray consistency problem. Instead of relying on a single raycast intersection, the proposed method aggregates multiple camera rays and estimates a geometrically consistent target position under terrain constraints. The overall architecture of the proposed localization framework is illustrated in Figure 6.
To improve the stability of DEM-constrained target localization, we propose the GCR-HRCO method. The method comprises three independent modules: Global Context Ray Aggregation, Ray Consistency Optimization, and Huber Robust Loss. The Global Context Ray Aggregation module expands the observation set from a short sequence to the flight-level context, thereby providing richer multi-view geometric constraints. The Ray Consistency Optimization module determines the target position by fitting multiple camera rays instead of averaging independent DEM intersections. The Huber Robust Loss function further reduces the influence of inconsistent rays during optimization. Finally, a Terrain-Constrained Output step uses DEM-based raycast intersections to stabilize the vertical coordinate and yield the final geographic position.

2.3.1. Camera Ray Generation from AFC-Det Detections

For each UAV frame, the target bounding box is directly obtained from AFC-Det predictions. Let the predicted bounding box in the i -th frame be
B i d e t = ( x i 1 d e t , y i 1 d e t , x i 2 d e t , y i 2 d e t )
where ( x i 1 d e t , y i 1 d e t ) and ( x i 2 d e t , y i 2 d e t ) denote the upper-left and lower-right coordinates. The image point for ray generation is defined as the bottom-center point of the bounding box to approximate the target ground-contact position:
u i = x i 1 d e t + x i 2 d e t 2
v i = y i 2 d e t
Given the camera intrinsic parameters ( f x , f y , c x , c y ) , the image point is converted into normalized camera coordinates:
x i = u i c x f x
y i = v i c y f y
Therefore, the corresponding unit ray direction vector r i within the local camera coordinate system is formulated as
r ~ i = x i , y i , 1 T [ x i , y i , 1 ] T
Using the UAV position, flight attitude, camera parameters, and gimbal metadata, the camera-frame ray is transformed into the world coordinate system. This produces a camera center C i R 3 and a unit ray direction r i R 3 . The camera ray is written as
l i ( t ) = C i + t r i , t > 0
where t denotes the parametric scalar representing the distance along the camera ray.

2.3.2. Global Context Aggregation and Multi-Ray Consistency

A short sequence may contain only a limited number of valid observations, leading to unstable localization when the viewing geometry is weak. Therefore, instead of using only the current sequence, GCR-HRCO aggregates rays from a broader flight-level context. For a given sequence s belonging to a flight F , let the local sequence ray set be
R s = C i , r i , i s
Moreover, the global context ray set is defined as
R F = C i , r i , i F
Since each flight corresponds to the same static target in the evaluated SAR-DAG setting, R F provides richer multi-view geometric constraints than R s . The Global Context Ray Aggregation module replaces the local ray set with the flight-level ray set when estimating the final target position.

2.3.3. Ray Consistency Optimization

Ray Consistency Optimization estimates a three-dimensional target hypothesis P by minimizing its perpendicular distances to multiple observation rays. For the i -th ray, the perpendicular residual is defined as
d i P = I r i r i T P C i 2  
where I R 3 × 3 represents the identity matrix, and I r i r i T projects the vector P C i onto the plane perpendicular to the ray direction r i . Therefore, d i P measures the shortest distance from the candidate target point to the camera ray.
Without the Huber robust loss, the ray consistency objective is formulated as a weighted least-squares problem:
P * = a r g   m i n P [ 1 2 i R w i d i 2 ( P ) + γ 2 P 2 2 ]
where P R 3 denotes the estimated three-dimensional target position, and ‖⋅‖ 2 signifies the standard L 2 norm. R denotes either the sequence-level ray set R s or the flight-level ray set R F , depending on whether Global Context Ray Aggregation is enabled. The weight w i reflects the observation quality associated with the bounding box, and γ represents the Tikhonov regularization coefficient used to improve numerical stability.

2.3.4. Huber Robust Loss and Terrain-Constrained Output

Although Ray Consistency Optimization improves localization by jointly fitting multiple rays, ordinary least-squares fitting can still be affected by inconsistent rays. Therefore, the Huber Robust Loss is introduced to reduce the influence of large-residual observations. For the residual d i P , the Huber loss is defined as
ρ δ d i = 1 2 d i 2 , d i δ δ d i 1 2 δ 2 , d i > δ
The robust ray consistency objective is then written as
P * = a r g   m i n P [ i R w i ρ δ d i P + γ 2 P 2 2 ]
where ρ δ represents the Huber robust loss function, and δ denotes the threshold hyperparameter that differentiates inlier observations from outlier ray residuals.
To ensure full reproducibility, the inherently non-linear Huber-based objective function in Equation (24) is optimized using the Iteratively Reweighted Least Squares (IRLS) algorithm. First, the IRLS optimization is triggered only when a minimum of 3 valid camera rays are successfully generated; otherwise, the system robustly defaults to the spatial median of the independent DEM raycast intersections. To prevent divergence caused by severe outliers or near-parallel rays during UAV hovering, the optimization is initialized with a robust warm start, P 0 , defined as the spatial median of the valid DEM intersections. Furthermore, a hard spatial boundary constraint is enforced during iteration: if the horizontal position update shifts by more than 25.0 m from the initial median, the step is dynamically clipped.
Second, the objective function in Equation (24) employs a dynamic-static composite weighting strategy at step k , where the overall weight w i k is formulated as the product of a static observation quality weight q i and a dynamic robust factor α i k . The dynamic factor α i k is computed at the k -th iteration based on the perpendicular residual distance d i k 1 between the i -th camera ray and the previous spatial estimate P k 1 , defined as follows:
α i k = 1 , if   d i k 1 δ δ d i k 1 , if   d i k 1 > δ
where δ = 3.0 m denotes the empirical Huber robust threshold aligning with nominal civilian UAV GNSS errors. When d i k 1 > δ , α i k smoothly transitions the loss from quadratic L 2 to linear L 1 , dynamically suppressing the influence of large-residual outlier rays.
Concurrently, the static observation quality weight q i remains invariant across iterations and models heteroscedastic frame-level measurement noise according to:
q i = | r i , z | d i 1 + ϵ p l a t f o r m + ϵ v i s u a l
where d i represents the camera-to-target slant distance, and | r i , z | is the absolute vertical component of the unit ray direction, effectively reducing the weight of shallow incident angles. The terms ϵ p l a t f o r m and ϵ v i s u a l denote the aggregated angular uncertainties (in radians) derived from the UAV platform attitude fluctuations (roll, pitch, yaw) and the bounding box center perturbations, respectively. This rigorous formulation heavily penalizes distant, severely tilted, or highly vibrating visual observations, thereby preventing the geometric ‘lever-arm’ amplification of projection errors.
Finally, the optimization iterates until the spatial update is less than 10 4 m or reaches a maximum of 8 iterations. To counteract the weak vertical geometric constraint typical of aerial downward views, the Z-axis coordinate of the optimized 3D point is explicitly decoupled. After obtaining the optimized horizontal position, the target height h * is fixed to the median elevation of the valid DEM-based raycast intersections. Since the DEM used in practical UAV-SAR localization may have limited spatial accuracy, this height constraint is applied only as a fixed terrain-consistent output step rather than as an independent optimization module. This design reduces the dependence on any single ray–terrain intersection while preventing the optimized point from drifting unrealistically above or below the terrain surface. The final geographic target position is expressed as
P g e o = ϕ , λ , h *
where ϕ and λ denote the predicted latitude and longitude coordinates, respectively, and h * represents the previously defined median terrain elevation.

3. Experimental Results and Discussion

3.1. Datasets and Implementation Details

In complex disaster environments, a single visible-light sensor often fails perceptually due to abrupt illumination changes. To evaluate the robustness of the proposed multi-modal fusion system, this study adopts the VTSaR [35] dataset as the experimental benchmark. This high-altitude reconnaissance dataset provides strict spatiotemporal alignment between visible-light and infrared modalities based on a dual-sensor gimbal, and its hardware-level registration ensures multi-sensor spatial errors are eliminated, offering reliable data support for cross-modal feature fusion. In addition, VTSaR covers complex outdoor environments with varying conditions such as vegetation occlusion and low illumination, with annotations specifically focusing on trapped individuals, thereby objectively reflecting the physical constraints of real SAR operations. Validation on this dataset therefore directly reflects the model’s environmental adaptability for delivering reliable perception under low-visibility emergency scenarios.
The Multi-scenario Multi-Modality Benchmark (M3FD) [36] is utilized to evaluate multi-modal perception systems under complex weather conditions. The dataset contains 4200 pairs of pixel-level aligned RGB–IR images, covering various scenarios such as daytime, overcast conditions, nighttime, and real fog, and annotates six categories, including pedestrians and vehicles. Benefiting from this rigorous alignment, the feature-complementarity effectiveness of dual-light fusion algorithms under varying illumination and thermal radiation conditions can be systematically quantified, thereby providing an objective evaluation basis for the perceptual robustness of unmanned rescue or patrol platforms under adverse weather conditions.
The SAR-DAG_raycast dataset [37] was used to evaluate target-level geographic localization. The dataset provides UAV flight records, target bounding-box annotations, ground-truth geographic coordinates, GPS measurements, flight attitude, gimbal metadata, camera information, and DEM terrain data. After excluding combined CSV files that duplicated individually recorded flights, the evaluation subset comprised seven flights, 16 temporally continuous sequences, and 154 evaluated frames. A new sequence was initiated when the temporal gap between two consecutive valid frames exceeded 3.5 s. RGB images paired with the corresponding DR-AVIT-derived infrared representations were utilized for AFC-Det inference.

3.2. Evaluation of Multispectral Target Detection

The experiments were conducted on a Linux Ubuntu 22.04 operating system with an NVIDIA RTX 3090 GPU (NVIDIA Corporation, Santa Clara, CA, USA) equipped with 24 GB of memory. The programming language used was Python 3.10, and the deep learning framework was PyTorch 2.1.2 with CUDA 11.8. The main training parameters are listed in Table 1.
The evaluation subset encompassed seven flights targeting six distinct ground-truth locations. During testing, all 154 evaluated frames successfully generated valid DEM-intersecting rays, achieving a 100.0% valid-ray rate. For metric ray generation and multi-ray optimization, geographic latitude and longitude measurements were converted into a local East-North-Up coordinate frame. Detailed statistics regarding flight geometry, target distances, and specific DEM configurations are summarized in Table 2.

3.2.1. Comparison with State-of-the-Art Methods

To comprehensively evaluate the detection performance of AFC-Det in complex SAR scenarios, this study compares it with several multi-modal detection methods, including YOLOv11-RGBT, DAMSDet, DEYOLO, QFDet, and COXNet, on the VTSaR dataset. As shown in Table 3 and Figure 7, AFC-Det achieves superior performance in detection accuracy, small-object perception capability, and lightweight architectural efficiency. To ensure a fair evaluation, the detection models were retrained on the VTSaR dataset using their official implementations. Instead of relying on pre-published weights, we initialized all models with COCO pre-trained weights and standardized the training environment. Every model shared a 640 × 640 input resolution, a 300–epoch schedule, and an effective batch size of 32, utilizing gradient accumulation to satisfy GPU memory constraints.
We applied an identical data augmentation pipeline across all configurations. This included a 1.0 probability for Mosaic, 0.1 for MixUp, 0.5 for random horizontal flip, and HSV color jittering with hue, saturation, and value thresholds of 0.015, 0.7, and 0.4, respectively. To ensure optimal convergence, we retained each model’s default optimization recipe alongside all other unspecified hyperparameters strictly according to their original official configurations. All experiments were conducted on a single NVIDIA GeForce RTX 3090 GPU.
To address concerns regarding the relatively incremental performance margins over recent baselines and to rigorously evaluate the statistical consistency of our framework, we conducted multiple independent training and evaluation trials across five distinct random seeds, namely seeds 42, 43, 44, 45, and 46. The quantitative results are reported in a unified deviation format. In this notation, the primary value represents the benchmark performance under seed 42, with upper and lower offsets indicating the maximum and minimum deviations across all five trials. This multi-run evaluation transparently illustrates the operational bounds of each network and confirms that the advantages of AFC-Det remain highly consistent and reproducible against stochastic optimization noise.
In terms of overall detection performance, AFC-Det attains an AP of 45.4%, achieving comparable accuracy to the highly competitive YOLOv11-RGBT baseline at 45.1%, as this marginal difference lies within the observed seed-to-seed variation. However, AFC-Det demonstrates a clear and statistically significant advantage under stricter evaluation criteria. Specifically, under the high IoU threshold, AFC-Det achieves an AP75 of 33.7%, outperforming YOLOv11-RGBT by a substantial margin of 2.3 percentage points, demonstrating superior bounding-box localization capability. This improvement is primarily attributed to the cross-modal feature interaction and multi-scale feature enhancement mechanisms, which enable the model to more effectively suppress redundant noise and enhance target region representation quality under complex backgrounds.
Furthermore, while the overall mean AP remains comparable as previously discussed, the deviation bounds in Table 3 validate the statistical consistency and superior stability of AFC-Det across multiple independent trials. While YOLOv11-RGBT achieves a competitive baseline AP of 45.1%, it suffers a maximum AP drop of 0.9% across different random seeds. In contrast, AFC-Det demonstrates robust lower-bound stability, restricting its maximum AP drop to merely 0.2% alongside an upward potential of 0.8%. Moreover, its performance degradations under stricter metrics such as AP75 and APs are tightly constrained to 0.2% and 0.1% respectively. This exceptional robustness indicates that AFC-Det is highly insensitive to random initialization and optimization noise, ensuring consistently reliable perception for practical UAV deployment.
Regarding model complexity, AFC-Det demonstrates an unmatched accuracy-efficiency trade-off. It contains only 1.7M parameters and 8.0 GFLOPs, while achieving a real-time inference speed of 107.2 FPS. In contrast, DAMSDet has 79.1M parameters and 134.7 GFLOPs, with an inference speed of only 21.4 FPS, and YOLOv11-RGBT requires nearly three times the parameters, specifically 5.0M, while running at half the speed at 56.7 FPS. Therefore, AFC-Det significantly reduces model size and computational overhead while delivering clear advantages in strict localization and processing speed, demonstrating a computationally lightweight architecture that paves the way for future edge deployment on resource-constrained UAV platforms.

3.2.2. Ablation Studies and Component Analysis

To clarify the progression of our ablation studies and ensure reproducibility, we define a reference architecture. In Table 4, the Baseline represents a standard asymmetric dual-stream network. Structurally, it employs standard BasicBlock for feature extraction in both branches—where each block is a residual unit comprising two 3 × 3 convolutions and an average-pooling shortcut for downsampling. Furthermore, it fuses the multi-modal features via a simple concatenation, aggregates them utilizing a standard Feature Pyramid Network (FPN) rather than our proposed HRAG-FPN, and entirely excludes the CMP module. This baseline serves to validate the incremental contributions of our proposed components.
To verify the independent contributions and synergistic effects of each core module, module ablation experiments were conducted under a unified experimental setting, and the results are shown in Table 4 and Figure 8. The Baseline achieved AP, AP75, and APs values of 42.2, 26.5, and 41.1, respectively, with 2.89 M parameters and 9.4 GFLOPs.
First, introducing CMP alone marginally increased parameters to 2.95M and GFLOPs to 9.9, while boosting AP, APs, and APm to 42.8, 41.7, and 51.6, respectively. These results demonstrate that CMP can enhance cross-modal feature interaction at a small computational cost, particularly improving the semantic representation of medium-scale objects. Alternatively, solely applying HRAG-FPN raised AP to 44.5, alongside significant improvements in AP75 and APs, showing that the high-resolution anchored multi-scale aggregation structure can effectively improve small-object feature representation and boundary localization capability. In contrast, replacing only the feature encoding block with our lightweight design substantially reduced parameters to 1.35M and GFLOPs to 7.1, though AP slightly dropped to 41.5. This suggests that the lightweight encoding block can substantially reduce model complexity, yet still requires the assistance of cross-modal calibration and multi-scale aggregation modules when used alone.
The dual-module combination experiments further demonstrate clear complementarity among the modules. By combining CMP with the lightweight encoding block, the model achieved an AP of 42.7 with 1.41M parameters and 7.6 GFLOPs, showing a clear recovery over using the lightweight block alone. This indicates that cross-modal calibration can provide more stable inputs for lightweight feature extraction. Coupling CMP and HRAG-FPN yielded 44.9 AP, but at a relatively high computational overhead of 3.55M parameters and 11.4 GFLOPs. Conversely, pairing the lightweight encoding block with HRAG-FPN matched the 44.9 AP while maintaining an efficient 1.59M parameters and 7.5 GFLOPs, alongside superior AP75 and APs scores. This indicates good compatibility between lightweight feature extraction and high-resolution multi-scale aggregation.
Finally, the complete AFC-Det integrates CMP, HRAG-FPN, and the lightweight modality-specific encoding block, achieving the best overall performance. Compared with the Baseline, AFC-Det improves AP, AP75, and APs to 45.4, 33.7, and 44.7, corresponding to relative gains of 7.6 percent, 27.2 percent, and 8.8 percent, respectively. Meanwhile, it requires only 1.65M parameters and 8.0 GFLOPs, successfully surpassing the baseline efficiency. These results confirm that AFC-Det effectively reduces model complexity while improving detection accuracy and small-object localization capability, validating the effectiveness of the synergistic design of cross-modal calibration, multi-scale aggregation, and lightweight feature encoding.
In Table 5, the goal is specifically to isolate and evaluate the effectiveness of our modality-specific lightweight feature extractors (StarBlock and LSBlockS). Therefore, the BasicBlock Variant in Table 5 is actually the complete architecture including both the CMP and HRAG-FPN modules, but utilizing the aforementioned standard BasicBlocks instead of our proposed lightweight blocks. This setting corresponds exactly to the + C + H variant in Table 4.
As shown in Group A of Table 5, when both branches adopt BasicBlock, the model achieves an AP of 44.9 and an AP75 of 30.9. However, this conventional convolutional stacking exhibits relatively evident computational redundancy, requiring 3.551M parameters and 11.4 GFLOPs.
Introducing StarBlock solely into the RGB branch marginally reduces parameters to 2.579M and GFLOPs to 9.1 while improving AP75 to 31.3 and APm to 52.0. This indicates enhanced structural and texture representation for the visible-light branch at a lower computational overhead. Conversely, applying LSBlockS exclusively to the Thermal branch further reduces parameters to 2.263M but degrades AP, AP75, and APs to 44.2, 28.9, and 43.3 respectively. This performance drop occurs because infrared images lack clear boundaries, meaning the thermal-response selection of LSBlockS strictly requires complementary structural priors from the RGB branch to achieve stable gains.
Applying StarBlock and LSBlockS simultaneously yields the best overall performance. Compared with the BasicBlock Variant, this standard configuration slashes parameters by 53.5 percent and GFLOPs by 29.8 percent, while boosting AP, AP75, and APs to 45.4, 33.7, and 44.7 respectively. These results confirm their strong cross-modal complementarity. StarBlock enhances spatial-structure representation in the RGB branch, whereas LSBlockS suppresses background thermal noise in the Thermal branch, collectively improving high-IoU localization and small-object detection with significantly reduced computational cost.
Furthermore, Group B compares different structural variants of LSBlockS. The expanded version increases parameters to 2.036M and GFLOPs to 9.4 but drops AP75 to 30.1, indicating that simply increasing channel capacity introduces redundant features and weakens localization stability. The residual version maintains the baseline computational cost but decreases AP and AP75, suggesting that modifying only the information propagation path is insufficient. Moreover, the combined residual and expanded version incurs higher computational overhead without surpassing the overall AP and APs of the standard LSBlockS. Therefore, the standard LSBlockS design achieves the optimal balance among accuracy, efficiency, and small-object representation.
To analyze the effect of CMP at different network stages, this study configured three intervention strategies—late, mid, and early—on the same lightweight benchmark network. The CMP module structure remained consistent across all variants, with only the embedding position altered. Specifically, late intervention denotes embedding CMP at the high-level semantic stage, mid intervention denotes embedding CMP at the intermediate feature stage, and early intervention denotes embedding CMP at the shallow high-resolution feature stage. The experimental results are shown in Table 6.
The quantitative results indicate that the timing of CMP intervention has a clear impact on detection performance. CMP-EARLY achieves the best overall results, with AP, AP50, AP75, APs, APm, and F1 reaching 42.8, 95.1, 26.0, 41.7, 51.6, and 94.5, respectively. Compared with CMP-LATE, CMP-EARLY improves AP by 1.8 percentage points, APs by 1.6 percentage points, APm by 1.8 percentage points, and F1 by 2.0 percentage points. Meanwhile, the parameter count increases only slightly from 2.92M to 2.95M, and the computational cost increases from 9.7 to 9.9 GFLOPs, indicating that early CMP intervention brings consistent performance gains with only minimal additional overhead. CMP-MID performs between CMP-LATE and CMP-EARLY, suggesting that earlier cross-modal calibration is more effective for enhancing feature representation.
Figure 9 illustrates the feature responses arranged by different scenarios and model configurations. The figure is divided into a water surface scene on the left and a night scene on the right. For both scenes, the upper row displays the feature responses without the CMP module at the P3 level, which corresponds to mid-stage or late-stage fusion, while the lower row shows the responses after introducing the CMP module at the P3 level. Within each scene, the columns sequentially show the original RGB image (a) and (d), the isolated attention heatmap (b) and (e), and the heatmap superimposed onto the RGB image (c) and (f). A color bar is provided on the far right to indicate the normalized activation intensity from low to high. When CMP is not introduced at the P3 level, the feature responses are relatively scattered and noticeable background activations remain in cluttered regions. This indicates that delayed cross-modal fusion is insufficient to fully suppress modality-specific noise and spatial response inconsistency accumulated during downsampling. In contrast, after introducing CMP at the P3 level, the target regions exhibit more compact and prominent activations, while redundant background responses are clearly reduced. This demonstrates that early cross-modal prompting at the high-resolution feature stage can better exploit infrared thermal saliency and visible structural details before fine spatial information is lost. Consequently, CMP-EARLY provides cleaner and more discriminative multi-modal features for subsequent pyramid aggregation and detection.
In summary, because early intervention achieves superior performance with minimal additional overhead, it is adopted as the default configuration in the final AFC-Det model. This confirms that introducing cross-modal prompting at the shallow high-resolution stage effectively suppresses early noise and preserves complementary RGB-IR cues for small-target detection.
To further validate the role of HRAG-FPN in multi-scale feature aggregation, this study performs a heatmap visualization comparison between the model without HRAG-FPN and the complete AFC-Det. Following the same visual arrangement as Figure 9, Figure 10 evaluates the impact of the HRAG-FPN module, displaying the feature responses before and after its integration. The left side depicts a water surface scene, while the right side shows a wild shrubland scene. Without HRAG-FPN, the model’s target responses are relatively dispersed, and small-scale, low-SNR target regions exhibit weak activation. This demonstrates that relying solely on local feature calibration is insufficient for fully capturing tiny targets in complex scenarios.
In contrast, after introducing HRAG-FPN, the heatmap responses in target regions become more concentrated, redundant activations in background regions are reduced, and both small and medium-scale targets exhibit clearer response distributions. This demonstrates that HRAG-FPN can strengthen the interaction between shallow spatial details and deep semantic information through high-resolution anchored aggregation and bottom-up detail feedback, thereby improving small-object feature representation and boundary localization capability.
The visualization results align with the quantitative experiments. After introducing HRAG-FPN, the model achieves clear improvements in AP, AP75, and APs, confirming that this module not only enhances multi-scale target responses but also helps reduce missed detections under complex backgrounds. Therefore, HRAG-FPN contributes positively to improving the completeness of small-object detection by AFC-Det in UAV-SAR scenarios.

3.2.3. Generalization Capability on the M3FD Dataset

To ensure a rigorous and fair evaluation of cross-dataset generalization, all compared networks alongside the proposed AFC-Det were initialized with COCO pre-trained weights and independently trained on the M3FD dataset. The training setup on M3FD strictly adopted identical hyperparameter configurations, optimization strategies, learning rate schedules, and data augmentation recipes as those used in the main VTSaR experiments. This standardized protocol guarantees that the cross-dataset evaluation metrics objectively reflect the architectural generalization and multi-scenario adaptability of each framework across distinct multi-modal data distributions under uniform optimization conditions.
The generalization experiment results on the M3FD dataset are shown in Table 7. AFC-Det achieves the best overall performance in cross-dataset testing, with AP, AP50, and AP75 reaching 54.6%, 86.1%, and 56.8%, respectively, all outperforming the competing methods. Compared with YOLOv11-RGBT, AFC-Det improves AP by 3.0%, AP50 by 3.0%, and AP75 by 2.1%, indicating that the proposed method is not only effective on the original SAR dataset but also demonstrates strong generalization capability on more complex multi-scenario RGB–IR datasets.
In terms of model complexity, AFC-Det contains only 1.7M parameters and 8.0 GFLOPs, significantly lower than YOLOv11-RGBT, DEYOLO, DAMSDet, QFDet, and COXNet. Although DAMSDet, QFDet, and COXNet have larger model sizes and computational costs, their detection performance is noticeably lower than that of AFC-Det, demonstrating that simply increasing network capacity does not effectively enhance cross-scenario multi-modal detection performance. This validates the superior efficiency of our cross-modal feature modeling and lightweight structural design.
Overall, these M3FD results highlight the strong multi-scenario adaptability of AFC-Det, confirming its potential for robust deployment on resource-constrained UAV perception platforms without relying on a single dataset distribution.

3.3. Performance Assessment of UAV-Assisted Localization

While the detection frontend AFC-Det was rigorously benchmarked on the large-scale VTSaR dataset to ensure robust statistical evaluation, such public datasets typically lack the synchronized, high-precision UAV telemetry and localized DEM data required for precise 3D geometric localization. Consequently, to validate the overall pipeline, we conducted sequential system evaluations on our custom real-world flight sequences, such as Vis_let1 and polje, which represent typical SAR scenarios.
In these evaluations, raw UAV imagery was first processed by pre-trained AFC-Det to generate bounding box predictions that inherently carry real-world detection noise and sub-pixel jitter. The predictions were then fed directly into the GCR-HRCO backend to compute final 3D geographic coordinates. The robust localization accuracy of these coupled experiments demonstrates the practical viability of our full perception-to-localization pipeline in actual field deployments.
In the localization experiments, the DEM provided by the SAR-DAG_raycast dataset serves as the terrain prior for ray-constrained geographic positioning. This setting assesses the proposed method under a practical UAV-SAR deployment condition, where target localization depends on available terrain information rather than specially surveyed high-resolution elevation data. Since the proposed GCR-HRCO estimates target positions through multi-ray geometric consistency and uses DEM intersections mainly for terrain-constrained height stabilization, the experiment centers on whether the method can yield stable geographic outputs from AFC-Det detections and UAV metadata.
Specifically, the target image points were obtained directly from the bounding boxes predicted by AFC-Det. Each predicted target was converted into a camera ray using the corresponding UAV GPS position, camera parameters, flight attitude, and gimbal metadata. The generated rays were then intersected with DEM terrain to estimate target geographic coordinates. The ablation study included three independent modules, namely Global Context Ray Aggregation (G), Ray Consistency Optimization (R), and Huber Robust Loss (H), resulting in eight combinations. DEM-based terrain-constrained output was used as a fixed post-processing step for all settings. For ray–terrain intersection, the maximum raycasting range was set to 5000 m, the coarse search step to 1.0 m, and the bisection iteration number to 30. In multi-ray optimization, at least three rays were required, the Iteratively Reweighted Least Squares (IRLS) iteration number was set to 8, the Huber threshold was set to 3.0 m, and the regularization coefficient was set to 1 × 10 6 .

3.3.1. Quantitative Analysis of Localization Accuracy

To evaluate the contributions of different localization modules, ablation experiments were conducted using AFC-Det predicted bounding boxes as the visual input. As shown in Table 8, the baseline setting without global context aggregation, ray consistency optimization, or Huber robust loss yielded a mean error of 6.85 m and a root mean square error, denoted as RMSE, of 8.16 m. This indicates that simple short-sequence ray averaging is highly sensitive to detection noise and unstable viewpoints. While introducing individual modules improved accuracy to varying degrees, the combination of global context aggregation and ray consistency optimization produced the most significant dual-module improvement, drastically reducing both mean error and RMSE.
Integrating all three components achieved the best overall performance. Compared with the baseline, the mean error and RMSE were reduced by 51.7% and 46.9% respectively, alongside significant drops across all percentile error metrics including P90 and P95. These results confirm that global context aggregation expands the observation range, ray consistency optimization strengthens multi-ray geometric constraints, and the Huber robust loss suppresses inconsistent rays. Their synergistic combination substantially improves the accuracy and stability of UAV-SAR target localization under visual detection perturbations.
While the proposed GCR-HRCO localization backend demonstrates significant accuracy improvements, we acknowledge that the current evaluation is based on a relatively limited number of flight sequences and distinct target locations. This limitation stems from the immense difficulty of acquiring large-scale public datasets that simultaneously provide synchronized UAV telemetry, camera metadata, localized terrain models, and highly accurate geographic ground truth.
However, it is crucial to emphasize that the generalization capability of the proposed localization framework is fundamentally robust. Unlike data-driven deep learning models that are prone to overfitting to specific visual distributions, our localization backend is strictly grounded in deterministic multi-view geometry and robust mathematical optimization. Consequently, its adaptability to more diverse environments does not depend on the visual appearance or texture of the rescue scene. Instead, the system’s generalization is primarily governed by flight kinematics and geometric constraints. We expect the proposed approach to generalize seamlessly to highly diverse search and rescue scenarios provided that the UAV executes adequate lateral movement to establish multi-ray parallax and a baseline DEM is available. Future work will focus on collecting more extensive flight data across varied topographies to systematically quantify the geometric boundaries of this system.

3.3.2. Qualitative Assessment and Visualizations

To further illustrate the impact of the proposed modules on UAV-assisted localization, we provide qualitative visualizations of a representative flight sequence. As shown in Figure 11, the ground-truth target is indicated by a yellow star, and predicted localization points from different module combinations are shown in distinct colors.
The figure is locally zoomed to illustrate the spatial differences among representative estimates. The baseline G0R0H0 estimate is located farthest from the ground truth, reflecting the limitations of short-sequence ray averaging under detection perturbations. Introducing global context aggregation noticeably shifts the G1R0H0 estimate closer to the target, while adding multi-ray geometric consistency further pulls the G1R1H0 estimate toward the ground-truth position. Although the incremental effect of the Huber robust loss in the complete G1R1H1 configuration is not visually distinguishable in this specific example, the overall error statistics in Table 8 confirm its absolute quantitative superiority. These results demonstrate how the proposed components jointly improve the overall accuracy and robustness of UAV-SAR target localization.
To further evaluate the effectiveness of DEM constraints and multi-ray geometric consistency, Figure 12 visualizes the spatial distribution of raycast intersections before and after optimization. The left panel shows the raw raycast intersections generated directly from AFC-Det bounding boxes. These intersections are severely scattered around the ground-truth target due to detection deviations, viewpoint variations, and the instability of single-frame ray-terrain intersections. Conversely, the right panel presents the optimized localization result obtained by applying the complete GCR-HRCO pipeline. After optimization, the predicted location is successfully pulled toward the geometrically consistent region formed by multiple observation rays, aligning much more closely with the ground-truth target. Compared with the raw raycast intersections, this optimized result demonstrates higher stability and precision, confirming that the proposed pipeline effectively refines UAV-assisted target localization in complex SAR scenarios.
To quantitatively assess localization accuracy and robustness across different module configurations, the horizontal localization error distributions are analyzed using cumulative distribution functions (CDFs) and boxplots, as shown in Figure 13. The CDF curves in Figure 13a show that the baseline configuration (G0R0H0) converges most slowly, with a substantial proportion of samples exhibiting errors greater than 6 m. Introducing global context aggregation (G1R0H0) shifts the CDF leftward, indicating an overall reduction in localization error. With the addition of multi-ray geometric consistency, G1R1H0 further reduces the median error, and most predictions fall within 5 m. The CDF of the complete GCR-HRCO configuration (G1R1H1) largely overlaps that of G1R1H0 in the lower-error range but rises more rapidly at higher cumulative probabilities, reflecting improved upper-tail performance.
Figure 13b complements this analysis by visualizing the overall error spread under each setting. The baseline exhibits the highest median error and the broadest distribution. While global context aggregation and geometric consistency drastically reduce the median error, the complete G1R1H1 configuration uniquely achieves a lower upper whisker and tighter high-percentile bounds despite a few remaining outliers. Together with the quantitative metrics reported previously, these error distribution analyses confirm that combining all three components effectively improves average localization accuracy while enhancing robustness against inconsistent observations in complex rescue scenarios.
Table 9 compares GCR-HRCO with six conventional localization baselines under identical experimental conditions, including AFC-Det direct detection outputs, UAV metadata, DEM data, and temporal sequence partition. Each method generated one localization estimate for each of the 16 temporal sequences, and all methods achieved a valid localization rate of 100%. GCR-HRCO consistently outperformed all competitors. Compared with RANSAC multi-ray fitting, the strongest conventional baseline, GCR-HRCO reduced the mean error and RMSE by 39.1% and 33.1% respectively, achieving the lowest overall errors across all metrics. The lower P90 and P95 errors further demonstrate its improved robustness against large localization deviations.
To elucidate the physical boundaries of our vision-based localization framework, we conducted an in-depth analysis of a representative failure case within Sequence 0 from the Vis_let1 flight. Quantitative metrics from this sequence reveal a severe operational condition where the mean UAV-to-target raycast distance reached 80.31 m. Notably, the internal Ray Consistency Optimization module performed exceptionally well, successfully aggregating the camera rays and yielding a multi-ray perpendicular residual of merely 1.73 m. This low residual indicates that the extracted spatial rays intersected tightly and consistently in 3D space.
Despite this optimal internal convergence, the final absolute 3D positioning error surged to 11.91 m. A detailed decomposition of this error uncovered a stark spatial contrast: the vertical elevation error along the Z-axis was relatively constrained at 1.52 m, whereas the horizontal planar error on the XY-plane dominated at 11.81 m.
This disproportionate horizontal drift perfectly illustrates the classic geometric lever-arm effect inherent in purely vision-based systems. At an extreme projection range exceeding 80 m, even sub-pixel fluctuations in the bounding box predicted by the detection frontend translate into minute angular deviations of the optical rays. Projected over this massive lever arm onto the terrain, these micro-angular errors are geometrically magnified into massive horizontal translations. This data-driven case explicitly demonstrates that while our multi-view optimization ensures tight ray convergence, the absolute geographical accuracy remains fundamentally bounded by optical resolution limits and the geometric magnification at high altitudes.
Evaluating practical UAV deployment requires analyzing the end-to-end runtime across the complete perception-to-localization pipeline rather than evaluating the detector in isolation. While the frontend detector dominates the processing time by requiring roughly 9.3 ms per frame on a desktop NVIDIA RTX 3090 GPU, the GCR-HRCO localization backend is remarkably lightweight. Because this backend processes sparse geometric coordinates rather than dense visual tensors, its computational footprint consumes less than 1 ms on a desktop platform. To explicitly demonstrate its suitability for real-time edge processing, the localization backend was benchmarked on a highly resource-constrained 168 MHz STM32F407 microcontroller without hardware acceleration, where converging the complete spatial sequence required merely 5.3 ms. This millisecond-level efficiency guarantees that multi-view geometric optimization will not become a bottleneck even on low-power bare-metal hardware. Although the vision frontend evaluation currently relies on a desktop GPU, the proven efficiency of the localization backend confirms the architectural viability of the entire pipeline, establishing a concrete foundation for full onboard integration on edge platforms such as Jetson-class devices.
Regarding practical deployment factors, the real-world operational behavior of the system extends beyond pure computational speed. Under an online streaming mechanism, each newly captured image dynamically updates the observation queue. Consequently, a clear system-level distinction must be made between computational latency and physical kinematic accumulation time. The actual geographic output cadence is strictly governed by the physical flight time needed for the UAV to travel and establish sufficient spatial baselines. This physical data acquisition rate, rather than the algorithmic execution speed, dictates the true operational rhythm during practical edge deployment.
One limitation of this study lies in the absence of a unified UAV-assisted SAR benchmark that simultaneously provides aligned RGB–IR imagery, target detection annotations, UAV pose information, camera and gimbal parameters, DEM data, and ground-truth geographic target locations. To address this dataset gap, the proposed framework was evaluated in a staged manner. The multispectral detection model was trained and tested on visual RGB–IR datasets, while the geographic localization module was evaluated on the SAR-DAG_raycast dataset, which provides UAV metadata and geographic reference information. For AFC-Det inference on SAR-DAG_raycast, each RGB frame was paired with a spatially aligned infrared-domain representation obtained using DR-AVIT, forming the required RGB–IR input. This evaluation strategy effectively bridges the perception and localization components under existing data constraints. Nevertheless, the reported results should be regarded as a staged perception-to-localization evaluation rather than a unified end-to-end multispectral UAV benchmark.
Another limitation is that only coarse-resolution DEM data were available for the SAR-DAG_raycast localization experiments. Although this setting represents practical UAV-SAR conditions, where high-resolution DEMs are often difficult to obtain in remote or disaster-affected areas, it prevents a systematic sensitivity analysis comparing coarse and high-precision terrain models. Future work will focus on constructing or collecting a unified RGB–IR UAV-SAR dataset with complete detection, pose, terrain, and geographic annotations, and will further evaluate the sensitivity of the proposed GCR-HRCO framework to DEM resolution and terrain data quality.
Additionally, it should be noted that the current performance evaluation represents an offline software validation rather than an onboard deployment. The reported inference speed and system latency were measured on a desktop-class NVIDIA RTX 3090 GPU, which possesses computing power and memory bandwidth vastly exceeding those of typical resource-constrained UAV payloads. Although the proposed framework demonstrates highly promising lightweight theoretical metrics, including a reduced parameter count and low GFLOPs, these results serve as a preliminary validation of our architectural efficiency. Consequently, translating these theoretical advantages into practical edge performance requires dedicated hardware acceleration, and conducting rigorous onboard real-time validation on representative embedded hardware remains a primary objective for our future work.

4. Conclusions

This paper proposes a unified perception-to-localization framework for UAV-assisted SAR. The proposed framework couples lightweight RGB-IR small-target detection with DEM-constrained ray consistency localization, enabling the robust and efficient conversion of detected targets into geographic coordinates. In the perception stage, AFC-Det improves the reliability of small-target visual observations by leveraging complementary RGB structural cues and infrared thermal saliency. In the localization stage, GCR-HRCO enhances target-level geolocation by aggregating flight-level rays and enforcing multi-ray geometric consistency under terrain constraints. Experiments on VTSaR and M3FD validate the accuracy and efficiency of the proposed multispectral detector, while localization results on SAR-DAG_raycast under the constructed RGB-IR input setting show that the localization pipeline reduces the mean horizontal error from 6.85 m to 3.31 m and the RMSE from 8.16 m to 4.33 m. These results confirm that this method offers an effective and practical solution for UAV-assisted SAR perception and geographic localization in complex outdoor environments.
Future work will extend the proposed framework in several directions. First, a unified multispectral UAV-SAR dataset will be constructed to support end-to-end evaluation, including aligned RGB-IR imagery, detection annotations, UAV pose information, camera and gimbal parameters, DEM data, and ground-truth geographic target locations. Second, DEMs with different spatial resolutions and accuracy levels will be introduced to systematically evaluate the influence of terrain data quality on GCR-HRCO. Third, more challenging SAR conditions, such as moving targets, steep terrain, dense canopy, urban occlusions, and UAV pose or gimbal uncertainties, will be considered to further improve the robustness and practical applicability of target-level geographic localization.

Author Contributions

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

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on demand from the corresponding author at (zcs@sdust.edu.cn).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Zhang, X.; Feng, Y.; Wang, N.; Lu, G.; Mei, S. Aerial person detection for search and rescue. J. Remote Sens. 2023, 5, 0474. [Google Scholar] [CrossRef]
  2. Quero, C.O.; Martinez-Carranza, J. Unmanned aerial systems in search and rescue. Int. J. Disaster Risk Reduct. 2025, 118, 105199. [Google Scholar] [CrossRef]
  3. Wu, X.; Li, W.; Hong, D.; Tao, R.; Du, Q. Deep learning for unmanned aerial vehicle-based object detection and tracking. IEEE Geosci. Remote Sens. Mag. 2022, 10, 91–124. [Google Scholar] [CrossRef]
  4. Leng, J.; Ye, Y.; Mo, M.; Gao, X.; Gan, C.; Xiao, B.; Gao, X. Recent advances for aerial object detection. ACM Comput. Surv. 2024, 56, 296. [Google Scholar] [CrossRef]
  5. Liu, Z.; Lin, Y.; Cao, Y.; Hu, H.; Wei, Y.; Zhang, Z.; Lin, S.; Guo, B. Swin Transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021; pp. 9992–10002. [Google Scholar] [CrossRef]
  6. Zhu, X.; Su, W.; Lu, L.; Li, B.; Wang, X.; Dai, J. Deformable DETR: End-to-end object detection with deformable transformers. arXiv 2020, arXiv:2010.04159. [Google Scholar]
  7. Zhang, H.; Li, F.; Liu, S.; Li, X.; Li, Y.; Wang, X. DINO: DETR with improved denoising anchor boxes. arXiv 2022, arXiv:2203.03605. [Google Scholar]
  8. Lv, W.; Xu, S.; Zhao, Y.; Wang, Z.; Yu, J. DETRs beat YOLOs on real-time object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 17–21 June 2023; pp. 16965–16974. [Google Scholar] [CrossRef]
  9. Wang, A.; Chen, H.; Liu, L.; Chen, K.; Lin, Z. YOLOv10: Real-time end-to-end object detection. arXiv 2024, arXiv:2405.14458. [Google Scholar]
  10. Tan, M.; Pang, R. EfficientDet: Scalable and efficient object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 16–20 June 2019; pp. 10778–10787. [Google Scholar] [CrossRef]
  11. Yang, C.; Huang, Z.; Wang, N. QueryDet: Cascaded sparse query for accelerating high-resolution small object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 20–25 June 2021; pp. 13658–13667. [Google Scholar] [CrossRef]
  12. Huang, Y.; Chen, J.; Huang, D. UFPMP-Det: Toward accurate and efficient object detection on drone imagery. arXiv 2021, arXiv:2108.03324. [Google Scholar]
  13. Du, B.; Huang, Y.; Chen, J.; Huang, D. Adaptive sparse convolution networks with global context enhancement for faster object detection on drone images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 17–21 June 2023; pp. 13435–13444. [Google Scholar] [CrossRef]
  14. Cheng, G.; Yan, H.; Yao, X.; Li, K.; Han, J. Towards large-scale small object detection: Survey and benchmarks. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 13467–13488. [Google Scholar] [CrossRef] [PubMed]
  15. Han, J.; Ding, J.; Xue, N.; Xia, G. ReDet: A rotation-equivariant detector for aerial object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 20–25 June 2021; pp. 2785–2794. [Google Scholar] [CrossRef]
  16. Xie, X.; Cheng, G.; Wang, J.; Yao, K.; Han, J. Oriented R-CNN for object detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021; pp. 3500–3509. [Google Scholar] [CrossRef]
  17. Kim, J.U.; Park, S.; Ro, Y.M. Uncertainty-guided cross-modal learning for robust multispectral pedestrian detection. IEEE Trans. Circuits Syst. Video Technol. 2022, 32, 1510–1523. [Google Scholar] [CrossRef]
  18. Kim, J.U.; Park, S.; Ro, Y.M. Robust small-scale pedestrian detection with cued recall via memory learning. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021; pp. 3030–3039. [Google Scholar] [CrossRef]
  19. Sun, Y.; Cao, B.; Zhu, P.; Hu, Q. Drone-based RGB-infrared cross-modality vehicle detection via uncertainty-aware learning. IEEE Trans. Circuits Syst. Video Technol. 2022, 32, 6700–6713. [Google Scholar] [CrossRef]
  20. Zhang, Y.; Li, X.; Liu, H.; Wang, H.; Chen, X. Drone-based RGBT tiny person detection. ISPRS J. Photogramm. Remote Sens. 2023, 204, 61–76. [Google Scholar] [CrossRef]
  21. Luo, M.; Li, Z.; Zhao, J.; Wang, Y. IM-CMDet: An intramodal enhancement and cross-modal fusion network for small object detection in UAV aerial visible-infrared imagery. IEEE Trans. Geosci. Remote Sens. 2025, 63, 1–16. [Google Scholar] [CrossRef]
  22. He, X.; Tang, C.; Zou, X.; Zhang, W. Multispectral object detection via cross-modal conflict-aware learning. In Proceedings of the 31st ACM International Conference on Multimedia, Ottawa, ON, Canada, 29 October–3 November 2023; pp. 1465–1474. [Google Scholar] [CrossRef]
  23. Kim, T.; Lee, J.; Park, H.; Park, J. MSCoTDet: Language-driven multi-modal fusion for improved multispectral pedestrian detection. IEEE Trans. Circuits Syst. Video Technol. 2025, 35, 5006–5021. [Google Scholar] [CrossRef]
  24. Jang, J.; Park, C.; Kim, H.; Lee, J.; Paik, J. Multispectral object detection enhanced by cross-modal information complementary and cosine similarity channel resampling modules. In Proceedings of the IEEE Winter Conference on Applications of Computer Vision (WACV), Waikoloa, HI, USA, 3–7 January 2025; pp. 9437–9446. [Google Scholar] [CrossRef]
  25. Zhang, P.; Wang, H.; Chen, Z.; Liu, Q. Visible-thermal UAV tracking: A large-scale benchmark and new baseline. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 8876–8885. [Google Scholar] [CrossRef]
  26. Qin, H.; Zhou, Y.; Wu, J.; Yang, M. MUST: The first dataset and unified framework for multispectral UAV single object tracking. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 10–14 June 2025; pp. 16882–16891. [Google Scholar] [CrossRef]
  27. Chen, S.; Wu, X.; Mueller, M.W. Real-time geo-localization using satellite imagery and topography. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Prague, Czech Republic, 27 September–1 October 2021; pp. 2275–2281. [Google Scholar] [CrossRef]
  28. Chen, Y.; Jiang, J. An oblique-robust absolute visual localization method for GPS-denied UAV. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5601713. [Google Scholar] [CrossRef]
  29. Wu, R.; Li, S.; Zhang, L.; Wang, Y. UAVD4L: A large-scale dataset for UAV 6-DoF localization. In Proceedings of the International Conference on 3D Vision (3DV), Davos, Switzerland, 11–14 December 2024; pp. 1574–1583. [Google Scholar] [CrossRef]
  30. Zheng, Z.; Wei, Y.; Yang, Y. University-1652: A multi-view multi-source benchmark for drone-based geo-localization. In Proceedings of the 28th ACM International Conference on Multimedia, Seattle, WA, USA, 12–16 October 2020; pp. 1395–1403. [Google Scholar] [CrossRef]
  31. Zhu, S.; Shah, M. TransGeo: Transformer is all you need for cross-view geo-localization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 1152–1161. [Google Scholar] [CrossRef]
  32. Yang, H.; Lu, X. Cross-view geo-localization with layer-to-layer transformer. Adv. Neural Inf. Process. Syst. (NeurIPS) 2021, 34, 2222. [Google Scholar]
  33. Deuser, F.; Habel, K.; Oswald, N. Sample4Geo: Hard negative sampling for cross-view geo-localisation. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France, 2–6 October 2023; pp. 16801–16810. [Google Scholar] [CrossRef]
  34. Zhang, X.; Li, Y.; Wang, Z.; Liu, X. GeoDTR+: Toward generic cross-view geolocalization via geometric disentanglement. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 10419–10433. [Google Scholar] [CrossRef] [PubMed]
  35. Zhang, X.; Feng, Y.; Zhang, S.; Wang, N.; Lu, G.; Mei, S. Robust Aerial Person Detection With Lightweight Distillation Network for Edge Deployment. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5630616. [Google Scholar] [CrossRef]
  36. Liu, J.; Fan, X.; Huang, Z.; Wu, G.; Liu, R.; Zhong, W.; Luo, Z. Target-aware Dual Adversarial Learning and a Multi-scenario Multi-Modality Benchmark to Fuse Infrared and Visible for Object Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 5802–5811. [Google Scholar]
  37. Paulin, G.; Sambolek, S.; Ivasic-Kos, M. Application of raycast method for person geolocalization and distance determination using UAV images in Real-World land search and rescue scenarios. Expert Syst. Appl. 2024, 237, 121495. [Google Scholar] [CrossRef]
  38. Wan, D.; Lu, R.; Fang, Y. YOLOv11-RGBT: Towards a comprehensive single-stage multispectral object detection framework. arXiv 2025, arXiv:2506.14696. [Google Scholar]
  39. Guo, J.; Gao, C.; Liu, F. DAMSDet: Dynamic adaptive multispectral detection transformer with competitive query selection and adaptive feature fusion. In Proceedings of the European Conference on Computer Vision (ECCV); Springer: Berlin/Heidelberg, Germany, 2024. [Google Scholar]
  40. Chen, Y.; Wang, B.; Guo, X. DEYOLO: Dual-feature-enhancement YOLO for cross-modality object detection. In Proceedings of the International Conference on Pattern Recognition (ICPR); Springer: Berlin/Heidelberg, Germany, 2024. [Google Scholar]
  41. Peng, P.; Xu, T.; Song, L. COXNet: Cross-layer fusion with adaptive alignment and scale integration for RGBT tiny object detection. IEEE Trans. Circuits Syst. Video Technol. 2026, 36, 596–608. [Google Scholar] [CrossRef]
Figure 1. Integrated detection and localization framework.
Figure 1. Integrated detection and localization framework.
Sensors 26 04975 g001
Figure 2. AFC-Det network structure.
Figure 2. AFC-Det network structure.
Sensors 26 04975 g002
Figure 3. Illustration of the LSBlockS module.
Figure 3. Illustration of the LSBlockS module.
Sensors 26 04975 g003
Figure 4. Illustration of the CMP module.
Figure 4. Illustration of the CMP module.
Sensors 26 04975 g004
Figure 5. Illustration of the HRAG-FPN module.
Figure 5. Illustration of the HRAG-FPN module.
Sensors 26 04975 g005
Figure 6. Illustration of the overall architecture of the proposed localization framework.
Figure 6. Illustration of the overall architecture of the proposed localization framework.
Sensors 26 04975 g006
Figure 7. Performance comparison with state-of-the-art methods on the VTSaR dataset.
Figure 7. Performance comparison with state-of-the-art methods on the VTSaR dataset.
Sensors 26 04975 g007
Figure 8. Ablation study of AFC-Det on the VTSaR dataset.
Figure 8. Ablation study of AFC-Det on the VTSaR dataset.
Sensors 26 04975 g008
Figure 9. Heatmap visualization of CMP intervention at different feature stages.
Figure 9. Heatmap visualization of CMP intervention at different feature stages.
Sensors 26 04975 g009
Figure 10. Heatmap visualization of feature responses with and without HRAG-FPN.
Figure 10. Heatmap visualization of feature responses with and without HRAG-FPN.
Sensors 26 04975 g010
Figure 11. Geographic visualization of UAV-assisted localization under different GCR-HRCO module configurations. The zoomed-in local plot displays a spatial region with an axis range of 0–3 m relative to the ground-truth target. The green point G1R1H0 overlaps with G1R1H1 and is visually obscured.
Figure 11. Geographic visualization of UAV-assisted localization under different GCR-HRCO module configurations. The zoomed-in local plot displays a spatial region with an axis range of 0–3 m relative to the ground-truth target. The green point G1R1H0 overlaps with G1R1H1 and is visually obscured.
Sensors 26 04975 g011
Figure 12. Ray-consistency analysis before and after GCR-HRCO optimization.
Figure 12. Ray-consistency analysis before and after GCR-HRCO optimization.
Sensors 26 04975 g012
Figure 13. Horizontal localization error distributions under different GCR-HRCO ablation settings.
Figure 13. Horizontal localization error distributions under different GCR-HRCO ablation settings.
Sensors 26 04975 g013
Table 1. Parameter setting.
Table 1. Parameter setting.
Parameter Value
Image size640 × 640
Epochs300
Batch size32
OptimizerSGD
Initial learning rate0.01
Momentum0.937
Weight decay0.0005
MosaicTrue
AMPFalse
Seed42
Early Stop20
Table 2. Statistics of the SAR-DAG_raycast evaluation subset and DEM configuration.
Table 2. Statistics of the SAR-DAG_raycast evaluation subset and DEM configuration.
CategoryStatisticValue
Data scaleNumber of flights7
Data scaleNumber of distinct ground-truth target locations6
Data scaleNumber of temporal sequences16
Data scaleNumber of evaluated frames154
Ray validityNumber of valid DEM-intersecting rays154
Ray validityValid-ray rate100.0%
Flight geometryUAV altitude above ground level10.23–41.37 m
Flight geometryHorizontal UAV-to-target distance3.77–112.36 m
Flight geometrySlant UAV-to-target distance17.66–118.29 m
Terrain dataDEM tileN45E016.hgt
Terrain dataDEM raster size3601 × 3601
Terrain dataDEM angular sampling interval1 arc-second
Coordinate representationInput geographic coordinatesGPS latitude and longitude
Coordinate representationMetric optimization frameLocal east–north–up (ENU) frame
Table 3. Comparison with state-of-the-art on VTSaR dataset.
Table 3. Comparison with state-of-the-art on VTSaR dataset.
ModelAPAP50AP75APsAR@100ParamGFLOPsFPS
AFC-Det45. 4 0.2 + 0.8 95. 5 0.3 + 0.9 33. 7 0.2 + 0.3 44. 7 0.1 + 0.6 53. 5 0.3 + 0.6 1.78.0107.2
YOLOv11-RGBT [38]45. 1 0.9 + 0.1 95. 8 0.7 + 0.3 31. 4 0.6 + 0.7 44. 2 0.4 + 0.1 53. 3 0.6 + 0.2 5.011.056.7
DAMSDet [39]43. 9 0.5 + 0.4 94. 8 0.6 + 0.4 29. 4 0.3 + 0.3 43. 3 0.6 + 0.4 57. 1 0.8 + 0.3 79.1134.721.4
DEYOLO [40]43. 5 0.3 + 0.6 93. 9 0.3 + 0.5 29. 5 0.7 + 0.1 42. 5 0.5 + 0.2 52. 7 0.3 + 0.5 6.016.859.1
QFDet [20]42. 2 0.7 + 0.3 93. 1 0.5 + 0.6 28. 2 0.4 + 0.6 40. 9 0.6 + 0.3 50. 8 0.6 + 0.2 60.2203.623.8
COXNet [41]41. 8 0.9 + 0.1 93. 1 0.1 + 0.5 26. 8 0.2 + 0.6 40. 6 0.2 + 0.7 49. 4 0.4 + 0.3 71.1128.124.7
Table 4. Ablation experiment on VTSaR dataset.
Table 4. Ablation experiment on VTSaR dataset.
Model VariantParams/MGFLOPsAPAP50AP75APsAPmF1
Baseline2.899.442.295.026.541.149.494.3
+CMP2.959.942.895.126.041.751.694.5
+HRAG-FPN3.139.744.595.730.743.850.695.1
+Block1.357.141.593.824.040.647.993.7
+C + B1.417.642.794.226.442.049.594.1
+C + H3.5511.444.995.530.944.150.895.2
+B + H1.597.544.995.532.244.250.695.0
AFC-Det1.658.045.495.533.744.751.695.4
Table 5. Ablation study of modality-specific encoding blocks and LSBlockS variants on the VTSaR dataset.
Table 5. Ablation study of modality-specific encoding blocks and LSBlockS variants on the VTSaR dataset.
GroupRGB BranchThermal BranchVariantParams (M)GFLOPsAPAP50AP75APsAPmAR@100
ABasicBlockBasicBlockBasicBlock Variant3.55111.444.995.530.944.150.852.7
AStarBlockBasicBlockRGB enhanced2.5799.144.895.731.344.052.053.2
ABasicBlockLSBlockSThermal enhanced2.2639.144.295.528.943.350.652.1
AStarBlockLSBlockSStandard1.6508.045.495.533.744.751.653.5
BStarBlockLSBlockSExpanded2.0369.445.295.730.144.650.753.2
BStarBlockLSBlockSResidual1.6508.044.895.430.644.050.952.8
BStarBlockLSBlockSResidual + Expanded2.0369.445.295.332.144.352.153.4
Table 6. Effect of CMP intervention timing on VTSaR dataset.
Table 6. Effect of CMP intervention timing on VTSaR dataset.
Model VariantParams/MGFLOPsAPAP50AP75APsAPmF1
CMP-LATE2.929.741.093.724.640.149.892.5
CMP-MID2.939.842.594.225.441.551.093.9
CMP-EARLY2.959.942.895.126.041.751.694.5
Table 7. Cross-dataset generalization comparison on the M3FD dataset.
Table 7. Cross-dataset generalization comparison on the M3FD dataset.
ModelAPAP50AP75ParamGFLOPs
AFC-Det54.686.156.81.78.0
YOLOv11-RGBT [38]51.683.154.75.011.0
DAMSDet [39]48.475.849.379.1134.7
DEYOLO [40]49.472.354.86.016.8
QFDet [20]45.472.547.060.2203.6
COXNet [41] 72.942.871.1128.1
Table 8. Ablation study of GCR-HRCO modules for UAV-assisted geographic localization.
Table 8. Ablation study of GCR-HRCO modules for UAV-assisted geographic localization.
SettingGRHMean Error (m)Median Error (m)RMSE (m)P90 Error (m)P95 Error (m)
G0R0H0 6.8497.3628.16012.16613.890
G1R0H0 5.2395.4306.2509.12611.656
G0R1H0 5.5224.2706.86611.77012.919
G0R0H1 6.0536.3677.2129.78110.923
G1R1H0 3.5772.4474.6495.9977.452
G1R0H1 4.4524.8045.6338.13610.923
G0R1H1 5.3664.2706.54011.44012.475
G1R1H13.3052.4474.3294.9706.684
Table 9. Comparison with conventional localization baselines on the SAR-DAG_raycast dataset.
Table 9. Comparison with conventional localization baselines on the SAR-DAG_raycast dataset.
MethodMean Error (m)Median Error (m)RMSE (m)P90 Error (m)P95 Error (m)
Single-frame DEM raycasting6.6966.9427.91810.87712.053
Short-sequence intersection mean6.8497.3628.16012.16613.890
Short-sequence intersection median6.8127.3518.08111.79812.910
Ordinary multi-ray least squares6.0254.6047.71113.19614.904
RANSAC multi-ray fitting5.4264.6046.46711.51312.038
Huber M-estimator6.0034.6047.65113.21314.765
GCR-HRCO (proposed)3.3052.4474.3294.9706.684
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

Bai, Y.; Zhu, C. Lightweight Multispectral Detection and DEM-Constrained Ray Consistency Localization for UAV-Assisted Search and Rescue. Sensors 2026, 26, 4975. https://doi.org/10.3390/s26154975

AMA Style

Bai Y, Zhu C. Lightweight Multispectral Detection and DEM-Constrained Ray Consistency Localization for UAV-Assisted Search and Rescue. Sensors. 2026; 26(15):4975. https://doi.org/10.3390/s26154975

Chicago/Turabian Style

Bai, Yanrui, and Changsheng Zhu. 2026. "Lightweight Multispectral Detection and DEM-Constrained Ray Consistency Localization for UAV-Assisted Search and Rescue" Sensors 26, no. 15: 4975. https://doi.org/10.3390/s26154975

APA Style

Bai, Y., & Zhu, C. (2026). Lightweight Multispectral Detection and DEM-Constrained Ray Consistency Localization for UAV-Assisted Search and Rescue. Sensors, 26(15), 4975. https://doi.org/10.3390/s26154975

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