CN112365833A - Method for detecting and correcting brightness adjustment value of light sensation under screen - Google Patents

Method for detecting and correcting brightness adjustment value of light sensation under screen Download PDF

Info

Publication number
CN112365833A
CN112365833A CN202110051702.2A CN202110051702A CN112365833A CN 112365833 A CN112365833 A CN 112365833A CN 202110051702 A CN202110051702 A CN 202110051702A CN 112365833 A CN112365833 A CN 112365833A
Authority
CN
China
Prior art keywords
screen
brightness
light
real
under
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.)
Granted
Application number
CN202110051702.2A
Other languages
Chinese (zh)
Other versions
CN112365833B (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 Fushi Technology Co Ltd
Original Assignee
Shenzhen Fushi 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 Fushi Technology Co Ltd filed Critical Shenzhen Fushi Technology Co Ltd
Priority to CN202110051702.2A priority Critical patent/CN112365833B/en
Publication of CN112365833A publication Critical patent/CN112365833A/en
Application granted granted Critical
Publication of CN112365833B publication Critical patent/CN112365833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application provides a method for detecting a light sensation brightness adjusting value under a screen, which comprises the following steps: calculating the brightness gain of the screen; calculating real-time actual brightness of the screen according to the brightness gain and the real-time system brightness of the screen; and calculating the light sensation brightness adjusting value under the screen according to the real-time system brightness of the screen, the real-time actual brightness of the screen and the system maximum brightness of the screen. In addition, the application also provides an off-screen light sensation brightness correction method, a light sensation sensing device and terminal equipment. According to the technical scheme, the ambient light brightness can be accurately obtained.

Description

Method for detecting and correcting brightness adjustment value of light sensation under screen
Technical Field
The application relates to the technical field of light sensation, in particular to a method for detecting a brightness adjustment value of light sensation under a screen, a method for correcting brightness of light sensation under the screen, a light sensation sensor device and a terminal device.
Background
With the rapid development of electronic technology, electronic devices such as smart phones and tablet computers have become more and more popular. Wherein, terminal equipment such as smart mobile phone, panel computer all have the display screen.
Typically, an ambient light sensor is provided below the display screen. The ambient light sensor is used for detecting the brightness of the external environment, so that the electronic equipment can control the brightness of the display screen according to the detected brightness of the external environment, and the brightness of the display screen is adaptive to the external environment. However, in the existing off-screen ambient light measurement algorithms in the market, under the condition of abnormal fluctuation of screen brightness, the test result jumps sharply, that is, the measured ambient light brightness is inaccurate, which greatly affects the use experience of users.
Therefore, how to accurately obtain the brightness of the ambient light is a problem that needs to be solved urgently.
Disclosure of Invention
The application provides a method for detecting a light sensation brightness adjusting value under a screen, a method for correcting light sensation brightness under the screen, a light sensation sensor device and a terminal device, which can accurately acquire the ambient light brightness.
In a first aspect, an embodiment of the present application provides a method for detecting a brightness adjustment value of a light sensation under a screen, where the method for detecting the brightness adjustment value of the light sensation under the screen includes:
calculating the brightness gain of the screen;
calculating real-time actual brightness of the screen according to the brightness gain and the real-time system brightness of the screen; and
and calculating the light sensation brightness adjusting value under the screen according to the real-time system brightness of the screen, the real-time actual brightness of the screen and the system maximum brightness of the screen.
In a second aspect, an embodiment of the present application provides an off-screen light sensation brightness correction method applied to a terminal device provided with a screen, the off-screen light sensation brightness correction method including:
sensing ambient light by using a light sense sensor arranged on the terminal equipment to generate light sense ambient light brightness, wherein the light sense sensor is positioned in the terminal equipment and covered by the screen; and
and adjusting the light sensation environment brightness according to the light sensation brightness adjusting value under the screen to generate actual environment brightness, wherein the light sensation brightness adjusting value under the screen is obtained by adopting the detection method of the light sensation brightness adjusting value under the screen.
In a third aspect, an embodiment of the present application provides a light sensing device, including:
the light sensor is used for sensing ambient light;
the memory is used for storing the program instruction of the light sensation brightness correction under the screen;
and the processor is used for executing the off-screen light sensation brightness correction program instruction to realize the off-screen light sensation brightness correction method.
In a fourth aspect, an embodiment of the present application provides a terminal device, where the terminal device includes a main body, a screen disposed in the main body, and the light sensing device disposed in the main body and covered by the screen.
The method for detecting the brightness adjustment value of the light sensation below the screen, the method for correcting the brightness of the light sensation below the screen, the light sensation sensor device and the terminal device calculate the real-time actual brightness of the screen according to the brightness gain of the screen and the real-time system brightness of the screen, and then calculate the brightness adjustment value of the light sensation below the screen according to the real-time system brightness of the screen, the real-time actual brightness of the screen and the system maximum brightness of the screen. Through the correction of the light sensation brightness adjusting value to the environment brightness under the screen, the accurate environment brightness can be obtained, and therefore guarantee is provided for the screen brightness adjustment of the terminal equipment.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a flowchart of a detection method according to a first embodiment of the present application.
Fig. 2 is a first sub-flowchart of a detection method according to a first embodiment of the present application.
Fig. 3 is a second sub-flowchart of the detection method according to the first embodiment of the present application.
Fig. 4 is a sub-flowchart of a detection method according to a second embodiment of the present application.
Fig. 5a-5b are partial schematic views of a detection method provided in a second embodiment of the present application.
Fig. 6 is a flowchart of a method for correcting brightness of light sensing under a screen according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a light sensing device according to an embodiment of the present disclosure.
Fig. 8 is a schematic diagram of a terminal device according to an embodiment of the present application.
DESCRIPTION OF SYMBOLS IN THE DRAWINGS
Reference numerals Name (R) Reference numerals Name (R)
1000 Terminal device 200 Main body
100 Light sensing device 300 Screen
10 Light sensor 310 Photosensitive region
20 Memory device 320 Non-photosensitive region
30 Processor with a memory having a plurality of memory cells
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances, in other words that the embodiments described are to be practiced in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and any other variation thereof, may also include other things, such as processes, methods, systems, articles, or apparatus that comprise a list of steps or elements is not necessarily limited to only those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such processes, methods, articles, or apparatus.
It should be noted that the descriptions in this application referring to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
Please refer to fig. 1, which is a flowchart illustrating a detection method according to a first embodiment of the present application. The light sensor 10 is disposed in the terminal device 1000 and covered by the screen 300, and when the light sensor 10 senses the ambient light brightness, the brightness sensed by the light sensor 10 includes the brightness of the screen 300 and the ambient light brightness. The screen 300 of the terminal device 1000 may have abnormal brightness variation due to a voltage drop, and the like, and thus the calculated ambient light brightness may vary accordingly. The method for detecting the brightness adjustment value of the light sensing under the screen is used for detecting and calculating the brightness adjustment value of the light sensing under the screen 300. The light sensation brightness adjusting value under the screen is used for eliminating the influence of the screen brightness on the ambient light brightness. It is understood that the calculated off-screen light sensation brightness adjustment value may be stored in the memory 20 of the terminal device 1000, and when the light sensation sensor 10 senses the ambient light brightness, the actual ambient light brightness may be obtained by adjusting the sensed ambient light with the off-screen light sensation brightness adjustment value. Therein, the screen 300 includes a photosensitive area 310 and a non-photosensitive area 320. In the present embodiment, the photosensitive area 310 is a screen area that affects the light sensor 10 to sense the ambient light, and the non-photosensitive area 320 is a screen area that does not affect the light sensor 10 to sense the ambient light. The method for detecting the brightness adjustment value of the light sensing under the screen specifically comprises the following steps.
Step S102, calculating the brightness gain of the screen. In the present embodiment, the photosensitive region 310 of the control screen 300 displays a white image. In the case where the photosensitive region 310 of the screen 300 displays a white image, a luminance gain of each monochromatic light is acquired. Wherein each monochromatic light comprises red light, green light and blue light. A luminance gain of red light, a luminance gain of green light, and a luminance gain of blue light are obtained in the case where the photosensitive region 310 displays a white image. How to obtain the luminance gain of red light, the luminance gain of green light, and the luminance gain of blue light will be described in detail below. And after the brightness gain of the red light, the brightness gain of the green light and the brightness gain of the blue light are obtained, taking the sum of the brightness gains of the monochromatic lights as the brightness gain. It is understood that the image displayed on the screen 300 may be formed of red light, green light, and blue light by different luminance ratios, and the red light, the green light, and the blue light have an influence on the luminance of the screen. Therefore, the sum of the luminance gains of the individual monochromatic lights is taken as the total luminance gain.
And step S104, calculating the real-time actual brightness of the screen according to the brightness gain and the real-time system brightness of the screen. In the embodiment, the real-time actual brightness of the screen is calculated according to the brightness gain and the real-time system brightness of the screen by using a first preset formula. The monochromatic light comprises red light, green light and blue light. In this embodiment, the first preset formula is: light _ REAL = Light _ RET (1+ AG _ R + AG _ G + AG _ B); the Light _ REAL represents the REAL-time actual brightness of the screen, that is, the brightness displayed in REAL time after the abnormal brightness change occurs due to reasons such as pressure drop of the screen 300; light _ RET represents the real-time system brightness of the screen, and it can be understood that a system is installed in the terminal device 1000, the system is preset with a screen brightness value, and the real-time system brightness of the screen is the brightness that the system controls the screen 300 to display in real time according to the screen brightness value, where the screen brightness values preset by different systems may be different or the same; AG _ R denotes a luminance gain of red light, AG _ G denotes a luminance gain of green light, and AG _ B denotes a luminance gain of blue light.
And step S106, calculating the light sensation brightness adjusting value under the screen according to the real-time system brightness of the screen, the real-time actual brightness of the screen and the system maximum brightness of the screen. In the present embodiment, a third preset formula is used to calculate the light sensation brightness adjustment value under the screen according to the real-time system brightness of the screen, the real-time actual brightness of the screen, and the system maximum brightness of the screen, so as to obtain the influence degree of the screen 300 on the light sensation sensor 10. In this embodiment, the third preset formula is: IV = Light _ REAL _ Light _ RET/Light _ MAX; wherein IV represents the light sensation brightness adjusting value under the screen; light _ MAX represents the system maximum brightness of the screen, i.e., the maximum value among the screen brightness values preset by the system.
In the above embodiment, the real-time actual brightness of the screen is calculated according to the brightness gain of the screen and the real-time system brightness of the screen, and the light sensation brightness adjustment value under the screen is calculated according to the real-time system brightness of the screen, the real-time actual brightness of the screen, and the system maximum brightness of the screen, so as to obtain the influence degree of the screen on the ambient light brightness. The brightness of the environment light sensed by the light sensor is adjusted according to the light sensation brightness adjusting value under the screen, and the actual environment light brightness can be obtained, so that the interference of the screen light brightness on the environment light brightness sensed by the light sensor is reduced, and the environment light brightness is obtained more accurately. When the screen brightness is adjusted according to the ambient light brightness, the screen brightness can be adjusted more accurately, so that a user has better experience. In addition, the brightness gain of the screen is obtained by calculating the gains of the red light, the green light and the blue light respectively, so that the brightness gain of the screen is more accurate.
Referring to fig. 2, in a case where a white image is displayed in a photosensitive area of a screen, the obtaining of the brightness gain of each monochromatic light specifically includes the following steps.
Step S202, under the condition that the photosensitive area of the screen displays the white image, the non-photosensitive area of the screen is sequentially controlled to display the monochromatic image corresponding to each monochromatic light. In the present embodiment, in the case where the photosensitive region 310 of the screen 300 displays a white image, the non-photosensitive region 320 of the screen 300 is controlled to display a red image, a green image, and a blue image, respectively.
In step S204, the background brightness of each monochromatic light is sensed under the condition that the photosensitive area of the screen displays a white image and the non-photosensitive area of the screen displays a monochromatic image. In the case where the photosensitive region 310 of the screen 300 displays a white image and the non-photosensitive region 320 of the screen 300 displays a monochromatic image, the photo sensor 10 senses the background brightness of each monochromatic light. In the present embodiment, the light sensor 10 senses the background brightness in a dark environment, and therefore, the brightness sensed by the light sensor 10 is the background brightness of the screen. Accordingly, in the case where the photosensitive region of the screen displays a white image and the non-photosensitive region of the screen displays a red image, the light-sensing sensor 10 measures the red background luminance. In the case where a white image is displayed on a photosensitive region of the screen and a green image is displayed on a non-photosensitive region of the screen, the light-sensing sensor 10 measures the background brightness of the green light. In the case where the photosensitive area of the screen displays a white image and the non-photosensitive area of the screen displays a blue image, the light-sensing sensor 10 measures the background brightness of the blue light.
And S206, fitting the background brightness of each monochromatic light for three times to obtain the fitting brightness gain of each monochromatic light. In this embodiment, the red background luminance, the green background luminance, and the blue background luminance are fitted three times to obtain a fitted luminance gain of red light, a fitted luminance gain of green light, and a fitted luminance gain of blue light, respectively.
In the above embodiment, the background brightness of each monochromatic light is directly used for fitting to obtain the fitting brightness gain of each monochromatic light, so that the brightness gain of the screen can be obtained, and the light sensation brightness adjustment value under the screen can be accurately obtained while the calculated amount is small.
Referring to fig. 3, in a case where a white image is displayed in a photosensitive area of a screen, the obtaining of the brightness gain of each monochromatic light specifically includes the following steps.
Step S302, sequentially controlling the non-photosensitive area of the screen to display different gray-scale monochromatic images corresponding to one monochromatic light under the condition that the photosensitive area of the screen displays the white image. In the present embodiment, in the case that the photosensitive region 310 of the screen 300 displays a white image, the non-photosensitive region 320 of the screen 300 is respectively controlled to display different gray-scale red images corresponding to red light, different gray-scale green images corresponding to green light, and different gray-scale blue images corresponding to blue light. Wherein, each monochromatic light can be provided with 8-16 monochromatic light images with different gray scales. Preferably, 16 gray scale monochromatic light images are provided for each monochromatic light.
In step S304, the background brightness of each gray scale of each monochromatic light is sensed when the photosensitive area of the screen displays a white image and the non-photosensitive area of the screen displays a gray scale monochromatic image corresponding to one monochromatic light. In the case where the photosensitive region of the screen displays a white image and the non-photosensitive region of the screen displays a gray-scale monochromatic image corresponding to a monochromatic light, the light-sensing sensor 10 senses the background brightness of each gray-scale of each monochromatic light. In the present embodiment, the light sensor 10 senses the background brightness in a dark environment, and therefore, the brightness sensed by the light sensor 10 is the background brightness of the screen. Accordingly, 16 different gray-scale background luminances were measured for each monochromatic light. Wherein, the 16 different gray-scale background brightness measured by the red light is represented as MEAN _ R1-MEAN _ R16; the 16 different gray level background intensities measured by the green light are represented as MEAN _ G1-MEAN _ G16; the 16 different gray level background intensities measured for blue light are denoted as MEAN _ B1-MEAN _ B16.
Step S306, averaging the background brightness of each gray scale of each monochromatic light to obtain the background brightness of each monochromatic light. In this embodiment, the background brightness of 16 different gray levels measured by the red light is averaged and expressed as MEAN _ R; averaging the background brightness of 16 different gray scales measured by the green light and representing the average as MEAN _ G; the 16 different gray level background intensities measured for blue light were averaged and denoted MEAN _ B.
And step S308, performing three-time fitting on the background brightness of each monochromatic light to obtain the fitting brightness gain of each monochromatic light. In this embodiment, the background luminance average value MEAN _ R of the red light is subjected to three-time fitting, and the luminance gain of the red light is AG _ R = a1 × MEAN _ R + b1 × MEAN _ R + c 1. The background brightness average value MEAN _ G of the green light is fitted three times, and the brightness gain of the green light is AG _ G = a2 × MEAN _ G + b2 × MEAN _ G + c 2. The background brightness average value MEAN _ B of the blue light is fitted three times, and the brightness gain of the blue light is AG _ B = a3 × MEAN _ B + B3 × MEAN _ B + c 3. Wherein a1, b1, c1, a2, b2, c2, a3, b3 and c3 are all coefficients obtained by fitting.
In the above embodiment, the brightness gain of the screen can be obtained by sensing the background brightness of each gray scale of each monochromatic light, averaging the background brightness of each gray scale of each monochromatic light, and fitting the average value of the background brightness of each gray scale of each monochromatic light to obtain the fitted brightness gain of each monochromatic light, so that the accuracy of the brightness of the screen is further improved, and the accuracy of the generated brightness adjustment value of the light sensation under the screen is further improved.
Please refer to fig. 4 and fig. 5a-5b, which are a flowchart and a partial schematic diagram of a detection method according to a second embodiment of the present application. The detection method provided by the second embodiment is different from the detection method provided by the first embodiment in that the step S102 specifically includes the following steps in the detection method provided by the second embodiment.
In step S402, the photosensitive area of the screen is controlled to display a white image.
In step S404, in the case that the photosensitive area of the screen displays a white image, the non-photosensitive area of the screen is controlled to display a black image.
In step S406, in the case that the photosensitive region of the screen displays a white image and the non-photosensitive region of the screen displays a black image, the black background brightness is sensed. In the case where the photosensitive region of the screen displays a white image and the non-photosensitive region of the screen displays a black image, the photo sensor 10 senses the black background brightness. In the present embodiment, the light sensor 10 senses the background brightness in a dark environment, and therefore, the brightness sensed by the light sensor 10 is the background brightness of the screen. At this time, the brightness of the photosensitive area 310 of the screen 300 is the brightest, and the measured brightness of the black background is denoted as MAX _ L.
In step S408, in the case that the photosensitive area of the screen displays a white image, the non-photosensitive area of the screen is controlled to display the white image.
In step S410, white background brightness is sensed in the case that a white image is displayed in a photosensitive area of the screen and a white image is displayed in a non-photosensitive area of the screen. In the case where the photosensitive region of the screen displays a white image and the non-photosensitive region of the screen displays a white image, the light-sensing sensor 10 senses the brightness of the white background. At this time, the brightness of the photosensitive area 310 of the screen 300 is darkest, and the measured brightness of the white background is denoted as MIN _ L.
In step S412, the brightness gain of the screen is calculated according to the black background brightness and the white background brightness. The luminance gain of the calculation screen is denoted as AG _ RGB = (MAX _ L-MIN _ L)/MIN _ L.
Then, in the detection method provided in the second embodiment, step S104 is to specifically calculate the real-time actual brightness of the screen according to the brightness gain, the real-time system brightness of the screen, and the system maximum brightness of the screen by using a second preset formula. In this embodiment, the second predetermined formula is: light _ REAL = Light _ RET (1+ (MAX _ L-MIN _ L)/MIN _ L); the Light _ REAL represents the REAL-time actual brightness of the screen, that is, the brightness displayed in REAL time after the abnormal brightness change occurs due to reasons such as pressure drop of the screen 300; light _ RET represents the real-time system brightness of the screen, and it can be understood that a system is installed in the terminal device 1000, the system is preset with a screen brightness value, and the real-time system brightness of the screen is the brightness that the system controls the screen 300 to display in real time according to the screen brightness value, where the screen brightness values preset by different systems may be different or the same; MAX _ L represents black background luminance, MIN _ L represents white background luminance.
In the embodiment, the brightness gain of the screen is obtained by calculating the black background brightness and the white background brightness, and the light sensation brightness adjustment value under the screen can be accurately obtained while the calculated amount is small.
Please refer to fig. 6, which is a flowchart illustrating a method for correcting brightness of an image sensing device according to an embodiment of the present disclosure. The method for correcting brightness of light sensing under the screen is applied to the terminal device 1000 provided with the screen 300, and the terminal device 1000 includes, but is not limited to, a mobile phone, a tablet computer, and the like. The method for correcting the brightness of the light sensation under the screen specifically comprises the following steps.
In step S502, a light sensor disposed in the terminal device is used to sense the ambient light to generate light-sensitive ambient light brightness. Therein, the light-sensing sensor 10 is located in the terminal device 1000 and covered by the screen 300.
In step S504, the light-sensitive environment brightness is adjusted according to the light-sensitive brightness adjustment value under the screen to generate the actual environment brightness. The brightness adjustment value of the light sensing under the screen is obtained by the detection method of the brightness adjustment value of the light sensing under the screen as described in the above embodiment. In this embodiment, the actual ambient light brightness can be obtained by subtracting the light-sensitive brightness adjustment value under the screen from the light-sensitive ambient light brightness.
In the above embodiment, the real-time environment brightness is generated according to the light-sensing-under-screen brightness adjustment value and the light-sensing-under-screen environment brightness, so that the influence of the screen brightness deviation on the light-sensing-under-screen sensor sensing the environment brightness is eliminated. Through the correction of the light sensation brightness adjusting value to the environment brightness under the screen, the accurate environment brightness can be obtained, and the stability and the accuracy of the light sensation sensor to the environment brightness measuring result are ensured, so that the brightness adjustment of the screen of the terminal equipment is guaranteed.
Please refer to fig. 7, which is a schematic structural diagram of a photo sensor device according to an embodiment of the present disclosure. The light-sensing device 100 includes a light-sensing sensor 10, a memory 20, and a processor 30. Wherein, the light sensor 10 is used for sensing the ambient light; the memory 20 is used for storing the program instruction of the light sensation brightness correction under the screen; the processor 30 is configured to execute the instructions of the light sensation brightness correction program to implement the light sensation brightness correction method according to the above embodiment.
The processor 30 may be, in some embodiments, a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip, and is configured to execute the light sensation brightness correction program instructions stored in the memory 20.
The memory 20 includes at least one type of readable storage medium including flash memory, hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, and the like. The memory 20 may in some embodiments be an internal storage unit of the computer device, for example a hard disk of the computer device. The memory 20 may also be a storage device of an external computer device in other embodiments, such as a plug-in hard disk provided on the computer device, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and so forth. Further, the memory 20 may also include both an internal storage unit and an external storage device of the computer device. The memory 20 may be used not only to store application software installed in the computer device and various types of data such as codes for realizing light sensing brightness correction under the screen, but also to temporarily store data that has been output or will be output.
Please refer to fig. 8 in combination, which is a schematic diagram of a terminal device according to an embodiment of the present application. The terminal apparatus 1000 includes a main body 200, a screen 300 provided to the main body 200, and a light sensing device 100 provided to the main body 200. The light-sensing device 100 is located in the terminal 1000 and covered by the screen 300. The specific structure of the light-sensing device 100 refers to the above-mentioned embodiments. Since the terminal device 1000 adopts all technical solutions of all the embodiments described above, at least all the beneficial effects brought by the technical solutions of the embodiments described above are achieved, and are not described in detail herein.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, to the extent that such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, it is intended that the present application also encompass such modifications and variations.
The above-mentioned embodiments are only examples of the present invention, and the scope of the claims of the present invention should not be limited by these examples, so that the claims of the present invention should be construed as equivalent and still fall within the scope of the present invention.

Claims (12)

1. A method for detecting a brightness adjustment value of light sensation below a screen is characterized by comprising the following steps:
calculating the brightness gain of the screen;
calculating real-time actual brightness of the screen according to the brightness gain and the real-time system brightness of the screen; and
and calculating the light sensation brightness adjusting value under the screen according to the real-time system brightness of the screen, the real-time actual brightness of the screen and the system maximum brightness of the screen.
2. The method as claimed in claim 1, wherein the calculating the brightness gain of the screen specifically comprises:
controlling a photosensitive area of the screen to display a white image;
acquiring the brightness gain of each monochromatic light under the condition that a white image is displayed in a photosensitive area of the screen, wherein each monochromatic light comprises red light, green light and blue light; and
and taking the sum of the brightness gains of the monochromatic lights as the brightness gain.
3. The method for detecting the brightness adjustment value of the light sensation below the screen as claimed in claim 2, wherein the obtaining of the brightness gain of each monochromatic light under the condition that the photosensitive area of the screen displays a white image specifically comprises:
under the condition that a white image is displayed in a photosensitive area of the screen, sequentially controlling a non-photosensitive area of the screen to display a monochromatic image corresponding to each monochromatic light;
sensing the background brightness of each monochromatic light under the condition that a white image is displayed in a photosensitive area of the screen and the monochromatic light image is displayed in a non-photosensitive area of the screen; and
and fitting the background brightness of each monochromatic light for three times to obtain the fitting brightness gain of each monochromatic light.
4. The method for detecting the brightness adjustment value of the light sensation below the screen as claimed in claim 2, wherein the obtaining of the brightness gain of each monochromatic light under the condition that the photosensitive area of the screen displays a white image specifically comprises:
under the condition that a white image is displayed in a photosensitive area of the screen, sequentially controlling a non-photosensitive area of the screen to display different gray scale monochromatic light images corresponding to one monochromatic light;
sensing the background brightness of each gray scale of each monochromatic light under the condition that a white image is displayed in a photosensitive area of the screen and one gray scale monochromatic image corresponding to one monochromatic light is displayed in a non-photosensitive area of the screen;
averaging the background brightness of each gray scale of each monochromatic light to obtain the background brightness of each monochromatic light; and
and fitting the background brightness of each monochromatic light for three times to obtain the fitting brightness gain of each monochromatic light.
5. The method as claimed in claim 2, wherein the real-time actual brightness of the screen is calculated according to the brightness gain and the real-time system brightness of the screen as follows: calculating the real-time actual brightness of the screen according to the brightness gain and the real-time system brightness of the screen by using a first preset formula, wherein the first preset formula is as follows:
Light_REAL=Light_RET*(1+AG_R+AG_G+AG_B);
wherein Light _ REAL represents the REAL-time actual brightness of the screen, Light _ RET represents the REAL-time system brightness of the screen, AG _ R represents the brightness gain of red Light, AG _ G represents the brightness gain of green Light, and AG _ B represents the brightness gain of blue Light.
6. The method as claimed in claim 1, wherein the calculating the brightness gain of the screen specifically comprises:
controlling a photosensitive area of the screen to display a white image;
controlling a non-photosensitive area of the screen to display a black image in a case where a white image is displayed in a photosensitive area of the screen;
sensing a black background brightness if a photosensitive region of the screen displays a white image and a non-photosensitive region of the screen displays a black image;
in the case that the photosensitive area of the screen displays a white image, controlling the non-photosensitive area of the screen to display the white image;
sensing a white background brightness with a white image displayed on a photosensitive region of the screen and a white image displayed on a non-photosensitive region of the screen;
and calculating the brightness gain of the screen according to the black background brightness and the white background brightness.
7. The method as claimed in claim 6, wherein the real-time actual brightness of the screen is calculated according to the brightness gain and the real-time system brightness of the screen as follows: calculating the real-time actual brightness of the screen according to the brightness gain and the real-time system brightness of the screen by using a second preset formula, wherein the second preset formula is as follows:
Light_REAL=Light_RET*(1+(MAX_L-MIN_L)/MIN_L);
wherein Light _ REAL represents the REAL-time actual brightness of the screen, Light _ RET represents the REAL-time system brightness of the screen, MAX _ L represents the black background brightness, and MIN _ L represents the white background brightness.
8. The method as claimed in claim 5 or 7, wherein the method for detecting the brightness adjustment value of the light sensation under the screen is characterized in that the brightness adjustment value of the light sensation under the screen is calculated according to the real-time system brightness of the screen, the real-time actual brightness of the screen and the system maximum brightness of the screen: calculating the light sensation brightness adjustment value under the screen according to the real-time system brightness of the screen, the real-time actual brightness of the screen and the system maximum brightness of the screen by using a third preset formula, wherein the third preset formula is as follows:
IV=Light_REAL*Light_RET/Light_MAX;
wherein IV represents the luminance adjustment value of the Light sensing under the screen, and Light _ MAX represents the system maximum luminance of the screen.
9. A method for correcting brightness of light sensation below a screen is applied to a terminal device provided with the screen, and comprises the following steps:
sensing ambient light by using a light sense sensor arranged on the terminal equipment to generate light sense ambient light brightness, wherein the light sense sensor is positioned in the terminal equipment and covered by the screen; and
adjusting the light sensation environment brightness according to the under-screen light sensation brightness adjustment value to generate actual environment brightness, wherein the under-screen light sensation brightness adjustment value is obtained by the method for detecting the under-screen light sensation brightness adjustment value according to any one of claims 1 to 8.
10. The method for luminance correction of light sensation under screen of claim 9, wherein adjusting the light sensation environment luminance according to the light sensation under screen luminance adjustment value to generate the actual environment luminance comprises:
and subtracting the light sensation brightness adjusting value under the screen from the light sensation environment brightness.
11. A light sensing device, comprising:
the light sensor is used for sensing ambient light;
the memory is used for storing the program instruction of the light sensation brightness correction under the screen;
a processor for executing the off-screen light sensation brightness correction program instructions to implement the off-screen light sensation brightness correction method according to claim 9 or 10.
12. A terminal device, characterized in that the terminal device comprises a main body, a screen provided in the main body, and the light-sensing device according to claim 11 provided in the main body, the light-sensing device being located in the terminal device and covered by the screen.
CN202110051702.2A 2021-01-15 2021-01-15 Method for detecting and correcting brightness adjustment value of light sensation under screen Active CN112365833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110051702.2A CN112365833B (en) 2021-01-15 2021-01-15 Method for detecting and correcting brightness adjustment value of light sensation under screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110051702.2A CN112365833B (en) 2021-01-15 2021-01-15 Method for detecting and correcting brightness adjustment value of light sensation under screen

Publications (2)

Publication Number Publication Date
CN112365833A true CN112365833A (en) 2021-02-12
CN112365833B CN112365833B (en) 2021-04-30

Family

ID=74535038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110051702.2A Active CN112365833B (en) 2021-01-15 2021-01-15 Method for detecting and correcting brightness adjustment value of light sensation under screen

Country Status (1)

Country Link
CN (1) CN112365833B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112951162A (en) * 2021-02-24 2021-06-11 北京小米移动软件有限公司 Display screen and control method and device thereof

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108716950A (en) * 2018-05-16 2018-10-30 北京小米移动软件有限公司 Environmental light brightness acquisition methods and device
CN108917921A (en) * 2018-06-15 2018-11-30 江西合力泰科技有限公司 A kind of ambient light intensity detection method
CN109029720A (en) * 2018-06-29 2018-12-18 北京小米移动软件有限公司 Intensity of illumination detection method and device
CN109817152A (en) * 2019-04-09 2019-05-28 Oppo广东移动通信有限公司 Screen luminance adjustment method and Related product
CN110264978A (en) * 2019-06-28 2019-09-20 联想(北京)有限公司 Luminous intensity modification method, luminous intensity correcting device and electronic equipment
CN110730262A (en) * 2019-10-30 2020-01-24 北京字节跳动网络技术有限公司 Environment brightness value detection method and device and electronic equipment
CN111179861A (en) * 2019-12-11 2020-05-19 Tcl移动通信科技(宁波)有限公司 Brightness calibration method and device, storage medium and terminal
CN111210792A (en) * 2020-02-11 2020-05-29 北京小米移动软件有限公司 Method and device for determining ambient light brightness, terminal and storage medium
CN111486950A (en) * 2020-04-20 2020-08-04 Oppo广东移动通信有限公司 Ambient light detection method, ambient light detection device, electronic apparatus, and storage medium
CN111613176A (en) * 2020-05-18 2020-09-01 维沃移动通信有限公司 Ambient light detection method and electronic device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108716950A (en) * 2018-05-16 2018-10-30 北京小米移动软件有限公司 Environmental light brightness acquisition methods and device
CN108917921A (en) * 2018-06-15 2018-11-30 江西合力泰科技有限公司 A kind of ambient light intensity detection method
CN109029720A (en) * 2018-06-29 2018-12-18 北京小米移动软件有限公司 Intensity of illumination detection method and device
CN109817152A (en) * 2019-04-09 2019-05-28 Oppo广东移动通信有限公司 Screen luminance adjustment method and Related product
CN110264978A (en) * 2019-06-28 2019-09-20 联想(北京)有限公司 Luminous intensity modification method, luminous intensity correcting device and electronic equipment
CN110730262A (en) * 2019-10-30 2020-01-24 北京字节跳动网络技术有限公司 Environment brightness value detection method and device and electronic equipment
CN111179861A (en) * 2019-12-11 2020-05-19 Tcl移动通信科技(宁波)有限公司 Brightness calibration method and device, storage medium and terminal
CN111210792A (en) * 2020-02-11 2020-05-29 北京小米移动软件有限公司 Method and device for determining ambient light brightness, terminal and storage medium
CN111486950A (en) * 2020-04-20 2020-08-04 Oppo广东移动通信有限公司 Ambient light detection method, ambient light detection device, electronic apparatus, and storage medium
CN111613176A (en) * 2020-05-18 2020-09-01 维沃移动通信有限公司 Ambient light detection method and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112951162A (en) * 2021-02-24 2021-06-11 北京小米移动软件有限公司 Display screen and control method and device thereof

Also Published As

Publication number Publication date
CN112365833B (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN109979389B (en) Gamma correction method and device, display device, computer storage medium
CN107957294B (en) Ambient light intensity detection method and device, storage medium and electronic equipment
CN112289280B (en) Screen brightness adjusting method and device, computer readable medium and electronic equipment
CN110751923B (en) Hybrid aging compensation method and device, electronic equipment and readable storage medium
CN109819088B (en) Light sensation calibration method and related device
JP2003085542A (en) Method and device for correcting image data
CN112599089A (en) Display screen light leakage value acquisition method, electronic device and storage medium
CN113611242B (en) LED screen correction coefficient generation method, LED screen correction coefficient adjustment method and LED screen correction system
JP2015158626A (en) Calibration device, calibration method and program
CN112365833B (en) Method for detecting and correcting brightness adjustment value of light sensation under screen
CN114241997A (en) Brightness compensation method of display panel and related device
CN116337412A (en) Screen detection method, device and storage medium
CN113776787A (en) Screen uniformity testing method and system of virtual reality equipment and related device
CN113539165B (en) Gamma debugging method, device and equipment for display panel and storage medium
CN109903735B (en) Display calibration method, device, system, computer equipment and storage medium
CN115278186B (en) Controllable uniform projection method, device, equipment and medium based on Internet of things
CN112504442B (en) Parameter determination method, device, equipment and storage medium
CN115760653A (en) Image correction method, device, equipment and readable storage medium
CN113870800B (en) Backlight adjusting method and device, terminal equipment and storage medium
CN109559707A (en) Gamma value processing method and device of display panel and display equipment
JP5831069B2 (en) Program, information processing apparatus and abnormality determination method
CN111276092B (en) Optimization parameter determination method and device
JP5634473B2 (en) Panel evaluation system and panel evaluation method
CN113781958A (en) Optical compensation method and device of display panel
JP5113232B2 (en) Panel evaluation system and panel evaluation 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