CN111462701A - Backlight brightness adjusting method and device - Google Patents

Backlight brightness adjusting method and device Download PDF

Info

Publication number
CN111462701A
CN111462701A CN201910048683.0A CN201910048683A CN111462701A CN 111462701 A CN111462701 A CN 111462701A CN 201910048683 A CN201910048683 A CN 201910048683A CN 111462701 A CN111462701 A CN 111462701A
Authority
CN
China
Prior art keywords
brightness value
brightness
image
current frame
backlight
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.)
Pending
Application number
CN201910048683.0A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910048683.0A priority Critical patent/CN111462701A/en
Publication of CN111462701A publication Critical patent/CN111462701A/en
Pending legal-status Critical Current

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
    • 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
    • G09G3/3406Control of illumination source

Abstract

The disclosure relates to a backlight brightness adjusting method and device, and belongs to the technical field of electronics. The method comprises the following steps: acquiring a brightness curve, wherein the brightness curve is used for representing the corresponding relation between the ambient light brightness value and the backlight brightness value; acquiring an ambient light brightness value of a current environment; acquiring an image brightness value of a current frame image; determining a target backlight brightness value according to the brightness curve, the ambient light brightness value and the image brightness value; and adjusting the backlight brightness of the screen according to the target backlight brightness value. The backlight brightness of the screen is adjusted by combining the ambient light brightness value and the image brightness value of the current frame image, so that the adjusted backlight brightness of the screen can meet the watching requirements of human eyes, a user is more comfortable when watching the screen, the visual fatigue is relieved, and the watching experience of the user is improved.

Description

