CN115691418A - Luminance compensation method, luminance compensation device, and storage medium - Google Patents

Luminance compensation method, luminance compensation device, and storage medium Download PDF

Info

Publication number
CN115691418A
CN115691418A CN202110862019.7A CN202110862019A CN115691418A CN 115691418 A CN115691418 A CN 115691418A CN 202110862019 A CN202110862019 A CN 202110862019A CN 115691418 A CN115691418 A CN 115691418A
Authority
CN
China
Prior art keywords
display
brightness
display brightness
screen
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110862019.7A
Other languages
Chinese (zh)
Inventor
张嫄
陈佳斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110862019.7A priority Critical patent/CN115691418A/en
Publication of CN115691418A publication Critical patent/CN115691418A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The disclosure relates to a brightness compensation method, a brightness compensation device and a storage medium. The brightness compensation method is applied to the terminal, and comprises the following steps: and determining a first display brightness and a second display brightness in response to determining to perform brightness compensation on the display area of the under-screen camera of the terminal. The first display brightness is the reference display brightness of the display area of the camera under the screen, and the second display brightness is the real-time display brightness of the display area of the camera under the screen. And performing brightness compensation on the display area of the camera under the screen based on the first display brightness and the second display brightness. According to the brightness compensation method provided by the disclosure, the brightness compensation can be performed on the display brightness of the camera display area under the screen based on the difference between the real-time display brightness and the reference display brightness of the camera display area, so that the compensation mode of the screen brightness is simpler and more convenient, and has pertinence.

Description

亮度补偿方法、亮度补偿装置及存储介质Brightness compensation method, brightness compensation device and storage medium

技术领域technical field

本公开涉及显示驱动技术领域,尤其涉及一种亮度补偿方法、亮度补偿装置及存储介质。The present disclosure relates to the technical field of display driving, and in particular, to a brightness compensation method, a brightness compensation device, and a storage medium.

背景技术Background technique

目前很多手机是有源矩阵有机发光二极体(Active-matrix organic light-emitting diode,AMOLED)屏幕,以及屏幕下前置摄像头。在屏下摄像头的位置,为了提高摄像头的进光量,需要增加这部分的透过率。At present, many mobile phones use active-matrix organic light-emitting diode (AMOLED) screens and front-facing cameras under the screen. At the position of the camera under the screen, in order to increase the amount of light entering the camera, the transmittance of this part needs to be increased.

相关技术中,屏下摄像头显示区域与非屏下摄像头显示区域的设计不同,例如:更改屏下摄像头所在位置的每英寸对角线上所拥有的像素(pixel)数目(PixelsPerInch,PPI),或者更改显示屏的材质,进而导致两个显示区域的衰减曲线不同。因此,在使用初期,屏下摄像头显示区域与非屏下摄像头显示区域能够保持调节一致。但当使用一段时间后,由于屏下摄像头所在的位置与屏幕其他位置的亮度衰减不同步,导致屏下摄像头显示区域的显示亮度与非屏下摄像头显示区域的显示亮度不同。In related technologies, the design of the display area of the camera under the screen is different from that of the display area of the non-screen camera, for example: changing the number of pixels (pixels) per inch on the diagonal where the camera under the screen is located (PixelsPerInch, PPI), or Changing the material of the display results in a different decay curve for the two display areas. Therefore, in the initial stage of use, the display area of the under-screen camera and the display area of the non-screen camera can be kept consistent. However, after using it for a period of time, because the position of the camera under the screen is not synchronized with the brightness attenuation of other positions on the screen, the display brightness of the display area of the camera under the screen is different from that of the display area of the non-screen camera.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开提供一种亮度补偿方法、亮度补偿装置及存储介质。In order to overcome the problems existing in related technologies, the present disclosure provides a brightness compensation method, a brightness compensation device and a storage medium.

根据本公开实施例的第一方面,提供一种亮度补偿方法,应用于终端,所述亮度补偿方法包括:响应于确定对终端的屏下摄像头显示区域进行亮度补偿,确定第一显示亮度以及第二显示亮度。所述第一显示亮度为所述屏下摄像头显示区域的基准显示亮度,所述第二显示亮度为所述屏下摄像头显示区域的实时显示亮度。基于所述第一显示亮度以及所述第二显示亮度,对所述屏下摄像头显示区域进行亮度补偿。According to the first aspect of an embodiment of the present disclosure, a brightness compensation method is provided, which is applied to a terminal, and the brightness compensation method includes: determining the first display brightness and the second Two display brightness. The first display brightness is the reference display brightness of the display area of the camera under the screen, and the second display brightness is the real-time display brightness of the display area of the camera under the screen. Based on the first display brightness and the second display brightness, brightness compensation is performed on the display area of the camera under the screen.

在一实施例中,所述确定第一显示亮度以及第二显示亮度,包括:在所述屏下摄像头显示区域,分时显示多个测试灰阶图像,所述测试灰阶图像对应有属性参数,所述属性参数包括拍摄所述测试灰阶图像时所述终端的背光显示亮度、屏幕显示灰阶值,以及基准灰阶值。针对所述多个测试灰阶图像中的每一测试灰阶图像,分别基于测试灰阶图像的属性参数,确定基准显示亮度和实时显示亮度,并得到多个显示亮度对,每一显示亮度对包括基于同一个测试灰阶图像的属性参数确定的基准显示亮度和实时显示亮度。将所述多个显示亮度对中亮度差异比值最大的显示亮度对中的基准显示亮度,作为第一显示亮度,并将所述多个显示亮度对中亮度差异比值最大的显示亮度对中的实时显示亮度,作为第二显示亮度。所述亮度差异比值为基准显示亮度与实时显示亮度之间的差值,与所述基准显示亮度之间的比值。In an embodiment, the determining the first display brightness and the second display brightness includes: displaying a plurality of test grayscale images in a time-sharing manner in the display area of the under-screen camera, and the test grayscale images correspond to attribute parameters , the attribute parameters include backlight display brightness of the terminal when the test grayscale image is captured, a screen display grayscale value, and a reference grayscale value. For each test gray-scale image in the plurality of test gray-scale images, respectively based on the attribute parameters of the test gray-scale image, determine the reference display brightness and real-time display brightness, and obtain a plurality of display brightness pairs, each display brightness pair It includes the benchmark display brightness and real-time display brightness determined based on the attribute parameters of the same test grayscale image. Taking the reference display brightness centered in the display brightness pair with the largest brightness difference ratio among the plurality of display brightness pairs as the first display brightness, and using the real-time display brightness centered in the display brightness pair with the largest brightness difference ratio among the plurality of display brightness pairs Display brightness, as the second display brightness. The brightness difference ratio is a ratio of the difference between the reference display brightness and the real-time display brightness to the reference display brightness.

在另一实施例中,所述基于测试灰阶图像的属性参数,确定基准显示亮度,包括:基于所述测试灰阶图像属性信息中的基准灰阶值、所述屏幕显示灰阶值,以及光亮转换曲线,得到所述基准灰阶值对应的显示亮度,并将所述基准灰阶值对应的显示亮度,确定为所述基准显示亮度。In another embodiment, the determining the reference display brightness based on the attribute parameters of the test grayscale image includes: based on the reference grayscale value in the attribute information of the test grayscale image, the screen display grayscale value, and The brightness conversion curve obtains the display brightness corresponding to the reference gray scale value, and determines the display brightness corresponding to the reference gray scale value as the reference display brightness.

在又一实施例中,所述确定第二显示亮度,包括:基于所述测试灰阶图像属性信息中的背光显示亮度以及屏幕显示灰阶值,控制所述屏下摄像头对所述屏下摄像头显示区域中显示画面进行拍摄,得到拍摄图像。基于所述拍摄图像对应的拍摄灰阶值、所述屏幕显示灰阶值,以及光亮转换曲线,得到所述拍摄灰阶值对应的显示亮度,并将所述拍摄灰阶值对应的显示亮度,确定为第二显示亮度。In yet another embodiment, the determining the second display brightness includes: controlling the under-screen camera to control the display brightness of the under-screen camera based on the backlight display brightness in the test gray-scale image attribute information and the screen display gray-scale value. A picture is displayed in the display area for shooting, and a shot image is obtained. Based on the photographed grayscale value corresponding to the photographed image, the screen display grayscale value, and the light conversion curve, the display brightness corresponding to the photographed grayscale value is obtained, and the display brightness corresponding to the photographed grayscale value is, Determined as the second display brightness.

在又一实施例中,所述基于所述第一显示亮度以及所述第二显示亮度,对所述屏下摄像头显示区域进行亮度补偿,包括:若所述第一显示亮度与所述第二显示亮度之间的亮度差异比值小于或者等于第一阈值,则保持所述屏下摄像头显示区域的显示亮度不变。若所述第一显示亮度与所述第二显示亮度之间的亮度差异比值大于所述第一阈值,则基于所述第一显示亮度与所述第二显示亮度之间的亮度差异比值,以及所述终端非屏下摄像头显示区域的显示亮度,对所述屏下摄像头显示区域的显示亮度进行补偿。In yet another embodiment, the performing brightness compensation on the display area of the under-display camera based on the first display brightness and the second display brightness includes: if the first display brightness is the same as the second display brightness If the brightness difference ratio between display brightnesses is less than or equal to the first threshold, then the display brightness of the display area of the camera under the screen remains unchanged. If the brightness difference ratio between the first display brightness and the second display brightness is greater than the first threshold, based on the brightness difference ratio between the first display brightness and the second display brightness, and The display brightness of the non-screen camera display area of the terminal is compensated for the display brightness of the under-screen camera display area.

在又一实施例中,所述基于所述第一显示亮度与所述第二显示亮度之间的亮度差异比值,以及所述终端非屏下摄像头显示区域的显示亮度,对所述屏下摄像头显示区域的显示亮度进行补偿,包括:基于所述第一显示亮度与所述第二显示亮度之间的亮度差异比值,确定所述终端屏下摄像头显示区域的背光显示亮度的第一补偿比值,或者确定所述终端非屏下摄像头显示区域的背光显示亮度第二补偿比值;In yet another embodiment, based on the brightness difference ratio between the first display brightness and the second display brightness, and the display brightness of the non-screen camera display area of the terminal, the camera under the screen Compensating the display brightness of the display area includes: determining a first compensation ratio of the backlight display brightness of the camera display area under the terminal screen based on the brightness difference ratio between the first display brightness and the second display brightness, Or determine the second compensation ratio of the backlight display brightness of the non-screen camera display area of the terminal;

若确定所述终端屏下摄像头显示区域的背光显示亮度的第一补偿比值,则基于所述第一补偿比值和所述终端非屏下摄像头显示区域的显示亮度,通过补偿所述屏下摄像头显示区域的背光显示亮度,对所述屏下摄像头显示区域的显示亮度进行补偿;If the first compensation ratio of the backlight display brightness of the display area of the camera under the screen of the terminal is determined, based on the first compensation ratio and the display brightness of the display area of the non-screen camera of the terminal, by compensating the display brightness of the camera under the screen The backlight display brightness of the area is compensated for the display brightness of the camera display area under the screen;

若确定所述终端非屏下摄像头显示区域的背光显示亮度第二补偿比值,则基于所述第二补偿比值和所述终端非屏下摄像头显示区域的显示亮度,通过补偿所述非屏下摄像头显示区域的背光显示亮度,对所述屏下摄像头显示区域的显示亮度进行补偿。If the second compensation ratio of the backlight display brightness of the non-screen camera display area of the terminal is determined, based on the second compensation ratio and the display brightness of the non-screen camera display area of the terminal, by compensating the non-screen camera The backlight display brightness of the display area is used to compensate the display brightness of the display area of the camera under the screen.

