CN107978264B - Display brightness adjusting method and device - Google Patents

Display brightness adjusting method and device Download PDF

Info

Publication number
CN107978264B
CN107978264B CN201711086524.7A CN201711086524A CN107978264B CN 107978264 B CN107978264 B CN 107978264B CN 201711086524 A CN201711086524 A CN 201711086524A CN 107978264 B CN107978264 B CN 107978264B
Authority
CN
China
Prior art keywords
gray scale
value
pixel point
brightness
scale value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711086524.7A
Other languages
Chinese (zh)
Other versions
CN107978264A (en
Inventor
李国盛
刘安昱
杜慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Publication of CN107978264A publication Critical patent/CN107978264A/en
Application granted granted Critical
Publication of CN107978264B publication Critical patent/CN107978264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2003Display of colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Abstract

The disclosure relates to a display brightness adjusting method and device. The method comprises the following steps: acquiring an original gray scale value of a pixel point in a display interface; performing gray scale transformation on the pixel points to obtain transformed gray scale values of the pixel points; adjusting the gray scale of the display interface according to the converted gray scale value of the pixel point; wherein, the performing gray scale transformation on the pixel point to obtain a transformed gray scale value of the pixel point includes: acquiring corresponding relation data of gray scale conversion, wherein the corresponding relation data comprises a converted gray scale value corresponding to an original gray scale value of the pixel point; and inquiring the transformed gray-scale value corresponding to the original gray-scale value of the pixel point from the corresponding relation data. Through the embodiment of the disclosure, in an environment with extremely low brightness, the display system can output extremely low brightness, the damage to eyes is reduced, and the display system is suitable for the low-brightness environment without lighting equipment.

Description

Display brightness adjusting method and device
Technical Field
The present disclosure relates to the field of image processing, and in particular, to a method and an apparatus for adjusting display brightness.
Background
In daily life, many people have the habit of playing smart devices such as mobile phones before sleeping, and if the light is turned on at the moment, energy is wasted, and other people are affected. If the mobile phone is used in an environment with extremely low brightness (such as 0.001lux at night) without turning on the light, the solution of most people is to reduce the brightness of the mobile phone, but the current brightness is difficult to achieve extremely low brightness due to the limitations of lcd backlight circuits, structures, control modes and cost, so that the mobile phone is greatly harmful to eyes when used in an extremely dark environment (such as 0.001lux at night).
Disclosure of Invention
The disclosure provides a display brightness adjusting method and device.
A first aspect of an embodiment of the present disclosure provides a display brightness adjustment method, including:
acquiring an original gray scale value of a pixel point in a display interface;
performing gray scale transformation on the pixel points to obtain transformed gray scale values of the pixel points;
adjusting the gray scale of the display interface according to the converted gray scale value of the pixel point;
the performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
acquiring corresponding relation data of gray scale conversion, wherein the corresponding relation data comprises a converted gray scale value corresponding to an original gray scale value of the pixel point;
and inquiring the transformed gray-scale value corresponding to the original gray-scale value of the pixel point from the corresponding relation data.
Optionally, performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
obtaining a transformation function of gray scale transformation;
and calculating to obtain the transformed gray-scale value of the pixel point according to the transformation function and the original gray-scale value of the pixel point.
Optionally, performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
detecting the current environment brightness;
selecting corresponding relation data or a transformation function for gray scale transformation according to the current environment brightness;
and inquiring the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected corresponding relation data, or calculating the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected transformation function.
Optionally, performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
acquiring the display digit of the original gray scale value;
selecting corresponding relation data or a transformation function for gray scale transformation according to the display digit of the original gray scale value;
and inquiring the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected corresponding relation data, or calculating the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected transformation function.
Optionally, performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
detecting the current environment brightness;
and when the current environment brightness is smaller than or equal to a preset brightness value, performing gray scale transformation on the pixel point to obtain a transformed gray scale value of the pixel point.
Optionally, the method further includes:
detecting a brightness value of the environment;
adjusting the screen display brightness value according to the environment brightness value;
judging the relation between the current brightness value after the screen adjustment and a set value;
when the current brightness value is judged to be lower than the first set brightness, adjusting the first class gray scale value;
and when the current brightness value is judged to be higher than the second set brightness, adjusting the second type of gray scale value.
Optionally, before the obtaining of the original gray scale value of the pixel point in the display interface, the method further includes:
detecting the brightness value of a pixel point in a display interface;
judging whether the brightness value of the detected pixel points in the interface exceeds a set brightness value or not;
when the pixel point exceeding the set brightness value is judged, determining the position information of the pixel point exceeding the set brightness value;
and adjusting the gray-scale value of the pixel point at the determined position.
Optionally, the method further includes:
acquiring a color gamut space value displayed on a screen;
and adjusting the gray scale value of each pixel point in the display interface according to the obtained color gamut space value.
Optionally, the method further includes:
establishing a corresponding relation of input gray-scale values and output gray-scale values of different groups corresponding to each pixel point, wherein the corresponding relation is that the ratio of the input gray-scale values to the output gray-scale values changes nonlinearly or linearly along with the gray-scale values, and the ratio of the input gray-scale values to the output gray-scale values is not less than 1;
and when the acquired screen brightness value is higher than the set brightness, adjusting the output gray value of the pixel point of the screen display interface according to the ratio.
A second aspect of an embodiment of the present disclosure provides a display luminance adjusting apparatus, including:
the acquisition module is used for acquiring the original gray scale value of the pixel point in the display interface;
the transformation module is used for carrying out gray scale transformation on the pixel points to obtain transformed gray scale values of the pixel points;
the adjusting module is used for adjusting the gray scale of the display interface according to the converted gray scale value of the pixel point;
the transformation module comprises:
the first obtaining submodule is used for obtaining corresponding relation data of gray scale conversion, and the corresponding relation data comprises converted gray scale values corresponding to original gray scale values of the pixel points;
the query submodule is used for querying the transformed gray-scale value corresponding to the original gray-scale value of the pixel point from the corresponding relation data;
optionally, the transformation module comprises:
the second obtaining submodule is used for obtaining a transformation function of gray scale transformation;
and the calculation submodule is used for calculating to obtain the converted gray-scale value of the pixel point according to the conversion function and the original gray-scale value of the pixel point.
Optionally, the transformation module further includes:
the detection submodule is used for detecting the current environment brightness;
the selection submodule is used for selecting corresponding relation data for gray scale conversion according to the current environment brightness;
and the query submodule is used for determining a transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected corresponding relation data.
In one embodiment, the transformation module further comprises:
the detection submodule is used for detecting the current environment brightness;
the selection submodule is used for selecting a transformation function for gray scale transformation according to the current environment brightness;
and the calculation submodule is used for determining a transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected transformation function.
In one embodiment, the first obtaining sub-module is configured to:
acquiring the display digit of the original gray scale value;
selecting corresponding relation data for gray scale conversion according to the display digit of the original gray scale value;
and the query submodule is used for querying the transformed gray-scale value corresponding to the original gray-scale value of the pixel point according to the selected corresponding relation data.
In one embodiment, the second obtaining sub-module is configured to:
acquiring the display digit of the original gray scale value;
selecting a transformation function for gray scale transformation according to the display digit of the original gray scale value;
and the calculation submodule is used for calculating a converted gray scale value corresponding to the original gray scale value of the pixel point according to the selected conversion function.
Optionally, the transformation module includes:
the detection submodule is used for detecting the current environment brightness;
and the transformation submodule is used for carrying out gray scale transformation on the pixel point when the current environment brightness is less than or equal to a preset brightness value to obtain a transformed gray scale value of the pixel point.
Optionally, the apparatus further comprises:
the first detection module is used for detecting the brightness value of the environment;
the second adjusting module is used for adjusting the screen display brightness value according to the environment brightness value;
the first judgment module is used for judging the relationship between the current brightness value after the screen adjustment and a set value;
the first adjusting module is used for adjusting the first class gray scale value when the current brightness value is judged to be lower than the first set brightness; and when the current brightness value is judged to be higher than the second set brightness, adjusting the second type of gray scale value.
Optionally, the apparatus further comprises:
the second detection module is used for detecting the brightness value of the pixel point in the display interface before the original gray scale value of the pixel point in the display interface is obtained;
the second judgment module is used for judging whether the brightness value of the detected pixel point in the interface exceeds a set brightness value or not;
the determining module is used for determining the position information of the pixel points exceeding the set brightness value when the pixel points exceeding the set brightness value are judged;
and the first adjusting module is used for adjusting the gray-scale value of the pixel point at the determined position.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring a color gamut space value displayed on a screen;
the first adjusting module is configured to adjust a gray scale value of each pixel point in the display interface according to the obtained color gamut space value.
Optionally, the apparatus further comprises:
the establishing module is used for establishing a corresponding relation between input gray-scale values and output gray-scale values of different groups corresponding to each pixel point, wherein the corresponding relation is that the ratio of the input gray-scale values to the output gray-scale values changes nonlinearly or linearly along with the gray-scale values, and the ratio of the input gray-scale values to the output gray-scale values is not less than 1;
and the first adjusting module is used for adjusting the output gray value of the pixel point of the screen display interface according to the ratio when the acquired screen brightness value is higher than the set brightness.
A third aspect of embodiments of the present disclosure provides a display luminance adjusting apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring an original gray scale value of each pixel point in a display interface;
performing gray scale transformation on the pixel points to obtain transformed gray scale values of the pixel points;
adjusting the gray scale of the display interface according to the converted gray scale value of the pixel point;
the performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
acquiring corresponding relation data of gray scale conversion, wherein the corresponding relation data comprises a converted gray scale value corresponding to an original gray scale value of the pixel point;
and inquiring the transformed gray-scale value corresponding to the original gray-scale value of the pixel point from the corresponding relation data.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in the environment with extremely low brightness, the display system can output extremely low brightness, reduces the harm to eyes and is suitable for the low-brightness environment without lighting equipment. And all display contents are effective, but not limited to a certain application program, so that a corresponding night mode does not need to be developed independently for each application degree, the size of a resource file is reduced, the storage space is saved, the operation is simple, and the user experience is better.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a method of display brightness adjustment according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of display brightness adjustment according to another exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of display brightness adjustment according to another exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of display brightness adjustment according to another exemplary embodiment;
FIG. 5 is a flow chart illustrating a method of display brightness adjustment according to another exemplary embodiment;
FIG. 6 is a flow chart illustrating a method of display brightness adjustment according to another exemplary embodiment;
FIG. 7a is a schematic diagram of an original display interface shown in accordance with another exemplary embodiment;
FIG. 7b is a schematic illustration of a transformed display interface shown in accordance with another exemplary embodiment;
FIG. 8 is a schematic diagram illustrating a gray scale transition curve according to another exemplary embodiment;
FIG. 9 is a flow chart illustrating a method of display brightness adjustment according to another exemplary embodiment;
FIG. 10 is a flow chart illustrating a method of display brightness adjustment according to another exemplary embodiment;
FIG. 11 is a flow chart illustrating a method of display brightness adjustment according to another exemplary embodiment;
FIG. 12 is a flow chart illustrating a method of display brightness adjustment according to another exemplary embodiment;
fig. 13 is a block diagram illustrating a display brightness adjustment apparatus according to an exemplary embodiment;
FIG. 14 is a block diagram illustrating a transformation module in accordance with an exemplary embodiment;
FIG. 15 is a block diagram illustrating a transformation module in accordance with another illustrative embodiment;
FIG. 16 is a block diagram illustrating a transformation module in accordance with another illustrative embodiment;
FIG. 17 is a block diagram of a transform module shown in accordance with another exemplary embodiment;
fig. 18 is a block diagram illustrating a display luminance adjusting apparatus according to another exemplary embodiment;
fig. 19 is a block diagram illustrating a display luminance adjusting apparatus according to another exemplary embodiment;
fig. 20 is a block diagram illustrating a display luminance adjusting apparatus according to another exemplary embodiment;
fig. 21 is a block diagram illustrating a display luminance adjusting apparatus according to another exemplary embodiment;
fig. 22 is a block diagram illustrating an apparatus for display brightness adjustment according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the embodiment of the disclosure, the gray scale value of the display interface is changed when the brightness is low, so as to achieve the purpose of not damaging eyes and not sacrificing image quality.
Fig. 1 is a flowchart illustrating a display brightness adjustment method according to an exemplary embodiment, where the display brightness adjustment method is used in a terminal, as shown in fig. 1, and includes the following steps.
In step S11, obtaining an original gray scale value of a pixel point in the display interface;
in step S12, performing gray-scale conversion on the pixel point to obtain a converted gray-scale value of the pixel point;
in step S13, the gray scale of the display interface is adjusted according to the transformed gray scale values of the pixels.
In the embodiment, the gray scale of the display interface is adjusted, and the brightness and the contrast of the display interface are changed, so that when the ambient brightness is low, the backlight transmittance of the display interface with the lowered gray scale is reduced, the overall brightness and the contrast of the display interface are obviously reduced, and the purpose of protecting the eyesight of a screen user is achieved; in addition, in a low-brightness environment, the influence of the reduction of the brightness and the contrast of the display interface on the display image quality is small, so that the requirements of users on the image quality can be met, the power consumption of the terminal is saved, and the user experience is good.
As shown in fig. 2, optionally, step S12 includes:
in step S21, obtaining correspondence data of the gray scale conversion, where the correspondence data includes a converted gray scale value corresponding to an original gray scale value of the pixel point;
in step S22, the transformed gray-scale values corresponding to the original gray-scale values of the pixels are searched for from the correspondence data.
Fig. 3 is a flowchart illustrating a display brightness adjustment method according to another exemplary embodiment, and as shown in fig. 3, optionally, step S12 includes:
in step S31, a transformation function of the grayscale transformation is acquired;
in step S32, a transformed gray scale value of each pixel is calculated according to the transformation function and the original gray scale value of each pixel.
In an alternative scheme, corresponding relation data of gray scale conversion can be preset, converted gray scale values corresponding to original gray scale values of pixel points are inquired through the corresponding relation data, a conversion function of gray scale conversion can also be preset, and the converted gray scale values corresponding to the original gray scale values of the pixel points are calculated according to the conversion function. Therefore, the gray scale value after gray scale conversion can be determined quickly and accurately, so that the brightness and the contrast of the display interface can be adjusted to the degree of adapting to the brightness of the current environment, and the image quality is ensured on the premise of not damaging the eyesight of a user.
Optionally, the corresponding relationship data may include randomly selected uniformly distributed original gray scale values and corresponding transformed gray scale values. For example, when the original gray-scale values are 0 to 255, the corresponding relationship data may only include the transformed gray-scale values corresponding to 10 original gray-scale values, as shown in table 1 below,
TABLE 1
Original gray scale value Transformed gray scale value
0 0
25 20
65 45
95 55
95 75
175 95
190 105
210 90
235 155
255 170
According to the corresponding relation data in table 1, a gray scale transformation curve can be fitted, and according to the curve, transformed gray scale values corresponding to all the original gray scale values can be obtained.
Fig. 4 is a flowchart illustrating a display brightness adjustment method according to another exemplary embodiment, as shown in fig. 4, optionally, step S12 includes:
in step S41, a luminance value of the environment is detected;
in step S42, selecting the correspondence data or the transformation function for the grayscale transformation according to the luminance value of the environment;
in step S43, the transformed gray scale value corresponding to the original gray scale value of the pixel point is queried according to the selected correspondence data, or the transformed gray scale value corresponding to the original gray scale value of the pixel point is calculated according to the selected transformation function.
In an alternative scheme, corresponding relation data or a transformation function of corresponding gray scale transformation can be selected according to the environment brightness, namely, different brightness transformation bases are adopted for gray scale adjustment of a display interface in different environment brightness environments. For example, when the ambient brightness is 0.001lux, the correspondence table a is selected for the grayscale conversion; when the ambient brightness is 0.003lux, selecting the corresponding relation table B for gray scale conversion; and so on. Under different environment brightness, the adjustment targets of the gray scales of the display interface are different, and corresponding relation data or a transformation function is selected according to the environment brightness, so that the brightness and the contrast of the display interface are always adapted to the environment brightness, the eyesight of a screen user is better protected, and the user experience is better.
Fig. 5 is a flowchart illustrating a display luminance adjusting method according to another exemplary embodiment, as shown in fig. 5, optionally, step S12 includes:
in step S51, the number of display bits of the original grayscale value is acquired;
in step S52, selecting the corresponding relation data or the transformation function for the gray-scale transformation according to the display bit number of the original gray-scale value;
in step S53, the transformed gray scale value corresponding to the original gray scale value of the pixel point is queried according to the selected correspondence data, or the transformed gray scale value corresponding to the original gray scale value of the pixel point is calculated according to the selected transformation function.
In an alternative scheme, corresponding relation data or a transformation function of corresponding gray scale transformation can be selected according to gray scale display digit. For example, when the gray scale display bit number is 8 bits, the corresponding relation table 1 is selected for gray scale conversion; when the gray scale display digit is 10 bits, selecting the corresponding relation table 2 for gray scale conversion; and so on. Therefore, the gray scale adjustment can adapt to display interfaces with different display parameters, namely, for application programs with different display parameters, the method can be adopted to carry out gray scale adjustment, and the application range is wider.
Fig. 6 is a flowchart illustrating a display luminance adjusting method according to another exemplary embodiment, as shown in fig. 6, optionally, step S12 includes:
in step S61, the current ambient brightness is detected;
in step S62, when the current ambient brightness is less than or equal to the preset brightness value, the gray-scale conversion is performed on the pixel point to obtain a converted gray-scale value of the pixel point.
In an alternative scheme, only when the ambient brightness is lower than a certain degree, for example, when the ambient brightness is less than or equal to 0.1lux, the gray scale adjustment is performed on the display interface, so that the gray scale of the display interface is prevented from being frequently adjusted according to the ambient brightness, the processing capability and the power consumption of the terminal are saved, and the user experience is better.
As shown in fig. 7a and 7b, the gray scale value of the bright portion is significantly reduced, so that the transmittance of the backlight is reduced, the overall brightness is significantly reduced, and the contrast of the screen is also reduced. In a low-luminance environment, the contrast reduction does not greatly affect the image quality, and therefore, it is sufficient to meet the user's requirements.
In a display processor (for example, a display processor of an AP or a DDIC), a series of lookup tables are set, and the original gray-scale data is converted through the corresponding lookup tables, specifically which set of lookup tables is called, and the conversion can be automatically selected according to the ambient light brightness or manually selected. The lookup table is a group of numbers, the content is different according to the bit number difference of the gray scale, if the gray scale is 8 bits for display, the original gray scale value and the converted gray scale value of the lookup table are between 0 and 255; if the gray scale is 10bit display, the original gray scale value of the lookup table and the transformed gray scale value are between 0 and 1023.
As shown in fig. 8, for example, if the original gray level value is a straight line a, if the B curve is selected as the lookup table, the gray level value of 255 in the data becomes 175, and the 256 th cell of the lookup table should be (175/255) × 255; when the 150 gray level becomes 90, the number corresponding to the 150 gray level in the lookup table is (90/150) × 255. The lookup tables are normalized to the power of 8 of 2 or to the power of 10 of 2.
Fig. 9 is a flowchart illustrating a display brightness adjustment method according to another exemplary embodiment, as shown in fig. 9, the method further includes, optionally:
in step S91, a luminance value of the environment is detected;
in step S92, adjusting the screen display brightness value according to the environment brightness value;
in step S93, the relationship between the current brightness value after screen adjustment and the set value is determined;
in step S94, when the current brightness value is lower than the first set brightness, adjusting the first class gray scale value;
in step S95, when the current brightness value is higher than the second set brightness, the second type gray scale value is adjusted.
When the ambient brightness is low, the terminal automatically adjusts the display brightness of the screen, but the adjusted display brightness of the screen is still likely to be bright for the user, and after the user opens some application programs, the display brightness on the screen still returns to the brightness before brightness adjustment, so that the user experience is poor. In an alternative scheme, after the brightness of the screen is adjusted, the brightness of different positions on the screen is judged again, and different gray scale adjustments are performed on parts with different brightness, as shown in fig. 7a, the gray scale value of the upper half part of the screen is larger, the brightness is lower, gray scale adjustment is not required, the gray scale of the lower half part of the screen is smaller, the brightness is higher, and only the lower half part of the screen can be adjusted. Therefore, under any condition, the brightness of the screen display interface can be effectively reduced, and the purpose of protecting the eyesight of a screen user is achieved.
Fig. 10 is a flowchart illustrating a display brightness adjustment method according to another exemplary embodiment, as shown in fig. 10, before the obtaining of the original gray-scale values of the pixels in the display interface, optionally, the method further includes:
in step S101, detecting a brightness value of a pixel point in a display interface;
in step S102, determining whether the brightness value of the detected pixel point in the interface exceeds a set brightness value;
in step S103, when it is determined that the brightness value exceeds the set brightness value, determining location information of the pixel point exceeding the set brightness value;
in step S104, the gray level of the pixel at the determined position is adjusted.
In the alternative scheme, the gray scale of each pixel point is adjusted according to the brightness of each pixel point on the screen, so that the brightness of a screen display interface can be reduced more quickly and accurately, and the purpose of protecting the eyesight of a screen user is achieved.
Fig. 11 is a flowchart illustrating a display brightness adjustment method according to another exemplary embodiment, as shown in fig. 11, optionally, the method further includes:
in step S111, a color gamut space value of the screen display is acquired;
in step S112, the gray scale value of each pixel point in the display interface is adjusted according to the obtained color gamut space value.
In an alternative scheme, a color gamut space value displayed on a screen, that is, a numerical value corresponding to a range region formed by the number of colors that can be expressed by a certain color expression mode of the screen, is further acquired, and different gray scale adjustments are adopted for different color gamut spaces. Therefore, the adjustment of the screen brightness is more in line with the performance of the screen, the brightness adjustment effect is better, and the eyesight of a user is protected.
Fig. 12 is a flowchart illustrating a display brightness adjustment method according to another exemplary embodiment, as shown in fig. 12, the method further includes, optionally:
in step S121, establishing a corresponding relationship between input gray scale values and output gray scale values of different sets corresponding to each pixel point, where the corresponding relationship is that a ratio of the input gray scale values to the output gray scale values changes nonlinearly or linearly with a gray scale value, and the ratio of the input gray scale values to the output gray scale values is not less than 1;
in step S122, when the acquired screen brightness value is higher than the set brightness, the output gray scale value of the pixel point of the screen display interface is adjusted according to the ratio.
In an alternative scheme, a corresponding relation of gray scale adjustment can be established in advance, and the gray scale value of the adjusted screen is larger than that of the screen before adjustment, so that the brightness of the adjusted screen is reduced, and the eyesight of a user is protected.
In the embodiment, in the environment with extremely low brightness, the display system can output extremely low brightness, the damage to eyes is reduced, and the method is suitable for the low-brightness environment without lighting equipment.
And all display contents are effective, but not limited to a certain application program, so that a corresponding night mode does not need to be developed independently for each application degree, the size of a resource file is reduced, the storage space is saved, the operation is simple, and the user experience is better.
Fig. 13 is a block diagram illustrating a display brightness adjustment apparatus according to an exemplary embodiment. As shown in fig. 13, the apparatus includes:
the first obtaining module 1301 is configured to obtain an original gray scale value of a pixel point in a display interface;
the transformation module 1302 is configured to perform gray scale transformation on the pixel point to obtain a transformed gray scale value of the pixel point;
the first adjusting module 1303 is configured to adjust the gray scale of the display interface according to the transformed gray scale value of the pixel point, where, as shown in fig. 14, the transforming module 1302 may include:
the first obtaining submodule 141 is configured to obtain correspondence data of gray scale conversion, where the correspondence data includes a converted gray scale value corresponding to an original gray scale value of the pixel point;
the query submodule 142 is configured to query the transformed gray-scale value corresponding to the original gray-scale value of the pixel point from the correspondence data;
fig. 15 is a block diagram illustrating a transformation module according to another example embodiment. As shown in fig. 15, optionally, the transformation module 1302 includes:
the second obtaining sub-module 151 is configured to obtain a transformation function of the gray-scale transformation;
the calculation submodule 152 is configured to calculate a transformed gray scale value of the pixel according to the transformation function and the original gray scale value of the pixel.
Fig. 16 is a block diagram illustrating a transformation module according to another example embodiment. As shown in fig. 16, optionally, the transformation module 1302 includes:
the detection sub-module 161 is configured to detect the current ambient brightness;
the selection submodule 162 is configured to select the correspondence data for the grayscale conversion according to the current ambient brightness;
the query submodule 142 is configured to determine a transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected correspondence data; or
The transformation module 1302 includes:
a detection sub-module 161 for detecting the current ambient brightness;
a selection submodule 162 configured to select a transform function for gray scale transformation according to the current ambient brightness;
the calculating submodule 152 is configured to determine a transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected transformation function.
In one embodiment, the first obtaining submodule 141 is configured to:
acquiring the display digit of the original gray scale value;
selecting corresponding relation data for gray scale conversion according to the display digit of the original gray scale value;
and inquiring the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected corresponding relation data.
In one embodiment, the second obtaining sub-module 151 is configured to:
acquiring the display digit of the original gray scale value;
selecting a transformation function for gray scale transformation according to the display digit of the original gray scale value;
the calculating submodule 152 is configured to calculate a transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected transformation function.
Fig. 17 is a block diagram illustrating a transformation module according to another example embodiment. As shown in fig. 17, optionally, the transformation module 1302 includes:
the detection sub-module 171 is configured to detect the current ambient brightness;
the transformation submodule 172 is configured to perform gray scale transformation on the pixel point when the current environment brightness is less than or equal to a preset brightness value, so as to obtain a transformed gray scale value of the pixel point.
Fig. 18 is a block diagram illustrating a display luminance adjusting apparatus according to another exemplary embodiment. As shown in fig. 18, optionally, the apparatus further includes:
a first detection module 1304 for detecting a brightness value of an environment;
a second adjusting module 1305, configured to adjust a screen display brightness value according to the environment brightness value;
a first judging module 1306, configured to judge a relationship between the current brightness value after the screen adjustment and a set value;
the first adjusting module 1303 is configured to adjust a first class of gray scale values when the current brightness value is determined to be lower than a first set brightness; and when the current brightness value is judged to be higher than the second set brightness, adjusting the second type of gray scale value.
Fig. 19 is a block diagram illustrating a display luminance adjusting apparatus according to another exemplary embodiment. As shown in fig. 19, optionally, the apparatus further includes:
the second detecting module 1307 is configured to detect a luminance value of a pixel point in the display interface before acquiring an original gray scale value of the pixel point in the display interface;
a second judging module 1308, configured to judge whether the detected brightness value of a pixel point in the interface exceeds a set brightness value;
a determining module 1309, configured to determine, when it is determined that the brightness value exceeds the set brightness value, location information of the pixel point exceeding the set brightness value;
the first adjusting module 1303 is configured to adjust the gray scale value of the pixel point at the determined position.
Fig. 20 is a block diagram illustrating a display luminance adjusting apparatus according to another exemplary embodiment. As shown in fig. 20, optionally, the apparatus further includes:
a second obtaining module 1310, configured to obtain a color gamut space value of the screen display;
the first adjusting module 1303 is configured to adjust a gray scale value of each pixel point in the display interface according to the obtained color gamut space value.
Fig. 21 is a block diagram illustrating a display luminance adjusting apparatus according to another exemplary embodiment. As shown in fig. 21, optionally, the apparatus further includes:
the establishing module 1311 is configured to establish a corresponding relationship between input gray scale values and output gray scale values of different groups set corresponding to each pixel point, where the corresponding relationship is that a ratio of the input gray scale values to the output gray scale values changes nonlinearly or linearly with a gray scale value, and the ratio of the input gray scale values to the output gray scale values is not less than 1;
and the first adjusting module 1303 is configured to adjust the output gray value of the pixel point of the screen display interface according to the ratio when the acquired screen brightness value is higher than the set brightness.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure also provides a display brightness adjusting apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring an original gray scale value of each pixel point in a display interface;
performing gray scale transformation on the pixel points to obtain transformed gray scale values of the pixel points;
adjusting the gray scale of the display interface according to the converted gray scale value of the pixel point;
the performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
acquiring corresponding relation data of gray scale conversion, wherein the corresponding relation data comprises a converted gray scale value corresponding to an original gray scale value of the pixel point;
and inquiring the transformed gray-scale value corresponding to the original gray-scale value of the pixel point from the corresponding relation data.
Fig. 22 is a block diagram illustrating an apparatus for display brightness adjustment according to an example embodiment. For example, the apparatus 2200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
As shown in fig. 22, apparatus 2200 may include one or more of the following components: processing component 2202, memory 2204, power component 2206, multimedia component 2208, audio component 2210, interface to input/output (I/O) 2212, sensor component 2214, and communication component 2216.
The processing component 2202 generally controls overall operation of the apparatus 2200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 2202 may include one or more processors 2220 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 2202 may include one or more modules that facilitate interaction between the processing component 2202 and other components. For example, the processing component 2202 can include a multimedia module to facilitate interaction between the multimedia component 2208 and the processing component 2202.
The memory 2204 is configured to store various types of data to support operations at the apparatus 2200. Examples of such data include instructions for any application or method operating on device 2200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 2204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 2206 provides power to the various components of the device 2200. The power components 2206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 2200.
The multimedia component 2208 includes a screen that provides an output interface between the device 2200 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 2208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 2200 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 2210 is configured to output and/or input audio signals. For example, audio component 2210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 2200 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 2204 or transmitted via the communication component 2216. In some embodiments, audio component 2210 also includes a speaker for outputting audio signals.
The I/O interface 2212 provides an interface between the processing component 2202 and a peripheral interface module, which may be a keyboard, click wheel, buttons, and the like. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 2214 includes one or more sensors for providing various aspects of state assessment for the apparatus 2200. For example, the sensor assembly 2214 may detect an open/closed state of the apparatus 2200, the relative positioning of components, such as a display and keypad of the apparatus 2200, the sensor assembly 2214 may also detect a change in position of the apparatus 2200 or a component of the apparatus 2200, the presence or absence of user contact with the apparatus 2200, orientation or acceleration/deceleration of the apparatus 2200, and a change in temperature of the apparatus 2200. The sensor assembly 2214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 2214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 2214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 2216 is configured to facilitate wired or wireless communication between the apparatus 2200 and other devices. The apparatus 2200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 2216 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 2216 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 2200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 2204 comprising instructions, executable by the processor 2220 of the device 2200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a display brightness adjustment method, the method comprising:
acquiring an original gray scale value of a pixel point in a display interface;
performing gray scale transformation on the pixel points to obtain transformed gray scale values of the pixel points;
adjusting the gray scale of the display interface according to the converted gray scale value of the pixel point;
the performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
acquiring corresponding relation data of gray scale conversion, wherein the corresponding relation data comprises a converted gray scale value corresponding to an original gray scale value of the pixel point;
inquiring a transformed gray scale value corresponding to the original gray scale value of the pixel point from the corresponding relation data;
alternatively, the first and second electrodes may be,
optionally, the performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
obtaining a transformation function of gray scale transformation;
and calculating to obtain the transformed gray-scale value of the pixel point according to the transformation function and the original gray-scale value of the pixel point.
Optionally, performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
detecting the current environment brightness;
selecting corresponding relation data or a transformation function for gray scale transformation according to the current environment brightness;
and inquiring the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected corresponding relation data, or calculating the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected transformation function.
Optionally, performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
acquiring the display digit of the original gray scale value;
selecting corresponding relation data or a transformation function for gray scale transformation according to the display digit of the original gray scale value;
and inquiring the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected corresponding relation data, or calculating the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected transformation function.
Optionally, performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
detecting the current environment brightness;
and when the current environment brightness is smaller than or equal to a preset brightness value, performing gray scale transformation on the pixel point to obtain a transformed gray scale value of the pixel point.
Optionally, the method further includes:
detecting a brightness value of the environment;
adjusting the screen display brightness value according to the environment brightness value;
judging the relation between the current brightness value after the screen adjustment and a set value;
when the current brightness value is judged to be lower than the first set brightness, adjusting the first class gray scale value;
and when the current brightness value is judged to be higher than the second set brightness, adjusting the second type of gray scale value.
Optionally, before the obtaining of the original gray scale value of the pixel point in the display interface, the method further includes:
detecting the brightness value of a pixel point in a display interface;
judging whether the brightness value of the detected pixel points in the interface exceeds a set brightness value or not;
when the pixel point exceeding the set brightness value is judged, determining the position information of the pixel point exceeding the set brightness value;
and adjusting the gray-scale value of the pixel point at the determined position.
Optionally, the method further includes:
acquiring a color gamut space value displayed on a screen;
and adjusting the gray scale value of each pixel point in the display interface according to the obtained color gamut space value.
Optionally, the method further includes:
establishing a corresponding relation of input gray-scale values and output gray-scale values of different groups corresponding to each pixel point, wherein the corresponding relation is that the ratio of the input gray-scale values to the output gray-scale values changes nonlinearly or linearly along with the gray-scale values, and the ratio of the input gray-scale values to the output gray-scale values is not less than 1;
and when the acquired screen brightness value is higher than the set brightness, adjusting the output gray value of the pixel point of the screen display interface according to the ratio.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (19)

1. A display brightness adjustment method is characterized by comprising the following steps:
acquiring an original gray scale value of a pixel point in a display interface;
performing gray scale transformation on the pixel points to obtain transformed gray scale values of the pixel points;
adjusting the gray scale value of the display interface according to the transformed gray scale value of the pixel point;
wherein, the performing gray scale transformation on the pixel point to obtain a transformed gray scale value of the pixel point includes:
acquiring corresponding relation data of gray scale conversion, wherein the corresponding relation data comprises a converted gray scale value corresponding to an original gray scale value of the pixel point;
inquiring a transformed gray scale value corresponding to the original gray scale value of the pixel point from the corresponding relation data;
the method further comprises the following steps:
detecting a brightness value of the environment;
adjusting the screen display brightness value according to the environment brightness value;
judging the relation between the current brightness value after the screen adjustment and a set value;
when the current brightness value is judged to be lower than the first set brightness, adjusting the first class gray scale value;
and when the current brightness value is judged to be higher than the second set brightness, adjusting the second type of gray scale value.
2. The method of claim 1, wherein performing gray scale transformation on the pixel point to obtain a transformed gray scale value of the pixel point comprises:
obtaining a transformation function of gray scale transformation;
and calculating to obtain the transformed gray-scale value of the pixel point according to the transformation function and the original gray-scale value of the pixel point.
3. The method according to claim 1 or 2, wherein the performing gray-scale transformation on the pixel point to obtain a transformed gray-scale value of the pixel point comprises:
detecting the current environment brightness;
selecting corresponding relation data or a transformation function for gray scale transformation according to the current environment brightness;
and inquiring the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected corresponding relation data, or calculating the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected transformation function.
4. The method according to claim 1 or 2, wherein the performing gray-scale transformation on the pixel point to obtain a transformed gray-scale value of the pixel point comprises:
acquiring the display digit of the original gray scale value;
selecting corresponding relation data or a transformation function for gray scale transformation according to the display digit of the original gray scale value;
and inquiring the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected corresponding relation data, or calculating the transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected transformation function.
5. The method of claim 1, wherein performing gray scale transformation on the pixel point to obtain a transformed gray scale value of the pixel point comprises:
detecting a brightness value of the environment;
and when the brightness value of the environment is smaller than or equal to a preset brightness value, performing gray scale transformation on the pixel point to obtain a transformed gray scale value of the pixel point.
6. The method according to claim 1, wherein before obtaining the original gray-scale values of the pixels in the display interface, the method further comprises:
detecting the brightness value of a pixel point in a display interface;
judging whether the brightness value of the detected pixel points in the interface exceeds a set brightness value or not;
when the pixel point exceeding the set brightness value is judged, determining the position information of the pixel point exceeding the set brightness value;
and adjusting the gray-scale value of the pixel point at the determined position.
7. The method of claim 1, further comprising:
acquiring a color gamut space value displayed on a screen;
and adjusting the gray scale value of each pixel point in the display interface according to the obtained color gamut space value.
8. The method according to any one of claims 1-7, further comprising:
establishing a corresponding relation of input gray-scale values and output gray-scale values of different groups corresponding to each pixel point, wherein the corresponding relation is that the ratio of the input gray-scale values to the output gray-scale values changes nonlinearly or linearly along with the gray-scale values, and the ratio of the input gray-scale values to the output gray-scale values is not less than 1;
and when the acquired screen brightness value is higher than the set brightness, adjusting the output gray value of the pixel point of the screen display interface according to the ratio.
9. A display luminance adjustment apparatus, comprising:
the first acquisition module is used for acquiring the original gray scale value of a pixel point in a display interface;
the transformation module is used for carrying out gray scale transformation on the pixel points to obtain transformed gray scale values of the pixel points;
the first adjusting module is used for adjusting the gray scale of the display interface according to the converted gray scale value of the pixel point;
wherein the transformation module comprises:
the first obtaining submodule is used for obtaining corresponding relation data of gray scale conversion, and the corresponding relation data comprises converted gray scale values corresponding to original gray scale values of the pixel points;
the query submodule is used for querying the transformed gray-scale value corresponding to the original gray-scale value of the pixel point from the corresponding relation data;
the device further comprises:
the first detection module is used for detecting the brightness value of the environment;
the second adjusting module is used for adjusting the screen display brightness value according to the environment brightness value;
the first judgment module is used for judging the relationship between the current brightness value after the screen adjustment and a set value;
the first adjusting module is used for adjusting the first class gray scale value when the current brightness value is judged to be lower than the first set brightness; and when the current brightness value is judged to be higher than the second set brightness, adjusting the second type of gray scale value.
10. The apparatus of claim 9, wherein the transformation module comprises:
the second obtaining submodule is used for obtaining a transformation function of gray scale transformation;
and the calculation submodule is used for calculating to obtain the converted gray-scale value of the pixel point according to the conversion function and the original gray-scale value of the pixel point.
11. The apparatus of claim 9, wherein the transformation module further comprises:
the detection submodule is used for detecting the current environment brightness;
the selection submodule is used for selecting corresponding relation data for gray scale conversion according to the current environment brightness;
and the query submodule is used for determining a transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected corresponding relation data.
12. The apparatus of claim 10, wherein the transformation module further comprises:
the detection submodule is used for detecting the current environment brightness;
the selection submodule is used for selecting a transformation function for gray scale transformation according to the current environment brightness;
and the calculation submodule is used for determining a transformed gray scale value corresponding to the original gray scale value of the pixel point according to the selected transformation function.
13. The apparatus of claim 9, wherein the first obtaining sub-module is configured to:
acquiring the display digit of the original gray scale value;
selecting corresponding relation data for gray scale conversion according to the display digit of the original gray scale value;
and the query submodule is used for querying the transformed gray-scale value corresponding to the original gray-scale value of the pixel point according to the selected corresponding relation data.
14. The apparatus of claim 10, wherein the second obtaining sub-module is configured to:
acquiring the display digit of the original gray scale value;
selecting a transformation function for gray scale transformation according to the display digit of the original gray scale value;
and the calculation submodule is used for calculating a converted gray scale value corresponding to the original gray scale value of the pixel point according to the selected conversion function.
15. The apparatus of claim 9, wherein the transformation module comprises:
the detection submodule is used for detecting the current environment brightness;
and the transformation submodule is used for carrying out gray scale transformation on the pixel point when the current environment brightness is less than or equal to a preset brightness value to obtain a transformed gray scale value of the pixel point.
16. The apparatus of claim 9, further comprising:
the second detection module is used for detecting the brightness value of the pixel point in the display interface before the original gray scale value of the pixel point in the display interface is obtained;
the second judgment module is used for judging whether the brightness value of the detected pixel point in the interface exceeds a set brightness value or not;
the determining module is used for determining the position information of the pixel points exceeding the set brightness value when the pixel points exceeding the set brightness value are judged;
and the first adjusting module is used for adjusting the gray-scale value of the pixel point at the determined position.
17. The apparatus of claim 9, further comprising:
the second acquisition module is used for acquiring a color gamut space value displayed on a screen;
the first adjusting module is configured to adjust a gray scale value of each pixel point in the display interface according to the obtained color gamut space value.
18. The apparatus according to any one of claims 9-17, further comprising:
the establishing module is used for establishing a corresponding relation between input gray-scale values and output gray-scale values of different groups corresponding to each pixel point, wherein the corresponding relation is that the ratio of the input gray-scale values to the output gray-scale values changes nonlinearly or linearly along with the gray-scale values, and the ratio of the input gray-scale values to the output gray-scale values is not less than 1;
and the first adjusting module is used for adjusting the output gray value of the pixel point of the screen display interface according to the ratio when the acquired screen brightness value is higher than the set brightness.
19. A display luminance adjusting apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring an original gray scale value of each pixel point in a display interface;
performing gray scale transformation on the pixel points to obtain transformed gray scale values of the pixel points;
adjusting the gray scale of the display interface according to the converted gray scale value of the pixel point;
the performing gray scale conversion on the pixel point to obtain a converted gray scale value of the pixel point includes:
acquiring corresponding relation data of gray scale conversion, wherein the corresponding relation data comprises a converted gray scale value corresponding to an original gray scale value of the pixel point;
inquiring a transformed gray scale value corresponding to the original gray scale value of the pixel point from the corresponding relation data;
further comprising:
detecting a brightness value of the environment;
adjusting the screen display brightness value according to the environment brightness value;
judging the relation between the current brightness value after the screen adjustment and a set value;
when the current brightness value is judged to be lower than the first set brightness, adjusting the first class gray scale value;
and when the current brightness value is judged to be higher than the second set brightness, adjusting the second type of gray scale value.
CN201711086524.7A 2014-12-26 2015-01-15 Display brightness adjusting method and device Active CN107978264B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201410837874 2014-12-26
CN2014108378742 2014-12-26
CN201510020861.0A CN104700786B (en) 2014-12-26 2015-01-15 Display brightness method of adjustment and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510020861.0A Division CN104700786B (en) 2014-12-26 2015-01-15 Display brightness method of adjustment and device

Publications (2)

Publication Number Publication Date
CN107978264A CN107978264A (en) 2018-05-01
CN107978264B true CN107978264B (en) 2021-06-08

Family

ID=53347848

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201711086524.7A Active CN107978264B (en) 2014-12-26 2015-01-15 Display brightness adjusting method and device
CN201510020861.0A Active CN104700786B (en) 2014-12-26 2015-01-15 Display brightness method of adjustment and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201510020861.0A Active CN104700786B (en) 2014-12-26 2015-01-15 Display brightness method of adjustment and device

Country Status (4)

Country Link
JP (1) JP6722653B2 (en)
CN (2) CN107978264B (en)
MX (1) MX370425B (en)
RU (1) RU2659484C1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3866155A1 (en) 2015-01-15 2021-08-18 Xiaomi Inc. Method and device for adjusting display brightness
CN104991718B (en) * 2015-06-29 2018-11-20 努比亚技术有限公司 Terminal screenshotss method and device
CN105070252B (en) * 2015-08-13 2018-05-08 小米科技有限责任公司 Reduce the method and device of display brightness
KR102468727B1 (en) * 2015-12-28 2022-11-21 엘지디스플레이 주식회사 Timing controller, data driver, display device, and the method for driving the display device
CN105719611B (en) * 2016-03-30 2018-08-07 青岛海信电器股份有限公司 The show uniformity method of adjustment and device of liquid crystal display
CN106502609B (en) * 2016-10-31 2019-11-15 维沃移动通信有限公司 A kind of display brightness method of adjustment and mobile terminal
CN106601165B (en) * 2016-12-15 2020-12-04 北京小米移动软件有限公司 Screen display method and device
CN107992182B (en) 2017-12-05 2021-06-29 北京小米移动软件有限公司 Method and device for displaying interface image
CN108510955A (en) * 2018-04-23 2018-09-07 Oppo广东移动通信有限公司 Adjust the method and Related product of brightness of display screen
CN108845779B (en) * 2018-06-19 2021-08-20 环鸿电子(昆山)有限公司 Electronic device for adjusting brightness based on image gray scale and brightness adjusting method thereof
CN111261081B (en) * 2018-11-30 2021-10-19 北京小米移动软件有限公司 Screen display method and device
CN109920358B (en) * 2019-03-26 2022-08-23 武汉华星光电半导体显示技术有限公司 Method for controlling power consumption of display panel
CN113870811B (en) * 2020-06-30 2022-12-30 武汉天马微电子有限公司 Display device, brightness adjusting method and device thereof, electronic equipment and storage medium
CN114694582A (en) * 2022-04-27 2022-07-01 姜英 Automatic energy-saving method for screen by using dynamic pixel dimming and nonlinear equation

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1465041A (en) * 2001-05-31 2003-12-31 精工爱普生株式会社 Image display system, projector, information storage medium and image processing method
CN1567417A (en) * 2003-06-25 2005-01-19 友达光电股份有限公司 Driving method of liquid crystal display
CN101021625A (en) * 2006-02-16 2007-08-22 帆宣系统科技股份有限公司 Method for automatic regulating LCD brightness
CN101251985A (en) * 2007-02-23 2008-08-27 三星Sdi株式会社 Organic electroluminescence display (oled) and driving methods thereof
CN101271208A (en) * 2007-03-19 2008-09-24 钰瀚科技股份有限公司 Dynamic backlight control method of LCD device
JP2009031554A (en) * 2007-07-27 2009-02-12 Sharp Corp Video display device and video display method thereof
JP2010107535A (en) * 2008-10-28 2010-05-13 Funai Electric Co Ltd Liquid crystal display device
CN102737603A (en) * 2012-06-26 2012-10-17 中兴通讯股份有限公司 Liquid crystal display (LCD) screen display method and device for display of LCD screen
CN102750927A (en) * 2011-04-20 2012-10-24 纬创资通股份有限公司 Display device and method for adjusting picture gray scale according to brightness of ambient light
CN102903347A (en) * 2012-10-29 2013-01-30 广东步步高电子工业有限公司 Method and system for effectively solving problem of unclear display of liquid crystal display screen under sunshine
CN103208249A (en) * 2012-06-22 2013-07-17 明基电通有限公司 Display and method for display pixel on display apparatus
CN104123926A (en) * 2013-04-25 2014-10-29 乐金显示有限公司 Gamma compensation method and display device using the same

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0816129A (en) * 1994-04-27 1996-01-19 Canon Inc Picture processing device
EP0883103B1 (en) * 1997-06-05 2010-12-22 THOMSON multimedia Direct view liquid crystal display with automatic colour adjustment
JP2002221950A (en) * 2000-11-21 2002-08-09 Matsushita Electric Ind Co Ltd Display devise and display method
CN100520510C (en) * 2007-03-20 2009-07-29 友达光电股份有限公司 Liquid crystal display back light control method
KR100944595B1 (en) * 2007-04-24 2010-02-25 가부시끼가이샤 르네사스 테크놀로지 Display device, display driver, image display method, electronic apparatus and image display driver
US8345038B2 (en) * 2007-10-30 2013-01-01 Sharp Laboratories Of America, Inc. Methods and systems for backlight modulation and brightness preservation
JP2009294292A (en) * 2008-06-03 2009-12-17 Funai Electric Co Ltd Image display device
CN101673515B (en) * 2009-10-15 2011-05-18 硅谷数模半导体(北京)有限公司 Dynamic backlight control method
US20110205397A1 (en) * 2010-02-24 2011-08-25 John Christopher Hahn Portable imaging device having display with improved visibility under adverse conditions
JP2012194404A (en) * 2011-03-17 2012-10-11 Fujitsu Ten Ltd Display control device, image display system and display control method
KR101931733B1 (en) * 2011-09-23 2018-12-24 매뉴팩처링 리소시스 인터내셔널 인코포레이티드 System and method for environmental adaptation of display characteristics
KR20140068699A (en) * 2012-11-28 2014-06-09 삼성전자주식회사 Display apparatus and method for low power consumption
CN103810973A (en) * 2014-03-13 2014-05-21 友达光电股份有限公司 Liquid crystal display with high penetration rate and controlling method thereof

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1465041A (en) * 2001-05-31 2003-12-31 精工爱普生株式会社 Image display system, projector, information storage medium and image processing method
CN1567417A (en) * 2003-06-25 2005-01-19 友达光电股份有限公司 Driving method of liquid crystal display
CN101021625A (en) * 2006-02-16 2007-08-22 帆宣系统科技股份有限公司 Method for automatic regulating LCD brightness
CN101251985A (en) * 2007-02-23 2008-08-27 三星Sdi株式会社 Organic electroluminescence display (oled) and driving methods thereof
CN101271208A (en) * 2007-03-19 2008-09-24 钰瀚科技股份有限公司 Dynamic backlight control method of LCD device
JP2009031554A (en) * 2007-07-27 2009-02-12 Sharp Corp Video display device and video display method thereof
JP2010107535A (en) * 2008-10-28 2010-05-13 Funai Electric Co Ltd Liquid crystal display device
CN102750927A (en) * 2011-04-20 2012-10-24 纬创资通股份有限公司 Display device and method for adjusting picture gray scale according to brightness of ambient light
CN103208249A (en) * 2012-06-22 2013-07-17 明基电通有限公司 Display and method for display pixel on display apparatus
CN102737603A (en) * 2012-06-26 2012-10-17 中兴通讯股份有限公司 Liquid crystal display (LCD) screen display method and device for display of LCD screen
CN102903347A (en) * 2012-10-29 2013-01-30 广东步步高电子工业有限公司 Method and system for effectively solving problem of unclear display of liquid crystal display screen under sunshine
CN104123926A (en) * 2013-04-25 2014-10-29 乐金显示有限公司 Gamma compensation method and display device using the same

Also Published As

Publication number Publication date
RU2659484C1 (en) 2018-07-02
CN107978264A (en) 2018-05-01
CN104700786B (en) 2017-12-19
JP2017530384A (en) 2017-10-12
JP6722653B2 (en) 2020-07-15
MX2017005365A (en) 2017-06-21
MX370425B (en) 2019-12-13
CN104700786A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN107978264B (en) Display brightness adjusting method and device
US9858885B2 (en) Method and device for reducing display brightness
CN110796988B (en) Backlight adjusting method and device
CN107992182B (en) Method and device for displaying interface image
CN106843666B (en) method and device for adjusting display interface
CN111462701A (en) Backlight brightness adjusting method and device
CN109215615B (en) Display unit working parameter compensation method and device
US10319342B2 (en) Method and device for adjusting display brightness
CN105472228B (en) Image processing method and device and terminal
CN111210777A (en) Backlight brightness adjusting method and device, electronic equipment and machine-readable storage medium
CN111261081B (en) Screen display method and device
CN111383608B (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN111131596B (en) Screen brightness adjusting method and device
CN106775246B (en) Screen brightness adjusting method and device
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN111383568B (en) Display control method and device, electronic equipment and computer readable storage medium
CN108538261B (en) Display control method and device and display equipment
CN112951162A (en) Display screen and control method and device thereof
CN106601165B (en) Screen display method and device
CN112087539A (en) Screen light adjusting method for terminal equipment and terminal equipment
CN111443759B (en) Display control method, display control device, electronic equipment and computer-readable storage medium
CN113241044B (en) Screen brightness adjusting method, device, equipment and storage medium
CN111292690B (en) Screen backlight brightness adjusting method and device
CN108206012A (en) Gamma correction method and device
CN116364006A (en) Display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant