WO2016112730A1 - 显示亮度调整方法及装置 - Google Patents

显示亮度调整方法及装置 Download PDF

Info

Publication number
WO2016112730A1
WO2016112730A1 PCT/CN2015/093404 CN2015093404W WO2016112730A1 WO 2016112730 A1 WO2016112730 A1 WO 2016112730A1 CN 2015093404 W CN2015093404 W CN 2015093404W WO 2016112730 A1 WO2016112730 A1 WO 2016112730A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
grayscale
pixel
brightness
grayscale value
Prior art date
Application number
PCT/CN2015/093404
Other languages
English (en)
French (fr)
Inventor
李国盛
刘安昱
杜慧
Original Assignee
小米科技有限责任公司
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
Priority claimed from CN201510020861.0A external-priority patent/CN104700786B/zh
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to RU2017102530A priority Critical patent/RU2659484C1/ru
Priority to JP2017505078A priority patent/JP6722653B2/ja
Priority to MX2017005365A priority patent/MX370425B/es
Priority to EP15862147.4A priority patent/EP3086311A4/en
Priority to EP21167828.9A priority patent/EP3866155A1/en
Publication of WO2016112730A1 publication Critical patent/WO2016112730A1/zh
Priority to US15/393,420 priority patent/US10319342B2/en

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/2092Details of a display terminals using a flat panel, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • 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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0285Improving the quality of display appearance using tables for spatial correction of display data
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/066Adjustment of display parameters for control of contrast
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0686Adjustment of display parameters with two or more screen areas displaying information with different brightness or colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/06Colour space transformation
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/14Detecting light within display terminals, e.g. using a single or a plurality of photosensors
    • G09G2360/144Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light being ambient light
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/16Calculation or use of calculated indices related to luminance levels in display data