根据本公开实施例的第二方面,提供一种亮度补偿装置,应用于终端,所述亮度补偿装置包括:确定单元,用于响应于确定对终端的屏下摄像头显示区域进行亮度补偿,确定第一显示亮度以及第二显示亮度。所述第一显示亮度为所述屏下摄像头显示区域的基准显示亮度,所述第二显示亮度为所述屏下摄像头显示区域的实时显示亮度。补偿单元,用于基于所述第一显示亮度以及所述第二显示亮度,对所述屏下摄像头显示区域进行亮度补偿。According to the second aspect of the embodiments of the present disclosure, there is provided a brightness compensation device, which is applied to a terminal, and the brightness compensation device includes: a determination unit, configured to determine the brightness compensation for the display area of the terminal's off-screen camera in response to determining the brightness compensation of the first A display brightness and a second display brightness. The first display brightness is the reference display brightness of the display area of the camera under the screen, and the second display brightness is the real-time display brightness of the display area of the camera under the screen. The compensation unit is configured to perform brightness compensation on the display area of the under-display camera based on the first display brightness and the second display brightness.

在一实施例中,所述确定单元采用下述方式确定第一显示亮度以及第二显示亮度:在所述屏下摄像头显示区域,分时显示多个测试灰阶图像,所述测试灰阶图像对应有属性参数,所述属性参数包括拍摄所述测试灰阶图像时所述终端的背光显示亮度、屏幕显示灰阶值,以及基准灰阶值。针对所述多个测试灰阶图像中的每一测试灰阶图像,分别基于测试灰阶图像的属性参数,确定基准显示亮度和实时显示亮度,并得到多个显示亮度对,每一显示亮度对包括基于同一个测试灰阶图像的属性参数确定的基准显示亮度和实时显示亮度。将所述多个显示亮度对中亮度差异比值最大的显示亮度对中的基准显示亮度,作为第一显示亮度,并将所述多个显示亮度对中亮度差异比值最大的显示亮度对中的实时显示亮度,作为第二显示亮度。所述亮度差异比值为基准显示亮度与实时显示亮度之间的差值,与所述基准显示亮度之间的比值。In an embodiment, the determination unit determines the first display brightness and the second display brightness in the following manner: in the display area of the camera under the screen, a plurality of test grayscale images are displayed in time division, and the test grayscale images Corresponding to an attribute parameter, the attribute parameter includes the backlight display brightness of the terminal when the test grayscale image is taken, the grayscale value displayed on the screen, and the reference grayscale value. For each test gray-scale image in the plurality of test gray-scale images, respectively based on the attribute parameters of the test gray-scale image, determine the reference display brightness and real-time display brightness, and obtain a plurality of display brightness pairs, each display brightness pair It includes the benchmark display brightness and real-time display brightness determined based on the attribute parameters of the same test grayscale image. Taking the reference display brightness centered in the display brightness pair with the largest brightness difference ratio among the plurality of display brightness pairs as the first display brightness, and using the real-time display brightness centered in the display brightness pair with the largest brightness difference ratio among the plurality of display brightness pairs Display brightness, as the second display brightness. The brightness difference ratio is a ratio of the difference between the reference display brightness and the real-time display brightness to the reference display brightness.

在另一实施例中,所述确定单元采用下述方式基于测试灰阶图像的属性参数,确定基准显示亮度:基于所述测试灰阶图像属性信息中的基准灰阶值、所述屏幕显示灰阶值,以及光亮转换曲线,得到所述基准灰阶值对应的显示亮度,并将所述基准灰阶值对应的显示亮度,确定为所述基准显示亮度。In another embodiment, the determination unit determines the reference display brightness based on the attribute parameters of the test grayscale image in the following manner: based on the reference grayscale value in the attribute information of the test grayscale image, the screen display grayscale Step value, and light conversion curve, obtain the display brightness corresponding to the reference gray scale value, and determine the display brightness corresponding to the reference gray scale value as the reference display brightness.

在又一实施例中,所述确定单元采用下述方式确定第二显示亮度:基于所述测试灰阶图像属性信息中的背光显示亮度以及屏幕显示灰阶值,控制所述屏下摄像头对所述屏下摄像头显示区域中显示画面进行拍摄,得到拍摄图像。基于所述拍摄图像对应的拍摄灰阶值、所述屏幕显示灰阶值,以及光亮转换曲线,得到所述拍摄灰阶值对应的显示亮度,并将所述拍摄灰阶值对应的显示亮度,确定为第二显示亮度。In yet another embodiment, the determination unit determines the second display brightness in the following manner: based on the backlight display brightness in the test grayscale image attribute information and the screen display grayscale value, control the camera under the screen to The screen displayed in the display area of the camera under the screen is photographed to obtain the photographed image. Based on the photographed grayscale value corresponding to the photographed image, the screen display grayscale value, and the light conversion curve, the display brightness corresponding to the photographed grayscale value is obtained, and the display brightness corresponding to the photographed grayscale value is, Determined as the second display brightness.

在又一实施例中,所述补偿单元采用下述方式基于所述第一显示亮度以及所述第二显示亮度,对所述屏下摄像头显示区域进行亮度补偿:若所述第一显示亮度与所述第二显示亮度之间的亮度差异比值小于或者等于第一阈值,则保持所述屏下摄像头显示区域的显示亮度不变。若所述第一显示亮度与所述第二显示亮度之间的亮度差异比值大于所述第一阈值,则基于所述第一显示亮度与所述第二显示亮度之间的亮度差异比值,以及所述终端非屏下摄像头显示区域的显示亮度,对所述屏下摄像头显示区域的显示亮度进行补偿。In yet another embodiment, the compensation unit performs brightness compensation on the display area of the under-display camera based on the first display brightness and the second display brightness in the following manner: if the first display brightness and the second display brightness If the brightness difference ratio between the second display brightness is less than or equal to the first threshold, then the display brightness of the display area of the camera under the screen remains unchanged. If the brightness difference ratio between the first display brightness and the second display brightness is greater than the first threshold, based on the brightness difference ratio between the first display brightness and the second display brightness, and The display brightness of the non-screen camera display area of the terminal is compensated for the display brightness of the under-screen camera display area.

在又一实施例中,所述补偿单元采用下述方式基于所述第一显示亮度与所述第二显示亮度之间的亮度差异比值,以及所述终端非屏下摄像头显示区域的显示亮度,对所述屏下摄像头显示区域的显示亮度进行补偿:基于所述第一显示亮度与所述第二显示亮度之间的亮度差异比值,确定所述终端屏下摄像头显示区域的背光显示亮度的第一补偿比值,或者确定所述终端非屏下摄像头显示区域的背光显示亮度第二补偿比值。若确定所述终端屏下摄像头显示区域的背光显示亮度的第一补偿比值,则基于所述第一补偿比值和所述终端非屏下摄像头显示区域的显示亮度,通过补偿所述屏下摄像头显示区域的背光显示亮度,对所述屏下摄像头显示区域的显示亮度进行补偿。若确定所述终端非屏下摄像头显示区域的背光显示亮度第二补偿比值,则基于所述第二补偿比值和所述终端非屏下摄像头显示区域的显示亮度,通过补偿所述非屏下摄像头显示区域的背光显示亮度,对所述屏下摄像头显示区域的显示亮度进行补偿。In yet another embodiment, the compensation unit adopts the following method based on the brightness difference ratio between the first display brightness and the second display brightness, and the display brightness of the non-screen camera display area of the terminal, Compensating the display brightness of the display area of the camera under the screen: based on the brightness difference ratio between the first display brightness and the second display brightness, determine the second value of the backlight display brightness of the display area of the camera under the screen of the terminal A compensation ratio, or a second compensation ratio for determining the backlight display brightness of the non-screen camera display area of the terminal. If the first compensation ratio of the backlight display brightness of the display area of the camera under the screen of the terminal is determined, based on the first compensation ratio and the display brightness of the display area of the non-screen camera of the terminal, by compensating the display brightness of the camera under the screen The display brightness of the backlight of the area is compensated for the display brightness of the display area of the camera under the screen. If the second compensation ratio of the backlight display brightness of the non-screen camera display area of the terminal is determined, based on the second compensation ratio and the display brightness of the non-screen camera display area of the terminal, by compensating the non-screen camera The backlight display brightness of the display area is used to compensate the display brightness of the display area of the camera under the screen.

根据本公开实施例第三方面,提供一种亮度补偿装置,包括:存储器,用于存储指令;以及处理器,用于调用所述存储器存储的指令执行上述任意一种所述的亮度补偿方法。According to a third aspect of an embodiment of the present disclosure, there is provided a brightness compensation device, including: a memory for storing instructions; and a processor for invoking the instructions stored in the memory to execute any one of the brightness compensation methods described above.

根据本公开实施例第四方面,提供一种计算机可读存储介质,其中存储有指令,所述指令被处理器执行时,执行上述任意一种所述的亮度补偿方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, in which instructions are stored, and when the instructions are executed by a processor, any brightness compensation method described above is executed.

本公开的实施例提供的技术方案可以包括以下有益效果:通过本公开提供的亮度补偿方法,能够基于摄像头显示区域的实时显示亮度与基准显示亮度之间的差异,对屏下摄像头显示区域的显示亮度进行亮度补偿,进而使屏幕亮度的补偿方式更简单、更便捷,且更具有针对性。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: through the brightness compensation method provided by the present disclosure, it is possible to adjust the display of the camera display area under the screen based on the difference between the real-time display brightness of the camera display area and the reference display brightness. The brightness is compensated for the brightness, which makes the compensation method of the screen brightness simpler, more convenient, and more targeted.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的终端显示区域的示意图。Fig. 1 is a schematic diagram showing a display area of a terminal according to an exemplary embodiment.

图2是根据一示例性实施例示出的一种亮度补偿方法的流程图。Fig. 2 is a flowchart of a brightness compensation method according to an exemplary embodiment.

图3是根据一示例性实施例示出的一种亮度确定方法的流程图。Fig. 3 is a flow chart showing a brightness determination method according to an exemplary embodiment.

图4是根据一示例性实施例示出的另一种亮度确定方法的流程图。Fig. 4 is a flow chart showing another brightness determination method according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种显示屏显示亮度的效果图。Fig. 5 is an effect diagram showing display brightness of a display screen according to an exemplary embodiment.

图6是根据一示例性实施例示出的另一种亮度补偿方法的流程图。Fig. 6 is a flowchart of another brightness compensation method according to an exemplary embodiment.

图7是根据一示例性实施例示出的一种亮度补偿装置框图。Fig. 7 is a block diagram of a brightness compensation device according to an exemplary embodiment.

图8是根据一示例性实施例示出的另一种亮度补偿装置的框图。Fig. 8 is a block diagram of another brightness compensation device according to an exemplary embodiment.

图9是根据一示例性实施例示出的又一种亮度补偿装置的框图。Fig. 9 is a block diagram of another brightness compensation device according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