Backlight brightness adjusting method and device
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a method and an apparatus for adjusting backlight brightness.
Background
Currently, terminals such as smart phones, tablet computers, electronic book readers and the like have become indispensable tools for users, and play an important role in daily life, work and study. With the prevalence of video and audio entertainment electronic products, electronic books and the like, users can use the terminal in the process of rest and journey. However, when the user views the screen of the terminal, the user feels visual fatigue due to excessively bright or dark backlight brightness. In order to relieve visual fatigue of the user, the backlight brightness of the screen may be adjusted.
At present, the related art mainly adjusts the backlight brightness of the screen in combination with the ambient light brightness value of the environment where the terminal is located. The specific adjusting process is as follows: acquiring a brightness curve, wherein the brightness curve is used for representing the corresponding relation between the ambient light brightness value and the backlight brightness value; acquiring an ambient light brightness value of a current environment; substituting the ambient brightness value into the brightness curve to obtain the backlight brightness value; and adjusting the backlight brightness of the screen according to the backlight brightness value.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a backlight brightness adjusting method and apparatus.
According to a first aspect of the embodiments of the present disclosure, there is provided a backlight brightness adjusting method, the method including:
acquiring a brightness curve, wherein the brightness curve is used for representing the corresponding relation between the ambient light brightness value and the backlight brightness value;
acquiring an ambient light brightness value of a current environment;
acquiring an image brightness value of a current frame image;
determining a target backlight brightness value according to the brightness curve, the environment light brightness value and the image brightness value;
and adjusting the backlight brightness of the screen according to the target backlight brightness value.
In another possible implementation manner, the acquiring an image brightness value of the current frame image includes:
acquiring the sum of the brightness values of all pixel points in the current frame image;
and obtaining the ratio of the sum of the brightness values to the sum of the pixel points in the current frame image to obtain the image brightness value of the current frame image.
In another possible implementation manner, the obtaining the sum of the brightness values of the pixels in the current frame image includes:
converting the current frame image from an RGB space to an HSV space, and acquiring a brightness histogram of the current frame image in the HSV space, wherein the brightness histogram is used for representing the corresponding relation between each brightness value in the current frame image and the number of pixel points;
and acquiring the sum of the brightness values of the current frame image according to the brightness histogram.
In another possible implementation manner, the determining a target backlight brightness value according to the brightness curve, the ambient light brightness value, and the image brightness value includes:
acquiring a brightness value increment corresponding to the brightness value of the image;
substituting the ambient light brightness value into the brightness curve to obtain a backlight brightness value;
and determining the sum of the brightness value increment and the backlight brightness value as the target backlight brightness value.
In another possible implementation manner, the obtaining of the brightness value increment corresponding to the brightness value of the image includes:
determining a brightness interval in which the image brightness value is located according to a preset brightness interval;
acquiring a brightness value increment corresponding to a brightness interval where the image brightness value is located according to a preset corresponding relation between the brightness interval and the brightness value increment;
and determining the acquired brightness value increment as the brightness value increment corresponding to the image brightness value.
According to a second aspect of the embodiments of the present disclosure, there is provided a backlight luminance adjusting apparatus, the apparatus including:
the first acquisition module is used for acquiring a brightness curve, and the brightness curve is used for representing the corresponding relation between the ambient light brightness value and the backlight brightness value;
the second acquisition module is used for acquiring the ambient light brightness value of the current environment;
the third acquisition module is used for acquiring the image brightness value of the current frame image;
the determining module is used for determining a target backlight brightness value according to the brightness curve, the environment light brightness value and the image brightness value;
and the adjusting module is used for adjusting the backlight brightness of the screen according to the target backlight brightness value.
In another possible implementation manner, the third obtaining module is configured to obtain a sum of luminance values of each pixel point in the current frame image; and obtaining the ratio of the sum of the brightness values to the sum of the pixel points in the current frame image to obtain the image brightness value of the current frame image.
In another possible implementation manner, the third obtaining module is configured to convert the current frame image from an RGB space to an HSV space, and obtain a luminance histogram of the current frame image in the HSV space, where the luminance histogram is used to represent a correspondence between each luminance value in the current frame image and the number of pixels; and acquiring the sum of the brightness values of the current frame image according to the brightness histogram.
In another possible implementation manner, the determining module is configured to obtain a brightness value increment corresponding to the brightness value of the image; substituting the ambient light brightness value into the brightness curve to obtain a backlight brightness value; and determining the sum of the brightness value increment and the backlight brightness value as the target backlight brightness value.
In another possible implementation manner, the determining module is configured to determine a brightness interval in which the image brightness value is located according to a preset brightness interval; acquiring a brightness value increment corresponding to a brightness interval where the image brightness value is located according to a preset corresponding relation between the brightness interval and the brightness value increment; and determining the acquired brightness value increment as the brightness value increment corresponding to the image brightness value.
According to a third aspect of the embodiments of the present disclosure, there is provided a backlight luminance adjusting apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a brightness curve, wherein the brightness curve is used for representing the corresponding relation between the ambient light brightness value and the backlight brightness value;
acquiring an ambient light brightness value of a current environment;
acquiring an image brightness value of a current frame image;
determining a target backlight brightness value according to the brightness curve, the environment light brightness value and the image brightness value;
and adjusting the backlight brightness of the screen according to the target backlight brightness value.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the backlight brightness of the screen is adjusted by combining the ambient light brightness value and the image brightness value of the current frame image, so that the adjusted backlight brightness of the screen can meet the watching requirements of human eyes, a user is more comfortable when watching the screen, the visual fatigue is relieved, and the watching experience of the user is improved.
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 flowchart illustrating a backlight brightness adjusting method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a backlight brightness adjusting method according to an exemplary embodiment.
Fig. 3 is a diagram illustrating a luminance curve according to an exemplary embodiment.
Fig. 4 is a schematic diagram illustrating another luminance curve according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a backlight luminance adjusting apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating an apparatus for backlight brightness adjustment according to an exemplary 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.
Fig. 1 is a flowchart illustrating a backlight brightness adjusting method according to an exemplary embodiment, where the backlight brightness adjusting method is used in a terminal, as shown in fig. 1, and includes the following steps.
In step S101, a luminance profile is acquired.
Wherein, the brightness curve is used for representing the corresponding relation between the ambient light brightness value and the backlight brightness value
In step S102, an ambient light brightness value of the current environment is acquired.
In step S103, an image luminance value of the current frame image is acquired.
In step S104, a target backlight brightness value is determined according to the brightness curve, the ambient light brightness value and the image brightness value.
In step S105, the backlight luminance of the screen is adjusted according to the target backlight luminance value.
The method provided by the embodiment of the disclosure adjusts the backlight brightness of the screen by combining the ambient light brightness value and the image brightness value of the current frame image, so that the adjusted backlight brightness of the screen can better meet the watching requirement of human eyes, a user is more comfortable when watching the screen, the visual fatigue is relieved, and the watching experience of the user is improved.
In another embodiment of the present disclosure, acquiring an image brightness value of a current frame image includes:
acquiring the sum of brightness values of all pixel points in the current frame image;
and obtaining the ratio of the sum of the brightness values to the sum of the pixel points in the current frame image to obtain the image brightness value of the current frame image.
In another embodiment of the present disclosure, obtaining a sum of luminance values of each pixel point in the current frame image includes:
converting the current frame image from an RGB space to an HSV space, and acquiring a brightness histogram of the current frame image in the HSV space, wherein the brightness histogram is used for representing the corresponding relation between each brightness value and the number of pixel points in the current frame image;
and acquiring the sum of the brightness values of the current frame image according to the brightness histogram.
In another embodiment of the present disclosure, determining a target backlight luminance value according to a luminance curve, an ambient light luminance value, and an image luminance value includes:
acquiring a brightness value increment corresponding to the brightness value of the image;
substituting the ambient brightness value into the brightness curve to obtain a backlight brightness value;
and determining the sum of the brightness value increment and the backlight brightness value as a target backlight brightness value.
In another embodiment of the present disclosure, acquiring a luminance value increment corresponding to a luminance value of an image includes:
determining a brightness interval in which the image brightness value is located according to a preset brightness interval;
acquiring a brightness value increment corresponding to a brightness interval in which the brightness value of the image is located according to a preset corresponding relation between the brightness interval and the brightness value increment;
and determining the acquired brightness value increment as the brightness value increment corresponding to the image brightness value.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 2 is a flowchart illustrating a backlight brightness adjusting method according to an exemplary embodiment, where the backlight brightness adjusting method is used in a terminal, as shown in fig. 2, and includes the following steps.
In step S201, the terminal acquires a luminance profile.
The terminal can be a smart phone, an electronic book reader, a tablet computer and the like, and the product type of the terminal is not specifically limited in the embodiment of the disclosure. The brightness curve is used for representing the corresponding relation between the brightness value of the ambient light and the brightness value of the backlight.
When the terminal acquires the brightness curve, the following modes are included but not limited to: obtaining a pre-selected specific picture, wherein the specific picture is generally a pure white picture; displaying the specific picture on a screen; under different environmental light brightness, continuously adjusting the backlight brightness value until the screen display effect is better; and acquiring the screen brightness value when the screen display effect is better, and acquiring the screen brightness values corresponding to different environment light brightness values. After the corresponding relationship between the ambient light brightness value and the screen brightness value is determined, the screen brightness value can be converted into a backlight brightness value according to the backlight level, if the backlight level is 256 levels, the screen brightness value can be converted into a backlight brightness value of 0-256, and if the backlight level is 4096 levels, the screen brightness value can be converted into a backlight brightness value of 0-4096. By adopting the operation mode, the corresponding relation between the ambient light brightness value and the screen brightness value can be converted into the corresponding relation between the ambient light brightness value and the backlight brightness value, and then a brightness curve is drawn based on the obtained ambient light brightness value and the backlight brightness value. In consideration of the fact that in practical application, the illuminance and the screen brightness value of the external environment are easier to obtain, the brightness curve can also represent a curve of the corresponding relationship between the ambient illuminance value and the screen brightness value.
It should be noted that the luminance curve may be generated by the terminal when the embodiment of the present disclosure is executed, or may be generated by the terminal in advance, and in any case, it is only necessary to ensure that the luminance curve is in an already acquired state when the target backlight luminance is determined.
Fig. 3 is a luminance curve obtained from an actual product, the abscissa of which represents the ambient light illuminance value in lux (lux) and the ordinate represents the screen luminance value in nit (nit).
In step S202, the terminal acquires an ambient light brightness value of the current environment.
In the embodiment of the present disclosure, a terminal is provided with various sensors, including an optical sensor, a gravity sensor, an acceleration sensor, and the like. Based on the built-in optical sensor, the terminal can collect the ambient light of the current environment, and the ambient light brightness value of the current environment is obtained by processing the collected ambient light.
In step S203, the terminal acquires an image luminance value of the current frame image.
Because the light output of the screen is closely related to the brightness of the image displayed on the screen, when the image brightness is dark, the light output of the screen is relatively small, and when the image brightness is bright, the light output of the screen is relatively large, and under the same ambient light brightness and backlight brightness, the brightness perceived by human eyes for different images on the screen is different. Therefore, in order to improve the screen display effect and improve the viewing performance of the user, the method provided by the embodiment of the disclosure not only refers to the ambient light brightness value of the current environment, but also refers to the brightness value of the current frame image when adjusting the backlight brightness, and determines the reasonable backlight brightness value by combining the two factors.
Specifically, when the terminal acquires the image brightness value of the current frame image, the following method may be adopted:
2031. the terminal obtains the sum of the brightness values of all pixel points in the current frame image.
When the terminal obtains the sum of the brightness values of all the pixel points in the current frame image, the following steps can be adopted:
20311. and the terminal converts the current frame image from the RGB space to the HSV space and acquires the brightness histogram of the current frame image in the HSV space.
Because the V value in the HSV space represents the brightness value, the terminal can obtain each brightness value and the number of pixel points thereof by analyzing the current frame image in the HSV space, and then construct the brightness histogram of the current frame image according to each brightness value and the number of pixel points thereof. The brightness histogram is used for representing the corresponding relation between each brightness value in the current frame image and the number of the pixel points.
20312. And the terminal acquires the sum of the brightness values of the current frame image according to the brightness histogram.
V in the luminance histogram is a V [256] array for representing 256 luminance values in total from 0 to 255, and the value of the corresponding array is used for representing the number of pixels corresponding to each luminance value, for example, V [100] is 1000, which represents that the number of pixels having a luminance value of 100 in the current frame image is 1000. Based on the obtained brightness histogram, the terminal can obtain the sum of the brightness values of the current frame image by adding the products of each brightness value and the number of the pixels.
And setting the sum of the brightness values of the current frame image to be represented by V _ sum, wherein V _ sum is sum (0V 0, 1V 1, …, i V i), wherein sum is summation operation, V0 is the number of pixels with brightness value of 0, V1 is the number of pixels with brightness value of 1, V i is the number of pixels with brightness value of i, and the value of i is 2-255.
2032. And the terminal acquires the ratio of the sum of the brightness values to the sum of the pixel points in the current frame image to obtain the image brightness value of the current frame image.
When the brightness value sum of the current frame image is obtained, the terminal obtains the pixel quantity sum of the current frame image according to the pixel quantity of each row and the pixel quantity of each column in the current frame image, obtains the ratio of the brightness value sum to the pixel quantity sum of the current frame image by dividing the brightness value sum and the pixel quantity sum of the current frame image, and further uses the ratio of the brightness value sum to the pixel quantity sum of the current frame image as the image brightness value of the current frame image, wherein the image brightness value is the average brightness value of the current frame image as a whole.
And setting the number of pixels in each row of the current frame image to be represented by h _ pixel, the number of pixels in each column of the current frame image to be represented by V _ pixel, and the image brightness value of the current frame image to be represented by V _ weighted, wherein V _ weighted is V _ weighted/(h _ pixel V _ pixel).
Of course, the above is only one method for obtaining the image brightness value of the current frame image, and other methods may be adopted besides the above method, and the embodiments of the present disclosure are not described one by one.
In step S204, the terminal acquires a brightness value increment corresponding to the brightness value of the image.
Wherein the brightness increment value is a brightness value change caused by the currently displayed image. The luminance increment value may be a positive value or a negative value.
When the terminal acquires the brightness value increment corresponding to the image brightness value, the following steps can be adopted:
2041. and the terminal determines the brightness interval where the image brightness value is located according to the preset brightness interval.
In the embodiment of the disclosure, the terminal sets a plurality of brightness levels in advance, each brightness level corresponds to a different image brightness value, and the higher the brightness level is, the higher the corresponding image brightness value is, the lower the brightness level is, the smaller the corresponding image brightness value is. For example, the terminal sets n brightness levels, which are V1, V2, …, and Vn in order from low to high. Then, the terminal divides the image brightness value into a plurality of brightness sections by taking 0 and a plurality of brightness levels as section end points, each brightness section corresponds to one image brightness value range, and the higher the brightness level as the end point value of the brightness section is, the larger the image brightness value in the brightness section is. For example, if the set luminance levels are V1, V2, …, and Vn in order from low to high, the divided luminance sections are 0 to V1, V1 to V2, …, and Vn-1 to Vn.
Based on the preset brightness interval, the terminal can determine the brightness interval where the image brightness value of the current frame image is located.
2042. And the terminal acquires the brightness value increment corresponding to the brightness interval where the image brightness value is located according to the preset corresponding relation between the brightness interval and the brightness value increment.
In the embodiment of the present disclosure, the terminal will also set a brightness value increment for each brightness interval in advance, for example, n brightness intervals can set n brightness value increments, respectively offset [0], …, and offset [ n-1 ]. Generally, for a brightness interval with a larger endpoint value, the set brightness value increment is usually a negative value, and the larger the endpoint value is, the larger the corresponding numerical value of the brightness value increment is, but the smaller the brightness value increment is, so that when the brightness of the screen display content is brighter, the brightness can be properly reduced, and the discomfort felt by human eyes can be avoided; for the brightness interval with smaller end point values, the set brightness value increment is a positive value, and the smaller the end point value is, the larger the value of the corresponding brightness value increment is, and the larger the brightness value increment is, so that when the brightness of the screen display content is darker, the brightness can be properly increased, and the discomfort felt by human eyes can be avoided.
Based on the preset corresponding relationship between the brightness interval and the brightness value increment, the terminal can acquire the brightness value increment corresponding to the brightness interval where the image brightness value of the current frame image is located.
2043. And the terminal determines the acquired brightness value increment as the brightness value increment corresponding to the image brightness value.
In step S205, the terminal substitutes the ambient light brightness value into the brightness curve to obtain the backlight brightness value.
Based on the luminance curve obtained in step S201, the terminal substitutes the ambient light luminance value into the luminance curve to obtain a corresponding backlight luminance value, where the backlight luminance value is only the backlight luminance value obtained when the ambient light luminance is referred to.
In step S206, the terminal determines the sum of the luminance value increment and the backlight luminance value as a target backlight luminance value.
The terminal adds the brightness value increment and the backlight brightness value and determines the sum of the brightness value increment and the backlight brightness value as a target backlight brightness value. When the image brightness value of the current frame image is smaller, the brightness value increment is a positive value, and the terminal adds the brightness value increment and the backlight brightness value to enable the target backlight brightness value to be larger than the backlight brightness value, so that the brightness of the screen is increased; when the image brightness value of the current frame image is larger, the brightness value increment is a negative value, and the terminal adds the brightness value increment and the backlight brightness value to enable the target backlight brightness value to be smaller than the backlight brightness value, so that the brightness of the screen is reduced.
Fig. 4 shows a luminance curve, wherein the abscissa represents an ambient light luminance value, the ordinate represents a backlight luminance value, the obtained ambient light luminance value is substituted into the luminance curve to obtain a backlight luminance value of B L, and the luminance value increment corresponding to the image luminance value of the current frame image is offset [9] if the image luminance value is located in the V10 region, so that when the target backlight luminance value is determined, the terminal corrects the backlight luminance value by using the luminance value increment offset [9] to obtain a target backlight luminance value of B L'.
In step S207, the terminal adjusts the backlight brightness of the screen according to the target backlight brightness value.
And based on the obtained target backlight brightness value, the terminal adjusts the backlight brightness of the screen to the target backlight brightness value. The target backlight brightness value is determined by referring to not only the ambient light brightness value of the current environment but also the image light brightness value of the current frame image, so that the backlight brightness of the screen adjusted based on the target backlight brightness value is more in line with the requirements of human eyes on the screen in the current scene, the human eyes feel more comfortable when a user watches the terminal screen, the visual fatigue is relieved, and meanwhile, the purpose of saving power can be achieved when the brightness value of the display content is larger.
It should be noted that, as described above in step S203 to step S207, taking the image brightness value of the current frame image as the average brightness value as an example, in order to more accurately adjust the backlight brightness of the screen, the terminal may further divide the screen into a plurality of regions in advance, and then adjust each region separately. The specific adjusting process is as follows:
1. and the terminal acquires the region brightness value of each region according to the brightness histogram of each region and the number of pixel points in each region.
2. And the terminal determines a brightness interval in which the area brightness value of each area is located.
3. And the terminal acquires the brightness value increment corresponding to each area according to the corresponding relation between the brightness interval and the brightness value increment.
4. And the terminal substitutes the acquired environment light brightness value into the brightness curve to obtain the backlight brightness value.
5. And the terminal adds the brightness value increment corresponding to each area with the backlight brightness value to obtain a target backlight brightness value corresponding to each area.
6. And the terminal adjusts the backlight brightness of each area according to the target backlight brightness value corresponding to each area.
The method provided by the embodiment of the disclosure adjusts the backlight brightness of the screen by combining the ambient light brightness value and the image brightness value of the current frame image, so that the adjusted backlight brightness of the screen can better meet the watching requirement of human eyes, a user is more comfortable when watching the screen, the visual fatigue is relieved, and the watching experience of the user is improved.
Fig. 5 is a schematic diagram illustrating a backlight brightness adjusting apparatus according to an exemplary embodiment. Referring to fig. 5, the apparatus includes: a first obtaining module 501, a second obtaining module 502, a third obtaining module 503, a determining module 504 and an adjusting module 505.
The first obtaining module 501 is configured to obtain a brightness curve, where the brightness curve is used to represent a corresponding relationship between an ambient light brightness value and a backlight brightness value;
the second obtaining module 502 is configured to obtain an ambient light brightness value of the current environment;
the third obtaining module 503 is configured to obtain an image brightness value of the current frame image;
the determining module 504 is configured to determine a target backlight brightness value according to the brightness curve, the ambient light brightness value, and the image brightness value;
the adjusting module 505 is configured to adjust the backlight brightness of the screen according to the target backlight brightness value.
In another possible implementation manner, the third obtaining module 503 is configured to obtain a sum of luminance values of each pixel point in the current frame image; and obtaining the ratio of the sum of the brightness values to the sum of the pixel points in the current frame image to obtain the image brightness value of the current frame image.
In another possible implementation manner, the third obtaining module 503 is configured to convert the current frame image from an RGB space to an HSV space, and obtain a luminance histogram of the current frame image in the HSV space, where the luminance histogram is used to represent a corresponding relationship between each luminance value in the current frame image and the number of pixels; and acquiring the sum of the brightness values of the current frame image according to the brightness histogram.
In another possible implementation, the determining module 504 is configured to obtain a brightness value increment corresponding to a brightness value of the image; substituting the ambient brightness value into the brightness curve to obtain a backlight brightness value; and determining the sum of the brightness value increment and the backlight brightness value as a target backlight brightness value.
In another possible implementation manner, the determining module 504 is configured to determine a brightness interval in which the brightness value of the image is located according to a preset brightness interval; acquiring a brightness value increment corresponding to a brightness interval in which the brightness value of the image is located according to a preset corresponding relation between the brightness interval and the brightness value increment; and determining the acquired brightness value increment as the brightness value increment corresponding to the image brightness value.
The device provided by the embodiment of the disclosure combines the ambient light brightness value and the image brightness value of the current frame image to adjust the backlight brightness of the screen, so that the adjusted backlight brightness of the screen can meet the watching requirements of human eyes, a user is more comfortable when watching the screen, the visual fatigue is relieved, and the watching experience of the user is improved.
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.
Fig. 6 is a block diagram illustrating an apparatus 600 for backlight brightness adjustment according to an example embodiment. For example, the apparatus 600 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.
Referring to fig. 6, apparatus 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 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.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user, in some embodiments, the screen may include a liquid crystal display (L CD) and a Touch Panel (TP). if the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational 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 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 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 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further 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 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), programmable logic devices (P L D), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, 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 604 comprising instructions, executable by the processor 620 of the apparatus 600 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 backlight brightness adjustment method.
The device provided by the embodiment of the disclosure combines the ambient light brightness value and the image brightness value of the current frame image to adjust the backlight brightness of the screen, so that the adjusted backlight brightness of the screen can meet the watching requirements of human eyes, a user is more comfortable when watching the screen, the visual fatigue is relieved, and the watching experience of the user is improved.
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 (11)

