CN112599088B - Screen light leakage and ambient light detection method, chip, terminal and storage medium - Google Patents

Screen light leakage and ambient light detection method, chip, terminal and storage medium Download PDF

Info

Publication number
CN112599088B
CN112599088B CN202011401915.5A CN202011401915A CN112599088B CN 112599088 B CN112599088 B CN 112599088B CN 202011401915 A CN202011401915 A CN 202011401915A CN 112599088 B CN112599088 B CN 112599088B
Authority
CN
China
Prior art keywords
value
current
calibration
gray
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011401915.5A
Other languages
Chinese (zh)
Other versions
CN112599088A (en
Inventor
习天翔
李顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Goodix Technology Co Ltd
Original Assignee
Shenzhen Goodix Technology 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 Shenzhen Goodix Technology Co Ltd filed Critical Shenzhen Goodix Technology Co Ltd
Priority to CN202011401915.5A priority Critical patent/CN112599088B/en
Publication of CN112599088A publication Critical patent/CN112599088A/en
Application granted granted Critical
Publication of CN112599088B publication Critical patent/CN112599088B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control 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 using controlled light sources
    • G09G3/30Control 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 using controlled light sources using electroluminescent panels
    • G09G3/32Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • 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
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction

Abstract

The embodiment of the invention relates to the technical field of terminal detection, and discloses a method, a chip, a terminal and a storage medium for detecting screen light leakage and ambient light. The method for detecting the screen light leakage comprises the following steps: acquiring display parameters of a screen; wherein the display parameters include a current luminance value and a current gray value of the screen; carrying out gamma calibration on the current gray value to obtain a calibrated gray value; determining a current light leakage value of the screen according to the current brightness value, the calibration gray value and a predetermined relation model; the relationship model is used for describing the relationship among the current brightness value, the calibration gray value and the current light leakage value, so that the light leakage detection precision can be improved, and the detection precision of the ambient light is improved.

Description

Screen light leakage and ambient light detection method, chip, terminal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of terminal detection, in particular to a method, a chip, a terminal and a storage medium for detecting screen light leakage and ambient light.
Background
At present, an ambient Light sensor (also referred to as a Light sensor) is usually disposed under an Organic Light-Emitting Diode (OLED) screen, and the ambient Light sensor can be used to detect ambient Light. The terminal can adaptively adjust the brightness of the screen according to the detected intensity of the ambient light, so that human eyes feel comfortable to the brightness of the screen in the current environment. However, in the related art, the brightness of the screen after adaptive adjustment is difficult to accurately adapt to the current ambient light, and the comfort level of human eyes is low.
The inventor of the present application found that it is difficult to accurately adapt to the current ambient light, and the main reason why the comfort of the human eye is low is that the detection accuracy of the ambient light is low.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a method, a chip, a terminal, and a storage medium for detecting screen light leakage and ambient light, so that the accuracy of light leakage detection can be improved, and the accuracy of ambient light detection can be improved.
In order to solve the above technical problem, an embodiment of the present invention provides a method for detecting screen light leakage, including: acquiring display parameters of a screen; wherein the display parameters include a current brightness value and a current gray value of the screen; carrying out gamma calibration on the current gray value to obtain a calibrated gray value; determining a current light leakage value of the screen according to the current brightness value, the calibration gray value and a predetermined relation model; wherein the relationship model is used to describe a relationship between the current luminance value, the calibration gray value, and the current leakage value.
The embodiment of the invention also provides a detection method of ambient light, which comprises the following steps: determining the current light leakage value of the screen according to the screen light leakage detection method; acquiring a current light sensing value detected by a light sensing sensor arranged below the screen; and determining the current ambient light value according to the current photosensitive value and the current light leakage value.
The embodiment of the present invention further provides a chip, where the chip is located in a terminal and connected to a memory in the terminal, and the memory stores instructions executable by the chip, where the instructions are executed by the chip, so that the chip can execute the above-mentioned method for detecting screen light leakage or the above-mentioned method for detecting ambient light.
An embodiment of the present invention further provides a terminal, including: the chip and a memory connected with the chip.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which when executed by a processor implements the above-described method for detecting screen leakage light or method for detecting ambient light.
The inventors of the present invention found that the detection accuracy of the ambient light is low in the related art because: the light detected by the ambient light sensor may not only include ambient light, but may also contribute to screen light leakage. The inventor finds that under the condition of fixing the screen brightness value, the light leakage value of the screen and the gray value are in a gamma exponential growth relationship, and if gamma calibration is carried out on the gray value, the calibrated gray value can be in a linear relationship with the light leakage value of the screen; when the gray value of the screen is fixed, the light leakage value of the screen and the brightness value are in a linear relation. In the embodiment of the invention, the light leakage value of the screen under any gray value and any brightness value can be calculated by utilizing the predetermined relation model for describing the relation among the current brightness value, the calibration gray value and the current light leakage value. Moreover, when the brightness value is fixed, the light leakage value of the screen and the calibration gray value after gamma calibration are in a linear relationship, and when the gray value is fixed, the light leakage value of the screen and the brightness value are in a linear relationship, that is, the relationship model combines two linear relationships, so that the current light leakage value of the screen is determined to be higher in precision according to the current brightness value, the calibration gray value and the relationship model, and the precision of light leakage detection is improved, so that the light leakage doped in the light detected by the ambient light sensor can be accurately determined when the ambient light is detected, and the detection precision of the ambient light is improved.
In addition, the calibration coefficient is predetermined by: determining a number of candidate gamma coefficients corresponding to the screen; determining the calibration coefficient among a number of candidate gamma coefficients. In the embodiment of the invention, a plurality of candidate gamma coefficients are provided, so that the gamma coefficients suitable for gamma calibration of the gray value of the screen can be conveniently selected from the gamma coefficients as calibration coefficients, and the convenience of gamma calibration of the current gray value is improved.
Additionally, the determining the calibration coefficient from among a number of candidate gamma coefficients comprises: under the condition of shielding ambient light, collecting light leakage sampling values of the screen under the same preset brightness value and different gray values; respectively utilizing each candidate gamma coefficient to carry out gamma calibration on the different gray values to obtain different calibrated gray values corresponding to each candidate gamma coefficient; performing linear fitting on the light leakage sampling values under different gray values and the calibrated different gray values corresponding to each candidate gamma coefficient to obtain a fitting function corresponding to each candidate gamma coefficient; determining light leakage fitting values corresponding to the calibrated different gray values under each candidate gamma coefficient according to the fitting function corresponding to each candidate gamma coefficient and the calibrated different gray values; determining a calibration error corresponding to each candidate gamma coefficient according to the light leakage sampling values under different gray values and the calibrated light leakage fitting values corresponding to different gray values under each candidate gamma coefficient; determining the calibration coefficient from the calibration error corresponding to each of the candidate gamma coefficients. That is to say, utilize a plurality of candidate gamma coefficients respectively to calibrate, obtain the calibration error after utilizing a plurality of candidate gamma coefficients to calibrate, according to the calibration error, confirm the calibration coefficient in a plurality of candidate gamma coefficients, consider the calibration error of different candidate gamma coefficients promptly, be favorable to improving the rationality of the calibration coefficient of confirming to improve the rationality that utilizes this calibration coefficient to carry out gamma calibration.
In addition, the same preset brightness value is the maximum brightness value of the screen. When the brightness value of the screen is the maximum, the bottom of a parabola during gamma calibration is the most obvious, the curvature of the parabola is larger, and the anti-jamming capability is stronger, so that the calibration error of the determined calibration coefficient is smaller relative to other brightness values under the condition that the brightness value of the screen is the maximum.
In addition, the current gradation value includes: the calibration method comprises the following steps of obtaining a first current gray value corresponding to red monochromatic light, a second current gray value corresponding to green monochromatic light and a third current gray value corresponding to blue monochromatic light, wherein the calibration coefficients comprise: a first calibration coefficient for gamma calibrating the first current gamma value, a second calibration coefficient for gamma calibrating the second current gamma value, and a third calibration coefficient for gamma calibrating the third current gamma value. In view of the fact that different monochromatic lights have different characteristics and the calibration coefficients may have differences, in the embodiment of the present invention, the current gray scale value of each monochromatic light is calibrated by using the three calibration coefficients corresponding to each monochromatic light, so as to obtain the calibration gray scale value corresponding to each monochromatic light, which is beneficial to improving the calibration accuracy.
In addition, the display parameters further comprise the current eye protection grade of the screen; determining a current light leakage value of the screen according to the current brightness value, the calibration gray value and a predetermined relationship model, including: determining the current light leakage value of the screen according to the current brightness value, the calibration gray value, the current eye protection grade and a predetermined relation model; the relation model is used for describing the relation among the current brightness value, the calibration gray value, the current eye protection grade and the current light leakage value. That is, in the present embodiment, the current light leakage value is determined by considering various factors (such as the brightness value, the light leakage value, and the eye protection level) affecting the light leakage value, which is beneficial to further improving the light leakage detection precision, and thus further improving the detection precision of the ambient light.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
FIG. 1 is a schematic view of an experimental apparatus according to a first embodiment of the present invention;
FIG. 2 is a diagram illustrating the relationship between the light leakage values corresponding to different screen brightness values at the same gray level value according to the first embodiment of the present invention;
FIG. 3 is a diagram illustrating the relationship between the light leakage values corresponding to different screen gray scale values at the same brightness value according to the first embodiment of the present invention;
FIG. 4 is a flowchart of a method for detecting screen leakage light according to a first embodiment of the present invention;
FIG. 5 is a flow chart of the manner in which calibration coefficients are determined according to the first embodiment of the present invention;
FIG. 6 is a diagram illustrating the relationship between different candidate gamma coefficients and calibration errors according to the first embodiment of the present invention;
fig. 7 is a schematic diagram of the gray scale value of the red monochromatic light before and after calibration according to the first embodiment of the invention;
FIG. 8 is a graph illustrating the relationship between different gamma coefficient candidates and the calibration error of green monochromatic light according to the first embodiment of the present invention;
FIG. 9 is a schematic diagram of the relationship between the gamma coefficient candidates and the calibration error of blue monochromatic light according to the first embodiment of the present invention;
FIG. 10 is a diagram illustrating the relationship between the gray scale and the light leakage value before calibration and the relationship between the gray scale and the light leakage value after calibration for green monochromatic light according to the first embodiment of the present invention;
fig. 11 is a diagram illustrating a relationship between a gray scale and a light leakage value before calibration and a relationship between a gray scale and a light leakage value after calibration for blue monochromatic light according to the first embodiment of the present invention;
FIG. 12 is a flowchart of a manner of generating the relational model according to the first embodiment of the present invention;
FIG. 13 is a light leakage error diagram according to the first embodiment of the present invention;
FIG. 14 is a flowchart of a method for detecting screen leakage light according to a second embodiment of the present invention;
fig. 15 is a flowchart of a method for detecting ambient light according to a third embodiment of the present invention;
fig. 16 is a schematic structural view of a terminal according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
The first embodiment of the invention relates to a method for detecting screen light leakage, which is applied to a terminal; the terminal can be a mobile phone, a tablet computer and other devices with screens. The light leakage of the screen refers to the light emitted by the OLED itself emitted from the back of the screen, and in a specific implementation, a light sensor is disposed below the screen, and the light sensor detects that the light intensity is the sum of the light intensity of the ambient light and the light intensity of the light leakage of the screen.
The inventors of the present invention studied the relationship between the light leakage value (i.e., the light intensity of the light leakage) and the luminance value of the screen and the gradation value of the screen by an experimental apparatus as shown in fig. 1. In fig. 1, the light sensor 101 is disposed below the screen 102, and covered with a pure black rubber head 103 above the corresponding screen 102, mainly for shielding the influence of the external environment light, that is, in this experimental environment, the light value detected by the light sensor 101 is the magnitude of the light leakage value.
The experimental apparatus in fig. 1 is used to collect the light leakage values corresponding to different screen brightness values under the same gray scale value, and the relationship between the light leakage values corresponding to different screen brightness values under the same gray scale value is shown in fig. 2, that is, when the gray scale value is fixed, the light leakage value and the screen brightness value are in a linear relationship. In fig. 2, different straight lines represent different gray values, the abscissa represents a brightness value and is denoted as brightness, and the ordinate represents a light leakage value and is denoted as raw data DN. A straight line represents the variation of the light leakage value with the luminance value at a fixed gray value.
The experimental apparatus in fig. 1 is used to collect the light leakage values corresponding to different screen gray values under the same brightness value, and the relationship between the light leakage values corresponding to different screen gray values under the same brightness value is shown in fig. 3, that is, when the brightness value is fixed, the relationship between the light leakage value and the screen gray value has a gamma index. Wherein, different curves in fig. 3 represent different brightness values, and the abscissa is the gray value after normalization processing, and is recorded as: grayscale, the ordinate is the light leakage value, and is recorded as raw data DN. One curve represents the variation of the light leakage value with the gray level value at a fixed one of the luminance values.
Through the experiment, the inventor of the invention finds that under the condition of fixing the screen brightness value, the light leakage value of the screen and the gray value are in a gamma exponential growth relationship, and if gamma calibration is carried out on the gray value, the calibrated gray value can be in a linear relationship with the light leakage value of the screen; when the gray value of the screen is fixed, the light leakage value of the screen and the brightness value are in a linear relation. Gamma is derived from the response curve of the early display, namely the nonlinear relation between the output brightness value and the input voltage, and gamma calibration is to adjust the gamma curve of the display screen image so as to perform nonlinear tone adjustment on the image display of the display screen, so that the proportion of a dark color part and a light color part in an image signal is increased, and the image contrast effect is improved.
According to the embodiment of the invention, the screen light leakage value under any gray value and any brightness value can be calculated by fitting the linear relation among the brightness value, the gamma-calibrated gray value and the light leakage value, and the precision is high. The implementation details of the method for detecting screen light leakage according to the present embodiment are specifically described below, and the following description is only provided for the convenience of understanding, and is not necessary for implementing the present embodiment.
A flowchart of the method for detecting screen leakage light in this embodiment is shown in fig. 4, and includes:
step 401: and acquiring display parameters of the screen.
The display parameters may include a current brightness value and a current gray value of the screen. Such as the current brightness value and the current gray value of the content displayed on the screen.
In a specific implementation, the terminal may read the current brightness value and the current gray value of the screen in an operating system of the terminal.
Step 402: and gamma calibration is carried out on the current gray value to obtain a calibration gray value.
In an example, the terminal may obtain a predetermined calibration coefficient for performing gamma calibration on the current gray-scale value, and then perform gamma calibration on the current gray-scale value according to the calibration coefficient to obtain a calibrated gray-scale value. Assuming that the calibration coefficient is denoted as γ and the current gray value is denoted as gray, the calibration gray value can be expressed as: grayγ. Wherein, the calibration coefficient can be predetermined and pre-stored in the terminal.
It is understood that the current gray values include: the first current gray value corresponding to the red monochromatic light, the second current gray value corresponding to the green monochromatic light and the third current gray value corresponding to the blue monochromatic light.
In one example, a calibration coefficient may be pre-stored in the terminal, and the calibration coefficient is used to calibrate the first current gray-scale value, the second current gray-scale value, and the third current gray-scale value, respectively.
In another example, the calibration coefficients pre-stored in the terminal include: a first calibration coefficient for gamma calibrating the first current gamma value, a second calibration coefficient for gamma calibrating the second current gamma value, and a third calibration coefficient for gamma calibrating the third current gamma value. That is, three calibration coefficients are pre-stored in the terminal, and the first current gray value, the second current gray value and the third current gray value are calibrated by using the three calibration coefficients. In view of the fact that different monochromatic lights have different characteristics and the calibration coefficients may have differences, in the embodiment of the present invention, the current gray scale value of each monochromatic light is calibrated by using the three calibration coefficients corresponding to each monochromatic light, so as to obtain the calibration gray scale value corresponding to each monochromatic light, which is beneficial to improving the calibration accuracy. The three calibration coefficients are obtained in a similar manner, and the following description will be made to obtain one calibration coefficient:
in one example, the calibration coefficients may be predetermined by: the terminal may first determine a plurality of candidate gamma coefficients corresponding to the screen, and then determine a calibration coefficient for gamma calibration of the current gray value among the plurality of candidate gamma coefficients. Wherein, for a certain screen, the gamma value range of the screen is usually determined, therefore, a plurality of candidate gamma coefficients can be determined according to the gamma value range of the screen. For example, the gamma value of the mobile phone screen is usually between 1.5 and 3.5, and several gamma values between 1.5 and 3.5 can be selected as several candidate gamma coefficients.
In one example, one gamma coefficient may be selected from among several candidate gamma coefficients as the determined calibration coefficient.
In another example, the manner of determining the calibration coefficient among several candidate gamma coefficients may refer to fig. 5, including:
step 501: and under the condition of shielding ambient light, light leakage sampling values of the screen under the same preset brightness value and different gray values are collected.
The data acquisition in the case of shielding from ambient light is understood to mean, among other things, the data acquisition by means of an experimental device as shown in fig. 1. That is, with the experimental apparatus shown in fig. 1, the light leakage value detected by the light sensor 101 is collected by the screen 102 under the same brightness value and by changing different gray scale values.
In one example, the same preset luminance may be any one of the luminances within the luminance range of the screen. Alternatively, the same preset luminance may be the maximum luminance within the luminance range of the screen. For example, the luminance of the screen ranges between 0-255, then the maximum luminance of 255 may be selected.
Step 502: and respectively utilizing each candidate gamma coefficient to carry out gamma calibration on different gray values to obtain different calibrated gray values corresponding to each candidate gamma coefficient.
For example, gamma calibration is performed on different gray values by using each candidate gamma coefficient between 1.5 and 3.5, respectively, so as to obtain calibrated different gray values corresponding to each candidate gamma coefficient. Specifically, for example, the terminal may perform gamma calibration on different gray values by using a candidate gamma coefficient of 1.5 to obtain different gray values calibrated by using the candidate gamma coefficient of 1.5; gamma calibration is carried out on different gray values by utilizing the candidate gamma coefficient 2, so as to obtain different gray values calibrated by utilizing the candidate gamma coefficient 2; and gamma calibration is carried out on different gray values by utilizing the candidate gamma coefficient 3.2, so as to obtain different gray values calibrated by utilizing the candidate gamma coefficient 3.2. Similarly, for other candidate gamma coefficients, a similar manner may be adopted to obtain different gray values after calibration, and details are not described here to avoid repetition.
Step 503: and performing linear fitting on the light leakage sampling values under different gray values and the calibrated different gray values corresponding to each candidate gamma coefficient to obtain a fitting function corresponding to each candidate gamma coefficient.
Specifically, the calibrated different gray values corresponding to each candidate gamma coefficient may be used as discrete data of an independent variable, and the leak light sampling values at different gray values may be used as discrete data of a dependent variable corresponding to the independent variable, so as to perform linear fitting according to the discrete data of the independent variable and the discrete data of the dependent variable, thereby obtaining a fitting function corresponding to each candidate gamma coefficient, where, for example, y may be bx, where b is a fitting parameter obtained by linear fitting, y is a dependent variable, and x is an independent variable. For example, the fitting function corresponding to the candidate gamma coefficient 1 can be expressed as: y is b1x, the fitting function corresponding to the candidate gamma coefficient 2 can be expressed as: y is b2x, the fitting function corresponding to the candidate gamma coefficient 3 can be expressed as: y is b3x。
Step 504: and determining the light leakage fitting value corresponding to the different gray values calibrated under each candidate gamma coefficient according to the fitting function corresponding to each candidate gamma coefficient and the different gray values calibrated.
Specifically, the calibrated different gray values corresponding to each candidate gamma coefficient can be respectively substituted into the fitting function corresponding to each candidate gamma coefficient to obtain the light leakage fitting values corresponding to the calibrated different gray values under each candidate gamma coefficient. For example, for candidate gamma coefficient 1, the calibrated different gray-scale values corresponding to candidate gamma coefficient 1 may be substituted by y ═ b1And x, obtaining light leakage fitting values corresponding to different gray values after calibration under the candidate gamma coefficient 1. For the candidate gamma coefficient 2, the calibrated different gray-scale values corresponding to the candidate gamma coefficient 2 may be substituted into y ═ b2And x, obtaining light leakage fitting values corresponding to different gray values after calibration under the candidate gamma coefficient 2. Similarly, the light leakage fitting values corresponding to different gray values calibrated under each candidate gamma coefficient can be obtained in sequence in the above manner.
Step 505: and determining a calibration error corresponding to each candidate gamma coefficient according to the light leakage sampling values under different gray values and the calibrated light leakage fitting values corresponding to different gray values under each candidate gamma coefficient.
It will be appreciated that for a candidate gamma coefficient, a gray value corresponds to a leak light sample value and a leak light fit value, and the calibration error corresponding to the candidate gamma coefficient can be determined by the difference between the leak light sample value and the leak light fit value.
In one example, the calibration error may be calculated by the following equation:
Figure BDA0002812769090000081
where err is the calibration error, rawDNsimple-iIs a light leakage sample value at ith gray value, rawDNfit-iAnd (3) a light leakage fitting value corresponding to the ith gray value calibrated under each candidate gamma coefficient, wherein n is the total number of different gray values. If the candidate gamma coefficient 1 is calculated to correspond to the calibration error, then rawDNfit-iThe gamma calibration is carried out on the ith gray value by using the candidate gamma coefficient 1, and then the light leakage fitting value corresponding to the ith gray value after calibration is obtained. If the candidate gamma coefficient 2 is calculated to correspond to the calibration error, then rawDNfit-iThe gamma calibration is carried out on the ith gray value by utilizing the candidate gamma coefficient 2, and then the light leakage fitting value corresponding to the ith gray value after calibration is obtained. Similarly, the calibration error corresponding to each candidate gamma coefficient can be obtained sequentially in the above manner. The difference between the light leak sampling value and the light leak fitting value corresponding to each gray value is considered by the formula, so that the accuracy of the calculated calibration error is improved.
In the present embodiment, the calculation of the calibration error by the above formula is merely taken as an example, and the specific implementation is not limited thereto. For example, the calibration error may be determined by selecting a difference between the leak light sample value and the leak light fitting value corresponding to one gray value as the calibration error, or by adding the difference between the leak light sample value and the leak light fitting value corresponding to each gray value as the calibration error.
In one example, reference may be made to fig. 6 for a relationship between different candidate gamma coefficients and calibration errors, and fig. 6 is a schematic diagram illustrating a relationship between calibration errors and different candidate gamma coefficients after calibration is performed on the gray scale of the red monochromatic light by using different candidate gamma coefficients. In fig. 6, the abscissa represents the candidate gamma coefficient, the ordinate represents the calibration error err, and the three curves in fig. 6 represent the relationship between the calibration error after the calibration of the gray level of the red monochromatic light and different candidate gamma coefficients respectively at three luminance values. As can be seen from fig. 6, when the luminance is 255, the bottom of the parabola during gamma calibration is most obvious, the calibration error is the smallest, and the curve curvature of the luminance 255 is the largest, so that the anti-interference capability is stronger. Therefore, it is possible to select the magnitude of the calibration coefficient to be determined under the condition of the maximum brightness of the screen. It can be seen that the preset condition in step 501 can select different gray-scale values at the maximum brightness value 255, thereby improving the accuracy of the determined calibration coefficients.
Step 506: and determining a calibration coefficient in a plurality of candidate gamma coefficients according to the calibration error corresponding to each candidate gamma coefficient.
In one example, the candidate gamma coefficient corresponding to the smallest calibration error may be selected as the calibration coefficient. For example, referring to fig. 6, the determined calibration coefficient may be the abscissa of the bottommost point of the curve having a luminance value of 255, i.e., the calibration coefficient is 2.1.
It can be understood that, in a specific implementation, the light leakage sampling value includes light leakage sampling values corresponding to each monochromatic light, for example, light leakage sampling values corresponding to three monochromatic lights of red, green, and blue, and the gray value includes a gray value corresponding to each monochromatic light, for example, RGB gray value may be abbreviated as RGB gray value, R gray value represents a gray value corresponding to red monochromatic light, G gray value represents a gray value corresponding to green monochromatic light, and B gray value represents a gray value corresponding to blue monochromatic light. In this embodiment, when determining the calibration coefficient, the calibration coefficient corresponding to any one monochromatic light may be obtained by selecting to calibrate the gray scale value of the monochromatic light, and the calibration coefficient of the monochromatic light may be used as the calibration coefficient of another monochromatic light. That is, only one calibration coefficient may be stored in the terminal. For example, in the above fig. 6, which shows a relationship diagram of calibration errors between different candidate gamma coefficients and red monochromatic light, it can be found from fig. 6 that the calibration coefficient for the red monochromatic light can be selected to be 2.1, and it can be considered that the calibration coefficients for the green monochromatic light and the blue monochromatic light are also 2.1. That is, in the present embodiment, when gamma calibration is performed on the current gray scale, the current RGB gray scale may be calibrated using the same calibration coefficient 2.1.
In one example, referring to fig. 7, a schematic diagram of the gray-scale value of the red monochromatic light before and after calibration may be shown, where an abscissa of fig. 7 represents a gray-scale value corresponding to the red monochromatic light and is denoted as gray-R, and an ordinate represents a light leakage value corresponding to the red monochromatic light and is denoted as rawDN-R. In FIG. 7, the relationship between gray value and light leakage value after and before calibration at three brightness values is shown; the curve is a relation schematic diagram of the gray value and the light leakage value before calibration, and the straight line is a relation schematic diagram of the gray value and the light leakage value after calibration. As can be seen from fig. 7, under the condition of a fixed luminance value, the gray value corresponding to the calibrated red monochromatic light and the light leakage value corresponding to the red monochromatic light are in a linear relationship.
In a specific implementation, if the current grayscale value of each monochromatic light needs to be calibrated separately, the first calibration coefficient for performing gamma calibration on the first current grayscale value, the second calibration coefficient for performing gamma calibration on the second current grayscale value, and the third calibration coefficient for performing gamma calibration on the third current grayscale value, that is, three calibration coefficients for calibrating the RGB grayscale values respectively, need to be obtained. The manner of determining the calibration coefficient (i.e., the first calibration coefficient) of the red monochromatic light has been described above, i.e., the first calibration coefficient is determined according to the calibration error corresponding to each candidate gamma coefficient for the red monochromatic light. In the process of determining the calibration coefficients of the blue monochromatic light and the green monochromatic light, the calibration error corresponding to each candidate gamma coefficient is obtained for the green monochromatic light, and the calibration error corresponding to each candidate gamma coefficient is obtained for the blue monochromatic light.
In one example, fig. 8 can be referred to as a graph of the calibration error of the green monochromatic light and fig. 9 can be referred to as a graph of the calibration error of the blue monochromatic light.
Referring to fig. 8, the calibration coefficient determined for the green monochromatic light may be an abscissa of a point at the bottommost point of a curve having a luminance value of 255, i.e., the calibration coefficient of the green monochromatic light is 2.4. Referring to fig. 9, the calibration coefficient determined for the blue monochromatic light may be an abscissa of a point at the bottommost point of a curve having a luminance value of 255, i.e., the calibration coefficient of the blue monochromatic light is 2.4. That is, in the present embodiment, when gamma calibration is performed on the current gray scale value, calibration coefficients 2.1, 2.4, and 2.4 may be respectively used to calibrate the current RGB gray scale value, that is, the calibration coefficient 2.1 is used to calibrate the first current gray scale value (may also be referred to as R gray scale), the calibration coefficient 2.4 is used to calibrate the second current gray scale value (may also be referred to as G gray scale), and the calibration coefficient 2.4 is used to calibrate the third current gray scale value (may also be referred to as B gray scale).
In order to verify the calibration coefficient determined for the green monochromatic light, referring to fig. 10, the abscissa of fig. 10 represents the gray value corresponding to the green monochromatic light and is denoted as gray-G, and the ordinate represents the light leakage value corresponding to the green monochromatic light and is denoted as rawDN-G. In fig. 10, the relationship between the gray value and the light leakage value after and before the calibration at three luminances is shown; the curve is a relation schematic diagram of the gray value and the light leakage value before calibration, and the straight line is a relation schematic diagram of the gray value and the light leakage value after calibration. As can be seen from fig. 10, under the condition of a fixed luminance value, the gray value corresponding to the calibrated green monochromatic light and the light leakage value corresponding to the green monochromatic light are in a linear relationship.
In order to verify the calibration coefficient determined for the blue monochromatic light, referring to fig. 11, the abscissa of fig. 11 represents the gray value corresponding to the blue monochromatic light and is denoted as gray-B, and the ordinate represents the light leakage value corresponding to the blue monochromatic light and is denoted as rawDN-B. In FIG. 11, the relationship of gray value to light leakage value after and before calibration at three brightness values is shown; the curve is a relation schematic diagram of the gray value and the light leakage value before calibration, and the straight line is a relation schematic diagram of the gray value and the light leakage value after calibration. As can be seen from fig. 11, under the condition of a fixed luminance value, the gray value corresponding to the calibrated blue monochromatic light and the light leakage value corresponding to the blue monochromatic light are in a linear relationship.
Step 403: and determining the current light leakage value of the screen according to the current brightness value, the calibration gray value and a predetermined relation model.
The relation model is used for describing the relation among the current brightness value, the calibration gray value and the current light leakage value. The predetermined relationship model may be stored in the terminal, and after the terminal obtains the current brightness value and the calibration gray value, the current brightness value and the calibration gray value may be brought into the predetermined relationship model to calculate the current light leakage value of the screen.
In one example, the relationship model may be generated in a manner as described with reference to fig. 12, including:
step 1201: and determining a model relation formula for generating a relation model according to a first linear relation between the calibration gray value of the screen and the current light leakage value of the screen and a second linear relation between the current brightness value of the screen and the current light leakage value of the screen.
As can be seen from fig. 2 and 3, when the gray value or the luminance value is 0, the leak value approaches 0. As can be seen from fig. 2 and 7, when the gray value is fixed, the luminance value and the light leakage value are in a linear relationship; when the brightness value is fixed, the calibrated gray value and the light leakage value are in a linear relation. The relationship between the current light leakage value, the current luminance value, the current gray value can thus be described by the following relationship:
rawDN=β1*bright+β2*grayγ+β3*bright*grayγ
wherein, rawDN is the current light leakage value, current bright is the current brightness value, gray is the current gray value, grayγFor calibrating the gray values, β 1, β 2, β 3 are model parameters, and γ is a calibration coefficient.
Step 1202: n sets of samples were collected.
Wherein each set of samples comprises: lightness value, grayThe value of the light leakage under the brightness value and the gray value, the n groups of samples comprise the light leakage value of the screen under different brightness values and different gray values, and n is a natural number larger than 2. That is, n sets of light leakage values at different gray values and brightness values are collected by the experimental apparatus shown in FIG. 1, and the i-th set of data are respectively expressed as grayi γ,brighti,rawDNi
Step 1203: and training model parameters in the model relational expression according to the n groups of samples to generate a relational model.
Specifically, the data of n sets of collected samples may be fitted by using a model relational expression to obtain model parameters β 1, β 2, and β 3 in the model relational expression. For example, the model parameters can be obtained by the following formula:
Figure BDA0002812769090000111
wherein the ratio of y, X,
Figure BDA0002812769090000112
are all matrices:
Figure BDA0002812769090000113
obtaining after matrix operation:
Figure BDA0002812769090000114
the above examples in the present embodiment are only for convenience of understanding, and do not limit the technical aspects of the present invention.
Based on the method for detecting the screen light leakage in the embodiment, the inventor performs experimental data acquisition and verification of the accuracy of light leakage detection, and assumes that the acquired light leakage value is rawDN and the light leakage value obtained through a relational model is leakage. The light leakage error is defined as:
Figure BDA0002812769090000115
as shown in fig. 13, it can be seen from fig. 13 that the error of the detected light leakage value can be controlled within 3% by the detection method in the present embodiment. In fig. 13, the abscissa represents the number of measurements, and the ordinate represents the light leakage error, which is expressed as err (%).
In the embodiment, the light leakage value of the screen under any gray value and any brightness value can be calculated by using a predetermined relational model for describing the relationship among the current brightness value, the calibration gray value and the current light leakage value. Moreover, when the brightness value is fixed, the light leakage value of the screen and the calibrated gray value after gamma calibration are in a linear relationship, and when the gray value is fixed, the light leakage value of the screen and the brightness value are in a linear relationship, that is, the relationship model combines two linear relationships, so that the current light leakage value of the screen determined according to the current brightness value, the calibrated gray value and the relationship model has higher precision, the light leakage detection precision is improved, and the detection precision of the ambient light is improved.
A second embodiment of the present invention relates to a method of detecting screen leakage light. This embodiment corresponds to a further improvement of the first embodiment, and the display parameters in this embodiment include the current eye protection level of the screen in addition to the current brightness value and the current gray scale value, that is, this embodiment considers more factors that have an influence on the light leakage value of the screen. The implementation details of the method for detecting screen light leakage according to the present embodiment are specifically described below, and the following description is only provided for the convenience of understanding, and is not necessary for implementing the present embodiment.
Referring to fig. 14, a flowchart of a method for detecting screen leakage light according to this embodiment includes:
step 1401: and acquiring the current brightness value, the current gray value and the current eye protection level of the display content of the screen.
In specific implementation, the terminal may have an eye protection mode, and when the eye protection mode is turned on, the terminal may read a current brightness value, a current gray value, and an eye protection level of display content of the screen in an operating system of the terminal.
Step 1402: and gamma calibration is carried out on the current gray value to obtain a calibration gray value.
Step 1402 has already been described in the above embodiments, and is not described herein again to avoid repetition.
Step 1403: and determining the current light leakage value of the screen according to the current brightness value, the calibration gray value, the current eye protection grade and a predetermined relation model.
The relation model is used for describing the relation among the current brightness value, the calibration gray value, the current eye protection grade and the current light leakage value.
It can be understood that, assuming that the eye protection levels are different, the screen light leakage values are different, and if the eye protection level and the light leakage value are in a linear decreasing relationship with the fixed screen brightness value and gray scale value, then in the eye protection mode: when the eye protection level is the highest, the brightness value of the mobile phone is close to a constant C; when the eye protection level is the lowest, namely the eye protection mode is not opened, only the influence of the brightness value and the gray value is generated. The expression of the relational model can then be as follows:
rawDN=β1*bright+β2*grayγ+β3*bright*grayγ
+β4*eye+β5*eye*bright+β6*eye*grayγ+β7*eye*bright*grayγ
wherein, beta 1 to beta 7 are all model parameters, rawDN is a light leakage value, bright is a brightness value, gray is a grayγTo calibrate the gray value, γ is the calibration factor, eye can be understood as the eye protection rating. The beta 1 to beta 7 can be obtained by collecting at least 7 groups of samples, wherein each group of samples comprises a brightness value, a gray value and a light leakage value detected under an eye protection level.
In a specific implementation, if there are more influencing factors on the light leakage value, and the influencing factors are in a linear relationship with the light leakage value under the condition that other factors are fixed, or are in a linear relationship with the light leakage value after being converted, more beta coefficients can be added into the relationship model to obtain a new relationship model so as to calculate the light leakage value.
The above examples in the present embodiment are only for convenience of understanding, and do not limit the technical aspects of the present invention.
In the embodiment, various factors influencing the light leakage value are considered, and the light leakage value is calculated by combining the various factors, so that the accuracy of the detected light leakage value is further improved.
A third embodiment of the present invention relates to a method for detecting ambient light, which is used to determine a current ambient light value according to the current light leakage value detected in the above embodiments. The implementation details of the method for detecting screen light leakage according to the present embodiment are specifically described below, and the following description is only provided for the convenience of understanding, and is not necessary for implementing the present embodiment.
Fig. 15 may be referred to as a flowchart of the method for detecting ambient light according to this embodiment, and the method includes:
step 1501: according to the method for detecting the screen light leakage, the current light leakage value of the screen is determined.
That is, the terminal may obtain the current light leakage value detected in any of the above embodiments.
Step 1502: and acquiring a current light sensing value detected by a light sensing sensor arranged below the screen.
Step 1503: and determining the current ambient light value according to the current photosensitive value and the current light leakage value.
Specifically, the terminal may use a difference between the current sensed light value and the current leakage light value as the current ambient light value.
In the embodiment, the light leakage value of the screen under any gray value and any brightness value can be calculated by using a predetermined relational model for describing the relationship among the current brightness value, the calibration gray value and the current light leakage value. Moreover, when the brightness value is fixed, the light leakage value of the screen and the calibration gray value after gamma calibration are in a linear relationship, and when the gray value is fixed, the light leakage value of the screen and the brightness value are in a linear relationship, that is, the above relationship model combines two linear relationships, so that the current light leakage value of the screen determined according to the current brightness value, the calibration gray value and the relationship model has higher precision, and the light leakage detection precision is improved, thereby further improving the accuracy of the current ambient light value determined according to the current photosensitive value and the current light leakage value.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present invention relates to a chip, as shown in fig. 16, wherein a chip 1601 is located in a terminal and is connected to a memory 1602 in the terminal, and the memory 1602 stores instructions executable by the chip 1601, and the instructions are executed by the chip 1601, so that the chip 1601 can execute the method for detecting screen leakage light or the method for detecting ambient light.
The memory 1602 and the chip 1601 are coupled by a bus, which may comprise any number of interconnected buses and bridges that couple one or more of the various circuits of the chip 1601 and the memory 1602 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. Data processed by the chip 1601 is transmitted over a wireless medium through an antenna, which further receives the data and transmits the data to the chip 1601.
Chip 1601 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 1602 may be used to store data used by chip 1601 in performing operations.
A fifth embodiment of the present invention relates to a terminal, as shown in fig. 16, including: a chip 1601 in the fourth embodiment, and a memory 1602 connected to the chip 1601.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (12)

1. A method for detecting screen light leakage is characterized by comprising the following steps:
acquiring display parameters of a screen; wherein the display parameters include a current brightness value and a current gray value of the screen;
carrying out gamma calibration on the current gray value to obtain a calibrated gray value;
determining a current light leakage value of the screen according to the current brightness value, the calibration gray value and a predetermined relation model; wherein the relationship model is used to describe a relationship between the current luminance value, the calibration gray value, and the current leakage value;
wherein the relational model is generated by:
determining a model relation for generating the relation model according to a first linear relation between the calibration gray value of the screen and the current light leakage value of the screen and a second linear relation between the current brightness value of the screen and the current light leakage value of the screen;
collecting n groups of samples; wherein each set of the samples comprises: the system comprises a luminance value, a gray value and light leakage values under the luminance value and the gray value, wherein the n groups of samples comprise the light leakage values of the screen under different luminance values and different gray values, and n is a natural number greater than 2;
training model parameters in the model relational expression according to the n groups of samples to generate the relational model;
the model relationship is of the form:
rawDN=β1*bright+β2*grayγ+β3*bright*grayγ
the rawDN is the current light leakage value, the bright is the current brightness value, the gray isγThe β 1, β 2, β 3 are the model parameters for the calibration gray values.
2. The method for detecting screen leakage light of claim 1, wherein the gamma calibrating the current gray-level value to obtain a calibrated gray-level value comprises:
acquiring a predetermined calibration coefficient;
and performing gamma calibration on the current gray value according to the calibration coefficient to obtain a calibrated gray value.
3. The method of claim 2, wherein the calibration coefficient is predetermined by:
determining a number of candidate gamma coefficients corresponding to the screen;
determining the calibration coefficient among a number of candidate gamma coefficients.
4. The method of claim 3, wherein determining the calibration coefficient among the plurality of candidate gamma coefficients comprises:
under the condition of shielding ambient light, collecting light leakage sampling values of the screen under the same preset brightness value and different gray values;
respectively utilizing each candidate gamma coefficient to carry out gamma calibration on the different gray values to obtain different calibrated gray values corresponding to each candidate gamma coefficient;
performing linear fitting on the light leakage sampling values under different gray values and the calibrated different gray values corresponding to each candidate gamma coefficient to obtain a fitting function corresponding to each candidate gamma coefficient;
determining light leakage fitting values corresponding to the calibrated different gray values under each candidate gamma coefficient according to the fitting function corresponding to each candidate gamma coefficient and the calibrated different gray values;
determining a calibration error corresponding to each candidate gamma coefficient according to the light leakage sampling values under different gray values and the calibrated light leakage fitting values corresponding to different gray values under each candidate gamma coefficient;
determining the calibration coefficient from the calibration error corresponding to each of the candidate gamma coefficients.
5. The method of claim 4, wherein determining the calibration error corresponding to each candidate gamma coefficient according to the leak light sample values at different gray values and the leak light fitting values corresponding to the calibrated different gray values at each candidate gamma coefficient comprises:
calculating a calibration error for each of the candidate gamma coefficients by:
Figure FDA0003378270800000021
where err is the calibration error, rawDNsimple-iIs a light leakage sample value at ith gray value, rawDNfit-iAnd fitting a light leakage fitting value corresponding to the ith calibrated gray value under each candidate gamma coefficient, wherein n is the total number of different gray values.
6. The method of claim 4, wherein the same predetermined brightness value is a maximum brightness value of the screen.
7. The method of claim 2, wherein the current gray level value comprises: the calibration method comprises the following steps of obtaining a first current gray value corresponding to red monochromatic light, a second current gray value corresponding to green monochromatic light and a third current gray value corresponding to blue monochromatic light, wherein the calibration coefficients comprise: a first calibration coefficient for gamma calibrating the first current gamma value, a second calibration coefficient for gamma calibrating the second current gamma value, and a third calibration coefficient for gamma calibrating the third current gamma value.
8. The method of claim 1, wherein the display parameters further include a current eye protection rating of the screen;
determining a current light leakage value of the screen according to the current brightness value, the calibration gray value and a predetermined relationship model, including:
determining the current light leakage value of the screen according to the current brightness value, the calibration gray value, the current eye protection grade and a predetermined relation model; the relation model is used for describing the relation among the current brightness value, the calibration gray value, the current eye protection grade and the current light leakage value.
9. A method of detecting ambient light, comprising:
the method of detecting screen leakage according to any of claims 1 to 8, determining a current leakage value of the screen;
acquiring a current light sensing value detected by a light sensing sensor arranged below the screen;
and determining the current ambient light value according to the current photosensitive value and the current light leakage value.
10. A chip located in a terminal and connected to a memory in the terminal, the memory storing instructions executable by the chip, the instructions being executable by the chip to enable the chip to perform the method for detecting screen leakage light according to any one of claims 1 to 8, or to perform the method for detecting ambient light according to claim 9.
11. A terminal, comprising: the chip of claim 10, and a memory coupled to the chip.
12. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for detecting screen leakage of any one of claims 1 to 8, or implements the method for detecting ambient light of claim 9.
CN202011401915.5A 2020-12-02 2020-12-02 Screen light leakage and ambient light detection method, chip, terminal and storage medium Active CN112599088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011401915.5A CN112599088B (en) 2020-12-02 2020-12-02 Screen light leakage and ambient light detection method, chip, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011401915.5A CN112599088B (en) 2020-12-02 2020-12-02 Screen light leakage and ambient light detection method, chip, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112599088A CN112599088A (en) 2021-04-02
CN112599088B true CN112599088B (en) 2022-04-12

Family

ID=75189089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011401915.5A Active CN112599088B (en) 2020-12-02 2020-12-02 Screen light leakage and ambient light detection method, chip, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112599088B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115479665A (en) * 2021-06-15 2022-12-16 荣耀终端有限公司 Ambient light detection method and electronic equipment
CN113899449A (en) 2021-09-30 2022-01-07 深圳市汇顶科技股份有限公司 Method for detecting ambient light sensing value, electronic device and storage medium
CN114281629B (en) * 2021-12-27 2023-10-20 深圳市汇顶科技股份有限公司 Method and device for estimating screen light leakage amount and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090057715A (en) * 2007-12-03 2009-06-08 엘지디스플레이 주식회사 Liquid crystal display device and method for driving the same
CN106157286A (en) * 2015-04-03 2016-11-23 研祥智能科技股份有限公司 Image processing method and screen light leak test method
CN106462339A (en) * 2015-09-28 2017-02-22 华为技术有限公司 Terminal and method for detecting ambient brightness
CN106780521A (en) * 2016-12-08 2017-05-31 广州视源电子科技股份有限公司 The detection method of screen light leak, system and device
CN108682368A (en) * 2018-05-18 2018-10-19 青岛海信医疗设备股份有限公司 A kind of display screen light leak test method, system and display
CN109801322A (en) * 2017-11-16 2019-05-24 合肥欣奕华智能机器有限公司 A kind of light leak test method and device
CN111179861A (en) * 2019-12-11 2020-05-19 Tcl移动通信科技(宁波)有限公司 Brightness calibration method and device, storage medium and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7474285B2 (en) * 2002-05-17 2009-01-06 Semiconductor Energy Laboratory Co., Ltd. Display apparatus and driving method thereof
JP2009133911A (en) * 2007-11-28 2009-06-18 Toshiba Lighting & Technology Corp Rear projector and multi-display system
CN103021345B (en) * 2012-12-18 2014-12-24 四川长虹电器股份有限公司 Method for eliminating light leak of liquid crystal display

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090057715A (en) * 2007-12-03 2009-06-08 엘지디스플레이 주식회사 Liquid crystal display device and method for driving the same
CN106157286A (en) * 2015-04-03 2016-11-23 研祥智能科技股份有限公司 Image processing method and screen light leak test method
CN106462339A (en) * 2015-09-28 2017-02-22 华为技术有限公司 Terminal and method for detecting ambient brightness
CN106780521A (en) * 2016-12-08 2017-05-31 广州视源电子科技股份有限公司 The detection method of screen light leak, system and device
CN109801322A (en) * 2017-11-16 2019-05-24 合肥欣奕华智能机器有限公司 A kind of light leak test method and device
CN108682368A (en) * 2018-05-18 2018-10-19 青岛海信医疗设备股份有限公司 A kind of display screen light leak test method, system and display
CN111179861A (en) * 2019-12-11 2020-05-19 Tcl移动通信科技(宁波)有限公司 Brightness calibration method and device, storage medium and terminal

Also Published As

Publication number Publication date
CN112599088A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN112599088B (en) Screen light leakage and ambient light detection method, chip, terminal and storage medium
US10839731B2 (en) Mura correction system
US9741282B2 (en) OLED display system and method
WO2023000631A1 (en) Method and apparatus for determining correction coefficient of display screen light point, and computer device
RU2450475C2 (en) Methods to modulate lighting by means of comparison with image characteristics
CN107346653B (en) GAMMA curve adjusting method and device based on deep learning
US8947468B2 (en) Apparatus and method for enhancing readability of a character
KR100900694B1 (en) Apparatus and method for correcting a low tone with non-linear mapping and computer readable medium stored thereon computer executable instruction recorded with time-series data structure
CN109584792B (en) Method for quickly adjusting gray scale gamma of O L ED screen
US8169504B2 (en) Image processing device and image processing method
US10733957B2 (en) Method and system for display color calibration
CN113763892A (en) Gray scale adjusting method, display module, electronic equipment and readable storage medium
US7064769B2 (en) Systems and methods for computing the presence of self-luminous elements in an image
CN116164837A (en) Ambient light detection method, device, equipment and storage medium
CN115552506A (en) Display screen brightness adjusting method and device
CN110537362B (en) Color processing program, color processing method, color sensation inspection system, output system, color sensation correction image processing system, and color sensation simulation image processing system
US11763777B2 (en) Image display device, image display system, image display method, and computer program for providing a low-luminance grayscale standard display function (GSDF) display
KR101426242B1 (en) Method and apparatus for converting gray level of color image
JP3976095B2 (en) Gamma value acquisition method for liquid crystal display device, gamma value acquisition system for realizing the same, computer for acquiring the same, and program used therefor
CN114170960B (en) Custom Gamma correction method for silicon-based OLED micro-display screen
CN116309886A (en) Display control method, display control device, electronic equipment and storage medium
US20160206192A1 (en) Arithmetic processor and control method thereof
US8086033B2 (en) Device, method, and program storage medium for color conversion, device, method, and program storage medium for color conversion coefficient generation
KR20070012017A (en) Method of color correction for display and apparatus thereof
CN107784991B (en) Automatic imaging correction method

Legal Events

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