Focused Beamforming for Underwater Imaging: Depth of Field and Range Resolution Optimization