1. A method for adjusting backlight brightness, the method comprising:
acquiring a brightness curve, wherein the brightness curve is used for representing the corresponding relation between the ambient light brightness value and the backlight brightness value;
acquiring an ambient light brightness value of a current environment;
acquiring an image brightness value of a current frame image;
determining a target backlight brightness value according to the brightness curve, the environment light brightness value and the image brightness value;
and adjusting the backlight brightness of the screen according to the target backlight brightness value.
2. The method of claim 1, wherein said obtaining an image brightness value of the current frame image comprises:
acquiring the sum of the brightness values of all pixel points in the current frame image;
and obtaining the ratio of the sum of the brightness values to the sum of the pixel points in the current frame image to obtain the image brightness value of the current frame image.
3. The method according to claim 2, wherein said obtaining a sum of luminance values of each pixel point in the current frame image comprises:
converting the current frame image from an RGB space to an HSV space, and acquiring a brightness histogram of the current frame image in the HSV space, wherein the brightness histogram is used for representing the corresponding relation between each brightness value in the current frame image and the number of pixel points;
and acquiring the sum of the brightness values of the current frame image according to the brightness histogram.
4. The method of claim 1, wherein determining a target backlight brightness value from the brightness curve, the ambient light brightness value, and the image brightness value comprises:
acquiring a brightness value increment corresponding to the brightness value of the image;
substituting the ambient light brightness value into the brightness curve to obtain a backlight brightness value;
and determining the sum of the brightness value increment and the backlight brightness value as the target backlight brightness value.
5. The method according to claim 4, wherein said obtaining the brightness value increment corresponding to the brightness value of the image comprises:
determining a brightness interval in which the image brightness value is located according to a preset brightness interval;
acquiring a brightness value increment corresponding to a brightness interval where the image brightness value is located according to a preset corresponding relation between the brightness interval and the brightness value increment;
and determining the acquired brightness value increment as the brightness value increment corresponding to the image brightness value.
6. A backlight brightness adjustment apparatus, comprising:
the first acquisition module is used for acquiring a brightness curve, and the brightness curve is used for representing the corresponding relation between the ambient light brightness value and the backlight brightness value;
the second acquisition module is used for acquiring the ambient light brightness value of the current environment;
the third acquisition module is used for acquiring the image brightness value of the current frame image;
the determining module is used for determining a target backlight brightness value according to the brightness curve, the environment light brightness value and the image brightness value;
and the adjusting module is used for adjusting the backlight brightness of the screen according to the target backlight brightness value.
7. The apparatus according to claim 6, wherein the third obtaining module is configured to obtain a sum of luminance values of each pixel in the current frame image; and obtaining the ratio of the sum of the brightness values to the sum of the pixel points in the current frame image to obtain the image brightness value of the current frame image.
8. The apparatus according to claim 7, wherein the third obtaining module is configured to convert the current frame image from an RGB space to an HSV space, and obtain a luminance histogram of the current frame image in the HSV space, where the luminance histogram is used to represent a correspondence between each luminance value in the current frame image and a number of pixels; and acquiring the sum of the brightness values of the current frame image according to the brightness histogram.
9. The apparatus according to claim 7, wherein the determining module is configured to obtain a brightness value increment corresponding to the brightness value of the image; substituting the ambient light brightness value into the brightness curve to obtain a backlight brightness value; and determining the sum of the brightness value increment and the backlight brightness value as the target backlight brightness value.
10. The apparatus according to claim 9, wherein the determining module is configured to determine a brightness interval in which the brightness value of the image is located according to a preset brightness interval; acquiring a brightness value increment corresponding to a brightness interval where the image brightness value is located according to a preset corresponding relation between the brightness interval and the brightness value increment; and determining the acquired brightness value increment as the brightness value increment corresponding to the image brightness value.
11. A backlight luminance adjusting apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a brightness curve, wherein the brightness curve is used for representing the corresponding relation between the ambient light brightness value and the backlight brightness value;
acquiring an ambient light brightness value of a current environment;
acquiring an image brightness value of a current frame image;
determining a target backlight brightness value according to the brightness curve, the environment light brightness value and the image brightness value;
and adjusting the backlight brightness of the screen according to the target backlight brightness value.
CN201910048683.0A 2019-01-18 2019-01-18 Backlight brightness adjusting method and device Pending CN111462701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910048683.0A CN111462701A (en) 2019-01-18 2019-01-18 Backlight brightness adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910048683.0A CN111462701A (en) 2019-01-18 2019-01-18 Backlight brightness adjusting method and device

