The invention relates to a self-adaptive
underwater image enhancement system and method suitable for medium-
deep water turbid scenes, and belongs to the technical field of
underwater image enhancement. Comprising the following steps: S1, selecting a reference channel based on RGB channel pixel mean value distribution of an
underwater image, performing adaptive
color compensation on an attenuation channel, and automatically optimizing compensation parameters through a
particle swarm optimization algorithm; s2, global
contrast enhancement and local
contrast enhancement are carried out on the image after
color compensation, the global
contrast enhancement adopts an improved
histogram double-end stretching method, and the local contrast enhancement adopts a CLAHE
algorithm combined with guiding filtering
noise reduction; and S3, performing multi-scale fusion on the global contrast enhancement result and the local contrast enhancement result based on an image
pyramid technology, and generating a final enhanced image through
weight distribution and layered reconstruction. A self-adaptive color channel compensation formula is provided, and self-adaptive
color compensation is performed on channels which are easy to attenuate, so that the problem of color cast is solved, and the visual effect of an image is remarkably improved. By further enhancing the contrast and improving the texture of the underwater image after the color cast is improved and utilizing an image
pyramid technology to realize multi-scale fusion, the problems of blurring and
low contrast caused by underwater scattering particles in the prior art are solved.