CameronBodine / PINGMapper

Open-source interface for processing recreation-grade side scan sonar datasets and reproducibly mapping benthic habitat
https://cameronbodine.github.io/PINGMapper/
MIT License
43 stars 3 forks source link

For rectify parallel #20

Closed CameronBodine closed 2 years ago

CameronBodine commented 2 years ago

Altered workflow for exporting rectified imagery to take advantage of all available threads on a cpu. Previously, rectified image export only used 2 threads (port & star). New workflow was tested on a recording from the Leaf: LEA_20210408_Rec00012 which is approximately 108 minutes long in duration. Only rectified water column present imagery was exported, along with metadata from each sonar beam. No additional exports.

Original 2-thread workflow export of 182 rectified images per side took 41 minutes. New workflow utilizing all cpu resources available (12-threads) took 12 minutes!!! Huge performance gain!