Publications (1)

Publication Number Publication Date
CN111462701A true CN111462701A (en) 2020-07-28

Family

ID=71682160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910048683.0A Pending CN111462701A (en) 2019-01-18 2019-01-18 Backlight brightness adjusting method and device

Country Status (1)

Country Link
CN (1) CN111462701A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021143248A1 (en) * 2020-01-14 2021-07-22 华为技术有限公司 Backlight adjustment method and electronic device
CN113781968A (en) * 2021-09-08 2021-12-10 深圳创维-Rgb电子有限公司 Backlight adjusting method, device, equipment and storage medium
CN114220399A (en) * 2022-01-11 2022-03-22 深圳Tcl数字技术有限公司 Backlight value control method and device, storage medium and electronic equipment
CN114242022A (en) * 2021-12-15 2022-03-25 广东虹勤通讯技术有限公司 Screen brightness self-adaptive adjusting method and device, electronic equipment and storage medium
CN115188340A (en) * 2022-08-09 2022-10-14 远峰科技股份有限公司 Automatic backlight calibration method for streaming media rearview mirror
CN115457905A (en) * 2022-10-21 2022-12-09 深圳市升宏光电科技有限公司 Adaptive dimming compensation method, device and system of LED display screen and electronic equipment
CN117373397A (en) * 2023-12-07 2024-01-09 深圳市欧冠微电子科技有限公司 Screen brightness adjusting method and device, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080291139A1 (en) * 2007-05-25 2008-11-27 Mitac Technology Corp. Method of dynamically adjusting screen brightness
CN101645230A (en) * 2009-04-16 2010-02-10 青岛海信电器股份有限公司 Method and device for controlling back light brightness of display
CN102402942A (en) * 2011-11-02 2012-04-04 深圳创维-Rgb电子有限公司 Method for improving energy efficiency index of LED (light-emitting diode) display screen and LED display screen
CN103973855A (en) * 2013-01-28 2014-08-06 深圳富泰宏精密工业有限公司 Mobile phone backlight brightness fine adjustment system and method
CN104347036A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
US20150097819A1 (en) * 2013-10-08 2015-04-09 Wistron Corp. Electronic display device and backlight adjustment method thereof
CN104517268A (en) * 2014-12-24 2015-04-15 小米科技有限责任公司 Method and device for adjusting image brightness
CN104916259A (en) * 2014-03-13 2015-09-16 海信集团有限公司 Method of controlling brightness of display screen of medical display, device and medical display
CN106548755A (en) * 2016-12-07 2017-03-29 惠州三华工业有限公司 Brightness adjust automatically display device
CN108806638A (en) * 2017-04-27 2018-11-13 深圳市Tcl高新技术开发有限公司 A kind of display methods and its device of image
CN108877692A (en) * 2013-11-20 2018-11-23 华为终端(东莞)有限公司 A kind of method, apparatus and electronic equipment of adjusting backlight luminance

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080291139A1 (en) * 2007-05-25 2008-11-27 Mitac Technology Corp. Method of dynamically adjusting screen brightness
CN101645230A (en) * 2009-04-16 2010-02-10 青岛海信电器股份有限公司 Method and device for controlling back light brightness of display
CN102402942A (en) * 2011-11-02 2012-04-04 深圳创维-Rgb电子有限公司 Method for improving energy efficiency index of LED (light-emitting diode) display screen and LED display screen
CN103973855A (en) * 2013-01-28 2014-08-06 深圳富泰宏精密工业有限公司 Mobile phone backlight brightness fine adjustment system and method
CN104347036A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
US20150097819A1 (en) * 2013-10-08 2015-04-09 Wistron Corp. Electronic display device and backlight adjustment method thereof
CN108877692A (en) * 2013-11-20 2018-11-23 华为终端(东莞)有限公司 A kind of method, apparatus and electronic equipment of adjusting backlight luminance
CN104916259A (en) * 2014-03-13 2015-09-16 海信集团有限公司 Method of controlling brightness of display screen of medical display, device and medical display
CN104517268A (en) * 2014-12-24 2015-04-15 小米科技有限责任公司 Method and device for adjusting image brightness
CN106548755A (en) * 2016-12-07 2017-03-29 惠州三华工业有限公司 Brightness adjust automatically display device
CN108806638A (en) * 2017-04-27 2018-11-13 深圳市Tcl高新技术开发有限公司 A kind of display methods and its device of image

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021143248A1 (en) * 2020-01-14 2021-07-22 华为技术有限公司 Backlight adjustment method and electronic device
CN113781968A (en) * 2021-09-08 2021-12-10 深圳创维-Rgb电子有限公司 Backlight adjusting method, device, equipment and storage medium
WO2023035939A1 (en) * 2021-09-08 2023-03-16 深圳创维-Rgb电子有限公司 Backlight adjustment method and apparatus, device, and storage medium
CN114242022A (en) * 2021-12-15 2022-03-25 广东虹勤通讯技术有限公司 Screen brightness self-adaptive adjusting method and device, electronic equipment and storage medium
CN114220399A (en) * 2022-01-11 2022-03-22 深圳Tcl数字技术有限公司 Backlight value control method and device, storage medium and electronic equipment
CN115188340A (en) * 2022-08-09 2022-10-14 远峰科技股份有限公司 Automatic backlight calibration method for streaming media rearview mirror
CN115188340B (en) * 2022-08-09 2023-08-08 远峰科技股份有限公司 Automatic backlight calibration method for streaming media rearview mirror
CN115457905A (en) * 2022-10-21 2022-12-09 深圳市升宏光电科技有限公司 Adaptive dimming compensation method, device and system of LED display screen and electronic equipment
CN117373397A (en) * 2023-12-07 2024-01-09 深圳市欧冠微电子科技有限公司 Screen brightness adjusting method and device, electronic equipment and storage medium
CN117373397B (en) * 2023-12-07 2024-02-23 深圳市欧冠微电子科技有限公司 Screen brightness adjusting method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111462701A (en) Backlight brightness adjusting method and device
US9858885B2 (en) Method and device for reducing display brightness
CN106710540B (en) Liquid crystal display method and device
CN106710539B (en) Liquid crystal display method and device
CN113963659B (en) Display device and adjustment method thereof
CN107992182B (en) Method and device for displaying interface image
CN108986053B (en) Screen display method and device
CN111210777A (en) Backlight brightness adjusting method and device, electronic equipment and machine-readable storage medium
CN104536713B (en) Method and device for displaying characters in image
CN105472228B (en) Image processing method and device and terminal
CN112116670A (en) Information processing method and device, electronic device and storage medium
CN109102779B (en) Backlight adjusting method and device
CN111261081B (en) Screen display method and device
EP3086311A1 (en) Method and device for adjusting display brightness
CN114067733B (en) Display screen correction method, display screen correction device and display chip
CN111383568B (en) Display control method and device, electronic equipment and computer readable storage medium
CN111383583B (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN106601165B (en) Screen display method and device
CN112019680A (en) Screen brightness adjusting method and device
CN111261035B (en) Screen display method and device
US20220310035A1 (en) Method and apparatus for processing brightness of display screen
CN113470583B (en) Display screen adjusting method and device and storage medium
CN113870368A (en) Image processing method and device for terminal equipment, electronic equipment and storage medium
CN117426083A (en) Display screen control method and device, electronic equipment and readable storage medium
CN117597726A (en) Brightness adjustment method and device, and storage medium

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