CN116978311A - Image display method, device, electronic equipment and storage medium - Google Patents
Image display method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116978311A CN116978311A CN202210426880.3A CN202210426880A CN116978311A CN 116978311 A CN116978311 A CN 116978311A CN 202210426880 A CN202210426880 A CN 202210426880A CN 116978311 A CN116978311 A CN 116978311A
- Authority
- CN
- China
- Prior art keywords
- gray
- scale
- compensation
- grayscale
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0233—Improving the luminance or brightness uniformity across the screen
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)
Abstract
本申请公开了一种图像显示方法、装置、电子设备及存储介质,该方法包括:获取待显示图像中与第一区域对应的第一灰阶数据,以及与第二区域对应的第二灰阶数据;根据屏幕的当前亮度档位对应的灰阶补偿映射表,确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数,灰阶补偿映射表包括不同灰阶值对应的灰阶补偿参数;基于各个灰阶值对应的灰阶补偿参数,对各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据;基于第二灰阶数据,以及第三灰阶数据,对待显示图像进行显示,第三灰阶数据用于屏幕显示待显示图像时,使第一区域呈现的灰阶与第一灰阶数据匹配。本方法可对发光像素与驱动电路之间存在较高阻抗的显示区域,改善其显示效果。
This application discloses an image display method, device, electronic equipment and storage medium. The method includes: acquiring first grayscale data corresponding to the first area in the image to be displayed, and second grayscale data corresponding to the second area. Data; determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data according to the grayscale compensation mapping table corresponding to the current brightness level of the screen. The grayscale compensation mapping table includes grayscale compensation corresponding to different grayscale values. Parameters; based on the grayscale compensation parameters corresponding to each grayscale value, perform grayscale compensation on each grayscale value to obtain the compensated third grayscale data; based on the second grayscale data and the third grayscale data, to be displayed The image is displayed, and when the third grayscale data is used to display the image to be displayed on the screen, the grayscale presented in the first area matches the first grayscale data. This method can improve the display effect in the display area where there is a high impedance between the light-emitting pixels and the driving circuit.
Description
技术领域Technical field
本申请涉及显示技术领域,更具体地,涉及一种图像显示方法、装置、电子设备及存储介质。The present application relates to the field of display technology, and more specifically, to an image display method, device, electronic equipment and storage medium.
背景技术Background technique
随着用户对电子设备的屏占比的要求越来越高,全面屏是手机终端发展的主要趋势。在全面屏的电子设备中,通常会将边框设计的更窄,以使屏占比更高,且电子设备的形态更加美观。但是,在窄边框的产品中,由于设计缺陷,会使得屏幕的边缘区域的发光像素与驱动电路之间存在较高阻抗,进而导致屏幕显示内容时边缘区域难以呈现原本所要表现的灰阶。As users have higher and higher requirements for the screen-to-body ratio of electronic devices, full-screen displays are the main trend in the development of mobile phone terminals. In full-screen electronic devices, the borders are usually designed to be narrower to make the screen-to-body ratio higher and the form of the electronic device more beautiful. However, in products with narrow bezels, due to design defects, there will be a high impedance between the light-emitting pixels in the edge area of the screen and the driving circuit, which will make it difficult for the edge area to display the original grayscale when the screen displays content.
发明内容Contents of the invention
本申请提出了一种图像显示方法、装置、电子设备及存储介质,可以针对发光像素与驱动电路之间存在较高阻抗的显示区域,改善其显示效果。This application proposes an image display method, device, electronic equipment and storage medium, which can improve the display effect in the display area where there is a high impedance between the light-emitting pixels and the driving circuit.
第一方面,本申请实施例提供了一种图像显示方法,应用于电子设备,所述电子设备包括屏幕,所述屏幕的显示区域包括第一区域以及第二区域,所述第一区域中的发光像素与连接的像素驱动电路之间的阻抗大于所述第二区域中的发光像素与连接的像素驱动电路之间的阻抗,所述第一区域为所述显示区域的边缘位置所在区域,所述方法包括:获取待显示图像中与所述第一区域对应的第一灰阶数据,以及与所述第二区域对应的第二灰阶数据;根据所述屏幕的当前亮度档位对应的灰阶补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数,所述灰阶补偿映射表包括不同灰阶值对应的灰阶补偿参数;基于所述各个灰阶值对应的灰阶补偿参数,对所述各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据;基于所述第二灰阶数据,以及所述第三灰阶数据,对所述待显示图像进行显示,所述第三灰阶数据用于所述屏幕显示所述待显示图像时,使所述第一区域呈现的灰阶与所述第一灰阶数据匹配。In a first aspect, embodiments of the present application provide an image display method applied to an electronic device. The electronic device includes a screen. The display area of the screen includes a first area and a second area. The impedance between the light-emitting pixel and the connected pixel driving circuit is greater than the impedance between the light-emitting pixel and the connected pixel driving circuit in the second area, and the first area is the area where the edge of the display area is located, so The method includes: obtaining first grayscale data corresponding to the first area in the image to be displayed, and second grayscale data corresponding to the second area; grayscale data corresponding to the current brightness level of the screen. a grayscale compensation mapping table to determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data. The grayscale compensation mapping table includes grayscale compensation parameters corresponding to different grayscale values; based on each grayscale Gray-scale compensation parameters corresponding to the values, perform gray-scale compensation on each gray-scale value, and obtain the compensated third gray-scale data; based on the second gray-scale data and the third gray-scale data, perform gray-scale compensation on each gray-scale value. The image to be displayed is displayed, and the third grayscale data is used to make the grayscale presented in the first area match the first grayscale data when the screen displays the image to be displayed.
第二方面,本申请实施例提供了一种图像显示装置,应用于电子设备,所述电子设备包括屏幕,所述屏幕的显示区域包括第一区域以及第二区域,所述第一区域中的发光像素与连接的像素驱动电路之间的阻抗大于所述第二区域中的发光像素与连接的像素驱动电路之间的阻抗,所述第一区域为所述显示区域的边缘位置所在区域,所述装置包括:第一获取模块、第二获取模块、灰阶补偿模块以及内容显示模块,其中,所述第一获取模块用于获取待显示图像中与所述第一区域对应的第一灰阶数据,以及与所述第二区域对应的第二灰阶数据;所述第二获取模块用于根据所述屏幕的当前亮度档位对应的灰阶补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数,所述灰阶补偿映射表包括不同灰阶值对应的灰阶补偿参数;所述灰阶补偿模块基于所述各个灰阶值对应的灰阶补偿参数,对所述各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据;所述内容显示模块用于基于所述第二灰阶数据,以及所述第三灰阶数据,对所述待显示图像进行显示,所述第三灰阶数据用于所述屏幕显示所述待显示图像时,使所述第一区域呈现的灰阶与所述第一灰阶数据匹配。In a second aspect, embodiments of the present application provide an image display device, which is applied to an electronic device. The electronic device includes a screen, and the display area of the screen includes a first area and a second area. The impedance between the light-emitting pixel and the connected pixel driving circuit is greater than the impedance between the light-emitting pixel and the connected pixel driving circuit in the second area, and the first area is the area where the edge of the display area is located, so The device includes: a first acquisition module, a second acquisition module, a gray scale compensation module and a content display module, wherein the first acquisition module is used to acquire the first gray scale corresponding to the first area in the image to be displayed. data, and second grayscale data corresponding to the second area; the second acquisition module is used to determine the first grayscale data according to the grayscale compensation mapping table corresponding to the current brightness level of the screen The gray scale compensation parameters corresponding to each gray scale value in the gray scale compensation mapping table include gray scale compensation parameters corresponding to different gray scale values; the gray scale compensation module is based on the gray scale compensation parameters corresponding to each gray scale value. , perform gray-scale compensation on each gray-scale value to obtain the compensated third gray-scale data; the content display module is used to calculate all gray-scale data based on the second gray-scale data and the third gray-scale data. The image to be displayed is displayed, and the third grayscale data is used to make the grayscale presented in the first area match the first grayscale data when the screen displays the image to be displayed.
第三方面,本申请实施例提供了一种电子设备,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个应用程序配置用于执行上述第一方面提供的图像显示方法。In a third aspect, embodiments of the present application provide an electronic device, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and Configured to be executed by the one or more processors, the one or more application programs are configured to execute the image display method provided by the above-mentioned first aspect.
第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述第一方面提供的图像显示方法。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium stores program code. The program code can be called by a processor to execute the image provided in the first aspect. Display method.
本申请提供的方案,由于电子设备的屏幕的显示区域包括第一区域以及第二区域,且第一区域中的发光像素与连接的像素驱动电路之间的阻抗大于第二区域中的发光像素与连接的像素驱动电路之间的阻抗,因此,电子设备对待显示图像进行显示时,通过获取待显示图像中与第一区域对应的第一灰阶数据,以及与第二区域对应的第二灰阶数据,然后根据屏幕的当前亮度档位对应的灰阶补偿映射表,确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数,再基于各个灰阶值对应的灰阶补偿参数,对各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据,然后基于第二灰阶数据,以及第三灰阶数据,对待显示图像进行显示,以使述屏幕显示待显示图像时,使第一区域呈现的灰阶与第一灰阶数据匹配。由此,能够改善屏幕中部分区域由于发光像素与像素驱动电路之间相对较高,所导致的显示效果不佳的问题,进而提升屏幕的显示效果。In the solution provided by this application, because the display area of the screen of the electronic device includes a first area and a second area, and the impedance between the light-emitting pixels in the first area and the connected pixel driving circuit is greater than the impedance between the light-emitting pixels in the second area and the connected pixel driving circuit. The impedance between the connected pixel driving circuits. Therefore, when the electronic device displays the image to be displayed, it obtains the first grayscale data corresponding to the first area in the image to be displayed, and the second grayscale data corresponding to the second area. data, and then determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data according to the grayscale compensation mapping table corresponding to the current brightness level of the screen, and then based on the grayscale compensation parameters corresponding to each grayscale value, Each grayscale value is subjected to grayscale compensation to obtain the compensated third grayscale data, and then based on the second grayscale data and the third grayscale data, the image to be displayed is displayed, so that when the screen displays the image to be displayed, The grayscale presented in the first area is matched with the first grayscale data. As a result, the problem of poor display effect caused by the relatively high distance between the light-emitting pixels and the pixel driving circuit in some areas of the screen can be improved, thereby improving the display effect of the screen.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.
图1示出了本申请实施例提供的屏幕的一种结构示意图。Figure 1 shows a schematic structural diagram of a screen provided by an embodiment of the present application.
图2示出了本申请实施例提供的屏幕的另一种结构示意图。Figure 2 shows another schematic structural diagram of a screen provided by an embodiment of the present application.
图3示出了本申请实施例提供的像素驱动电路以及发光像素的一种排布示意图。FIG. 3 shows a schematic arrangement of a pixel driving circuit and light-emitting pixels provided by an embodiment of the present application.
图4示出了本申请实施例提供的发光像素、像素驱动电路和外围电路的一种位置示意图。FIG. 4 shows a schematic position diagram of the light-emitting pixels, pixel driving circuits and peripheral circuits provided by the embodiment of the present application.
图5示出了根据本申请一个实施例的图像显示方法流程图。Figure 5 shows a flow chart of an image display method according to an embodiment of the present application.
图6示出了根据本申请另一个实施例的图像显示方法流程图。Figure 6 shows a flow chart of an image display method according to another embodiment of the present application.
图7示出了根据本申请又一个实施例的图像显示方法流程图。Figure 7 shows a flow chart of an image display method according to yet another embodiment of the present application.
图8示出了根据本申请再一个实施例的图像显示方法流程图。Figure 8 shows a flow chart of an image display method according to yet another embodiment of the present application.
图9示出了根据本申请又另一个实施例的图像显示方法流程图。Figure 9 shows a flow chart of an image display method according to yet another embodiment of the present application.
图10示出了根据本申请又再一个实施例的图像显示方法流程图。Figure 10 shows a flow chart of an image display method according to yet another embodiment of the present application.
图11示出了本申请实施例提供的屏幕的第一区域的划分示意图。Figure 11 shows a schematic diagram of the division of the first area of the screen provided by the embodiment of the present application.
图12示出了根据本申请再另一个实施例的图像显示方法流程图。Figure 12 shows a flow chart of an image display method according to yet another embodiment of the present application.
图13示出了根据本申请一个实施例的图像显示装置的一种框图。Figure 13 shows a block diagram of an image display device according to an embodiment of the present application.
图14是本申请实施例的用于执行根据本申请实施例的图像显示方法的电子设备的框图。FIG. 14 is a block diagram of an electronic device for performing an image display method according to an embodiment of the present application.
图15是本申请实施例的用于保存或者携带实现根据本申请实施例的图像显示方法的程序代码的存储单元。Figure 15 is a storage unit used to save or carry the program code for implementing the image display method according to the embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those in the technical field to better understand the solution of the present application, the technical solution in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application.
电子设备的屏占比指的是的屏幕面积占整机正面区域面积的比例。图1为电子设备的正面区域的示意图,区域A(屏幕正面发光区域)的面积为S1,整机正面区域面积为S2,区域A的外围为边框区域B,则电子设备的屏占比为:屏占比=S1/S2*100%,因此,为了提高电子设备的屏占比,通常会将电子设备的边框设计的更窄,使电子设备也更为美观。The screen-to-body ratio of an electronic device refers to the proportion of the screen area to the front area of the entire machine. Figure 1 is a schematic diagram of the front area of an electronic device. The area of area A (the front light-emitting area of the screen) is S1, the area of the front area of the whole machine is S2, and the periphery of area A is the frame area B. The screen-to-body ratio of the electronic device is: Screen-to-body ratio = S1/S2*100%. Therefore, in order to increase the screen-to-body ratio of an electronic device, the frame of the electronic device is usually designed to be narrower to make the electronic device more beautiful.
目前,为了实现提高电子设备的屏占比这一目标,电子设备中出现了单侧曲面屏、左右双侧曲面屏、瀑布屏、环绕屏等一些概念产品,这些产品主要是利用了有机发光二极管(Organic Light-Emitting Diode,OLED)显示屏的柔性特点,通过改变显示屏的贴合形态,视觉上达到边框减小的效果,从而来达到增加显示屏屏占比的目的,但是,对于OLED显示屏本身,边框并没有缩减,这不利于进一步提升显示屏的屏占比。因此,对于OLED显示屏更高的屏占比而言,如何减小OLED显示屏的边框极为重要。At present, in order to achieve the goal of increasing the screen-to-body ratio of electronic devices, some conceptual products such as single-sided curved screens, left and right double-sided curved screens, waterfall screens, and surround screens have appeared in electronic devices. These products mainly use organic light-emitting diodes. The flexible characteristics of the (Organic Light-Emitting Diode, OLED) display screen can visually achieve the effect of reducing the frame by changing the fitting form of the display screen, thereby achieving the purpose of increasing the screen-to-body ratio of the display screen. However, for OLED displays The screen itself and the bezels have not been reduced, which is not conducive to further improving the screen-to-body ratio of the display. Therefore, for the higher screen-to-body ratio of OLED displays, how to reduce the frame of OLED displays is extremely important.
相关技术中,实现窄边框主要是通过压缩设计的设计规则(design Rule)来实现。对于左右边框,主要压缩GOA(Gate on Array)、源极电源电压(VSS)、薄膜封装(Thin filmEncapsulation,TFE)的有效封装区、阴极(Cathode)接触面积等等;对于下边框,主要压缩延伸焊盘式布线(Fanout布线)的线宽线距、VSS、TFE有效封装区、Cathode接触面积等等。In related technologies, achieving narrow borders is mainly achieved by compressing design rules (design rules). For the left and right borders, the main compression is GOA (Gate on Array), source supply voltage (VSS), the effective packaging area of thin film encapsulation (TFE), cathode (Cathode) contact area, etc.; for the bottom border, the main compression and extension The line width and spacing of pad wiring (Fanout wiring), VSS, TFE effective packaging area, Cathode contact area, etc.
现有技术实现窄边框,主要是通过压缩设计design Rule来实现。但design Rule的压缩空间是有限的,而且压缩design Rule增加了工艺难度损失良率。因此,出现了在屏幕原本的区域中插入像素驱动电路,并且于原本的边框区域设置发光单元,通过氧化铟锡(ITO,Indium tin oxide)走线将像素驱动电路与原本的边框区域设置中的发光单元连接,从而可以将外围电路放置于原本的边框区域中发光单元的下方,进而可以减小边框的面积。Existing technology achieves narrow borders mainly by compressing design rules. However, the compression space of design rules is limited, and compressing design rules increases process difficulty and reduces yield. Therefore, a pixel drive circuit is inserted into the original area of the screen, and a light-emitting unit is set up in the original frame area. The pixel drive circuit is connected to the original frame area through indium tin oxide (ITO, Indium tin oxide) wiring. The light-emitting unit is connected, so that the peripheral circuit can be placed under the light-emitting unit in the original frame area, thereby reducing the area of the frame.
发明人经过长时间研究发现,虽然上述的方式可以提升屏占比,但是由于边缘区域中的发光像素通过透明走线与非边缘区域中插入的像素驱动电路连接,因此会带来阻抗的增加。进而,会导致两个区域显示相同灰阶的内容时,施加同样的电压,但两个区域中发光像素的亮度不同,即出现边缘区域无法达到其所要显示的亮度(需求呈现的灰阶),而非边缘区域由于不需要通过走线连接,因此能够正常呈现其所要显示的亮度,进而会出现边缘区域与非边缘区域显示亮度不均匀的情况,影响了显示效果。After a long period of research, the inventor found that although the above method can increase the screen-to-body ratio, the impedance will increase because the light-emitting pixels in the edge area are connected to the pixel driving circuit inserted in the non-edge area through transparent wiring. Furthermore, when the same grayscale content is displayed in two areas, the same voltage is applied, but the brightness of the light-emitting pixels in the two areas is different, that is, the edge area cannot reach the brightness it wants to display (the grayscale that needs to be displayed). Since the non-edge area does not need to be connected through wiring, it can normally display the brightness it is intended to display. In turn, the display brightness of the edge area and the non-edge area will be uneven, affecting the display effect.
针对上述问题,发明人提出了本申请实施例提供的图像显示方法、装置、电子设备以及存储介质,能够改善屏幕中部分区域由于发光像素与像素驱动电路之间的阻抗相对较高,所导致的显示效果不佳的问题,进而提升屏幕的显示效果。其中,具体的图像显示方法在后续的实施例中进行详细的说明。In response to the above problems, the inventor proposed the image display method, device, electronic equipment and storage medium provided by the embodiments of the present application, which can improve the problem caused by the relatively high impedance between the light-emitting pixels and the pixel driving circuit in some areas of the screen. Problems with poor display effects, thereby improving the display effect of the screen. The specific image display method will be described in detail in subsequent embodiments.
下面先对本申请实施例涉及的场景进行介绍。The scenarios involved in the embodiments of this application are first introduced below.
示例性地,请同时参阅图2及图3,电子设备的屏幕20的显示区域200包括第一区域210以及第二区域220,第一区域210为显示区域的边缘位置所在区域,即第一区域210处于显示区域的边缘,第二区域220为显示区域200中除第一区域210以外的区域。第二区域220中设有阵列分布的多个第一发光像素201,以及阵列分布的多个第一像素驱动电路202,多个第一像素驱动电路202与多个第一发光像素201一一对应,并且第一发光像素201与第一像素驱动电路202直接连接,以驱动各第一发光像素201发光;另外,第一区域210中设有阵列分布的多个第二发光像素203,第二区域220中还插入有多个第二像素驱动电路204,多个第二发光像素203与多个第二像素驱动电路204一一对应,并且由于第二发光像素203与第二像素驱动电路204相隔较远,因此通过透明走线将第二发光像素203与第二像素驱动电路204进行连接。For example, please refer to FIG. 2 and FIG. 3 at the same time. The display area 200 of the screen 20 of the electronic device includes a first area 210 and a second area 220. The first area 210 is the area where the edge of the display area is located, that is, the first area. 210 is at the edge of the display area, and the second area 220 is an area in the display area 200 other than the first area 210 . The second area 220 is provided with a plurality of first light-emitting pixels 201 distributed in an array, and a plurality of first pixel driving circuits 202 distributed in an array. The plurality of first pixel driving circuits 202 correspond to the plurality of first light-emitting pixels 201 in a one-to-one manner. , and the first light-emitting pixels 201 are directly connected to the first pixel driving circuit 202 to drive each first light-emitting pixel 201 to emit light; in addition, the first area 210 is provided with a plurality of second light-emitting pixels 203 distributed in an array, and the second area A plurality of second pixel driving circuits 204 are also inserted into 220. The plurality of second light-emitting pixels 203 correspond to the plurality of second pixel driving circuits 204 one-to-one, and because the second light-emitting pixels 203 and the second pixel driving circuit 204 are far apart, Therefore, the second light-emitting pixel 203 and the second pixel driving circuit 204 are connected through transparent wiring.
其中,第一发光像素201以及第二发光像素203用于发出光线,可以为micro-LED、有机发光二极管(Organic Light-Emitting Diode,OLED)、无机发光二极管等发光元件等。在本实施例中,以上述第一发光像素101以及第二发光像素102包括三种不同颜色的发光像素为例进行说明,三种颜色可以分别为红色(R)、绿色(G)和蓝色(B)。可以理解的是,上述数量仅用于示例性说明,而不用于限定本实施例的保护范围。Among them, the first light-emitting pixel 201 and the second light-emitting pixel 203 are used to emit light, and can be light-emitting elements such as micro-LED, organic light-emitting diode (OLED), inorganic light-emitting diode, etc. In this embodiment, the first light-emitting pixel 101 and the second light-emitting pixel 102 include three different colors of light-emitting pixels as an example. The three colors may be red (R), green (G) and blue respectively. (B). It can be understood that the above numbers are only used for illustrative purposes and are not used to limit the protection scope of this embodiment.
第一像素驱动电路202以及第二像素驱动电路204作为像素驱动电路,分别用于驱动第一发光像素201和第二发光像素202的发光,像素驱动电路可以包括存储电容和若干开关元件,开关元件可以是任意类型的晶体管,例如,双极性结型晶体管(bipolar junctiontransistor,BJT)、场效应晶体管(Field Effect Transistor,FET)或薄膜晶体管(ThinFilm Transistor,TFT)等。The first pixel driving circuit 202 and the second pixel driving circuit 204 are used as pixel driving circuits for driving the first light-emitting pixel 201 and the second light-emitting pixel 202 to emit light respectively. The pixel driving circuit may include a storage capacitor and a plurality of switching elements. The switching elements It can be any type of transistor, for example, a bipolar junction transistor (BJT), a field effect transistor (Field Effect Transistor, FET), or a thin film transistor (ThinFilm Transistor, TFT), etc.
可选地,透明走线包括:氧化铟锡ITO走线或者氧化铟锌IZO走线。可以理解地,ITO材料以及IZO材料均为透明材料,因此通过ITO走线或者IZO走线实现第二像素驱动电路204与第一区域210中的第二发光像素203之间的连接,可以保证第一区域210的透光量。并且,ITO材料以及IZO材料的阻抗较低,因此能够保证发光像素的正常工作。当然,透明走线的具体材料可以不做限定,也可以为其他材料的走线,仅需要保证透光率以及低阻抗即可。Optionally, the transparent traces include: indium tin oxide ITO traces or indium zinc oxide IZO traces. It can be understood that both ITO material and IZO material are transparent materials. Therefore, the connection between the second pixel driving circuit 204 and the second light-emitting pixel 203 in the first area 210 is realized through ITO wiring or IZO wiring, which can ensure that the The amount of light transmitted in an area 210. Moreover, the resistance of ITO materials and IZO materials is low, so they can ensure the normal operation of the light-emitting pixels. Of course, the specific material of the transparent wiring is not limited, and it can also be made of other materials. It only needs to ensure the light transmittance and low impedance.
进一步地,请参阅图4,图4中上述第一像素驱动电路202以及第二像素驱动电路204统称为像素驱动电路230,电子设备还包括外围电路240,外围电路240与像素驱动电路230电性连接;外围电路240在屏幕的显示平面上的正投影与第一区域中的第二发光像素203在该显示平面上的正投影至少部分重叠。其中,外围电路240可以为用于向像素驱动电路230提供扫描控制信号以及发光控制信号的电路,其可以处于屏幕20的边缘,外围电路可以为GOA、Fanout等。由于外围电路240在屏幕20的显示平面300上的正投影与第一区域中的第二发光像素203在显示平面300上的正投影至少部分重叠,因此可以减小外围电路240在屏幕20的显示区域以外的面积,从而实现减小边框的效果。Further, please refer to FIG. 4. The first pixel driving circuit 202 and the second pixel driving circuit 204 in FIG. 4 are collectively referred to as the pixel driving circuit 230. The electronic device also includes a peripheral circuit 240. The peripheral circuit 240 and the pixel driving circuit 230 are electrically connected. Connection; The orthographic projection of the peripheral circuit 240 on the display plane of the screen at least partially overlaps the orthographic projection of the second light-emitting pixel 203 in the first area on the display plane. The peripheral circuit 240 may be a circuit for providing scanning control signals and light emission control signals to the pixel driving circuit 230. It may be located at the edge of the screen 20, and the peripheral circuit may be GOA, Fanout, etc. Since the orthographic projection of the peripheral circuit 240 on the display plane 300 of the screen 20 at least partially overlaps with the orthographic projection of the second light-emitting pixel 203 in the first area on the display plane 300 , the display of the peripheral circuit 240 on the screen 20 can be reduced. area outside the area, thereby achieving the effect of reducing the border.
可选地,电子设备的屏幕的边缘位置均可以采用上述方式,由此可以减少左右两侧以及下侧的边框大小,进而实现窄边框的电子设备。Optionally, the edge positions of the screen of the electronic device can be adopted in the above manner, thereby reducing the size of the borders on the left and right sides and the lower side, thereby realizing an electronic device with narrow borders.
由于,第一区域中的发光像素与第二区域中的像素驱动电路通过透明走线连接,并且,第二区域中的发光像素与其对应的像素驱动电路直接连接,因此,第一区域中的发光像素与连接的像素驱动电路之间的阻抗会大于第二区域中的发光像素与其连接的像素电路之间的阻抗。也就是说,第二区域中发光像素与其连接的像素电路之间的阻抗为正常的阻抗,因此在显示内容时能够呈现正确的亮度,而第一区域中发光像素与其连接的像素电路之间的阻抗相对较大,因而在显示内容时无法呈现正确的亮度。因此,本申请实施例提供的图像显示方法中,针对第一区域的灰阶数据进行补偿,以使电子设备显示图像时,屏幕的第一区域能够呈现正确的灰阶。Since the light-emitting pixels in the first area are connected to the pixel driving circuit in the second area through transparent wiring, and the light-emitting pixels in the second area are directly connected to their corresponding pixel driving circuits, therefore, the light-emitting pixels in the first area are The impedance between the pixel and the connected pixel driving circuit will be greater than the impedance between the light-emitting pixel in the second area and the connected pixel circuit. That is to say, the impedance between the light-emitting pixels in the second area and the pixel circuit connected to it is a normal impedance, so the correct brightness can be displayed when displaying content, while the impedance between the light-emitting pixels in the first area and the pixel circuit connected to it is normal. The impedance is relatively large and therefore does not render the correct brightness when displaying content. Therefore, in the image display method provided by the embodiment of the present application, compensation is performed for the grayscale data of the first area, so that when the electronic device displays an image, the first area of the screen can present a correct grayscale.
下面再结合附图对本申请实施例提供的图像显示方法进行详细介绍。The image display method provided by the embodiment of the present application will be introduced in detail below with reference to the accompanying drawings.
请参阅图5,图5示出了本申请一个实施例提供的图像显示方法的流程示意图。在具体的实施例中,所述图像显示方法应用于上述电子设备。下面将针对图5所示的流程进行详细的阐述,所述图像显示方法具体可以包括以下步骤:Please refer to FIG. 5 , which shows a schematic flowchart of an image display method provided by an embodiment of the present application. In a specific embodiment, the image display method is applied to the above-mentioned electronic device. The process shown in Figure 5 will be described in detail below. The image display method may specifically include the following steps:
步骤S110:获取待显示图像中与所述第一区域对应的第一灰阶数据,以及与所述第二区域对应的第二灰阶数据。Step S110: Obtain the first grayscale data corresponding to the first area and the second grayscale data corresponding to the second area in the image to be displayed.
在本申请实施例中,电子设备进行内容显示时,可以获取待显示图像,以根据待显示图像的灰阶数据,对第一区域对应的灰阶数据进行补偿,从而避免因为第一区域的发光像素与连接的像素驱动电路之间的阻抗相对较高,而导致无法呈现待显示图像中对应区域原本的灰阶。其中,电子设备可以从待显示图像的灰阶数据中确定与第一区域对应的灰阶数据,并将其作为第一灰阶数据;从待显示图像的灰阶数据中确定与第二区域对应的灰阶数据,并将其作为第二灰阶数据。In the embodiment of the present application, when the electronic device displays content, it can obtain the image to be displayed, and compensate the grayscale data corresponding to the first area according to the grayscale data of the image to be displayed, thereby avoiding the problem of luminescence caused by the first area. The impedance between the pixel and the connected pixel driving circuit is relatively high, resulting in the inability to present the original gray scale of the corresponding area in the image to be displayed. Wherein, the electronic device can determine the grayscale data corresponding to the first area from the grayscale data of the image to be displayed, and use it as the first grayscale data; determine the grayscale data corresponding to the second area from the grayscale data of the image to be displayed. grayscale data and use it as the second grayscale data.
在一些实施方式中,待显示图像可以是电子设备运行过程中待显示的任一帧画面。例如,电子设备前台运行游戏应用时,则待显示图像为待显示的该游戏应用的游戏画面;又例如,电子设备进行视频播放时,则待显示图像可以为待显示的视频帧。当然,本申请实施例提供的图像显示方法并不局限于此处举例的场景。In some implementations, the image to be displayed may be any frame to be displayed during the operation of the electronic device. For example, when the electronic device is running a game application in the foreground, the image to be displayed is the game screen of the game application to be displayed; for example, when the electronic device is playing a video, the image to be displayed may be a video frame to be displayed. Of course, the image display method provided by the embodiments of the present application is not limited to the scenarios illustrated here.
在一些实施方式中,待显示图像的灰阶数据中包括各个像素点的灰阶值。电子设备可以针对待显示图像的图像数据,获取各个像素点的灰阶值,由此,可以得到待显示图像的灰阶数据。电子设备从待显示图像的灰阶数据中确定与第一区域对应的灰阶数据时,可以确定待显示图像中与第一区域的位置所匹配的图像区域,并获取该图像区域的灰阶数据,得到与第一区域对应的灰阶数据;同理,电子设备可以确定待显示图像中与第二区域的位置所匹配的图像区域,并获取该图像区域的灰阶数据,得到与第二区域对应的灰阶数据。In some implementations, the grayscale data of the image to be displayed includes the grayscale value of each pixel. The electronic device can obtain the grayscale value of each pixel point for the image data of the image to be displayed, thereby obtaining the grayscale data of the image to be displayed. When the electronic device determines the grayscale data corresponding to the first area from the grayscale data of the image to be displayed, it can determine the image area in the image to be displayed that matches the position of the first area, and obtain the grayscale data of the image area. , to obtain the grayscale data corresponding to the first area; similarly, the electronic device can determine the image area in the image to be displayed that matches the position of the second area, and obtain the grayscale data of the image area, and obtain the grayscale data corresponding to the second area. Corresponding grayscale data.
在一些实施方式中,电子设备的处理器可以确定待显示图像的灰阶数据后,将待显示图像的灰阶数据输入至屏幕的面板显示驱动芯片(Display Driver IntegratedCircuit,DDIC),然后由面板显示驱动芯片执行本申请实施例提供的图像显示方法,即执行步骤S110至步骤S140,以实现待显示图像的显示。In some embodiments, the processor of the electronic device can determine the grayscale data of the image to be displayed, input the grayscale data of the image to be displayed to the panel display driver chip (Display Driver Integrated Circuit, DDIC) of the screen, and then display it on the panel. The driver chip executes the image display method provided by the embodiment of the present application, that is, executes steps S110 to S140 to realize the display of the image to be displayed.
步骤S120:根据所述屏幕的当前亮度档位对应的灰阶补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数,所述灰阶补偿映射表包括不同灰阶值对应的灰阶补偿参数。Step S120: Determine the gray-scale compensation parameters corresponding to each gray-scale value in the first gray-scale data according to the gray-scale compensation mapping table corresponding to the current brightness level of the screen. The gray-scale compensation mapping table includes different gray scale values. The grayscale compensation parameter corresponding to the level value.
在本申请实施例中,电子设备在确定出与第一区域对应的第一灰阶数据,以及与第二区域对应的第二灰阶数据之后,则可以针对第一区域对应的灰阶数据,确定补偿参数,以对第一区域的灰阶数据进行补偿。其中,电子设备中可以预先设置有灰阶补偿映射表,电子设备可以根据灰阶补偿映射表,确定第一区域对应的灰阶数据中的各个灰阶值所对应的灰阶补偿参数,各个灰阶值为第一图像对应第一区域的内容中各个像素点的灰阶值;灰阶补偿参数可以是针对灰阶值进行补偿后的灰阶值,也可以是用于对灰阶值进行补偿的补偿值,在此不做限定。In this embodiment of the present application, after the electronic device determines the first gray-scale data corresponding to the first area and the second gray-scale data corresponding to the second area, it can target the gray-scale data corresponding to the first area, Compensation parameters are determined to compensate the grayscale data of the first area. Among them, the electronic device may be preset with a grayscale compensation mapping table, and the electronic device may determine the grayscale compensation parameters corresponding to each grayscale value in the grayscale data corresponding to the first region according to the grayscale compensation mapping table. The level value is the gray level value of each pixel in the content of the first image corresponding to the first area; the gray level compensation parameter can be the gray level value after compensation for the gray level value, or can be used to compensate the gray level value. The compensation value is not limited here.
另外,由于亮度档位也会影响屏幕的显示,因此,电子设备可以基于当前亮度档位对应的灰阶补偿映射表,确定第一灰阶数据中的各个灰阶值对应的补偿参数。可以理解地,屏幕通常有多个亮度档位,每个亮度档位具有最大亮度,且最小亮度为0,每个亮度档位的最大亮度可以自行设置,例如,若有10个亮度档位,则各个亮度档位的最大值可以分别为:1000、800、600、500、400、300、200、100、50和2nit(尼特),每个亮度档为从0到最大亮度按照指数2.2划分为256灰阶(0-255),0灰阶对应0nit,255灰阶对应每个亮度档位的最大亮度,因此不同亮度档位下输入相同的灰阶值,会使得亮度不同。故本申请实施例中,电子设备可以基于不同的亮度档位的灰阶补偿映射表,确定第一灰阶数据中的各个灰阶值所对应的补偿参数。In addition, since the brightness level will also affect the display of the screen, the electronic device can determine the compensation parameters corresponding to each gray level value in the first gray level data based on the gray scale compensation mapping table corresponding to the current brightness level. Understandably, the screen usually has multiple brightness levels. Each brightness level has a maximum brightness and a minimum brightness of 0. The maximum brightness of each brightness level can be set by yourself. For example, if there are 10 brightness levels, Then the maximum values of each brightness level can be: 1000, 800, 600, 500, 400, 300, 200, 100, 50 and 2nit (nit). Each brightness level is divided from 0 to the maximum brightness according to the index 2.2 It is 256 grayscale (0-255), 0 grayscale corresponds to 0nit, and 255 grayscale corresponds to the maximum brightness of each brightness gear. Therefore, inputting the same grayscale value under different brightness gears will result in different brightness. Therefore, in the embodiment of the present application, the electronic device can determine the compensation parameters corresponding to each grayscale value in the first grayscale data based on the grayscale compensation mapping tables of different brightness levels.
在一些实施方式中,电子设备中可以设置有不同亮度档位对应的灰阶补偿映射表。电子设备执行步骤S120时,可以从不同亮度档位对应的灰阶补偿映射表中,确定当前亮度档位对应的灰阶补偿映射表。In some embodiments, the electronic device may be provided with gray scale compensation mapping tables corresponding to different brightness levels. When the electronic device performs step S120, it may determine the gray-scale compensation mapping table corresponding to the current brightness level from the gray-scale compensation mapping tables corresponding to different brightness levels.
在一些实施方式中,上述灰阶补偿映射表可以存储于屏幕的DDIC中。由于DDIC中的存储器的空间大小有限,因此,DDIC中可以存储有部分亮度档位对应的灰阶补偿映射表。电子设备根据屏幕的当前亮度档位对应的灰阶补偿映射表,确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数时,可以根据存储的灰阶补偿映射表所对应的亮度档位,对存储的灰阶补偿映射表中的补偿参数进行转换,并得到第一灰阶数据中各个灰阶值对应的灰阶补偿参数。In some implementations, the above-mentioned gray scale compensation mapping table may be stored in the DDIC of the screen. Since the memory space in the DDIC is limited, the gray scale compensation mapping table corresponding to some brightness levels can be stored in the DDIC. When the electronic device determines the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data according to the grayscale compensation mapping table corresponding to the current brightness level of the screen, the electronic device can determine the grayscale compensation parameters corresponding to the stored grayscale compensation mapping table based on the grayscale compensation mapping table. bit, convert the compensation parameters in the stored gray-scale compensation mapping table, and obtain the gray-scale compensation parameters corresponding to each gray-scale value in the first gray-scale data.
在一些实施方式中,上述灰阶补偿映射表可以是预先在屏幕处于相应的亮度档位下,控制第一区域显示相应灰阶值的测试内容,并通过调整内容的灰阶值,使第一区域呈现的灰阶与测试内容原本的灰阶匹配,由此可以得到相应的亮度档位下,不同灰阶值与灰阶补偿参数之间的映射关系。In some embodiments, the above-mentioned gray scale compensation mapping table may be a test content that controls the first area to display the corresponding gray scale value in advance when the screen is at a corresponding brightness level, and adjusts the gray scale value of the content so that the first The gray scale presented in the area matches the original gray scale of the test content, so that the mapping relationship between different gray scale values and gray scale compensation parameters at the corresponding brightness level can be obtained.
在一些实施方式中,由于通常在低亮度档位下显示低灰阶的内容时,输入至发光像素的电压较小,导致用户感知到的屏幕呈现的亮度出现差异,因此,电子设备在显示待显示图像时,可以确定当前亮度档位是否低于预设亮度档位,以及第一灰阶数据中的灰阶值是否第一预设灰阶值;若当前亮度档位低于预设亮度档位,且第一灰阶数据中的灰阶值低于预设灰阶值,则表示当前对待显示图像进行显示时,若不进行补偿,则会出现第一区域的显示亮度无法达到原本想要显示的亮度(需要呈现的图像灰阶),因此,则可以执行步骤S120以及后续的步骤,以保证第一区域能够呈现原本想要显示的亮度。其中,预设亮度档位可以为屏幕显示内容时第一区域可能出现显示亮度无法达到原本想要显示的亮度的档位,例如可以为最大亮度为100nit的档位及最大亮度为100nit以下的亮度档位;预设灰阶值可以为屏幕显示内容时,其被作为输入的灰阶值,可能出现显示亮度无法达到原本想要显示的亮度的灰阶值,例如,可以为64灰阶及64灰阶以下的灰阶。In some embodiments, since the voltage input to the light-emitting pixels is usually small when displaying low-grayscale content at a low brightness level, resulting in a difference in the brightness of the screen perceived by the user, therefore, the electronic device displays the content to be displayed at a low brightness level. When displaying an image, it can be determined whether the current brightness level is lower than the preset brightness level, and whether the grayscale value in the first grayscale data is the first preset grayscale value; if the current brightness level is lower than the preset brightness level bit, and the grayscale value in the first grayscale data is lower than the preset grayscale value, it means that when the image to be displayed is currently displayed, if no compensation is performed, the display brightness of the first area will not reach the originally intended value. The brightness of the display (the gray scale of the image that needs to be displayed), therefore, step S120 and subsequent steps can be performed to ensure that the first area can present the brightness originally intended to be displayed. Among them, the preset brightness level can be a level where the display brightness in the first area may not reach the originally intended display brightness when the screen displays content. For example, it can be a level with a maximum brightness of 100 nit and a level with a maximum brightness of less than 100 nit. Gear level; the default grayscale value can be used as the input grayscale value when displaying content on the screen. The display brightness may not reach the grayscale value originally intended to be displayed. For example, it can be 64 grayscale and 64 Grayscale below grayscale.
步骤S130:基于所述各个灰阶值对应的灰阶补偿参数,对所述各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据。Step S130: Based on the grayscale compensation parameters corresponding to the respective grayscale values, perform grayscale compensation on the respective grayscale values to obtain compensated third grayscale data.
在本申请实施例中,在获取到第一灰阶数据中各个灰阶值对应的灰阶补偿参数后,则可以针对各个灰阶值进行补偿,从而得到补偿后的各个灰阶值,并将补偿后的各个灰阶值作为第三灰阶数据。In the embodiment of the present application, after obtaining the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data, compensation can be performed for each grayscale value, thereby obtaining each compensated grayscale value, and Each compensated gray level value is used as the third gray level data.
在一些实施方式中,若灰阶补偿参数为针对灰阶值补偿后的灰阶值,则可以直接将各个灰阶值对应的灰阶补偿参数,作为补偿后的各个灰阶值;若灰阶补偿参数为针对灰阶值的补偿值,则可以基于补偿值,对灰阶值进行补偿,例如,第一区域数据中其中一个灰阶值为40,其对应的补偿值为10,则补偿后的灰阶值为:40+10=50。In some implementations, if the grayscale compensation parameter is the grayscale value after compensation for the grayscale value, then the grayscale compensation parameter corresponding to each grayscale value can be directly used as each compensated grayscale value; if the grayscale value The compensation parameter is the compensation value for the grayscale value, and the grayscale value can be compensated based on the compensation value. For example, one of the grayscale values in the first area data is 40, and its corresponding compensation value is 10, then after compensation The grayscale value is: 40+10=50.
步骤S140:基于所述第二灰阶数据,以及所述第三灰阶数据,对所述待显示图像进行显示,所述第三灰阶数据用于所述屏幕显示所述待显示图像时,使所述第一区域呈现的灰阶与所述第一灰阶数据匹配。Step S140: Display the image to be displayed based on the second grayscale data and the third grayscale data. The third grayscale data is used when the screen displays the image to be displayed, The gray scale presented in the first area is matched with the first gray scale data.
在本申请实施例中,在针对第一灰阶数据中的各个灰阶值进行补偿后,则可以基于第二灰阶数据,以及第三灰阶数据,对待显示图像进行显示。其中,屏幕的DDIC可以将第一区域对应的第三灰阶数据以及第二区域对应的第二灰阶数据,作为输入的灰阶数据,对待显示图像进行显示。由于第一区域中的灰阶数据得到了补偿,补偿后的灰阶值使屏幕显示待显示图像时,第一区域呈现的灰阶与原始的第一灰阶数据(即原本所要呈现的灰阶)匹配,从而可以使得第一区域能够呈现正确的灰阶,避免第一区域与第二区域出现显示不均匀的情况,保证屏幕的显示效果。In the embodiment of the present application, after each grayscale value in the first grayscale data is compensated, the image to be displayed can be displayed based on the second grayscale data and the third grayscale data. The DDIC of the screen can use the third grayscale data corresponding to the first area and the second grayscale data corresponding to the second area as input grayscale data to display the image to be displayed. Since the grayscale data in the first area has been compensated, the compensated grayscale value causes the grayscale presented in the first area to be the same as the original first grayscale data (i.e., the grayscale originally intended to be presented) when the screen displays the image to be displayed. ) matching, so that the first area can present a correct gray scale, avoid uneven display between the first area and the second area, and ensure the display effect of the screen.
本申请实施例提供的图像显示方法,由于电子设备的屏幕的显示区域包括第一区域以及第二区域,且第一区域中的发光像素与连接的像素驱动电路之间的阻抗大于第二区域中的发光像素与连接的像素驱动电路之间的阻抗,因此,电子设备对待显示图像进行显示时,针对待显示图像中对应第一区域的内容的灰阶数据,利用当前亮度档位对应的灰阶补偿映射表,确定灰阶补偿参数后进行灰阶补偿,而第二区域可以不进行补偿,由此,可以使述屏幕显示待显示图像时,使第一区域呈现的灰阶与待显示图像中对应第一区域的内容的原本灰阶匹配,从而能够改善屏幕中部分区域由于发光像素与像素驱动电路之间的阻抗相对较高,所导致的显示效果不佳的问题,进而提升屏幕的显示效果。In the image display method provided by embodiments of the present application, the display area of the screen of the electronic device includes a first area and a second area, and the impedance between the light-emitting pixels in the first area and the connected pixel driving circuit is greater than that in the second area. The impedance between the light-emitting pixels and the connected pixel drive circuit. Therefore, when the electronic device displays the image to be displayed, the grayscale data corresponding to the content of the first area in the image to be displayed uses the grayscale corresponding to the current brightness level. Compensation mapping table, after determining the grayscale compensation parameters, grayscale compensation is performed, and the second area does not need to be compensated. Therefore, when the screen displays the image to be displayed, the grayscale presented in the first area is consistent with the image to be displayed. The original gray scale matching corresponding to the content of the first area can improve the problem of poor display effect caused by the relatively high impedance between the light-emitting pixels and the pixel driving circuit in some areas of the screen, thereby improving the display effect of the screen. .
请参阅图6,图6示出了本申请另一个实施例提供的图像显示方法的流程示意图。该图像显示方法应用于上述电子设备,上述灰阶补偿映射表包括多个灰阶值对应的灰阶补偿参数,下面将针对图6所示的流程进行详细的阐述,所述图像显示方法具体可以包括以下步骤:Please refer to FIG. 6 , which shows a schematic flowchart of an image display method provided by another embodiment of the present application. The image display method is applied to the above-mentioned electronic equipment. The above-mentioned gray-scale compensation mapping table includes gray-scale compensation parameters corresponding to multiple gray-scale values. The process shown in Figure 6 will be described in detail below. The image display method can be Includes the following steps:
步骤S210:获取待显示图像中与所述第一区域对应的第一灰阶数据,以及与所述第二区域对应的第二灰阶数据。Step S210: Obtain the first grayscale data corresponding to the first area and the second grayscale data corresponding to the second area in the image to be displayed.
在本申请实施例中,步骤S210可以参阅前述实施例的内容,在此不再赘述。In this embodiment of the present application, reference may be made to the content of the foregoing embodiments for step S210, which will not be described again here.
步骤S220:若所述第一灰阶数据中每个灰阶值均与所述多个灰阶值中的任一灰阶值匹配,则根据所述多个灰阶值对应的灰阶补偿参数,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数。Step S220: If each grayscale value in the first grayscale data matches any grayscale value among the plurality of grayscale values, then according to the grayscale compensation parameters corresponding to the plurality of grayscale values , determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data.
为减少前期构建灰阶补偿映射表时的工作量,以及节省存储空间,前述实施例中的灰阶补偿映射表可以包括多个灰阶值对应的灰阶补偿参数,也就是说,多个灰阶值是所有可能的灰阶值中的部分灰阶值。可选地,多个灰阶值可以均匀分布于灰阶值范围内。In order to reduce the workload in constructing the grayscale compensation mapping table in the early stage and save storage space, the grayscale compensation mapping table in the aforementioned embodiments may include grayscale compensation parameters corresponding to multiple grayscale values, that is, multiple grayscale compensation parameters. A scale value is a partial grayscale value among all possible grayscale values. Optionally, multiple grayscale values can be evenly distributed within the grayscale value range.
在本申请实施例中,第一灰阶数据中的灰阶值,可能会存在部分与灰阶补偿映射表中的灰阶值匹配的情况,而部分灰阶值不匹配的情况,例如,第一灰阶数据中的灰阶值包括:10、15、20、21和26,而灰阶补偿映射表中的灰阶值与第一灰阶数据中匹配的灰阶值包括10、15、20和25,则第一灰阶数据中的灰阶值26存在与上述多个灰阶值中任一灰阶值均不匹配的情况。因此,可以先判断第一灰阶数据中每个灰阶值是否均与所述多个灰阶值中的任一灰阶值匹配,若第一灰阶数据中每个灰阶值是否均与所述多个灰阶值中的任一灰阶值匹配,则可以直接利用灰阶补偿映射表,查找得到第一灰阶数据中各个灰阶值对应的灰阶补偿参数。In this embodiment of the present application, some of the gray-scale values in the first gray-scale data may match the gray-scale values in the gray-scale compensation mapping table, while some of the gray-scale values may not match. For example, The gray-scale values in the first gray-scale data include: 10, 15, 20, 21, and 26, and the gray-scale values in the gray-scale compensation mapping table match the gray-scale values in the first gray-scale data include 10, 15, 20 and 25, then the grayscale value 26 in the first grayscale data may not match any of the above-mentioned plurality of grayscale values. Therefore, it can be first determined whether each grayscale value in the first grayscale data matches any grayscale value among the plurality of grayscale values. If each grayscale value in the first grayscale data matches If any grayscale value among the plurality of grayscale values matches, the grayscale compensation mapping table can be directly used to find the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data.
步骤S230:若所述第一灰阶数据中存在与所述多个灰阶值中任一灰阶值均不匹配的灰阶值,获取所述第一灰阶数据中与所述多个灰阶值中任一灰阶值均不匹配的灰阶值,作为第一灰阶值。Step S230: If there is a grayscale value in the first grayscale data that does not match any of the plurality of grayscale values, obtain the grayscale value in the first grayscale data that matches the plurality of grayscale values. The grayscale value that does not match any of the grayscale values is used as the first grayscale value.
步骤S240:获取所述第一灰阶数据中除所述第一灰阶值以外的灰阶值,作为第二灰阶值。Step S240: Obtain the grayscale values other than the first grayscale value in the first grayscale data as the second grayscale value.
在本申请实施例中,若第一灰阶数据中存在多个灰阶值中任一灰阶值均不匹配的灰阶值,则表示第一灰阶数据中只有部分灰阶值能够直接从灰阶补偿映射表中查找得到对应的灰阶补偿参数。因此,可以获取第一灰阶数据中与多个灰阶值中任一灰阶值均不匹配的灰阶值,作为第一灰阶值,以及获取第一灰阶数据中除第一灰阶值以外的灰阶值,作为第二灰阶值,然后分别针对第一灰阶值确定灰阶补偿参数,以及针对第二灰阶值确定灰阶补偿参数。In the embodiment of the present application, if there is a grayscale value in the first grayscale data that does not match any of the multiple grayscale values, it means that only some of the grayscale values in the first grayscale data can be directly obtained from Find the corresponding gray-scale compensation parameters in the gray-scale compensation mapping table. Therefore, it is possible to obtain the grayscale value in the first grayscale data that does not match any grayscale value among the plurality of grayscale values as the first grayscale value, and to obtain the first grayscale value in the first grayscale data except the first grayscale value. The grayscale value other than the value is used as the second grayscale value, and then the grayscale compensation parameter is determined for the first grayscale value, and the grayscale compensation parameter is determined for the second grayscale value.
步骤S250:获取所述多个灰阶值中与所述第一灰阶值相邻的第三灰阶值以及第四灰阶值,其中,所述多个灰阶值按照从小到大的顺序排列。Step S250: Obtain the third grayscale value and the fourth grayscale value adjacent to the first grayscale value among the plurality of grayscale values, where the plurality of grayscale values are in order from small to large. arrangement.
其中,针对第一灰阶值进行补偿时,可以确定按照从小到大的顺序排列后的上述多个灰阶值中,与第一灰阶值相邻的第三灰阶值以及第四灰阶值,以便根据灰阶补偿映射表中第三灰阶值以及第四灰阶值对应的灰阶补偿参数,确定第一灰阶值对应的灰阶补偿参数。When compensating for the first gray-scale value, it is possible to determine the third gray-scale value and the fourth gray-scale value adjacent to the first gray-scale value among the above-mentioned plurality of gray-scale values arranged in order from small to large. value, so as to determine the gray-scale compensation parameter corresponding to the first gray-scale value according to the gray-scale compensation parameters corresponding to the third gray-scale value and the fourth gray-scale value in the gray-scale compensation mapping table.
步骤S260:根据所述多个灰阶值对应的灰阶补偿参数,确定所述第二灰阶值对应的灰阶补偿参数,所述第三灰阶值对应的灰阶补偿参数以及第四灰阶值对应的灰阶补偿参数。Step S260: According to the grayscale compensation parameters corresponding to the plurality of grayscale values, determine the grayscale compensation parameter corresponding to the second grayscale value, the grayscale compensation parameter corresponding to the third grayscale value and the fourth grayscale value. The grayscale compensation parameter corresponding to the level value.
其中,在确定出与第一灰阶值相邻的第三灰阶值以及第四灰阶值之后,则可以根据灰阶补偿映射表中多个灰阶值对应的灰阶补偿参数,确定第一灰阶值对应的灰阶补偿参数。并且,确定第三灰阶值对应的灰阶补偿参数以及第四灰阶值对应的灰阶补偿参数,第三灰阶值对应的灰阶补偿参数以及第四灰阶值对应的灰阶补偿参数用于获取第一灰阶值对应的灰阶补偿参数。After determining the third grayscale value and the fourth grayscale value adjacent to the first grayscale value, the third grayscale value can be determined according to the grayscale compensation parameters corresponding to the plurality of grayscale values in the grayscale compensation mapping table. The grayscale compensation parameter corresponding to a grayscale value. Furthermore, the gray scale compensation parameter corresponding to the third gray scale value and the gray scale compensation parameter corresponding to the fourth gray scale value are determined. The gray scale compensation parameter corresponding to the third gray scale value and the gray scale compensation parameter corresponding to the fourth gray scale value are determined. Used to obtain the grayscale compensation parameter corresponding to the first grayscale value.
步骤S270:根据所述第三灰阶值对应的灰阶补偿参数以及第四灰阶值对应的灰阶补偿参数,确定所述第一灰阶值对应的灰阶补偿参数。Step S270: Determine the gray scale compensation parameter corresponding to the first gray scale value according to the gray scale compensation parameter corresponding to the third gray scale value and the gray scale compensation parameter corresponding to the fourth gray scale value.
在本申请实施例中,在得到第三灰阶值对应的灰阶补偿参数以及第四灰阶值对应的灰阶补偿参数之后,则可以根据第三灰阶值对应的灰阶补偿参数以及第四灰阶值对应的灰阶补偿参数,确定第一灰阶值对应的灰阶补偿参数。In the embodiment of the present application, after obtaining the gray scale compensation parameter corresponding to the third gray scale value and the gray scale compensation parameter corresponding to the fourth gray scale value, the gray scale compensation parameter corresponding to the third gray scale value and the gray scale compensation parameter corresponding to the fourth gray scale value can be obtained. The gray scale compensation parameters corresponding to the four gray scale values determine the gray scale compensation parameters corresponding to the first gray scale value.
在一些实施方式中,可以通过差值运算的方式,确定第一灰阶值对应的灰阶补偿参数。例如,第三灰阶值为G1,第四灰阶值为G2,第一灰阶值为G3,第三灰阶值对应的灰阶补偿参数为P1,第四灰阶值对应的灰阶补偿参数为P2,第一灰阶值对应的灰阶补偿参数为P3,则满足:In some implementations, the grayscale compensation parameter corresponding to the first grayscale value can be determined through difference operation. For example, the third grayscale value is G1, the fourth grayscale value is G2, the first grayscale value is G3, the grayscale compensation parameter corresponding to the third grayscale value is P1, and the grayscale compensation parameter corresponding to the fourth grayscale value is The parameter is P2, and the grayscale compensation parameter corresponding to the first grayscale value is P3, then it satisfies:
(P2-P1)/(G2-G1)=(P3-P1)/(G3-G1)(P2-P1)/(G2-G1)=(P3-P1)/(G3-G1)
由此,可以计算得到P3,即得到第一灰阶值对应的灰阶补偿参数。From this, P3 can be calculated, that is, the grayscale compensation parameter corresponding to the first grayscale value is obtained.
可以理解地,上述第一灰阶值可能为1个,也可能为多个,若为多个,则可以针对每个第一灰阶值,采用上述方式得到对应的灰阶补偿参数。在得到第一灰阶值对应的灰阶补偿参数,以及第二灰阶值对应的补偿参数之后,则得到了第一灰阶数据中各个灰阶值对应的灰阶补偿参数。It can be understood that the above-mentioned first gray-scale value may be one, or may be multiple. If there are multiple first gray-scale values, the corresponding gray-scale compensation parameter may be obtained in the above manner for each first gray-scale value. After obtaining the grayscale compensation parameters corresponding to the first grayscale value and the compensation parameters corresponding to the second grayscale value, the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data are obtained.
步骤S280:基于所述各个灰阶值对应的灰阶补偿参数,对所述各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据。Step S280: Based on the grayscale compensation parameters corresponding to the respective grayscale values, perform grayscale compensation on the respective grayscale values to obtain compensated third grayscale data.
步骤S290:基于所述第二灰阶数据,以及所述第三灰阶数据,对所述待显示图像进行显示,所述第三灰阶数据用于所述屏幕显示所述待显示图像时,使所述第一区域呈现的灰阶与所述第一灰阶数据匹配。Step S290: Display the image to be displayed based on the second grayscale data and the third grayscale data. The third grayscale data is used when the screen displays the image to be displayed, The gray scale presented in the first area is matched with the first gray scale data.
在本身实施例中,步骤S280以及步骤S290可以参阅其他实施例的内容,在此不再赘述。In this embodiment, the content of steps S280 and S290 can be referred to other embodiments and will not be described again here.
本申请实施例提供的图像显示方法,由于电子设备的屏幕的显示区域包括第一区域以及第二区域,且第一区域中的发光像素与连接的像素驱动电路之间的阻抗大于第二区域中的发光像素与连接的像素驱动电路之间的阻抗,因此,电子设备对待显示图像进行显示时,利用当前亮度档位对应的灰阶补偿映射表,确定灰阶补偿参数后进行灰阶补偿,而第二区域可以不进行补偿,由此,能够改善屏幕中部分区域由于发光像素与像素驱动电路之间的阻抗相对较高,所导致的显示效果不佳的问题,进而提升屏幕的显示效果;另外,灰阶补偿映射表中可以仅包括部分灰阶值对应的灰阶补偿参数,而灰阶补偿映射表中不存在的灰阶值对应的灰阶补偿参数通过运算得到,从而能够降低前期获得灰阶补偿映射表的工作量,以及节省屏幕的DDIC的存储空间。In the image display method provided by embodiments of the present application, the display area of the screen of the electronic device includes a first area and a second area, and the impedance between the light-emitting pixels in the first area and the connected pixel driving circuit is greater than that in the second area. The impedance between the light-emitting pixels and the connected pixel drive circuit. Therefore, when the electronic device displays the image to be displayed, it uses the gray-scale compensation mapping table corresponding to the current brightness level to determine the gray-scale compensation parameters and then perform gray-scale compensation. The second area does not need to be compensated. Therefore, the problem of poor display effect caused by the relatively high impedance between the light-emitting pixels and the pixel driving circuit in some areas of the screen can be improved, thereby improving the display effect of the screen; in addition, , the gray-scale compensation mapping table can only include gray-scale compensation parameters corresponding to some gray-scale values, and the gray-scale compensation parameters corresponding to gray-scale values that do not exist in the gray-scale compensation mapping table are obtained through calculation, which can reduce the gray-scale obtained in the early stage. This step compensates the workload of the mapping table and saves the storage space of the screen's DDIC.
请参阅图7,图7示出了本申请又一个实施例提供的图像显示方法的流程示意图。该图像显示方法应用于上述电子设备,下面将针对图7所示的流程进行详细的阐述,所述图像显示方法具体可以包括以下步骤:Please refer to FIG. 7 , which shows a schematic flowchart of an image display method provided by yet another embodiment of the present application. This image display method is applied to the above-mentioned electronic device. The process shown in Figure 7 will be described in detail below. The image display method may specifically include the following steps:
步骤S310:获取待显示图像中与所述第一区域对应的第一灰阶数据,以及与所述第二区域对应的第二灰阶数据。Step S310: Obtain the first grayscale data corresponding to the first area and the second grayscale data corresponding to the second area in the image to be displayed.
在本申请实施例中,步骤S310可以参阅前述实施例的内容,在此不做限定。In the embodiment of the present application, the content of step S310 can be referred to the previous embodiment, and is not limited here.
步骤S320:根据所述屏幕的当前亮度档位对应的灰阶补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数,所述灰阶补偿映射表包括不同灰阶值对应的灰阶补偿参数。Step S320: Determine the gray-scale compensation parameters corresponding to each gray-scale value in the first gray-scale data according to the gray-scale compensation mapping table corresponding to the current brightness level of the screen. The gray-scale compensation mapping table includes different gray scale values. The grayscale compensation parameter corresponding to the level value.
在本申请实施例中,考虑到屏幕处于不同的屏幕刷新率时,也会影响屏幕的显示,因此,电子设备可以基于当前屏幕刷新率以及当前亮度档位对应的灰阶补偿映射表,确定第一灰阶数据中的各个灰阶值对应的补偿参数。可以理解地,由于不同屏幕刷新率下,每帧画面的显示时长不同,而用户感知到的亮度受各个发光像素的开启时长的影响,因而若不同屏幕刷新率下输入相同的灰阶值,则会使得亮度不同。In the embodiment of the present application, considering that the display of the screen will also be affected when the screen is at different screen refresh rates, the electronic device can determine the third screen refresh rate based on the current screen refresh rate and the grayscale compensation mapping table corresponding to the current brightness level. Compensation parameters corresponding to each grayscale value in a grayscale data. Understandably, since the display duration of each frame is different under different screen refresh rates, and the brightness perceived by the user is affected by the turn-on duration of each light-emitting pixel, if the same grayscale value is input under different screen refresh rates, then It will make the brightness different.
在一些实施方式中,电子设备中可以设置有不同屏幕刷新率以及亮度档位对应的灰阶补偿映射表,即每个屏幕刷新率下有不同亮度档位对应的灰阶补偿映射表,也可以理解为,每个亮度档位下有不同屏幕刷新率对应的灰阶补偿映射表。电子设备执行步骤S320时,可以从不同屏幕刷新率以及亮度档位对应的灰阶补偿映射表中,确定当前屏幕刷新率以及当前亮度档位对应的灰阶补偿映射表。In some embodiments, the electronic device may be provided with grayscale compensation mapping tables corresponding to different screen refresh rates and brightness gears, that is, there are grayscale compensation mapping tables corresponding to different brightness gears under each screen refresh rate, or it may be It is understood that under each brightness level, there are grayscale compensation mapping tables corresponding to different screen refresh rates. When the electronic device performs step S320, it can determine the grayscale compensation mapping table corresponding to the current screen refresh rate and the current brightness gear from the grayscale compensation mapping tables corresponding to different screen refresh rates and brightness gears.
在一种可能的实施方式中,上述灰阶补偿映射表可以是预先在屏幕处于不同的屏幕刷新率以及亮度档位下,控制第一区域显示相应灰阶值的测试内容,并通过调整内容的灰阶值,使第一区域呈现的灰阶与测试内容原本的灰阶匹配,由此可以得到相应的屏幕刷新率以及亮度档位下,不同灰阶值与灰阶补偿参数之间的映射关系。In a possible implementation, the above-mentioned gray scale compensation mapping table can be a test content that controls the first area to display corresponding gray scale values in advance when the screen is at different screen refresh rates and brightness levels, and by adjusting the content The grayscale value matches the grayscale presented in the first area with the original grayscale of the test content. From this, the mapping relationship between different grayscale values and grayscale compensation parameters can be obtained at the corresponding screen refresh rate and brightness level. .
需要说明的是,本申请实施例也可以与前述实施例结合,即当前屏幕刷新率以及当前亮度档位对应的补偿映射表中仅包括部分灰阶值对应的灰阶补偿参数,并通过前述实施例的方式,确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数。It should be noted that the embodiments of the present application can also be combined with the aforementioned embodiments, that is, the compensation mapping table corresponding to the current screen refresh rate and the current brightness level only includes grayscale compensation parameters corresponding to some grayscale values, and through the aforementioned implementation In an example manner, the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data are determined.
步骤S330:基于所述各个灰阶值对应的灰阶补偿参数,对所述各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据。Step S330: Based on the grayscale compensation parameters corresponding to the respective grayscale values, perform grayscale compensation on the respective grayscale values to obtain compensated third grayscale data.
步骤S340:基于所述第二灰阶数据,以及所述第三灰阶数据,对所述待显示图像进行显示,所述第三灰阶数据用于所述屏幕显示所述待显示图像时,使所述第一区域呈现的灰阶与所述第一灰阶数据匹配。Step S340: Display the image to be displayed based on the second grayscale data and the third grayscale data. The third grayscale data is used when the screen displays the image to be displayed, The gray scale presented in the first area is matched with the first gray scale data.
在本申请实施例中,步骤S330和步骤S340可以参阅其他实施例的内容,在此不做限定。In the embodiment of the present application, the contents of steps S330 and S340 may refer to other embodiments, and are not limited here.
本申请实施例提供的图像显示方法,考虑到屏幕的屏幕刷新率也会对显示造成影响,因此,电子设备对待显示图像进行显示时,利用当前屏幕刷新率以及当前亮度档位对应的灰阶补偿映射表,确定灰阶补偿参数后进行灰阶补偿,而第二区域可以不进行补偿,由此,能够更佳地改善屏幕中部分区域由于发光像素与像素驱动电路之间的阻抗相对较高,所导致的显示效果不佳的问题,进而提升屏幕的显示效果。The image display method provided by the embodiment of the present application takes into account that the screen refresh rate of the screen will also affect the display. Therefore, when the electronic device displays the image to be displayed, the current screen refresh rate and the grayscale compensation corresponding to the current brightness level are used. Mapping table, grayscale compensation is performed after determining the grayscale compensation parameters, and the second area does not need to be compensated. This can better improve some areas of the screen. Due to the relatively high impedance between the light-emitting pixels and the pixel drive circuit, The resulting problem of poor display effect will improve the display effect of the screen.
请参阅图8,图8示出了本申请再一个实施例提供的图像显示方法的流程示意图。该图像显示方法应用于上述电子设备,下面将针对图8所示的流程进行详细的阐述,所述图像显示方法具体可以包括以下步骤:Please refer to FIG. 8 , which shows a schematic flowchart of an image display method provided by yet another embodiment of the present application. This image display method is applied to the above-mentioned electronic device. The process shown in Figure 8 will be described in detail below. The image display method may specifically include the following steps:
步骤S410:获取待显示图像中与所述第一区域对应的第一灰阶数据,以及与所述第二区域对应的第二灰阶数据。Step S410: Obtain the first grayscale data corresponding to the first area and the second grayscale data corresponding to the second area in the image to be displayed.
在本申请实施例中,步骤S410可以参阅其他实施例的内容,在此不再赘述。In the embodiment of this application, the content of step S410 can be referred to other embodiments, and will not be described again here.
步骤S420:从预设屏幕刷新率对应的不同亮度档位的灰阶补偿映射表中,获取当前亮度档位对应的目标补偿映射表。Step S420: Obtain the target compensation mapping table corresponding to the current brightness level from the grayscale compensation mapping tables of different brightness levels corresponding to the preset screen refresh rate.
在本申请实施例中,考虑到屏幕处于不同的屏幕刷新率时,也会影响屏幕的显示,因此,电子设备对第一区域对应的第一灰阶数据进行补偿时,还可以根据屏幕的当前屏幕刷新率,确定第一灰阶数据对应的灰阶补偿参数。In the embodiment of the present application, considering that when the screen is at different screen refresh rates, it will also affect the display of the screen. Therefore, when the electronic device compensates for the first grayscale data corresponding to the first area, it can also be based on the current state of the screen. The screen refresh rate determines the grayscale compensation parameters corresponding to the first grayscale data.
其中,灰阶补偿映射表可以存储于屏幕的DDIC中。DDIC中可以存储有预设屏幕刷新率下每个亮度档位对应的灰阶补偿映射表,以节省DDIC的存储空间。在确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数时,可以从预设屏幕刷新率对应的不同亮度档位的灰阶补偿映射表中,获取与当前亮度档位对应的目标补偿映射表。其中,预设屏幕刷新率可以为1个,例如,电子设备的屏幕常用的屏幕刷新率60Hz(赫兹);也可以为多个,例如,30Hz、60Hz、90Hz、120Hz等。Among them, the grayscale compensation mapping table can be stored in the DDIC of the screen. The grayscale compensation mapping table corresponding to each brightness level under the preset screen refresh rate can be stored in the DDIC to save the storage space of the DDIC. When determining the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data, the target corresponding to the current brightness level can be obtained from the grayscale compensation mapping table of different brightness levels corresponding to the preset screen refresh rate. Compensation map. The preset screen refresh rate may be one, for example, a commonly used screen refresh rate for electronic device screens is 60 Hz (hertz); or it may be multiple, for example, 30 Hz, 60 Hz, 90 Hz, 120 Hz, etc.
步骤S430:若所述当前屏幕刷新率为预设屏幕刷新率,则根据所述目标补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数。Step S430: If the current screen refresh rate is the preset screen refresh rate, determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data according to the target compensation mapping table.
在本申请实施例中,如果当前屏幕刷新率为预设屏幕刷新率,则可以直接根据目标补偿映射表,确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数。可以理解地,若预设屏幕刷新率为多个,则根据当前屏幕刷新率匹配的预设屏幕刷新率所对应的目标补偿映射表,确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数。In this embodiment of the present application, if the current screen refresh rate is the preset screen refresh rate, the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data can be determined directly according to the target compensation mapping table. It can be understood that if there are multiple preset screen refresh rates, the grayscale corresponding to each grayscale value in the first grayscale data is determined according to the target compensation mapping table corresponding to the preset screen refresh rate that the current screen refresh rate matches. compensation parameters.
需要说明的是,本申请实施例也可以与前述实施例结合,即目标补偿映射表中仅包括部分灰阶值对应的灰阶补偿参数,并通过前述实施例的方式,确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数。It should be noted that the embodiments of the present application can also be combined with the foregoing embodiments, that is, the target compensation mapping table only includes grayscale compensation parameters corresponding to some grayscale values, and the first grayscale data is determined by the method of the foregoing embodiments. The grayscale compensation parameters corresponding to each grayscale value in .
步骤S440:若所述当前屏幕刷新率不为所述预设屏幕刷新率,则根据所述目标补偿映射表,获取所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数。Step S440: If the current screen refresh rate is not the preset screen refresh rate, obtain the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data according to the target compensation mapping table.
在本申请实施例中,若当前屏幕刷新率不为所述预设屏幕刷新率,则无法直接从上述目标补偿映射表中确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数,该情况下,可以先根据目标补偿映射表,获取第一灰阶数据中各个灰阶值对应的灰阶补偿参数,以根据通过目标补偿映射表得到的灰阶补偿参数,确定最终用于补偿第一灰阶数据的灰阶补偿参数。In this embodiment of the present application, if the current screen refresh rate is not the preset screen refresh rate, the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data cannot be determined directly from the above-mentioned target compensation mapping table. In this case, the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data can be obtained first according to the target compensation mapping table, so as to determine the final compensation parameters for the third grayscale based on the grayscale compensation parameters obtained through the target compensation mapping table. A grayscale compensation parameter for grayscale data.
在一些实施方式中,若预设屏幕刷新率为多个,则可以获取根据多个预设屏幕刷新率中任一屏幕刷新率所对应的目标补偿映射表,并根据该目标补偿映射表,获取第一灰阶数据中各个灰阶值对应的灰阶补偿参数。可选地,可以获取与当前屏幕刷新率最接近的预设屏幕刷新率所对应的目标补偿映射表,并根据该目标补偿映射表,获取第一灰阶数据中各个灰阶值对应的灰阶补偿参数,以保证对第一灰阶数据进行补偿的准确性。In some implementations, if there are multiple preset screen refresh rates, a target compensation mapping table corresponding to any one of the multiple preset screen refresh rates can be obtained, and based on the target compensation mapping table, obtain Gray scale compensation parameters corresponding to each gray scale value in the first gray scale data. Optionally, the target compensation mapping table corresponding to the preset screen refresh rate that is closest to the current screen refresh rate can be obtained, and based on the target compensation mapping table, the gray scale corresponding to each gray scale value in the first gray scale data can be obtained Compensation parameters to ensure the accuracy of compensation for the first grayscale data.
步骤S450:根据当前屏幕刷新率与预设屏幕刷新率的预设调整关系,对所述各个灰阶值对应的灰阶补偿参数进行调整。Step S450: Adjust the grayscale compensation parameters corresponding to each grayscale value according to the preset adjustment relationship between the current screen refresh rate and the preset screen refresh rate.
在本申请实施例中,可以预先存储有当前屏幕刷新率与预设屏幕刷新率的预设调整关系,该预设调整关系为灰阶补偿参数的调整关系。利用该预设调整关系,针对上述得到的各个灰阶值对应的灰阶补偿参数进行调整,即可得到后续用于针对各个灰阶值进行灰阶补偿的参数。In the embodiment of the present application, a preset adjustment relationship between the current screen refresh rate and the preset screen refresh rate may be stored in advance, and the preset adjustment relationship is the adjustment relationship of the gray scale compensation parameter. Using this preset adjustment relationship, adjusting the grayscale compensation parameters corresponding to each grayscale value obtained above can obtain the parameters used for subsequent grayscale compensation for each grayscale value.
在一些实施方式中,该预设调整关系可以为调整函数,该调整函数可以为一次函数,也可以为二次函数等,在此不做限定。例如,调整函数可以为一次函数,预设屏幕刷新率为60Hz,当前屏幕刷新率为50Hz,则Y=K*x+B,Y为当前屏幕刷新率下的灰阶值对应的灰阶补偿参数,x为预设屏幕刷新率下的灰阶值对应的灰阶补偿参数(即根据上述目标补偿映射表确定的灰阶补偿参数),K和B可以预先通过测试得到,即通过调整K和B,直至该当前屏幕刷新率下利用该函数确定的灰阶补偿参数,对第一区域对应的灰阶数据进行补偿后,能够呈现原本的亮度即可。可以理解地,不同的屏幕刷新率与预设屏幕刷新率之间的K和B可以不同,即针对不同屏幕刷新率与预设屏幕刷新率,通过测试得到不同的K和B。In some implementations, the preset adjustment relationship may be an adjustment function, and the adjustment function may be a linear function, a quadratic function, etc., which is not limited here. For example, the adjustment function can be a one-time function. The preset screen refresh rate is 60Hz and the current screen refresh rate is 50Hz. Then Y=K*x+B, where Y is the grayscale compensation parameter corresponding to the grayscale value at the current screen refresh rate. , x is the grayscale compensation parameter corresponding to the grayscale value under the preset screen refresh rate (that is, the grayscale compensation parameter determined according to the above target compensation mapping table), K and B can be obtained through testing in advance, that is, by adjusting K and B , until the grayscale compensation parameters determined by this function are used to compensate the grayscale data corresponding to the first area under the current screen refresh rate, and the original brightness can be displayed. It is understandable that K and B may be different between different screen refresh rates and the preset screen refresh rate. That is, different K and B are obtained through testing for different screen refresh rates and the preset screen refresh rate.
步骤S460:基于所述各个灰阶值对应的灰阶补偿参数,对所述各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据。Step S460: Based on the grayscale compensation parameters corresponding to the respective grayscale values, perform grayscale compensation on the respective grayscale values to obtain compensated third grayscale data.
步骤S470:基于所述第二灰阶数据,以及所述第三灰阶数据,对所述待显示图像进行显示,所述第三灰阶数据用于所述屏幕显示所述待显示图像时,使所述第一区域呈现的灰阶与所述第一灰阶数据匹配。Step S470: Display the image to be displayed based on the second grayscale data and the third grayscale data. The third grayscale data is used when the screen displays the image to be displayed, The gray scale presented in the first area is matched with the first gray scale data.
在本申请实施例中,步骤S460以及步骤S470可以参阅其他实施例的内容,在此不再赘述。In the embodiment of the present application, the contents of steps S460 and S470 may be referred to other embodiments, and will not be described again here.
本申请实施例提供的图像显示方法,由于电子设备的屏幕的显示区域包括第一区域以及第二区域,且第一区域中的发光像素与连接的像素驱动电路之间的阻抗大于第二区域中的发光像素与连接的像素驱动电路之间的阻抗,因此,电子设备对待显示图像进行显示时,利用灰阶补偿映射表,确定灰阶补偿参数后进行灰阶补偿,而第二区域可以不进行补偿,由此,能够改善屏幕中部分区域由于发光像素与像素驱动电路之间的阻抗相对较高,所导致的显示效果不佳的问题,进而提升屏幕的显示效果;另外,灰阶补偿映射表仅部分屏幕刷新率进行设置,而屏幕处于非预设屏幕刷新率的情况下,通过运算得到非预设屏幕刷新率下灰阶值的灰阶补偿参数,从而能够降低前期获得灰阶补偿映射表的工作量,以及节省屏幕的DDIC的存储空间。In the image display method provided by embodiments of the present application, the display area of the screen of the electronic device includes a first area and a second area, and the impedance between the light-emitting pixels in the first area and the connected pixel driving circuit is greater than that in the second area. The impedance between the light-emitting pixels and the connected pixel drive circuit. Therefore, when the electronic device displays the image to be displayed, the gray-scale compensation mapping table is used to determine the gray-scale compensation parameters and then perform gray-scale compensation, while the second area does not need to be performed. Compensation, thus, can improve the problem of poor display effect caused by the relatively high impedance between the light-emitting pixels and the pixel driving circuit in some areas of the screen, thereby improving the display effect of the screen; in addition, the grayscale compensation mapping table When only part of the screen refresh rate is set, and the screen is at a non-preset screen refresh rate, the grayscale compensation parameters of the grayscale value at the non-preset screen refresh rate are obtained through calculation, which can reduce the cost of obtaining the grayscale compensation mapping table in the early stage. workload, as well as saving screen DDIC storage space.
请参阅图9,图9示出了本申请又另一个实施例提供的图像显示方法的流程示意图。该图像显示方法应用于上述电子设备,下面将针对图9所示的流程进行详细的阐述,所述图像显示方法具体可以包括以下步骤:Please refer to FIG. 9 , which shows a schematic flowchart of an image display method provided by yet another embodiment of the present application. This image display method is applied to the above-mentioned electronic device. The process shown in Figure 9 will be described in detail below. The image display method may specifically include the following steps:
步骤S510:获取待显示图像中与所述第一区域对应的第一灰阶数据,以及与所述第二区域对应的第二灰阶数据。Step S510: Obtain the first grayscale data corresponding to the first area and the second grayscale data corresponding to the second area in the image to be displayed.
在本申请实施例中,步骤S510可以参阅其他实施例的内容,在此不再赘述。In the embodiment of this application, the content of step S510 can be referred to other embodiments, and will not be described again here.
步骤S520:从多个预设屏幕刷新率对应的不同亮度档位的灰阶补偿映射表中,获取当前亮度档位对应的多个目标补偿映射表,多个目标补偿映射表与多个预设屏幕刷新率一一对应。Step S520: Obtain multiple target compensation mapping tables corresponding to the current brightness level, multiple target compensation mapping tables and multiple presets from the grayscale compensation mapping tables of different brightness levels corresponding to multiple preset screen refresh rates. The screen refresh rate corresponds one to one.
在本申请实施例中,前一个实施例中的预设屏幕刷新率可以为多个,在确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数时,可以从多个预设屏幕刷新率对应的不同亮度档位的灰阶补偿映射表中,获取当前亮度档位以及不同预设屏幕刷新率对应的灰阶补偿映射表,得到多个目标补偿映射表。In this embodiment of the present application, there may be multiple preset screen refresh rates in the previous embodiment. When determining the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data, multiple preset screen refresh rates may be used. From the grayscale compensation mapping tables of different brightness levels corresponding to the refresh rate, obtain the grayscale compensation mapping tables corresponding to the current brightness level and different preset screen refresh rates, and obtain multiple target compensation mapping tables.
步骤S530:若所述当前屏幕刷新率为所述多个预设屏幕刷新率中的任一屏幕刷新率,则根据所述多个目标补偿映射表中与所述当前屏幕刷新率对应的目标补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数。Step S530: If the current screen refresh rate is any one of the plurality of preset screen refresh rates, compensate according to the target compensation corresponding to the current screen refresh rate in the plurality of target compensation mapping tables. A mapping table to determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data.
在本申请实施例中,若当前屏幕刷新率为多个预设屏幕刷新率中的任一屏幕刷新率,则可以直接根据当前屏幕刷新率匹配的预设屏幕刷新率所对应的目标补偿映射表,确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数。In this embodiment of the present application, if the current screen refresh rate is any screen refresh rate among multiple preset screen refresh rates, the target compensation mapping table corresponding to the preset screen refresh rate that matches the current screen refresh rate can be directly used. , determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data.
步骤S540:若所述当前屏幕刷新率不为所述预设屏幕刷新率,则确定所述多个预设屏幕刷新率中与所述当前屏幕刷新率相邻的第一屏幕刷新率以及第二屏幕刷新率,其中,所述多个预设屏幕刷新率按照从小到大的顺序排列。Step S540: If the current screen refresh rate is not the preset screen refresh rate, determine the first screen refresh rate and the second screen refresh rate adjacent to the current screen refresh rate among the plurality of preset screen refresh rates. Screen refresh rate, wherein the plurality of preset screen refresh rates are arranged in order from small to large.
在本申请实施例中,若当前屏幕刷新率不为所述预设屏幕刷新率,则无法直接从上述目标补偿映射表中确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数,该情况下,可以先从小到大的顺序排列的多个预设屏幕刷新率中,与当前屏幕刷新率相邻的两个屏幕刷新率。例如,多个预设屏幕刷新率从小到大的顺序排列为:30Hz、60Hz、90Hz和120Hz,当前屏幕刷新率为75Hz,则第一屏幕刷新率以及第二屏幕刷新率可以分别为60Hz和90Hz。In this embodiment of the present application, if the current screen refresh rate is not the preset screen refresh rate, the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data cannot be determined directly from the above-mentioned target compensation mapping table. In this case, two screen refresh rates adjacent to the current screen refresh rate may be used among multiple preset screen refresh rates arranged in ascending order. For example, if multiple preset screen refresh rates are arranged from small to large: 30Hz, 60Hz, 90Hz and 120Hz, and the current screen refresh rate is 75Hz, then the first screen refresh rate and the second screen refresh rate can be 60Hz and 90Hz respectively. .
步骤S550:根据所述多个目标补偿映射表中与所述第一屏幕刷新率对应的目标补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数,作为所述各个灰阶值对应的第一补偿参数。Step S550: Determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data according to the target compensation mapping table corresponding to the first screen refresh rate among the plurality of target compensation mapping tables, as the Describe the first compensation parameter corresponding to each grayscale value.
步骤S560:根据多个目标补偿映射表中与所述当第二屏幕刷新率对应的目标补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数,作为所述各个灰阶值对应的第二补偿参数。Step S560: Determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data according to the target compensation mapping table corresponding to the second screen refresh rate among the plurality of target compensation mapping tables, as the The second compensation parameter corresponding to each grayscale value.
在本申请实施例中,在确定出上述第一屏幕刷新率以及第二屏幕刷新率之后,则可以根据第一屏幕刷新率下当前亮度档位对应的目标补偿映射表,确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数,并将其作为各个灰阶值对应的第一补偿参数;同理,可以根据第二屏幕刷新率下当前亮度档位对应的目标补偿映射表,确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数,并将其作为各个灰阶值对应的第二补偿参数。In the embodiment of the present application, after the above-mentioned first screen refresh rate and second screen refresh rate are determined, the first grayscale data can be determined according to the target compensation mapping table corresponding to the current brightness level under the first screen refresh rate. The gray-scale compensation parameters corresponding to each gray-scale value in the screen are used as the first compensation parameters corresponding to each gray-scale value; similarly, the target compensation mapping table corresponding to the current brightness level under the second screen refresh rate can be determined. The grayscale compensation parameters corresponding to each grayscale value in the first grayscale data are used as the second compensation parameters corresponding to each grayscale value.
步骤S570:基于所述各个灰阶值对应的第一补偿参数,以及所述各个灰阶值对应的第二补偿参数,确定所述各个灰阶值对应的灰阶补偿参数。Step S570: Based on the first compensation parameter corresponding to each gray scale value and the second compensation parameter corresponding to each gray scale value, determine the gray scale compensation parameter corresponding to each gray scale value.
在本申请实施例中,在确定出各个灰阶值对应的第一补偿参数,以及各个灰阶值对应的第二补偿参数之后,则可以根据各个灰阶值对应的第一补偿参数,以及各个灰阶值对应的第二补偿参数,确定各个灰阶值对应的灰阶补偿参数,即最后用于补偿第一灰阶数据的各个灰阶值的灰阶补偿参数。In the embodiment of the present application, after determining the first compensation parameter corresponding to each gray scale value and the second compensation parameter corresponding to each gray scale value, the first compensation parameter corresponding to each gray scale value and each The second compensation parameter corresponding to the grayscale value determines the grayscale compensation parameter corresponding to each grayscale value, that is, the grayscale compensation parameter finally used to compensate each grayscale value of the first grayscale data.
在一些实施方式中,可以通过差值运算的方式,并根据各个灰阶值对应的第一补偿参数,以及各个灰阶值对应的第二补偿参数,确定第一灰阶值对应的灰阶补偿参数。例如,第一屏幕刷新率为F1,第二屏幕刷新率为F2,当前屏幕刷新率为F3,第一补偿参数为P1,第二补偿参数为P2,第当前屏幕刷新率下的灰阶补偿参数为P3,则满足:In some implementations, the grayscale compensation corresponding to the first grayscale value can be determined by difference operation and based on the first compensation parameter corresponding to each grayscale value and the second compensation parameter corresponding to each grayscale value. parameter. For example, the first screen refresh rate is F1, the second screen refresh rate is F2, the current screen refresh rate is F3, the first compensation parameter is P1, the second compensation parameter is P2, and the grayscale compensation parameter under the current screen refresh rate is is P3, then it satisfies:
(P2-P1)/(F2-F1)=(P3-P1)/(F3-F1)(P2-P1)/(F2-F1)=(P3-P1)/(F3-F1)
由此,可以计算得到P3,即得到在当前屏幕刷新率下,第一灰阶数据中的灰阶值对应的灰阶补偿参数。From this, P3 can be calculated, that is, the grayscale compensation parameter corresponding to the grayscale value in the first grayscale data under the current screen refresh rate is obtained.
步骤S580:基于所述各个灰阶值对应的灰阶补偿参数,对所述各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据。Step S580: Based on the grayscale compensation parameters corresponding to the respective grayscale values, perform grayscale compensation on the respective grayscale values to obtain compensated third grayscale data.
步骤S590:基于所述第二灰阶数据,以及所述第三灰阶数据,对所述待显示图像进行显示,所述第三灰阶数据用于所述屏幕显示所述待显示图像时,使所述第一区域呈现的灰阶与所述第一灰阶数据匹配。Step S590: Display the image to be displayed based on the second grayscale data and the third grayscale data. The third grayscale data is used when the screen displays the image to be displayed, The gray scale presented in the first area is matched with the first gray scale data.
在本申请实施例中,步骤S580以及步骤S590可以参阅其他实施例的内容,在此不再赘述。In the embodiment of the present application, the contents of steps S580 and S590 may be referred to other embodiments, and will not be described again here.
本申请实施例提供的图像显示方法,由于电子设备的屏幕的显示区域包括第一区域以及第二区域,且第一区域中的发光像素与连接的像素驱动电路之间的阻抗大于第二区域中的发光像素与连接的像素驱动电路之间的阻抗,因此,电子设备对待显示图像进行显示时,利用灰阶补偿映射表,确定灰阶补偿参数后进行灰阶补偿,而第二区域可以不进行补偿,由此,能够改善屏幕中部分区域由于发光像素与像素驱动电路之间的阻抗相对较高,所导致的显示效果不佳的问题,进而提升屏幕的显示效果;另外,灰阶补偿映射表仅部分屏幕刷新率进行设置,而屏幕处于非预设屏幕刷新率的情况下,通过设置的屏幕刷新率下的灰阶补偿映射表,所得到的灰阶补偿参数,进行进一步地运算,即可得到当前屏幕刷新率下灰阶值的灰阶补偿参数,从而能够降低前期获得灰阶补偿映射表的工作量,以及节省屏幕的DDIC的存储空间。In the image display method provided by embodiments of the present application, the display area of the screen of the electronic device includes a first area and a second area, and the impedance between the light-emitting pixels in the first area and the connected pixel driving circuit is greater than that in the second area. The impedance between the light-emitting pixels and the connected pixel drive circuit. Therefore, when the electronic device displays the image to be displayed, the gray-scale compensation mapping table is used to determine the gray-scale compensation parameters and then perform gray-scale compensation, while the second area does not need to be performed. Compensation, thus, can improve the problem of poor display effect caused by the relatively high impedance between the light-emitting pixels and the pixel driving circuit in some areas of the screen, thereby improving the display effect of the screen; in addition, the grayscale compensation mapping table When only part of the screen refresh rate is set and the screen is at a non-preset screen refresh rate, the grayscale compensation parameters obtained through the grayscale compensation mapping table under the set screen refresh rate can be further calculated. The grayscale compensation parameters of the grayscale value under the current screen refresh rate are obtained, thereby reducing the workload of obtaining the grayscale compensation mapping table in the early stage and saving the storage space of the screen's DDIC.
请参阅图10,图10示出了本申请又再一个实施例提供的图像显示方法的流程示意图。上述灰阶补偿映射表包括所述第一区域内多个子区域对应的灰阶补偿映射表。该图像显示方法应用于上述电子设备,下面将针对图10所示的流程进行详细的阐述,所述图像显示方法具体可以包括以下步骤:Please refer to FIG. 10 , which shows a schematic flowchart of an image display method provided by yet another embodiment of the present application. The above-mentioned gray scale compensation mapping table includes gray scale compensation mapping tables corresponding to multiple sub-regions in the first region. This image display method is applied to the above-mentioned electronic device. The process shown in Figure 10 will be described in detail below. The image display method may specifically include the following steps:
步骤S610:获取待显示图像中与所述第一区域对应的第一灰阶数据,以及与所述第二区域对应的第二灰阶数据。Step S610: Obtain the first grayscale data corresponding to the first area and the second grayscale data corresponding to the second area in the image to be displayed.
在本申请实施例中,步骤S610可以参阅前述实施例的内容,在此不再赘述。In the embodiment of the present application, reference may be made to the content of the previous embodiment for step S610, which will not be described again here.
步骤S620:根据所述第一区域内多个子区域中每个子区域对应的灰阶补偿映射表,确定所述每个子区域对应的第一灰阶数据中的各个灰阶值对应的灰阶补偿参数。Step S620: Determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data corresponding to each subregion according to the grayscale compensation mapping table corresponding to each subregion in the plurality of subregions in the first region. .
由于第一区域内可能不同位置处的发光像素的走线长度不同,因此,可能会出现不同位置处的发光像素与像素驱动单元之间的阻抗相差较大,例如,请参阅图11,在屏幕显示一灰阶值的纯色图像时,第一区域内不同区域呈现出的灰阶各不相同。该情况下,为保证显示效果,可以将第一区域划分为各个子区域,并针对各个子区域的第一灰阶数据进行补偿。其中,多个子区域的数量可以不做限定,例如,请再次参阅图11,子区域的数量可以为8个,包括Block1~Block8,当然,子区域的数量也可以更多。Since the trace lengths of the light-emitting pixels at different positions in the first area may be different, there may be a large impedance difference between the light-emitting pixels and the pixel driving unit at different positions. For example, please refer to Figure 11. On the screen When a solid color image with a grayscale value is displayed, different areas within the first area present different grayscales. In this case, in order to ensure the display effect, the first area can be divided into sub-areas, and compensation is performed for the first grayscale data of each sub-area. The number of multiple sub-regions does not need to be limited. For example, please refer to Figure 11 again. The number of sub-regions can be eight, including Block1 to Block8. Of course, the number of sub-regions can also be more.
在本申请实施例中,电子设备中可以针对各个子区域,设置有各个子区域对应的灰阶补偿映射表,实际确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数时,可以根据各个子区域对应的当前屏幕刷新率以及当前亮度档位对应的灰阶补偿映射表,确定每个子区域对应的第一灰阶数据中的各个灰阶值对应的灰阶补偿参数,由此得到第一区域对应的灰阶数据中各个灰阶值对应的灰阶补偿参数。可选地,各个子区域对应的灰阶补偿映射表可以包括不同屏幕刷新率以及亮度档位下的灰阶值与灰阶补偿参数之间的映射关系。In the embodiment of the present application, the electronic device can be provided with a grayscale compensation mapping table corresponding to each subregion for each subregion. When actually determining the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data, you can According to the current screen refresh rate corresponding to each sub-region and the gray-scale compensation mapping table corresponding to the current brightness level, the gray-scale compensation parameters corresponding to each gray-scale value in the first gray-scale data corresponding to each sub-region are determined, thus obtaining Gray scale compensation parameters corresponding to each gray scale value in the gray scale data corresponding to the first area. Optionally, the grayscale compensation mapping table corresponding to each sub-region may include a mapping relationship between grayscale values and grayscale compensation parameters under different screen refresh rates and brightness levels.
当然,在预先构建灰阶补偿映射表时,可以针对各个子区域,测试得到各个子区域对应的灰阶补偿映射表。Of course, when the grayscale compensation mapping table is constructed in advance, the grayscale compensation mapping table corresponding to each subregion can be obtained by testing for each subregion.
需要说明的是,本申请实施例中的实施方式也可以与其他实施例结合,即在其他实施例的方案中,针对第一区域中的各个子区域的灰阶数据进行补偿即可。It should be noted that the implementation methods in the embodiments of the present application can also be combined with other embodiments, that is, in the solutions of other embodiments, compensation can be performed for the grayscale data of each sub-region in the first region.
步骤S630:基于所述各个灰阶值对应的灰阶补偿参数,对所述各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据。Step S630: Based on the grayscale compensation parameters corresponding to the respective grayscale values, perform grayscale compensation on the respective grayscale values to obtain compensated third grayscale data.
步骤S640:基于所述第二灰阶数据,以及所述第三灰阶数据,对所述待显示图像进行显示,所述第三灰阶数据用于所述屏幕显示所述待显示图像时,使所述第一区域呈现的灰阶与所述第一灰阶数据匹配。Step S640: Display the image to be displayed based on the second grayscale data and the third grayscale data. The third grayscale data is used when the screen displays the image to be displayed, The gray scale presented in the first area is matched with the first gray scale data.
在本申请实施例中,步骤S630以及步骤S640可以参阅其他实施例的内容,在此不再赘述。In the embodiment of the present application, the content of steps S630 and S640 can be referred to other embodiments, and will not be described again here.
本申请实施例提供的图像显示方法,由于电子设备的屏幕的显示区域包括第一区域以及第二区域,且第一区域中的发光像素与连接的像素驱动电路之间的阻抗大于第二区域中的发光像素与连接的像素驱动电路之间的阻抗,因此,电子设备对待显示图像进行显示时,利用当前亮度档位对应的灰阶补偿映射表,确定灰阶补偿参数后进行灰阶补偿,而第二区域可以不进行补偿,由此,能够改善屏幕中部分区域由于发光像素与像素驱动电路之间的阻抗相对较高,所导致的显示效果不佳的问题,进而提升屏幕的显示效果;另外,针对第一区域对应的灰阶数据进行灰阶补偿时,是根据第一区域中各个子区域对应的灰阶补偿映射表,对各个子区域对应的灰阶数据进行灰阶补偿,从而能够提升灰阶补偿的准确性,进一步提升屏幕的显示效果。In the image display method provided by embodiments of the present application, the display area of the screen of the electronic device includes a first area and a second area, and the impedance between the light-emitting pixels in the first area and the connected pixel driving circuit is greater than that in the second area. The impedance between the light-emitting pixels and the connected pixel drive circuit. Therefore, when the electronic device displays the image to be displayed, it uses the gray-scale compensation mapping table corresponding to the current brightness level to determine the gray-scale compensation parameters and then perform gray-scale compensation. The second area does not need to be compensated. Therefore, the problem of poor display effect caused by the relatively high impedance between the light-emitting pixels and the pixel driving circuit in some areas of the screen can be improved, thereby improving the display effect of the screen; in addition, , when performing gray-scale compensation on the gray-scale data corresponding to the first region, the gray-scale compensation is performed on the gray-scale data corresponding to each sub-region according to the gray-scale compensation mapping table corresponding to each sub-region in the first region, thereby improving the The accuracy of grayscale compensation further improves the display effect of the screen.
请参阅图12,图12示出了本申请再另一个实施例提供的图像显示方法的流程示意图。该图像显示方法应用于上述电子设备,下面将针对图12所示的流程进行详细的阐述,所述图像显示方法具体可以包括以下步骤:Please refer to FIG. 12 , which shows a schematic flowchart of an image display method provided by yet another embodiment of the present application. This image display method is applied to the above-mentioned electronic device. The process shown in Figure 12 will be described in detail below. The image display method may specifically include the following steps:
步骤S710:控制所述屏幕在所述当前亮度档位下,显示目标灰阶值的测试图像。Step S710: Control the screen to display the test image of the target grayscale value at the current brightness level.
在本申请实施例中,提供了前述实施例中灰阶补偿映射表的构建方法,可以理解的是,灰阶补偿映射表并不需要每次进行图像显示时进行构建,而仅需要构建完成后存储于电子设备即可。In the embodiment of the present application, a method for constructing the grayscale compensation mapping table in the previous embodiment is provided. It can be understood that the grayscale compensation mapping table does not need to be constructed every time the image is displayed, but only needs to be constructed after the construction is completed. Just store it in an electronic device.
电子设备可以是上述窄边框的电子设备,即第一区域对应的像素驱动电路被插入到第二区域中,从而外围电路在屏幕的显示平面上的正投影与第一区域中的发光像素在显示平面上的正投影至少部分重叠,也就是说,外围电路的部分设置于第一区域的发光像素的下方,从而能够减小边框的大小。在这样的情况下,由于第二区域中的发光像素与像素驱动单元直接连接,因此发光像素与像素驱动单元之间的阻抗较小,通常不会对显示效果造成影响,即第二区域能够正确地呈现所需要的亮度。因此,可以利用该特性,构建灰阶补偿映射表。The electronic device may be the above-mentioned narrow-frame electronic device, that is, the pixel driving circuit corresponding to the first area is inserted into the second area, so that the orthographic projection of the peripheral circuit on the display plane of the screen is consistent with the light-emitting pixels in the first area. The orthographic projection on the plane at least partially overlaps, that is, part of the peripheral circuit is arranged below the light-emitting pixels in the first area, so that the size of the frame can be reduced. In this case, since the light-emitting pixels in the second area are directly connected to the pixel driving unit, the impedance between the light-emitting pixels and the pixel driving unit is small, which usually does not affect the display effect, that is, the second area can correctly to achieve the required brightness. Therefore, this feature can be used to construct a grayscale compensation mapping table.
其中,电子设备可以控制屏幕在当前亮度档位下,显示目标灰阶值的测试图像。该测试图像可以为纯色图像,以保证测试图像中第一区域各位置处的灰阶值与第二区域各位置处的灰阶值相同。可选地,目标灰阶值可以为低于前述实施例中的预设灰阶值的灰阶值,由此,可以针对性地确定灰阶补偿参数。Among them, the electronic device can control the screen to display the test image of the target grayscale value at the current brightness level. The test image may be a solid color image to ensure that the grayscale values at each position in the first region in the test image are the same as the grayscale values at each position in the second region. Alternatively, the target grayscale value may be a grayscale value lower than the preset grayscale value in the foregoing embodiment, whereby the grayscale compensation parameters can be determined in a targeted manner.
步骤S720:获取针对所述屏幕拍摄得到的拍摄图像。Step S720: Obtain the captured image captured for the screen.
在一种可能的实施方式中,电子设备还包括可伸缩以及旋转的摄像头,通过控制该摄像头伸出,并旋转至相应拍摄角度,即可对屏幕进行拍摄,得到拍摄图像。In a possible implementation, the electronic device further includes a retractable and rotating camera. By controlling the camera to extend and rotate to a corresponding shooting angle, the screen can be photographed to obtain a captured image.
在另一种可能的实施方式中,可以通过其他设备针对电子设备的屏幕进行拍摄,进而得到拍摄图像,然后电子设备从其他设备接收其拍摄得到的拍摄图像。In another possible implementation, the screen of the electronic device can be photographed by other devices to obtain the photographed image, and then the electronic device receives the photographed image from the other device.
步骤S730:对所述第一区域所显示的灰阶值进行调整,直至所述拍摄图像中所述第一区域的灰阶值与所述第二区域的灰阶值匹配,得到所述目标灰阶值对应的灰阶补偿参数。Step S730: Adjust the grayscale value displayed in the first area until the grayscale value of the first area matches the grayscale value of the second area in the captured image, and obtain the target grayscale value. The grayscale compensation parameter corresponding to the level value.
在本申请实施例中,电子设备可以对第一区域所显示的灰阶值进行调整,并不断地获取调整灰阶值后针对屏幕拍摄的拍摄图像;根据拍摄图像,可以确定拍摄图像中第一区域的灰阶值,以及第二区域的灰阶值,直至摄图像中第一区域的灰阶值与第二区域的灰阶值匹配,则停止调整第一区域所显示的灰阶值,此时,即可得到上述目标灰阶值对应的灰阶补偿参数。灰阶补偿参数可以是停止调整时的灰阶值,也可以是停止调整时的灰阶值与目标灰阶值之间的差值,在此不做限定。In the embodiment of the present application, the electronic device can adjust the grayscale value displayed in the first area, and continuously obtain the captured image captured on the screen after adjusting the grayscale value; based on the captured image, the first in the captured image can be determined. The grayscale value of the area, and the grayscale value of the second area, until the grayscale value of the first area in the photographed image matches the grayscale value of the second area, then the adjustment of the grayscale value displayed in the first area is stopped. When , the grayscale compensation parameters corresponding to the above target grayscale values can be obtained. The grayscale compensation parameter may be the grayscale value when the adjustment is stopped, or the difference between the grayscale value when the adjustment is stopped and the target grayscale value, which is not limited here.
步骤S740:返回所述控制所述屏幕在所述当前亮度档位下,显示目标灰阶值的测试图像的步骤,直至得到不同灰阶值对应的灰阶补偿参数。Step S740: Return to the step of controlling the screen to display the test image of the target grayscale value at the current brightness level until grayscale compensation parameters corresponding to different grayscale values are obtained.
在本申请实施例中,可以返回步骤S710,通过显示不同灰阶值的测试图像,并重复上述步骤,从而能够得到不同灰阶值对应的灰阶补偿参数。In the embodiment of the present application, you can return to step S710, display test images with different grayscale values, and repeat the above steps, so that grayscale compensation parameters corresponding to different grayscale values can be obtained.
步骤S750:根据所述不同灰阶值对应的灰阶补偿参数,构建所述灰阶补偿映射表。Step S750: Construct the gray-scale compensation mapping table according to the gray-scale compensation parameters corresponding to the different gray-scale values.
需要说明的是,上述灰阶补偿映射表是针对前述实施例中的当前亮度档位进行构建的,针对其他亮度档位对应的灰阶补偿映射表,可以采用同样的方式进行构建。It should be noted that the above grayscale compensation mapping table is constructed for the current brightness level in the aforementioned embodiment. The grayscale compensation mapping table corresponding to other brightness levels can be constructed in the same manner.
另外,本申请实施例中提供的灰阶补偿映射表的构建方法,也可以与前述实施例结合,仅需要针对前述实施例中的灰阶补偿映射表进行构建即可。例如,只针对部分灰阶值测试映射的灰阶补偿参数,则只需要通过上述方式,测试得到这部分灰阶值对应的灰阶补偿参数即可;又例如,若针对第一区域中各个子区域构建灰阶补偿映射表,只需要通过上述方式,针对各个区域构建灰阶补偿映射表即可。In addition, the method for constructing the grayscale compensation mapping table provided in the embodiments of this application can also be combined with the foregoing embodiments, and only needs to be constructed for the grayscale compensation mapping table in the foregoing embodiments. For example, if you only test the gray-scale compensation parameters of the mapping for some gray-scale values, you only need to test and obtain the gray-scale compensation parameters corresponding to this part of the gray-scale values through the above method; for another example, if you test each sub-region in the first area, To construct a grayscale compensation mapping table for a region, you only need to build a grayscale compensation mapping table for each region through the above method.
另外,上述步骤S710至步骤S750也可以是测试设备执行的,也就是说,测试设备在测试得到上述灰阶补偿映射表后,再将灰阶补偿映射表发送至电子设备,电子设备并将其进行存储。In addition, the above-mentioned steps S710 to step S750 may also be executed by the test equipment. That is to say, after the test equipment obtains the above-mentioned gray-scale compensation mapping table through testing, it then sends the gray-scale compensation mapping table to the electronic device, and the electronic device then transmits the gray-scale compensation mapping table to the electronic device. for storage.
步骤S760:获取待显示图像中与所述第一区域对应的第一灰阶数据,以及与所述第二区域对应的第二灰阶数据。Step S760: Obtain the first grayscale data corresponding to the first area and the second grayscale data corresponding to the second area in the image to be displayed.
步骤S770:根据所述屏幕的当前亮度档位对应的灰阶补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数,所述灰阶补偿映射表包括不同灰阶值对应的灰阶补偿参数。Step S770: Determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data according to the grayscale compensation mapping table corresponding to the current brightness level of the screen. The grayscale compensation mapping table includes different grayscales. The grayscale compensation parameter corresponding to the level value.
步骤S780:基于所述各个灰阶值对应的灰阶补偿参数,对所述各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据。Step S780: Based on the grayscale compensation parameters corresponding to the respective grayscale values, perform grayscale compensation on the respective grayscale values to obtain compensated third grayscale data.
步骤S790:基于所述第二灰阶数据,以及所述第三灰阶数据,对所述待显示图像进行显示,所述第三灰阶数据用于所述屏幕显示所述待显示图像时,使所述第一区域呈现的灰阶与所述第一灰阶数据匹配。Step S790: Display the image to be displayed based on the second grayscale data and the third grayscale data. The third grayscale data is used when the screen displays the image to be displayed, The gray scale presented in the first area is matched with the first gray scale data.
在本申请实施例中,步骤S760至步骤S790可以参阅前述实施例的内容,在此不再赘述。In this embodiment of the present application, the contents of steps S760 to S790 may be referred to the previous embodiments, and will not be described again here.
本申请实施例提供的图像显示方法,还提供了灰阶补偿映射表的构建方式,其针对第二区域中发光像素与像素驱动单元之间的阻抗较小的特性,利用屏幕显示测试图像时,第一区域所呈现的灰阶与第二区域所呈现的灰阶匹配时第一区域所显示的灰阶值,确定灰阶补偿参数,从而准确地构建灰阶补偿映射表,保证电子设备显示图像时,利用灰阶补偿映射表对图像对应第一区域的灰阶数据进行补偿后,能够呈现正确的亮度,进而保证屏幕的显示效果。The image display method provided by the embodiment of the present application also provides a method of constructing a grayscale compensation mapping table, which is based on the small impedance between the light-emitting pixels and the pixel driving unit in the second area. When using the screen to display the test image, The grayscale value displayed in the first area when the grayscale presented in the first area matches the grayscale presented in the second area determines the grayscale compensation parameters, thereby accurately constructing a grayscale compensation mapping table to ensure that electronic devices display images When the grayscale compensation mapping table is used to compensate the grayscale data corresponding to the first area of the image, the correct brightness can be presented, thereby ensuring the display effect of the screen.
需要说明的是,以上不同实施例之间均可以相互结合。It should be noted that the above different embodiments can be combined with each other.
请参阅图13,其示出了本申请实施例提供的一种图像显示装置400的结构框图。该图像显示装置400应用上述的电子设备,所述电子设备包括屏幕,所述屏幕的显示区域包括第一区域以及第二区域,所述第一区域中的发光像素与连接的像素驱动电路之间的阻抗大于所述第二区域中的发光像素与连接的像素驱动电路之间的阻抗,所述第一区域为所述显示区域的边缘位置所在区域。该图像显示装置400包括:第一获取模块410、第二获取模块420、灰阶补偿模块430以及内容显示模块440。其中,所述第一获取模块410用于获取待显示图像中与所述第一区域对应的第一灰阶数据,以及与所述第二区域对应的第二灰阶数据;所述第二获取模块420用于根据所述屏幕的当前亮度档位对应的灰阶补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数,所述灰阶补偿映射表包括不同灰阶值对应的灰阶补偿参数;所述灰阶补偿模块430基于所述各个灰阶值对应的灰阶补偿参数,对所述各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据;所述内容显示模块440用于基于所述第二灰阶数据,以及所述第三灰阶数据,对所述待显示图像进行显示,所述第三灰阶数据用于所述屏幕显示所述待显示图像时,使所述第一区域呈现的灰阶与所述第一灰阶数据匹配。Please refer to FIG. 13 , which shows a structural block diagram of an image display device 400 provided by an embodiment of the present application. The image display device 400 applies the above-mentioned electronic device. The electronic device includes a screen. The display area of the screen includes a first area and a second area. There is a gap between the light-emitting pixels in the first area and the connected pixel driving circuit. The impedance is greater than the impedance between the light-emitting pixels in the second area and the connected pixel driving circuit, and the first area is the area where the edge of the display area is located. The image display device 400 includes: a first acquisition module 410, a second acquisition module 420, a gray scale compensation module 430 and a content display module 440. Wherein, the first acquisition module 410 is used to acquire the first grayscale data corresponding to the first area in the image to be displayed, and the second grayscale data corresponding to the second area; the second acquisition Module 420 is configured to determine the gray-scale compensation parameters corresponding to each gray-scale value in the first gray-scale data according to the gray-scale compensation mapping table corresponding to the current brightness level of the screen. The gray-scale compensation mapping table includes different The gray-scale compensation parameter corresponding to the gray-scale value; the gray-scale compensation module 430 performs gray-scale compensation on each gray-scale value based on the gray-scale compensation parameter corresponding to each gray-scale value, and obtains the compensated third gray scale. Grayscale data; the content display module 440 is used to display the image to be displayed based on the second grayscale data and the third grayscale data, and the third grayscale data is used for the screen When the image to be displayed is displayed, the gray scale presented in the first area is matched with the first gray scale data.
在一些实施方式中,第二获取模块420可以具体用于:若所述第一灰阶数据中每个灰阶值均与所述多个灰阶值中的任一灰阶值匹配,则根据所述多个灰阶值对应的灰阶补偿参数,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数。In some embodiments, the second acquisition module 420 may be specifically configured to: if each grayscale value in the first grayscale data matches any grayscale value among the plurality of grayscale values, then according to The gray scale compensation parameters corresponding to the plurality of gray scale values determine the gray scale compensation parameters corresponding to each gray scale value in the first gray scale data.
在一种可能的实施方式中,第二获取模块420还可以用于:若所述第一灰阶数据中存在与所述多个灰阶值中任一灰阶值均不匹配的灰阶值,获取所述第一灰阶数据中与所述多个灰阶值中任一灰阶值均不匹配的灰阶值,作为第一灰阶值;获取所述第一灰阶数据中除所述第一灰阶值以外的灰阶值,作为第二灰阶值;获取所述多个灰阶值中与所述第一灰阶值相邻的第三灰阶值以及第四灰阶值,其中,所述多个灰阶值按照从小到大的顺序排列;根据所述多个灰阶值对应的灰阶补偿参数,确定所述第二灰阶值对应的灰阶补偿参数,所述第三灰阶值对应的灰阶补偿参数以及第四灰阶值对应的灰阶补偿参数;根据所述第三灰阶值对应的灰阶补偿参数以及第四灰阶值对应的灰阶补偿参数,确定所述第一灰阶值对应的灰阶补偿参数。In a possible implementation, the second acquisition module 420 may also be used: if there is a grayscale value in the first grayscale data that does not match any of the plurality of grayscale values. , obtain the grayscale value in the first grayscale data that does not match any grayscale value among the plurality of grayscale values as the first grayscale value; obtain all the grayscale values in the first grayscale data except A grayscale value other than the first grayscale value is used as a second grayscale value; and a third grayscale value and a fourth grayscale value adjacent to the first grayscale value among the plurality of grayscale values are obtained. , wherein the plurality of grayscale values are arranged in order from small to large; according to the grayscale compensation parameters corresponding to the plurality of grayscale values, the grayscale compensation parameters corresponding to the second grayscale value are determined, and the The gray scale compensation parameters corresponding to the third gray scale value and the gray scale compensation parameters corresponding to the fourth gray scale value; according to the gray scale compensation parameters corresponding to the third gray scale value and the gray scale compensation parameters corresponding to the fourth gray scale value , determine the grayscale compensation parameter corresponding to the first grayscale value.
在一些实施方式中,第二获取模块420可以具体用于:根据所述屏幕的当前屏幕刷新率以及当前亮度档位对应的灰阶补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数。In some embodiments, the second acquisition module 420 may be specifically configured to: determine each gray level in the first gray level data according to the current screen refresh rate of the screen and the gray scale compensation mapping table corresponding to the current brightness level. The grayscale compensation parameter corresponding to the value.
在一些实施方式中,第二获取模块420可以具体用于:从预设屏幕刷新率对应的不同亮度档位的灰阶补偿映射表中,获取当前亮度档位对应的目标补偿映射表;若所述当前屏幕刷新率为预设屏幕刷新率,则根据所述目标补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数。In some embodiments, the second acquisition module 420 may be specifically configured to: obtain the target compensation mapping table corresponding to the current brightness gear from the grayscale compensation mapping tables of different brightness gears corresponding to the preset screen refresh rate; if If the current screen refresh rate is the preset screen refresh rate, the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data are determined according to the target compensation mapping table.
在一种可能的实施方式中,第二获取模块420还可以用于:若所述当前屏幕刷新率不为所述预设屏幕刷新率,则根据所述目标补偿映射表,获取所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数;根据当前屏幕刷新率与预设屏幕刷新率的预设调整关系,对所述各个灰阶值对应的灰阶补偿参数进行调整。In a possible implementation, the second acquisition module 420 may also be configured to: if the current screen refresh rate is not the preset screen refresh rate, acquire the first first screen refresh rate according to the target compensation mapping table. The grayscale compensation parameters corresponding to each grayscale value in the grayscale data; according to the preset adjustment relationship between the current screen refresh rate and the preset screen refresh rate, the grayscale compensation parameters corresponding to each grayscale value are adjusted.
在一种可能的实施方式中,所述目标补偿映射表为多个,多个目标补偿映射表与多个预设屏幕刷新率一一对应,第二获取模块420可以具体用于:若所述当前屏幕刷新率为所述多个预设屏幕刷新率中的任一屏幕刷新率,则根据所述多个目标补偿映射表中与所述当前屏幕刷新率对应的目标补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数。In a possible implementation, there are multiple target compensation mapping tables, and the multiple target compensation mapping tables correspond to multiple preset screen refresh rates one-to-one. The second acquisition module 420 may be specifically used to: if the If the current screen refresh rate is any screen refresh rate among the plurality of preset screen refresh rates, then the target compensation mapping table corresponding to the current screen refresh rate in the plurality of target compensation mapping tables is determined. Gray scale compensation parameters corresponding to each gray scale value in the first gray scale data.
可选地,第二获取模块420还可以用于:若所述当前屏幕刷新率不为所述预设屏幕刷新率,则确定所述多个预设屏幕刷新率中与所述当前屏幕刷新率对应的第一屏幕刷新率以及第二屏幕刷新率,其中,所述多个预设屏幕刷新率按照从小到大的顺序排列;根据所述多个目标补偿映射表中与所述第一屏幕刷新率对应的目标补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数,作为所述各个灰阶值对应的第一补偿参数;根据多个目标补偿映射表中与所述当第二屏幕刷新率对应的目标补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数,作为所述各个灰阶值对应的第二补偿参数;基于所述各个灰阶值对应的第一补偿参数,以及所述各个灰阶值对应的第二补偿参数,确定所述各个灰阶值对应的灰阶补偿参数。Optionally, the second acquisition module 420 may also be configured to: if the current screen refresh rate is not the preset screen refresh rate, determine the difference between the multiple preset screen refresh rates and the current screen refresh rate. The corresponding first screen refresh rate and the second screen refresh rate, wherein the plurality of preset screen refresh rates are arranged in order from small to large; according to the plurality of target compensation mapping tables and the first screen refresh rate The target compensation mapping table corresponding to the rate determines the gray scale compensation parameter corresponding to each gray scale value in the first gray scale data as the first compensation parameter corresponding to each gray scale value; according to the multiple target compensation mapping tables The target compensation mapping table corresponding to the second screen refresh rate determines the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data as the second compensation parameters corresponding to each grayscale value; Based on the first compensation parameter corresponding to each gray scale value and the second compensation parameter corresponding to each gray scale value, the gray scale compensation parameter corresponding to each gray scale value is determined.
在一些实施方式中,所述灰阶补偿映射表包括所述第一区域内多个子区域对应的灰阶补偿映射表。第二获取模块420可以具体用于:根据所述多个子区域中每个子区域对应的灰阶补偿映射表,确定所述每个子区域对应的第一灰阶数据中的各个灰阶值对应的灰阶补偿参数。In some implementations, the grayscale compensation mapping table includes grayscale compensation mapping tables corresponding to multiple sub-regions within the first region. The second acquisition module 420 may be specifically configured to: according to the grayscale compensation mapping table corresponding to each subregion in the plurality of subregions, determine the grayscale value corresponding to each grayscale value in the first grayscale data corresponding to the each subregion. order compensation parameters.
在一些实施方式中,所述电子设备还包括外围电路;所述第一区域中的发光像素通过透明走线与位于所述第二区域中的像素驱动电路连接,所述第二区域中的发光像素与所述第二区域中的像素驱动电路直接连接,所述外围电路与所述第二区域中的像素驱动电路电性连接;所述外围电路在所述屏幕的显示平面上的正投影与所述第一区域中的发光像素在所述显示平面上的正投影至少部分重叠。In some embodiments, the electronic device further includes a peripheral circuit; the light-emitting pixels in the first area are connected to the pixel driving circuit in the second area through transparent wiring, and the light-emitting pixels in the second area are The pixel is directly connected to the pixel driving circuit in the second area, and the peripheral circuit is electrically connected to the pixel driving circuit in the second area; the orthographic projection of the peripheral circuit on the display plane of the screen is Orthographic projections of the light-emitting pixels in the first area on the display plane at least partially overlap.
在一种可能的实施方式中,该图像显示装置400还可以包括:测试模块、图像拍摄模块、灰阶调整模块以及返回模块。测试模块用于控制所述屏幕在所述当前亮度档位下,显示目标灰阶值的测试图像;图像拍摄模块用于获取针对所述屏幕拍摄得到的拍摄图像;灰阶调整模块用于对所述第一区域所显示的灰阶值进行调整,直至所述拍摄图像中所述第一区域的灰阶值与所述第二区域的灰阶值匹配,得到所述目标灰阶值对应的灰阶补偿参数;返回模块用于返回所述控制所述屏幕在当前亮度档位下,显示目标灰阶值的测试图像的步骤,直至得到不同灰阶值对应的灰阶补偿参数;根据所述不同灰阶值对应的灰阶补偿参数,构建所述灰阶补偿映射表。In a possible implementation, the image display device 400 may further include: a testing module, an image capturing module, a grayscale adjustment module, and a return module. The test module is used to control the screen to display a test image of the target grayscale value under the current brightness level; the image capture module is used to obtain the captured image captured for the screen; the grayscale adjustment module is used to adjust the The grayscale value displayed in the first area is adjusted until the grayscale value of the first area in the captured image matches the grayscale value of the second area, and a grayscale value corresponding to the target grayscale value is obtained. Grayscale compensation parameters; the return module is used to return to the step of controlling the screen to display the test image of the target grayscale value under the current brightness level until grayscale compensation parameters corresponding to different grayscale values are obtained; according to the different The gray-scale compensation parameters corresponding to the gray-scale values are used to construct the gray-scale compensation mapping table.
在一些实施方式中,第二获取模块420可以具体用于:若所述当前亮度档位低于预设亮度档位,且所述第一灰阶数据中的灰阶值低于预设灰阶值,则根据所述屏幕的当前亮度档位对应的灰阶补偿映射表,确定所述第一灰阶数据中各个灰阶值对应的灰阶补偿参数。In some embodiments, the second acquisition module 420 may be specifically configured to: if the current brightness level is lower than the preset brightness level, and the gray level value in the first gray level data is lower than the preset gray level value, then determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data according to the grayscale compensation mapping table corresponding to the current brightness level of the screen.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described devices and modules can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in this application, the coupling between modules may be electrical, mechanical or other forms of coupling.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules.
综上所述,本申请提供的方案,由于电子设备的屏幕的显示区域包括第一区域以及第二区域,且第一区域中的发光像素与连接的像素驱动电路之间的阻抗大于第二区域中的发光像素与连接的像素驱动电路之间的阻抗,因此,电子设备对待显示图像进行显示时,通过获取待显示图像中与第一区域对应的第一灰阶数据,以及与第二区域对应的第二灰阶数据,然后根据屏幕的当前亮度档位对应的灰阶补偿映射表,确定第一灰阶数据中各个灰阶值对应的灰阶补偿参数,再基于各个灰阶值对应的灰阶补偿参数,对各个灰阶值进行灰阶补偿,得到补偿后的第三灰阶数据,然后基于第二灰阶数据,以及第三灰阶数据,对待显示图像进行显示,以使述屏幕显示待显示图像时,使第一区域呈现的灰阶与第一灰阶数据匹配。由此,能够改善屏幕中部分区域由于发光像素与像素驱动电路之间的阻抗相对较高,所导致的显示效果不佳的问题,进而提升屏幕的显示效果。To sum up, the solution provided by this application is because the display area of the screen of the electronic device includes a first area and a second area, and the impedance between the light-emitting pixels in the first area and the connected pixel driving circuit is greater than that in the second area. The impedance between the light-emitting pixels in the image and the connected pixel drive circuit. Therefore, when the electronic device displays the image to be displayed, it obtains the first grayscale data corresponding to the first area in the image to be displayed, and the first grayscale data corresponding to the second area in the image to be displayed. The second grayscale data, and then determine the grayscale compensation parameters corresponding to each grayscale value in the first grayscale data based on the grayscale compensation mapping table corresponding to the current brightness level of the screen, and then based on the grayscale corresponding to each grayscale value Level compensation parameters, perform gray level compensation on each gray level value, obtain the compensated third gray level data, and then display the image to be displayed based on the second gray level data and the third gray level data to make the screen display When the image is to be displayed, the gray scale presented in the first area is matched with the first gray scale data. This can improve the problem of poor display effect caused by relatively high impedance between the light-emitting pixels and the pixel driving circuit in some areas of the screen, thereby improving the display effect of the screen.
请参考图14,其示出了本申请实施例提供的一种电子设备的结构框图。该电子设备100可以是智能手机、平板电脑、智能手表、电子书等能够运行应用程序的电子设备。本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120、以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个应用程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 14 , which shows a structural block diagram of an electronic device provided by an embodiment of the present application. The electronic device 100 may be a smartphone, a tablet computer, a smart watch, an e-book, or other electronic device capable of running applications. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, wherein one or more application programs may be stored in the memory 120 and configured by One or more processors 110 execute, and one or more application programs are configured to execute the method as described in the foregoing method embodiments.
处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。Processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Various functions and processing data of the electronic device 100 . Optionally, the processor 110 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in hardware form. The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the display content; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110 and may be implemented solely through a communication chip.
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 120 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc. The storage data area can also store data created during use of the electronic device 100 (such as phone book, audio and video data, chat record data), etc.
请参考图15,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质800中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 15 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code is stored in the computer-readable medium 800, and the program code can be called by the processor to execute the method described in the above method embodiment.
计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。Computer-readable storage medium 800 may be electronic memory such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes non-transitory computer-readable storage medium. The computer-readable storage medium 800 has storage space for program code 810 that performs any method steps in the above-described methods. These program codes can be read from or written into one or more computer program products. Program code 810 may, for example, be compressed in a suitable form.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions in the embodiments of the present application.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210426880.3A CN116978311A (en) | 2022-04-21 | 2022-04-21 | Image display method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210426880.3A CN116978311A (en) | 2022-04-21 | 2022-04-21 | Image display method, device, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116978311A true CN116978311A (en) | 2023-10-31 |
Family
ID=88478308
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210426880.3A Pending CN116978311A (en) | 2022-04-21 | 2022-04-21 | Image display method, device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116978311A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119007667A (en) * | 2024-09-27 | 2024-11-22 | 北京显芯科技有限公司 | Control method and device of display panel and display device |
-
2022
- 2022-04-21 CN CN202210426880.3A patent/CN116978311A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119007667A (en) * | 2024-09-27 | 2024-11-22 | 北京显芯科技有限公司 | Control method and device of display panel and display device |
| CN119007667B (en) * | 2024-09-27 | 2025-06-03 | 北京显芯科技有限公司 | A control method and device for display panel and a display device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112331145B (en) | Display frequency conversion method, DDIC chip, display module and terminal | |
| CN108520888B (en) | Display screen and display device | |
| JP7473102B2 (en) | Display brightness adjustment method and related device | |
| KR101958870B1 (en) | Display control method and apparatus for power saving | |
| US9741305B2 (en) | Devices and methods of adaptive dimming using local tone mapping | |
| US11295703B2 (en) | Displays with content-dependent brightness adjustment | |
| US20190221177A1 (en) | Display With Pixel Dimming For Curved Edges | |
| CN107564470A (en) | The brightness adjusting method and relevant apparatus of a kind of organic electroluminescence display panel | |
| CN104933983A (en) | Method and system for reducing power consumption of mobile terminal | |
| CN112309321B (en) | Display control method and device and storage medium | |
| CN107945747A (en) | Ambient light detection method, ambient light detection device, storage medium, and electronic apparatus | |
| CN111885230A (en) | Electronic equipment, display screen and display method thereof | |
| US20140198084A1 (en) | Method and system for display brightness and color optimization | |
| RU2734543C1 (en) | Display structure, display panel and display device | |
| CN108924316A (en) | Shield lower light sensation detection method, device, mobile terminal and computer storage medium | |
| CN111819618B (en) | Pixel contrast control system and method | |
| CN110211537B (en) | Display substrate driving method, driving circuit and display device | |
| WO2025016111A1 (en) | Pixel data processing method and apparatus, display device, and storage medium | |
| US12165605B2 (en) | Image display methods, apparatuses, electronic devices and storage media | |
| CN108630150B (en) | Early pixel reset system and method | |
| CN116978311A (en) | Image display method, device, electronic equipment and storage medium | |
| CN110853578A (en) | Voltage compensation method and device | |
| CN112581874B (en) | Display panel, display device, display control method, device and terminal equipment | |
| CN111292688B (en) | Screen brightness adjusting method and device and display device | |
| US9773446B2 (en) | Display activation and deactivation control |
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 |