Skip to Content
Remote SensingRemote Sensing
  • Article
  • Open Access

28 November 2026

18 Pages

SCaRNet: Spatial Crater Representation for Resource-Efficient Onboard Planetary Perception

,
,
,
,
,
and
1
School of Information Science and Technology, Beijing University of Technology, Beijing 100124, China
2
School of Aeronautics and Astronautics, North China Institute of Aerospace Engineering, Langfang 065000, China
3
School of Aerospace Engineering, Tsinghua University, Beijing 100084, China
4
Department of Automatic Control Systems, Bauman Moscow State Technical University, Moscow 105005, Russia
Remote Sens.2026, 18(23), 4119;https://doi.org/10.3390/rs18234119 
(registering DOI)
This article belongs to the Special Issue Robust Perception in Open and Data-Limited Environments: From Earth to Deep Space

Highlights

What are the main findings?
  • A compact center–radius crater representation is developed for resource-efficient onboard planetary perception.
  • The complete detection pipeline is implemented on a Huawei Atlas 200I DK A2 embedded platform and operates in real time.
What are the implications of the main findings?
  • The onboard system achieves 34.1 FPS with a 66.3 MB model, demonstrating the feasibility of real-time crater perception under constrained computing resources.
  • The study provides a practical pathway toward autonomous planetary remote sensing with reduced dependence on ground-based processing and communication.

Abstract

Onboard perception is increasingly important for autonomous planetary exploration, where limited computational resources and constrained communication links make it difficult to rely on computationally intensive models or transmit dense perception outputs to ground stations. Crater detection is a fundamental planetary perception task for surface analysis, autonomous navigation, and landing, yet existing segmentation- and bounding-box-based approaches are not well matched to onboard operation because they either produce highly redundant outputs or introduce geometric redundancy for approximately circular crater structures. To address this issue, we present the Spatial Crater Representation Network (SCaRNet), a resource-efficient crater detection framework designed with onboard planetary perception in mind. SCaRNet represents each crater using its center and radius, reducing the output representation from dense pixel-wise masks or four-parameter bounding boxes to a compact three-parameter circular formulation. A distance-based circular Intersection-over-Union (dcIoU) loss jointly constrains circular overlap and center alignment. At the same time, an adaptive non-maximum suppression strategy preserves valid neighboring detections in densely overlapping crater regions. Experiments on the MDCD and TW1 datasets show that SCaRNet achieves recalls of 84.2% and 94.5%, respectively, with a computational cost of 58.9 GFLOPs. More importantly, we deploy SCaRNet on a Huawei Atlas 200I DK A2 embedded platform, where the converted model occupies 66.3 MB and achieves real-time inference at 34.1 FPS with a latency of 29.3 ms. These results demonstrate compact crater detection and real-time inference on the tested embedded development platform.

1. Introduction

