Introduction - If you have any usage issues, please Google them yourself
An improved global Retinex algorithm, first calculate the relative brightness between pixels, and then through the pixel point and determine the relative difference between light and dark pixel values