Method and apparatus for adjusting image luminance, storage medium, and electronic device
Abstract:
This application discloses a method for adjusting image luminance performed at an electronic device. The method includes: determining that an original luminance of a target pixel in an image is lower than a luminance threshold of the image, the luminance threshold being determined according to luminance of pixels in the image; in accordance with the determination: obtaining a luminance distribution intensity of pixels adjacent to the target pixel in the image; determining a luminance difference between the luminance threshold and the luminance distribution intensity of the adjacent pixels; and adjusting the original luminance of the target pixel to a corresponding target luminance according to the luminance difference. By preserving the changing characteristic of relative luminance between the target pixel and the adjacent pixel, the luminance adjustment is more consistent with the luminance distribution of the image, thereby achieving a technical effect of improving the luminance adjustment on an image.
Information query
Patent Agency Ranking
0/0