While I was in the Navy, I was working on a project which required that we correct the distortion in images produced by sidescan sonar. Sidescan sonar produces images that are skewed, with closer areas being more compressed than areas further away. This is the “slantrange” effect.

I wrote a MATLAB program to import SideScan data from our platform, detect the signatures associated with the surface and bottom, and then use that data to correct the distortion in the image and display the results side-by-side.