本公开所提供的亮度补偿方法,能够应用于任意一种具有屏下摄像头显示区域的终端。屏下摄像头显示区域1和非屏下摄像头显示区域2在终端显示区域中的分布情况可以如图1所示。图1是根据一示例性实施例示出的终端显示区域的示意图。在一示例中,终端的种类可以包括移动终端,例如:手机、平板、智能电视、带屏智能音箱、带屏智能手表、ipod等。在另一示例中,终端的结构可以包括:双面屏终端、折叠屏终端、全面屏终端等。终端的屏下摄像头显示区域的显示亮度会随着使用时间和光亮强度发生亮度衰减。本公开所提供的亮度补偿方法适用于终端在使用一段时间后,终端的屏下摄像头显示区域与非屏下摄像头显示区域之间的亮度衰减不一致,进而导致两部分显示区域的像素的显示亮度不同的使用场景。The brightness compensation method provided in the present disclosure can be applied to any terminal with an under-screen camera display area. The distribution of the under-screen camera display area 1 and the non-under-screen camera display area 2 in the terminal display area may be shown in FIG. 1 . Fig. 1 is a schematic diagram showing a display area of a terminal according to an exemplary embodiment. In an example, the type of terminal may include a mobile terminal, such as a mobile phone, a tablet, a smart TV, a smart speaker with a screen, a smart watch with a screen, an ipod, and the like. In another example, the structure of the terminal may include: a double-sided screen terminal, a folding screen terminal, a full-screen terminal, and the like. The display brightness of the terminal's off-screen camera display area will decay with time and light intensity. The brightness compensation method provided in this disclosure is applicable to the case where the brightness attenuation between the display area of the terminal's off-screen camera and the display area of the non-screen camera is inconsistent after the terminal has been used for a period of time, which leads to differences in the display brightness of pixels in the two display areas. usage scenarios.

相关技术中,在对上述使用场景对屏下摄像头显示区域进行亮度补偿时,是采用下述方式进行补偿:通过终端处理或者通过控制屏下摄像头显示区域的集成电路(integrated circuit,IC)统计屏下摄像头显示区域的显示信息和工作时长。在灭屏时,将显示信息和工作时长相关数据传输至终端的应用处理器(Application Processor,AP)进行记录。从而在需要对像素进行亮度补偿时,则利用统计数据,通过老化模型,确定需要补偿的像素。但采用该种方式进行补偿时,需要保障统计数据的完整性。若统计数据部分缺失,则影响统计数据的准确性,进而影响补偿结果。In the related art, when performing brightness compensation on the display area of the camera under the screen for the above usage scenarios, the compensation is performed in the following manner: through terminal processing or through an integrated circuit (integrated circuit, IC) statistics screen that controls the display area of the camera under the screen The display information and working hours of the display area of the lower camera. When the screen is off, the display information and data related to the working time are transmitted to the application processor (Application Processor, AP) of the terminal for recording. Therefore, when it is necessary to perform brightness compensation on a pixel, the statistical data is used to determine the pixel to be compensated through the aging model. However, when this method is used for compensation, the integrity of statistical data needs to be guaranteed. If part of the statistical data is missing, it will affect the accuracy of the statistical data, thereby affecting the compensation result.

鉴于此,本公开提供一种亮度补偿方法,能够基于屏下摄像头显示区域的实时显示亮度和基准显示亮度之间的差异,对屏下摄像头显示区域进行亮度补偿,进而使屏幕亮度的补偿方式更直接、更简单,能够针对屏下摄像头显示区域的实时显示亮度进行针对性的补偿,从而使补偿结果更准确。In view of this, the present disclosure provides a brightness compensation method, which can perform brightness compensation on the display area of the camera under the screen based on the difference between the real-time display brightness of the display area of the camera under the screen and the reference display brightness, thereby making the compensation method of the screen brightness more accurate. Direct and simpler, it can perform targeted compensation for the real-time display brightness of the camera display area under the screen, so that the compensation result is more accurate.

图2是根据一示例性实施例示出的一种亮度补偿方法的流程图。如图2所示,亮度补偿方法用于终端中,包括以下步骤S11至步骤S12。Fig. 2 is a flowchart of a brightness compensation method according to an exemplary embodiment. As shown in FIG. 2, the brightness compensation method is used in a terminal, and includes the following steps S11 to S12.

在步骤S11中,响应于确定对终端的屏下摄像头显示区域进行亮度补偿,确定第一显示亮度以及第二显示亮度。In step S11 , in response to determining to perform brightness compensation on the display area of the camera under the screen of the terminal, a first display brightness and a second display brightness are determined.

在本公开实施例中,根据确定对终端的屏下摄像头显示区域进行亮度补偿的需求进行响应,分别确定终端的屏下摄像头显示区域的第一显示亮度以及第二显示亮度。其中,第一显示亮度为屏下摄像头显示区域的基准显示亮度,第二显示亮度为屏下摄像头显示区域的实时显示亮度。基准显示亮度可以理解为是针对实时显示亮度进行补偿的参考亮度。在一示例中,由于屏下摄像头显示区域的显示亮度的衰减情况与工作时长和显示内容相关,因此,为提高基准显示亮度的可信度,可以在终端出厂时确定屏下摄像头显示区域的第一显示亮度,进而使得到的基准显示亮度更准确,更接近初始显示亮度。第二显示亮度可以理解为是屏下摄像头显示区域在使用中任意时刻需要确定是否进行亮度补偿的显示亮度。In the embodiment of the present disclosure, the first display brightness and the second display brightness of the display area of the under-screen camera of the terminal are respectively determined in response to determining the demand for brightness compensation of the display area of the under-screen camera of the terminal. Wherein, the first display brightness is the reference display brightness of the display area of the camera under the screen, and the second display brightness is the real-time display brightness of the display area of the camera under the screen. The reference display brightness can be understood as a reference brightness for compensation for real-time display brightness. In an example, since the attenuation of the display brightness of the display area of the camera under the screen is related to the working time and display content, in order to improve the reliability of the reference display brightness, the first display area of the display area of the camera under the screen can be determined when the terminal leaves the factory. A display brightness, so that the obtained reference display brightness is more accurate and closer to the initial display brightness. The second display brightness can be understood as the display brightness at which the display area of the under-screen camera needs to determine whether to perform brightness compensation at any time during use.

在一示例中,确定对终端的屏下摄像头显示区域进行亮度补偿的需求可以是用户主动发起的。在另一示例中,如图1所示,确定对终端的屏下摄像头显示区域进行亮度补偿的需求可以是,终端基于自检测确定当下屏下摄像头显示区域需要进行亮度补偿,进而向用户发送请求,用户根据该请求进行确定后发起的。In an example, the determination that brightness compensation is required for the display area of the camera under the screen of the terminal may be initiated by the user. In another example, as shown in FIG. 1 , determining the need for brightness compensation for the display area of the under-screen camera of the terminal may be that the terminal determines based on self-detection that brightness compensation is required for the display area of the current under-screen camera, and then sends a request to the user. , initiated by the user after confirming the request.

在步骤S12中,基于第一显示亮度以及第二显示亮度,对屏下摄像头显示区域进行亮度补偿。In step S12, based on the first display brightness and the second display brightness, brightness compensation is performed on the display area of the camera under the screen.

通过上述实施例,基于第一显示亮度和第二显示亮度之间的对比,能够确定屏下摄像头显示区域的当前显示亮度与第一显示亮度之间的差异,进而确定屏下摄像头显示区域的亮度衰减情况,从而对屏下摄像头显示区域进行亮度补偿时,能够进行针对性的补偿,使屏下摄像头显示区域的显示亮度补偿方式更简单,更直接。Through the above embodiment, based on the comparison between the first display brightness and the second display brightness, it is possible to determine the difference between the current display brightness of the display area of the camera under the screen and the first display brightness, and then determine the brightness of the display area of the camera under the screen Attenuation, so that when performing brightness compensation on the display area of the camera under the screen, targeted compensation can be performed, making the display brightness compensation method of the display area of the camera under the screen simpler and more direct.

以下实施例将进一步说明第一显示亮度以及第二显示亮度的确定过程。The following embodiments will further illustrate the determination process of the first display brightness and the second display brightness.

图3是根据一示例性实施例示出的一种亮度确定方法的流程图。如图3所示,确定第一显示亮度以及第二显示亮度的过程包括以下步骤。Fig. 3 is a flow chart showing a brightness determination method according to an exemplary embodiment. As shown in FIG. 3 , the process of determining the first display brightness and the second display brightness includes the following steps.

在步骤S21中,在屏下摄像头显示区域,分时显示多个测试灰阶图像。In step S21, a plurality of test grayscale images are displayed time-sharingly in the display area of the camera under the screen.

在本公开实施例中,由于显示屏显示像素的亮度衰减程度与显示屏的显示内容强相关,显示屏的使用时间越长,屏幕显示灰阶值越高,进而导致显示屏的亮度衰减速度越快。但由于每个人的使用习惯不同,因此,亮度衰减的程度就不同。因此,为对屏下摄像头显示区域进行针对性的补偿,确定屏下摄像头显示区域的亮度衰减原因,分时依次显示多个测试灰阶图像。其中,不同的测试灰阶图像对应的属性参数不同。属性参数包括拍摄测试灰阶图像时终端的背光显示亮度、屏幕显示灰阶值,以及基准灰阶值。可以理解为,不同的测试灰阶图像是在背光显示亮度和屏幕显示灰阶值不同的情况下,通过摄像头拍摄得到的图像,进而得到的各测试灰阶图像的基准灰阶值不同。在一示例中,背光显示亮度是根据控制该屏下摄像头显示区域亮度值寄存器(DBV)的大小有关,寄存器的大小与屏幕亮度呈线性关系。因此,通过改变寄存器中的值的大小,可以改变背光显示亮度。屏幕显示灰阶值是用于控制终端显示画面内容的灰阶值。In the embodiment of the present disclosure, since the degree of brightness attenuation of display pixels on the display screen is strongly related to the display content of the display screen, the longer the display screen is used, the higher the grayscale value displayed on the screen, and the faster the brightness attenuation speed of the display screen will be. quick. However, due to the different usage habits of each person, the degree of brightness attenuation is different. Therefore, in order to perform targeted compensation for the display area of the under-screen camera and determine the cause of brightness attenuation in the display area of the under-screen camera, multiple test grayscale images are sequentially displayed time-sharing. Wherein, different test grayscale images correspond to different attribute parameters. The attribute parameters include the backlight display brightness of the terminal when shooting the test grayscale image, the grayscale value displayed on the screen, and the reference grayscale value. It can be understood that the different test grayscale images are images captured by a camera when the brightness of the backlight display and the grayscale value of the screen display are different, and the obtained test grayscale images have different reference grayscale values. In an example, the display brightness of the backlight is related to controlling the size of the brightness value register (DBV) of the display area of the camera under the screen, and the size of the register has a linear relationship with the brightness of the screen. Therefore, by changing the size of the value in the register, the brightness of the backlight display can be changed. The screen display grayscale value is the grayscale value used to control the content of the terminal display screen.

在一实施场景中,为最大限度的反映出屏下摄像头显示区域的亮度变化,可以在将寄存器的值设置为最大值(2047)且屏幕显示灰阶值设置为最大值(255)的情况下,将寄存器的值设置为最大值(2047)且屏幕显示灰阶值设置为中间值(128)的情况下,以及将寄存器的值设置为中间值(1024)且屏幕显示灰阶值设置为最大值(255)的情况下,通过拍摄屏下摄像头显示区域的画面,得到多个测试灰阶图像。以屏下摄像头显示区域的像素大小是6x6的像素块(block)为例。各测试灰阶图像的寄存器的值、屏幕显示灰阶值以及基准灰阶值之间的对应关系可以如表1所示。其中,基准灰阶值采用RGB表示。In an implementation scenario, in order to reflect the brightness change of the display area of the camera under the screen to the greatest extent, it is possible to set the register value to the maximum value (2047) and the screen display grayscale value to the maximum value (255) , when the value of the register is set to the maximum value (2047) and the grayscale value of the screen display is set to the middle value (128), and the value of the register is set to the middle value (1024) and the grayscale value of the screen display is set to the maximum In the case of the value (255), multiple test grayscale images are obtained by taking pictures of the display area of the camera under the screen. Take a pixel block (block) whose pixel size is 6x6 in the display area of the camera under the screen as an example. Table 1 shows the correspondence between the values of the registers of each test grayscale image, the grayscale value displayed on the screen, and the reference grayscale value. Wherein, the reference gray scale value is represented by RGB.

Figure BDA0003186068180000071
Figure BDA0003186068180000071

表1Table 1

基于前文所述寄存器的大小与屏幕亮度呈线性关系。因此,可以通过寄存器的值,确定终端的背光显示亮度。在存储测试灰阶图像的属性参数时,将背光显示亮度、屏幕显示灰阶值,以及通过拍摄得到的基准灰阶值进行存储。在一例中,屏幕显示灰阶值可以通过截屏得到。Based on the size of the register mentioned above, there is a linear relationship with the brightness of the screen. Therefore, the brightness of the backlight display of the terminal can be determined through the value of the register. When storing the attribute parameters of the test grayscale image, the display brightness of the backlight, the grayscale value displayed on the screen, and the reference grayscale value obtained by shooting are stored. In one example, the grayscale value displayed on the screen can be obtained by taking a screenshot.

在步骤S22中,针对多个测试灰阶图像中的每一测试灰阶图像,分别基于测试灰阶图像的属性参数,确定基准显示亮度和实时显示亮度,并得到多个显示亮度对。In step S22, for each test gray-scale image among the plurality of test gray-scale images, based on the attribute parameters of the test gray-scale image, respectively, a reference display brightness and a real-time display brightness are determined, and a plurality of display brightness pairs are obtained.

在本公开实施例中,为明确屏下摄像头显示区域的亮度衰减原因,根据各测试灰阶图像的属性信息,确定各测试灰阶图像的背光显示亮度、屏幕显示灰阶值,以及基准灰阶值。通过基准灰阶值,可以确定拍摄当前测试灰阶图像时,屏下摄像头显示区域的基准显示亮度。通过背光显示亮度、屏幕显示灰阶值,能够确定拍摄当前测试灰阶图像时,控制该屏下摄像头显示区域背光显示亮度的寄存器的值的大小,以及屏幕显示灰阶值,进而在拍摄实时拍摄图像时,便可以采用与当前测试灰阶图像相同的背光显示亮度,以及屏幕显示灰阶值进行拍摄,得到的实时拍摄图像的实时灰阶值,从而使根据该实时灰阶值确定的实时显示亮度与当前测试灰阶图像的基准显示亮度具有可比性,即,得到显示亮度对。每一显示亮度对包括基于同一个测试灰阶图像的属性参数确定的基准显示亮度和实时显示亮度。在相同背光显示亮度以及屏幕显示灰阶值的情况下,通过显示亮度对,能够基于对比反映出屏幕显示亮度随着使用发生的亮度衰减变化情况,以便更快的确定屏幕显示亮度的变化差异。In the embodiment of the present disclosure, in order to clarify the reason for the brightness attenuation of the display area of the camera under the screen, according to the attribute information of each test gray-scale image, determine the backlight display brightness of each test gray-scale image, the screen display gray-scale value, and the reference gray-scale value. Through the reference grayscale value, the reference display brightness of the display area of the camera under the screen can be determined when shooting the current test grayscale image. Through the brightness of the backlight display and the grayscale value displayed on the screen, it is possible to determine the value of the register that controls the brightness of the backlight display of the camera display area under the screen when shooting the current test grayscale image, and the grayscale value displayed on the screen, and then shoot in real time When the image is displayed, it can use the same backlight display brightness as the current test grayscale image, and the grayscale value displayed on the screen to shoot, and the real-time grayscale value of the real-time captured image is obtained, so that the real-time display determined according to the real-time grayscale value The luminance is comparable to the reference display luminance of the current test grayscale image, that is, a display luminance pair is obtained. Each display brightness pair includes a reference display brightness and a real-time display brightness determined based on the attribute parameters of the same test grayscale image. In the case of the same backlight display brightness and screen display grayscale value, through the display brightness pair, the brightness attenuation change of the screen display brightness with use can be reflected based on the comparison, so as to determine the change difference of the screen display brightness faster.

在步骤S23中,将多个显示亮度对中亮度差异比值最大的显示亮度对中的基准显示亮度,作为第一显示亮度,并将多个显示亮度对中亮度差异比值最大的显示亮度对中的实时显示亮度,作为第二显示亮度。In step S23, the reference display brightness in the display brightness pair with the largest brightness difference ratio among the plurality of display brightness pairs is used as the first display brightness, and the display brightness in the display brightness pair with the largest brightness difference ratio among the plurality of display brightness pairs The real-time display brightness is used as the second display brightness.

在本公开实施例中,由于各测试灰阶图像的属性参数不同,因此,在不同的显示亮度对中,各基准显示亮度与其对应的实时显示亮度之间的亮度差异比值不同,从而通过各自的亮度差异比值可以明确影响屏下摄像头显示区域发生亮度衰减的因素。其中,亮度差异比值为基准显示亮度与实时显示亮度之间的差值,与基准显示亮度之间的比值。例如:基准显示亮度为500尼特(nit),实时显示亮度为483nit,则该亮度差异比值为(500-483)/500=0.034=3.4%。若亮度差异比值越大,则表征屏下显摄像头显示区域在获取该显示亮度对时所采用的背光显示亮度以及屏幕显示灰阶值,对屏下显摄像头显示区域的显示亮度影响越大,进而导致屏下显摄像头显示区域的显示亮度的亮度衰减影响越大。故,在确定需要进行亮度补偿的显示亮度对时,则将亮度差异比值最大的显示亮度作为需要进行亮度补偿的显示亮度对,并将多个显示亮度对中亮度差异比值最大的显示亮度对中的基准显示亮度,作为第一显示亮度,并将多个显示亮度对中亮度差异比值最大的显示亮度对中的实时显示亮度,作为第二显示亮度。例如:根据不同测试灰阶图像,得到的显示亮度对对应的亮度差异比值分别为2.6%、1.8%以及2.2%,则选择2.6%对应的显示亮度对In the embodiment of the present disclosure, since the attribute parameters of each test grayscale image are different, in different display brightness pairs, the brightness difference ratios between each reference display brightness and its corresponding real-time display brightness are different, so that through the respective The brightness difference ratio can clarify the factors that affect the brightness attenuation in the display area of the camera under the screen. Wherein, the brightness difference ratio is a ratio between the difference between the reference display brightness and the real-time display brightness and the reference display brightness. For example, if the reference display brightness is 500 nits and the real-time display brightness is 483 nits, then the brightness difference ratio is (500-483)/500=0.034=3.4%. If the brightness difference ratio is larger, it means that the backlight display brightness and screen display grayscale value used by the under-screen display camera display area when obtaining the display brightness pair have a greater impact on the display brightness of the under-screen display camera display area, and then The brightness attenuation effect on the display brightness of the display area of the under-screen display camera is greater. Therefore, when determining the display brightness pair that requires brightness compensation, the display brightness pair with the largest brightness difference ratio is taken as the display brightness pair that needs brightness compensation, and the display brightness pair with the largest brightness difference ratio is centered among the multiple display brightness pairs. The reference display brightness of is used as the first display brightness, and the real-time display brightness of the display brightness pair with the largest brightness difference ratio among multiple display brightness pairs is used as the second display brightness. For example: According to different test grayscale images, the brightness difference ratios corresponding to the obtained display brightness pairs are 2.6%, 1.8% and 2.2%, respectively, then select the display brightness pair corresponding to 2.6%.

在一实施例中,可以利用光亮转换曲线,基于测试灰阶图像的属性参数,确定基准显示亮度。即,基于测试灰阶图像属性信息中的基准灰阶值、屏幕显示灰阶值,以及光亮转换曲线,得到基准灰阶值对应的显示亮度,并将基准灰阶值对应的显示亮度,确定为基准显示亮度。在一例中,光电转换曲线可以是伽马(Gamma)曲线。Gamma曲线是一种特殊的色调曲线,当Gamma值等于1的时候,曲线为与坐标轴成45°的直线,表示输入和输出密度相同。高于1的Gamma值将会造成输出暗化,低于1的Gamma值将会造成输出亮化。数码图像中的每个像素都有一定的光亮程度,即从黑色(0)到白色(1)。这些像素值就是输入到电脑显示器里面的信息。显示器只能以一种非线性的方式输出这些值,即:输出=输入/伽马。一般的,针对显示屏进行电光转换时,gamma(γ)取值为2.2。光电转换曲线是电光转换曲线的逆运算,因此,根据通过摄像头拍摄得到的基准灰阶值确定基准显示亮度时,γ取值为(1/2.2)。将基准灰阶值、屏幕显示灰阶值带入光亮转换曲线便可以确定基准灰阶值对应的显示亮度,进而根据屏下摄像头显示区域的透过率,确定基准显示亮度。例如:通过将基准灰阶值、屏幕显示灰阶值带入光亮转换曲线,得到的基准灰阶值对应的显示亮度为150nit。根据0.3的屏下摄像头显示区域的透过率可知,当前屏幕显示亮度为150/0.3=500nit。In an embodiment, the reference display brightness can be determined based on the attribute parameters of the test grayscale image by using the brightness conversion curve. That is, based on the reference gray-scale value in the test gray-scale image attribute information, the screen display gray-scale value, and the light conversion curve, the display brightness corresponding to the reference gray-scale value is obtained, and the display brightness corresponding to the reference gray-scale value is determined as Baseline display brightness. In one example, the photoelectric conversion curve may be a Gamma curve. The Gamma curve is a special tone curve. When the Gamma value is equal to 1, the curve is a straight line at 45° to the coordinate axis, indicating that the input and output densities are the same. Gamma values above 1 will darken the output, and Gamma values below 1 will lighten the output. Each pixel in a digital image has a certain level of lightness, from black (0) to white (1). These pixel values are the information entered into the computer monitor. Displays can only output these values in a non-linear fashion, ie: output = input/gamma. Generally, when electro-optical conversion is performed for a display screen, the value of gamma (γ) is 2.2. The photoelectric conversion curve is the inverse operation of the electro-optic conversion curve. Therefore, when determining the benchmark display brightness based on the benchmark gray scale value captured by the camera, the value of γ is (1/2.2). Bringing the reference gray scale value and screen display gray scale value into the light conversion curve can determine the display brightness corresponding to the reference gray scale value, and then determine the reference display brightness according to the transmittance of the display area of the camera under the screen. For example: by bringing the reference gray scale value and the screen display gray scale value into the brightness conversion curve, the display brightness corresponding to the obtained reference gray scale value is 150 nit. According to the transmittance of the display area of the under-screen camera of 0.3, the current screen display brightness is 150/0.3=500nit.

在另一实施例中,确定第二显示亮度的过程可以如图4所示。图4是根据一示例性实施例示出的另一种亮度确定方法的流程图。In another embodiment, the process of determining the second display brightness may be as shown in FIG. 4 . Fig. 4 is a flow chart showing another brightness determination method according to an exemplary embodiment.

在步骤S31中,基于测试灰阶图像属性信息中的背光显示亮度以及屏幕显示灰阶值,控制屏下摄像头对屏下摄像头显示区域中显示画面进行拍摄,得到拍摄图像;In step S31, based on the backlight display brightness in the test grayscale image attribute information and the grayscale value displayed on the screen, the camera under the screen is controlled to capture the display screen in the display area of the camera under the screen to obtain a captured image;

