[go: up one dir, main page]

CN118430465B - Backlight compensation method and system for intelligent display screen and display screen - Google Patents

Backlight compensation method and system for intelligent display screen and display screen Download PDF

Info

Publication number
CN118430465B
CN118430465B CN202410882942.0A CN202410882942A CN118430465B CN 118430465 B CN118430465 B CN 118430465B CN 202410882942 A CN202410882942 A CN 202410882942A CN 118430465 B CN118430465 B CN 118430465B
Authority
CN
China
Prior art keywords
target area
current frame
backlight
area
display screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410882942.0A
Other languages
Chinese (zh)
Other versions
CN118430465A (en
Inventor
庄思海
蒋晓伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huahai Electronic Technology Co ltd
Original Assignee
Shenzhen Huahai Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huahai Electronic Technology Co ltd filed Critical Shenzhen Huahai Electronic Technology Co ltd
Priority to CN202410882942.0A priority Critical patent/CN118430465B/en
Publication of CN118430465A publication Critical patent/CN118430465A/en
Application granted granted Critical
Publication of CN118430465B publication Critical patent/CN118430465B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • G09G3/342Control of illumination source using several illumination sources separately controlled corresponding to different display panel areas, e.g. along one dimension such as lines
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

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

Abstract

本申请涉及显示屏背光补偿技术领域,具体涉及一种面向智能显示屏的背光补偿方法、系统及显示屏,该方法包括:确定当前帧的区域和目标区域,获取背景区域和前景区域;获取当前帧的所有区域的视觉复杂性指数;计算目标区域的纹理细节特征值和对比度显著性,进而获取目标区域的相对补偿需求;确定前相邻帧,获取帧间背光调节程度,获取背光亮度基准,进而获取目标区域在当前帧的背光强度,根据目标区域在当前帧的背光强度和背光亮度基准,获取智能显示屏在目标区域的背光补偿结果,获取智能显示屏的背光补偿结果。本申请解决背光系统过度调整或过弱调整使高亮或过暗区域细节丢失的问题。

The present application relates to the technical field of display screen backlight compensation, and specifically to a backlight compensation method, system and display screen for smart display screens, the method comprising: determining the area and target area of the current frame, obtaining the background area and foreground area; obtaining the visual complexity index of all areas of the current frame; calculating the texture detail feature value and contrast significance of the target area, and then obtaining the relative compensation demand of the target area; determining the previous adjacent frame, obtaining the backlight adjustment degree between frames, obtaining the backlight brightness reference, and then obtaining the backlight intensity of the target area in the current frame, and obtaining the backlight compensation result of the smart display screen in the target area according to the backlight intensity of the target area in the current frame and the backlight brightness reference, and obtaining the backlight compensation result of the smart display screen. The present application solves the problem that the details of the highlight or dark area are lost due to excessive adjustment or too weak adjustment of the backlight system.

Description

一种面向智能显示屏的背光补偿方法、系统及显示屏Backlight compensation method, system and display screen for intelligent display screen

技术领域Technical Field

本申请涉及显示屏背光补偿技术领域,具体涉及一种面向智能显示屏的背光补偿方法、系统及显示屏。The present application relates to the technical field of display screen backlight compensation, and in particular to a backlight compensation method, system and display screen for a smart display screen.

背景技术Background Art

显示屏背光补偿技术通过调节背光亮度适应不同环境光线条件,在减少观看者眼睛疲劳的同时增强图像细节、提升色彩的准确性,可提升视觉体验和显示效果。显示屏背光补偿还能根据显示内容的动态范围和用户偏好进行精细调整,进一步提升用户的观看体验,使显示屏能够在各种环境下提供高质量显示效果。其中,显示内容的动态范围限制涉及显示屏在显示不同亮度级别内容时的能力。Display backlight compensation technology adjusts the backlight brightness to adapt to different ambient light conditions, while reducing viewer eye fatigue, enhancing image details and improving color accuracy, which can improve the visual experience and display effect. Display backlight compensation can also be fine-tuned according to the dynamic range of the displayed content and user preferences, further improving the user's viewing experience and enabling the display to provide high-quality display effects in various environments. Among them, the dynamic range limitation of the displayed content involves the display's ability to display content at different brightness levels.

特别的,在高对比度和低亮度的场景中,背光补偿可能会影响显示屏的动态范围。在高对比度的场景中,为了适应环境光线,背光补偿会提升屏幕亮度,但屏幕亮度过亮会导致高光部分的细节丢失;在低亮度的场景中,为了减少观看者眼睛疲劳,背光补偿会降低屏幕亮度,但屏幕亮度过暗会导致暗部细节不清晰。所以,为了保证显示屏在各种环境下的高质量显示,需要解决背光系统过度调整或过弱调整使高亮或过暗区域细节丢失的问题。In particular, in high-contrast and low-brightness scenes, backlight compensation may affect the dynamic range of the display. In high-contrast scenes, in order to adapt to the ambient light, backlight compensation will increase the screen brightness, but too bright a screen will result in loss of details in the highlight part; in low-brightness scenes, in order to reduce viewer eye fatigue, backlight compensation will reduce the screen brightness, but too dark a screen will result in unclear details in the dark part. Therefore, in order to ensure high-quality display of the display in various environments, it is necessary to solve the problem of excessive or weak adjustment of the backlight system causing loss of details in the highlight or dark area.

发明内容Summary of the invention

为了解决上述技术问题,本申请的目的在于提供一种面向智能显示屏的背光补偿方法、系统及显示屏,所采用的技术方案具体如下:In order to solve the above technical problems, the purpose of this application is to provide a backlight compensation method, system and display screen for a smart display screen. The technical solutions adopted are as follows:

第一方面,本申请实施例提供了一种面向智能显示屏的背光补偿方法,该方法包括以下步骤:In a first aspect, an embodiment of the present application provides a backlight compensation method for a smart display screen, the method comprising the following steps:

确定显示屏的当前帧的每个局部区域,将任意一个局部区域作为目标区域;Determine each local area of the current frame of the display screen, and take any local area as a target area;

根据目标区域内属于前景区域和背景区域的像素点的数量、数量差异和位置分布,获取目标区域的视觉复杂性指数;Obtaining a visual complexity index of the target area according to the number, number difference and position distribution of pixels belonging to the foreground area and the background area in the target area;

根据当前帧的边缘像素点的邻域区域内像素点的纹理信息,计算目标区域的纹理细节特征值,根据当前帧中所有局部区域的中心像素点之间的距离和当前帧中所有局部区域的视觉复杂性指数,获取目标区域的对比度显著性,结合目标区域的纹理细节特征值获取目标区域的相对补偿需求;According to the texture information of the pixel points in the neighborhood area of the edge pixel points of the current frame, the texture detail feature value of the target area is calculated, and the contrast significance of the target area is obtained according to the distance between the central pixel points of all local areas in the current frame and the visual complexity index of all local areas in the current frame. The relative compensation demand of the target area is obtained in combination with the texture detail feature value of the target area;

根据当前帧与当前帧的相邻前一帧的目标区域的相对补偿需求的差异和对比度的差异,获取目标区域在当前帧的帧间背光调节程度,根据目标区域在前相邻帧内包含的所有像素点的像素值,获取目标区域在当前帧的背光亮度基准,结合帧间背光调节程度获取目标区域在当前帧的背光强度,根据目标区域在当前帧的背光强度和背光亮度基准,获取智能显示屏在目标区域的背光补偿结果。According to the difference in relative compensation requirements and contrast between the target area of the current frame and the previous frame adjacent to the current frame, the inter-frame backlight adjustment degree of the target area in the current frame is obtained, and the backlight brightness benchmark of the target area in the current frame is obtained according to the pixel values of all pixels contained in the previous adjacent frame of the target area. The backlight intensity of the target area in the current frame is obtained in combination with the inter-frame backlight adjustment degree. According to the backlight intensity of the target area in the current frame and the backlight brightness benchmark, the backlight compensation result of the target area of the smart display is obtained.

进一步,所述目标区域的视觉复杂性指数的确定过程为:Furthermore, the process of determining the visual complexity index of the target area is as follows:

对当前帧的目标区域,将目标区域内属于前景区域的像素点数量与目标区域包含的像素点数量之间的比值,记为前景区域比例;将目标区域内在背景区域的像素点数量与目标区域包含的像素点数量之间的比值,记为背景区域比例;将前景区域比例与背景区域比例的差值的绝对值,记为目标区域的分割差异度;For the target area of the current frame, the ratio between the number of pixels in the target area belonging to the foreground area and the number of pixels in the target area is recorded as the foreground area ratio; the ratio between the number of pixels in the background area and the number of pixels in the target area is recorded as the background area ratio; the absolute value of the difference between the foreground area ratio and the background area ratio is recorded as the segmentation difference degree of the target area;

将目标区域在水平方向上的游程矩阵记为目标区域的水平游程矩阵,将水平游程矩阵中最大游程的一半记为半游程,将游程长度小于半游程的游程记为短游程,将水平游程矩阵中与短游程的长度相同的短游程的数量作为短游程的权重,对各短游程的游程长度进行加权求和,将加权求和值与目标区域内包含的像素点数量的比值记为目标区域的分割杂乱度;The run matrix of the target area in the horizontal direction is recorded as the horizontal run matrix of the target area, half of the maximum run in the horizontal run matrix is recorded as a half run, a run whose length is less than a half run is recorded as a short run, the number of short runs with the same length as the short run in the horizontal run matrix is used as the weight of the short run, the run lengths of each short run are weighted and summed, and the ratio of the weighted sum value to the number of pixels contained in the target area is recorded as the segmentation clutter of the target area;

根据目标区域的分割差异度和分割杂乱度,获取目标区域的视觉复杂性指数,所述目标区域的视觉复杂性指数分别与目标区域的分割差异度和分割杂乱度呈正相关关系。According to the segmentation difference and segmentation clutter of the target area, a visual complexity index of the target area is obtained, and the visual complexity index of the target area is positively correlated with the segmentation difference and segmentation clutter of the target area, respectively.

进一步,所述根据当前帧的边缘像素点的邻域区域内像素点的纹理信息,计算目标区域的纹理细节特征值,获取的具体过程为:Furthermore, the texture detail feature value of the target area is calculated based on the texture information of the pixel points in the neighborhood area of the edge pixel points of the current frame, and the specific process of obtaining the texture detail feature value is as follows:

在当前帧中,将以边缘像素点为中心,以第一预设阈值为边长的窗口记为边缘像素点的纹理特征窗口;In the current frame, a window with the edge pixel as the center and the first preset threshold as the side length is recorded as the texture feature window of the edge pixel;

将边缘像素点的纹理特征窗口内所有像素点的纹理特征值的均值作为边缘像素点的纹理特征值;The average of the texture feature values of all pixels in the texture feature window of the edge pixel is taken as the texture feature value of the edge pixel;

将目标区域内所有边缘像素点的纹理特征值的均值,记为目标区域的纹理细节特征值。The average of the texture feature values of all edge pixels in the target area is recorded as the texture detail feature value of the target area.

进一步,所述根据当前帧中所有局部区域的中心像素点之间的距离和当前帧中所有局部区域的视觉复杂性指数,获取目标区域的对比度显著性,获取的具体过程为:Furthermore, the contrast significance of the target area is obtained according to the distance between the central pixels of all local areas in the current frame and the visual complexity index of all local areas in the current frame. The specific process of obtaining is:

获取当前帧中所有区域的中心像素点,分别计算目标区域的中心像素点与当前帧中其他每一个局部区域的中心像素点之间的欧氏距离,将欧氏距离记为对应的两个区域的第一距离;Obtain the central pixel points of all regions in the current frame, calculate the Euclidean distance between the central pixel point of the target region and the central pixel point of each other local region in the current frame, and record the Euclidean distance as the first distance between the corresponding two regions;

分别计算目标区域的视觉复杂性指数与当前帧中其他每一个局部区域的视觉复杂性指数之间的比值,将比值记为对应的两个区域的第一比值;Calculate the ratio between the visual complexity index of the target area and the visual complexity index of each other local area in the current frame respectively, and record the ratio as the first ratio of the corresponding two areas;

将所述两个区域的第一距离与第一比值的乘积,记为所述两个区域的第一对比度,将目标区域与当前帧中其他每一个局部区域的第一对比度的累加和记为目标区域的对比度显著性。The product of the first distance and the first ratio of the two regions is recorded as the first contrast of the two regions, and the cumulative sum of the first contrast of the target region and each other local region in the current frame is recorded as the contrast significance of the target region.

进一步,所述目标区域的相对补偿需求的确定过程为:Furthermore, the process of determining the relative compensation requirement of the target area is as follows:

将目标区域的对比度显著性与目标区域的纹理细节特征值的比值记为目标区域的相对补偿需求。The ratio of the contrast saliency of the target area to the texture detail feature value of the target area is recorded as the relative compensation requirement of the target area.

进一步,所述根据当前帧与当前帧的相邻前一帧的目标区域的相对补偿需求的差异和对比度的差异,获取目标区域在当前帧的帧间背光调节程度,获取的具体过程为:Further, according to the difference in relative compensation requirements and contrast between the target area of the current frame and the target area of the previous frame adjacent to the current frame, the inter-frame backlight adjustment degree of the target area in the current frame is obtained, and the specific process of obtaining is:

将当前帧的前一个相邻的图像帧记为前相邻帧;Record the previous adjacent image frame of the current frame as the previous adjacent frame;

将当前帧与前相邻帧的目标区域的相对补偿需求之间的差值,记为目标区域在当前帧的相对补偿差异;将当前帧与前相邻帧的目标区域的对比度之间的差值,记为目标区域在当前帧的对比度差异;The difference between the relative compensation requirements of the target area of the current frame and the previous adjacent frame is recorded as the relative compensation difference of the target area in the current frame; the difference between the contrast of the target area of the current frame and the previous adjacent frame is recorded as the contrast difference of the target area in the current frame;

根据目标区域在当前帧的相对补偿差异和对比度差异,获取目标区域在当前帧的帧间背光调节程度,所述目标区域在当前帧的帧间背光调节程度与目标区域在当前帧的相对补偿差异和对比度差异呈正相关关系。According to the relative compensation difference and contrast difference of the target area in the current frame, the inter-frame backlight adjustment degree of the target area in the current frame is obtained, and the inter-frame backlight adjustment degree of the target area in the current frame is positively correlated with the relative compensation difference and contrast difference of the target area in the current frame.

进一步,所述根据目标区域在前相邻帧内包含的所有像素点的像素值,获取目标区域在当前帧的背光亮度基准,结合帧间背光调节程度获取目标区域在当前帧的背光强度,获取的具体过程为:Furthermore, the backlight brightness reference of the target area in the current frame is obtained according to the pixel values of all pixels contained in the target area in the previous adjacent frame, and the backlight intensity of the target area in the current frame is obtained in combination with the backlight adjustment degree between frames. The specific process of obtaining is:

将目标区域在当前帧的帧间背光调节程度的归一化值记为目标区域在当前帧的第一调节程度,将目标区域在当前帧的背光亮度基准、第一调节程度和预设的误差调整参数的乘积,记为目标区域在当前帧的背光强度。The normalized value of the inter-frame backlight adjustment degree of the target area in the current frame is recorded as the first adjustment degree of the target area in the current frame, and the product of the backlight brightness benchmark, the first adjustment degree and the preset error adjustment parameter of the target area in the current frame is recorded as the backlight intensity of the target area in the current frame.

进一步,所述根据目标区域在当前帧的背光强度和背光亮度基准,获取智能显示屏在目标区域的背光补偿结果,获取的具体过程为:Further, the backlight compensation result of the smart display screen in the target area is obtained according to the backlight intensity and backlight brightness reference of the target area in the current frame. The specific process of obtaining is:

将目标区域在当前帧的背光强度与目标区域在当前帧的背光亮度基准之间的差值,作为显示屏中目标区域在当前帧的背光补偿量的取值,获取显示屏中目标区域在当前帧的背光补偿结果。The difference between the backlight intensity of the target area in the current frame and the backlight brightness reference of the target area in the current frame is used as the value of the backlight compensation amount of the target area in the display screen in the current frame to obtain the backlight compensation result of the target area in the display screen in the current frame.

第二方面,本申请实施例还提供了一种面向智能显示屏的背光补偿系统,所述系统包括存储器、处理器以及存储在所述存储器中并在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述任意一项所述方法的步骤。In a second aspect, an embodiment of the present application also provides a backlight compensation system for a smart display screen, the system comprising a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the steps of any one of the above methods when executing the computer program.

第三方面,本申请实施例提供了一种面向智能显示屏的背光补偿显示屏,显示屏由上述任意一项所述方法制作而成。In a third aspect, an embodiment of the present application provides a backlight compensation display screen for a smart display screen, and the display screen is manufactured by any of the methods described above.

由以上实施例可见,本申请实施例提供的一种面向智能显示屏的背光补偿方法、系统及显示屏,至少具有如下有益效果:It can be seen from the above embodiments that the backlight compensation method, system and display screen for a smart display screen provided in the embodiments of the present application have at least the following beneficial effects:

本申请采用分区式背光补偿方法对当前帧进行背光补偿,将显示屏划分为多个区域并确定目标区域,对目标区域内前景区域和背景区域分布的混乱程度和连续程度进行分析,获取目标区域的视觉复杂性指数;然后,对目标区域内部的纹理丰富程度和细节信息的丰富程度进行衡量,获取目标区域的纹理细节特征值,目标区域的纹理细节特征值反映了目标区域内微观细节信息和结构变化程度,当目标区域内部的纹理丰富程度和细节信息的丰富程度越大时,为了避免背光补偿后的细节信息丢失问题,目标区域对背光补偿的需求越小,进一步的,评价目标区域相对于当前帧中所有区域的视觉重要性,获取目标区域的对比度显著性,对比度显著性衡量了目标区域相对于当前帧中所有区域的视觉重要性,当目标区域的对比度显著性越大时,目标区域在视觉上越为突出、存在着越高对比度的明暗差异,目标区域对背光补偿的需求越大,进而获取目标区域的相对补偿需求,相对补偿需求是综合纹理细节特征值和对比度显著性后,获取的目标区域对背光补偿的综合需求;最后,确定前相邻帧,根据当前帧和前相邻帧的同一区域对背光补偿的综合需求差异,获取智能显示屏在目标区域的背光补偿结果,进而获取智能显示屏的背光补偿结果,背光补偿结果可以使显示屏在显示高对比度和低对比度的图像时,自动调整屏幕亮度、减少观看者眼睛疲劳,同时,减少高对比度部分的细节丢失,解决背光系统过度调整或过弱调整使高亮或过暗区域细节丢失的问题。The present application adopts a partitioned backlight compensation method to perform backlight compensation on the current frame, divides the display screen into multiple areas and determines the target area, analyzes the degree of chaos and continuity of the distribution of the foreground area and the background area in the target area, and obtains the visual complexity index of the target area; then, the texture richness and the richness of the detail information inside the target area are measured to obtain the texture detail feature value of the target area. The texture detail feature value of the target area reflects the degree of change of the microscopic detail information and the structure in the target area. When the texture richness and the richness of the detail information inside the target area are greater, in order to avoid the problem of loss of detail information after backlight compensation, the target area has a smaller demand for backlight compensation. Furthermore, the visual importance of the target area relative to all areas in the current frame is evaluated to obtain the contrast significance of the target area. The contrast significance measures the target area relative to all areas in the current frame. The visual importance of a region is determined. When the contrast significance of the target region is greater, the target region is more prominent visually and has a higher contrast difference in light and dark. The target region has a greater demand for backlight compensation, and then the relative compensation demand of the target region is obtained. The relative compensation demand is the comprehensive demand for backlight compensation of the target region obtained after comprehensively considering the texture detail feature value and contrast significance. Finally, the previous adjacent frame is determined, and the backlight compensation result of the smart display in the target region is obtained according to the difference in the comprehensive demand for backlight compensation of the same region of the current frame and the previous adjacent frame. Then, the backlight compensation result of the smart display is obtained. The backlight compensation result can enable the display to automatically adjust the screen brightness and reduce the eye fatigue of the viewer when displaying high-contrast and low-contrast images. At the same time, it reduces the loss of details in the high-contrast part and solves the problem of excessive or weak adjustment of the backlight system causing loss of details in the highlight or dark area.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案和优点,下面将对实施例或现有技术描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它附图。In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

图1为本申请一个实施例提供的一种面向智能显示屏的背光补偿方法的步骤流程图;FIG1 is a flowchart of a backlight compensation method for a smart display screen provided by an embodiment of the present application;

图2为本申请一个实施例提供的视觉复杂性指数获取流程图;FIG2 is a flowchart of obtaining a visual complexity index according to an embodiment of the present application;

图3为本申请一个实施例提供的相对补偿需求获取流程图。FIG3 is a flowchart of obtaining relative compensation requirements provided by an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为了更进一步阐述本申请为达成预定发明目的所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本申请提出的一种面向智能显示屏的背光补偿方法、系统及显示屏,其具体实施方式、结构、特征及其功效,详细说明如下。在下述说明中,不同的“一个实施例”或“另一个实施例”指的不一定是同一实施例。此外,一个或多个实施例中的特定特征、结构或特点可由任何合适形式组合。In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the backlight compensation method, system and display screen for a smart display screen proposed in accordance with the present application, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

除非另有规定和限定,诸如术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的电路结构、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种物品或者设备所固有的要素。在没有更多限制的情况下,有语句“包括一个……”限定的要素,并不排除在包括所述要素的物品或者设备中还存在另外的相同要素。另外,本文使用的术语“和\或”包括一个或多个相关的所列项目的任一的和所有的组合。本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。Unless otherwise specified and limited, terms such as "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such articles or devices. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the article or device including the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items. All technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of this application.

下面结合附图具体的说明本申请所提供的一种面向智能显示屏的背光补偿方法、系统及显示屏的具体方案。The following is a detailed description of a backlight compensation method, system and display screen solution for a smart display screen provided by the present application in conjunction with the accompanying drawings.

请参阅图1,其示出了本申请一个实施例提供的一种面向智能显示屏的背光补偿方法的步骤流程图,该方法包括以下步骤:Please refer to FIG. 1 , which shows a flowchart of a backlight compensation method for a smart display screen provided by an embodiment of the present application. The method includes the following steps:

步骤一:确定显示屏的当前帧的每个局部区域,将任意一个局部区域作为目标区域。Step 1: Determine each local area of the current frame of the display screen, and take any local area as the target area.

本实施例采用分区式背光补偿方法对当前帧进行背光补偿,将显示屏均分为24个局部区域,以便于后续的处理。This embodiment adopts a partitioned backlight compensation method to perform backlight compensation on the current frame, and divides the display screen into 24 local areas for the convenience of subsequent processing.

获取显示屏的每一帧图像,对于每一帧图像中的每一个局部区域分别进行分析,将所分析的图像帧记为当前帧,将当前帧中所分析的局部区域记为目标区域。Each frame of the display screen is acquired, and each local area in each frame of the image is analyzed respectively, and the analyzed image frame is recorded as the current frame, and the analyzed local area in the current frame is recorded as the target area.

其中,本实施例将显示屏均分为24个局部区域。局部区域数量根据本领域技术人员的经验值进行设定,或者根据本领域技术人员实验调试确定,作为其他实施方式,实施者可以根据实际情况自行决定局部区域数量的取值。In this embodiment, the display screen is divided into 24 local areas. The number of local areas is set according to the experience of those skilled in the art, or determined according to experimental debugging by those skilled in the art. As other implementation methods, the implementer can determine the value of the number of local areas according to actual conditions.

当相邻帧的对比度变化过大时,容易导致背光补偿过强,使显示屏闪烁,引起观看者视觉不适。此时,需要对背光补偿的程度进行调整。When the contrast between adjacent frames changes too much, it is easy to cause the backlight compensation to be too strong, causing the display screen to flicker and causing visual discomfort to the viewer. At this time, the degree of backlight compensation needs to be adjusted.

对当前帧进行灰度化处理,获取灰度图像,对灰度图像使用OTSU最大类间方差法进行二值化处理,获取划分阈值,将灰度图像中灰度值大于等于划分阈值的像素点组成的区域记为前景区域,将灰度图像中灰度值小于划分阈值的像素点组成的区域记为背景区域,获取二值图像。The current frame is grayed to obtain a gray image, and the gray image is binarized using the OTSU maximum inter-class variance method to obtain a partition threshold. The area composed of pixels in the gray image whose gray values are greater than or equal to the partition threshold is recorded as the foreground area, and the area composed of pixels in the gray image whose gray values are less than the partition threshold is recorded as the background area to obtain a binary image.

其中,本实施例采用平均值灰度化方法对当前帧进行灰度化处理,采用最大类间方差法对灰度图像进行二值化处理,平均值灰度化方法和最大类间方差法均为公知技术,不再赘述。在实现对当前帧进行灰度化处理和二值化处理这一目的的基础上,实施者可采用其他现有技术的其他方法对当前帧进行灰度化处理和二值化处理,本申请不做特殊限制。Among them, this embodiment adopts the average grayscale method to grayscale the current frame, and adopts the maximum inter-class variance method to binarize the grayscale image. The average grayscale method and the maximum inter-class variance method are both well-known technologies and will not be described in detail. On the basis of achieving the purpose of grayscale and binarization of the current frame, the implementer can adopt other methods of other existing technologies to grayscale and binarize the current frame, and this application does not make special restrictions.

至此,获取当前帧的目标区域、背景区域和前景区域。At this point, the target area, background area, and foreground area of the current frame are obtained.

步骤二:根据目标区域内在前景区域和背景区域的像素点的数量、数量差异和位置分布,获取目标区域的视觉复杂性指数。Step 2: Obtain the visual complexity index of the target area according to the number, number difference and position distribution of pixels in the foreground area and the background area of the target area.

根据目标区域内在前景区域和背景区域的像素点数量的差异,获取目标区域的分割差异度。所述目标区域的分割差异度与所述目标区域内在前景区域和背景区域的像素点数量的差异呈正相关关系。According to the difference in the number of pixels in the foreground area and the background area of the target area, the segmentation difference of the target area is obtained. The segmentation difference of the target area is positively correlated with the difference in the number of pixels in the foreground area and the background area of the target area.

可以理解的是,本申请正相关关系是指自变量和因变量之间的关系,正相关关系为自变量随着因变量的增大(减小)而增大(减小),可以为相加关系、相乘关系等。It can be understood that the positive correlation in this application refers to the relationship between the independent variable and the dependent variable. The positive correlation means that the independent variable increases (decreases) as the dependent variable increases (decreases), which can be an additive relationship, a multiplicative relationship, etc.

优选的,作为本申请的一个实施例,对当前帧的目标区域,将目标区域内在前景区域的像素点数量与目标区域包含的像素点数量之间的比值,记为前景区域比例;将目标区域内在背景区域的像素点数量与目标区域包含的像素点数量之间的比值,记为背景区域比例;将前景区域比例与背景区域比例的差值的绝对值,记为目标区域的分割差异度。Preferably, as an embodiment of the present application, for the target area of the current frame, the ratio between the number of pixels in the target area in the foreground area and the number of pixels contained in the target area is recorded as the foreground area ratio; the ratio between the number of pixels in the background area of the target area and the number of pixels contained in the target area is recorded as the background area ratio; the absolute value of the difference between the foreground area ratio and the background area ratio is recorded as the segmentation difference degree of the target area.

目标区域的分割差异度反映了目标区域内前景区域和背景区域分布的混乱程度。当目标区域内在前景区域和背景区域的像素点数量的差异越大时,目标区域的分割差异度越大。The segmentation difference of the target area reflects the degree of confusion of the distribution of the foreground area and the background area in the target area. When the difference in the number of pixels in the foreground area and the background area in the target area is greater, the segmentation difference of the target area is greater.

优选的,作为本申请的另一实施例,将前景区域比例与背景区域比例的比值的绝对值,记为目标区域的分割差异度。Preferably, as another embodiment of the present application, the absolute value of the ratio of the foreground area ratio to the background area ratio is recorded as the segmentation difference of the target area.

根据目标区域内前景区域和背景区域的像素点的位置分布,以及目标区域内包含的像素点数量,获取目标区域的分割杂乱度。The segmentation clutter of the target area is obtained according to the position distribution of the pixel points in the foreground area and the background area in the target area and the number of pixel points contained in the target area.

对目标区域包含的当前帧的二值图像使用灰度游程矩阵算法,获取目标区域在水平方向上的游程矩阵,将目标区域在水平方向上的游程矩阵记为目标区域的水平游程矩阵。将水平游程矩阵中最大游程的一半记为半游程,将游程长度小于半游程的游程记为短游程。将水平游程矩阵中与短游程的长度相同的短游程的数量作为短游程的权重,对各短游程的游程长度进行加权求和,将加权求和值与目标区域内包含的像素点数量的比值记为目标区域的分割杂乱度。The grayscale run matrix algorithm is used for the binary image of the current frame contained in the target area to obtain the run matrix of the target area in the horizontal direction, and the run matrix of the target area in the horizontal direction is recorded as the horizontal run matrix of the target area. Half of the maximum run in the horizontal run matrix is recorded as a half run, and the run length less than the half run is recorded as a short run. The number of short runs with the same length as the short run in the horizontal run matrix is used as the weight of the short run, and the run length of each short run is weighted and summed. The ratio of the weighted sum value to the number of pixels contained in the target area is recorded as the segmentation clutter of the target area.

目标区域的视觉复杂性指数反映了目标区域内前景区域和背景区域分布的连续程度,当目标区域内前景区域和背景区域分布的不规则程度越大时,目标区域内包含的短游程数量越多,目标区域内前景区域和背景区域的连续性越差、不规则程度越强。The visual complexity index of the target area reflects the continuity of the foreground area and the background area in the target area. When the irregularity of the distribution of the foreground area and the background area in the target area is greater, the number of short runs contained in the target area is greater, and the continuity of the foreground area and the background area in the target area is worse and the irregularity is stronger.

根据目标区域的分割差异度和分割杂乱度,获取目标区域的视觉复杂性指数,视觉复杂性指数获取流程图如图2所示。所述目标区域的视觉复杂性指数分别与目标区域的分割差异度和分割杂乱度呈正相关关系。According to the segmentation difference and segmentation clutter of the target area, the visual complexity index of the target area is obtained, and the visual complexity index acquisition flow chart is shown in Figure 2. The visual complexity index of the target area is positively correlated with the segmentation difference and segmentation clutter of the target area.

优选的,作为本申请的一个实施例,所述目标区域的视觉复杂性指数为所述目标区域的分割差异度和分割杂乱度的乘积。Preferably, as an embodiment of the present application, the visual complexity index of the target area is the product of the segmentation difference and the segmentation clutter of the target area.

优选的,作为本申请的另一实施例,所述目标区域的视觉复杂性指数为所述目标区域的分割差异度和分割杂乱度的和。Preferably, as another embodiment of the present application, the visual complexity index of the target area is the sum of the segmentation difference and the segmentation clutter of the target area.

当目标区域的分割差异度和分割杂乱度越大时,目标区域的视觉复杂性指数越大,目标区域内前景区域和背景区域分布的连续程度越差,分布越为混乱。When the segmentation difference and segmentation clutter of the target area are greater, the visual complexity index of the target area is greater, the continuity of the distribution of the foreground area and the background area in the target area is worse, and the distribution is more chaotic.

按照目标区域的视觉复杂性指数的获取方法,获取当前帧的所有区域的视觉复杂性指数。According to the method for obtaining the visual complexity index of the target area, the visual complexity index of all areas of the current frame is obtained.

至此,获取当前帧的所有区域的视觉复杂性指数。At this point, the visual complexity index of all regions of the current frame is obtained.

步骤三:根据当前帧的边缘像素点的邻域区域内像素点的纹理信息,计算目标区域的纹理细节特征值,根据当前帧中所有局部区域的中心像素点之间的距离和当前帧中所有局部区域的视觉复杂性指数,获取目标区域的对比度显著性,结合目标区域的纹理细节特征值获取目标区域的相对补偿需求。Step 3: Calculate the texture detail feature value of the target area based on the texture information of the pixel points in the neighborhood area of the edge pixel points of the current frame, obtain the contrast significance of the target area based on the distance between the central pixel points of all local areas in the current frame and the visual complexity index of all local areas in the current frame, and obtain the relative compensation requirement of the target area in combination with the texture detail feature value of the target area.

对灰度图像使用Sobel算子,获取当前帧的边缘像素点。在当前帧的灰度图像中,计算每个像素点的纹理特征值。在当前帧中,以边缘像素点作为中心像素点,将以第一预设阈值作为边长的窗口记为中心像素点的纹理特征窗口。将边缘像素点的纹理特征窗口内所有像素点的纹理特征值的均值作为边缘像素点的纹理特征值。将目标区域内所有边缘像素点的纹理特征值的均值,记为目标区域的纹理细节特征值。Use the Sobel operator on the grayscale image to obtain the edge pixels of the current frame. In the grayscale image of the current frame, calculate the texture feature value of each pixel. In the current frame, take the edge pixel as the center pixel, and record the window with the first preset threshold as the side length as the texture feature window of the center pixel. The average of the texture feature values of all pixels in the texture feature window of the edge pixel is taken as the texture feature value of the edge pixel. The average of the texture feature values of all edge pixels in the target area is recorded as the texture detail feature value of the target area.

其中,本实施例使用LBP特征值作为纹理特征值,作为其他实施方式,在实现获取像素点的纹理特征值这一目的的基础上,实施者可采用现有技术其他方法获取像素点的纹理特征值,本申请不做特殊限制;使用Sobel算子获取边缘像素点为公知技术,不再赘述。Among them, this embodiment uses LBP eigenvalues as texture eigenvalues. As other implementation methods, on the basis of achieving the purpose of obtaining the texture eigenvalues of pixel points, the implementer can adopt other methods of the prior art to obtain the texture eigenvalues of pixel points, and this application does not make any special restrictions. Using the Sobel operator to obtain edge pixels is a well-known technology and will not be repeated here.

目标区域的纹理细节特征值衡量了目标区域内部的纹理丰富程度和细节信息的丰富程度。当目标区域的纹理细节特征值越大时,目标区域内微观细节信息和结构变化越多,目标区域内部的纹理丰富程度和细节信息的丰富程度越大,为了避免背光补偿后的细节信息丢失问题,目标区域对背光补偿的需求越小。The texture detail eigenvalue of the target area measures the richness of the texture and the richness of the detail information inside the target area. When the texture detail eigenvalue of the target area is larger, the more microscopic detail information and structural changes there are in the target area, the richer the texture and the richer the detail information inside the target area, and in order to avoid the problem of detail information loss after backlight compensation, the target area has less demand for backlight compensation.

根据当前帧中所有局部区域的中心像素点之间的距离和当前帧中所有局部区域的视觉复杂性指数,获取目标区域的对比度显著性。The contrast saliency of the target area is obtained according to the distance between the central pixels of all local areas in the current frame and the visual complexity index of all local areas in the current frame.

获取当前帧中所有局部区域的中心像素点,分别计算目标区域的中心像素点与当前帧中其他每一个局部区域的中心像素点之间的欧氏距离,将欧氏距离记为对应的两个区域的第一距离。分别计算目标区域的视觉复杂性指数与当前帧中其他每一个局部区域的视觉复杂性指数之间的比值,将比值记为对应的两个区域的第一比值。将两个区域的第一距离与第一比值的乘积,记为两个区域的第一对比度。将目标区域与当前帧中其他每一个局部区域的第一对比度的累加和记为目标区域的对比度显著性。Get the central pixel points of all local areas in the current frame, calculate the Euclidean distance between the central pixel point of the target area and the central pixel point of each other local area in the current frame, and record the Euclidean distance as the first distance of the corresponding two areas. Calculate the ratio between the visual complexity index of the target area and the visual complexity index of each other local area in the current frame, and record the ratio as the first ratio of the corresponding two areas. The product of the first distance of the two areas and the first ratio is recorded as the first contrast of the two areas. The cumulative sum of the first contrast of the target area and each other local area in the current frame is recorded as the contrast significance of the target area.

目标区域的对比度显著性衡量了目标区域相对于当前帧中所有区域的视觉重要性。当目标区域的对比度显著性越大时,目标区域在视觉上越为突出,存在着越高对比度的明暗差异,目标区域对背光补偿的需求越大。The contrast saliency of the target region measures the visual importance of the target region relative to all regions in the current frame. When the contrast saliency of the target region is greater, the target region is more prominent visually, there is a higher contrast difference in light and dark, and the target region has a greater need for backlight compensation.

根据目标区域的纹理细节特征值和对比度显著性,获取目标区域的相对补偿需求,相对补偿需求获取流程图如图3所示。所述目标区域的相对补偿需求与目标区域的对比度显著性呈正相关关系,与目标区域的纹理细节特征值呈负相关关系。According to the texture detail feature value and contrast significance of the target area, the relative compensation requirement of the target area is obtained, and the relative compensation requirement acquisition flow chart is shown in Figure 3. The relative compensation requirement of the target area is positively correlated with the contrast significance of the target area, and negatively correlated with the texture detail feature value of the target area.

可以理解的是,本申请正相关关系与负相关关系是指自变量和因变量之间的关系,正相关关系为自变量随着因变量的增大(减小)而增大(减小),可以为相加关系、相乘关系等;负相关关系为自变量随着因变量的增大(减小)而减小(增大),可以是反比关系、相减关系等。It can be understood that the positive correlation and negative correlation in this application refer to the relationship between the independent variable and the dependent variable. The positive correlation is that the independent variable increases (decreases) as the dependent variable increases (decreases), which can be an additive relationship, a multiplicative relationship, etc.; the negative correlation is that the independent variable decreases (increases) as the dependent variable increases (decreases), which can be an inverse relationship, a subtractive relationship, etc.

优选的,作为本申请的一个实施例,所述目标区域的相对补偿需求为目标区域的对比度显著性与所述目标区域的纹理细节特征值的比值。Preferably, as an embodiment of the present application, the relative compensation requirement of the target area is a ratio of the contrast significance of the target area to the texture detail feature value of the target area.

优选的,作为本申请的另一实施例,所述目标区域的相对补偿需求为目标区域的对比度显著性与所述目标区域的纹理细节特征值的差值。Preferably, as another embodiment of the present application, the relative compensation requirement of the target area is the difference between the contrast significance of the target area and the texture detail feature value of the target area.

当目标区域的对比度显著性越小,目标区域的纹理细节特征值越大时,目标区域的相对补偿需求越小,目标区域对背光补偿的需求越小。When the contrast significance of the target area is smaller and the texture detail feature value of the target area is larger, the relative compensation requirement of the target area is smaller and the requirement of the target area for backlight compensation is smaller.

按照目标区域的纹理细节特征值的获取方法,获取当前帧的所有区域的纹理细节特征值。According to the method for obtaining the texture detail feature value of the target area, the texture detail feature values of all areas of the current frame are obtained.

至此,获取当前帧的所有区域的纹理细节特征值。At this point, the texture detail feature values of all regions of the current frame are obtained.

步骤四:根据当前帧与当前帧的相邻前一帧的目标区域的相对补偿需求的差异和对比度的差异,获取目标区域在当前帧的帧间背光调节程度,根据目标区域在前相邻帧内包含的所有像素点的像素值,获取目标区域在当前帧的背光亮度基准,结合帧间背光调节程度获取目标区域在当前帧的背光强度,根据目标区域在当前帧的背光强度和背光亮度基准,获取智能显示屏在目标区域的背光补偿结果。Step 4: Based on the difference in relative compensation requirements and contrast between the target area of the current frame and the previous frame adjacent to the current frame, obtain the inter-frame backlight adjustment degree of the target area in the current frame; based on the pixel values of all pixels of the target area in the previous adjacent frame, obtain the backlight brightness benchmark of the target area in the current frame; and based on the inter-frame backlight adjustment degree, obtain the backlight intensity of the target area in the current frame; based on the backlight intensity and backlight brightness benchmark of the target area in the current frame, obtain the backlight compensation result of the smart display in the target area.

将当前帧的前一个相邻的图像帧记为前相邻帧。当当前帧为第一帧时,不存在前相邻帧,无法进行下述分析,所以,不对显示屏的第一帧进行分析,即不对显示屏的第一帧进行背光补偿。The image frame immediately before the current frame is recorded as the previous adjacent frame. When the current frame is the first frame, there is no previous adjacent frame, and the following analysis cannot be performed, so the first frame of the display screen is not analyzed, that is, the first frame of the display screen is not backlight compensated.

将当前帧与前相邻帧的目标区域的相对补偿需求之间的差值,记为目标区域在当前帧的相对补偿差异。The difference between the relative compensation requirements of the target area in the current frame and the previous adjacent frame is recorded as the relative compensation difference of the target area in the current frame.

当目标区域在当前帧的相对补偿差异越大时,目标区域在当前帧与前相邻帧中的背光补偿需求的变化量越大,即目标区域在当前帧与前相邻帧对背光补偿分需求发生了越为显著的变化,越需要调整背光补偿的程度以帮助人眼适应这种变化。When the relative compensation difference of the target area in the current frame is greater, the change in the backlight compensation demand of the target area between the current frame and the previous adjacent frame is greater, that is, the more significant the change in the backlight compensation demand of the target area between the current frame and the previous adjacent frame, the more it is necessary to adjust the degree of backlight compensation to help the human eye adapt to this change.

将当前帧与前相邻帧的目标区域的对比度之间的差值,记为目标区域在当前帧的对比度差异。The difference between the contrast of the target area in the current frame and the previous adjacent frame is recorded as the contrast difference of the target area in the current frame.

本实施例使用目标区域内包含的灰度值的极差作为目标区域的对比度,在实现对目标区域的对比度进行计算这一目的的基础上,实施者可采用例如LC显著性算法获取目标区域的对比度,本申请不做特殊限制。This embodiment uses the extreme difference of the grayscale value contained in the target area as the contrast of the target area. On the basis of achieving the purpose of calculating the contrast of the target area, the implementer can use, for example, the LC significance algorithm to obtain the contrast of the target area, and this application does not impose any special restrictions.

当目标区域在当前帧的对比度差异越大时,目标区域在当前帧与前相邻帧中对比度的变化越大,越需要调整背光补偿的程度以帮助人眼适应这种变化。When the contrast difference of the target area in the current frame is greater, the contrast change of the target area in the current frame and the previous adjacent frame is greater, and the degree of backlight compensation needs to be adjusted more to help the human eye adapt to this change.

根据目标区域在当前帧的相对补偿差异和对比度差异,获取目标区域在当前帧的帧间背光调节程度。所述目标区域在当前帧的帧间背光调节程度与目标区域在当前帧的相对补偿差异和对比度差异呈正相关关系。According to the relative compensation difference and contrast difference of the target area in the current frame, the inter-frame backlight adjustment degree of the target area in the current frame is obtained. The inter-frame backlight adjustment degree of the target area in the current frame is positively correlated with the relative compensation difference and contrast difference of the target area in the current frame.

优选的,作为本申请的一个实施例,所述目标区域在当前帧的帧间背光调节程度为目标区域在当前帧的相对补偿差异和对比度差异的乘积。Preferably, as an embodiment of the present application, the inter-frame backlight adjustment degree of the target area in the current frame is the product of the relative compensation difference and the contrast difference of the target area in the current frame.

优选的,作为本申请的另一实施例,所述目标区域在当前帧的帧间背光调节程度为目标区域在当前帧的相对补偿差异和对比度差异的和。Preferably, as another embodiment of the present application, the inter-frame backlight adjustment degree of the target area in the current frame is the sum of the relative compensation difference and the contrast difference of the target area in the current frame.

当目标区域在当前帧的相对补偿差异和对比度差异越大时,目标区域在当前帧的帧间背光调节程度越大,越需要调整背光补偿的程度以帮助人眼适应这种变化。When the relative compensation difference and contrast difference of the target area in the current frame are greater, the inter-frame backlight adjustment degree of the target area in the current frame is greater, and the degree of backlight compensation needs to be adjusted more to help the human eye adapt to this change.

至此,获取目标区域在当前帧的帧间背光调节程度。At this point, the inter-frame backlight adjustment degree of the target area in the current frame is obtained.

将目标区域在前相邻帧内包含的所有像素点的像素值的平均值与标准差的和,记为目标区域在当前帧的背光亮度基准。目标区域在当前帧的背光亮度基准反映了目标区域在当前帧需要调整的背光亮度的程度。The sum of the average and standard deviation of the pixel values of all pixels in the target area in the previous adjacent frame is recorded as the backlight brightness reference of the target area in the current frame. The backlight brightness reference of the target area in the current frame reflects the degree of backlight brightness that needs to be adjusted in the target area in the current frame.

根据目标区域在当前帧的帧间背光调节程度和背光亮度基准,获取目标区域在当前帧的背光强度。The backlight intensity of the target area in the current frame is obtained according to the inter-frame backlight adjustment degree of the target area in the current frame and the backlight brightness reference.

将目标区域在当前帧的帧间背光调节程度的归一化值记为目标区域在当前帧的第一调节程度,将目标区域在当前帧的背光亮度基准、第一调节程度和预设的误差调整参数的乘积,记为目标区域在当前帧的背光强度。The normalized value of the inter-frame backlight adjustment degree of the target area in the current frame is recorded as the first adjustment degree of the target area in the current frame, and the product of the backlight brightness benchmark, the first adjustment degree and the preset error adjustment parameter of the target area in the current frame is recorded as the backlight intensity of the target area in the current frame.

其中,本实施例对预设的误差调整参数的取值为1.5,作为其他实施方式,实施者可以根据实际情况自行决定预设的误差调整参数的取值。In this embodiment, the value of the preset error adjustment parameter is 1.5. As other implementation modes, the implementer can determine the value of the preset error adjustment parameter according to actual conditions.

将目标区域在当前帧的背光强度与目标区域在当前帧的背光亮度基准之间的差值,作为显示屏中目标区域在当前帧的背光补偿量的取值,获取显示屏中目标区域在当前帧的背光补偿结果。The difference between the backlight intensity of the target area in the current frame and the backlight brightness reference of the target area in the current frame is used as the value of the backlight compensation amount of the target area in the display screen in the current frame to obtain the backlight compensation result of the target area in the display screen in the current frame.

根据目标区域在当前帧的背光补偿量的取值的获取方法,获取显示屏中每个区域在当前帧的背光补偿量的取值,实现显示屏在当前帧的背光补偿,获取智能显示屏的背光补偿结果。According to the method for obtaining the backlight compensation amount of the target area in the current frame, the backlight compensation amount of each area in the display screen in the current frame is obtained, the backlight compensation of the display screen in the current frame is realized, and the backlight compensation result of the smart display screen is obtained.

显示屏中每一个区域在当前帧的背光补偿量的取值即为实现显示屏在当前帧的背光补偿的调整量。背光补偿量可以使显示屏在显示高对比度和低对比度的图像时,自动调整屏幕亮度、减少观看者眼睛疲劳,同时,减少高对比度部分的细节丢失。The value of the backlight compensation amount of each area in the display screen in the current frame is the adjustment amount of the backlight compensation of the display screen in the current frame. The backlight compensation amount can enable the display screen to automatically adjust the screen brightness when displaying high-contrast and low-contrast images, reduce the viewer's eye fatigue, and at the same time, reduce the loss of details in the high-contrast part.

至此,获取智能显示屏的背光补偿结果。At this point, the backlight compensation result of the smart display is obtained.

基于与上述方法相同的发明构思,本发明实施例还提供了一种面向智能显示屏的背光补偿系统,包括存储器、处理器以及存储在所述存储器中并在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述一种面向智能显示屏的背光补偿方法中任意一项所述方法的步骤。Based on the same inventive concept as the above method, an embodiment of the present invention also provides a backlight compensation system for a smart display screen, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the computer program, the steps of any one of the above-mentioned backlight compensation methods for a smart display screen are implemented.

基于与上述方法相同的发明构思,本申请实施例还提供了一种面向智能显示屏的背光补偿显示屏,所述显示屏由上述任意一项所述一种面向智能显示屏的背光补偿方法制作而成。Based on the same inventive concept as the above method, an embodiment of the present application also provides a backlight compensation display screen for a smart display screen, and the display screen is made by any of the above-mentioned backlight compensation methods for a smart display screen.

可以理解的是:上述本申请实施例先后顺序仅仅为了描述,不代表实施例的优劣。且上述对本说明书特定实施例进行了描述。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。It is to be understood that the sequence of the embodiments of the present application described above is for description only and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of the present specification. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

以上内容,仅为本申请的实施方式,并非用于限制本申请的范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的保护范围内。The above content is only an implementation method of the present application and is not intended to limit the scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the protection scope of the present application.

Claims (9)

1.一种面向智能显示屏的背光补偿方法,其特征在于,该方法包括以下步骤:1. A backlight compensation method for a smart display screen, characterized in that the method comprises the following steps: 确定显示屏的当前帧的每个局部区域,将任意一个局部区域作为目标区域;Determine each local area of the current frame of the display screen, and take any local area as a target area; 根据目标区域内属于前景区域和背景区域的像素点的数量、数量差异和位置分布,获取目标区域的视觉复杂性指数;Obtaining a visual complexity index of the target area according to the number, number difference and position distribution of pixels belonging to the foreground area and the background area in the target area; 在当前帧中,将以边缘像素点为中心,以第一预设阈值为边长的窗口记为边缘像素点的纹理特征窗口;将边缘像素点的纹理特征窗口内所有像素点的纹理特征值的均值作为边缘像素点的纹理特征值;将目标区域内所有边缘像素点的纹理特征值的均值,记为目标区域的纹理细节特征值;根据当前帧中所有局部区域的中心像素点之间的距离和当前帧中所有局部区域的视觉复杂性指数,获取目标区域的对比度显著性,结合目标区域的纹理细节特征值获取目标区域的相对补偿需求;In the current frame, a window with an edge pixel as the center and a first preset threshold as the side length is recorded as a texture feature window of the edge pixel; the average of the texture feature values of all pixels in the texture feature window of the edge pixel is taken as the texture feature value of the edge pixel; the average of the texture feature values of all edge pixels in the target area is recorded as the texture detail feature value of the target area; the contrast significance of the target area is obtained according to the distance between the central pixels of all local areas in the current frame and the visual complexity index of all local areas in the current frame, and the relative compensation demand of the target area is obtained in combination with the texture detail feature value of the target area; 根据当前帧与当前帧的相邻前一帧的目标区域的相对补偿需求的差异和对比度的差异,获取目标区域在当前帧的帧间背光调节程度,根据目标区域在前相邻帧内包含的所有像素点的像素值,获取目标区域在当前帧的背光亮度基准,结合帧间背光调节程度获取目标区域在当前帧的背光强度,根据目标区域在当前帧的背光强度和背光亮度基准,获取智能显示屏在目标区域的背光补偿结果。According to the difference in relative compensation requirements and contrast between the target area of the current frame and the previous frame adjacent to the current frame, the inter-frame backlight adjustment degree of the target area in the current frame is obtained, and the backlight brightness benchmark of the target area in the current frame is obtained according to the pixel values of all pixels contained in the previous adjacent frame of the target area. The backlight intensity of the target area in the current frame is obtained in combination with the inter-frame backlight adjustment degree. According to the backlight intensity of the target area in the current frame and the backlight brightness benchmark, the backlight compensation result of the target area of the smart display is obtained. 2.如权利要求1所述的一种面向智能显示屏的背光补偿方法,其特征在于,所述目标区域的视觉复杂性指数的确定过程为:2. The backlight compensation method for a smart display screen according to claim 1, wherein the process of determining the visual complexity index of the target area is: 对当前帧的目标区域,将目标区域内属于前景区域的像素点数量与目标区域包含的像素点数量之间的比值,记为前景区域比例;将目标区域内在背景区域的像素点数量与目标区域包含的像素点数量之间的比值,记为背景区域比例;将前景区域比例与背景区域比例的差值的绝对值,记为目标区域的分割差异度;For the target area of the current frame, the ratio between the number of pixels in the target area belonging to the foreground area and the number of pixels in the target area is recorded as the foreground area ratio; the ratio between the number of pixels in the background area and the number of pixels in the target area is recorded as the background area ratio; the absolute value of the difference between the foreground area ratio and the background area ratio is recorded as the segmentation difference degree of the target area; 将目标区域在水平方向上的游程矩阵记为目标区域的水平游程矩阵,将水平游程矩阵中最大游程的一半记为半游程,将游程长度小于半游程的游程记为短游程,将水平游程矩阵中与短游程的长度相同的短游程的数量作为短游程的权重,对各短游程的游程长度进行加权求和,将加权求和值与目标区域内包含的像素点数量的比值记为目标区域的分割杂乱度;The run matrix of the target area in the horizontal direction is recorded as the horizontal run matrix of the target area, half of the maximum run in the horizontal run matrix is recorded as a half run, a run whose length is less than a half run is recorded as a short run, the number of short runs with the same length as the short run in the horizontal run matrix is used as the weight of the short run, the run lengths of each short run are weighted and summed, and the ratio of the weighted sum value to the number of pixels contained in the target area is recorded as the segmentation clutter of the target area; 根据目标区域的分割差异度和分割杂乱度,获取目标区域的视觉复杂性指数,所述目标区域的视觉复杂性指数分别与目标区域的分割差异度和分割杂乱度呈正相关关系。According to the segmentation difference and segmentation clutter of the target area, a visual complexity index of the target area is obtained, and the visual complexity index of the target area is positively correlated with the segmentation difference and segmentation clutter of the target area, respectively. 3.如权利要求1所述的一种面向智能显示屏的背光补偿方法,其特征在于,所述根据当前帧中所有局部区域的中心像素点之间的距离和当前帧中所有局部区域的视觉复杂性指数,获取目标区域的对比度显著性,获取的具体过程为:3. A backlight compensation method for a smart display screen according to claim 1, characterized in that the contrast significance of the target area is obtained according to the distance between the central pixels of all local areas in the current frame and the visual complexity index of all local areas in the current frame, and the specific process of obtaining is: 获取当前帧中所有区域的中心像素点,分别计算目标区域的中心像素点与当前帧中其他每一个局部区域的中心像素点之间的欧氏距离,将欧氏距离记为对应的两个区域的第一距离;Obtain the central pixel points of all regions in the current frame, calculate the Euclidean distance between the central pixel point of the target region and the central pixel point of each other local region in the current frame, and record the Euclidean distance as the first distance between the corresponding two regions; 分别计算目标区域的视觉复杂性指数与当前帧中其他每一个局部区域的视觉复杂性指数之间的比值,将比值记为对应的两个区域的第一比值;Calculate the ratio between the visual complexity index of the target area and the visual complexity index of each other local area in the current frame respectively, and record the ratio as the first ratio of the corresponding two areas; 将所述两个区域的第一距离与第一比值的乘积,记为所述两个区域的第一对比度,将目标区域与当前帧中其他每一个局部区域的第一对比度的累加和记为目标区域的对比度显著性。The product of the first distance and the first ratio of the two regions is recorded as the first contrast of the two regions, and the cumulative sum of the first contrast of the target region and each other local region in the current frame is recorded as the contrast significance of the target region. 4.如权利要求1所述的一种面向智能显示屏的背光补偿方法,其特征在于,所述目标区域的相对补偿需求的确定过程为:4. The backlight compensation method for a smart display screen according to claim 1, wherein the relative compensation requirement of the target area is determined by: 将目标区域的对比度显著性与目标区域的纹理细节特征值的比值记为目标区域的相对补偿需求。The ratio of the contrast saliency of the target area to the texture detail feature value of the target area is recorded as the relative compensation requirement of the target area. 5.如权利要求1所述的一种面向智能显示屏的背光补偿方法,其特征在于,所述根据当前帧与当前帧的相邻前一帧的目标区域的相对补偿需求的差异和对比度的差异,获取目标区域在当前帧的帧间背光调节程度,获取的具体过程为:5. A backlight compensation method for a smart display screen as claimed in claim 1, characterized in that the inter-frame backlight adjustment degree of the target area in the current frame is obtained according to the difference in relative compensation requirements and contrast between the target area in the current frame and the previous frame adjacent to the current frame, and the specific process of obtaining is: 将当前帧的前一个相邻的图像帧记为前相邻帧;Record the previous adjacent image frame of the current frame as the previous adjacent frame; 将当前帧与前相邻帧的目标区域的相对补偿需求之间的差值,记为目标区域在当前帧的相对补偿差异;将当前帧与前相邻帧的目标区域的对比度之间的差值,记为目标区域在当前帧的对比度差异;The difference between the relative compensation requirements of the target area of the current frame and the previous adjacent frame is recorded as the relative compensation difference of the target area in the current frame; the difference between the contrast of the target area of the current frame and the previous adjacent frame is recorded as the contrast difference of the target area in the current frame; 根据目标区域在当前帧的相对补偿差异和对比度差异,获取目标区域在当前帧的帧间背光调节程度,所述目标区域在当前帧的帧间背光调节程度与目标区域在当前帧的相对补偿差异和对比度差异呈正相关关系。According to the relative compensation difference and contrast difference of the target area in the current frame, the inter-frame backlight adjustment degree of the target area in the current frame is obtained, and the inter-frame backlight adjustment degree of the target area in the current frame is positively correlated with the relative compensation difference and contrast difference of the target area in the current frame. 6.如权利要求1所述的一种面向智能显示屏的背光补偿方法,其特征在于,所述根据目标区域在前相邻帧内包含的所有像素点的像素值,获取目标区域在当前帧的背光亮度基准,结合帧间背光调节程度获取目标区域在当前帧的背光强度,获取的具体过程为:6. A backlight compensation method for a smart display screen as claimed in claim 1, characterized in that the backlight brightness reference of the target area in the current frame is obtained according to the pixel values of all pixels contained in the target area in the previous adjacent frame, and the backlight intensity of the target area in the current frame is obtained in combination with the backlight adjustment degree between frames, and the specific process of obtaining is: 将目标区域在当前帧的帧间背光调节程度的归一化值记为目标区域在当前帧的第一调节程度,将目标区域在当前帧的背光亮度基准、第一调节程度和预设的误差调整参数的乘积,记为目标区域在当前帧的背光强度。The normalized value of the inter-frame backlight adjustment degree of the target area in the current frame is recorded as the first adjustment degree of the target area in the current frame, and the product of the backlight brightness benchmark, the first adjustment degree and the preset error adjustment parameter of the target area in the current frame is recorded as the backlight intensity of the target area in the current frame. 7.如权利要求1所述的一种面向智能显示屏的背光补偿方法,其特征在于,所述根据目标区域在当前帧的背光强度和背光亮度基准,获取智能显示屏在目标区域的背光补偿结果,获取的具体过程为:7. A backlight compensation method for a smart display screen as claimed in claim 1, characterized in that the backlight compensation result of the smart display screen in the target area is obtained according to the backlight intensity and backlight brightness reference of the target area in the current frame, and the specific process of obtaining is: 将目标区域在当前帧的背光强度与目标区域在当前帧的背光亮度基准之间的差值,作为显示屏中目标区域在当前帧的背光补偿量的取值,获取显示屏中目标区域在当前帧的背光补偿结果。The difference between the backlight intensity of the target area in the current frame and the backlight brightness reference of the target area in the current frame is used as the value of the backlight compensation amount of the target area in the display screen in the current frame to obtain the backlight compensation result of the target area in the display screen in the current frame. 8.一种面向智能显示屏的背光补偿系统,包括存储器、处理器以及存储在所述存储器中并在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1-7任意一项所述方法的步骤。8. A backlight compensation system for a smart display screen, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the method as described in any one of claims 1 to 7 when executing the computer program. 9.一种背光补偿显示屏,其特征在于,所述显示屏的背光补偿采用权利要求1-7任意一项所述方法。9. A backlight compensation display screen, characterized in that the backlight compensation of the display screen adopts the method described in any one of claims 1-7.
CN202410882942.0A 2024-07-03 2024-07-03 Backlight compensation method and system for intelligent display screen and display screen Active CN118430465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410882942.0A CN118430465B (en) 2024-07-03 2024-07-03 Backlight compensation method and system for intelligent display screen and display screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410882942.0A CN118430465B (en) 2024-07-03 2024-07-03 Backlight compensation method and system for intelligent display screen and display screen

Publications (2)

Publication Number Publication Date
CN118430465A CN118430465A (en) 2024-08-02
CN118430465B true CN118430465B (en) 2024-09-10

Family

ID=92310808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410882942.0A Active CN118430465B (en) 2024-07-03 2024-07-03 Backlight compensation method and system for intelligent display screen and display screen

Country Status (1)

Country Link
CN (1) CN118430465B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119207322B (en) * 2024-11-27 2025-02-18 北京显芯科技有限公司 Backlight control method, display chip and display device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534446A (en) * 2008-03-11 2009-09-16 索尼株式会社 Image processing device, method, and program
CN101663886A (en) * 2007-04-27 2010-03-03 夏普株式会社 Image processing device, method, image display device and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TR201001776A2 (en) * 2010-03-09 2011-09-21 Vestel Elektroni̇k Sanayi̇ Ve Ti̇caret A.Ş. Regional light control method using specific attributes.
KR102215986B1 (en) * 2014-10-20 2021-02-17 엘지디스플레이 주식회사 Power consumption control method and apparatus and display device using the same
CN113823234B (en) * 2021-11-22 2022-02-22 南京熊猫电子制造有限公司 RGB Mini-LED field sequence backlight control system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101663886A (en) * 2007-04-27 2010-03-03 夏普株式会社 Image processing device, method, image display device and method
CN101534446A (en) * 2008-03-11 2009-09-16 索尼株式会社 Image processing device, method, and program

Also Published As

Publication number Publication date
CN118430465A (en) 2024-08-02

Similar Documents

Publication Publication Date Title
Wang et al. Low-light image enhancement via the absorption light scattering model
CN103578084B (en) Color image enhancement method based on bright channel filtering
CN107895566B (en) A two-step method for liquid crystal pixel compensation based on S-curve and logarithmic curve
CN110570360B (en) A robust and comprehensive low-quality illumination image enhancement method based on Retinex
CN118430465B (en) Backlight compensation method and system for intelligent display screen and display screen
US8761539B2 (en) System for high ambient image enhancement
CN107257452B (en) A kind of image processing method, device and calculate equipment
CN113596573B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN112200736B (en) Image processing method based on reinforcement learning and model training method and device
CN116825039B (en) Backlight brightness calculating method, display device and computer readable storage medium
JP5859749B2 (en) Contrast improvement method using Bezier curve
CN109325918A (en) Image processing method and device and computer storage medium
CN116959381A (en) Image enhancement display method, display device and electronic device
Shin et al. Rendering high dynamic range images by using integrated global and local processing
CN114927109A (en) Backlight source control method and device, display equipment and storage medium
Sekeroglu Time-shift image enhancement method
CN118470071B (en) Intelligent vision monitoring and tracking method and system for general network
CN114581979A (en) Image processing method and device
Xu et al. Improving content visibility for high‐ambient‐illumination viewable display and energy‐saving display
CN107369157A (en) A kind of adaptive threshold Otsu image segmentation method and device
An et al. Perceptual brightness-based inverse tone mapping for high dynamic range imaging
CN109636749B (en) Image processing method
Albakri et al. Rapid contrast enhancement algorithm for natural contrast-distorted color images
CN114219774B (en) Image quality evaluation method, device, terminal and computer readable storage medium
CN115760816A (en) Method and device for determining illumination quality of face image 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
GR01 Patent grant
GR01 Patent grant