Hamidreza Farhadi Toliea, b · Jinchang Rena, b · Md Junayed Hasana, b · Somasundar Kannanb · Nazila Foughb
a National Subsea Centre, Robert Gordon University, UK
b School of Computing, Engineering, and Technology, Robert Gordon University, UK
This repository contains collected sonar data during the experiments with their associated ground-truth distance measurements.
The subsea environment presents numerous challenges for robotic vision, including non-uniform light attenuation, backscattering, floating particles, and low-light conditions, which significantly degrade underwater images. This degradation impacts robotic operations that heavily rely on environmental feedback. However, these limitations can be mitigated using sonar imaging, which employs sound pulses instead of light. In this paper, we explore the use of small, affordable sonar devices for automatic target object localization and distance measurement. Specifically, we propose using a promptable image segmentation method to identify target objects within sonar images, leveraging its ability to identify connected components without requiring labeled datasets. Through laboratory experiments, we analyzed the usability of the Ping360 single-beam sonar and verified the effectiveness of our approach in the automatic identification and distance measurement of objects made from various materials.
Figure 1: General framework of the proposed methodology using SAM
Figure 2: A schematic diagram of the testing environment within a water tank
To utilize the DICAM method for training, please follow these steps:
-
Download the Segment-Anything model and checkpoints from its respective source.
-
Run the offline_detector.py script to generate the SONAR image from the shared data and then produce the detection result.
-
Run the acquisition_detection.py script to have real-time data acquistion and target detection using Ping360 and Segment-Anything, respectively.
Ping-Python -> https://github.com/bluerobotics/ping-python
@INPROCEEDINGS{10765703,
author={Tolie, Hamidreza Farhadi and Ren, Jinchang and Hasan, Md. Junayed and Kannan, Somasundar and Fough, Nazila},
booktitle={2024 IEEE International Workshop on Metrology for the Sea; Learning to Measure Sea Health Parameters (MetroSea)},
title={Promptable Sonar Image Segmentation for Distance Measurement Using SAM},
year={2024},
volume={},
number={},
pages={229-233},
keywords={Water;Image segmentation;Accuracy;Thresholding (Imaging);Sonar measurements;Storage management;Sea measurements;Distance measurement;Object recognition;Usability;Sonar image segmentation;distance measurement;Ping360;single-beam sonar},
doi={10.1109/MetroSea62823.2024.10765703}}
If you have any enquires or feedback, please do not hesitate to contact us via @([email protected], [email protected])
We extend our gratitude to the creators of Segment-Anything for generously sharing their source code, which can be accessed here. This has greatly simplified the process of loading images from individual datasets.
This project is licensed under the MIT License.