Autonomous planetary perception must operate within onboard computing, storage, power, and communication budgets. Lightweight object detection is one approach to reducing onboard computational demand [1]. For crater detection, the output representation also determines how much localization data must be processed, stored, and transmitted.
Impact craters are among the most widespread and informative geomorphological structures on planetary surfaces. Their spatial distributions and size–frequency characteristics provide important evidence for estimating planetary surface ages and understanding geological evolution [2,3,4]. Beyond their scientific significance, craters also serve as distinctive terrain landmarks and have been associated with planetary mapping, autonomous navigation, and spacecraft landing [5,6,7]. Reliable crater detection is therefore not only a conventional remote-sensing interpretation problem, but also an important component of autonomous planetary perception. As the spatial resolution and volume of planetary observations continue to increase, processing all acquired imagery exclusively on the ground may be inefficient for time-sensitive exploration tasks [1]. This motivates crater-detection systems that can maintain adequate localization accuracy and detection completeness while remaining compatible with resource-constrained onboard computation.
Deep-learning-based crater detection has achieved substantial progress in recent years. Existing methods have investigated multi-scale feature extraction, small-object enhancement, context modeling, semantic segmentation, and transfer learning to address the large-scale variation and complex appearance of planetary craters [6,8,9,10]. Despite these advances, most existing methods are optimized primarily for detection accuracy, while the structure of their output representation and its implications for onboard deployment have received comparatively less attention. For planetary perception systems, however, the detection-result representation directly affects the amount of information that must be processed, stored, and potentially transmitted after inference.
As illustrated in Figure 1, existing crater-detection approaches can be broadly represented by two common output paradigms. Segmentation-based methods formulate crater detection as a pixel-wise prediction problem and generate a mask M ∈ R H × W for an input image of spatial size H × W [9,11]. Such dense outputs are advantageous when detailed crater boundaries are required, but they also introduce substantial representation redundancy when downstream onboard tasks primarily require crater positions and sizes. The output dimensionality grows with image resolution and requires H × W prediction values for each image, which is less attractive for resource-constrained onboard applications [1,6].
Figure 1. Comparison of crater output representations from the perspective of onboard perception efficiency. Segmentation-based methods produce dense pixel-wise outputs with H × W values, conventional object detectors represent N craters using 4 N bounding-box parameters, and the circular representation describes N crater instances using 3 N parameters. Here, H and W denote the image height and width, respectively, and N denotes the number of craters, where N ≪ H × W .
In contrast, detection-based methods use a sparse object-level representation. As shown in Figure 1b, a crater is conventionally described by a rectangular bounding box ( x j , y j , w j , h j ) , and an image containing N craters therefore requires 4 N localization parameters. Since N ≪ H × W , this representation is substantially more compact than a dense segmentation mask. However, impact craters are approximately circular structures, and a rectangular bounding box is not fully consistent with their intrinsic morphology. In particular, the width and height parameters provide partially redundant geometric information for an object that can be sufficiently characterized by its center and radius. The circumscribed rectangular region also includes background areas unrelated to the crater itself. Therefore, for onboard planetary perception, the output representation should ideally be both sparse and geometrically consistent, so that unnecessary representation overhead can be reduced without sacrificing the information needed for crater localization.
Circle-based object representations provide a natural alternative for approximately circular targets. CircleNet demonstrated that objects can be represented using their center coordinates and radius rather than rectangular bounding boxes, reducing output parameters while maintaining effective object localization [12]. This representation is particularly suitable for impact craters because their principal geometric structure can be compactly described by a crater center and radius. Nevertheless, directly transferring a generic circular detector to planetary imagery does not fully address the characteristics of crater fields. Planetary craters exhibit substantial scale variation and highly nonuniform spatial distributions, and densely cratered regions frequently contain neighboring or partially overlapping instances. Standard coordinate-wise regression does not explicitly optimize circular geometric consistency, while conventional hard non-maximum suppression may remove valid detections when multiple crater responses are spatially close [13]. These issues become especially important when high detection completeness is required without substantially increasing inference-time complexity.
We develop the Spatial Crater Representation Network (SCaRNet) for onboard planetary perception. Each detected crater is represented by its center and radius ( x j , y j , r j ) , as shown in Figure 1c. This representation uses 3 N localization parameters for N detections, compared with 4 N for bounding boxes. The output size depends on the number of detections.
The distance-based circular intersection-over-union (dcIoU) loss jointly accounts for circular overlap and center displacement during training. At inference, adaptive non-maximum suppression (A-NMS) decays the confidence of nearby candidates according to their geometric similarity. These components require no additional network branches or learnable parameters.
Importantly, the objective of this work is not limited to improving crater-detection accuracy on server-class hardware. We further evaluate SCaRNet from an onboard deployment perspective by implementing SCaRNet on a Huawei Atlas 200I DK A2 embedded AI platform manufactured by Huawei Technologies Co., Ltd., Shenzhen, China. The trained PyTorch model is converted to the Ascend OM format and executed using hardware-accelerated inference on the embedded processor. This deployment enables the practical trade-off among detection accuracy, computational cost, model size, latency, and inference speed to be evaluated under constrained hardware conditions. On the embedded platform, SCaRNet reaches 34.1 FPS with a latency of 29.3 ms, while the converted model occupies 66.3 MB, demonstrating that the proposed framework can sustain real-time inference on lightweight hardware. The measurements characterize performance on the Atlas development platform.
The main contributions of this work are summarized as follows:
(1)
We formulate crater detection from the perspective of resource-efficient onboard planetary perception and develop SCaRNet, which describes each crater using its center coordinates and radius. The resulting 3 N object-level representation is more compact than conventional 4 N bounding-box outputs and avoids the dense H × W representation required by segmentation-based methods.
(2)
We adapt CircleNet to planetary crater detection by combining its center–radius representation with a localization loss that accounts for circular overlap and normalized center distance, and a post-processing rule that applies Gaussian score decay when dcIoU exceeds a threshold. This integration targets the localization and suppression of overlapping crater candidates while retaining the CircleNet architecture.
(3)
We evaluate SCaRNet on two planetary crater datasets and analyze both detection performance and computational efficiency. The proposed framework achieves recalls of 84.2% on MDCD and 94.5% on TW1 with a computational cost of 58.9 GFLOPs, demonstrating a favorable accuracy–efficiency trade-off compared with representative detection architectures.
(4)
Beyond conventional GPU evaluation, we implement and validate the embedded SCaRNet model on the Huawei Atlas 200I DK A2 platform. After model conversion, SCaRNet occupies 66.3 MB and achieves real-time inference at 34.1 FPS with a latency of 29.3 ms, demonstrating real-time inference on the tested embedded platform.

2. Related Work

2.1. Crater Detection Methods

Early crater detection relied on hand-crafted feature engineering, including Hough transform-based circle fitting, light-shadow pattern matching in optical imagery, and morphological analysis of Digital Elevation Models (DEMs) [14,15,16]. While these methods established a foundational understanding of crater geometry, they lack robustness under complex illumination conditions and do not scale to large planetary datasets [8,17]. The development of deep learning has transformed crater detection substantially [6], which can be divided into segmentation and detection frameworks. There are fundamental differences in their representation that directly affect labeling cost, output redundancy, and bandwidth consumption [18].
Segmentation-based methods formulate detection as pixel-wise prediction, producing dense boundary maps [18,19]. A ResUNet method processing Digital Terrain Model (DTM) and Thermal Emission Imaging System instrument (THEMIS) imagery achieves expert-level detection of craters above 3 km diameter on Mars, identifying approximately 57,444 crater candidates with 87% precision and 80% recall [19]. Although segmentation-based methods capture fine boundary detail, they produce dense outputs for each image, impose heavy annotation requirements, and introduce non-trivial transmission overhead under bandwidth-constrained planetary communication links [18].
Detection-based methods address annotation and transmission efficiency through sparse object representations [8,20]. HRFPNet was proposed with an Adaptive Anchor Calculation and Label Assignment algorithm for the small-target, anchor-sensitive problem in the MDCD dataset, improving recall by 5% and precision by 4% relative to FPN baselines [8]. YOLOX was adapted into YOLO-Crater with EIoU loss and CBAM attention, reporting precision of 87.9% and recall of 66.0% on lunar data [20]. Despite these advances, all existing methods encode instances as bounding boxes. There exists an inherent geometric mismatch between the rectangular bounding box and the circular morphology of craters. Specifically, the circumscribed square of a circle includes approximately 21.5% irrelevant background area ( 4 r 2 vs. π r 2 ), which not only introduces training gradient bias, but also makes the redundant parameters (width and height) part of the supervision signal. For crater objects whose morphology is completely described by a single radius, such redundancy is systematic and degrades localization accuracy.

2.2. Geometric IoU Metrics

