Method and device for adjusting display brightness
AssigneeXiaomi Inc.
InventorsGuosheng Li, Anyu Liu, Hui Du
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to methods and devices for adjusting display brightness. A method may include determining original gray scale values of pixels of a display. The method may further include performing gray scale transformation on the original gray scale values of the pixels of the display to determine transformed gray scale values. The method may further include adjusting gray scale values of the pixels of the display to the transformed gray scale values.
Claims25
A method for adjusting display brightness, comprising:
- determining original gray scale values of pixels of a display;
- performing gray scale transformation on the original gray scale values of the pixels of the display to determine transformed gray scale values;
- adjusting gray scale values of the pixels of the display to the transformed gray scale values;
- detecting a current ambient brightness value;
- adjusting a display brightness value of a screen according to the detected current ambient brightness value;
- re-determining respective brightness at different positions on the display after the brightness of the screen is adjusted;
- and
- re-adjusting gray scale values of parts on the display with different respective brightness to varying respective degrees according to a relationship between an input gray scale value and a corresponding output gray scale value including a ratio of the input gray scale value to the corresponding output gray scale value,
- wherein each ratio is greater than or equal to 1, and when the adjusted display brightness value of the screen is higher than a preset display brightness value, a respective output gray scale value of each pixel of the display is adjusted according to a respective ratio corresponding to a respective level of gray scale value of the pixel.
A device for adjusting display brightness, comprising:
- a processor;
- and
- a memory in communication with the processor, configured to store instructions executable by the processor;
- wherein the processor is configured to:
- determine original gray scale values of pixels of a display;
- perform gray scale transformation on the original gray scale values of the pixels of the display to determine transformed gray scale values;
- adjust gray scale values of the pixels of the display to the transformed gray scale values;
- detect a current ambient brightness value;
- adjust a display brightness value of a screen according to the detected current ambient brightness value;
- re-determine respective brightness at different positions on the display after the brightness of the screen is adjusted;
- and
- re-adjust gray scale values of parts on the display with different respective brightness to varying respective degrees according to a relationship between an input gray scale value and a corresponding output gray scale value including a ratio of the input gray scale value to the corresponding output gray scale value,
- wherein each ratio is greater than or equal to 1, and when the adjusted display brightness value of the screen is higher than a preset display brightness value, a respective output gray scale value of each pixel of the display is adjusted according to a respective ratio corresponding to a respective level of gray scale value of the pixel.
A non-transitory computer-readable storage medium having stored therein instructions for adjusting display brightness, the instructions configured to, when executed by a processor of a device, cause the device to:
- determine original gray scale values of pixels of a display;
- perform gray scale transformation on the original gray scale values of the pixels of the display to determine transformed gray scale values;
- adjust gray scale values of the pixels of the display to the transformed gray scale values;
- detect a current ambient brightness value;
- adjust a display brightness value of a screen according to the detected current ambient brightness value;
- re-determine respective brightness at different positions on the display after the brightness of the screen is adjusted;
- and
- re-adjust gray scale values of parts on the display with different respective brightness to varying respective degrees according to a relationship between an input gray scale value and a corresponding output gray scale value including a ratio of the input gray scale value to the corresponding output gray scale value,
- wherein each ratio is greater than or equal to 1, and when the adjusted display brightness value of the screen is higher than a preset display brightness value, a respective output gray scale value of each pixel of the display is adjusted according to a respective ratio corresponding to a respective level of gray scale value of the pixel.
Dependencies are inferred from the claim text.