Introduction - If you have any usage issues, please Google them yourself
Image illumination compensation algorithm, " reference white" algorithm. The brightness of all pixels in the entire image are arranged high to low, taking the top 5 of the pixels, if the number of these pixels enough (e.g., " 100), which will be used as reference white luminance, the RGB components thereof are adjusted to a maximum of 255 other pixel color values according to this scale also adjusted.