For localization supervision, L 1 loss is commonly used for box coordinate regression, and IoU-related losses are further introduced to impose stronger constraints. UnitBox introduced the IoU loss to optimize the predicted box as a whole, thereby improving localization consistency and accelerating convergence [21]. GIoU extended IoU by incorporating the penalty derived from the smallest enclosing box, thereby providing informative gradients even when the two boxes do not overlap [22]. DIoU augmented the loss with a normalized center-distance term, thereby speeding up convergence by promoting center alignment [23]. EIoU decomposed the width and height discrepancies into explicit side-length penalties, thereby enhancing both convergence efficiency and localization precision [24]. However, all of the above variants assume a rectangular bounding box.
For circular objects, CircleNet introduced a circular IoU (cIoU) metric for glomerulus detection, which is only used for evaluation rather than differentiable training losses, and does not include center distance penalties [12]. This leads to the regression of crater center coordinates, and the radius remains decoupled under standard L 1 loss, without any clear geometric constraints. This gap motivates the proposed dcIoU loss, which unifies circular overlap quality and normalized center-distance as a single differentiable training objective. By explicitly modeling center misalignment in addition to circular overlap, the proposed dcIoU loss yields more accurate and robust supervision for circular crater regression.

2.3. Non-Maximum Suppression

Non-maximum suppression (NMS) is a standard post-processing technique in detectors for removing redundant detections [25,26]. Conventional greedy NMS performs suppression by using a fixed overlap threshold, where candidates with excessive overlap with the highest-scoring detection are directly discarded [13]. To better accommodate different detection scenarios, a variety of NMS variants have been proposed as post-processing strategies. For example, Learning NMS was proposed to overcome the limitations of hand-crafted suppression rules, and it learns to jointly rescore detections by modeling their interactions with a neural message-passing framework [13]. Adaptive NMS was introduced to handle object-density variations in crowded scenes and predicts instance-specific suppression thresholds via a density-aware subnetwork [25].
However, these variants remain unsuitable for handling the dense crater-detection problem, because they are designed to adjust box-level suppression rather than to preserve distinct heatmap peaks corresponding to adjacent crater centers. As a result, they cannot explicitly prevent valid neighboring crater responses from being suppressed during post-processing.

3. Method

SCaRNet builds on CircleNet and retains its center–radius representation, ResNet50 backbone, upsampling structure, and prediction heads. SCaRNet retains the CircleNet training settings and adds a dcIoU term to its training objective and uses A-NMS for post-processing at inference.

3.1. Overview

As shown in Figure 2, SCaRNet consists of a backbone network, three deconvolution layers, and three prediction heads. ResNet50 [27] is adopted as the backbone to extract features from the input image, producing a feature map at 1 32 of the input resolution. To obtain a higher-resolution representation, the backbone features are progressively upsampled by three deconvolution layers, which increase the spatial resolution from 1 32 to 1 16 , 1 8 , and finally 1 4 . This progressive upsampling restores fine-grained spatial details, which is particularly beneficial for detecting small craters. The resulting feature maps are fed into three parallel prediction heads: a confidence head, a radius head, and an offset head, each described below.
Figure 2. The network structure of the proposed SCaRNet.
(1) Confidence head: The confidence head predicts a dense confidence heatmap to localize the crater center. Specifically, the upsampled feature map is passed through a 3 × 3 convolution layer followed by a 1 × 1 convolution layer to produce the confidence heatmap Y ^ ∈ [ 0 , 1 ] H s × W s , where s denotes the output stride. In this work, s = 4 since the final feature map is at 1 4 of the input resolution. Each element Y ^ u , v represents the confidence that a crater center exists at location ( u , v ) on the output feature map. To supervise this prediction, a ground-truth heatmap Y is constructed from the annotated crater centers. Let ( x i , y i ) denote the i-th crater center in the input image, so the corresponding center on the output feature map is given by ( x ˜ i , y ˜ i ) = x i s , y i s . The ground-truth heatmap is defined as
Y u , v = max i = 1 , … , N exp − ( u − x ˜ i ) 2 + ( v − y ˜ i ) 2 2 σ i 2 ,
where σ i controls the response spread. The confidence loss is
L conf = − 1 N ∑ u , v ( 1 − Y ^ u , v ) α log ( Y ^ u , v ) , if Y u , v = 1 , ( 1 − Y u , v ) β ( Y ^ u , v ) α log ( 1 − Y ^ u , v ) , otherwise ,
where α and β are hyperparameters.
(2) Offset Head: The offset head predicts a two-channel offset map O ^ ∈ R H s × W s × 2 from the upsampled feature maps, correcting the quantization error from center discretization on the reduced-resolution feature map. For the ith crater center, the ground-truth offset is defined as
o i = x i s − x ˜ i , y i s − y ˜ i .
Let o ^ i = O ^ x ˜ i , y ˜ i denote the predicted offset at location ( x ˜ i , y ˜ i ) . The offset head is optimized using an L 1 loss
L off = 1 N ∑ i = 1 N o ^ i − o i 1 .
(3) Radius head: The radius head predicts a single-channel radius map from the upsampled feature maps to estimate crater radii. Specifically, the feature map is fed into a two-layer convolutional branch to produce R ^ ∈ R H s × W s . For the ith crater, the radius prediction is supervised at its corresponding center location ( x ˜ i , y ˜ i ) by L 1 loss
L rad = 1 N ∑ i = 1 N r ^ i − r ˜ i 1 ,
where r ^ i = R ^ x ˜ i , y ˜ i denotes the predicted radius at its corresponding center location ( x ˜ i , y ˜ i ) , r ˜ i denotes the corresponding ground-truth crater radius.
During inference, the j-th candidate crater center ( x ^ j , y ^ j ) is first obtained as the local maximum of the confidence heatmap, then the predicted offset ( δ j x , δ j y ) = O ^ x ^ j , y ^ j is used to refine its location. Together with the predicted radius r ^ j = R ^ x ^ j , y ^ j , the final crater instance in the input image space is given by
C = ( x ^ j + δ j x ) s , ( y ^ j + δ j y ) s , r ^ j s j = 1 J ,
where J denotes the number of predicted craters.

3.2. Distance Circular Intersection-over-Union (dcIoU) Loss

