The application provides a
side scan sonar file
processing method, and relates to the technical field of
sonar image processing. The method comprises the following steps: acquiring block information according to the global image size of a
side scan sonar file, wherein the block information comprises the total number of columns and the total number of rows of tiles; updating the pixel information of each tile based on the geographical range corresponding to the pulse strip and the tile of the
side scan sonar file, wherein the pixel information comprises an image data array, an effective area marker array and a pixel count array; and generating an image file corresponding to each tile, wherein the image file comprises the pixel information, and the image file is used to generate a video corresponding to the side scan
sonar file. The embodiment of the application can avoid memory overflow caused by loading global data at one time, greatly reduce memory consumption, independently output an image file for each tile, realize multi-thread parallelism, improve overall
processing efficiency, and be suitable for different specifications of
sonar files and hardware devices, and has strong
engineering landing performance.