CN115909981A - Color enhancement method and device, electronic equipment and storage medium - Google Patents
Color enhancement method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115909981A CN115909981A CN202110973429.9A CN202110973429A CN115909981A CN 115909981 A CN115909981 A CN 115909981A CN 202110973429 A CN202110973429 A CN 202110973429A CN 115909981 A CN115909981 A CN 115909981A
- Authority
- CN
- China
- Prior art keywords
- color
- color data
- screen
- value
- color gamut
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Processing Of Color Television Signals (AREA)
- Image Processing (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
一种色彩增强方法及装置、电子设备、存储介质,该方法应用于电子设备,该电子设备包括屏幕,该方法可以包括:获取屏幕的输出图像信号对应的第一色彩数据,以及该屏幕的色域对应的第二色彩数据,该第二色彩数据是通过对该屏幕进行色彩测试得到的;对上述第一色彩数据进行补偿增益处理,得到补偿色彩数据;根据该补偿色彩数据以及上述第二色彩数据,确定色域转换参数,并根据该色域转换参数对上述输出图像信号的色域进行转换。实施本申请实施例,能够有效利用电子设备屏幕的显示性能,提升电子设备输出显示图像的色彩效果。
A color enhancement method and device, electronic equipment, and a storage medium. The method is applied to electronic equipment, and the electronic equipment includes a screen. The method may include: acquiring first color data corresponding to an output image signal of the screen, and color data of the screen. The second color data corresponding to the domain, the second color data is obtained by performing a color test on the screen; the above-mentioned first color data is subjected to compensation gain processing to obtain the compensation color data; according to the compensation color data and the above-mentioned second color data data, determine a color gamut conversion parameter, and convert the color gamut of the above-mentioned output image signal according to the color gamut conversion parameter. By implementing the embodiments of the present application, the display performance of the screen of the electronic device can be effectively utilized, and the color effect of the output display image of the electronic device can be improved.
Description
技术领域technical field
本申请涉及屏幕显示技术领域,尤其涉及一种色彩增强方法及装置、电子设备、存储介质。The present application relates to the technical field of screen display, and in particular to a color enhancement method and device, electronic equipment, and a storage medium.
背景技术Background technique
当前,电子设备(如智能手机、电脑、电视等)在通过其屏幕输出显示图像时,通常需要按照指定的色域(或称颜色空间、色彩空间等)来进行输出。然而,在实践中发现,随着电子设备的快速更新换代,电子设备可支持的色域范围越来越大,但用于输出显示图像的输出图像信号所覆盖的色域范围可能较小,导致无法有效地利用电子设备屏幕的全部显示性能,降低了电子设备输出显示图像的色彩效果。Currently, electronic devices (such as smart phones, computers, televisions, etc.) usually need to output images according to a specified color gamut (or color space, color space, etc.) when outputting and displaying images through their screens. However, in practice, it is found that with the rapid replacement of electronic equipment, the color gamut that can be supported by electronic equipment is getting larger and larger, but the color gamut covered by the output image signal used to output the display image may be smaller, resulting in The full display performance of the screen of the electronic device cannot be effectively utilized, which reduces the color effect of the output display image of the electronic device.
发明内容Contents of the invention
本申请实施例公开了一种色彩增强方法及装置、电子设备、存储介质,能够有效利用电子设备屏幕的显示性能,提升电子设备输出显示图像的色彩效果。The embodiment of the present application discloses a color enhancement method and device, an electronic device, and a storage medium, which can effectively utilize the display performance of the screen of the electronic device and improve the color effect of the output display image of the electronic device.
本申请实施例第一方面公开一种色彩增强方法,应用于电子设备,所述电子设备包括屏幕,所述方法包括:The first aspect of the embodiment of the present application discloses a color enhancement method, which is applied to electronic equipment, the electronic equipment includes a screen, and the method includes:
获取所述屏幕的输出图像信号对应的第一色彩数据,以及所述屏幕的色域对应的第二色彩数据,所述第二色彩数据是通过对所述屏幕进行色彩测试得到的;Acquiring first color data corresponding to the output image signal of the screen, and second color data corresponding to the color gamut of the screen, the second color data is obtained by performing a color test on the screen;
对所述第一色彩数据进行补偿增益处理,得到补偿色彩数据;performing compensation gain processing on the first color data to obtain compensated color data;
根据所述补偿色彩数据以及所述第二色彩数据,确定色域转换参数,并根据所述色域转换参数对所述输出图像信号的色域进行转换。Determine a color gamut conversion parameter according to the compensated color data and the second color data, and convert the color gamut of the output image signal according to the color gamut conversion parameter.
本申请实施例第二方面公开一种色彩增强装置,应用于电子设备,所述电子设备包括屏幕,所述色彩增强装置包括:The second aspect of the embodiment of the present application discloses a color enhancement device, which is applied to an electronic device, the electronic device includes a screen, and the color enhancement device includes:
获取单元,用于获取所述屏幕的输出图像信号对应的第一色彩数据,以及所述屏幕的色域对应的第二色彩数据,所述第二色彩数据是通过对所述屏幕进行色彩测试得到的;An acquisition unit, configured to acquire first color data corresponding to the output image signal of the screen, and second color data corresponding to the color gamut of the screen, where the second color data is obtained by performing a color test on the screen of;
补偿单元,用于对所述第一色彩数据进行补偿增益处理,得到补偿色彩数据;a compensation unit, configured to perform compensation gain processing on the first color data to obtain compensated color data;
色域转换单元,用于根据所述补偿色彩数据以及所述第二色彩数据,确定色域转换参数,并根据所述色域转换参数对所述输出图像信号的色域进行转换。A color gamut conversion unit, configured to determine a color gamut conversion parameter according to the compensated color data and the second color data, and convert the color gamut of the output image signal according to the color gamut conversion parameter.
本申请实施例第三方面公开了一种电子设备,包括存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如本申请实施例第一方面公开的任意一种色彩增强方法中的全部或部分步骤。The third aspect of the embodiment of the present application discloses an electronic device, including a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor realizes the All or part of the steps in any color enhancement method disclosed in the first aspect of the embodiment.
本申请实施例第四方面公开了一种计算机可读存储介质,其存储计算机程序,其中,所述计算机程序被处理器执行时实现如本申请实施例第一方面公开的任意一种色彩增强方法中的全部或部分步骤。The fourth aspect of the embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, wherein, when the computer program is executed by a processor, any color enhancement method as disclosed in the first aspect of the embodiment of the present application is implemented All or some of the steps in .
与相关技术相比,本申请实施例具有以下有益效果:Compared with related technologies, the embodiments of the present application have the following beneficial effects:
本申请实施例中,应用色彩增强方法的电子设备可以包括屏幕,并可以获取该屏幕的输出图像信号对应的第一色彩数据,以及该屏幕的色域对应的第二色彩数据。其中,第二色彩数据是通过对该屏幕进行色彩测试得到的。在此基础上,电子设备可以对上述第一色彩数据进行补偿增益处理,得到相应的补偿色彩数据,继而可以根据该补偿色彩数据以及上述第二色彩数据,确定出色域转换参数,并根据该色域转换参数对上述输出图像信号的色域进行转换。可见,实施本申请实施例,电子设备能够结合用于其屏幕输出显示图像的输出图像信号对应的色彩信息,以及该屏幕自身对应的色彩信息(尤其是色域相关的信息),确定出相应的色域转换参数,进而可以根据该色域转换参数,将输出图像信号的色域尽可能地向屏幕自身可支持的色域范围进行拉伸变换,从而可以有效提升输出显示图像的色彩亮度、饱和度等,有助于增加更多的图像色彩细节,既能够更全面地利用电子设备屏幕的全部显示性能,又大大提升了电子设备输出显示图像的色彩效果。In the embodiment of the present application, the electronic device applying the color enhancement method may include a screen, and may acquire first color data corresponding to an output image signal of the screen and second color data corresponding to a color gamut of the screen. Wherein, the second color data is obtained by performing a color test on the screen. On this basis, the electronic device can perform compensation gain processing on the above-mentioned first color data to obtain corresponding compensation color data, and then can determine color gamut conversion parameters according to the compensation color data and the above-mentioned second color data, and according to the color The gamut conversion parameter converts the color gamut of the above-mentioned output image signal. It can be seen that, implementing the embodiment of the present application, the electronic device can determine the corresponding Color gamut conversion parameters, and then according to the color gamut conversion parameters, the color gamut of the output image signal can be stretched and transformed as much as possible to the color gamut range supported by the screen itself, so that the color brightness and saturation of the output display image can be effectively improved It helps to add more image color details, not only can make full use of the full display performance of the screen of the electronic device, but also greatly improves the color effect of the output display image of the electronic device.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图进行简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the accompanying drawings that need to be used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1是本申请实施例公开的一种色彩增强方法的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of a color enhancement method disclosed in an embodiment of the present application;
图2是本申请实施例公开的一种色彩增强方法的流程示意图;Fig. 2 is a schematic flow chart of a color enhancement method disclosed in the embodiment of the present application;
图3是本申请实施例公开的屏幕的一种色域范围的示意图;Fig. 3 is a schematic diagram of a color gamut range of the screen disclosed in the embodiment of the present application;
图4是本申请实施例公开的输出图像信号的一种色域范围的示意图;FIG. 4 is a schematic diagram of a color gamut range of an output image signal disclosed in an embodiment of the present application;
图5是本申请实施例公开的另一种色彩增强方法的流程示意图;Fig. 5 is a schematic flowchart of another color enhancement method disclosed in the embodiment of the present application;
图6是本申请实施例公开的又一种色彩增强方法的流程示意图;Fig. 6 is a schematic flowchart of another color enhancement method disclosed in the embodiment of the present application;
图7是本申请实施例公开的一种色彩增强装置的模块化示意图;Fig. 7 is a modular schematic diagram of a color enhancement device disclosed in an embodiment of the present application;
图8是本申请实施例公开的一种电子设备的模块化示意图。Fig. 8 is a schematic modular diagram of an electronic device disclosed in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
需要说明的是,本申请实施例的术语“包括”和“具有”及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments of the present application are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or process that includes a series of steps or units. The apparatus is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to the process, method, product or apparatus.
本申请实施例公开了一种色彩增强方法及装置、电子设备、存储介质,能够有效利用电子设备屏幕的显示性能,提升电子设备输出显示图像的色彩效果。The embodiment of the present application discloses a color enhancement method and device, an electronic device, and a storage medium, which can effectively utilize the display performance of the screen of the electronic device and improve the color effect of the output display image of the electronic device.
以下将结合附图进行详细描述。A detailed description will be given below in conjunction with the accompanying drawings.
请参阅图1,图1是本申请实施例公开的一种色彩增强方法的应用场景示意图。如图1所示,电子设备100可以包括屏幕101,该屏幕101可以用于根据输出图像信号进行相应的显示图像输出。其中,上述输出图像信号可以是屏幕101待输出的图像对应的图像信号,该输出图像信号可以由该电子设备100自身生成的(例如根据本地存储的图像数据、视频数据等生成);也可以是通过该电子设备100与网络设备(例如网络资源服务器等)所建立的网络连接,从该网络设备上获取的;还可以是通过该电子设备100直接与其他电子设备所建立的通信连接(例如蓝牙连接、Wi-Fi连接等),从其他电子设备接收得到的。Please refer to FIG. 1 . FIG. 1 is a schematic diagram of an application scenario of a color enhancement method disclosed in an embodiment of the present application. As shown in FIG. 1 , the
示例性地,电子设备100的屏幕101可以包括未图示的背光层以及显示层,该背光层可以用于发出白色背光,该显示层则可以用于根据上述输出图像信号调整不同像素点的滤光颜色及滤光程度,以对上述白色背光进行滤光,实现不同颜色、不同亮度的彩色输出。以液晶电视为例,其可以具有液晶显示屏(Liquid Crystal Display,LCD),则上述显示层具体可以为TFT(Thin Film Transistor,薄膜晶体管)层、液晶层以及滤光片层的组合。通过液晶电视内置的处理器控制TFT层上的电压信号,可以准确地调整液晶层中液晶分子的排列状态,以针对滤光片层中不同像素点、不同颜色的滤光片分配相应的透光量,从而可以调整每个像素点在不同颜色通道上的亮度,在屏幕101上表现输出图像信号对应的色彩效果,实现相应的显示图像输出。Exemplarily, the
可选地,上述电子设备100的屏幕101也可以仅包括显示层,该显示层可以自发光,以在电子设备100内置的处理器的控制下,直接对屏幕101所表现的色彩效果进行调整,以实现相应的显示图像输出。示例性地,以OLED(Organic Light Emitting Diodes,有机发光二极管)电视为例,其可以具有OLED显示屏,则上述显示层具体可以为OLED层。Optionally, the
需要说明的是,上述输出图像信号,以及电子设备100的屏幕101自身,均可以拥有各自的色域(或称颜色空间、色彩空间等),即各自能够表现的色彩范围。通常来说,上述两者的色域范围可以是不相同的。若输出图像信号的色域范围窄于屏幕101可支持的色域范围,则该屏幕101可以完全表现上述输出图像信号所携带的图像色彩细节(如色彩亮度、饱和度等),也可以在该屏幕101的色域范围内增加更多的图像色彩细节。反之,若屏幕101可支持的色域范围窄于输出图像信号的色域范围,则该屏幕101只能部分表现上述图像色彩细节。无论是针对上述哪一种色域范围不匹配的情况,电子设备100都可以对输出图像信号进行适应性的色域调整,以充分利用其屏幕101的显示性能,从而可以提升电子设备100根据色域调整后的输出图像信号输出显示图像的色彩效果。It should be noted that the above-mentioned output image signal and the
在本申请实施例中,电子设备100可以获取其屏幕101的输出图像信号对应的第一色彩数据,以及该屏幕101的色域对应的第二色彩数据。其中,第二色彩数据可以是通过对该屏幕101进行色彩测试得到的。在此基础上,电子设备100可以对上述第一色彩数据进行补偿增益处理,得到相应的补偿色彩数据,继而可以根据该补偿色彩数据以及上述第二色彩数据,确定出色域转换参数,并根据该色域转换参数对上述输出图像信号的色域进行转换。In the embodiment of the present application, the
通过实施上述方法,电子设备100能够综合考虑其屏幕101输出显示图像的输出图像信号对应的色彩信息,以及该屏幕自身对应的色彩信息(尤其是色域相关的信息),以确定出用于对输出图像信号进行色域转换的色域转换参数,进而可以根据该色域转换参数,将输出图像信号的色域尽可能地向屏幕101自身可支持的色域范围进行拉伸变换(屏幕101的色域范围通常比输出图像信号的色域范围更宽),从而可以有效提升输出显示图像的色彩亮度、饱和度等,有助于增加更多的图像色彩细节,既能够更全面地利用该屏幕101的全部显示性能,又大大提升了电子设备100输出显示图像的色彩效果。By implementing the above method, the
其中,上述电子设备100可以包括具备屏幕显示功能的各类设备或系统,如手机、智能可穿戴设备、车载终端、平板电脑、PC(Personal Computer,个人电脑)、PDA(PersonalDigital Assistant,个人数字助理)、电视等,本申请实施例中不作具体限定。可以理解,图1所示的电子设备100为电视,这仅仅是一种示例,不应被视为对本申请实施例中电子设备100的设备类型的限制。Wherein, the above-mentioned
请参阅图2,图2是本申请实施例公开的一种色彩增强方法的流程示意图,该方法可以应用于上述的电子设备,该电子设备可以包括屏幕。如图2所示,该色彩增强方法可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of a color enhancement method disclosed in an embodiment of the present application. The method may be applied to the above-mentioned electronic device, and the electronic device may include a screen. As shown in Figure 2, the color enhancement method may include the following steps:
202、获取屏幕的输出图像信号对应的第一色彩数据,以及该屏幕的色域对应的第二色彩数据,该第二色彩数据是通过对该屏幕进行色彩测试得到的。202. Acquire first color data corresponding to an output image signal of the screen, and second color data corresponding to a color gamut of the screen, where the second color data is obtained by performing a color test on the screen.
示例性地,上述输出图像信号对应的第一色彩数据,可以包括由该输出图像信号的信号源所决定的色彩编码数值范围或取值(Data Range/Data Level)。以上述信号源的颜色空间为RGB颜色空间为例,针对R(Red,红色)、G(Green,绿色)、B(Blue,蓝色)三种不同的颜色通道,第一色彩数据可以包括Rs、Gs、Bs,即分别表示各个颜色通道上对应的DataLevel,从而可以共同表征该输出图像信号对应的RGB色域范围。需要说明的是,上述第一色彩数据Rs、Gs、Bs的值,具体可以为[0,255]这一取值范围内的任一整数值。在本申请实施例中,电子设备可以根据上述输出图像信号,直接确定其信号源对应的Data Level,以获取该输出图像信号对应的第一色彩数据。Exemplarily, the first color data corresponding to the above output image signal may include a color coding numerical range or value (Data Range/Data Level) determined by the signal source of the output image signal. Taking the color space of the above signal source as the RGB color space as an example, for three different color channels of R (Red, red), G (Green, green), and B (Blue, blue), the first color data may include Rs , Gs, and Bs respectively represent the corresponding DataLevel on each color channel, so as to jointly represent the RGB color gamut range corresponding to the output image signal. It should be noted that the values of the above-mentioned first color data Rs, Gs, and Bs may specifically be any integer value within the value range of [0, 255]. In the embodiment of the present application, the electronic device may directly determine the Data Level corresponding to its signal source according to the above output image signal, so as to obtain the first color data corresponding to the output image signal.
示例性地,上述屏幕的色域对应的第二色彩数据,可以包括在该屏幕所能够支持显示的色域范围内,对该屏幕进行色彩测试所得到的颜色参数,例如显示不同的目标测试图像时所测得的色度值x、y以及亮度值lv等,其中,色度值x可以代表红原色比例,色度值y可以代表绿原色比例。Exemplarily, the second color data corresponding to the color gamut of the above-mentioned screen may include color parameters obtained by performing a color test on the screen within the range of the color gamut supported by the screen, for example, displaying different target test images The measured chromaticity values x, y and luminance value lv, etc., wherein the chromaticity value x can represent the ratio of the red primary color, and the chromaticity value y can represent the ratio of the green primary color.
具体地,通过色彩分析仪(如CA-410等),可以对该屏幕输出不同色彩、不同亮度的目标测试图像的各种情况分别进行测试。同样以RGB颜色空间为例,针对R、G、B三种不同的颜色通道,可以使电子设备的屏幕依次显示每个颜色通道下的各个Data Level(通常为0-255)对应的目标测试图像,并通过色彩分析仪分别对每个目标测试图像进行测试,以得到每个颜色通道下各个Data Level所对应的颜色参数x、y、lv等。可选地,也可以仅针对部分特殊的Data Level对应的目标测试图像进行测试,并将测试所得到的颜色参数作为第二色彩数据;或者基于该测试所得到的颜色参数进一步推导得到其他Data Level对应的颜色参数,以将上述测试及推导得到的颜色参数共同作为第二色彩数据。Specifically, by using a color analyzer (such as CA-410, etc.), various situations in which the screen outputs target test images of different colors and different brightnesses can be tested respectively. Also taking the RGB color space as an example, for the three different color channels of R, G, and B, the screen of the electronic device can sequentially display the target test images corresponding to each Data Level (usually 0-255) under each color channel , and each target test image is tested by a color analyzer to obtain the color parameters x, y, lv, etc. corresponding to each Data Level under each color channel. Optionally, it is also possible to test only the target test images corresponding to some special Data Levels, and use the color parameters obtained by the test as the second color data; or further derive other Data Levels based on the color parameters obtained by the test. For the corresponding color parameters, the color parameters obtained from the above test and derivation are collectively used as the second color data.
在此基础上,电子设备可以与色彩分析仪进行通信,获取该色彩分析仪所得到的第二色彩数据。可选地,也可以将上述第二色彩数据手动输入电子设备,并存储在该电子设备的存储模块中,以在需要对输出图像信号进行色域转换时再进行调用。On this basis, the electronic device can communicate with the color analyzer to acquire the second color data obtained by the color analyzer. Optionally, the above-mentioned second color data can also be manually input into the electronic device, and stored in the storage module of the electronic device, so as to be recalled when the color gamut conversion of the output image signal is required.
在本申请实施例中,由于输出图像信号所覆盖的色域范围与该电子设备的屏幕所支持的色域范围通常不相匹配(例如输出图像信号的色域范围窄于屏幕所支持的色域范围),通过获取上述输出图像信号对应的第一色彩数据,以及该屏幕的色域对应的第二色彩数据,电子设备可以在后续步骤中综合考虑两者之间的差异,以基于该第一色彩数据和第二色彩数据确定出相应的色域转换参数,用于对上述输出图像信号进行色域转换,从而可以尽可能充分地利用该屏幕的显示性能,提升电子设备输出显示图像的色彩效果。In the embodiment of the present application, since the color gamut range covered by the output image signal does not usually match the color gamut range supported by the screen of the electronic device (for example, the color gamut range of the output image signal is narrower than the color gamut range supported by the screen Range), by acquiring the first color data corresponding to the above output image signal, and the second color data corresponding to the color gamut of the screen, the electronic device can comprehensively consider the difference between the two in subsequent steps, and based on the first The color data and the second color data determine the corresponding color gamut conversion parameters, which are used to perform color gamut conversion on the output image signal, so that the display performance of the screen can be fully utilized as much as possible, and the color effect of the output display image of the electronic device can be improved. .
204、对上述第一色彩数据进行补偿增益处理,得到补偿色彩数据。204. Perform compensation gain processing on the first color data to obtain compensated color data.
在本申请实施例中,若输出图像信号的色域范围窄于屏幕所支持的色域范围,则在需要对该输出图像信号进行色域转换时,可以先对该输出图像信号对应的第一色彩数据进行补偿增益处理,以适当地增大该第一色彩数据的整体数值范围,便于后续进一步提升该输出图像信号的色域范围。In this embodiment of the application, if the color gamut range of the output image signal is narrower than the color gamut range supported by the screen, when it is necessary to perform color gamut conversion on the output image signal, the first Compensation and gain processing is performed on the color data to properly increase the overall value range of the first color data, so as to further improve the color gamut range of the output image signal.
在一些实施例中,电子设备可以采用固定增益值对上述第一色彩数据进行补偿。示例性地,对于第一色彩数据Rs、Gs、Bs,可以指定一个固定增益值c,并将该固定增益值分别与第一色彩数据相加,以得到相应的补偿色彩数据Rs'、Gs'、Bs'。其中,Rs'=Rs+c,Gs'=Gs+c,Bs'=Bs+c。In some embodiments, the electronic device may use a fixed gain value to compensate the first color data. Exemplarily, for the first color data Rs, Gs, Bs, a fixed gain value c can be specified, and the fixed gain value is added to the first color data respectively to obtain the corresponding compensated color data Rs', Gs' , Bs'. Wherein, Rs'=Rs+c, Gs'=Gs+c, Bs'=Bs+c.
在另一些实施例中,电子设备也可以采用浮动变化的增益值来对上述第一色彩数据进行补偿。示例性地,对于不同数值范围的第一色彩数据Rs、Gs、Bs,即在[0,255]这一范围内细分的不同数值范围(例如[0,60)、[60,231)、[231,255]等),可以分别指定不同的增益值,以基于用户对不同色彩区间的不同视觉敏感性(例如对亮场图像相对敏感,对暗场图像相对不敏感等),分别进行针对性的补偿。In some other embodiments, the electronic device may also use a floating gain value to compensate the above-mentioned first color data. Exemplarily, for the first color data Rs, Gs, and Bs of different numerical ranges, that is, different numerical ranges subdivided within the range [0,255] (such as [0,60), [60,231), [231,255], etc. ), you can specify different gain values to perform targeted compensation based on the user's different visual sensitivities to different color intervals (for example, relatively sensitive to bright field images, relatively insensitive to dark field images, etc.).
206、根据该补偿色彩数据以及上述第二色彩数据,确定色域转换参数,并根据该色域转换参数对上述输出图像信号的色域进行转换。206. Determine a color gamut conversion parameter according to the compensated color data and the second color data, and convert the color gamut of the output image signal according to the color gamut conversion parameter.
在本申请实施例中,电子设备在获取上述补偿色彩数据以及第二色彩数据之后,可以据此综合考虑输出图像信号对应的色域与屏幕自身对应的色域之间的色域范围差异,以确定出相应的色域转换参数。示例性地,上述色域转换参数可以包括色域增益系数、色域转换矩阵等不同形式,电子设备可以根据不同形式的色域转换参数来对其屏幕的输出图像信号的色域进行转换,进而可以根据该输出图像信号输出色彩细节更丰富的显示图像。In the embodiment of the present application, after the electronic device acquires the compensation color data and the second color data, it can comprehensively consider the color gamut range difference between the color gamut corresponding to the output image signal and the color gamut corresponding to the screen itself, to Determine the corresponding color gamut conversion parameters. Exemplarily, the above-mentioned color gamut conversion parameters may include different forms such as color gamut gain coefficient and color gamut conversion matrix, and the electronic device may convert the color gamut of the output image signal of its screen according to different forms of color gamut conversion parameters, and then A display image with richer color details can be output based on the output image signal.
示例性地,请一并参阅图3及图4,图3是本申请实施例公开的屏幕的一种色域范围的示意图,图4则是本申请实施例公开的输出图像信号的一种色域范围的示意图。如图3及图4所示,电子设备的屏幕的色域范围(即图3所示色域马蹄图中的A区域)可以比输出图像信号的色域范围(即图4所示色域马蹄图中的B区域)更宽,故电子设备在对输出图像信号的色域进行上述转换时,实际上是将输出图像信号的色域尽可能地向屏幕自身可支持的色域范围进行拉伸变换(由B区域对应的范围拉伸至A区域对应的范围),以使得输出图像信号可以与屏幕的色域相匹配,从而屏幕根据该输出图像信号输出的显示图像可以具有更高的亮度、饱和度等,表现为视觉效果更鲜艳,有助于提升用户观看输出显示图像时的视觉体验。For example, please refer to Figure 3 and Figure 4 together, Figure 3 is a schematic diagram of a color gamut range of the screen disclosed in the embodiment of the application, and Figure 4 is a color of the output image signal disclosed in the embodiment of the application Schematic diagram of the domain scope. As shown in Figure 3 and Figure 4, the color gamut range of the screen of the electronic device (that is, the A area in the color gamut horseshoe diagram shown in Figure 3) can be compared with the color gamut range of the output image signal (that is, the color gamut horseshoe shown in Figure 4 Area B in the figure) is wider, so when the electronic device performs the above-mentioned conversion on the color gamut of the output image signal, it actually stretches the color gamut of the output image signal to the color gamut that the screen itself can support. Transform (stretched from the range corresponding to the B area to the range corresponding to the A area), so that the output image signal can match the color gamut of the screen, so that the display image output by the screen according to the output image signal can have higher brightness, Saturation, etc., the visual effect is more vivid, which helps to improve the user's visual experience when watching the output display image.
可见,实施上述实施例所描述的色彩增强方法,电子设备能够结合用于其屏幕输出显示图像的输出图像信号对应的色彩信息,以及该屏幕自身对应的色彩信息,确定出相应的色域转换参数,进而可以根据该色域转换参数,将输出图像信号的色域尽可能地向屏幕自身可支持的色域范围进行拉伸变换,从而可以有效提升输出显示图像的色彩亮度、饱和度等,有助于增加更多的图像色彩细节,既能够更全面地利用电子设备屏幕的全部显示性能,又大大提升了电子设备输出显示图像的色彩效果,提升了用户观看输出显示图像时的视觉体验。It can be seen that, by implementing the color enhancement method described in the above embodiments, the electronic device can determine the corresponding color gamut conversion parameters by combining the color information corresponding to the output image signal used to output the display image on its screen and the color information corresponding to the screen itself. , and then according to the color gamut conversion parameter, the color gamut of the output image signal can be stretched and transformed as much as possible to the color gamut range supported by the screen itself, so that the color brightness and saturation of the output display image can be effectively improved, and there is It helps to add more image color details, not only can make full use of all the display performance of the screen of the electronic device, but also greatly improves the color effect of the output display image of the electronic device, and improves the user's visual experience when viewing the output display image.
请参阅图5,图5是本申请实施例公开的另一种色彩增强方法的流程示意图,该方法可以应用于上述的电子设备,该电子设备可以包括屏幕。如图5所示,该色彩增强方法可以包括以下步骤:Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of another color enhancement method disclosed in an embodiment of the present application. The method may be applied to the above-mentioned electronic device, and the electronic device may include a screen. As shown in Figure 5, the color enhancement method may include the following steps:
502、获取屏幕的输出图像信号对应的第一色彩数据,以及该屏幕的色域对应的第二色彩数据,该第二色彩数据是通过对该屏幕进行色彩测试得到的。502. Acquire first color data corresponding to an output image signal of the screen, and second color data corresponding to a color gamut of the screen, where the second color data is obtained by performing a color test on the screen.
其中,步骤502与上述步骤202类似,此处不再赘述。Wherein,
504、根据上述第一色彩数据对应的第一数值范围,对该第一色彩数据进行归一化,得到与该第一色彩数据匹配的归一化色彩数据。504. Perform normalization on the first color data according to the first value range corresponding to the first color data, to obtain normalized color data matching the first color data.
在本申请实施例中,通过对第一色彩数据进行归一化处理,可以将第一色彩数据的取值范围从原来的[0,255]压缩至[0,1],从而可以降低后续计算的复杂程度,提升计算效率。可选地,通过对不同数值范围内的第一色彩数据进行不同步长的归一化,可以基于用户对不同色彩区间的不同视觉敏感性,针对对应不同色彩区间的归一化色彩数据进行适应性的放缩。其中,上述步长,可以表示在对第一色彩数据进行归一化的过程中,所得到的归一化色彩数据的取值间隔。可以理解,不同数值范围内的第一色彩数据可以对应不同的步长值(即上述步长的取值),则相应的归一化色彩数据可以对应不同的取值间隔。示例性地,若取步长值n=0.1,可以表示归一化色彩数据的取值以0.1为间隔递增或递减(如Rs'∈[0,0.5]时,Rs'=0,0.1,0.2,…,0.5);若取步长值n=0.05,则可以表示归一化色彩数据的取值以0.05为间隔递增或递减(如Rs'∈[0.7,1]时,Rs'=0.7,0.75,0.8,…,1)。在此基础上,电子设备可以在后续步骤中确定出更准确的色域转换参数,从而既能够确保输出显示图像可以得到合适的视觉效果(例如不丢失人眼敏感的部分亮场细节),又能够尽可能地降低后续计算的复杂度(例如忽略对人眼不敏感的部分暗场细节)。In the embodiment of this application, by normalizing the first color data, the value range of the first color data can be compressed from the original [0,255] to [0,1], thereby reducing the complexity of subsequent calculations to improve computational efficiency. Optionally, by normalizing the first color data in different numerical ranges with different step lengths, the normalized color data corresponding to different color ranges can be adapted based on the user's different visual sensitivities to different color ranges. sex scaling. Wherein, the above-mentioned step length may represent a value interval of normalized color data obtained during the process of normalizing the first color data. It can be understood that the first color data in different numerical ranges may correspond to different step values (that is, the value of the above step), and the corresponding normalized color data may correspond to different value intervals. Exemplarily, if the step size n=0.1, it can indicate that the value of the normalized color data is incremented or decremented at an interval of 0.1 (such as when Rs'∈[0,0.5], Rs'=0,0.1,0.2 ,...,0.5); if the step size n=0.05, it can indicate that the value of the normalized color data increases or decreases with an interval of 0.05 (such as when Rs'∈[0.7,1], Rs'=0.7, 0.75,0.8,...,1). On this basis, the electronic device can determine more accurate color gamut conversion parameters in subsequent steps, so as to ensure that the output display image can obtain a suitable visual effect (for example, not losing some bright field details sensitive to the human eye), and The complexity of subsequent calculations can be reduced as much as possible (for example, some dark field details that are not sensitive to human eyes are ignored).
具体举例来说,电子设备可以先根据上述第一色彩数据对应的第一数值范围,确定与该第一数值范围匹配的步长值。以第一色彩数据为Rs为例,当Rs∈[0,60)时,由于人眼对暗场细节不敏感,可以取步长值n=0,则相应的归一化色彩数据Rs'可以始终为0;当Rs∈[60,231)时,可以取步长指n∈[0.0039,0.039],则相应的归一化色彩数据Rs'可以满足0.2352≤Rs'<0.9059;当Rs∈[231,255]时,则可以取固定的步长值n=0.0039,此时相应的归一化色彩数据Rs'可以满足0.9059≤Rs'≤1,从而可以等比例地对第一色彩数据进行归一化,避免对人眼敏感的亮场细节造成扰乱。Specifically, for example, the electronic device may first determine a step size matching the first numerical range according to the first numerical range corresponding to the first color data. Taking the first color data as Rs as an example, when Rs∈[0,60), since the human eye is not sensitive to dark field details, the step value n=0 can be taken, and the corresponding normalized color data Rs' can be It is always 0; when Rs∈[60,231), you can take the step size n∈[0.0039,0.039], then the corresponding normalized color data Rs' can satisfy 0.2352≤Rs'<0.9059; when Rs∈[231,255] , then a fixed step value n=0.0039 can be taken. At this time, the corresponding normalized color data Rs' can satisfy 0.9059≤Rs'≤1, so that the first color data can be normalized in equal proportions, avoiding Bright field details to which the human eye is sensitive are disturbed.
进一步地,电子设备可以按照上述步长值,在第二数值范围内确定与第一色彩数据匹配的归一化色彩数据。其中,上述第二数值范围可以是由第一数值范围映射得到的,例如第一色彩数据Rs在[0,255]内的不同取值范围,可以相应地映射得到归一化色彩数据Rs'在[0,1]内的不同取值范围,从而可以准确地确定出与第一色彩数据匹配的归一化色彩数据。仍以第一色彩数据为Rs为例,当Rs∈[0,60)时,可以映射得到相应的0≤Rs'<0.2352(上述Rs'始终为0亦符合该取值范围);当Rs∈[231,255]时,可以映射得到相应的0.9059≤Rs'≤1,在此范围内Rs'可以按照固定步长n=0.0039取值;当Rs∈[60,231)时,可以映射得到相应的0.2352≤Rs'<0.9059,在此范围内Rs'可以按照选定的不同步长n(其中n∈[0.0039,0.039])取值。Further, the electronic device may determine the normalized color data matching the first color data within the second value range according to the above step value. Wherein, the above-mentioned second numerical range can be obtained by mapping the first numerical range, for example, the different value ranges of the first color data Rs within [0, 255] can be correspondingly mapped to obtain the normalized color data Rs' in [0 ,1], so that the normalized color data matching the first color data can be accurately determined. Still taking the first color data as Rs as an example, when Rs∈[0,60), it can be mapped to obtain the corresponding 0≤Rs'<0.2352 (the above-mentioned Rs' is always 0 and also conforms to this value range); when Rs∈ When [231,255], it can be mapped to get the corresponding 0.9059≤Rs'≤1, and within this range Rs' can take a value according to the fixed step size n=0.0039; when Rs∈[60,231), it can be mapped to get the corresponding 0.2352≤Rs '<0.9059, within this range Rs' can take values according to different selected step lengths n (where n∈[0.0039,0.039]).
示例性地,对于第一色彩数据Gs、Bs均可采用上述与Rs相同的取值范围,其相应的归一化色彩数据Gs'、Bs'也可以采用上述与Rs'相同的取值范围。Exemplarily, the above-mentioned value range same as Rs can be used for the first color data Gs and Bs, and the corresponding normalized color data Gs' and Bs' can also use the same value range as above-mentioned Rs'.
506、通过第一数值范围对应的补偿增益函数对归一化色彩数据进行补偿增益处理,得到补偿色彩数据。506. Perform compensation gain processing on the normalized color data by using a compensation gain function corresponding to the first value range to obtain compensation color data.
在本申请实施例中,电子设备在获取与第一色彩数据匹配的归一化色彩数据之后,可以以该归一化色彩数据为基础进行补偿增益处理。示例性地,对于不同数值范围内的归一化色彩数据,电子设备可以进行不同方式或不同程度的增益补偿,从而可以基于用户对不同色彩区间的不同视觉敏感性,提升对归一化色彩数据进行补偿增益处理的灵活性和高效性。可以理解,由于划分归一化色彩数据的第二数值范围可以由划分第一色彩数据的第一数值范围映射得到,电子设备可以直接按照该第一数值范围确定出其对应的补偿增益函数,继而可以通过该补偿增益函数对归一化色彩数据进行补偿增益处理,得到补偿色彩数据。In the embodiment of the present application, after the electronic device acquires the normalized color data matching the first color data, it may perform compensation gain processing based on the normalized color data. Exemplarily, for normalized color data in different numerical ranges, the electronic device can perform gain compensation in different ways or in different degrees, so that based on users' different visual sensitivities to different color ranges, the normalized color data can be improved. Flexibility and efficiency for compensation gain processing. It can be understood that since the second numerical range for dividing the normalized color data can be obtained by mapping the first numerical range for dividing the first color data, the electronic device can directly determine the corresponding compensation gain function according to the first numerical range, and then Compensation gain processing can be performed on the normalized color data through the compensation gain function to obtain the compensation color data.
在一些实施例中,上述补偿增益函数还可以与第一数值范围匹配的步长值相关。示例性地,电子设备在根据上述第一色彩数据对应的第一数值范围,确定与该第一数值范围匹配的步长值之后,可以进一步地根据该步长值,确定与该第一数值范围对应的补偿增益函数。In some embodiments, the above-mentioned compensation gain function may also be related to a step value matched to the first numerical range. Exemplarily, after the electronic device determines the step value matching the first numerical range according to the first numerical range corresponding to the first color data, it may further determine the step size corresponding to the first numerical range according to the step value. The corresponding compensation gain function.
具体举例来说,当Rs∈[0,60)时,由于人眼对暗场细节不敏感,可以不对相应的归一化色彩数据Rs'进行补偿增益处理,即相应的补偿色彩数据Ra=Rs'。Specifically, for example, when Rs∈[0,60), since human eyes are not sensitive to dark field details, compensation gain processing may not be performed on the corresponding normalized color data Rs′, that is, the corresponding compensation color data Ra=Rs '.
当Rs∈[60,231)时,对应的步长值n∈[0.0039,0.039],可以采用函数Ra=Rs'+n来计算相应的补偿色彩数据,此时步长值n可以在范围[0.0039,0.039]内灵活设置,有助于提升对归一化色彩数据进行补偿增益处理的灵活性。示例性地,可以取n=0.0039N(N为正整数,N∈[1,10]),即Ra=Rs'+0.0039N,此时对归一化色彩数据Rs'的补偿增益可以为步长值n最小取值0.0039的整数倍,相当于补偿整数倍的Data Level,在确保补偿增益处理灵活性的前提下,也降低了后续计算的复杂程度,有助于提升计算效率。When Rs∈[60,231), the corresponding step size n∈[0.0039,0.039], the function Ra=Rs'+n can be used to calculate the corresponding compensation color data, and the step size n can be in the range of [0.0039, 0.039], which helps to improve the flexibility of compensation gain processing for normalized color data. Exemplarily, n=0.0039N (N is a positive integer, N∈[1,10]) can be taken, that is, Ra=Rs'+0.0039N, at this time, the compensation gain for the normalized color data Rs' can be The minimum value of the long value n is an integer multiple of 0.0039, which is equivalent to the Data Level of the compensation integer multiple. On the premise of ensuring the flexibility of compensation gain processing, it also reduces the complexity of subsequent calculations and helps to improve calculation efficiency.
当Rs∈[231,255]时,对应的步长值n=0.0039,此时可以采用Ra=Rs'+n=Rs'+0.0039来计算相应的补偿色彩数据,即仅进行1个步长的增益补偿,可以有效地防止输出显示图像丢失部分亮场细节。When Rs∈[231,255], the corresponding step value n=0.0039, at this time, Ra=Rs'+n=Rs'+0.0039 can be used to calculate the corresponding compensation color data, that is, gain compensation of only 1 step , which can effectively prevent the output display image from losing some bright field details.
可选地,电子设备也可以通过查表的方式确定与归一化色彩数据对应的补偿色彩数据。示例性地,电子设备在得到与第一色彩数据匹配的归一化色彩数据之后,可以获取其预先存储的增益补偿对照表,并在该增益补偿对照表中,查询与上述归一化色彩数据对应的补偿色彩数据,继而可以将该补偿色彩数据应用于后续确定色域转换参数的计算过程中。Optionally, the electronic device may also determine the compensation color data corresponding to the normalized color data by means of table lookup. Exemplarily, after the electronic device obtains the normalized color data matching the first color data, it can obtain its pre-stored gain compensation comparison table, and in the gain compensation comparison table, query The corresponding compensation color data can then be applied to the subsequent calculation process for determining the color gamut conversion parameters.
508、根据该补偿色彩数据以及上述第二色彩数据,确定色域转换参数,并根据该色域转换参数对上述输出图像信号的色域进行转换。508. Determine a color gamut conversion parameter according to the compensated color data and the second color data, and convert the color gamut of the output image signal according to the color gamut conversion parameter.
其中,步骤508与上述步骤206类似,此处不再赘述。Wherein,
可见,实施上述实施例所描述的色彩增强方法,电子设备能够结合用于其屏幕输出显示图像的输出图像信号对应的色彩信息,以及该屏幕自身对应的色彩信息,将输出图像信号的色域尽可能地向屏幕自身可支持的色域范围进行拉伸变换,从而可以有效提升输出显示图像的色彩亮度、饱和度等,有助于增加更多的图像色彩细节,既能够更全面地利用电子设备屏幕的全部显示性能,又大大提升了电子设备输出显示图像的色彩效果,提升了用户观看输出显示图像时的视觉体验;此外,通过设定不同的数值范围来进行计算,可以基于用户对不同色彩区间的不同视觉敏感性,提升计算过程的灵活性和高效性,提升电子设备对输出图像信号进行色域转换的效率。It can be seen that, by implementing the color enhancement method described in the above embodiments, the electronic device can combine the color information corresponding to the output image signal used to output the display image on its screen, and the color information corresponding to the screen itself, to maximize the color gamut of the output image signal. It is possible to stretch and transform to the color gamut range supported by the screen itself, so as to effectively improve the color brightness and saturation of the output display image, help to add more image color details, and make more comprehensive use of electronic equipment The full display performance of the screen greatly improves the color effect of the output display image of the electronic device, and improves the user's visual experience when viewing the output display image; in addition, by setting different numerical ranges for calculation, it can be based on the user's perception of different colors. The different visual sensitivities in the range improve the flexibility and efficiency of the calculation process, and improve the efficiency of electronic equipment for color gamut conversion of output image signals.
请参阅图6,图6是本申请实施例公开的又一种色彩增强方法的流程示意图,该方法可以应用于上述的电子设备,该电子设备可以包括屏幕。如图6所示,该色彩增强方法可以包括以下步骤:Please refer to FIG. 6 . FIG. 6 is a schematic flowchart of another color enhancement method disclosed in an embodiment of the present application. The method may be applied to the above-mentioned electronic device, and the electronic device may include a screen. As shown in Figure 6, the color enhancement method may include the following steps:
602、获取屏幕的输出图像信号对应的第一色彩数据,以及该屏幕的色域对应的第二色彩数据,该第二色彩数据是通过对该屏幕进行色彩测试得到的。602. Acquire first color data corresponding to an output image signal of the screen, and second color data corresponding to a color gamut of the screen, where the second color data is obtained by performing a color test on the screen.
其中,步骤602与上述步骤202类似,此处不再赘述。Wherein,
604、根据上述第一色彩数据对应的第一数值范围,确定与该第一数值范围匹配的步长值。604. According to the first numerical range corresponding to the first color data, determine a step size matching the first numerical range.
606、按照上述步长值,在第二数值范围内确定与该第一色彩数据匹配的归一化色彩数据,其中,第二数值范围由第一数值范围映射得到。606. Determine normalized color data that matches the first color data within a second value range according to the above step value, where the second value range is mapped from the first value range.
其中,步骤604以及步骤606与上述步骤504类似,此处不再赘述。Wherein,
608、根据上述步长值,确定第一数值范围对应的补偿增益函数。608. Determine a compensation gain function corresponding to the first value range according to the above step value.
610、通过第一数值范围对应的补偿增益函数对归一化色彩数据进行补偿增益处理,得到补偿色彩数据。610. Perform compensation gain processing on the normalized color data by using a compensation gain function corresponding to the first value range to obtain compensation color data.
其中,步骤608以及步骤610与上述步骤506类似,此处不再赘述。Wherein,
612、上述第二色彩数据包括对输出目标测试图像的屏幕进行色彩测试得到的色度值以及亮度值,根据该色度值以及亮度值,计算屏幕对应的绝对亮度刺激值。612. The second color data includes the chromaticity value and the luminance value obtained by performing a color test on the screen outputting the target test image, and calculate the absolute luminance stimulus value corresponding to the screen according to the chromaticity value and the luminance value.
其中,上述目标测试图像可以包括部分特殊的Data Level对应的目标测试图像,即色彩分析仪可以仅针对电子设备的屏幕输出该部分目标测试图像的情况进行测试,并根据测试所得到的颜色参数(包括色度值x、y以及亮度值lv等),进行后续计算色域转换参数的步骤。Wherein, the above-mentioned target test image may include part of the target test image corresponding to the special Data Level, that is, the color analyzer may only test the part of the target test image for the screen output of the electronic device, and according to the obtained color parameter ( Including chromaticity values x, y and luminance value lv, etc.), the subsequent step of calculating color gamut conversion parameters is performed.
示例性地,以该屏幕的色域通过RGB颜色空间表示为例,针对R、G、B三种不同的颜色通道,上述目标测试图像可以包括每种颜色通道下Data Level=255时屏幕所输出的图像,以及Data Level=61时屏幕所输出的图像。其中,当Data Level=255时,其对应的目标测试图像为测试所需的色彩亮度最高的图像,从而可以测试屏幕在亮场情况下的色彩表现能力;当Data Level=61时,其对应的目标测试图像为测试所需的色彩亮度最低(已忽略人眼所不敏感的Data Level范围[0,60])的图像,从而可以测试屏幕在暗场情况下的色彩表现能力。Exemplarily, taking the color gamut of the screen represented by the RGB color space as an example, for the three different color channels of R, G, and B, the above-mentioned target test image may include the screen output when Data Level=255 for each color channel image, and the image output on the screen when Data Level=61. Among them, when Data Level = 255, its corresponding target test image is the image with the highest color brightness required for testing, so that the color performance capability of the screen can be tested in bright field conditions; when Data Level = 61, its corresponding target image The target test image is the image with the lowest color brightness required for testing (ignoring the insensitive Data Level range [0,60] of the human eye), so that the color performance capability of the screen in dark field conditions can be tested.
具体地,电子设备可以根据上述色度值x、y以及亮度值lv,分别计算屏幕对应的第一刺激值以及第二刺激值。其中,上述第一刺激值可以包括目标测试图像对应亮场情况下的色刺激值,第二刺激值则可以包括目标测试图像对应暗场情况下的色刺激值。需要说明的是,目标测试图像对应亮场情况时的亮度,高于其对应暗场情况时的亮度。可以理解,若将上述屏幕的色域转换为XYZ颜色空间(即基于人眼颜色视觉所测定的基于三色刺激值来表示的颜色空间)来表示后,上述第一刺激值和第二刺激值可以分别包括X、Y、Z三种通道下各自的色刺激值,即第一刺激值可以包括亮场情况下的Xw、Yw、Zw,第二刺激值可以包括暗场情况下的Xk、Yk、Zk。Specifically, the electronic device may respectively calculate the first stimulus value and the second stimulus value corresponding to the screen according to the above-mentioned chromaticity values x, y and brightness value lv. Wherein, the above-mentioned first stimulus value may include the color stimulus value when the target test image corresponds to a bright field, and the second stimulus value may include the color stimulus value when the target test image corresponds to a dark field. It should be noted that the brightness of the target test image corresponding to the bright field situation is higher than the brightness corresponding to the dark field situation. It can be understood that if the color gamut of the above-mentioned screen is converted into an XYZ color space (that is, a color space expressed based on tricolor stimulus values measured based on human color vision), the above-mentioned first stimulus value and second stimulus value It can include the respective color stimulus values under the three channels of X, Y, and Z respectively, that is, the first stimulus value can include Xw, Yw, Zw in the case of bright field, and the second stimulus value can include Xk, Yk in the case of dark field , Zk.
在此基础上,基于上述色度值x、y以及亮度值lv和各个色刺激值X、Y、Z之间的约束关系,可以分别计算出上述第一刺激值以及第二刺激值。示例性地,上述约束关系至少可以包括以下公式1以及公式2。On this basis, based on the constraint relationship between the above-mentioned chromaticity values x, y, brightness value lv and each color stimulus value X, Y, Z, the above-mentioned first stimulus value and second stimulus value can be calculated respectively. Exemplarily, the above constraint relationship may at least include formula 1 and formula 2 below.
公式1:Formula 1:
x=X/(X+Y+Z)x=X/(X+Y+Z)
公式2:Formula 2:
y=Y/(X+Y+Z)y=Y/(X+Y+Z)
其中,上述公式1以及公式2中的X、Y、Z可以对应于亮场情况下的Xw、Yw、Zw,或者对应于暗场情况下的Xk、Yk、Zk。可选地,对于部分特殊色温,例如屏幕色温设置为12000K时,可以直接通过查表确定此时的色度值x、y,从而可以节省部分测量步骤,加快后续计算第一刺激值以及第二刺激值的效率。Wherein, X, Y, and Z in the foregoing formula 1 and formula 2 may correspond to Xw, Yw, and Zw in the case of bright field, or correspond to Xk, Yk, and Zk in the case of dark field. Optionally, for some special color temperatures, for example, when the color temperature of the screen is set to 12000K, the chromaticity values x and y at this time can be determined directly by looking up the table, thereby saving part of the measurement steps and speeding up the subsequent calculation of the first stimulus value and the second stimulus value. Stimulus value efficiency.
进一步地,电子设备在计算出上述第一刺激值以及第二刺激值之后,还可以根据该第一刺激值以及第二刺激值,计算屏幕对应的绝对亮度刺激值,并将该绝对亮度刺激值应用于后续计算色域转换参数的步骤中。可以理解,与第一刺激值和第二刺激值类似,上述绝对亮度刺激值也可以包括X、Y、Z三种通道下各自的色刺激值Xa、Ya、Za。示例性地,计算该绝对亮度刺激值所采用的简化公式可以如以下公式3所示。Further, after the electronic device calculates the first stimulus value and the second stimulus value, it can also calculate the absolute brightness stimulus value corresponding to the screen according to the first stimulus value and the second stimulus value, and calculate the absolute brightness stimulus value Applied in the subsequent step of calculating the color gamut conversion parameters. It can be understood that, similar to the first stimulus value and the second stimulus value, the above-mentioned absolute brightness stimulus value may also include respective color stimulus values Xa, Ya, Za under the three channels of X, Y, and Z. Exemplarily, the simplified formula used to calculate the absolute luminance stimulus value may be as shown in Formula 3 below.
公式3:Formula 3:
Xa=(Xw-Xk)*(Xw/Yw);Xa=(Xw-Xk)*(Xw/Yw);
Ya=Yw-Yk;Ya=Yw-Yk;
Za=(Zw-Zk)*(Zw/Yw)Za=(Zw-Zk)*(Zw/Yw)
采用上述公式3,即可根据亮场情况下的色刺激值Xw、Yw、Zw以及暗场情况下的色刺激值Xk、Yk、Zk,快速计算出X、Y、Z三种通道下各自的绝对亮度刺激值Xa、Ya、Za,进一步提升了计算效率。Using the above formula 3, according to the color stimulus values Xw, Yw, Zw in the bright field and the color stimulus values Xk, Yk, Zk in the dark field, the respective values of the X, Y, and Z channels can be quickly calculated. Absolute luminance stimulus values Xa, Ya, Za further improve calculation efficiency.
614、根据上述补偿色彩数据以及绝对亮度刺激值,计算色域转换参数。614. Calculate a color gamut conversion parameter according to the compensation color data and the absolute luminance stimulus value.
在本申请实施例中,电子设备在计算出上述补偿色彩数据以及绝对亮度刺激值之后,可以进一步地计算用于对输出图像信号进行色域转换的色域转换参数。示例性地,该色域转换参数可以包括色域增益系数、色域转换矩阵等不同形式。In the embodiment of the present application, after the electronic device calculates the compensation color data and the absolute luminance stimulus value, it may further calculate a color gamut conversion parameter for performing color gamut conversion on the output image signal. Exemplarily, the color gamut conversion parameter may include different forms such as a color gamut gain coefficient and a color gamut conversion matrix.
在一些实施例中,上述色域转换参数可以包括色域转换矩阵,则电子设备在根据上述补偿色彩数据以及绝对亮度刺激值确定相应的色域转换矩阵时,可以先获取该屏幕的输出图像信号对应的色彩标准,再对该色彩标准对应的目标色域矩阵进行求解,以得到相应的、确定的色域转换矩阵。示例性地,上述色彩标准可以包括Rec.709、DCI-P3、BT.2020等,本申请实施例中不作具体限定。In some embodiments, the above-mentioned color gamut conversion parameters may include a color gamut conversion matrix, and the electronic device may first obtain the output image signal of the screen when determining the corresponding color gamut conversion matrix according to the above-mentioned compensated color data and the absolute brightness stimulus value The corresponding color standard, and then solve the target color gamut matrix corresponding to the color standard, so as to obtain the corresponding and definite color gamut conversion matrix. Exemplarily, the foregoing color standards may include Rec.709, DCI-P3, BT.2020, etc., which are not specifically limited in this embodiment of the present application.
具体地,电子设备可以将上述补偿色彩数据以及绝对亮度刺激值代入其获取的色彩标准所对应的目标色域矩阵中,以此作为该目标色域矩阵中各个元素的约束关系,从而可以对该目标色域矩阵求解,得到相应的色域转换矩阵。具体举例来说,该目标转换矩阵(色域转换矩阵)可以包括3×3矩阵,如以下矩阵M所示。Specifically, the electronic device can substitute the above-mentioned compensated color data and the absolute brightness stimulus value into the target color gamut matrix corresponding to the acquired color standard as the constraint relationship of each element in the target color gamut matrix, so that the The target color gamut matrix is solved to obtain the corresponding color gamut conversion matrix. For example, the target conversion matrix (color gamut conversion matrix) may include a 3×3 matrix, as shown in matrix M below.
矩阵M:Matrix M:
其中,上述矩阵M的各个元素s1~s9可以通过一定的约束关系求解,该约束关系可以与上述补偿色彩数据以及绝对亮度刺激值相关。在一种实施例中,该约束关系可以如以下公式4所示。Wherein, each element s1 to s9 of the above-mentioned matrix M can be solved through a certain constraint relationship, and the constraint relationship can be related to the above-mentioned compensated color data and the absolute brightness stimulus value. In an embodiment, the constraint relationship may be shown in Formula 4 below.
公式4:Formula 4:
Xa=s1*Ra+s2*Ga+s3*Ba;Xa=s1*Ra+s2*Ga+s3*Ba;
Ya=s4*Ra+s5*Ga+s6*Ba;Ya=s4*Ra+s5*Ga+s6*Ba;
Za=s7*Ra+s8*Ga+s9*BaZa=s7*Ra+s8*Ga+s9*Ba
在此基础上,将上述补偿色彩数据Ra、Ga、Ba以及绝对亮度刺激值Xa、Ya、Za代入公式4,即可解出上述矩阵M。进一步地,电子设备可以根据解出的色域转换矩阵,对其屏幕的输出图像信号的色域进行转换,从而可以将该输出图像信号的色域尽可能地向屏幕自身可支持的色域范围进行拉伸变换,以使得输出图像信号可以与屏幕的色域相匹配,从而屏幕根据该输出图像信号输出的显示图像可以具有更高的亮度、饱和度等,表现为视觉效果更鲜艳,有助于提升用户观看输出显示图像时的视觉体验。On this basis, the above-mentioned matrix M can be solved by substituting the above-mentioned compensated color data Ra, Ga, Ba and absolute brightness stimulation values Xa, Ya, Za into formula 4. Further, the electronic device can convert the color gamut of the output image signal of its screen according to the solved color gamut conversion matrix, so that the color gamut of the output image signal can be as close as possible to the color gamut range supported by the screen itself Stretching transformation is performed so that the output image signal can match the color gamut of the screen, so that the display image output by the screen according to the output image signal can have higher brightness, saturation, etc., and the visual effect is more vivid, which helps It is used to improve the user's visual experience when watching the output display image.
可见,实施上述实施例所描述的色彩增强方法,电子设备能够结合用于其屏幕输出显示图像的输出图像信号对应的色彩信息,以及该屏幕自身对应的色彩信息,将输出图像信号的色域尽可能地向屏幕自身可支持的色域范围进行拉伸变换,从而可以有效提升输出显示图像的色彩亮度、饱和度等,有助于增加更多的图像色彩细节,既能够更全面地利用电子设备屏幕的全部显示性能,又大大提升了电子设备输出显示图像的色彩效果,提升了用户观看输出显示图像时的视觉体验;此外,通过上述计算方式确定色域转换矩阵,可以在确保一定计算精准度的前提下,尽可能地减少计算量,提升计算效率,从而有利于提升电子设备对输出图像信号进行色域转换的效率。It can be seen that, by implementing the color enhancement method described in the above embodiments, the electronic device can combine the color information corresponding to the output image signal used to output the display image on its screen, and the color information corresponding to the screen itself, to maximize the color gamut of the output image signal. It is possible to stretch and transform to the color gamut range supported by the screen itself, so as to effectively improve the color brightness and saturation of the output display image, help to add more image color details, and make more comprehensive use of electronic equipment The full display performance of the screen greatly improves the color effect of the output display image of the electronic device, and improves the user's visual experience when viewing the output display image; in addition, the color gamut conversion matrix is determined through the above calculation method, which can ensure a certain calculation accuracy Under the premise of reducing the amount of calculation as much as possible and improving the calculation efficiency, it is beneficial to improve the efficiency of the color gamut conversion of the output image signal by the electronic device.
请参阅图7,图7是本申请实施例公开的一种色彩增强装置的模块化示意图,该色彩增强装置可以应用于上述的电子设备,该电子设备可以包括屏幕。如图7所示,该色彩增强装置可以包括获取单元701、补偿单元702以及色域转换单元703,其中:Please refer to FIG. 7 . FIG. 7 is a schematic modular diagram of a color enhancement device disclosed in an embodiment of the present application. The color enhancement device may be applied to the above-mentioned electronic device, and the electronic device may include a screen. As shown in FIG. 7, the color enhancement device may include an
获取单元701,用于获取屏幕的输出图像信号对应的第一色彩数据,以及该屏幕的色域对应的第二色彩数据,该第二色彩数据是通过对该屏幕进行色彩测试得到的;An
补偿单元702,用于对上述第一色彩数据进行补偿增益处理,得到补偿色彩数据;A
色域转换单元703,用于根据该补偿色彩数据以及上述第二色彩数据,确定色域转换参数,并根据该色域转换参数对上述输出图像信号的色域进行转换。The color
可见,采用上述实施例所描述的色彩增强装置,电子设备能够结合用于其屏幕输出显示图像的输出图像信号对应的色彩信息,以及该屏幕自身对应的色彩信息,确定出相应的色域转换参数,进而可以根据该色域转换参数,将输出图像信号的色域尽可能地向屏幕自身可支持的色域范围进行拉伸变换,从而可以有效提升输出显示图像的色彩亮度、饱和度等,有助于增加更多的图像色彩细节,既能够更全面地利用电子设备屏幕的全部显示性能,又大大提升了电子设备输出显示图像的色彩效果,提升了用户观看输出显示图像时的视觉体验。It can be seen that by using the color enhancement device described in the above embodiments, the electronic device can combine the color information corresponding to the output image signal used to output the display image on its screen and the color information corresponding to the screen itself to determine the corresponding color gamut conversion parameters. , and then according to the color gamut conversion parameter, the color gamut of the output image signal can be stretched and transformed as much as possible to the color gamut range supported by the screen itself, so that the color brightness and saturation of the output display image can be effectively improved, and there is It helps to add more image color details, not only can make full use of all the display performance of the screen of the electronic device, but also greatly improves the color effect of the output display image of the electronic device, and improves the user's visual experience when viewing the output display image.
在一种实施例中,上述补偿单元702可以包括未图示的第一计算子单元和第二计算子单元,其中:In an embodiment, the
第一计算子单元,用于根据上述第一色彩数据对应的第一数值范围,对该第一色彩数据进行归一化,得到与该第一色彩数据匹配的归一化色彩数据;The first calculation subunit is configured to normalize the first color data according to the first numerical range corresponding to the first color data, to obtain normalized color data matching the first color data;
第二计算子单元,用于通过上述第一数值范围对应的补偿增益函数对归一化色彩数据进行补偿增益处理,得到补偿色彩数据。The second calculation subunit is configured to perform compensation gain processing on the normalized color data through the compensation gain function corresponding to the first value range to obtain the compensation color data.
其中,上述第一计算子单元,具体可以用于根据上述第一色彩数据对应的第一数值范围,确定与该第一数值范围匹配的步长值;按照该步长值,在第二数值范围内确定与该第一色彩数据匹配的归一化色彩数据,其中,第二数值范围可以由第一数值范围映射得到。Wherein, the above-mentioned first calculation subunit can specifically be used to determine a step value matching the first numerical range according to the first numerical range corresponding to the above-mentioned first color data; according to the step value, in the second numerical range Determine the normalized color data matching the first color data, wherein the second numerical range can be obtained by mapping the first numerical range.
在一种实施例中,上述补偿单元702可以包括未图示的确定子单元,其中,该确定子单元可以用于在上述第二计算子单元通过上述第一数值范围对应的补偿增益函数对归一化色彩数据进行补偿增益处理,得到补偿色彩数据之前,根据上述步长值,确定上述第一数值范围对应的补偿增益函数。In one embodiment, the
可见,采用上述实施例所描述的色彩增强装置,电子设备能够结合用于其屏幕输出显示图像的输出图像信号对应的色彩信息,以及该屏幕自身对应的色彩信息,将输出图像信号的色域尽可能地向屏幕自身可支持的色域范围进行拉伸变换,从而可以有效提升输出显示图像的色彩亮度、饱和度等,有助于增加更多的图像色彩细节,既能够更全面地利用电子设备屏幕的全部显示性能,又大大提升了电子设备输出显示图像的色彩效果,提升了用户观看输出显示图像时的视觉体验;此外,通过设定不同的数值范围来进行计算,可以基于用户对不同色彩区间的不同视觉敏感性,提升计算过程的灵活性和高效性,提升电子设备对输出图像信号进行色域转换的效率。It can be seen that by using the color enhancement device described in the above embodiments, the electronic device can combine the color information corresponding to the output image signal used to output the display image on its screen, and the color information corresponding to the screen itself, to maximize the color gamut of the output image signal. It is possible to stretch and transform to the color gamut range supported by the screen itself, so as to effectively improve the color brightness and saturation of the output display image, help to add more image color details, and make more comprehensive use of electronic equipment The full display performance of the screen greatly improves the color effect of the output display image of the electronic device, and improves the user's visual experience when viewing the output display image; in addition, by setting different numerical ranges for calculation, it can be based on the user's perception of different colors. The different visual sensitivities in the range improve the flexibility and efficiency of the calculation process, and improve the efficiency of electronic equipment for color gamut conversion of output image signals.
在一种实施例中,上述第二色彩数据可以包括对输出目标测试图像的屏幕进行色彩测试得到的色度值以及亮度值,上述色域转换单元703可以包括未图示的第三计算子单元以及第四计算子单元,其中:In one embodiment, the above-mentioned second color data may include chromaticity values and brightness values obtained by performing a color test on the screen outputting the target test image, and the above-mentioned color
第三计算子单元,用于根据上述色度值以及亮度值,计算该屏幕对应的绝对亮度刺激值;The third calculation subunit is used to calculate the absolute luminance stimulus value corresponding to the screen according to the chromaticity value and the luminance value;
第四计算子单元,用于根据上述补偿色彩数据以及绝对亮度刺激值,计算色域转换参数。The fourth calculation subunit is used to calculate the color gamut conversion parameters according to the compensation color data and the absolute brightness stimulation value.
其中,上述第三计算子单元,具体可以用于根据上述色度值以及亮度值,分别计算该屏幕对应的第一刺激值以及第二刺激值,其中,第一刺激值可以包括上述目标测试图像对应亮场情况下的色刺激值,第二刺激值则可以包括上述目标测试图像对应暗场情况下的色刺激值;根据该第一刺激值以及第二刺激值,计算该屏幕对应的绝对亮度刺激值。Wherein, the above-mentioned third calculation subunit can specifically be used to respectively calculate the first stimulus value and the second stimulus value corresponding to the screen according to the above-mentioned chromaticity value and brightness value, wherein the first stimulus value can include the above-mentioned target test image Corresponding to the color stimulus value in the bright field situation, the second stimulus value may include the color stimulus value in the dark field situation corresponding to the target test image; according to the first stimulus value and the second stimulus value, calculate the corresponding absolute brightness of the screen stimulus value.
在一种实施例中,上述色域转换参数可以包括色域转换矩阵,上述第四计算子单元,具体可以用于获取该屏幕的输出图像信号对应的色彩标准,并将上述补偿色彩数据以及绝对亮度刺激值代入该色彩标准对应的目标色域矩阵,以对该目标色域矩阵求解,得到相应的色域转换矩阵;In an embodiment, the above-mentioned color gamut conversion parameters may include a color gamut conversion matrix, and the above-mentioned fourth calculation subunit may specifically be used to obtain the color standard corresponding to the output image signal of the screen, and convert the above-mentioned compensated color data and absolute The luminance stimulus value is substituted into the target color gamut matrix corresponding to the color standard to solve the target color gamut matrix to obtain the corresponding color gamut conversion matrix;
上述色域转换单元703还可以包括未图示的转换子单元,该转换子单元可以用于根据上述色域转换矩阵,对输出图像信号的色域进行转换。The color
可见,采用上述实施例所描述的色彩增强装置,电子设备能够结合用于其屏幕输出显示图像的输出图像信号对应的色彩信息,以及该屏幕自身对应的色彩信息,将输出图像信号的色域尽可能地向屏幕自身可支持的色域范围进行拉伸变换,从而可以有效提升输出显示图像的色彩亮度、饱和度等,有助于增加更多的图像色彩细节,既能够更全面地利用电子设备屏幕的全部显示性能,又大大提升了电子设备输出显示图像的色彩效果,提升了用户观看输出显示图像时的视觉体验;此外,通过上述计算方式确定色域转换矩阵,可以在确保一定计算精准度的前提下,尽可能地减少计算量,提升计算效率,从而有利于提升电子设备对输出图像信号进行色域转换的效率。It can be seen that by using the color enhancement device described in the above embodiments, the electronic device can combine the color information corresponding to the output image signal used to output the display image on its screen, and the color information corresponding to the screen itself, to maximize the color gamut of the output image signal. It is possible to stretch and transform to the color gamut range supported by the screen itself, so as to effectively improve the color brightness and saturation of the output display image, help to add more image color details, and make more comprehensive use of electronic equipment The full display performance of the screen greatly improves the color effect of the output display image of the electronic device, and improves the user's visual experience when viewing the output display image; in addition, the color gamut conversion matrix is determined through the above calculation method, which can ensure a certain calculation accuracy Under the premise of reducing the amount of calculation as much as possible and improving the calculation efficiency, it is beneficial to improve the efficiency of the color gamut conversion of the output image signal by the electronic device.
请参阅图8,图8是本申请实施例公开的一种电子设备的模块化示意图。如图8所示,该电子设备可以包括:Please refer to FIG. 8 . FIG. 8 is a schematic modular diagram of an electronic device disclosed in an embodiment of the present application. As shown in Figure 8, the electronic equipment may include:
存储有可执行程序代码的存储器801;A
与存储器801耦合的处理器802;a
其中,处理器802调用存储器801中存储的可执行程序代码,可以执行上述实施例所描述的任意一种色彩增强方法中的全部或部分步骤。Wherein, the
此外,本申请实施例进一步公开了一种计算机可读存储介质,其存储用于电子数据交换的计算机程序,其中,该计算机程序使得计算机可以执行上述实施例所描述的任意一种色彩增强方法中的全部或部分步骤。In addition, the embodiment of the present application further discloses a computer-readable storage medium, which stores a computer program for electronic data exchange, wherein the computer program enables the computer to execute any color enhancement method described in the above-mentioned embodiments. all or part of the steps.
此外,本申请实施例进一步公开一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机可以执行上述实施例所描述的任意一种色彩增强方法中的全部或部分步骤。In addition, the embodiments of the present application further disclose a computer program product. When the computer program product is run on a computer, the computer can execute all or part of the steps in any color enhancement method described in the above embodiments.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read-only memory (Programmable Read-only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.
以上对本申请实施例公开的一种色彩增强方法及装置、电子设备、存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A color enhancement method and device, electronic equipment, and storage medium disclosed in the embodiments of the present application have been described above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used To help understand the method and its core idea of this application; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation and application scope. In summary, this specification The content should not be construed as a limitation of the application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110973429.9A CN115909981B (en) | 2021-08-24 | 2021-08-24 | Color enhancement method and device, electronic device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110973429.9A CN115909981B (en) | 2021-08-24 | 2021-08-24 | Color enhancement method and device, electronic device, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115909981A true CN115909981A (en) | 2023-04-04 |
CN115909981B CN115909981B (en) | 2025-03-28 |
Family
ID=86486047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110973429.9A Active CN115909981B (en) | 2021-08-24 | 2021-08-24 | Color enhancement method and device, electronic device, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115909981B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101740000A (en) * | 2008-11-24 | 2010-06-16 | 奇美电子股份有限公司 | Color compensation method, color compensation circuit and display device |
CN102044230A (en) * | 2010-12-31 | 2011-05-04 | 昆山龙腾光电有限公司 | Liquid crystal display device, color gamut conversion method thereof and color gamut conversion circuit |
CN104380370A (en) * | 2012-06-27 | 2015-02-25 | 夏普株式会社 | Method for converting data, display device, computing device and program incorporating same, and method for optimising coefficients and device and program incorporating same |
CN105069756A (en) * | 2015-08-10 | 2015-11-18 | 深圳市华星光电技术有限公司 | Image enhancing method |
US20160253981A1 (en) * | 2015-02-26 | 2016-09-01 | Nec Display Solutions, Ltd. | Color conversion data generation device, color conversion data generation method, and display device |
CN109286802A (en) * | 2018-10-22 | 2019-01-29 | 深圳Tcl新技术有限公司 | Color gamut matching method, device, display terminal and readable storage medium |
-
2021
- 2021-08-24 CN CN202110973429.9A patent/CN115909981B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101740000A (en) * | 2008-11-24 | 2010-06-16 | 奇美电子股份有限公司 | Color compensation method, color compensation circuit and display device |
CN102044230A (en) * | 2010-12-31 | 2011-05-04 | 昆山龙腾光电有限公司 | Liquid crystal display device, color gamut conversion method thereof and color gamut conversion circuit |
CN104380370A (en) * | 2012-06-27 | 2015-02-25 | 夏普株式会社 | Method for converting data, display device, computing device and program incorporating same, and method for optimising coefficients and device and program incorporating same |
US20160253981A1 (en) * | 2015-02-26 | 2016-09-01 | Nec Display Solutions, Ltd. | Color conversion data generation device, color conversion data generation method, and display device |
CN105069756A (en) * | 2015-08-10 | 2015-11-18 | 深圳市华星光电技术有限公司 | Image enhancing method |
CN109286802A (en) * | 2018-10-22 | 2019-01-29 | 深圳Tcl新技术有限公司 | Color gamut matching method, device, display terminal and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115909981B (en) | 2025-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018176523A1 (en) | Brightness adjustment method and apparatus for rgbw liquid crystal display apparatus | |
WO2016149877A1 (en) | Method for correcting screen asymmetry and device and system thereof | |
KR101464742B1 (en) | Apparatus and method for providing visibility enhancement in portable terminal | |
KR100703334B1 (en) | Image display device and method in mobile terminal | |
CN109274985B (en) | Video transcoding method and device, computer equipment and storage medium | |
CN111916031B (en) | Display method and display device | |
US20160033795A1 (en) | Testing device, method thereof, display device and display method thereof | |
WO2017024728A1 (en) | Method and device for reducing display brightness | |
US9508318B2 (en) | Dynamic color profile management for electronic devices | |
CN107808647B (en) | Liquid crystal display driving method, device and equipment | |
WO2013086745A1 (en) | Color adjusting device, color adjusting method and display | |
WO2017133113A1 (en) | Measurement method and measurement system thereof | |
CN108615511B (en) | Display method and display device | |
CN114203086B (en) | Thermal compensation correction method, device and equipment | |
TWI529693B (en) | Display apparatus and method for transforming color thereof | |
US20170256235A1 (en) | Color display method and system for mobile terminal | |
CN108932936B (en) | Gray scale brightness adjusting method and display device | |
US11232757B2 (en) | Backlight control method and device, and computer-readable storage medium for improving the contrast, restoring the image, and ensuring the distortion of the image | |
KR101715854B1 (en) | Method and unit converting color temperature for improving emotional image quality and digital display apparatus using the same | |
CN108898987B (en) | Gray scale conversion method, gray scale conversion device and display device | |
CN115909981A (en) | Color enhancement method and device, electronic equipment and storage medium | |
KR101715853B1 (en) | Color gamut expansion method and unit, and wide color gamut display apparatus using the same | |
KR100621853B1 (en) | Mobile communication terminal with improved color image display device and method | |
CN114141186B (en) | Display parameter adjustment method and device | |
CN118098176B (en) | Image compensation method of display device and display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |