WO2018223602A1 - 显示终端、画面对比度提高方法及计算机可读存储介质 - Google Patents

显示终端、画面对比度提高方法及计算机可读存储介质 Download PDF

Info

Publication number
WO2018223602A1
WO2018223602A1 PCT/CN2017/111004 CN2017111004W WO2018223602A1 WO 2018223602 A1 WO2018223602 A1 WO 2018223602A1 CN 2017111004 W CN2017111004 W CN 2017111004W WO 2018223602 A1 WO2018223602 A1 WO 2018223602A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
apl
value
apl value
display terminal
Prior art date
Application number
PCT/CN2017/111004
Other languages
English (en)
French (fr)
Inventor
吕莹莹
李建强
Original Assignee
深圳Tcl新技术有限公司
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 深圳Tcl新技术有限公司 filed Critical 深圳Tcl新技术有限公司
Publication of WO2018223602A1 publication Critical patent/WO2018223602A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Definitions

  • the present invention relates to the field of display terminal technologies, and in particular, to a display terminal, a method for improving picture contrast, and a computer readable storage medium.
  • Existing display terminals such as televisions, are generally calculated based on one frame of image when contrast is improved.
  • the histogram is equalized by various algorithms to achieve a wider dynamic range.
  • the traditional dynamic contrast algorithm is: for APL (Average) Picture Luminance, the average pixel brightness) is higher, the overall brightness signal amplitude of the picture is reduced to get more bright details; for the APL centered picture, the low-brightness signal amplitude of the picture is decreased, and the high-brightness signal amplitude is raised. To get the changed contrast; for the lower APL picture, the overall brightness signal of the picture is added to get more dark details.
  • this dynamic contrast algorithm has the following drawbacks: for a lower APL picture, in order to display more dark picture details, the overall brightness of the picture is raised, so that the level of a small number of bright pictures is detrimental; For the APL centered picture, the light detail and the dark detail are detrimental; similarly, for the higher APL picture, in order to display more bright picture details, the overall brightness of the picture is depressed, thus, for a small amount of darkness The level of the picture is detrimental.
  • a primary object of the present invention is to provide a display terminal, a method for improving picture contrast, and a computer readable storage medium, which are capable of displaying more picture details when the picture contrast is improved.
  • the invention provides a method for improving picture contrast, and the method for improving picture contrast comprises the following steps:
  • the display terminal partitions each frame and extracts block information from each partition
  • a corresponding contrast enhancement curve is called according to the calculated APL value to improve the picture contrast.
  • the step of the display terminal partitioning each frame after acquiring each frame and extracting the block information from each partition includes:
  • the display terminal partitions each frame to obtain a plurality of small blocks of the same size
  • the step of calculating the APL value of each tile comprises:
  • the sum value is divided by the number of pixels to obtain the APL value of each small block.
  • the step of analyzing the block information of the adjacent partitions and performing dynamic merging to obtain the merged area includes:
  • the step of obtaining the merged area further includes:
  • the step of calculating the difference between the maximum APL value and the minimum APL value further comprises:
  • each merged area is analyzed and the APL value is calculated.
  • the step of the display terminal partitioning each frame after acquiring each frame and extracting the block information from each partition includes:
  • the display terminal partitions each frame to obtain a plurality of small blocks whose sizes are not completely consistent;
  • the step of analyzing the block information of the adjacent partitions and performing dynamic merging to obtain the merged area includes:
  • the adjacent partitions having similar difference values are merged to form a merged area.
  • the step of analyzing the merged area and calculating an average pixel brightness APL value thereof comprises:
  • the step of analyzing the merged area and calculating an average pixel brightness APL value thereof comprises:
  • the average pixel luminance APL value of the merged region is obtained by dividing the sum value by the number of pixels other than the number of pixels of the patch having the highest pixel luminance and the lowest pixel luminance.
  • the present invention further provides a display terminal, where the display terminal includes:
  • a screen contrast improvement program configured to implement the steps of the screen contrast enhancement method as described above.
  • the present invention also provides a computer readable storage medium having a picture contrast improvement program stored thereon, the picture contrast improvement program being executed by a processor to achieve image contrast improvement as described above The steps of the method.
  • the display terminal provided by the present invention, the method for improving the contrast of the screen, and the computer readable storage medium, after each frame of the frame is acquired by the display terminal, each frame of the frame is partitioned, and the block information is extracted from each partition, and then The block information of the adjacent partitions is analyzed and dynamically merged to obtain a merged area, and then the merged area is analyzed, and the APL value is calculated, and finally the corresponding contrast enhancement curve is called according to the calculated APL value.
  • FIG. 1 is a schematic structural diagram of a display terminal in a hardware operating environment according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of an embodiment of a method for improving picture contrast according to the present invention.
  • FIG. 3 is a schematic diagram showing a refinement flow of partitioning each frame frame after acquiring each frame frame in FIG. 2, and extracting block information from each partition;
  • FIG. 4 is a schematic diagram of a refinement flow of calculating the APL value of each small block in the step of FIG. 3;
  • FIG. 5 is a schematic diagram showing the refinement process of the first embodiment of the merged area by analyzing the block information of the adjacent partitions in the step of FIG. 1 and performing dynamic merging;
  • FIG. 6 is a schematic diagram of the refinement process of the second embodiment of the merged area by analyzing the block information of the adjacent partitions in the step of FIG. 1 and performing dynamic merging;
  • FIG. 7 is a schematic diagram showing the refinement process of the third embodiment of the merged area by analyzing the block information of the adjacent partitions in FIG. 1 and performing dynamic merging.
  • the display terminal of the present invention includes a processor 1001, such as a CPU, a user interface 1002, a memory 1003, and a communication bus 1004.
  • the communication bus 1004 is used to implement connection communication between these components.
  • the user interface 1002 can include a display, an input unit such as a remote control.
  • the memory 1003 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1003 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the display terminal structure shown in FIG. 1 does not constitute a limitation of the display terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
  • a memory 1003 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a screen contrast improvement program.
  • the user interface 1002 is mainly used for receiving a user to trigger a user instruction by inputting an instruction on the display unit or inputting an instruction in the input unit, such as displaying a program or switching a program, etc.; the processor 1001 is configured to call the memory 1003 for storage.
  • the screen contrast enhances the program and does the following:
  • the display terminal partitions each frame and extracts block information from each partition
  • a corresponding contrast enhancement curve is called according to the calculated APL value to improve the picture contrast.
  • processor 1001 may call the screen contrast improvement program stored in the memory 1003, and also perform the following operations:
  • the display terminal partitions each frame to obtain a plurality of small blocks of the same size
  • processor 1001 may call the screen contrast improvement program stored in the memory 1003, and also perform the following operations:
  • the sum value is divided by the number of pixels to obtain the APL value of each small block.
  • processor 1001 may call the screen contrast improvement program stored in the memory 1003, and also perform the following operations:
  • processor 1001 may call the screen contrast improvement program stored in the memory 1003, and also perform the following operations:
  • processor 1001 may call the screen contrast improvement program stored in the memory 1003, and also perform the following operations:
  • each merged area is analyzed and the APL value is calculated.
  • the present invention provides a method for improving picture contrast, including:
  • Step S1 After obtaining the frame of each frame, the display terminal partitions each frame of the frame, and extracts block information from each partition;
  • the display terminal may be a device having a screen display function, such as a television terminal, a notebook computer, a tablet computer, a desktop computer, a mobile terminal, such as a mobile phone.
  • the display terminal may preferably be a television terminal.
  • the display terminal After acquiring each frame of the frame, the display terminal performs partition processing on each frame to form a plurality of small blocks. Specifically, each frame is divided into a plurality of small blocks each having the same size.
  • the number of small blocks obtained after the partition processing is specifically determined by the movement of the display terminal such as a television. It can be understood that, for a display terminal with a high core capability, the number of small blocks obtained after the partition processing is increased; otherwise, the number of small blocks obtained after the partition processing is relatively small.
  • each frame of the picture may also be partitioned into small blocks of different tile sizes that are not identical or completely different. It should be understood that it is more convenient to define and calculate when each frame of picture is partitioned into different small blocks of the same size.
  • block information is extracted from each partition, and the block information may be an APL value of each small block, or may be a maximum pixel brightness or a minimum pixel brightness, and It can be a parameter such as the color amplitude.
  • Step S2 analyzing the block information of the adjacent partitions, and performing dynamic merge to obtain a merged area
  • the block information in each direction of each partition may be analyzed, and the difference value of the block information in each direction may be calculated, and the block information is taken as an example of the APL value, and a certain partition is selected for the upper, lower, In the left and right directions, the two partitions adjacent in each direction are respectively calculated, that is, the APL difference between two adjacent small blocks, and the adjacent partitions with similar APL differences, that is, adjacent small blocks are calculated. Consolidate to form a consolidation zone.
  • Step S3 analyzing the merged area, and calculating an average pixel brightness thereof (APL value);
  • each merged area obtained after the combination is analyzed, and the pixel brightness of all the small blocks in each merged area is added, and then divided by the number of pixels to obtain the APL value of each merged area.
  • the pixels with the highest pixel brightness and the lowest pixel brightness in each merging area may be removed, and then the sum of the pixels of all the small blocks in the merging area may be taken, and then divided by pixels. The number gets the APL value in the merged area. In this way, by setting the threshold value, large adjustments are avoided, and only a simple fine adjustment is required.
  • Step S4 Call a corresponding contrast enhancement curve according to the calculated APL value to improve the screen contrast.
  • the corresponding contrast enhancement curve is called according to the relationship between the APL value and the contrast enhancement curve.
  • the method of obtaining the contrast enhancement curve by the APL in each merged area is basically the same as the conventional dynamic contrast calculation method, and details are not described herein again.
  • the method for improving picture contrast provided by the present invention, after the display terminal acquires each frame of the frame, partitions each frame of the frame, extracts block information from each partition, and then analyzes the block information of the adjacent partition. And performing dynamic merging to obtain a merged area, and then analyzing the merged area, and calculating the APL value thereof, and finally calling the corresponding contrast enhancement curve according to the calculated APL value to improve the screen contrast.
  • the display terminal acquires each frame of the frame, partitions each frame of the frame, extracts block information from each partition, and then analyzes the block information of the adjacent partition. And performing dynamic merging to obtain a merged area, and then analyzing the merged area, and calculating the APL value thereof, and finally calling the corresponding contrast enhancement curve according to the calculated APL value to improve the screen contrast.
  • the step S1 includes:
  • Step S11 After obtaining the frame of each frame, the display terminal partitions each frame to obtain a plurality of small blocks of the same size;
  • the display terminal partitions each frame according to the movement capability of the display terminal, such as a television, to obtain a plurality of small blocks of uniform size, the small The specific number of blocks is determined by the capabilities of the display terminal such as the power of the television.
  • Step S12 Calculate the APL value of each small block.
  • the step S12 further includes:
  • Step S121 Obtain a sum value of brightness of all pixels in each small block
  • Step S122 dividing the sum value by the number of pixels to obtain an APL value of each small block.
  • all the pixel brightness of each small block is obtained, and the sum of the brightness of all the pixels is taken, and then the sum value is divided by the number of all pixels to obtain the APL value of each small block;
  • the step S2 includes:
  • Step S21 Calculate an APL difference value of the adjacent small block.
  • each small block can be centered on itself, and the four directions of upper, lower, left, and right are selected, and the difference between the adjacent small blocks in each direction and the APL is calculated.
  • Step S22 When the APL difference value is less than a preset threshold, all corresponding small blocks are dynamically merged to obtain a merged area.
  • the adjacent small blocks with similar APL differences may be combined to form a merged area.
  • the calculated APL difference value may be compared with a preset threshold, where the APL difference is smaller than the preset When the threshold is set, it indicates that the APL of the adjacent small blocks has a small difference, and all the corresponding small blocks can be dynamically merged to form a merged area; when the APL difference is greater than or equal to the preset threshold, the adjacent The APL of the small blocks is quite different and is not suitable for merging.
  • the method further includes:
  • Step S23 obtaining a maximum APL value and a minimum APL value in the merging area
  • the maximum APL value and the minimum APL value in each of the merged areas are obtained.
  • Step S24 calculating a difference between the maximum APL value and the minimum APL value
  • Step S25 Perform dynamic merge again when the difference is greater than or equal to the preset threshold.
  • the difference between the maximum APL value and the minimum APL value in each merging area is calculated, and then the magnitude relationship between the difference value and the preset threshold is compared, if the difference is greater than or It is equal to the preset threshold, indicating that there are small blocks with large APL differences in the merged area formed by dynamic merge at this time, and therefore, re-merge is needed.
  • the method further includes:
  • Step S26 When the difference is less than the preset threshold, analyze each merged area and calculate the APL value.
  • the difference is less than the preset threshold, it indicates that the APL of each small block is smaller in the merging area formed by dynamic merging at this time, and each merged area can be analyzed. And calculating the APL value to call the corresponding contrast enhancement curve according to the relationship between the APL value and the contrast enhancement curve.
  • an embodiment of the present invention further provides a display terminal and a computer readable storage medium, wherein the display terminal includes a screen contrast improving program, and the screen contrast improving program is configured to implement the steps of the screen contrast improving method as described above.
  • the computer readable storage medium stores a screen contrast improvement program, and the screen contrast enhancement program is executed by the processor to:
  • the display terminal partitions each frame and extracts block information from each partition
  • a corresponding contrast enhancement curve is called according to the calculated APL value to improve the picture contrast.
  • the display terminal partitions each frame to obtain a plurality of small blocks of the same size
  • the sum value is divided by the number of pixels to obtain the APL value of each small block.
  • each merged area is analyzed and the APL value is calculated.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

