Underwater image pre-processing for photogrammetric application