Single underwater image restoration based on color correction and optimized transmission map estimation