一种画面对比度提高方法、显示终端及计算机可读存储介质,所述方法包括以下步骤:显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息(S1);对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区(S2);对所述合并区进行分析,并计算其平均像素亮度APL值(S3);根据计算的所述APL值调用对应的对比度增强曲线,以提高画面对比度(S4)。上述方法可以在提高画面对比度时,能显示更多的画面细节。

Description

显示终端、画面对比度提高方法及计算机可读存储介质
技术领域
本发明涉及显示终端技术领域,特别涉及一种显示终端、画面对比度提高的方法及计算机可读存储介质。
背景技术
现有的显示终端如电视机,在进行对比度提高时,通常是基于一帧图像来统一计算的。为了获得更好的对比度,通过各种算法对画面实行直方图均衡化,达到更广的动态范围。传统的动态对比度的算法为:对于APL(Average Picture Luminance,平均像素亮度)较高的画面,将画面的整体亮度信号幅度下降以得到更多的亮细节;对于APL居中的画面,则将画面的低亮度信号幅度下降,高亮度信号幅度上抬,以得到更改的对比度;对于APL较低的画面,将画面的整体亮度信号上提以得到更多的暗细节。但这种动态对比度的算法具有以下缺陷:对于APL较低的画面,为了显示更多的暗画面细节,抬高了画面的整体亮度,这样,对于其中少量的亮画面的层次是有损的;对于APL居中的画面,中亮细节和暗细节是有损的;同理,对于APL较高的画面,为了显示更多的亮画面细节,压低了画面的整体亮度,这样,对于其中少量的暗画面的层次是有损的。
发明内容
本发明的主要目的是提供一种显示终端、画面对比度提高的方法及计算机可读存储介质,旨在提高画面对比度时,能显示更多的画面细节。
本发明提供一种画面对比度提高方法,所述画面对比度提高方法包括以下步骤:
显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息;
对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区;
对所述合并区进行分析,并计算其平均像素亮度APL值;
根据计算的所述APL值调用对应的对比度增强曲线,以提高画面对比度。
优选地,所述显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息的步骤包括:
显示终端在获取到每帧画面后,对每帧画面进行分区,得到多个大小一致的小块;
计算每个小块的APL值。
优选地,所述计算每个小块的APL值的步骤包括:
获取每个小块内的所有像素亮度的和值;
将所述和值除以像素个数得到每个小块的APL值。
优选地,所述对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区的步骤包括:
计算相邻小块的APL差值;
在所述APL差值小于预设阈值时,将对应的所有小块进行动态合并,得到合并区。
优选地,所述在所述APL差值小于预设阈值时,将对应的所有小块进行动态合并,得到合并区的步骤之后还包括:
获取所述合并区内的最大APL值以及最小APL值;
计算所述最大APL值与最小APL值之间的差值;
在所述差值大于或等于所述预设阈值时,重新进行动态合并。
优选地,所述计算所述最大APL值与最小APL值之间的差值的步骤之后还包括:
在所述差值小于所述预设阈值时,对每个合并区进行分析,并计算所述APL值。
优选地,所述显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息的步骤包括:
显示终端在获取到每帧画面后,对每帧画面进行分区,得到多个大小不完全一致的小块;
计算每个小块的APL值。
优选地,所述对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区的步骤包括:
对每个分区的各个方向的块信息进行分析,并计算相邻分区的各个方向的块信息的差异值;
将所述差异值相近的相邻分区合并形成合并区。
优选地,所述对所述合并区进行分析,并计算其平均像素亮度APL值的步骤包括:
获取各个合并区内的所有小块的像素亮度,并进行相加得到和值;
将所述和值除以像素个数,得到所述合并区的平均像素亮度APL值。
优选地,所述对所述合并区进行分析,并计算其平均像素亮度APL值的步骤包括:
获取各个合并区内像素亮度最高和像素亮度最低的小块以外的所有小块的像素亮度,并进行相加得到和值;
将所述和值除以像素亮度最高和像素亮度最低的小块的像素个数以外的所有像素个数,得到所述合并区的平均像素亮度APL值。
为实现上述目的,本发明还提供一种显示终端,所述显示终端包括:
画面对比度提高程序,所述画面对比度提高程序配置为实现如上所述的画面对比度提高方法的步骤。
为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有画面对比度提高程序,所述画面对比度提高程序被处理器执行实现如上所述的画面对比度提高方法的步骤。
本发明提供的显示终端、画面对比度的提高方法及计算机可读存储介质,通过显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息,然后对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区,再对所述合并区进行分析,并计算其APL值,最后根据计算的所述APL值调用对应的对比度增强曲线,以提高画面对比度。这样,通过对每帧画面进行亮暗自适应分区,然后对亮暗不同的分区调用不同的对比度增强曲线,以在提高画面对比度时,还可以保证画面的亮暗细节。
附图说明
图1为本发明实施例方案涉及的硬件运行环境的显示终端结构示意图;
图2为本发明画面对比度提高方法一实施例的流程示意图;
图3为图2中步骤显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息的细化流程示意图;
图4为图3中步骤计算每个小块的APL值的细化流程示意图;
图5为图1中步骤对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区第一实施例的细化流程示意图;
图6为图1中步骤对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区第二实施例的细化流程示意图;
图7为图1中步骤对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区第三实施例的细化流程示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明的显示终端,如图1所示,所述显示终端包括:处理器1001,例如CPU,用户接口1002,存储器1003,通信总线1004。其中,通信总线1004用于实现这些组件之间的连接通信。用户接口1002可以包括显示屏(Display)、输入单元比如遥控器。存储器1003可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1003可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的显示终端结构并不构成对显示终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1003中可以包括操作系统、网络通信模块、用户接口模块以及画面对比度提高程序。
在图1所示的显示终端中,用户接口1002主要用于接收用户通过触摸显示屏或在输入单元输入指令触发用户指令,如显示节目或切换节目等;处理器1001用于调用存储器1003中存储的画面对比度提高程序,并执行以下操作:
显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息;
对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区;
对所述合并区进行分析,并计算其平均像素亮度APL值;
根据计算的所述APL值调用对应的对比度增强曲线,以提高画面对比度。
进一步地,处理器1001可以调用存储器1003中存储的画面对比度提高程序,还执行以下操作:
显示终端在获取到每帧画面后,对每帧画面进行分区,得到多个大小一致的小块;
计算每个小块的APL值。
进一步地,处理器1001可以调用存储器1003中存储的画面对比度提高程序,还执行以下操作:
获取每个小块内的所有像素亮度的和值;
将所述和值除以像素个数得到每个小块的APL值。
进一步地,处理器1001可以调用存储器1003中存储的画面对比度提高程序,还执行以下操作:
计算相邻小块的APL差值;
在所述APL差值小于预设阈值时,将对应的所有小块进行动态合并,得到合并区。
进一步地,处理器1001可以调用存储器1003中存储的画面对比度提高程序,还执行以下操作:
获取所述合并区内的最大APL值以及最小APL值;
计算所述最大APL值与最小APL值之间的差值;
在所述差值大于或等于所述预设阈值时,重新进行动态合并。
进一步地,处理器1001可以调用存储器1003中存储的画面对比度提高程序,还执行以下操作:
在所述差值小于所述预设阈值时,对每个合并区进行分析,并计算所述APL值。
参照图2,在第一实施例中,本发明提供一种画面对比度提高方法,包括:
步骤S1、显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息;
本实施例中,所述显示终端可以是电视终端、笔记本电脑、平板电脑、台式电脑、移动终端如手机等具有画面显示功能的装置。本实施例中,所述显示终端可以优选为电视终端。
所述显示终端在获取到每帧画面后,对每帧画面进行分区处理形成多个小块,具体地,将每帧画面分区成每个小块大小一致的多个小块。分区处理后得到的小块的数量,具体由显示终端如电视的机芯决定。可以理解的是,对于机芯能力较高的显示终端,其进行分区处理后得到的小块数量也越多;反之,则进行分区处理后得到的小块数量相对较少。
在其他实施例中,还可以将每帧画面分区成各个小块大小不完全相同或完全不同的小块。应理解,当将每帧画面分区成大小相同的不同小块时,更方便定义和计算。
在得到多个小块,也即多个分区后,从每个分区中提取出块信息,所述块信息可以是每个小块的APL值,还可以是最大像素亮度或最小像素亮度,还可以是颜色幅度等参数。
步骤S2、对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区;
本实施例中,可以对每个分区的各个方向的块信息进行分析,并计算各个方向的块信息的差异值,以块信息为APL值为例,选取某一个分区,针对其上、下、左和右四个方向,分别计算各个方向相邻的两个分区,也即相邻的两个小块的APL差值,将所述APL差值相近的相邻分区,也即相邻小块进行合并,形成合并区。
步骤S3、对所述合并区进行分析,并计算其平均像素亮度)APL值;
本实施例中,对合并后得到的每个合并区进行分析,将各个合并区内的所有小块的像素亮度进行相加,然后再除以像素个数,得到各个合并区的APL值。当然,在其他实施例中,对于各个合并区,还可以将各个合并区内的像素亮度最高以及像素亮度最低的小块去掉,然后取合并区内所有小块的像素之和,再除以像素个数得到合并区内的APL值。如此,通过设置门限值,避免了大幅度调整,而是只需进行简单地微调即可。
步骤S4、根据计算的所述APL值调用对应的对比度增强曲线,以提高画面对比度。
本实施例中,在计算得到各个合并区内的APL值时,根据APL值与对比度增强曲线的关系,调用对应的对比度增强曲线。此处,各个合并区通过APL得到对比度增强曲线的方法与传统的动态对比度计算方法基本相同,此处不再赘述。
本发明提供的画面对比度提高方法,通过显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息,然后对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区,再对所述合并区进行分析,并计算其APL值,最后根据计算的所述APL值调用对应的对比度增强曲线,以提高画面对比度。这样,通过对每帧画面进行亮暗自适应分区,然后对亮暗不同的分区调用不同的对比度增强曲线,以在提高画面对比度时,还可以保证画面的亮暗细节。
在第二实施例中,参照图3,基于第一实施例,所述步骤S1包括:
步骤S11、显示终端在获取到每帧画面后,对每帧画面进行分区,得到多个大小一致的小块;
本实施例中,所述显示终端在每帧画面后,根据所述显示终端如电视的机芯能力,将所述每帧画面进行分区,得到多个大小一致的多个小块,所述小块的具体数量依据所述显示终端的如电视的机芯能力决定。
步骤S12、计算每个小块的APL值。
具体地,参照图4,基于第二实施例,所述步骤S12进一步包括:
步骤S121、获取每个小块内的所有像素亮度的和值;
步骤S122、将所述和值除以像素个数得到每个小块的APL值。
本实施例中,获取所述每个小块的所有像素亮度,并取所有像素亮度的和值,然后将所述和值除以所有像素个数,得到每个小块的APL值;当然,在其他实施例中,还可以将去除其中的最高像素以及最低像素,然后再取和值并除以除去最高像素以及最低像素后的像素个数。
在第三实施例中,参照图5,基于第一或第二实施例,所述步骤S2包括:
步骤S21、计算相邻小块的APL差值;
本实施例中,每个小块可以自身为中心,选择上、下、左和右四个方向,分别计算各个方向相邻的小块与自身的APL差值。
步骤S22、在所述APL差值小于预设阈值时,将对应的所有小块进行动态合并,得到合并区。
本实施例中,可以将APL差值相近的相邻小块进行合并形成合并区,具体地,可以将计算得到的APL差值与预设阈值进行比较,在所述APL差值小于所述预设阈值时,表明相邻的小块的APL相差较小,则可以将对应的所有小块进行动态合并形成合并区;在所述APL差值大于或等于所述预设阈值时,表明相邻的小块的APL相差较大,不适合进行合并。
在第四实施例中,参照图6,基于第三实施例,所述步骤S22之后还包括:
步骤S23、获取所述合并区内的最大APL值以及最小APL值;
本实施例中,在所述合并区形成后,针对每个合并区,获取各个所述合并区内的最大APL值以及最小APL值。
步骤S24、计算所述最大APL值与最小APL值之间的差值;
步骤S25、在所述差值大于或等于所述预设阈值时,重新进行动态合并。
本实施例中,计算各个合并区内的最大APL值与最小APL值之间的差值,然后再比较所述差值与所述预设阈值之间的大小关系,若所述差值大于或等于所述预设阈值,说明此时进行动态合并形成的合并区内,各个存在着APL相差较大的小块,因此,需要进行重新进行合并。
在第五实施例中,参照图7,基于第四实施例,所述步骤S24之后还包括:
步骤S26、在所述差值小于所述预设阈值时,对每个合并区进行分析,并计算所述APL值。
本实施例中,若所述差值小于所述预设阈值,说明此时进行动态合并形成的合并区内,各个小块的APL相差较小,可以对合并后的每个合并区进行分析,并计算所述APL值,以根据APL值与对比度增强曲线的关系,调用对应的对比度增强曲线。
此外,本发明实施例还提供一种显示终端以及计算机可读存储介质,所述显示终端包括画面对比度提高程序,所述画面对比度提高程序配置为实现如上所述的画面对比度提高方法的步骤。
所述计算机可读存储介质上存储有画面对比度提高程序,所述画面对比度提高程序被处理器执行时实现如下操作:
显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息;
对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区;
对所述合并区进行分析,并计算其平均像素亮度APL值;
根据计算的所述APL值调用对应的对比度增强曲线,以提高画面对比度。
进一步地,所述画面对比度提高程序被处理器执行时还实现如下操作:
显示终端在获取到每帧画面后,对每帧画面进行分区,得到多个大小一致的小块;
计算每个小块的APL值。
进一步地,所述画面对比度提高程序被处理器执行时还实现如下操作:
获取每个小块内的所有像素亮度的和值;
将所述和值除以像素个数得到每个小块的APL值。
进一步地,所述画面对比度提高程序被处理器执行时还实现如下操作:
计算相邻小块的APL差值;
在所述APL差值小于预设阈值时,将对应的所有小块进行动态合并,得到合并区。
进一步地,所述画面对比度提高程序被处理器执行时还实现如下操作:
获取所述合并区内的最大APL值以及最小APL值;
计算所述最大APL值与最小APL值之间的差值;
在所述差值大于或等于所述预设阈值时,重新进行动态合并。
进一步地,所述画面对比度提高程序被处理器执行时还实现如下操作:
在所述差值小于所述预设阈值时,对每个合并区进行分析,并计算所述APL值。
所述画面对比度提高程序被处理器执行时的具体实施例参照上文描述,此处不再赘述。
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是在本发明的发明构思下,利用本发明说明书及附图内容所作的等效结构变换,或直接/间接运用在其他相关的技术领域均包括在本发明的专利保护范围内。

