TL;DR
To successfully execute the Mars Sample Return campaign, a future rover must autonomously locate texture-less sample tubes dropped on the Martian surface. This paper evaluates two computer vision paradigms—classical geometry-driven template matching (Line2D) and deep learning-based instance segmentation (Mask R-CNN)—on a newly created, highly realistic outdoor benchmark dataset. The results show that while deep learning drastically outperforms classical methods in handling shadows and occlusions, it introduces significant flight-certification challenges.
What Problem Does This Paper Address?
NASA and ESA’s Mars Sample Return (MSR) campaign is a multi-mission effort to bring Martian soil and rock samples back to Earth. The first phase is already underway: the Perseverance rover is collecting samples and sealing them in small, metallic tubes left at "depots" on the Martian surface. A subsequent mission concept involves a Sample Fetch Rover (SFR) that must autonomously drive to these depots, locate the tubes, and pick them up.
Locating these tubes via computer vision is exceptionally challenging. The tubes are entirely texture-less, meaning standard feature-matching algorithms (like SIFT or ORB) fail completely. Furthermore, the Martian environment introduces adverse conditions: dramatic lighting changes, harsh shadows from rocks, varying terrain types, and dust accumulation that can partially bury or coat the tubes. This paper investigates how to achieve robust, image-based autonomous tube localization under these strict environmental constraints.
Methods
The authors compare two fundamentally different machine vision philosophies:
- Geometry-Driven Template Matching (Line2D): This classical approach relies on a 3D CAD model of the sample tube. The algorithm regularly samples viewpoints across a hemisphere to generate a library of 2D templates at various scales and orientations. It matches these templates to test images using quantized gradient orientations, focusing purely on shape contours. This method is highly interpretable and relies on algorithms with spaceflight heritage.
- Data-Driven Instance Segmentation (Mask R-CNN): This modern deep learning approach utilizes a convolutional neural network (CNN) with a ResNet-50 backbone. The network is trained via transfer learning to predict pixel-level segmentation masks of the tubes. To ensure the network focused on robust shape and texture features rather than color (which changes if a tube is coated in yellow Martian dust), the input images were converted to grayscale and box-filtered.
Datasets
Because no public dataset exists for Martian sample tubes, the authors curated a large-scale outdoor benchmark dataset at the JPL Mars Yard. The dataset consists of 824 images containing 4,852 annotated tube instances.
The dataset was systematically varied across:
- Terrain Types: "Flagstone" (fractured bedrock), "CFA6" (rock distributions mimicking Mars landing sites), "Ditch", and "Riverbed".
- Environmental Conditions: Morning vs. afternoon lighting, partial/complete shadows, and varying levels of dust coverage (from a light sprinkle to partial burial under sand dunes).
- Ground Truth: One subset of images ("no-tags") features standard tubes. Another subset ("with-tags") features tubes rigidly mounted with AprilTags to provide highly accurate 6D ground-truth poses for evaluation.
Key Insights and Ideas
- The "Parallel Edge" Failure Mode: Classical template matching severely struggles with false positives in rocky terrain. Natural features like straight rock edges or linear shadows frequently mimic the long, parallel edges of the sample tubes, tricking the shape-based filter.
- Robustness to Dust and Color Shifts: By training the Mask R-CNN on grayscale, edge-emphasized (box-filtered) images, the data-driven model achieved excellent invariance to color changes caused by dust accumulation.
- The Flight Infusion Dilemma: Deep learning provides a massive performance leap but acts as a "black box," making Verification and Validation (V&V) incredibly difficult for space missions. Conversely, classical template matching is easy to inspect and validate but performs poorly in complex environments.
Key Results
The quantitative evaluation demonstrated a clear victory for deep learning in terms of raw accuracy:
- Template Matching (Line2D): Achieved a modest Average Precision (AP at 0.5 IoU) of 0.345 on the no-tags dataset and 0.255 on the with-tags dataset. Its Average Recall (AR) was low (0.184 and 0.153, respectively), driven by high false-negative rates under heavy shadows or occlusions.
- Deep Learning (Mask R-CNN): Achieved an outstanding AP of 0.911 on the no-tags dataset and 0.918 on the with-tags dataset. Average Recall jumped significantly to 0.555 and 0.575.
Qualitatively, Mask R-CNN successfully detected tubes even when they were heavily overlapped by rock shadows or partially covered by sand, scenarios where Line2D failed completely.
Limitations and Future Work
The primary limitation of the deep learning approach is its lack of flight heritage and the difficulty of validating its behavior under edge cases—a critical requirement for high-consequence space missions.
For future work, the authors plan to bridge the gap between detection and action by validating the end-to-end performance of autonomous tube-pickup operations on a physical, analog Fetch rover in realistic outdoor environments.
Summary updated