Definitions

  • the present disclosure relates to the field of image processing, and in particular, to a display brightness adjustment method and apparatus.
  • the present disclosure provides a display brightness adjustment method and apparatus.
  • a first aspect of the embodiments of the present disclosure provides a display brightness adjustment method, including:
  • performing the grayscale transformation on the pixel to obtain a transformed grayscale value of the pixel including:
  • the correspondence relationship data includes the transformed grayscale value corresponding to the original grayscale value of the pixel point;
  • performing the grayscale transformation on the pixel to obtain a transformed grayscale value of the pixel including:
  • Corresponding relationship data or a transformation function for gray scale transformation is selected according to the current ambient brightness
  • performing the grayscale transformation on the pixel to obtain a transformed grayscale value of the pixel including:
  • performing the grayscale transformation on the pixel to obtain a transformed grayscale value of the pixel including:
  • the method further includes:
  • the second type of gray level value is adjusted.
  • the method before the obtaining the original grayscale value of the pixel in the display interface, the method further includes:
  • the method further includes:
  • the method further includes:
  • the ratio of the input grayscale value to the output grayscale value varies non-linearly or linearly with the magnitude of the grayscale value, and the ratio of the input grayscale value to the output grayscale value is not less than one;
  • the output gray value of the pixel of the screen display interface is adjusted according to the ratio.
  • a second aspect of the embodiments of the present disclosure provides a display brightness adjusting apparatus, including:
  • An obtaining module configured to obtain an original grayscale value of a pixel in the display interface
  • a transform module configured to perform gray scale transformation on each pixel point to obtain a transformed gray scale value of the pixel point
  • an adjustment module configured to adjust a gray level of the display interface according to the transformed grayscale value of the pixel point.
  • the transform module includes:
  • Obtaining a sub-module configured to obtain correspondence data of a gray-scale transformation, where the correspondence data includes a transformed gray-scale value corresponding to an original gray-scale value of the pixel;
  • a query sub-module configured to query, from the corresponding relationship data, a transformed gray-scale value corresponding to an original gray-scale value of the pixel;
  • the transform module includes:
  • a calculation submodule configured to calculate a transformed grayscale value of the pixel point according to the transformation function and the original grayscale value of the pixel point.
  • the transform module further includes:
  • a first detecting submodule for detecting a current ambient brightness
  • Selecting a submodule configured to select corresponding relationship data or a transform function for grayscale transformation according to the current ambient brightness
  • the query sub-module is configured to determine, according to the selected correspondence data, a transformed grayscale value corresponding to an original grayscale value of the pixel point; or the calculating submodule, configured to determine, according to the selected transform function The transformed grayscale value corresponding to the original grayscale value of the pixel.
  • the transform module further includes:
  • Obtaining a submodule configured to obtain a display digit of the original grayscale value
  • Selecting a submodule configured to select corresponding relationship data or a transform function for the grayscale transform according to the display digits of the original grayscale value
  • the query sub-module is configured to query, according to the selected correspondence data, a transformed gray-scale value corresponding to an original gray-scale value of the pixel; or the calculating sub-module, according to the selected transform function Calculating the original of the pixel The transformed grayscale value corresponding to the grayscale value.
  • the transform module includes:
  • a detection submodule for detecting a current ambient brightness
  • the transform submodule is configured to perform grayscale transformation on the pixel point when the current ambient brightness is less than or equal to a preset brightness value, to obtain a transformed grayscale value of the pixel point.
  • the device further includes:
  • a first detecting module configured to detect a brightness value of the environment
  • a second adjustment module configured to adjust a screen display brightness value according to an ambient brightness value
  • a first determining module configured to determine a relationship between a current brightness value after the screen adjustment and the set value
  • the first adjustment module is configured to: when it is determined that the current brightness value is lower than the first set brightness, adjust the first type of grayscale value; when it is determined that the current brightness value is higher than the second set brightness, adjust the second Grayscale value.
  • the device further includes:
  • a second detecting module configured to detect a brightness value of a pixel in the display interface before acquiring an original grayscale value of the pixel in the display interface
  • a second determining module configured to determine whether a brightness value of a pixel in the detected interface exceeds a set brightness value
  • a determining module configured to determine location information of the pixel point exceeding the set brightness value when it is determined that the set brightness value is exceeded
  • the first adjustment module is configured to adjust a grayscale value of the pixel point of the determined position.
  • the device further includes:
  • a second obtaining module configured to obtain a gamut space value displayed on the screen
  • the first adjustment module is configured to adjust a grayscale value of each pixel in the display interface according to the obtained color gamut space value.
  • the device further includes:
  • Establishing a module configured to establish a correspondence between an input grayscale value and an output grayscale value of different groups corresponding to each pixel point, where the correspondence relationship is a ratio of the input grayscale value to the output grayscale value
  • the magnitude of the gray value changes to a nonlinear change or a linear change, and the ratio of the input gray scale value to the output gray scale value is not less than 1;
  • the first adjustment module is configured to adjust an output gray value of a pixel point of the screen display interface according to the ratio when the screen brightness value is higher than the set brightness.
  • a third aspect of the embodiments of the present disclosure provides a display brightness adjusting apparatus, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the technical solution provided by the embodiments of the present disclosure may include the following effects: in a very low brightness environment, the display system can output extremely low brightness and reduce eye damage, and is suitable for a low brightness environment without lighting equipment. in. Moreover, it is effective for all display content, not limited to an application, so that it is not necessary to separately develop a corresponding night mode for each application level, reducing the size of resource files, saving storage space, and simple operation, user experience. better.
  • FIG. 1 is a flowchart of a display brightness adjustment method according to an exemplary embodiment
  • FIG. 2 is a flowchart of a display brightness adjustment method according to another exemplary embodiment
  • FIG. 3 is a flowchart of a display brightness adjustment method according to another exemplary embodiment
  • FIG. 4 is a flowchart of a display brightness adjustment method according to another exemplary embodiment
  • FIG. 5 is a flowchart of a display brightness adjustment method according to another exemplary embodiment
  • FIG. 6 is a flowchart of a display brightness adjustment method according to another exemplary embodiment.
  • FIG. 7a is a schematic diagram of an original display interface, according to another exemplary embodiment.
  • FIG. 7b is a schematic diagram of a transformed display interface, according to another exemplary embodiment.
  • FIG. 8 is a schematic diagram showing a gray scale transformation curve according to another exemplary embodiment
  • FIG. 9 is a flowchart of a display brightness adjustment method according to another exemplary embodiment.
  • FIG. 10 is a flowchart of a display brightness adjustment method according to another exemplary embodiment.
  • FIG. 11 is a flowchart of a display brightness adjustment method according to another exemplary embodiment.
  • FIG. 12 is a flowchart of a display brightness adjustment method according to another exemplary embodiment
  • FIG. 13 is a block diagram of a display brightness adjusting apparatus according to an exemplary embodiment
  • FIG. 14 is a block diagram of a transform module, according to an exemplary embodiment
  • FIG. 15 is a block diagram of a transform module, according to another exemplary embodiment.
  • FIG. 16 is a block diagram of a transform module, according to another exemplary embodiment.
  • FIG. 17 is a block diagram of a transform module, according to another exemplary embodiment.
  • FIG. 18 is a block diagram of a transform module, according to another exemplary embodiment.
  • FIG. 19 is a block diagram showing a display brightness adjusting device according to another exemplary embodiment.
  • FIG. 20 is a block diagram showing a display brightness adjusting device according to another exemplary embodiment.
  • FIG. 21 is a block diagram showing a display brightness adjusting device according to another exemplary embodiment.
  • FIG. 22 is a block diagram showing a display brightness adjusting device according to another exemplary embodiment.
  • FIG. 23 is a block diagram of an apparatus for displaying brightness adjustment, according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a display brightness adjustment method according to an exemplary embodiment. As shown in FIG. 1 , a display brightness adjustment method is used in a terminal, including the following steps.
  • step S11 acquiring an original grayscale value of a pixel in the display interface
  • step S12 performing grayscale transformation on the pixel points to obtain a transformed grayscale value of the pixel point
  • step S13 the gray scale of the display interface is adjusted according to the converted grayscale value of the pixel point.
  • the brightness and contrast of the display interface are changed, so that when the ambient brightness is low, the backlight transmittance of the display interface after reducing the gray scale is decreased, and the overall brightness of the display interface is displayed. And the contrast will be significantly reduced to achieve the purpose of protecting the screen user's vision; and, in the low-light environment, the display interface brightness and contrast reduction has less influence on the display quality, and can satisfy the user's image quality. Requirements, saving terminal power consumption, user experience is better.
  • FIG. 2 is a flowchart of a display brightness adjustment method according to another exemplary embodiment. As shown in FIG. 2, optionally, step S12 includes:
  • step S21 the corresponding relationship data of the grayscale transformation is obtained, and the corresponding relationship data includes the transformed grayscale value corresponding to the original grayscale value of the pixel point;
  • step S22 the transformed grayscale value corresponding to the original grayscale value of the pixel point is queried from the corresponding relationship data.
  • FIG. 3 is a flowchart of a display brightness adjustment method according to another exemplary embodiment. As shown in FIG. 3, optionally, step S12 includes:
  • step S31 a transformation function of the grayscale transformation is acquired
  • step S32 the transformed grayscale value of each pixel is calculated according to the transformation function and the original grayscale value of each pixel.
  • the corresponding relationship data of the gray-scale transformation may be preset, and the transformed gray-scale value corresponding to the original gray-scale value of the pixel may be queried through the corresponding relationship data, or the transformation function of the gray-scale transformation may be preset, according to The transformation function calculates the transformed grayscale value corresponding to the original grayscale value of the pixel. Therefore, the grayscale value after the grayscale transformation can be quickly and accurately determined, so that the brightness and contrast of the display interface can be adjusted to the extent of adapting to the current ambient brightness, and the image quality is ensured without harming the user's vision.
  • the foregoing correspondence data may include a randomly selected original gray scale value and a corresponding transformed gray scale value.
  • the corresponding relationship data may include only the transformed grayscale values corresponding to the 10 original grayscale values, as shown in Table 1 below.
  • a gray scale transformation curve can be fitted, according to which all the originals can be obtained.
  • the transformed grayscale value corresponding to the initial grayscale value.
  • FIG. 4 is a flowchart of a display brightness adjustment method according to another exemplary embodiment. As shown in FIG. 4, optionally, step S12 includes:
  • step S41 detecting a brightness value of the environment
  • step S42 the correspondence data or the transformation function for the grayscale transformation is selected according to the brightness value of the environment
  • step S43 the transformed grayscale value corresponding to the original grayscale value of the pixel is queried according to the selected correspondence data, or the transformed grayscale corresponding to the original grayscale value of the pixel is calculated according to the selected transformation function. Order value.
  • the corresponding relationship data or the transformation function of the corresponding gray scale transformation may also be selected according to the ambient brightness, that is, different grayness adjustments are adopted for the grayscale adjustment of the display interface in different ambient brightness environments. For example, when the ambient brightness is 0.001 lux, the correspondence table A is selected for gray scale transformation; when the ambient brightness is 0.003 lux, the correspondence table B is selected for gray scale transformation; Under different ambient brightness, the adjustment target of the display interface gray level is also different, and the corresponding correspondence data or transformation function is selected according to the ambient brightness, so that the brightness and contrast of the display interface are always adapted to the ambient brightness, thereby better protecting The screen user's vision and user experience are better.
  • FIG. 5 is a flowchart of a display brightness adjustment method according to another exemplary embodiment. As shown in FIG. 5, optionally, step S12 includes:
  • step S51 the number of display digits of the original grayscale value is obtained
  • step S52 the correspondence data or the transformation function for the grayscale transformation is selected according to the display digits of the original grayscale value
  • step S53 the transformed grayscale value corresponding to the original grayscale value of the pixel is queried according to the selected correspondence data, or the transformed grayscale corresponding to the original grayscale value of the pixel is calculated according to the selected transformation function. Order value.
  • the corresponding relationship data or the transformation function of the corresponding gray-scale transformation may also be selected according to the gray-scale display digits.
  • the gray scale display digit is 8 bits
  • the correspondence table 1 is selected for gray scale transformation
  • the gray scale display digit is 10 bits
  • the correspondence table 2 is selected for gray scale transformation
  • FIG. 6 is a flowchart of a display brightness adjustment method according to another exemplary embodiment. As shown in FIG. 6 , optionally, step S12 includes:
  • step S61 detecting the current ambient brightness
  • step S62 when the current ambient brightness is less than or equal to the preset brightness value, the pixel points are gray-scale transformed to obtain the transformed gray-scale values of the pixel points.
  • the grayscale adjustment of the display interface is performed to avoid frequently adjusting the gray scale of the display interface according to the ambient brightness, thereby saving Terminal processing power and power consumption, user experience is better.
  • the gray scale value of the bright portion is significantly lowered, so that the transmittance of the backlight is lowered, the overall brightness is significantly lowered, and the contrast of the screen is also lowered.
  • the contrast reduction has little effect on the picture quality, so it is enough to meet the user's requirements.
  • a series of lookup tables are set, and the original grayscale data is transformed by the corresponding lookup table, and which set of lookup tables is specifically called. Automatically selected according to ambient light level, or manually selected.
  • the lookup table is a set of numbers, and the content is different according to the bit number of the grayscale. If the grayscale is an 8-bit display, the original grayscale value of the lookup table and the transformed grayscale value are between 0 and 255; if the grayscale is 10bit display, then the original grayscale value of the lookup table and the transformed grayscale value are between 0 and 1023.
  • the original grayscale value is an A straight line. If the B curve is selected as the lookup table, the 255 grayscale value in the data becomes 175, and the 256th unit of the lookup table should be (175). /255)*255; 150 grayscale becomes 90, then the number corresponding to 150 grayscales in the lookup table is (90/150)*255.
  • the lookup table is normalized to the 8th power of 2 or the 10th power of 2.
  • FIG. 9 is a flowchart of a display brightness adjustment method according to another exemplary embodiment. As shown in FIG. 9 , optionally, the method further includes:
  • step S91 detecting a brightness value of the environment
  • step S92 the screen display brightness value is adjusted according to the ambient brightness value
  • step S93 determining a relationship between the current brightness value after the screen adjustment and the set value
  • step S94 when it is determined that the current brightness value is lower than the first set brightness, adjusting the first type of grayscale value
  • step S95 when it is determined that the current brightness value is higher than the second set brightness, the second type of grayscale value is adjusted.
  • the terminal When the ambient brightness is low, the terminal will automatically adjust the display brightness of the screen first, but the adjusted screen display brightness may still be very bright for the user, and when the user opens certain applications, the screen The display brightness still returns to the brightness before the brightness adjustment, so the user experience is poor.
  • the brightness of the screen is adjusted, the brightness of different positions on the screen is judged again, and different gradations are adjusted for the portions of different brightness, as shown in FIG. 7a, the upper half of the screen is gray scaled. Larger, lower brightness, no need to adjust grayscale, the lower half of the screen is smaller gray, higher brightness, you can only adjust the lower half of the screen. In this way, the brightness of the screen display interface can be effectively reduced under any circumstances, thereby achieving the purpose of protecting the screen user's vision.
  • FIG. 10 is a flowchart of a display brightness adjustment method according to another exemplary embodiment, as shown in FIG.
  • the method further includes:
  • step S101 detecting a brightness value of a pixel point in the display interface
  • step S102 it is determined whether the brightness value of the pixel point in the detected interface exceeds the set brightness value
  • step S103 when it is determined that the set brightness value is exceeded, the location information of the pixel point exceeding the set brightness value is determined;
  • step S104 the grayscale value of the pixel point of the determined position is adjusted.
  • the grayscale adjustment of the pixel points is performed according to the brightness of each pixel on the screen, so that the brightness of the screen display interface can be reduced more quickly and accurately, thereby achieving the purpose of protecting the screen user's vision.
  • FIG. 11 is a flowchart of a display brightness adjustment method according to another exemplary embodiment. As shown in FIG. 11 , the method further includes:
  • step S111 acquiring a gamut space value displayed on the screen
  • step S112 the grayscale value of each pixel in the display interface is adjusted according to the acquired color gamut space value.
  • the gamut space value displayed on the screen is further obtained, that is, the value corresponding to the range region formed by the number of colors that can be expressed by a certain color mode of the screen, and different colors are used for different gamut spaces.
  • Grayscale adjustment In this way, the adjustment of the screen brightness is more in line with the performance of the screen, and the brightness adjustment effect is better, and the user's vision is protected.
  • FIG. 12 is a flowchart of a display brightness adjustment method according to another exemplary embodiment. As shown in FIG. 12, optionally, the method further includes:
  • step S121 a correspondence relationship between an input grayscale value and an output grayscale value of different groups is set corresponding to each pixel point, and the correspondence relationship is a ratio of the input grayscale value to the output grayscale value along with the grayscale value.
  • the size of the input changes to a nonlinear or linear change, and the ratio of the input grayscale value to the output grayscale value is not less than one;
  • step S122 when the screen brightness value is higher than the set brightness, the output gray value of the pixel of the screen display interface is adjusted according to the ratio.
  • the grayscale adjustment correspondence may be established in advance, and the adjusted grayscale value of the screen is greater than the grayscale value of the screen before the adjustment, so that the brightness of the adjusted screen is lowered to protect the user's vision.
  • the display system is capable of outputting extremely low brightness and reducing eye damage in an environment of extremely low brightness, and is suitable for use in a low-brightness environment without a lighting device.
  • FIG. 13 is a block diagram of a display brightness adjusting apparatus according to an exemplary embodiment. As shown in Figure 13, the package Set includes:
  • the first obtaining module 1301 is configured to acquire an original grayscale value of a pixel point in the display interface
  • the transform module 1302 is configured to perform grayscale transformation on each of the pixel points to obtain a transformed grayscale value of the pixel point;
  • the first adjustment module 1303 is configured to adjust a gray level of the display interface according to the transformed grayscale value of the pixel point.
  • FIG. 14 is a block diagram of a transform module, according to an exemplary embodiment. As shown in FIG. 10, optionally, the transform module 1302 includes:
  • the obtaining sub-module 141 is configured to acquire the corresponding relationship data of the gray-scale transform, where the corresponding relationship data includes the transformed gray-scale value corresponding to the original gray-scale value of the pixel point;
  • the query sub-module 142 is configured to query the transformed gray-scale value corresponding to the original gray-scale value of the pixel from the corresponding relationship data;
  • FIG. 15 is a block diagram of a transform module, according to another exemplary embodiment. As shown in FIG. 15, optionally, the transform module 1302 includes:
  • the obtaining submodule 151 is configured to acquire a transform function of the grayscale transform
  • the calculation sub-module 152 is configured to calculate the transformed grayscale value of the pixel point according to the transformation function and the original grayscale value of the pixel point.
  • FIG. 16 is a block diagram of a transform module, according to another exemplary embodiment. As shown in FIG. 16, optionally, the transform module 1302 includes:
  • the detection sub-module 161 is configured to detect a current ambient brightness
  • the selection sub-module 162 is configured to select corresponding relationship data or a transformation function for grayscale transformation according to the current ambient brightness
  • the query sub-module 163 is configured to determine a transformed grayscale value corresponding to the original grayscale value of the pixel point according to the selected correspondence data; or a calculation sub-module 164, configured to determine, according to the selected transformation function The transformed grayscale value corresponding to the original grayscale value of the pixel.
  • FIG. 17 is a block diagram of a transform module, according to another exemplary embodiment. As shown in FIG. 17, optionally, the transform module 1302 includes:
  • the obtaining submodule 171 is configured to acquire the display digits of the original grayscale value
  • the selection sub-module 172 is configured to select corresponding relationship data or a transformation function for grayscale transformation according to the display digits of the original grayscale value;
  • the query sub-module 173 is configured to query the original gray of the pixel according to the selected correspondence data.
  • FIG. 18 is a block diagram of a transform module, according to another exemplary embodiment. As shown in FIG. 18, optionally, the transform module 1302 includes:
  • the detection sub-module 181 is configured to detect a current ambient brightness
  • the transform sub-module 182 is configured to perform grayscale transformation on the pixel point when the current ambient brightness is less than or equal to a preset brightness value, to obtain a transformed grayscale value of the pixel point.
  • FIG. 19 is a block diagram of a display brightness adjusting device according to another exemplary embodiment. As shown in FIG. 19, optionally, the device further includes:
  • a first detecting module 1304, configured to detect a brightness value of the environment
  • a second adjustment module 1305, configured to adjust a screen display brightness value according to an ambient brightness value
  • the first determining module 1306 is configured to determine a relationship between the current brightness value after the screen adjustment and the set value
  • the first adjustment module 1303 is configured to: when it is determined that the current brightness value is lower than the first set brightness, adjust the first type of grayscale value; when it is determined that the current brightness value is higher than the second set brightness, adjust the first The second type of grayscale value.
  • FIG. 20 is a block diagram showing a display brightness adjusting device according to another exemplary embodiment. As shown in FIG. 20, optionally, the device further includes:
  • a second detecting module 1307 configured to detect a brightness value of a pixel in the display interface before acquiring an original grayscale value of the pixel in the display interface
  • the second determining module 1308 is configured to determine whether the brightness value of the pixel in the detected interface exceeds the set brightness value
  • a determining module 1309 configured to determine location information of the pixel point exceeding the set brightness value when it is determined that the set brightness value is exceeded;
  • the first adjustment module 1303 is configured to adjust a grayscale value of a pixel point of the determined position.
  • FIG. 21 is a block diagram of a display brightness adjusting device according to another exemplary embodiment. As shown in FIG. 21, optionally, the device further includes:
  • the second obtaining module 1310 is configured to obtain a color gamut space value displayed on the screen
  • the first adjustment module 1303 is configured to adjust a grayscale value of each pixel in the display interface according to the obtained color gamut space value.
  • FIG. 22 is a block diagram showing a display brightness adjusting device according to another exemplary embodiment. As shown in FIG. 22, optionally, the device further includes:
  • the establishing module 1311 is configured to establish a pair of input gray scale values and output gray scale values corresponding to different groups for each pixel point.
  • the correspondence relationship is that the ratio of the input grayscale value to the output grayscale value changes nonlinearly or linearly with the magnitude of the grayscale value, and the input grayscale value and the output grayscale value The ratio is not less than 1;
  • the first adjusting module 1303 is configured to adjust an output gray value of a pixel point of the screen display interface according to the ratio when the screen brightness value is higher than the set brightness.
  • the present disclosure also provides a display brightness adjusting device, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • FIG. 23 is a block diagram of an apparatus for displaying brightness adjustment, according to an exemplary embodiment.
  • device 2300 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • device 2300 can include one or more of the following components: processing component 2302, memory 2304, power component 2306, multimedia component 2308, audio component 2310, input/output (I/O) interface 2312, sensor component 2314, and communication component 2316.
  • Processing component 2302 typically controls the overall operation of device 2300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 2302 can include one or more processors 2320 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 2302 can include one or more modules to facilitate interaction between component 2302 and other components.
  • processing component 2302 can include a multimedia module to facilitate interaction between multimedia component 2308 and processing component 2302.
  • Memory 2304 is configured to store various types of data to support operation at device 2300. Examples of such data include instructions for any application or method operating on device 2300, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 2304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 2306 provides power to various components of device 2300.
  • Power component 2306 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 2300.
  • the multimedia component 2308 includes a screen between the device 2300 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 2308 includes a front camera and/or a rear camera. When the device 2300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 2310 is configured to output and/or input an audio signal.
  • the audio component 2310 includes a microphone (MIC) that is configured to receive an external audio signal when the device 2300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 2304 or transmitted via communication component 2316.
  • the audio component 2310 also includes a speaker for outputting an audio signal.
  • the I/O interface 2312 provides an interface between the processing component 2302 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 2314 includes one or more sensors for providing device 2300 with a status assessment of various aspects.
  • sensor component 2314 can detect an open/closed state of device 2300, relative positioning of components, such as the display and keypad of device 2300, and sensor component 2314 can also detect a change in position of one component of device 2300 or device 2300. The presence or absence of user contact with device 2300, device 2300 orientation or acceleration/deceleration, and temperature change of device 2300.
  • Sensor assembly 2314 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 2314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 2314 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 2316 is configured to facilitate wired or wireless communication between device 2300 and other devices.
  • the device 2300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 2316 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 2316 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be based on radio frequency identification (RFID) technology, the Infrared Data Association (IrDA) technology.
  • IrDA Infrared Data Association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 2300 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 A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 2304 comprising instructions executable by processor 2320 of apparatus 2300 to perform the above method.
  • 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, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a mobile terminal, enabling the mobile terminal to perform a display brightness adjustment method, the method comprising:
  • performing the grayscale transformation on the pixel to obtain a transformed grayscale value of the pixel including:
  • the correspondence relationship data includes the transformed grayscale value corresponding to the original grayscale value of the pixel point;
  • performing the grayscale transformation on the pixel to obtain a transformed grayscale value of the pixel including:
  • Corresponding relationship data or a transformation function for gray scale transformation is selected according to the current ambient brightness
  • performing the grayscale transformation on the pixel to obtain a transformed grayscale value of the pixel including:
  • performing the grayscale transformation on the pixel to obtain a transformed grayscale value of the pixel including:
  • the method further includes:
  • the second type of gray level value is adjusted.
  • the method before the obtaining the original grayscale value of the pixel in the display interface, the method further includes:
  • the method further includes:
  • the method further includes:
  • the correspondence relationship is a ratio of the input grayscale value to the output grayscale value according to the grayscale value
  • the size changes to a nonlinear change or a linear change, and the ratio of the input gray scale value to the output gray scale value is not less than 1;
  • the output gray value of the pixel of the screen display interface is adjusted according to the ratio.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