Claims (12)

  1. 一种画面对比度提高方法,其特征在于,所述画面对比度提高方法包括以下步骤:
    显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息;
    对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区;
    对所述合并区进行分析,并计算其平均像素亮度APL值;
    根据计算的所述APL值调用对应的对比度增强曲线,以提高画面对比度。
  2. 如权利要求1所述的画面对比度提高方法,其特征在于,所述显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息的步骤包括:
    显示终端在获取到每帧画面后,对每帧画面进行分区,得到多个大小一致的小块;
    计算每个小块的APL值。
  3. 如权利要求2所述的画面对比度提高方法,其特征在于,所述计算每个小块的APL值的步骤包括:
    获取每个小块内的所有像素亮度的和值;
    将所述和值除以像素个数得到每个小块的APL值。
  4. 如权利要求2所述的画面对比度提高方法,其特征在于,所述对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区的步骤包括:
    计算相邻小块的APL差值;
    在所述APL差值小于预设阈值时,将对应的所有小块进行动态合并,得到合并区。
  5. 如权利要求4所述的画面对比度提高方法,其特征在于,所述在所述APL差值小于预设阈值时,将对应的所有小块进行动态合并,得到合并区的步骤之后还包括:
    获取所述合并区内的最大APL值以及最小APL值;
    计算所述最大APL值与最小APL值之间的差值;
    在所述差值大于或等于所述预设阈值时,重新进行动态合并。
  6. 如权利要求5所述的画面对比度提高方法,其特征在于,所述计算所述最大APL值与最小APL值之间的差值的步骤之后还包括:
    在所述差值小于所述预设阈值时,对每个合并区进行分析,并计算所述APL值。
  7. 如权利要求1所述的画面对比度提高方法,其特征在于,所述显示终端在获取到每帧画面后,对每帧画面进行分区,并从每个分区中提取出块信息的步骤包括:
    显示终端在获取到每帧画面后,对每帧画面进行分区,得到多个大小不完全一致的小块;
    计算每个小块的APL值。
  8. 如权利要求1所述的画面对比度提高方法,其特征在于,所述对相邻分区的所述块信息进行分析,并进行动态合并,得到合并区的步骤包括:
    对每个分区的各个方向的块信息进行分析,并计算相邻分区的各个方向的块信息的差异值;
    将所述差异值相近的相邻分区合并形成合并区。
  9. 如权利要求1所述的画面对比度提高方法,其特征在于,所述对所述合并区进行分析,并计算其平均像素亮度APL值的步骤包括:
    获取各个合并区内的所有小块的像素亮度,并进行相加得到和值;
    将所述和值除以像素个数,得到所述合并区的平均像素亮度APL值。
  10. 如权利要求1所述的画面对比度提高方法,其特征在于,所述对所述合并区进行分析,并计算其平均像素亮度APL值的步骤包括:
    获取各个合并区内像素亮度最高和像素亮度最低的小块以外的所有小块的像素亮度,并进行相加得到和值;
    将所述和值除以像素亮度最高和像素亮度最低的小块的像素个数以外的所有像素个数,得到所述合并区的平均像素亮度APL值。
  11. 一种显示终端,其特征在于,所述显示终端包括:
    画面对比度提高程序,所述画面对比度提高程序配置为实现如权利要求1至10中任一项所述的画面对比度提高方法的步骤。
  12. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有画面对比度提高程序,所述画面对比度提高程序被处理器执行实现如权利要求1至10中任一项所述的画面对比度提高方法的步骤。