在步骤S32中,基于拍摄图像对应的拍摄灰阶值、屏幕显示灰阶值,以及光亮转换曲线,得到拍摄灰阶值对应的显示亮度,并将拍摄灰阶值对应的显示亮度,确定为第二显示亮度。In step S32, based on the photographed grayscale value corresponding to the photographed image, the grayscale value displayed on the screen, and the light conversion curve, the display brightness corresponding to the photographed grayscale value is obtained, and the display brightness corresponding to the photographed grayscale value is determined as the first Two display brightness.

在一实施场景中,以背光显示亮度为500nit,基准灰阶值为250为例。由于屏下摄像头显示区域上方的透过率为30%,因此,屏下摄像头接收到的屏幕亮度为500*0.3=150nit,与基准灰阶值250相对应。通过光电转换曲线公式:(Lv/Lvmax)^(1/2.2)*255=Gray;可知,屏下摄像头接收到的最大亮度为Lvmax=156.7nit。当通过拍摄,得到的拍摄灰阶值为246灰阶时,则根据上述公式,(Lv’/156.7)^(1/2.2)*255=246可知,在246灰阶下,屏幕显示灰阶值(Lv’)为144.8nit。进而通过叠加的30%的透过率,可知拍摄灰阶值对应的显示亮度为144.8/0.3=483nit。即,第二显示亮度为483nit。In an implementation scenario, take a backlight display brightness of 500 nit and a reference grayscale value of 250 as an example. Since the transmittance above the display area of the under-screen camera is 30%, the screen brightness received by the under-screen camera is 500*0.3=150nit, which corresponds to the reference grayscale value of 250. Through the photoelectric conversion curve formula: (Lv/Lvmax)^(1/2.2)*255=Gray; it can be seen that the maximum brightness received by the camera under the screen is Lvmax=156.7nit. When the captured grayscale value obtained by shooting is 246 grayscale, then according to the above formula, (Lv'/156.7)^(1/2.2)*255=246, it can be seen that under 246 grayscale, the grayscale value displayed on the screen (Lv') is 144.8nit. Furthermore, through the superimposed transmittance of 30%, it can be known that the display brightness corresponding to the shooting gray scale value is 144.8/0.3=483 nit. That is, the second display brightness is 483nit.

在一实施例中,判断是否对屏下摄像头显示区域进行亮度补偿,可以将第一显示亮度与第二显示亮度之间的亮度差异比值与第一阈值对比进行确定。第一阈值可以理解为是人眼能够观察到亮度发生变化的最大阈值。在正常环境光下,据统计人眼可识别的亮度差异为2%。即,在100nit周围光时,亮度差2nit,人眼即可分辨出来。换句话说,在寄存器的值为2047对应的背光显示亮度是500nit,屏幕显示灰阶值为255灰阶的情况下,当屏下摄像头显示区域的亮度下降到490nit时,(500*(1-2%))人眼便可以看到差别。因此,可以将第一显示亮度与第二显示亮度之间的亮度差异比值与第一阈值对比,便可以确定当前亮度变化是否可以引起人眼视觉的察觉,进而进一步判断是否需要进行补偿。In an embodiment, to determine whether to perform brightness compensation on the display area of the under-screen camera, the brightness difference ratio between the first display brightness and the second display brightness may be compared with the first threshold for determination. The first threshold can be understood as the maximum threshold at which changes in brightness can be observed by human eyes. Under normal ambient light, the difference in brightness that can be discerned by the human eye is statistically 2%. That is, when the ambient light is 100nit, the brightness difference is 2nit, which can be distinguished by human eyes. In other words, when the brightness of the backlight display corresponding to the value of the register is 2047 is 500nit, and the screen display grayscale value is 255 grayscale, when the brightness of the display area of the camera under the screen drops to 490nit, (500*(1- 2%)) the difference is visible to the human eye. Therefore, the brightness difference ratio between the first display brightness and the second display brightness can be compared with the first threshold to determine whether the current brightness change can be perceived by human eyes, and further determine whether compensation is required.

若第一显示亮度与第二显示亮度之间的亮度差异比值小于或者等于第一阈值,则表征亮度差异变化不明显,不会引起人眼视觉的察觉,因此,可以不用进行补偿,保持屏下摄像头显示区域的显示亮度不变即可。若第一显示亮度与第二显示亮度之间的亮度差异比值大于第一阈值,则表征亮度差异变化能够引起人眼视觉的察觉,需要进行亮度补偿,进而避免用户的使用体验,从而可以基于第一显示亮度与第二显示亮度之间的亮度差异比值,以及终端非屏下摄像头显示区域的显示亮度,对屏下摄像头显示区域的显示亮度进行补偿。If the luminance difference ratio between the first display luminance and the second display luminance is less than or equal to the first threshold, it indicates that the change of the luminance difference is not obvious and will not cause human visual perception. It is sufficient that the display brightness of the display area of the camera remains unchanged. If the luminance difference ratio between the first display luminance and the second display luminance is greater than the first threshold, it indicates that the change in luminance difference can cause the perception of human vision, and brightness compensation needs to be performed, thereby avoiding user experience. The brightness difference ratio between the first display brightness and the second display brightness, and the display brightness of the non-screen camera display area of the terminal are used to compensate the display brightness of the screen camera display area.

在一实施场景中,在寄存器的值为2047对应的背光显示亮度为500nit,屏幕显示灰阶值为255灰阶的情况下,基准灰阶值为250灰阶,基准显示亮度为500nit。在寄存器的值为2047对应的背光显示亮度为500nit,屏幕显示灰阶值为255灰阶的情况下,获得的拍摄灰阶值为246灰阶,对应的实时显示亮度为483nit。第一显示亮度与第二显示亮度之间的亮度差异比值为(500-483)/500>第一阈值(3%),则需要基于第一显示亮度与第二显示亮度之间的亮度差异比值,以及终端非屏下摄像头显示区域的显示亮度,对屏下摄像头显示区域的显示亮度进行补偿。In an implementation scenario, when the value of the register is 2047, the backlight display brightness is 500 nit, and the screen display gray scale value is 255 gray scale, the reference gray scale value is 250 gray scale, and the reference display brightness is 500 nit. When the value of the register is 2047, the brightness of the backlight display is 500nit, and the grayscale value of the screen display is 255 grayscale. The obtained shooting grayscale value is 246 grayscale, and the corresponding real-time display brightness is 483nit. The brightness difference ratio between the first display brightness and the second display brightness is (500-483)/500>the first threshold (3%), then it needs to be based on the brightness difference ratio between the first display brightness and the second display brightness , and the display brightness of the non-screen camera display area of the terminal, and compensate the display brightness of the screen camera display area.

在一示例中,在背光显示亮度和屏幕显示灰阶值不同的情况下,人眼察觉亮度发生变化的最大阈值不同。因此,在确定第一阈值时,可以根据背光显示亮度和屏幕显示灰阶值进行针对性的设置。例如:将在寄存器的值为2047,屏幕显示灰阶值为255灰阶的情况下的第一阈值设定为3%。将在寄存器的值为2047,屏幕显示灰阶值为128灰阶的情况下的第一阈值设定为2%。将在寄存器的值为1024,屏幕显示灰阶值为255灰阶的情况下的第一阈值设定为2%。In an example, when the brightness of the backlight display is different from the grayscale value of the screen display, the maximum thresholds for human eyes to perceive brightness changes are different. Therefore, when determining the first threshold, targeted settings can be made according to the brightness of the backlight display and the grayscale value of the screen display. For example: when the value of the register is 2047 and the grayscale value displayed on the screen is 255 grayscale, the first threshold is set to 3%. When the value of the register is 2047 and the gray scale value displayed on the screen is 128 gray scales, the first threshold is set to 2%. When the value of the register is 1024 and the grayscale value displayed on the screen is 255 grayscale, the first threshold is set to 2%.

在另一示例中,在获取测试灰阶图像和拍摄图像时,可以是将终端放置在全黑的环境中,且屏下摄像头不被其他障碍物所遮挡。例如:放置在具有一定高度的黑盒子内或者全黑的空间中。进而使得到的第一显示亮度和第二显示亮度能够更准确,更容易避免其他外界环境的光亮干扰,从而使后续亮度补偿更准确。并且在进行拍摄时,采用相同的拍摄参数进行拍摄。例如:选择在白平衡选日光,快门时间选1/60,ISO选300的拍摄参数下,获取测试灰阶图像和拍摄图像。In another example, when acquiring the test grayscale image and capturing the image, the terminal may be placed in a completely dark environment, and the camera under the screen is not blocked by other obstacles. For example: placed in a black box with a certain height or in a completely black space. Furthermore, the obtained first display brightness and second display brightness can be more accurate, and it is easier to avoid light interference from other external environments, so that the subsequent brightness compensation is more accurate. And when shooting, use the same shooting parameters to shoot. For example: choose daylight for white balance, 1/60 for shutter time, and 300 for ISO to obtain test grayscale images and shooting images.

在一实施例中,对屏下摄像头显示区域的显示亮度进行补偿时,可以通过IC进行补偿。基于第一显示亮度与第二显示亮度之间的亮度差异比值,可以确定终端屏下摄像头显示区域的背光显示亮度的第一补偿比值,即,明确需要对屏下摄像头显示区域进行亮度补偿的第一补偿比值,进而基于亮度与寄存器的值的线性关系,通过补偿屏下摄像头显示区域的背光显示亮度,可以对屏下摄像头显示区域的显示亮度进行补偿,使补偿后的屏下摄像头显示区域的显示亮度与非屏下摄像头显示区域的显示亮度一致。例如:可以通过补偿屏下摄像头显示区域的背光显示亮度,将屏下摄像头显示区域的显示亮度调高,进而使得非屏下摄像头显示区域的显示亮度与屏下摄像头显示区域的显示亮度一致。In an embodiment, when compensating the display brightness of the display area of the camera under the screen, the compensation can be performed by an IC. Based on the brightness difference ratio between the first display brightness and the second display brightness, the first compensation ratio of the backlight display brightness of the display area of the camera under the screen of the terminal can be determined, that is, the first compensation ratio for brightness compensation of the display area of the camera under the screen is clearly required. A compensation ratio, and then based on the linear relationship between the brightness and the value of the register, by compensating the backlight display brightness of the under-screen camera display area, the display brightness of the under-screen camera display area can be compensated, so that the compensated under-screen camera display area The display brightness is consistent with the display brightness of the non-screen camera display area. For example, by compensating the backlight display brightness of the under-screen camera display area, the display brightness of the under-screen camera display area can be increased, so that the display brightness of the non-under-screen camera display area is consistent with the display brightness of the under-screen camera display area.

或者,基于第一显示亮度与第二显示亮度之间的亮度差异比值,确定终端非屏下摄像头显示区域的背光显示亮度第二补偿比值,即,明确需要对非屏下摄像头显示区域进行亮度补偿的第二补偿比值,进而基于亮度与寄存器的值的线性关系,通过补偿非屏下摄像头显示区域的背光显示亮度,可以对非屏下摄像头显示区域的显示亮度进行补偿,使补偿后的非屏下摄像头显示区域的显示亮度与屏下摄像头显示区域的显示亮度一致。如:可以通过补偿非屏下摄像头显示区域的背光显示亮度,将屏下摄像头显示区域的显示亮度调低,进而使得非屏下摄像头显示区域的显示亮度与屏下摄像头显示区域的显示亮度一致。Or, based on the brightness difference ratio between the first display brightness and the second display brightness, determine the second compensation ratio of the backlight display brightness of the non-screen camera display area of the terminal, that is, clearly need to perform brightness compensation on the non-screen camera display area The second compensation ratio, and then based on the linear relationship between the brightness and the value of the register, by compensating the backlight display brightness of the non-screen camera display area, the display brightness of the non-screen camera display area can be compensated, so that the compensated non-screen camera The display brightness of the display area of the lower camera is consistent with the display brightness of the display area of the camera under the screen. For example, by compensating the backlight display brightness of the display area of the non-screen camera, the display brightness of the display area of the camera under the screen can be reduced, so that the display brightness of the display area of the non-screen camera is consistent with the display brightness of the display area of the camera under the screen.

