Chesapeake Times, Vol 19 | October 2024

In the last CTI Times Newsletter, my colleague Jonathan Fleetwood wrote about the Faster Tiling Output he was working on for the SonarWiz V8.01.00 release.   Many CTI users use the Tiled GeoImage exports for the final deliverable product.  One of the development goals this year was to improve the speed of sonar data rendering.  We were surprised to receive reports from our customers that SonarWiz 8 was taking longer to export tiles than SonarWiz 7.10.2.  When we started investigating why this was happening we observed that it typically took ~30% longer to export the same data using the same settings in SonarWiz 8.  

After digging into the issue by comparing times between SonarWiz versions and examining how much time each section of the export code took we found that the increase in time was coming from a library that we use for working with GeoTIFF and tiling large images.   We had upgraded this library in SonarWiz V7.11.02 and again in 8.01.00 to improve compatibility with the geodesy library in SonarWiz.  A side effect of doing this investigation is that we learned that SonarWiz was spending more time creating the tiles in the 2nd stage than it does rendering and saving the tiles in the 1st stage of a 2 stage process (outlined in the previous article on Faster Tiling Output).  We did some more analysis and found that we could eliminate one of the stages and save a significant amount of export time.

This comes back around to our 2024 goal of improving the speed of exports.  We previously had been analyzing and testing out new ways of rendering the sonar data in order to speed up plan view drawing and exports.  The improvements we were seeing were much smaller than this now obvious inefficiency.  This was very exciting as it was something we had not considered looking at other parts of the process.  Ultimately, we were able to eliminate the 2nd stage for the tiled GeoTIFF output entirely resulting in a greatly reduced export time.  Now time for some benchmark measurements.   For this article I tested 3 versions of SonarWiz using 2 Side Scan Sonar projects.  Shown below are the results.

#image_title

From the benchmark measurements we can see that the GeoTIFF tile export is at least 3 to 4 times faster than previous versions of SonarWiz.  We are very excited to get this improvement out to our users.  It will save a lot of time.

Related Posts