一种显示亮度调整方法及装置。方法包括:获取显示界面中像素点的原始灰阶值(S11);对像素点进行灰阶变换,得到像素点的变换后灰阶值(S12);根据像素点的变换后灰阶值调整显示界面的灰阶(S13)。

Description

显示亮度调整方法及装置
相关申请的交叉引用
本申请基于申请号为201510020861.0、申请日为2015年1月15日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及图像处理领域,尤其涉及一种显示亮度调整方法及装置。
背景技术
日常生活中,很多人都有睡前玩手机等智能设备的习惯,如果这时开灯,一是浪费能源,二是影响其他人。如果不开灯,在亮度极低的环境当中(例如黑夜0.001lux)使用手机,大部分人的解决方法是降低手机的亮度,但是目前的亮度由于lcd背光电路、结构、控制方式以及成本的限制,很难做到极低亮度,这样在非常黑暗的环境(例如黑夜0.001lux)使用时对眼睛伤害很大。
发明内容
本公开提供一种显示亮度调整方法及装置。
本公开的实施例第一方面提供一种显示亮度调整方法,包括:
获取显示界面中像素点的原始灰阶值;
对所述像素点进行灰阶变换,得到像素点的变换后灰阶值;
根据所述像素点的变换后灰阶值调整所述显示界面的灰阶。
可选的,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
获取灰阶变换的对应关系数据,所述对应关系数据包括所述像素点的原始灰阶值对应的变换后灰阶值;
从所述对应关系数据中查询所述像素点的原始灰阶值对应的变换后灰阶值;
或者,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
获取灰阶变换的变换函数;
根据所述变换函数及所述像素点的原始灰阶值计算得到像素点的变换后灰阶值。
可选的,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
检测当前环境亮度;
根据所述当前环境亮度选择用于灰阶变换的对应关系数据或变换函数;
根据选择的所述对应关系数据查询所述像素点的原始灰阶值对应的变换后灰阶值,或根据选择的所述变换函数计算所述像素点的原始灰阶值对应的变换后灰阶值。
可选的,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
获取所述原始灰阶值的显示位数;
根据所述原始灰阶值的显示位数选择用于灰阶变换的对应关系数据或变换函数;
根据选择的所述对应关系数据查询所述像素点的原始灰阶值对应的变换后灰阶值,或根据选择的所述变换函数计算所述像素点的原始灰阶值对应的变换后灰阶值。
可选的,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
检测当前环境亮度;
当所述当前环境亮度小于或等于预设亮度值时,对所述像素点进行灰阶变换,得到像素点的变换后灰阶值。
可选的,所述方法还包括:
检测环境的亮度值;
根据环境亮度值调整屏幕显示亮度值;
判断屏幕调整后的当前亮度值与设定值的关系;
当判断出当前亮度值低于第一设定亮度时,调整第一类灰阶值;
当判断出当前亮度值高于第二设定亮度时,调整第二类灰阶值。
可选的,所述获取显示界面中像素点的原始灰阶值之前,所述方法还包括:
检测显示界面中的像素点的亮度值;
判断检测到的界面中像素点的亮度值是否超过设定亮度值;
当判断出超过设定亮度值时,确定所述超过设定亮度值的像素点的所在位置信息;
调整所述确定位置的像素点的灰阶值。
可选的,所述方法还包括:
获取屏幕显示的色域空间值;
根据获取到的所述色域空间值,调整所述显示界面中各个像素点的灰阶值。
可选的,所述方法还包括:
建立对应每个像素点设定不同组的输入灰阶值与输出灰阶值的对应关系,所述对应关系 为所述输入灰阶值与所述输出灰阶值的比值随着灰度值的大小成非线性变化或线性变化,所述输入灰阶值与输出灰阶值的比值不小于1;
当获取到屏幕亮度值高于设定亮度时,按照所述比值调整屏幕显示界面的像素点的输出灰度值。
本公开的实施例第二方面提供一种显示亮度调整装置,包括:
获取模块,用于获取显示界面中像素点的原始灰阶值;
变换模块,用于对所述每像素点进行灰阶变换,得到像素点的变换后灰阶值;
调整模块,用于根据所述像素点的变换后灰阶值调整所述显示界面的灰阶。
可选的,所述变换模块包括:
获取子模块,用于获取灰阶变换的对应关系数据,所述对应关系数据包括所述像素点的原始灰阶值对应的变换后灰阶值;
查询子模块,用于从所述对应关系数据中查询所述像素点的原始灰阶值对应的变换后灰阶值;
或者,所述变换模块包括:
获取子模块,用于获取灰阶变换的变换函数;
计算子模块,用于根据所述变换函数及所述像素点的原始灰阶值计算得到像素点的变换后灰阶值。
可选的,所述变换模块还包括:
第一检测子模块,用于检测当前环境亮度;
选择子模块,用于根据所述当前环境亮度选择用于灰阶变换的对应关系数据或变换函数;
所述查询子模块,用于根据选择的所述对应关系数据确定所述像素点的原始灰阶值对应的变换后灰阶值;或所述计算子模块,用于根据选择的变换函数确定所述像素点的原始灰阶值对应的变换后灰阶值。
可选的,所述变换模块还包括:
获取子模块,用于获取所述原始灰阶值的显示位数;
选择子模块,用于根据所述原始灰阶值的显示位数选择用于灰阶变换的对应关系数据或变换函数;
所述查询子模块,用于根据选择的所述对应关系数据查询所述像素点的原始灰阶值对应的变换后灰阶值;或所述计算子模块,用于根据选择的所述变换函数计算所述像素点的原始 灰阶值对应的变换后灰阶值。
可选的,所述变换模块包括:
检测子模块,用于检测当前环境亮度;
变换子模块,用于当所述当前环境亮度小于或等于预设亮度值时,对所述像素点进行灰阶变换,得到像素点的变换后灰阶值。
可选的,所述装置还包括:
第一检测模块,用于检测环境的亮度值;
第二调整模块,用于根据环境亮度值调整屏幕显示亮度值;
第一判断模块,用于判断屏幕调整后的当前亮度值与设定值的关系;
所述第一调整模块,用于当判断出当前亮度值低于第一设定亮度时,调整第一类灰阶值;当判断出当前亮度值高于第二设定亮度时,调整第二类灰阶值。
可选的,所述装置还包括:
第二检测模块,用于在获取显示界面中像素点的原始灰阶值之前,检测显示界面中的像素点的亮度值;
第二判断模块,用于判断检测到的界面中像素点的亮度值是否超过设定亮度值;
确定模块,用于当判断出超过设定亮度值时,确定所述超过设定亮度值的像素点的所在位置信息;
所述第一调整模块,用于调整所述确定位置的像素点的灰阶值。
可选的,所述装置还包括:
第二获取模块,用于获取屏幕显示的色域空间值;
所述第一调整模块,用于根据获取到的所述色域空间值,调整所述显示界面中各个像素点的灰阶值。
可选的,所述装置还包括:
建立模块,用于建立对应每个像素点设定不同组的输入灰阶值与输出灰阶值的对应关系,所述对应关系为所述输入灰阶值与所述输出灰阶值的比值随着灰度值的大小成非线性变化或线性变化,所述输入灰阶值与输出灰阶值的比值不小于1;
所述第一调整模块,用于当获取到屏幕亮度值高于设定亮度时,按照所述比值调整屏幕显示界面的像素点的输出灰度值。
本公开的实施例第三方面提供一种显示亮度调整装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取显示界面中每个像素点的原始灰阶值;
对所述像素点进行灰阶变换,得到像素点的变换后灰阶值;
根据所述像素点的变换后灰阶值调整所述显示界面的灰阶。
本公开的实施例提供的技术方案可以包括以下有益效果:在极低亮度的环境当中,使显示系统能够输出极低的亮度,减小对眼睛的伤害,适用于在没有照明设备的低亮度环境中。并且,对所有显示内容都有效,而不是局限于某个应用程序,这样,无需对每个应用程度都单独开发相应的夜间模式,减少资源文件的大小,节约存储空间,而且操作简单,用户体验较好。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是根据一示例性实施例示出的一种显示亮度调整方法的流程图;
图2是根据另一示例性实施例示出的一种显示亮度调整方法的流程图;
图3是根据另一示例性实施例示出的一种显示亮度调整方法的流程图;
图4是根据另一示例性实施例示出的一种显示亮度调整方法的流程图;
图5是根据另一示例性实施例示出的一种显示亮度调整方法的流程图;
图6是根据另一示例性实施例示出的一种显示亮度调整方法的流程图
图7a是根据另一示例性实施例示出的原始显示界面的示意图;
图7b是根据另一示例性实施例示出的变换后的显示界面的示意图;
图8是根据另一示例性实施例示出的灰阶变换曲线示意图;
图9是根据另一示例性实施例示出的一种显示亮度调整方法的流程图;
图10是根据另一示例性实施例示出的一种显示亮度调整方法的流程图;
图11是根据另一示例性实施例示出的一种显示亮度调整方法的流程图;
图12是根据另一示例性实施例示出的一种显示亮度调整方法的流程图;
图13是根据一示例性实施例示出的一种显示亮度调整装置的框图;
图14是根据一示例性实施例示出的变换模块的框图;
图15是根据另一示例性实施例示出的变换模块的框图;
图16是根据另一示例性实施例示出的变换模块的框图;
图17是根据另一示例性实施例示出的变换模块的框图;
图18是根据另一示例性实施例示出的变换模块的框图;
图19是根据另一示例性实施例示出的一种显示亮度调整装置的框图;
图20是根据另一示例性实施例示出的一种显示亮度调整装置的框图;
图21是根据另一示例性实施例示出的一种显示亮度调整装置的框图;
图22是根据另一示例性实施例示出的一种显示亮度调整装置的框图;
图23是根据一示例性实施例示出的一种用于显示亮度调整的装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
本公开实施例中,通过在亮度很低时,改变显示界面的灰阶值,达到既不伤害眼睛,也不牺牲画质的目的。
图1是根据一示例性实施例示出的一种显示亮度调整方法的流程图,如图1所示,显示亮度调整方法用于终端中,包括以下步骤。
在步骤S11中,获取显示界面中像素点的原始灰阶值;
在步骤S12中,对像素点进行灰阶变换,得到像素点的变换后灰阶值;
在步骤S13中,根据像素点的变换后灰阶值调整显示界面的灰阶。
本实施例中,通过对显示界面的灰阶进行调整,改变显示界面的亮度及对比度,从而在环境亮度较低时,使得降低灰阶后的显示界面的背光透光率下降,显示界面整体亮度和对比度就会明显降低,达到保护屏幕使用者视力的目的;并且,由于在低亮度的环境中,显示界面亮度和对比度的降低对显示画质的影响较小,可以满足使用者对画质的要求,节约终端功耗,用户体验度较好。
图2是根据另一示例性实施例示出的一种显示亮度调整方法的流程图,如图2所示,可选的,步骤S12包括:
在步骤S21中,获取灰阶变换的对应关系数据,对应关系数据包括像素点的原始灰阶值对应的变换后灰阶值;
在步骤S22中,从对应关系数据中查询像素点的原始灰阶值对应的变换后灰阶值。
图3是根据另一示例性实施例示出的一种显示亮度调整方法的流程图,如图3所示,可选的,步骤S12包括:
在步骤S31中,获取灰阶变换的变换函数;
在步骤S32中,根据变换函数及每个像素点的原始灰阶值计算得到每个像素点的变换后灰阶值。
在可选方案中,可以预先设定灰阶变换的对应关系数据,通过对应关系数据查询像素点原始灰阶值对应的变换后灰阶值,也可以预先设定灰阶变换的变换函数,根据变换函数计算像素点原始灰阶值对应的变换后灰阶值。从而,可以快速、准确地确定灰阶变换后的灰阶值,使得显示界面的亮度和对比度可以被调整到适应当前环境亮度的程度,在不伤害使用者视力的前提下,保证画质质量。
可选的,上述对应关系数据可以包括随机选取的均匀分布的原始灰阶值及其对应的变换后灰阶值。例如,当原始灰阶值为0~255时,对应关系数据中可以仅包括其中10个原始灰阶值对应的变换后灰阶值,如下表1所示,
表1
原始灰阶值 变换后灰阶值
0 0
25 20
65 45
95 55
95 75
175 95
190 105
210 90
235 155
255 170
根据表1中的对应关系数据,可以拟合出灰阶变换曲线,根据该曲线,可获得所有的原 始灰阶值所对应的变换后灰阶值。
图4是根据另一示例性实施例示出的一种显示亮度调整方法的流程图,如图4所示,可选的,步骤S12包括:
在步骤S41中,检测环境的亮度值;
在步骤S42中,根据环境的亮度值选择用于灰阶变换的对应关系数据或变换函数;
在步骤S43中,根据选择的对应关系数据查询所述像素点的原始灰阶值对应的变换后灰阶值,或根据选择的变换函数计算所述像素点的原始灰阶值对应的变换后灰阶值。
在可选方案中,还可以根据环境亮度选择相应的灰阶变换的对应关系数据或变换函数,即在不同的环境亮度环境下,对显示界面的灰阶调整采用不同的亮度变换基础。例如,当环境亮度为0.001lux时,选择对应关系表A用于灰阶变换;当环境亮度为0.003lux时,选择对应关系表B用于灰阶变换;等等。在不同环境亮度下,对显示界面灰阶的调整目标也不同,根据环境亮度选择相应的对应关系数据或变换函数,使得对显示界面的亮度和对比度始终与环境亮度相适应,从而更好地保护屏幕使用者的视力,用户体验度更好。
图5是根据另一示例性实施例示出的一种显示亮度调整方法的流程图,如图5所示,可选的,步骤S12包括:
在步骤S51中,获取原始灰阶值的显示位数;
在步骤S52中,根据原始灰阶值的显示位数选择用于灰阶变换的对应关系数据或变换函数;
在步骤S53中,根据选择的对应关系数据查询所述像素点的原始灰阶值对应的变换后灰阶值,或根据选择的变换函数计算所述像素点的原始灰阶值对应的变换后灰阶值。
在可选方案中,还可以根据灰阶显示位数选择相应的灰阶变换的对应关系数据或变换函数。例如,灰阶显示位数是8bit时,选择对应关系表1用于灰阶变换;灰阶显示位数是10bit时,选择对应关系表2用于灰阶变换;等等。这样,使得灰阶调整能够适应不同显示参数显示界面,即对于不同显示参数的应用程序,都可以采用该方法进行灰阶调整,适用范围更加广泛。
图6是根据另一示例性实施例示出的一种显示亮度调整方法的流程图,如图6所示,可选的,步骤S12包括:
在步骤S61中,检测当前环境亮度;
在步骤S62中,当当前环境亮度小于或等于预设亮度值时,对像素点进行灰阶变换,得到像素点的变换后灰阶值。
在可选方案中,只有当环境亮度低于一定程度时,如当环境亮度小于或等于0.1lux时,才对显示界面进行灰阶调整,避免频繁地根据环境亮度调整显示界面的灰阶,节约终端处理能力和功耗,用户体验度较好。
如图7a和图7b所示,亮部的灰阶数值明显降低,这样背光的透过率就会下降,整体的亮度就会明显降低,画面的对比度也会降低。在低亮度环境当中,对比度降低对画质的影响并不大,所以足以满足用户的要求。
在显示的处理器(例如AP的显示处理器或是DDIC)当中,设置一系列的查找表,通过相应的查找表,实现将原始的灰阶数据做变换,具体调用哪一组查找表,可以根据环境光亮度自动选择,或者是手动选择。查找表是一组数字,内容根据灰阶的bit位数不同而不同,如果灰阶是8bit显示,查找表的原始灰阶值与变换后灰阶值是0~255之间;如果灰阶是10bit显示,那么查找表的原始灰阶值与变换后灰阶值是0~1023之间。
如图8所示,例如原始灰阶值是A直线,如果选择了B曲线作为查找表,那么数据当中的255灰阶值变成175,此时查找表的第256个单元就应该是(175/255)*255;150灰阶变成90,那么查找表当中150灰阶对应的数字就是(90/150)*255。查找表都是对2的8次方或2的10次方做归一化处理。
图9是根据另一示例性实施例示出的一种显示亮度调整方法的流程图,如图9所示,可选的,该方法还包括:
在步骤S91中,检测环境的亮度值;
在步骤S92中,根据环境亮度值调整屏幕显示亮度值;
在步骤S93中,判断屏幕调整后的当前亮度值与设定值的关系;
在步骤S94中,当判断出当前亮度值低于第一设定亮度时,调整第一类灰阶值;
在步骤S95中,当判断出当前亮度值高于第二设定亮度时,调整第二类灰阶值。
当环境亮度较低时,终端首先会自动调节屏幕的显示亮度,但是调节后的屏幕显示亮度对于用户来说,仍然有可能还是很亮,并且,当用户打开某些应用程序后,屏幕上的显示亮度仍然回复到亮度调节之前的亮度,这样,用户体验较差。在可选方案中,在屏幕的亮度调节后,对屏幕上不同位置的亮度再次进行判断,对于不同亮度的部分进行不同的灰度调节,如图7a所示,屏幕的上半部分灰阶值较大,亮度较低,可以不需要再进行灰阶调整,屏幕的下半部分灰阶较小,亮度较高,可以仅调节屏幕的下半部分。这样,使得无论在何种情况下,屏幕显示界面的亮度都能得到有效的降低,达到保护屏幕使用者视力的目的。
图10是根据另一示例性实施例示出的一种显示亮度调整方法的流程图,如图10所示, 可选的,所述获取显示界面中像素点的原始灰阶值之前,所述方法还包括:
在步骤S101中,检测显示界面中的像素点的亮度值;
在步骤S102中,判断检测到的界面中像素点的亮度值是否超过设定亮度值;
在步骤S103中,当判断出超过设定亮度值时,确定超过设定亮度值的像素点的所在位置信息;
在步骤S104中,调整确定位置的像素点的灰阶值。
在可选方案中,根据屏幕上每个像素点的亮度进行像素点的灰阶调整,这样,可以更加快速、准确地降低屏幕显示界面的亮度,达到保护屏幕使用者视力的目的。
图11是根据另一示例性实施例示出的一种显示亮度调整方法的流程图,如图11所示,可选的,所述方法还包括:
在步骤S111中,获取屏幕显示的色域空间值;
在步骤S112中,根据获取到的色域空间值,调整显示界面中各个像素点的灰阶值。
在可选方案中,还进一步获取屏幕显示的色域空间值,即屏幕的某种表色模式所能表达的颜色数量所构成的范围区域对应的数值,对于不同的色域空间,采用不同的灰阶调整。这样,使得对屏幕亮度的调整更加符合屏幕的性能,亮度调整的效果更好,保护用户视力。
图12是根据另一示例性实施例示出的一种显示亮度调整方法的流程图,如图12所示,可选的,该方法还包括:
在步骤S121中,建立对应每个像素点设定不同组的输入灰阶值与输出灰阶值的对应关系,对应关系为输入灰阶值与所述输出灰阶值的比值随着灰度值的大小成非线性变化或线性变化,输入灰阶值与输出灰阶值的比值不小于1;
在步骤S122中,当获取到屏幕亮度值高于设定亮度时,按照比值调整屏幕显示界面的像素点的输出灰度值。
在可选方案中,可以预先建立灰阶调整的对应关系,调整后屏幕的灰阶值要大于调整前屏幕的灰阶值,这样,使得调整后屏幕的亮度降低,以保护用户视力。
本实施例,在极低亮度的环境当中,使显示系统能够输出极低的亮度,减小对眼睛的伤害,适用于在没有照明设备的低亮度环境中。
并且,对所有显示内容都有效,而不是局限于某个应用程序,这样,无需对每个应用程度都单独开发相应的夜间模式,减少资源文件的大小,节约存储空间,而且操作简单,用户体验较好。
图13是根据一示例性实施例示出的一种显示亮度调整装置的框图。如图13所示,该装 置包括:
第一获取模块1301被配置为获取显示界面中像素点的原始灰阶值;
变换模块1302被配置为对所述每像素点进行灰阶变换,得到像素点的变换后灰阶值;
第一调整模块1303被配置为根据所述像素点的变换后灰阶值调整所述显示界面的灰阶。
图14是根据一示例性实施例示出的变换模块的框图。如图10所示,可选的,变换模块1302包括:
获取子模块141被配置为获取灰阶变换的对应关系数据,所述对应关系数据包括所述像素点的原始灰阶值对应的变换后灰阶值;
查询子模块142被配置为从所述对应关系数据中查询所述像素点的原始灰阶值对应的变换后灰阶值;
图15是根据另一示例性实施例示出的变换模块的框图。如图15所示,可选的,变换模块1302包括:
获取子模块151被配置为获取灰阶变换的变换函数;
计算子模块152被配置为根据所述变换函数及所述像素点的原始灰阶值计算得到像素点的变换后灰阶值。
图16是根据另一示例性实施例示出的变换模块的框图。如图16所示,可选的,变换模块1302包括:
检测子模块161被配置为检测当前环境亮度;
选择子模块162被配置为根据所述当前环境亮度选择用于灰阶变换的对应关系数据或变换函数;
所述查询子模块163被配置为根据选择的所述对应关系数据确定所述像素点的原始灰阶值对应的变换后灰阶值;或计算子模块164,用于根据选择的变换函数确定所述像素点的原始灰阶值对应的变换后灰阶值。
图17是根据另一示例性实施例示出的变换模块的框图。如图17所示,可选的,变换模块1302包括:
获取子模块171被配置为获取所述原始灰阶值的显示位数;
选择子模块172被配置为根据所述原始灰阶值的显示位数选择用于灰阶变换的对应关系数据或变换函数;
所述查询子模块173被配置为根据选择的所述对应关系数据查询所述像素点的原始灰 阶值对应的变换后灰阶值;或所述计算子模块134,用于根据选择的所述变换函数计算所述像素点的原始灰阶值对应的变换后灰阶值。
图18是根据另一示例性实施例示出的变换模块的框图。如图18所示,可选的,变换模块1302包括:
检测子模块181被配置为检测当前环境亮度;
变换子模块182被配置为当所述当前环境亮度小于或等于预设亮度值时,对所述像素点进行灰阶变换,得到像素点的变换后灰阶值。
图19是根据另一示例性实施例示出的一种显示亮度调整装置的框图。如图19所示,可选的,所述装置还包括:
第一检测模块1304,用于检测环境的亮度值;
第二调整模块1305,用于根据环境亮度值调整屏幕显示亮度值;
第一判断模块1306,用于判断屏幕调整后的当前亮度值与设定值的关系;
所述第一调整模块1303,用于当判断出当前亮度值低于第一设定亮度时,调整第一类灰阶值;当判断出当前亮度值高于第二设定亮度时,调整第二类灰阶值。
图20是根据另一示例性实施例示出的一种显示亮度调整装置的框图。如图20所示,可选的,所述装置还包括:
第二检测模块1307,用于在获取显示界面中像素点的原始灰阶值之前,检测显示界面中的像素点的亮度值;
第二判断模块1308,用于判断检测到的界面中像素点的亮度值是否超过设定亮度值;
确定模块1309,用于当判断出超过设定亮度值时,确定所述超过设定亮度值的像素点的所在位置信息;
所述第一调整模块1303,用于调整所述确定位置的像素点的灰阶值。
图21是根据另一示例性实施例示出的一种显示亮度调整装置的框图。如图21所示,可选的,所述装置还包括:
第二获取模块1310,用于获取屏幕显示的色域空间值;
所述第一调整模块1303,用于根据获取到的所述色域空间值,调整所述显示界面中各个像素点的灰阶值。
图22是根据另一示例性实施例示出的一种显示亮度调整装置的框图。如图22所示,可选的,该装置还包括:
建立模块1311,用于建立对应每个像素点设定不同组的输入灰阶值与输出灰阶值的对 应关系,所述对应关系为所述输入灰阶值与所述输出灰阶值的比值随着灰度值的大小成非线性变化或线性变化,所述输入灰阶值与输出灰阶值的比值不小于1;
所述第一调整模块1303,用于当获取到屏幕亮度值高于设定亮度时,按照所述比值调整屏幕显示界面的像素点的输出灰度值。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
本公开还提供一种显示亮度调整装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取显示界面中每个像素点的原始灰阶值;
对所述像素点进行灰阶变换,得到像素点的变换后灰阶值;
根据所述像素点的变换后灰阶值调整所述显示界面的灰阶。
图23是根据一示例性实施例示出的一种用于显示亮度调整的装置的框图。例如,装置2300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
如图23所示,装置2300可以包括以下一个或多个组件:处理组件2302,存储器2304,电源组件2306,多媒体组件2308,音频组件2310,输入/输出(I/O)的接口2312,传感器组件2314,以及通信组件2316。
处理组件2302通常控制装置2300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件2302可以包括一个或多个处理器2320来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件2302可以包括一个或多个模块,便于处理组件2302和其他组件之间的交互。例如,处理组件2302可以包括多媒体模块,以方便多媒体组件2308和处理组件2302之间的交互。
存储器2304被配置为存储各种类型的数据以支持在设备2300的操作。这些数据的示例包括用于在装置2300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器2304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件2306为装置2300的各种组件提供电力。电源组件2306可以包括电源管理系统,一个或多个电源,及其他与为装置2300生成、管理和分配电力相关联的组件。
多媒体组件2308包括在所述装置2300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件2308包括一个前置摄像头和/或后置摄像头。当设备2300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件2310被配置为输出和/或输入音频信号。例如,音频组件2310包括一个麦克风(MIC),当装置2300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器2304或经由通信组件2316发送。在一些实施例中,音频组件2310还包括一个扬声器,用于输出音频信号。
I/O接口2312为处理组件2302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件2314包括一个或多个传感器,用于为装置2300提供各个方面的状态评估。例如,传感器组件2314可以检测到设备2300的打开/关闭状态,组件的相对定位,例如所述组件为装置2300的显示器和小键盘,传感器组件2314还可以检测装置2300或装置2300一个组件的位置改变,用户与装置2300接触的存在或不存在,装置2300方位或加速/减速和装置2300的温度变化。传感器组件2314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件2314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件2314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件2316被配置为便于装置2300和其他设备之间有线或无线方式的通信。装置2300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件2316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件2316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技 术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置2300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器2304,上述指令可由装置2300的处理器2320执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种显示亮度调整方法,所述方法包括:
获取显示界面中像素点的原始灰阶值;
对所述像素点进行灰阶变换,得到像素点的变换后灰阶值;
根据所述像素点的变换后灰阶值调整所述显示界面的灰阶。
可选的,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
获取灰阶变换的对应关系数据,所述对应关系数据包括所述像素点的原始灰阶值对应的变换后灰阶值;
从所述对应关系数据中查询所述像素点的原始灰阶值对应的变换后灰阶值;
或者,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
获取灰阶变换的变换函数;
根据所述变换函数及所述像素点的原始灰阶值计算得到像素点的变换后灰阶值。
可选的,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
检测当前环境亮度;
根据所述当前环境亮度选择用于灰阶变换的对应关系数据或变换函数;
根据选择的所述对应关系数据查询所述像素点的原始灰阶值对应的变换后灰阶值,或根据选择的所述变换函数计算所述像素点的原始灰阶值对应的变换后灰阶值。
可选的,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
获取所述原始灰阶值的显示位数;
根据所述原始灰阶值的显示位数选择用于灰阶变换的对应关系数据或变换函数;
根据选择的所述对应关系数据查询所述像素点的原始灰阶值对应的变换后灰阶值,或根据选择的所述变换函数计算所述像素点的原始灰阶值对应的变换后灰阶值。
可选的,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
检测当前环境亮度;
当所述当前环境亮度小于或等于预设亮度值时,对所述像素点进行灰阶变换,得到像素点的变换后灰阶值。
可选的,所述方法还包括:
检测环境的亮度值;
根据环境亮度值调整屏幕显示亮度值;
判断屏幕调整后的当前亮度值与设定值的关系;
当判断出当前亮度值低于第一设定亮度时,调整第一类灰阶值;
当判断出当前亮度值高于第二设定亮度时,调整第二类灰阶值。
可选的,所述获取显示界面中像素点的原始灰阶值之前,所述方法还包括:
检测显示界面中的像素点的亮度值;
判断检测到的界面中像素点的亮度值是否超过设定亮度值;
当判断出超过设定亮度值时,确定所述超过设定亮度值的像素点的所在位置信息;
调整所述确定位置的像素点的灰阶值。
可选的,所述方法还包括:
获取屏幕显示的色域空间值;
根据获取到的所述色域空间值,调整所述显示界面中各个像素点的灰阶值。
可选的,所述方法还包括:
建立对应每个像素点设定不同组的输入灰阶值与输出灰阶值的对应关系,所述对应关系为所述输入灰阶值与所述输出灰阶值的比值随着灰度值的大小成非线性变化或线性变化,所述输入灰阶值与输出灰阶值的比值不小于1;
当获取到屏幕亮度值高于设定亮度时,按照所述比值调整屏幕显示界面的像素点的输出灰度值。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以 在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (21)

  1. 一种显示亮度调节方法,其特征在于,包括:
    获取显示界面中像素点的原始灰阶值;
    对所述像素点进行灰阶变换,得到像素点的变换后灰阶值;
    根据所述像素点的变换后灰阶值调整所述显示界面的灰阶值。
  2. 根据权利要求1所述的方法,其特征在于,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
    获取灰阶变换的对应关系数据,所述对应关系数据包括所述像素点的原始灰阶值对应的变换后灰阶值;
    从所述对应关系数据中查询所述像素点的原始灰阶值对应的变换后灰阶值。
  3. 根据权利要求1所述的方法,其特征在于,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
    获取灰阶变换的变换函数;
    根据所述变换函数及所述像素点的原始灰阶值计算得到像素点的变换后灰阶值。
  4. 根据权利要求2或3所述的方法,其特征在于,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
    检测当前环境亮度;
    根据所述当前环境亮度选择用于灰阶变换的对应关系数据或变换函数;
    根据选择的所述对应关系数据查询所述像素点的原始灰阶值对应的变换后灰阶值,或根据选择的所述变换函数计算所述像素点的原始灰阶值对应的变换后灰阶值。
  5. 根据权利要求2或3所述的方法,其特征在于,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
    获取所述原始灰阶值的显示位数;
    根据所述原始灰阶值的显示位数选择用于灰阶变换的对应关系数据或变换函数;
    根据选择的所述对应关系数据查询所述像素点的原始灰阶值对应的变换后灰阶值,或根据选择的所述变换函数计算所述像素点的原始灰阶值对应的变换后灰阶值。
  6. 根据权利要求1所述的方法,其特征在于,所述对所述像素点进行灰阶变换,得到像素点的变换后灰阶值,包括:
    检测环境的亮度值;
    当所述环境的亮度值小于或等于预设亮度值时,对所述像素点进行灰阶变换,得到像素 点的变换后灰阶值。
  7. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    检测环境的亮度值;
    根据环境亮度值调整屏幕显示亮度值;
    判断屏幕调整后的当前亮度值与设定值的关系;
    当判断出当前亮度值低于第一设定亮度时,调整第一类灰阶值;
    当判断出当前亮度值高于第二设定亮度时,调整第二类灰阶值。
  8. 根据权利要求7所述的显示亮度调节方法,其特征在于,所述获取显示界面中像素点的原始灰阶值之前,所述方法还包括:
    检测显示界面中的像素点的亮度值;
    判断检测到的界面中像素点的亮度值是否超过设定亮度值;
    当判断出超过设定亮度值时,确定所述超过设定亮度值的像素点的所在位置信息;
    调整所述确定位置的像素点的灰阶值。
  9. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    获取屏幕显示的色域空间值;
    根据获取到的所述色域空间值,调整所述显示界面中各个像素点的灰阶值。
  10. 根据权利要求7-9中任一项所述的方法,其特征在于,所述方法还包括:
    建立对应每个像素点设定不同组的输入灰阶值与输出灰阶值的对应关系,所述对应关系为所述输入灰阶值与所述输出灰阶值的比值随着灰度值的大小成非线性变化或线性变化,所述输入灰阶值与输出灰阶值的比值不小于1;
    当获取到屏幕亮度值高于设定亮度时,按照所述比值调整屏幕显示界面的像素点的输出灰度值。
  11. 一种显示亮度调节装置,其特征在于,包括:
    第一获取模块,用于获取显示界面中像素点的原始灰阶值;
    变换模块,用于对所述每像素点进行灰阶变换,得到像素点的变换后灰阶值;
    第一调整模块,用于根据所述像素点的变换后灰阶值调整所述显示界面的灰阶。
  12. 根据权利要求11所述的装置,其特征在于,所述变换模块包括:
    获取子模块,用于获取灰阶变换的对应关系数据,所述对应关系数据包括所述像素点的原始灰阶值对应的变换后灰阶值;
    查询子模块,用于从所述对应关系数据中查询所述像素点的原始灰阶值对应的变换后灰 阶值。
  13. 根据权利要求11所述的装置,其特征在于,所述变换模块包括:
    获取子模块,用于获取灰阶变换的变换函数;
    计算子模块,用于根据所述变换函数及所述像素点的原始灰阶值计算得到像素点的变换后灰阶值。
  14. 根据权利要求12或13所述的装置,其特征在于,所述变换模块还包括:
    检测子模块,用于检测当前环境亮度;
    选择子模块,用于根据所述当前环境亮度选择用于灰阶变换的对应关系数据或变换函数;
    所述查询子模块,用于根据选择的所述对应关系数据确定所述像素点的原始灰阶值对应的变换后灰阶值;或所述计算子模块,用于根据选择的变换函数确定所述像素点的原始灰阶值对应的变换后灰阶值。
  15. 根据权利要求12或13所述的装置,其特征在于,所述变换模块还包括:
    获取子模块,用于获取所述原始灰阶值的显示位数;
    选择子模块,用于根据所述原始灰阶值的显示位数选择用于灰阶变换的对应关系数据或变换函数;
    所述查询子模块,用于根据选择的所述对应关系数据查询所述像素点的原始灰阶值对应的变换后灰阶值;或所述计算子模块,用于根据选择的所述变换函数计算所述像素点的原始灰阶值对应的变换后灰阶值。
  16. 根据权利要求11所述的装置,其特征在于,所述变换模块包括:
    检测子模块,用于检测当前环境亮度;
    变换子模块,用于当所述当前环境亮度小于或等于预设亮度值时,对所述像素点进行灰阶变换,得到像素点的变换后灰阶值。
  17. 根据权利要求11所述的装置,其特征在于,所述装置还包括:
    第一检测模块,用于检测环境的亮度值;
    第二调整模块,用于根据环境亮度值调整屏幕显示亮度值;
    第一判断模块,用于判断屏幕调整后的当前亮度值与设定值的关系;
    所述第一调整模块,用于当判断出当前亮度值低于第一设定亮度时,调整第一类灰阶值;当判断出当前亮度值高于第二设定亮度时,调整第二类灰阶值。
  18. 根据权利要求17所述的装置,其特征在于,所述装置还包括:
    第二检测模块,用于在获取显示界面中像素点的原始灰阶值之前,检测显示界面中的像素点的亮度值;
    第二判断模块,用于判断检测到的界面中像素点的亮度值是否超过设定亮度值;
    确定模块,用于当判断出超过设定亮度值时,确定所述超过设定亮度值的像素点的所在位置信息;
    所述第一调整模块,用于调整所述确定位置的像素点的灰阶值。
  19. 根据权利要求11所述的装置,其特征在于,所述装置还包括:
    第二获取模块,用于获取屏幕显示的色域空间值;
    所述第一调整模块,用于根据获取到的所述色域空间值,调整所述显示界面中各个像素点的灰阶值。
  20. 根据权利要求17-19中任一项所述的装置,其特征在于,所述装置还包括:
    建立模块,用于建立对应每个像素点设定不同组的输入灰阶值与输出灰阶值的对应关系,所述对应关系为所述输入灰阶值与所述输出灰阶值的比值随着灰度值的大小成非线性变化或线性变化,所述输入灰阶值与输出灰阶值的比值不小于1;
    所述第一调整模块,用于当获取到屏幕亮度值高于设定亮度时,按照所述比值调整屏幕显示界面的像素点的输出灰度值。
  21. 一种显示亮度调整装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取显示界面中每个像素点的原始灰阶值;
    对所述像素点进行灰阶变换,得到像素点的变换后灰阶值;
    根据所述像素点的变换后灰阶值调整所述显示界面的灰阶。