在又一实施例中,对屏下摄像头显示区域的显示亮度进行补偿时,可以通过AP进行补偿。可以采用通过添加蒙层的方式,将非屏下摄像头显示区域的显示亮度降低,使得非屏下摄像头显示区域的显示亮度与屏下摄像头显示区域的显示亮度能够保持一致,从而保证终端显示区域的显示亮度能够保持整体一致。In yet another embodiment, when compensating the display brightness of the display area of the camera under the screen, compensation may be performed through the AP. The display brightness of the non-screen camera display area can be reduced by adding a mask layer, so that the display brightness of the non-screen camera display area can be consistent with the display brightness of the under-screen camera display area, thereby ensuring the terminal display area. Display brightness is able to remain consistent across the board.

在一实施场景中,可以如图5所示。图5是根据一示例性实施例示出的一种显示屏显示亮度的效果图。若确定的屏下摄像头显示区域1的显示亮度为180nit,非屏下摄像头显示区域2的显示亮度为200nit,则通过蒙层3,将非屏下摄像头显示区域进行覆盖,降低非屏下摄像头显示区域的显示亮度,进而使非屏下摄像头显示区域的显示亮度与屏下摄像头显示区域的显示亮度能够保持一致。在一例中,若在寄存器的值为2047,屏幕显示灰阶值为255灰阶的情况下,通过添加蒙层进行亮度补偿,则可以基于预先确定在该寄存器的值为2047,屏幕显示灰阶值为255灰阶的情况下确定的第一阈值,确定覆盖非屏下摄像头显示区域的透光率,进而使补偿后的终端显示区域的显示亮度能够保持整体一致,且避免两个显示区域之间的显示亮度差异过大,影响用户的使用体验。例如:若第一阈值为3%,则蒙层的透过率为97%。若第一阈值为2%,则蒙层的透过率为98%。In an implementation scenario, it may be as shown in FIG. 5 . Fig. 5 is an effect diagram showing display brightness of a display screen according to an exemplary embodiment. If the determined display brightness of the display area 1 of the under-screen camera is 180 nit, and the display brightness of the display area 2 of the non-screen camera is 200 nit, the display area of the non-screen camera is covered by the mask layer 3 to reduce the display of the non-screen camera. The display brightness of the area, so that the display brightness of the non-screen camera display area can be consistent with the display brightness of the under-screen camera display area. In one example, if the value of the register is 2047 and the grayscale value of the screen display is 255 grayscale, brightness compensation is performed by adding a mask layer, then based on the pre-determined value of 2047 in the register, the grayscale value of the screen display is 255. The first threshold value determined when the value is 255 gray scales determines the light transmittance covering the display area of the non-screen camera, so that the display brightness of the terminal display area after compensation can be kept consistent as a whole, and the gap between the two display areas is avoided. The difference in brightness between displays is too large, which affects the user experience. For example: if the first threshold value is 3%, the transmittance of the mask layer is 97%. If the first threshold is 2%, the transmittance of the covering layer is 98%.

在一实施场景中,针对终端屏下摄像头显示区域进行亮度补偿的过程可以如图6所示。图6是根据一示例性实施例示出的另一种亮度补偿方法的流程图。In an implementation scenario, the process of performing brightness compensation for the display area of the camera under the terminal screen may be as shown in FIG. 6 . Fig. 6 is a flowchart of another brightness compensation method according to an exemplary embodiment.

响应于用户的检测指令,通过终端中的环境光线传感器检测终端的周围环境,并确定终端处于全黑环境下。在确定终端处于全黑环境下时,根据确定对终端的屏下摄像头显示区域进行亮度补偿的需求进行响应。在屏下摄像头显示区域,分时显示多个测试灰阶图像。针对每一个测试灰阶图像,对应通过屏下摄像头拍摄得到实时显示图像。根据各测试灰阶图像的基准显示亮度,以及各测试灰阶图像对应的实时显示图像的实时显示亮度之间的亮度差异比值,确定第一显示亮度以及第二显示亮度。判断第一显示亮度与第二显示亮度之间的亮度差异比值是否大于第一阈值。若第一显示亮度与第二显示亮度之间的亮度差异比值大于第一阈值,则对屏下摄像头显示区域进行亮度补偿,并提示用户补偿已完成。若第一显示亮度与第二显示亮度之间的亮度差异比值小于或者等于第一阈值,则提示用户无需对屏下摄像头显示区域进行亮度补偿。In response to the user's detection instruction, the ambient light sensor in the terminal detects the surrounding environment of the terminal, and determines that the terminal is in a completely dark environment. When it is determined that the terminal is in a completely black environment, respond according to the determined demand for performing brightness compensation on the display area of the camera under the screen of the terminal. In the display area of the camera under the screen, multiple test grayscale images are displayed in time-sharing. For each test grayscale image, the corresponding real-time display image is captured by the camera under the screen. The first display brightness and the second display brightness are determined according to the brightness difference ratio between the reference display brightness of each test gray-scale image and the real-time display brightness of the real-time display image corresponding to each test gray-scale image. It is judged whether the brightness difference ratio between the first display brightness and the second display brightness is greater than a first threshold. If the brightness difference ratio between the first display brightness and the second display brightness is greater than the first threshold, perform brightness compensation on the display area of the camera under the screen, and prompt the user that the compensation has been completed. If the brightness difference ratio between the first display brightness and the second display brightness is less than or equal to the first threshold, the user is prompted that brightness compensation does not need to be performed on the display area of the under-screen camera.

基于相同的构思,本公开实施例还提供一种应用于终端的亮度补偿装置。Based on the same idea, an embodiment of the present disclosure further provides a brightness compensation device applied to a terminal.

可以理解的是,本公开实施例提供的亮度补偿装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本公开实施例中所公开的各示例的单元及算法步骤,本公开实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本公开实施例的技术方案的范围。It can be understood that, in order to realize the above functions, the brightness compensation device provided by the embodiments of the present disclosure includes corresponding hardware structures and/or software modules for performing various functions. Combining the units and algorithm steps of each example disclosed in the embodiments of the present disclosure, the embodiments of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the technical solutions of the embodiments of the present disclosure.

图7是根据一示例性实施例示出的一种亮度补偿装置框图。参照图7,该亮度补偿装置100包括确定单元101和补偿单元102。Fig. 7 is a block diagram of a brightness compensation device according to an exemplary embodiment. Referring to FIG. 7 , the brightness compensation device 100 includes a determination unit 101 and a compensation unit 102 .

确定单元101,用于响应于确定对终端的屏下摄像头显示区域进行亮度补偿,确定第一显示亮度以及第二显示亮度。第一显示亮度为屏下摄像头显示区域的基准显示亮度,第二显示亮度为屏下摄像头显示区域的实时显示亮度。The determining unit 101 is configured to determine a first display brightness and a second display brightness in response to determining to perform brightness compensation on the display area of the under-screen camera of the terminal. The first display brightness is the reference display brightness of the display area of the camera under the screen, and the second display brightness is the real-time display brightness of the display area of the camera under the screen.

补偿单元102,用于基于第一显示亮度以及第二显示亮度,对屏下摄像头显示区域进行亮度补偿。The compensation unit 102 is configured to perform brightness compensation on the display area of the camera under the screen based on the first display brightness and the second display brightness.

在一实施例中,确定单元101采用下述方式确定第一显示亮度以及第二显示亮度:在屏下摄像头显示区域,分时显示多个测试灰阶图像,测试灰阶图像对应有属性参数,属性参数包括拍摄测试灰阶图像时终端的背光显示亮度、屏幕显示灰阶值,以及基准灰阶值。针对多个测试灰阶图像中的每一测试灰阶图像,分别基于测试灰阶图像的属性参数,确定基准显示亮度和实时显示亮度,并得到多个显示亮度对,每一显示亮度对包括基于同一个测试灰阶图像的属性参数确定的基准显示亮度和实时显示亮度。将多个显示亮度对中亮度差异比值最大的显示亮度对中的基准显示亮度,作为第一显示亮度,并将多个显示亮度对中亮度差异比值最大的显示亮度对中的实时显示亮度,作为第二显示亮度。亮度差异比值为基准显示亮度与实时显示亮度之间的差值,与基准显示亮度之间的比值。In one embodiment, the determination unit 101 determines the first display brightness and the second display brightness in the following manner: in the display area of the camera under the screen, a plurality of test grayscale images are displayed in time division, and the test grayscale images correspond to attribute parameters, The attribute parameters include the backlight display brightness of the terminal when shooting the test grayscale image, the grayscale value displayed on the screen, and the reference grayscale value. For each test gray-scale image in the plurality of test gray-scale images, respectively based on the attribute parameters of the test gray-scale image, determine the reference display brightness and the real-time display brightness, and obtain a plurality of display brightness pairs, each display brightness pair includes The reference display brightness and the real-time display brightness determined by the attribute parameters of the same test grayscale image. The reference display brightness of the display brightness pair with the largest brightness difference ratio among multiple display brightness pairs is used as the first display brightness, and the real-time display brightness of the display brightness pair with the largest brightness difference ratio among multiple display brightness pairs is used as Secondary display brightness. The brightness difference ratio is the ratio of the difference between the reference display brightness and the real-time display brightness to the reference display brightness.

在另一实施例中,确定单元101采用下述方式基于测试灰阶图像的属性参数,确定基准显示亮度:基于测试灰阶图像属性信息中的基准灰阶值、屏幕显示灰阶值,以及光亮转换曲线,得到基准灰阶值对应的显示亮度,并将基准灰阶值对应的显示亮度,确定为基准显示亮度。In another embodiment, the determination unit 101 determines the reference display brightness based on the attribute parameters of the test grayscale image in the following manner: based on the reference grayscale value, the screen display grayscale value, and the brightness in the attribute information of the test grayscale image convert the curve to obtain the display brightness corresponding to the reference gray scale value, and determine the display brightness corresponding to the reference gray scale value as the reference display brightness.

在又一实施例中,确定单元101采用下述方式确定第二显示亮度:基于测试灰阶图像属性信息中的背光显示亮度以及屏幕显示灰阶值,控制屏下摄像头对屏下摄像头显示区域中显示画面进行拍摄,得到拍摄图像。基于拍摄图像对应的拍摄灰阶值、屏幕显示灰阶值,以及光亮转换曲线,得到拍摄灰阶值对应的显示亮度,并将拍摄灰阶值对应的显示亮度,确定为第二显示亮度。In yet another embodiment, the determination unit 101 determines the second display brightness in the following manner: based on the backlight display brightness in the test grayscale image attribute information and the screen display grayscale value, control the camera under the screen to match the brightness in the display area of the camera under the screen. The screen is displayed for shooting, and a captured image is obtained. Based on the captured gray scale value corresponding to the captured image, the screen displayed gray scale value, and the light conversion curve, the display brightness corresponding to the captured gray scale value is obtained, and the display brightness corresponding to the captured gray scale value is determined as the second display brightness.