Unlike conventional L 1 regression, dcIoU provides a unified geometric constraint that jointly accounts for overlap quality and center alignment. As shown in Figure 3, for a predicted crater C j = ( x ^ j , y ^ j , r ^ j ) and a ground-truth crater C i = ( x i , y i , r i ) , the Euclidean distance between their centers is computed as
d i j = ( x ^ j − x i ) 2 + ( y ^ j − y i ) 2 .
Figure 3. Geometry used to compute dcIoU. The ground-truth crater C i has radius r i , and the predicted crater C j has radius r ^ j . The center distance is d i j . The darker region is the intersection A inter i j , and the fully shaded region is the union A union i j .
The circular Intersection-over-Union (cIoU) is given by
cIoU i j = A inter i j A union i j .
For the partial-overlap case, let A lens i j denote the area of the circular lens. In the partial-overlap branch, each arccosine denominator contains the radius of its corresponding circle. The term 1 2 Δ i j equals twice the area of the triangle formed by the two circle centers and either intersection point. The full intersection area is
A inter i j = 0 , d i j ≥ r ^ j + r i , π min ( r ^ j , r i ) 2 , d i j ≤ | r ^ j − r i | , A lens i j , | r ^ j − r i | < d i j < r ^ j + r i , A lens i j = r ^ j 2 arccos d i j 2 + r ^ j 2 − r i 2 2 d i j r ^ j + r i 2 arccos d i j 2 + r i 2 − r ^ j 2 2 d i j r i − 1 2 Δ i j , Δ i j = ( r ^ j + r i − d i j ) ( d i j + r ^ j − r i ) × ( d i j − r ^ j + r i ) ( d i j + r ^ j + r i ) .
The implementation selects the geometric branch before computing the intersection area. It returns zero for disjoint or externally tangent circles and the area of the smaller disk for containment, internal tangency, or concentric circles. The inverse trigonometric and square-root terms are evaluated only for partially overlapping pairs. For fixed radii, the derivative of the intersection area with respect to center distance in this branch is the negative length of the common chord. It tends to zero at external tangency and at internal tangency for unequal radii.
The union area is
A union i j = π r ^ j 2 + π r i 2 − A inter i j .
Building upon cIoU, dcIoU augments the overlap term with a normalized center-distance penalty, thereby increasing sensitivity to center misalignment
dcIoU i j = A inter i j A union i j − d i j 2 ( r ^ j + r i ) 2 .
The dcIoU loss is computed at positive crater locations
L dcIoU = 1 N ∑ i = 1 N 1 − dcIoU i .
This geometric supervision signal complements the offset and radius regression losses by explicitly penalizing both spatial misalignment and insufficient circular overlap. The overall training objective is formulated as
L total = L conf + λ 1 L off + λ 2 L rad + λ 3 L dcIoU ,
where λ 1 , λ 2 , and  λ 3 are weights used to balance the corresponding loss terms.

3.3. Adaptive Non-Maximum Suppression (A-NMS)

As shown in Figure 4, conventional NMS removes overlapping detections by hard thresholding, which often suppresses small craters in dense regions where adjacent craters overlap. To address this issue, we introduce A-NMS for circle-based crater detection. Instead of directly suppressing overlapping candidates, A-NMS decays their confidence scores based on the geometric similarity to the selected detection. Specifically, for two candidate craters c j and c k , the confidence of c k is updated as
p ^ k ← p ^ k · exp − dcIoU ( c j , c k ) 2 σ 2 , if dcIoU ( c j , c k ) > τ .
Figure 4. Comparison between conventional NMS and the proposed A-NMS for overlapping crater detection. (a) Ground truth. (b) Conventional NMS suppresses the smaller adjacent crater. (c) A-NMS preserves valid responses for both overlapping craters by adaptively decaying candidate confidence.
The initial score of candidate c k is the value at its peak location ( x ^ k , y ^ k ) in the predicted confidence heatmap Y ^ .
p ^ k = Y ^ ( x ^ k , y ^ k ) .
The parameter σ controls the strength of the decay, and  τ is the dcIoU threshold above which decay is applied. In this work, we set σ = 0.5 and τ = 0.3 . Algorithm 1 makes the output confidence threshold t conf explicit. A candidate is retained only if its current score meets this threshold.
Algorithm 1. Adaptive Non-Maximum Suppression (A-NMS)
Remotesensing 18 04119 i001

4. Experiment

4.1. Datasets

Experiments are conducted on two public crater datasets, namely MDCD [8] and TW1 [28].
MDCD. The Mars Day Crater Detection dataset(MDCD) is derived from thermal infrared observations at 12.57 μ m. It comprises 500 globally sampled image patches of 729 × 729 pixels at approximately 256 pixels/degree, with ∼12,000 annotated craters spanning diameters of 6–250 pixels. MDCD follows the PASCAL VOC format, where each crater is annotated with a bounding box for detection tasks.
TW1. The TW1 is constructed from high-resolution Digital Image Models (DIM) acquired by the Tianwen-1 High-Resolution Imaging Camera at 0.7 m/pixel ground sampling distance. It covers 15 DIM tiles in Utopia Planitia and contains 841,727 annotations with diameters from 1.57 m to 7910.47 m. TW1 provides segmentation masks as annotations. Training and test sets comprise 18,432 and 4608 images, resized to 1024 × 1024 pixels following [28].
For MDCD, each axis-aligned bounding box is converted to its circumscribed circle. The center is the midpoint of the box and the radius is half its diagonal, r = 1 2 w 2 + h 2 , where w and h are the box width and height. For TW1, we generate one circumscribed circle for each crater instance mask. The circle encloses the mask, and its center and radius define the circular annotation.

4.2. Evaluation Metrics and Implementation