PCT/CN2017/111004 2017-06-08 2017-11-15 显示终端、画面对比度提高方法及计算机可读存储介质 WO2018223602A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710431730.0A CN107291413A (zh) 2017-06-08 2017-06-08 显示终端、画面对比度提高方法及计算机可读存储介质
CN201710431730.0 2017-06-08

Publications (1)

Publication Number Publication Date
WO2018223602A1 true WO2018223602A1 (zh) 2018-12-13

Family

ID=60096731

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/111004 WO2018223602A1 (zh) 2017-06-08 2017-11-15 显示终端、画面对比度提高方法及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN107291413A (zh)
WO (1) WO2018223602A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291413A (zh) * 2017-06-08 2017-10-24 深圳Tcl新技术有限公司 显示终端、画面对比度提高方法及计算机可读存储介质
CN109788205B (zh) * 2017-11-15 2021-03-09 浙江宇视科技有限公司 图像调整方法、装置及电子设备
CN108053804B (zh) * 2017-12-29 2020-07-31 深圳Tcl新技术有限公司 显示终端供电电流的配置方法、装置及可读存储介质
CN108388416B (zh) * 2018-03-15 2021-03-05 京东方科技集团股份有限公司 显示装置的平均图像电平处理方法及系统
CN109660821B (zh) * 2018-11-27 2021-09-14 Oppo广东移动通信有限公司 视频处理方法、装置、电子设备及存储介质
CN113873209A (zh) * 2021-09-26 2021-12-31 京东方科技集团股份有限公司 画质调整方法、模组、显示系统和计算机可读介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2472500A1 (en) * 2009-08-27 2012-07-04 LG Electronics Inc. Display device
CN105070248A (zh) * 2015-09-08 2015-11-18 深圳市华星光电技术有限公司 提高画面对比度的oled驱动系统及驱动方法
CN105809638A (zh) * 2016-03-01 2016-07-27 深圳Tcl数字技术有限公司 图像处理方法及装置
CN106714003A (zh) * 2016-12-22 2017-05-24 深圳Tcl数字技术有限公司 动态背光调整方法及系统
CN107291413A (zh) * 2017-06-08 2017-10-24 深圳Tcl新技术有限公司 显示终端、画面对比度提高方法及计算机可读存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510302B (zh) * 2009-03-25 2014-05-21 北京中星微电子有限公司 一种图像增强方法和装置
KR101330396B1 (ko) * 2010-06-25 2013-11-15 엘지디스플레이 주식회사 표시장치와 그의 콘트라스트 향상 방법
CN105787965B (zh) * 2016-01-26 2018-08-07 安徽创世科技股份有限公司 一种基于颜色特征的图像检索方法
CN106251807B (zh) * 2016-08-31 2018-03-30 深圳市华星光电技术有限公司 用于提升oled画面对比度的驱动方法及驱动装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2472500A1 (en) * 2009-08-27 2012-07-04 LG Electronics Inc. Display device
CN105070248A (zh) * 2015-09-08 2015-11-18 深圳市华星光电技术有限公司 提高画面对比度的oled驱动系统及驱动方法
CN105809638A (zh) * 2016-03-01 2016-07-27 深圳Tcl数字技术有限公司 图像处理方法及装置
CN106714003A (zh) * 2016-12-22 2017-05-24 深圳Tcl数字技术有限公司 动态背光调整方法及系统
CN107291413A (zh) * 2017-06-08 2017-10-24 深圳Tcl新技术有限公司 显示终端、画面对比度提高方法及计算机可读存储介质