PCT/CN2015/093404 2014-12-26 2015-10-30 显示亮度调整方法及装置 WO2016112730A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
RU2017102530A RU2659484C1 (ru) 2014-12-26 2015-10-30 Способ и устройство для корректировки яркости отображения
JP2017505078A JP6722653B2 (ja) 2014-12-26 2015-10-30 表示輝度の調整方法及び装置
MX2017005365A MX370425B (es) 2014-12-26 2015-10-30 Método y dispositivo para ajustar el brillo de la pantalla.
EP15862147.4A EP3086311A4 (en) 2015-01-15 2015-10-30 Method and device for adjusting display brightness
EP21167828.9A EP3866155A1 (en) 2015-01-15 2015-10-30 Method and device for adjusting display brightness
US15/393,420 US10319342B2 (en) 2015-01-15 2016-12-29 Method and device for adjusting display brightness

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510020861.0A CN104700786B (zh) 2014-12-26 2015-01-15 显示亮度调整方法及装置
CN201510020861.0 2015-01-15

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/393,420 Continuation US10319342B2 (en) 2015-01-15 2016-12-29 Method and device for adjusting display brightness

Publications (1)

Publication Number Publication Date
WO2016112730A1 true WO2016112730A1 (zh) 2016-07-21

Family

ID=56408921

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093404 WO2016112730A1 (zh) 2014-12-26 2015-10-30 显示亮度调整方法及装置