在又一实施例中,补偿单元102采用下述方式基于第一显示亮度以及第二显示亮度,对屏下摄像头显示区域进行亮度补偿:若第一显示亮度与第二显示亮度之间的亮度差异比值小于或者等于第一阈值,则保持屏下摄像头显示区域的显示亮度不变。若第一显示亮度与第二显示亮度之间的亮度差异比值大于第一阈值,则基于第一显示亮度与第二显示亮度之间的亮度差异比值,以及终端非屏下摄像头显示区域的显示亮度,对屏下摄像头显示区域的显示亮度进行补偿。In yet another embodiment, the compensation unit 102 performs brightness compensation on the display area of the camera under the screen based on the first display brightness and the second display brightness in the following manner: if the brightness difference between the first display brightness and the second display brightness is If the ratio is less than or equal to the first threshold, the display brightness of the display area of the camera under the screen remains unchanged. If the brightness difference ratio between the first display brightness and the second display brightness is greater than the first threshold, based on the brightness difference ratio between the first display brightness and the second display brightness, and the display brightness of the non-screen camera display area of the terminal , to compensate the display brightness of the display area of the camera under the screen.

在又一实施例中,补偿单元102采用下述方式基于第一显示亮度与第二显示亮度之间的亮度差异比值,以及终端非屏下摄像头显示区域的显示亮度,对屏下摄像头显示区域的显示亮度进行补偿:基于第一显示亮度与第二显示亮度之间的亮度差异比值,确定终端屏下摄像头显示区域的背光显示亮度的第一补偿比值,或者确定终端非屏下摄像头显示区域的背光显示亮度第二补偿比值。若确定终端屏下摄像头显示区域的背光显示亮度的第一补偿比值,则基于第一补偿比值和终端非屏下摄像头显示区域的显示亮度,通过补偿屏下摄像头显示区域的背光显示亮度,对屏下摄像头显示区域的显示亮度进行补偿。若确定终端非屏下摄像头显示区域的背光显示亮度第二补偿比值,则基于第二补偿比值和终端非屏下摄像头显示区域的显示亮度,通过补偿非屏下摄像头显示区域的背光显示亮度,对屏下摄像头显示区域的显示亮度进行补偿。In yet another embodiment, the compensation unit 102 uses the following method to adjust the brightness of the display area of the under-screen camera based on the brightness difference ratio between the first display brightness and the second display brightness, and the display brightness of the non-screen camera display area of the terminal. Display brightness compensation: Based on the brightness difference ratio between the first display brightness and the second display brightness, determine the first compensation ratio of the backlight display brightness of the display area of the camera under the terminal screen, or determine the backlight of the display area of the non-screen camera of the terminal Displays the brightness second compensation ratio. If the first compensation ratio of the backlight display brightness of the camera display area under the terminal screen is determined, based on the first compensation ratio and the display brightness of the non-screen camera display area of the terminal, by compensating the backlight display brightness of the camera display area under the screen, the screen Compensate for the display brightness of the display area of the lower camera. If the second compensation ratio of the backlight display brightness of the non-screen camera display area of the terminal is determined, based on the second compensation ratio and the display brightness of the non-screen camera display area of the terminal, by compensating the backlight display brightness of the non-screen camera display area, the The display brightness of the camera display area under the screen is compensated.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

图8是根据一示例性实施例示出的另一种亮度补偿装置的框图。例如,亮度补偿装置200可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 8 is a block diagram of another brightness compensation device according to an exemplary embodiment. For example, the brightness compensation device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图8,亮度补偿装置200可以包括以下一个或多个组件:处理组件202,存储器204,电力组件206,多媒体组件208,音频组件210,输入/输出(I/O)接口212,传感器组件214,以及通信组件216。8, brightness compensation device 200 may include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, input/output (I/O) interface 212, sensor component 214 , and the communication component 216.

处理组件202通常控制亮度补偿装置200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件202可以包括一个或多个处理器220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件202可以包括一个或多个模块,便于处理组件202和其他组件之间的交互。例如,处理组件202可以包括多媒体模块,以方便多媒体组件208和处理组件202之间的交互。The processing component 202 generally controls the overall operations of the brightness compensation apparatus 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 202 may include one or more modules that facilitate interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202 .

存储器204被配置为存储各种类型的数据以支持在亮度补偿装置200的操作。这些数据的示例包括用于在亮度补偿装置200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图像,视频等。存储器204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 204 is configured to store various types of data to support operations in the brightness compensation device 200 . Examples of such data include instructions for any application or method operating on the brightness compensation device 200, contact data, phonebook data, messages, images, videos, and the like. The memory 204 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件206为亮度补偿装置200的各种组件提供电力。电力组件206可以包括电源管理系统,一个或多个电源,及其他与为亮度补偿装置200生成、管理和分配电力相关联的组件。The power component 206 provides power to various components of the brightness compensation device 200 . Power components 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for brightness compensation device 200 .

多媒体组件208包括在所述亮度补偿装置200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件208包括一个前置摄像头和/或后置摄像头。当亮度补偿装置200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 208 includes a screen providing an output interface between the brightness compensation device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 208 includes a front camera and/or a rear camera. When the brightness compensation device 200 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件210被配置为输出和/或输入音频信号。例如,音频组件210包括一个麦克风(MIC),当亮度补偿装置200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器204或经由通信组件216发送。在一些实施例中,音频组件210还包括一个扬声器,用于输出音频信号。The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a microphone (MIC), which is configured to receive an external audio signal when the brightness compensation device 200 is in an operation mode, such as a call mode, a recording mode and a voice recognition mode. Received audio signals may be further stored in memory 204 or sent via communication component 216 . In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.

I/O接口212为处理组件202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 212 provides an interface between the processing component 202 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件214包括一个或多个传感器,用于为亮度补偿装置200提供各个方面的状态评估。例如,传感器组件214可以检测到亮度补偿装置200的打开/关闭状态,组件的相对定位,例如所述组件为亮度补偿装置200的显示器和小键盘,传感器组件214还可以检测亮度补偿装置200或亮度补偿装置200一个组件的位置改变,用户与亮度补偿装置200接触的存在或不存在,亮度补偿装置200方位或加速/减速和亮度补偿装置200的温度变化。传感器组件214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor assembly 214 includes one or more sensors for providing status assessments of various aspects of the brightness compensation device 200 . For example, the sensor assembly 214 can detect the on/off status of the brightness compensation device 200, the relative positioning of components, such as the display and the keypad of the brightness compensation device 200, and the sensor assembly 214 can also detect the brightness compensation device 200 or the brightness The position change of a component of the compensation device 200 , the presence or absence of user contact with the brightness compensation device 200 , the orientation or acceleration/deceleration of the brightness compensation device 200 and the temperature change of the brightness compensation device 200 . The sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 214 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件216被配置为便于亮度补偿装置200和其他设备之间有线或无线方式的通信。亮度补偿装置200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 216 is configured to facilitate wired or wireless communication between the brightness compensation apparatus 200 and other devices. The brightness compensation device 200 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,亮度补偿装置200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the brightness compensation device 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field A Programmable Gate Array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器204,上述指令可由亮度补偿装置200的处理器220执行以完成上述任意一种亮度补偿方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 204 including instructions, the instructions can be executed by the processor 220 of the brightness compensation device 200 to complete any of the above-mentioned brightness compensation method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

图9是根据一示例性实施例示出的又一种亮度补偿装置的框图。例如,亮度补偿装置300可以被提供为一服务器。参照图9,亮度补偿装置300包括处理组件322,其进一步包括一个或多个处理器,以及由存储器332所代表的存储器资源,用于存储可由处理组件322的执行的指令,例如应用程序。存储器332中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件322被配置为执行指令,以执行上述任意一种亮度补偿方法。Fig. 9 is a block diagram of another brightness compensation device according to an exemplary embodiment. For example, the brightness compensation device 300 may be provided as a server. Referring to FIG. 9 , the brightness compensation apparatus 300 includes a processing component 322 , which further includes one or more processors, and a memory resource represented by a memory 332 for storing instructions executable by the processing component 322 , such as application programs. The application program stored in memory 332 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 322 is configured to execute instructions to perform any one of the brightness compensation methods described above.

亮度补偿装置300还可以包括一个电源组件326被配置为执行亮度补偿装置300的电源管理,一个有线或无线网络接口350被配置为将亮度补偿装置300连接到网络,和一个输入输出(I/O)接口358。亮度补偿装置300可以操作基于存储在存储器332的操作系统,例如WindowsServerTM,MacOSXTM,UnixTM,LinuxTM,FreeBSDTM或类似。The brightness compensation device 300 may also include a power supply component 326 configured to perform power management of the brightness compensation device 300, a wired or wireless network interface 350 configured to connect the brightness compensation device 300 to the network, and an input/output (I/O ) interface 358. The brightness compensation device 300 can operate based on an operating system stored in the memory 332, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or the like.

进一步可以理解的是,本公开中“多个”是指两个或两个以上,其它量词与之类似。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。It can be further understood that "plurality" in the present disclosure refers to two or more, and other quantifiers are similar thereto. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship. The singular forms "a", "said" and "the" are also intended to include the plural unless the context clearly dictates otherwise.

进一步可以理解的是,术语“第一”、“第二”等用于描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开,并不表示特定的顺序或者重要程度。实际上,“第一”、“第二”等表述完全可以互换使用。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。It can be further understood that the terms "first", "second", etc. are used to describe various information, but the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not imply a specific order or degree of importance. In fact, expressions such as "first" and "second" can be used interchangeably. For example, without departing from the scope of the present disclosure, first information may also be called second information, and similarly, second information may also be called first information.

进一步可以理解的是,除非有特殊说明,“连接”包括两者之间不存在其他构件的直接连接,也包括两者之间存在其他元件的间接连接。It can be further understood that, unless otherwise specified, "connection" includes a direct connection without other components between the two, and also includes an indirect connection between the two with other elements.

进一步可以理解的是,本公开实施例中尽管在附图中以特定的顺序描述操作,但是不应将其理解为要求按照所示的特定顺序或是串行顺序来执行这些操作,或是要求执行全部所示的操作以得到期望的结果。在特定环境中,多任务和并行处理可能是有利的。It can be further understood that although operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring that these operations be performed in the specific order shown or in a serial order, or that Perform all operations shown to obtain the desired result. In certain circumstances, multitasking and parallel processing may be advantageous.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利范围指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered as illustrative only, with the true scope and spirit of the disclosure indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利范围来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.

Claims (14)

