Abstract
Underwater environments present significant challenges for optical sensors due to limited light and environmental noise. However, vision remains crucial for close-range navigation and docking. This paper investigates vision-based object detection and tracking techniques for underwater robots using artificial markers. We propose a novel weighted correlation coefficient (WCC) that integrates adaptive thresholding and color-region-aided approaches to enhance detection performance under varying illumination. By employing a multi-template matching strategy and Mean Shift tracking, we demonstrate robust object recognition. Experimental results using the yShark AUV platform in a water basin confirm the effectiveness of these techniques in challenging underwater conditions.
Introduction
Underwater computer vision is notoriously difficult. Light attenuates rapidly, colors shift—with red being absorbed first—and suspended particles create turbidity, or "medium noise." While sonar is effective for long-range sensing, it lacks the resolution required for precise tasks such as docking or close-range inspection.
Standard algorithms like SIFT or SURF often fail in these environments because artificial markers are frequently smooth and featureless. Furthermore, traditional template matching is highly sensitive to lighting changes and distortions caused by water refraction. This research aims to create a detection and tracking system that remains stable despite cloudy water and uneven lighting.
Proposed Methodology
To overcome these hurdles, we developed a multi-stage pipeline centered on a novel Weighted Correlation Coefficient (WCC).
Weighted Correlation Coefficient (WCC)
The WCC is the core innovation of this system. Instead of a simple pixel-to-pixel comparison, the system calculates and blends three distinct correlation scores:
- Standard Matching: Basic pixel-wise comparison.
- Adaptive Thresholding: Converts images to binary based on local contrast, providing robustness against lighting fluctuations.
- Color-Region Aided: Specifically analyzes the "Cr" (red-difference) channel of the YCrCb color space to isolate the red artificial targets.
Multi-Template Matching and Tracking
To handle various shapes and viewing angles, the system runs multiple templates simultaneously. It utilizes a "winner-takes-all" approach where the template with the highest correlation score identifies the object. Once detected, the system switches to a Mean Shift algorithm for tracking, which is computationally efficient as it focuses on the color histogram of the target area rather than re-running full detection on every frame.
Experimental Setup
The system was tested using high-fidelity data generated in a controlled environment:
- Platform: The yShark AUV developed by KORDI.
- Targets: Four 3D artificial markers: a sphere, a cone, a cross, and a cylinder.
- Conditions: 1,629 frames of video at 15fps were captured in a water basin using only the robot's onboard LED lamps to simulate deep-sea conditions.
Key Results and Insights
The fusion of different matching criteria proved highly effective. While standard template matching often produces ambiguous results in noisy backgrounds, the weighted approach creates a sharp, distinct correlation peak.
Quantitative analysis showed significant improvements:
- Detection Accuracy: Using the WCC improved the True Positive Rate (TPR) from 77.8% to 87.9% for single templates.
- Multi-Template Performance: Combining the multi-template approach with WCC resulted in a near-perfect detection rate of 98.7%.
- Robustness: The system demonstrated superior performance at the image periphery, where lens distortion typically causes traditional methods to fail.
Conclusion
This study demonstrates that combining geometric templates with color and contrast-aware weighting significantly enhances underwater object detection. While currently tested in controlled basins with red markers, future work will focus on adapting these algorithms for more dynamic open-sea environments where marine snow and unpredictable currents present further challenges.
Summary updated