Implementation. All models are implemented in PyTorch and trained on a single NVIDIA GeForce RTX 3080Ti GPU (NVIDIA Corporation, Santa Clara, CA, USA). Inference is further conducted on both the GPU and the Atlas 200I DK A2 embedded platform. The Atlas 200I is a lightweight embedded AI platform, with a board size of approximately 139.4 mm × 136.4 mm × 46.0 mm, a weight of about 330 g, and a power consumption of 25 W. Therefore, it is well-suited for evaluating the feasibility of model deployment in resource-constrained environments.
ResNet50 [27] is adopted as the backbone and initialized with COCO-pretrained weights [29]. Training uses the Adam optimizer with an initial learning rate of 5 × 10 − 4 , reduced by a factor of 10 at epochs 90 and 120 over a total of 140 epochs with a batch size of 4. Loss coefficients are set to λ 1 = 0.1 , λ 2 = 1.0 , and λ 3 = 0.5 . During training, data augmentation includes random horizontal flipping, random cropping and scaling, affine transformation, and contrast enhancement, all applied to improve the robustness of the models.
To quantitatively evaluate the proposed method, we assess performance in terms of detection accuracy and computational efficiency.
Accuracy metrics. For detection accuracy, we adopt precision and recall as the metrics. A matched prediction is counted as a true positive when its overlap with the ground truth exceeds 0.5. We use circular IoU (cIoU) for circle-based detectors and box IoU for bounding-box detectors. In the CircleNet study, box IoU and cIoU showed similar mean trends when each measure was computed between original and translated annotations of the same test glomeruli [12]. Individual matches may differ at the same numerical threshold. SCaRNet and CircleNet use the same cIoU matching criterion on both datasets. Precision and recall are defined as
Precision = T P T P + F P ,
Recall = T P T P + F N ,
where T P , F P , and F N denote the numbers of true positives, false positives, and false negatives, respectively.
Efficiency metrics. Computational efficiency is evaluated by model size (Megabyte, MB), giga-floating-point operations (GFLOPs) and frames per second (FPS). GFLOPs measure the computational complexity of a single forward pass, and FPS indicates the inference speed.

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

We compare SCaRNet against eleven representative detectors from four architectural families: two-stage anchor-based (Faster R-CNN [30] with ResNet50 [27], ViT [31], Swin transformer [32], and HRNet [33] backbones), one-stage CNN-based (TridentNet [34], FPN [35], ATSS [36], YOLO11 [37], YOLOv12-M [38]), transformer-based (Co-DETR [39]), and circle-based (CircleNet [12]). For the dense-crater experiments, the CircleNet baseline uses conventional NMS after local maximum pooling and Top-K candidate selection, while SCaRNet uses the same candidate generation procedure followed by A-NMS. Table 1 and Table 2 report the results on MDCD and TW1, respectively.
Table 1. Accuracy and efficiency comparisons on the MDCD dataset. The best results are highlighted in bold.
Table 2. Accuracy and efficiency comparisons on the TW1 dataset. The best results are highlighted in bold.
Overview. SCaRNet achieves 84.2% recall on MDCD and the highest recall on TW1 (94.5%). Its computational cost is 58.9 GFLOPs, and its measured inference speeds are 135.5 and 138.6 FPS, respectively.
Comparison with two-stage anchor-based detectors. Among the four Faster R-CNN variants, the HRNet backbone achieves the best precision on MDCD of 68.3%, while the ViT backbone leads in recall of 80.8%, but neither approaches SCaRNet’s recall of 84.2%. Although ATSS achieves a slightly higher precision of 75.3% on MDCD with a deeper ResNet101 backbone, it shows lower recall than SCaRNet and requires higher GFLOPs. SCaRNet reduces the computational complexity by more than 70% compared with Faster R-CNN, FPN, ATSS, and Co-DETR, while achieving higher recall, indicating that the performance gain is due to geometry-aligned representation rather than heavier computation.
Comparison with one-stage CNN detectors. TridentNet further improves recall through its multi-branch scale-aware design, yet its extremely high computational complexity limits its practical application. YOLOv12-M has the smallest model file (80.8 MB) in Table 1 and Table 2. It requires 110.5 GFLOPs and achieves 108.2 FPS on MDCD and 96.2 FPS on TW1. Its recall improves over YOLO11 from 65.7% to 71.4% on MDCD and from 53.7% to 54.0% on TW1. SCaRNet achieves recall gains of 12.8 and 40.5 percentage points over YOLOv12-M on MDCD and TW1, respectively.
Comparison with transformer-based detectors. For the Transformer-backbone Faster R-CNN variants, the ViT-based model shows stronger recall than the Swin-based detectors on MDCD, suggesting that global feature modeling is beneficial for crater feature extraction. However, it increases computational complexity and reduces speed. More notably, the relative performance of backbone variants reverses across datasets: the ViT-based model performs better on MDCD, while the Swin-based model shows stronger recall on TW1, indicating that the benefit of Transformer backbones depends on dataset characteristics. The pure Transformer-based detector Co-DETR does not demonstrate a clear advantage in the recall–efficiency trade-off on either dataset, suggesting that the fully Transformer-based detector does not provide a stable advantage for crater detection. SCaRNet obtains 84.2% recall on MDCD and 94.5% recall on TW1.
Comparison with the circle-based detectors. CircleNet is the strongest baseline, and its competitive performance confirms that circular representation is inherently well suited to crater detection. SCaRNet preserves the same model size and GFLOPs as CircleNet, but further improves recall from 83.3% to 84.2% and increases the inference speed from 115.4 FPS to 135.5 FPS on MDCD. On TW1, SCaRNet improves precision from 59.2% to 61.5%, recall from 93.3% to 94.5%, and FPS from 88.0 to 138.6. These parameter-free gains indicate that dcIoU loss and A-NMS offer additional benefits within the circular representation framework.
Figure 5 presents recall versus GFLOPs and recall versus FPS for all methods on both datasets. On both datasets, the proposed SCaRNet is located in the region associated with the highest recall and lowest GFLOPs, demonstrating a superior trade-off between detection performance and efficiency. Among all methods, ATSS and TridentNet obtain relatively competitive recall but require higher GFLOPs, making them less suitable for bandwidth-limited onboard applications. YOLO11 consistently remains in the low-recall region across both datasets, confirming that the lightweight generic frameworks do not provide sufficient detection completeness for crater localization.
Figure 5. Trade-off analysis between accuracy and efficiency on MDCD and TW1. (a,c) Recall versus GFLOPs. (b,d) Recall versus FPS.