Also Published As

Publication number Publication date
CN107291413A (zh) 2017-10-24

Similar Documents

Publication Publication Date Title
WO2018223602A1 (zh) 显示终端、画面对比度提高方法及计算机可读存储介质
WO2018113187A1 (zh) 一种显示控制方法及显示装置
WO2018227869A1 (zh) 显示屏画面调整方法、显示终端及可读存储介质
WO2017148035A1 (zh) 图像处理方法及装置
WO2018223607A1 (zh) 电视终端及hdr图像转为sdr的方法和计算机可读存储介质
WO2017206368A1 (zh) 高动态范围画面切换方法及装置
WO2013159482A1 (zh) 图标智能显示的方法和装置
WO2015103864A1 (zh) 内存管理的方法及Linux终端
WO2019076087A1 (zh) 电视机及其显示图效控制方法、计算机可读存储介质
WO2018166224A1 (zh) 全景视频的目标追踪显示方法、装置及存储介质
WO2017088427A1 (zh) 音频输出控制方法及装置
WO2017215116A1 (zh) 智能电视的拍照方法及系统
WO2017190452A1 (zh) 背光自适应调节方法及装置
WO2017121066A1 (zh) 应用程序显示方法和系统
WO2017041537A1 (zh) 视频帧率的调节方法及装置
WO2018126888A1 (zh) 电视功能的快捷启动设置方法及装置
WO2016187998A1 (zh) 动态调整背光方法及装置
WO2017201893A1 (zh) 视频处理方法和装置
WO2017005062A1 (zh) 图片帧播放方法和装置
WO2018058831A1 (zh) 显示屏背光亮度调节方法及装置
WO2018113244A1 (zh) 一种侦测异常画面的色偏补偿方法及显示装置
WO2017080195A1 (zh) 音频识别方法及装置
WO2018094812A1 (zh) 调节液晶显示装置屏幕背光亮度的方法及装置
WO2017107386A1 (zh) 液晶显示终端色域提升方法及液晶显示终端
WO2019148818A1 (zh) 图像处理方法、装置、系统及计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17912822

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17912822

Country of ref document: EP

Kind code of ref document: A1