Country Status (3)

Country Link
US (1) US10319342B2 (zh)
EP (2) EP3086311A4 (zh)
WO (1) WO2016112730A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10957239B2 (en) 2018-09-28 2021-03-23 Apple Inc. Gray tracking across dynamically changing display characteristics
CN112365860B (zh) * 2020-10-27 2023-01-20 深圳Tcl新技术有限公司 一种终端屏幕亮度调节方法、设备及存储介质
CN117116207A (zh) * 2023-04-28 2023-11-24 荣耀终端有限公司 一种灰阶补偿方法及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0883103A1 (en) * 1997-06-05 1998-12-09 THOMSON multimedia Direct view liquid crystal display with automatic colour adjustment
CN101021639A (zh) * 2007-03-20 2007-08-22 友达光电股份有限公司 液晶显示器的背光控制方法
CN101162565A (zh) * 2007-11-19 2008-04-16 友达光电股份有限公司 彩色背光控制方法
CN101271208A (zh) * 2007-03-19 2008-09-24 钰瀚科技股份有限公司 一种液晶显示器的动态背光控制方法
CN101673515A (zh) * 2009-10-15 2010-03-17 硅谷数模半导体(北京)有限公司 动态背光控制方法
CN104700786A (zh) * 2014-12-26 2015-06-10 小米科技有限责任公司 显示亮度调整方法及装置

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0816129A (ja) 1994-04-27 1996-01-19 Canon Inc 画像処理装置
JP2002221950A (ja) 2000-11-21 2002-08-09 Matsushita Electric Ind Co Ltd 表示装置及び表示方法
KR100762677B1 (ko) * 2005-08-08 2007-10-01 삼성에스디아이 주식회사 유기 발광 표시장치 및 그 제어 방법
KR101404582B1 (ko) 2006-01-20 2014-06-09 가부시키가이샤 한도오따이 에네루기 켄큐쇼 표시장치의 구동방법
JP2008209886A (ja) 2007-02-23 2008-09-11 Samsung Sdi Co Ltd 有機電界発光表示装置及びその駆動方法
KR100944595B1 (ko) 2007-04-24 2010-02-25 가부시끼가이샤 르네사스 테크놀로지 표시 장치, 표시 장치 구동 회로, 화상 표시 방법, 전자기기 및 화상 표시 장치 구동 회로
JP2009031554A (ja) 2007-07-27 2009-02-12 Sharp Corp 映像表示装置及びその映像表示方法
US8345038B2 (en) 2007-10-30 2013-01-01 Sharp Laboratories Of America, Inc. Methods and systems for backlight modulation and brightness preservation
US8531379B2 (en) * 2008-04-28 2013-09-10 Sharp Laboratories Of America, Inc. Methods and systems for image compensation for ambient conditions
JP2009294292A (ja) 2008-06-03 2009-12-17 Funai Electric Co Ltd 映像表示装置
US8373644B2 (en) * 2008-09-23 2013-02-12 Sharp Kabushiki Kaisha Backlight luminance control apparatus and video display apparatus
JP5359191B2 (ja) 2008-10-28 2013-12-04 船井電機株式会社 液晶表示装置
US20110205397A1 (en) * 2010-02-24 2011-08-25 John Christopher Hahn Portable imaging device having display with improved visibility under adverse conditions
JP2012194404A (ja) 2011-03-17 2012-10-11 Fujitsu Ten Ltd 表示制御装置、画像表示システム及び表示制御方法
TWI423198B (zh) 2011-04-20 2014-01-11 Wistron Corp 依據環境光之亮度調整畫面灰階度的顯示裝置及方法
US8817002B2 (en) * 2011-09-01 2014-08-26 Blackberry Limited Data display adapted for bright ambient light
KR102047433B1 (ko) * 2011-09-23 2019-12-04 매뉴팩처링 리소시스 인터내셔널 인코포레이티드 디스플레이 특성들의 환경 적응을 위한 시스템 및 방법
US9129388B2 (en) * 2012-11-21 2015-09-08 Apple Inc. Global approximation to spatially varying tone mapping operators
US9530342B2 (en) * 2013-09-10 2016-12-27 Microsoft Technology Licensing, Llc Ambient light context-aware display
KR20150048394A (ko) * 2013-10-28 2015-05-07 삼성디스플레이 주식회사 휘도 보정 시스템
CN103810973A (zh) 2014-03-13 2014-05-21 友达光电股份有限公司 一种具有高穿透率的液晶显示器及其控制方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0883103A1 (en) * 1997-06-05 1998-12-09 THOMSON multimedia Direct view liquid crystal display with automatic colour adjustment
CN101271208A (zh) * 2007-03-19 2008-09-24 钰瀚科技股份有限公司 一种液晶显示器的动态背光控制方法
CN101021639A (zh) * 2007-03-20 2007-08-22 友达光电股份有限公司 液晶显示器的背光控制方法
CN101162565A (zh) * 2007-11-19 2008-04-16 友达光电股份有限公司 彩色背光控制方法
CN101673515A (zh) * 2009-10-15 2010-03-17 硅谷数模半导体(北京)有限公司 动态背光控制方法
CN104700786A (zh) * 2014-12-26 2015-06-10 小米科技有限责任公司 显示亮度调整方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3086311A4 *