4.4. Ablation Study

Table 3 shows the contribution of dcIoU and A-NMS on the MDCD dataset. The CircleNet baseline uses an NMS overlap threshold of 0.5. This is a post-processing setting applied to pairs of predictions. The matching threshold of 0.5 is applied separately during evaluation. The baseline is CircleNet with standard NMS, which already benefits from circular representation, and the two proposed components are then added incrementally to identify their individual and joint effects.
Table 3. Ablation study of the proposed modules. The best results are highlighted in bold.
Under the same baseline post-processing, the cIoU-loss configuration achieves 72.4% precision, 83.1% recall, and 77.4% F1, while the dcIoU-loss configuration achieves 72.6% precision, 83.1% recall, and 77.5% F1. Adding dcIoU to the circular baseline improves precision from 71.9% to 72.6%, which indicates that the unified geometric constraint produces more accurate crater boundary localization.
The baseline and dcIoU-only configurations in Table 3 use the same architecture, training settings, and post-processing. This comparison isolates the effect of adding the dcIoU term. The recall decreases slightly from 83.3% to 83.1%, indicating that dcIoU mainly enhances the geometric consistency between predicted and ground-truth craters, leading to more accurate crater localization with the cost of a slight reduction in recall. The configuration with dcIoU alone runs at 123.2 FPS.
Applying A-NMS alone raises recall from 83.3% to 94.1%, which indicates that standard NMS suppresses valid craters in dense overlap regions, and that A-NMS’s Gaussian confidence decay keeps these detections by replacing binary suppression. The precision decrease is attributable to its more permissive suppression strategy, which retains borderline candidates that standard NMS would remove, thereby increasing true positives while also introducing additional false positives. The full SCaRNet achieves 73.9% precision, 84.2% recall, and 135.5 FPS on MDCD. Compared with A-NMS alone, the combined configuration increases precision from 67.1% to 73.9% and decreases recall from 94.1% to 84.2%. It achieves the highest F1 score among the five configurations at the reported operating point (78.7%).
Replacing conventional NMS with A-NMS increases the measured speed from 115.4 to 131.3 FPS. As specified in Algorithm 1, A-NMS terminates when the highest remaining confidence falls below t conf , avoiding further iterations and the associated pairwise dcIoU calculations. This early-stopping mechanism reduces post-processing time in our implementation.

4.5. Qualitative Analysis

Figure 6 presents qualitative comparisons between SCaRNet and the CircleNet baseline on various crater-rich regions. Each row illustrates the ground truth annotations, baseline predictions, and predictions by our method, respectively. The rightmost column provides magnified views (Zoomed-in Detail A and B) of the regions highlighted by red boxes in the baseline and our results. The detection results demonstrate that SCaRNet significantly outperforms the baseline in terms of both detection precision and localization accuracy.
Figure 6. Visualization results. (a) Ground truth annotations, (b) predictions by baseline, and (c) predictions by SCaRNet. The rightmost column provides magnified views of the challenging areas.
As observed in Figure 6b and zoomed-in details, the baseline method tends to produce a large number of redundant circular detections, especially in high-density regions. This is due to the mismatch between peak-level suppression and redundancy among decoded circles. In detectors that suppress candidates after decoding circular predictions, NMS is applied to decoded circles whose locations and confidence scores are directly optimized, so spatial overlap provides an effective cue for duplicate removal. However, in the anchor-free peak-based baseline, detections are primarily selected from heatmap peaks, which are not necessarily consistent with the final circular detections. In dense crater regions, overlapping heatmap responses may produce multiple nearby peaks around the same crater. As peak-level suppression does not fully model the spatial extent of the decoded circles, these peaks can result in redundant overlapping detections, thereby reducing precision.
In contrast, SCaRNet addresses this peak-based limitation by coupling heatmap-based prediction with geometry-aware localization and adaptive post-processing. Specifically, dcIoU improves circular localization consistency during localization optimization, while A-NMS adaptively removes duplicate circular detections without discarding valid detections in overlapping regions. Furthermore, SCaRNet shows superior capability in detecting partially overlapping small craters, which are often missed by the baseline. The predicted results by our method align closely with the ground truth annotations in Figure 6c, highlighting its improved localization precision.

4.6. Model Deployment on Embedded Platforms

To assess the feasibility of on-board deployment of SCaRNet in resource-constrained environments, the trained model is deployed on the Atlas 200I DK A2 platform following a standard model conversion and inference pipeline. Figure 7a shows its physical parameters, and Figure 7b shows its deployment setup, including its connection to a laptop and its compact physical footprint. To enable hardware-accelerated inference, the PyTorch model is converted to the Ascend Intermediate Representation (OM format) using the Huawei ATC (Ascend Tensor Compiler). The converted model is subsequently executed via the Ascend runtime environment on the Ascend processor.
Figure 7. Huawei Atlas 200I DK A2 platform used for embedded deployment. (a) Hardware specifications and physical dimensions of the platform. (b) Photograph of the experimental deployment setup.
Table 4 summarizes the deployment measurements. The SCaRNet tests use 512 × 512 inputs. On the Atlas 200I DK A2, SCaRNet achieves 34.1 FPS, with an end-to-end latency of 29.3 ms per image from image input to final crater detections. This measurement includes preprocessing, host–device data transfer, model inference, heatmap decoding, and A-NMS. CircleNet achieves 21.6 FPS on the same board. The early-stopping mechanism of A-NMS reduces post-processing work, consistent with the GPU ablation results. The overall SCaRNet design therefore delivers the highest inference speed among the models evaluated on Atlas. The original SCaRNet PyTorch checkpoint and the converted FP16 OM model occupy 131.2 MB and 66.3 MB, respectively. Figure 8 reports the precision and recall of the converted model.
Table 4. Deployment results on the server GPU and the Atlas 200I DK A2 development board.
Figure 8. Precision (a) and recall (b) on the Atlas 200I DK A2. Both metrics are shown as proportions. The horizontal axis is the dimensionless cIoU matching threshold. Each curve represents one detection-confidence threshold.
The specified power consumption of the Atlas 200I DK A2 development board is 25 W.
Figure 8a shows precision and Figure 8b shows recall as functions of the dimensionless cIoU matching threshold. Both metrics are reported as proportions, and each curve corresponds to a detection-confidence threshold.
These results demonstrate real-time crater detection on the Atlas development board. Future work will evaluate runtime memory, power consumption, thermal behavior, radiation tolerance, and long-term reliability under representative mission conditions.

