Open-source software for analyzing sonar data
A wealth of data
Recreational sonars can record different kinds of data including that from down-looking sensors and side-scan systems. The down-looking sonar beam show the water column, including fish, plants etc., and can be used to characterized the sediment surface. Side-scan provides high-resolution imagery of the bottom and can quickly be used to map large areas. There is a large potential to use this data for both recreational and research purposes. However, it is often ‘locked’ in proprietary file formats and the user needs to purchase software to access the data. An exception to this, is the PyHum software used to process Hummingbird sonar data.
New software for analyzing sonar data
To provide an open-source alternative for processing sonar data, I have initiated the development of the sonaR R-package (see also the newer Python package sonarlight). The package is still in its infancy and subject to further development. It has three main goals: to read, visualize and analyze sonar data. At the moment, only the Lowrance ‘.sl2’ and ‘.sl3’ file formats are supported. These formats are proprietary but its general structure have been resolved allowing the data to be read (see also link 1, link 2, link 3 and this paper). To speed things up, the reading is done using C++ through the Rcpp R-package. Once files have been read, there are many different options for analyzing the data. The goal is, that the package will include several processing options:
- Interpolation of depth and other sonar data
- Characterize the sediment surface
- Geo-referencing side-scan images
- Side-scan image normalization
Some of these steps can be carried out by simple image analysis techniques. However, applying machine learning techniques to this data could be exciting as one could map, detect and classify submerged macrophytes, fish or other objects below surface.
Example of side-scan sonar image. This, and the header image have been created using the sonaR R-package