1. An illumination compensation method applied to a terminal, the illumination compensation method comprising:
determining first display brightness and second display brightness in response to determining to perform brightness compensation on an under-screen camera display area of the terminal;
the first display brightness is the reference display brightness of the display area of the lower screen camera, and the second display brightness is the real-time display brightness of the display area of the lower screen camera;
and performing brightness compensation on the display area of the lower screen camera based on the first display brightness and the second display brightness.
2. The luminance compensation method of claim 1, wherein the determining the first display luminance and the second display luminance comprises:
displaying a plurality of test gray scale images in a time-sharing manner in the display area of the camera under the screen, wherein the test gray scale images correspond to attribute parameters, and the attribute parameters comprise backlight display brightness, a screen display gray scale value and a reference gray scale value of the terminal when the test gray scale images are shot;
determining reference display brightness and real-time display brightness respectively based on the attribute parameters of the test gray scale images aiming at each test gray scale image in the test gray scale images, and obtaining a plurality of display brightness pairs, wherein each display brightness pair comprises the reference display brightness and the real-time display brightness determined based on the attribute parameters of the same test gray scale image;
taking the reference display brightness in the display brightness pair with the maximum brightness difference ratio among the plurality of display brightness pairs as first display brightness, and taking the real-time display brightness in the display brightness pair with the maximum brightness difference ratio among the plurality of display brightness pairs as second display brightness;
the brightness difference ratio is a ratio between a difference between the reference display brightness and the real-time display brightness and the reference display brightness.
3. The luminance compensation method according to claim 2, wherein the determining the reference display luminance based on the attribute parameter of the test gray-scale image comprises:
and obtaining the display brightness corresponding to the reference gray scale value based on the reference gray scale value, the screen display gray scale value and the brightness conversion curve in the test gray scale image attribute information, and determining the display brightness corresponding to the reference gray scale value as the reference display brightness.
4. The luminance compensation method of claim 2, wherein the determining the second display luminance comprises:
controlling the under-screen camera to shoot a display picture in a display area of the under-screen camera based on the backlight display brightness and the screen display gray scale value in the test gray scale image attribute information to obtain a shot image;
and obtaining the display brightness corresponding to the shooting gray scale value based on the shooting gray scale value corresponding to the shot image, the screen display gray scale value and the brightness conversion curve, and determining the display brightness corresponding to the shooting gray scale value as second display brightness.
5. The brightness compensation method according to claim 1, wherein the performing brightness compensation on the display area of the off-screen camera based on the first display brightness and the second display brightness comprises:
if the brightness difference ratio between the first display brightness and the second display brightness is smaller than or equal to a first threshold value, keeping the display brightness of the display area of the camera under the screen unchanged;
and if the brightness difference ratio between the first display brightness and the second display brightness is larger than the first threshold value, compensating the display brightness of the display area of the lower screen camera based on the brightness difference ratio between the first display brightness and the second display brightness and the display brightness of the non-lower screen camera display area of the terminal.
6. The brightness compensation method of claim 5, wherein the compensating the display brightness of the off-screen camera display area based on the brightness difference ratio between the first display brightness and the second display brightness and the display brightness of the non-off-screen camera display area of the terminal comprises:
determining a first compensation ratio of the backlight display brightness of the display area of the camera under the screen of the terminal or determining a second compensation ratio of the backlight display brightness of the display area of the camera under the non-screen of the terminal based on the brightness difference ratio between the first display brightness and the second display brightness;
if a first compensation ratio of the backlight display brightness of the display area of the camera under the screen of the terminal is determined, compensating the display brightness of the display area of the camera under the screen by compensating the backlight display brightness of the display area of the camera under the screen based on the first compensation ratio and the display brightness of the display area of the camera under the non-screen of the terminal;
and if a second compensation ratio of the backlight display brightness of the non-screen camera display area of the terminal is determined, compensating the display brightness of the non-screen camera display area by compensating the backlight display brightness of the non-screen camera display area based on the second compensation ratio and the display brightness of the non-screen camera display area of the terminal.
7. An illumination compensation apparatus applied to a terminal, the illumination compensation apparatus comprising:
the determining unit is used for responding to the determination of brightness compensation of the display area of the camera under the screen of the terminal and determining first display brightness and second display brightness;
the first display brightness is the reference display brightness of the display area of the lower screen camera, and the second display brightness is the real-time display brightness of the display area of the lower screen camera;
and the compensation unit is used for performing brightness compensation on the display area of the camera under the screen based on the first display brightness and the second display brightness.
8. The luminance compensation apparatus according to claim 7, wherein the determination unit determines the first display luminance and the second display luminance in such a manner that:
displaying a plurality of test gray scale images in a time-sharing manner in the display area of the camera under the screen, wherein the test gray scale images correspond to attribute parameters, and the attribute parameters comprise backlight display brightness, a screen display gray scale value and a reference gray scale value of the terminal when the test gray scale images are shot;
determining reference display brightness and real-time display brightness respectively based on the attribute parameters of the test gray scale images aiming at each test gray scale image in the test gray scale images, and obtaining a plurality of display brightness pairs, wherein each display brightness pair comprises the reference display brightness and the real-time display brightness determined based on the attribute parameters of the same test gray scale image;
taking the reference display brightness in the display brightness pair with the maximum brightness difference ratio among the plurality of display brightness pairs as first display brightness, and taking the real-time display brightness in the display brightness pair with the maximum brightness difference ratio among the plurality of display brightness pairs as second display brightness;
the brightness difference ratio is a ratio between a difference between the reference display brightness and the real-time display brightness and the reference display brightness.
9. The luminance compensation apparatus as claimed in claim 8, wherein the determining unit determines the reference display luminance based on the attribute parameter of the test grayscale image by:
and obtaining the display brightness corresponding to the reference gray scale value based on the reference gray scale value, the screen display gray scale value and the brightness conversion curve in the test gray scale image attribute information, and determining the display brightness corresponding to the reference gray scale value as the reference display brightness.
10. The luminance compensation device according to claim 8, wherein the determination unit determines the second display luminance in the following manner:
controlling the under-screen camera to shoot a display picture in a display area of the under-screen camera based on the backlight display brightness and the screen display gray scale value in the test gray scale image attribute information to obtain a shot image;
and obtaining the display brightness corresponding to the shooting gray scale value based on the shooting gray scale value corresponding to the shot image, the screen display gray scale value and the brightness conversion curve, and determining the display brightness corresponding to the shooting gray scale value as second display brightness.
11. The luminance compensation device according to claim 7, wherein the compensation unit performs luminance compensation on the display area of the off-screen camera based on the first display luminance and the second display luminance in the following manner:
if the brightness difference ratio between the first display brightness and the second display brightness is smaller than or equal to a first threshold value, keeping the display brightness of the display area of the camera under the screen unchanged;
and if the brightness difference ratio between the first display brightness and the second display brightness is larger than the first threshold value, compensating the display brightness of the display area of the camera under the screen based on the brightness difference ratio between the first display brightness and the second display brightness and the display brightness of the non-screen camera display area of the terminal.
12. The luminance compensation apparatus as claimed in claim 11, wherein the compensation unit compensates the display luminance of the off-screen camera display area based on the luminance difference ratio between the first display luminance and the second display luminance, and the display luminance of the non-off-screen camera display area of the terminal by:
determining a first compensation ratio of the backlight display brightness of the camera display area under the terminal screen or determining a second compensation ratio of the backlight display brightness of the camera display area under the terminal non-screen based on the brightness difference ratio between the first display brightness and the second display brightness;
if a first compensation ratio of the backlight display brightness of the display area of the camera under the screen of the terminal is determined, compensating the display brightness of the display area of the camera under the screen by compensating the backlight display brightness of the display area of the camera under the screen based on the first compensation ratio and the display brightness of the display area of the camera under the non-screen of the terminal;
and if a second compensation ratio of the backlight display brightness of the non-screen camera display area of the terminal is determined, compensating the display brightness of the non-screen camera display area by compensating the backlight display brightness of the non-screen camera display area based on the second compensation ratio and the display brightness of the non-screen camera display area of the terminal.
13. A luminance compensation apparatus, characterized in that the luminance compensation apparatus comprises:
a memory to store instructions; and
a processor for invoking the memory-stored instructions to perform the illumination compensation method of any of claims 1-6.
14. A computer readable storage medium having stored therein instructions which, when executed by a processor, perform a brightness compensation method according to any one of claims 1-6.
CN202110862019.7A 2021-07-29 2021-07-29 Luminance compensation method, luminance compensation device, and storage medium Pending CN115691418A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110862019.7A CN115691418A (en) 2021-07-29 2021-07-29 Luminance compensation method, luminance compensation device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110862019.7A CN115691418A (en) 2021-07-29 2021-07-29 Luminance compensation method, luminance compensation device, and storage medium

Publications (1)

Publication Number Publication Date
CN115691418A true CN115691418A (en) 2023-02-03

Family

ID=85057699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110862019.7A Pending CN115691418A (en) 2021-07-29 2021-07-29 Luminance compensation method, luminance compensation device, and storage medium

Country Status (1)

Country Link
CN (1) CN115691418A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110323264A (en) * 2019-07-17 2019-10-11 昆山国显光电有限公司 A kind of display panel and display device
CN110447061A (en) * 2019-04-22 2019-11-12 京东方科技集团股份有限公司 Luminance compensation parameter detection method, luminance compensation method, luminance compensation parameter detection device, luminance compensating mechanism, display device and storage medium
US20200126468A1 (en) * 2018-08-17 2020-04-23 Wuhan China Star Optoelectronics Semiconductor Display Technology Co., Ltd. Method and device for correcting color deviation for bending region of curved screen, storage medium, and terminal
CN111489694A (en) * 2020-04-17 2020-08-04 苏州佳智彩光电科技有限公司 Method and system for carrying out external optical compensation on camera screen under AMO L ED screen
CN112562587A (en) * 2020-12-11 2021-03-26 昆山国显光电有限公司 Display panel brightness compensation method and device and display panel
CN112785952A (en) * 2020-12-29 2021-05-11 深圳鹏瑞智能科技有限公司 Detection and correction device and method for display screen with under-screen camera

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200126468A1 (en) * 2018-08-17 2020-04-23 Wuhan China Star Optoelectronics Semiconductor Display Technology Co., Ltd. Method and device for correcting color deviation for bending region of curved screen, storage medium, and terminal
CN110447061A (en) * 2019-04-22 2019-11-12 京东方科技集团股份有限公司 Luminance compensation parameter detection method, luminance compensation method, luminance compensation parameter detection device, luminance compensating mechanism, display device and storage medium
CN110323264A (en) * 2019-07-17 2019-10-11 昆山国显光电有限公司 A kind of display panel and display device
CN111489694A (en) * 2020-04-17 2020-08-04 苏州佳智彩光电科技有限公司 Method and system for carrying out external optical compensation on camera screen under AMO L ED screen
CN112562587A (en) * 2020-12-11 2021-03-26 昆山国显光电有限公司 Display panel brightness compensation method and device and display panel
CN112785952A (en) * 2020-12-29 2021-05-11 深圳鹏瑞智能科技有限公司 Detection and correction device and method for display screen with under-screen camera

Similar Documents

Publication Publication Date Title
CN111916032B (en) Gamma adjustment method and device for display panel
WO2017024728A1 (en) Method and device for reducing display brightness
WO2019109563A1 (en) Method and device for displaying interface image
CN108986053B (en) Screen display method and device
EP3168836A1 (en) Liquid crystal display method and device, computer program and recording medium
CN108492767A (en) Prevent the method, apparatus and storage medium of display burn-in
WO2022127174A1 (en) Image processing method and electronic device
US11062640B2 (en) Screen display method and screen display device
US20190101747A1 (en) Method and device for displaying image
CN112289278A (en) Screen brightness adjusting method, screen brightness adjusting device and electronic equipment
CN112365863A (en) Brightness adjusting method and device, display equipment and storage medium
CN112086075B (en) Screen display parameter adjusting method and device and storage medium
CN115145662A (en) Screen display brightness adjusting method and device and storage medium
US10827156B2 (en) Light filling method and apparatus for photographing environment, and computer-readable storage medium
CN114067733B (en) Display screen correction method, display screen correction device and display chip
CN116453459A (en) Screen display method and device, readable storage medium and electronic equipment
CN111383608B (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN109102779B (en) Backlight adjusting method and device
CN115691418A (en) Luminance compensation method, luminance compensation device, and storage medium
CN111383583B (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN108986753B (en) Interface display method and device
CN108831394B (en) Interface display method and device
CN114414042A (en) Ambient light detection method, device, storage medium and electronic device
CN115269068A (en) Burn-in repairing method, burn-in repairing device and storage medium
CN113470583A (en) Display picture adjusting method and device and storage medium

Legal Events

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