4.7. Sensitivity of A-NMS

We evaluated nine combinations of the A-NMS parameters σ and τ on MDCD, as shown in Table 5. At σ = 0.5 , increasing τ from 0.3 to 0.5 raises recall from 84.2% to 94.2% and reduces precision from 73.9% to 66.8%. The default setting ( σ , τ ) = ( 0.5 , 0.3 ) attains the highest precision among the tested combinations.
Table 5. Sensitivityof A-NMS on MDCD. Each entry reports precision/recall (%). The best results are highlighted in bold.

5. Conclusions

This work presents SCaRNet, a resource-efficient crater detection framework for onboard planetary perception. SCaRNet represents craters using compact circular parameters and further incorporates a distance-based circular IoU loss and an adaptive non-maximum suppression strategy to improve localization and detection in dense crater regions. Experiments on two crater datasets demonstrate a favorable accuracy–efficiency trade-off. More importantly, deployment on the Huawei Atlas 200I DK A2 achieves real-time inference at 34.1 FPS with a latency of 29.3 ms, demonstrating real-time inference on the tested embedded platform. These results demonstrate the potential of compact crater representation and embedded inference for autonomous planetary exploration. The circular representation approximates crater location and scale. It cannot describe the orientation or eccentricity of elliptical or obliquely viewed craters. Degraded rims and image-boundary truncation can also make the center and radius difficult to estimate. In future work, we will evaluate these cases separately and investigate elliptical or contour-based representations where the circular approximation limits localization accuracy. Future work will investigate further hardware-aware optimization and validation under more diverse planetary surface conditions.

Author Contributions

All of the authors made significant contributions to the work. L.G. provided the original idea for the study and conducted experiments. S.Y. and D.S. proposed the framework and wrote the manuscript. C.D., V.P., S.M. and G.D. provided suggestions and reviewed and edited the manuscript. 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.

Data Availability Statement