Also Published As

Publication number Publication date
US20170110092A1 (en) 2017-04-20
US10319342B2 (en) 2019-06-11
EP3086311A4 (en) 2017-09-27
EP3086311A1 (en) 2016-10-26
EP3866155A1 (en) 2021-08-18

Similar Documents

Publication Publication Date Title
CN107978264B (zh) 显示亮度调整方法及装置
WO2017024728A1 (zh) 降低显示亮度的方法及装置
WO2016107267A1 (zh) 背光控制方法和装置
WO2019109563A1 (zh) 显示界面图像的方法和装置
JP6401785B2 (ja) 液晶表示方法および装置
WO2018107752A1 (zh) 控制屏幕发光的方法及装置
US10109248B2 (en) Method and device for adjusting liquid crystal display
WO2022121402A1 (zh) 亮度调整方法、电子装置、显示面板及电子设备
CN107677377B (zh) 确定色温的方法及装置
WO2016112730A1 (zh) 显示亮度调整方法及装置
CN104536713B (zh) 显示图像中的字符的方法及装置
CN111210777A (zh) 背光亮度调整方法、装置、电子设备、机器可读存储介质
CN107563957B (zh) 眼部图像处理方法及装置
CN105472228B (zh) 图像处理方法、装置及终端
CN112905141A (zh) 屏幕显示方法及装置、计算机存储介质
CN106601165B (zh) 屏幕显示方法及装置
CN108538261B (zh) 控制显示的方法及装置、显示设备
WO2023240624A1 (zh) 亮度调整方法及装置、存储介质
WO2023236148A1 (zh) 显示控制方法及装置、显示设备及存储介质
CN108206012A (zh) 伽马校正方法及装置
CN116364006A (zh) 显示方法及装置
CN118071665A (zh) 图像显示方法及装置、电子设备、存储介质
CN118053405A (zh) 屏幕亮度控制方法、装置、电子设备、介质和芯片
CN115866133A (zh) 终端设备控制方法、装置、终端设备及存储介质
CN115809105A (zh) 一种显示画面调节方法、显示画面调节装置及存储介质

Legal Events

Date Code Title Description
REEP Request for entry into the european phase

Ref document number: 2015862147

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015862147

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15862147

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112016021234

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2017102530

Country of ref document: RU

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017505078

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2017/005365

Country of ref document: MX

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112016021234

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20160914