The datasets analyzed in this study are publicly available as described in Section 4.1. The code and trained weights will be made publicly available at https://github.com/Geleven7/crater-detection/tree/main (accessed on 25 November 2026).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Gu, L.; Fang, Q.; Wang, Z.; Popov, E.; Dong, G. Learning lightweight and superior detectors with feature distillation for onboard remote sensing object detection. Remote Sens. 2023, 15, 370. [Google Scholar] [CrossRef] [Scilit]
  2. Yue, Z.; Gou, S.; Michael, G.; Di, K.; Lin, Y.; Liu, J.; Li, X.; Wu, F. Mars Crater Production Function Based on Mapped Crater Populations. Space Sci. Technol. 2025, 5, 0327. [Google Scholar] [CrossRef] [Scilit]
  3. Mo, L.; Xu, J.; Dong, Z.; Li, J.; Su, Y.; Ding, C. Water ice and the shallow regolith structure of the Shackleton Crater, the Moon: Implications for future Chang’E-7 in situ radar observation. Space Sci. Technol. 2025, 5, 0225. [Google Scholar] [CrossRef] [Scilit]
  4. Yue, Z.; Li, H.; Zhang, N.; Gou, S.; Lin, Y. Lunar evolution analysis based on numerical simulations of typical lunar impact craters. Space Sci. Technol. 2023, 3, 0084. [Google Scholar] [CrossRef] [Scilit]
  5. Huang, X.; Li, M.; Wang, X.; Hu, J.; Zhao, Y.; Guo, M.; Xu, C.; Liu, W.; Wang, Y.; Hao, C.; et al. The Tianwen-1 guidance, navigation, and control for Mars entry, descent, and landing. Space Sci. Technol. 2021, 2021, 9846185. [Google Scholar] [CrossRef] [Scilit]
  6. Chaini, C.; Jha, V.K. A review on deep learning-based automated lunar crater detection. Earth Sci. Inform. 2024, 17, 3863–3898. [Google Scholar] [CrossRef] [Scilit]
  7. Peng, M.; Di, K.; Liu, Z.; Gou, S.; Wan, W.; Wang, Y. Topographic mapping capability analysis of moderate resolution imaging camera (MoRIC) imagery of Tianwen-1 Mars mission. J. Remote Sens. 2023, 3, 0040. [Google Scholar] [CrossRef] [Scilit]
  8. Yang, S.; Cai, Z. High-resolution feature pyramid network for automatic Crater detection on Mars. IEEE Trans. Geosci. Remote Sens. 2021, 60, 4601012. [Google Scholar] [CrossRef] [Scilit]
  9. Giannakis, I.; Bhardwaj, A.; Sam, L.; Leontidis, G. A flexible deep learning crater detection scheme using Segment Anything Model (SAM). Icarus 2024, 408, 115797. [Google Scholar] [CrossRef] [Scilit]
  10. Yang, C.; Zhao, H.; Bruzzone, L.; Benediktsson, J.A.; Liang, Y.; Liu, B.; Zeng, X.; Guan, R.; Li, C.; Ouyang, Z. Lunar impact crater identification and age estimation with Chang’E data by deep and transfer learning. Nat. Commun. 2020, 11, 6358. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Giannakis, I.; Bhardwaj, A.; Sam, L.; Leontidis, G. Deep learning universal crater detection using segment anything model (sam). arXiv 2023, arXiv:2304.07764. [Google Scholar]
  12. Nguyen, E.H.; Yang, H.; Deng, R.; Lu, Y.; Zhu, Z.; Roland, J.T.; Lu, L.; Landman, B.A.; Fogo, A.B.; Huo, Y. Circle Representation for Medical Object Detection. IEEE Trans. Med. Imaging 2022, 41, 746–754. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Hosang, J.; Benenson, R.; Schiele, B. Learning non-maximum suppression. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 4507–4515. [Google Scholar]
  14. Bandeira, L.; Ding, W.; Stepinski, T. Automatic detection of sub-km craters using shape and texture information. In Proceedings of the 41st Annual Lunar and Planetary Science Conference, The Woodlands, TX, USA, 1–5 March 2010; Volume 1533, p. 1144. [Google Scholar]
  15. Robbins, S.J.; Hynek, B.M. A new global database of Mars impact craters≥ 1 km: 1. Database creation, properties, and parameters. J. Geophys. Res. Planets 2012, 117, E05004. [Google Scholar] [CrossRef] [Scilit]
  16. Silburt, A.; Ali-Dib, M.; Zhu, C.; Jackson, A.; Valencia, D.; Kissin, Y.; Tamayo, D.; Menou, K. Lunar crater identification via deep learning. Icarus 2019, 317, 27–38. [Google Scholar] [CrossRef] [Scilit]
  17. Robbins, S.J. A new global database of lunar impact craters. J. Geophys. Res. Planets 2019, 124, 871–892. [Google Scholar] [CrossRef] [Scilit]
  18. Tewari, A.; Prateek, K.; Singh, A.; Khanna, N. Deep learning based systems for crater detection: A review. arXiv 2023, arXiv:2310.07727. [Google Scholar]
  19. Lee, C. Automated crater detection on Mars using deep learning. Planet. Space Sci. 2019, 170, 16–28. [Google Scholar] [CrossRef] [Scilit]
  20. Mu, L.; Xian, L.; Li, L.; Liu, G.; Chen, M.; Zhang, W. YOLO-crater model for small crater detection. Remote Sens. 2023, 15, 5040. [Google Scholar] [CrossRef] [Scilit]
  21. Yu, J.; Jiang, Y.; Wang, Z.; Cao, Z.; Huang, T. Unitbox: An advanced object detection network. In Proceedings of the 24th ACM International Conference on Multimedia, Amsterdam, The Netherlands, 15–19 October 2016; pp. 516–520. [Google Scholar]
  22. Rezatofighi, H.; Tsoi, N.; Gwak, J.; Sadeghian, A.; Reid, I.; Savarese, S. Generalized intersection over union: A metric and a loss for bounding box regression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 16–20 June 2019; pp. 658–666. [Google Scholar]
  23. Zheng, Z.; Wang, P.; Liu, W.; Li, J.; Ye, R.; Ren, D. Distance-IoU loss: Faster and better learning for bounding box regression. Proc. AAAI Conf. Artif. Intell. 2020, 34, 12993–13000. [Google Scholar] [CrossRef] [Scilit]
  24. Zhang, Y.F.; Ren, W.; Zhang, Z.; Jia, Z.; Wang, L.; Tan, T. Focal and efficient IOU loss for accurate bounding box regression. Neurocomputing 2022, 506, 146–157. [Google Scholar] [CrossRef] [Scilit]
  25. Liu, S.; Huang, D.; Wang, Y. Adaptive NMS: Refining Pedestrian Detection in a Crowd. In Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 15–20 June 2019; pp. 6452–6461. [Google Scholar] [CrossRef] [Scilit]
  26. Luo, Z.; Fang, Z.; Zheng, S.; Wang, Y.; Fu, Y. NMS-loss: Learning with non-maximum sup- pression for crowded pedestrian detection. In Proceedings of the 2021 International Conference on Multimedia Retrieval, Virtually, 1 September 2021; pp. 481–485. [Google Scholar]
  27. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NE, USA, 26 June–1 July 2016; pp. 770–778. [Google Scholar]
  28. Zhao, Y.; Ye, H. Crater Detection and Population Statistics in Tianwen-1 Landing Area Based on Segment Anything Model (SAM). Remote Sens. 2024, 16, 1743. [Google Scholar] [CrossRef] [Scilit]
  29. Lin, T.Y.; Maire, M.; Belongie, S.; Hays, J.; Perona, P.; Ramanan, D.; Dollár, P.; Zitnick, C.L. Microsoft coco: Common objects in context. In Proceedings of the European Conference on Computer Vision, Zurich, Switzerland, 6–12 September 2014; pp. 740–755. [Google Scholar]
  30. Ren, S.; He, K.; Girshick, R.; Sun, J. Faster r-cnn: Towards real-time object detection with region proposal networks. Adv. Neural Inf. Process. Syst. 2015, 28. [Google Scholar]
  31. Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv 2020, arXiv:2010.11929. [Google Scholar]
  32. 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, Montreal, QC, Canada, 10–17 October 2021; pp. 10012–10022. [Google Scholar]
  33. Sun, K.; Xiao, B.; Liu, D.; Wang, J. Deep high-resolution representation learning for human pose estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 16–20 June 2019; pp. 5693–5703. [Google Scholar]
  34. Li, Y.; Chen, Y.; Wang, N.; Zhang, Z. Scale-aware trident networks for object detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019; pp. 6054–6063. [Google Scholar]
  35. Lin, T.Y.; Dollár, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature pyramid networks for object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 2117–2125. [Google Scholar]
  36. Zhang, S.; Chi, C.; Yao, Y.; Lei, Z.; Li, S.Z. Bridging the gap between anchor-based and anchor- free detection via adaptive training sample selection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 14–19 June 2020; pp. 9759–9768. [Google Scholar]
  37. Khanam, R.; Hussain, M. Yolov11: An overview of the key architectural enhancements. arXiv 2024, arXiv:2410.17725. [Google Scholar]
  38. Tian, Y.; Ye, Q.; Doermann, D. YOLOv12: Attention-Centric Real-Time Object Detectors. In Proceedings of the Advances in Neural Information Processing Systems, San Diego, CA, USA, 2–7 December 2025. [Google Scholar]
  39. Zong, Z.; Song, G.; Liu, Y. Detrs with collaborative hybrid assignments training. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 4–6 October 2023; pp. 6748–6758. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

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