[go: up one dir, main page]

CN116009801A - Color calibration method, storage medium and related equipment - Google Patents

Color calibration method, storage medium and related equipment Download PDF

Info

Publication number
CN116009801A
CN116009801A CN202111236255.4A CN202111236255A CN116009801A CN 116009801 A CN116009801 A CN 116009801A CN 202111236255 A CN202111236255 A CN 202111236255A CN 116009801 A CN116009801 A CN 116009801A
Authority
CN
China
Prior art keywords
color
color temperature
correction
preset
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111236255.4A
Other languages
Chinese (zh)
Inventor
戴亚丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202111236255.4A priority Critical patent/CN116009801A/en
Publication of CN116009801A publication Critical patent/CN116009801A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Of Color Television Signals (AREA)

Abstract

The application provides a color standard correction method, a storage medium and related equipment, and belongs to the technical field of display. The method comprises the following steps: receiving a 3D display lookup table corresponding to the first preset color temperature, and performing color quasi correction on a display picture with the color temperature being the first preset color temperature according to the 3D display lookup table; processing the corrected display picture to obtain a first white field picture; and adjusting the color temperature of the first white field picture to a target color temperature for white balance correction, wherein the target color temperature comprises a second preset color temperature and a third preset color temperature. In the application, the piecewise function is adopted to replace the fitting of the whole section of polynomial, so that the RGB spectrum tristimulus value and the brightness of the display device are closer to the original value, thereby reducing larger errors caused by polynomial fitting and improving the color correction effect. In the application, the color quasi correction under three color temperatures can be completed only by receiving the 3D display lookup table under one color temperature, the color quasi correction time length of a display picture is reduced, and the color quasi correction efficiency is improved.

Description

色准校正方法、存储介质和相关设备Color calibration method, storage medium and related equipment

技术领域Technical Field

本申请涉及显示技术领域,尤其涉及一种色准校正方法、存储介质和相关设备。The present application relates to the field of display technology, and in particular to a color accuracy correction method, a storage medium and related equipment.

背景技术Background Art

在显示设备出厂前,需要对显示设备的显示画面进行色准的校正。Before a display device leaves the factory, it is necessary to calibrate the color accuracy of the display screen of the display device.

显示画面需要在标准色温、暖色色温以及冷色色温下进行色准的校正。The display screen needs to be calibrated for color accuracy at standard color temperature, warm color temperature, and cool color temperature.

目前,是通过色温对应的3D显示查找表对显示画面的色准进行校正,而显示画面需要分别在三个不同色温下分别进行色准的校正,也即需要三个3D显示查找表所合并的3D显示查找表进行显示画面的色准校正。但合并的3D显示查找表较大,合并的3D显示查找表传输至设备需要较长的时间,导致显示画面的色准校正时间较长,也即色准校正效率较低。At present, the color accuracy of the display screen is corrected by using a 3D display lookup table corresponding to the color temperature, and the display screen needs to be corrected for color accuracy at three different color temperatures, that is, a 3D display lookup table merged from three 3D display lookup tables is needed to correct the color accuracy of the display screen. However, the merged 3D display lookup table is large, and it takes a long time to transmit the merged 3D display lookup table to the device, resulting in a long time for color accuracy correction of the display screen, that is, the color accuracy correction efficiency is low.

发明内容Summary of the invention

本申请提供一种色准校正方法、存储介质和相关设备,用以解决色准校正效率较低的问题。The present application provides a color correction method, a storage medium and related equipment to solve the problem of low color correction efficiency.

第一方面,本申请提供一种色准校正方法,包括:In a first aspect, the present application provides a color accuracy correction method, comprising:

接收第一预设色温所对应的3D显示查找表,并根据所述3D显示查找表对色温为所述第一预设色温的显示画面进行色准校正;receiving a 3D display lookup table corresponding to a first preset color temperature, and performing color accuracy correction on a display picture having a color temperature of the first preset color temperature according to the 3D display lookup table;

对校正后的所述显示画面进行处理得到第一白场画面;Processing the corrected display picture to obtain a first white field picture;

将所述第一白场画面的色温调整至目标色温进行白平衡校正,其中,所述目标色温包括第二预设色温以及第三预设色温。The color temperature of the first white field picture is adjusted to a target color temperature for white balance correction, wherein the target color temperature includes a second preset color temperature and a third preset color temperature.

在一实施例中,所述将所述第一白场画面的色温调整至目标色温进行白平衡校正的步骤包括:In one embodiment, the step of adjusting the color temperature of the first white field picture to a target color temperature for white balance correction includes:

将所述第一白场画面的色温分别调整至第一预设色温以及第二预设色温进行白平衡校正;Adjusting the color temperature of the first white field image to a first preset color temperature and a second preset color temperature respectively to perform white balance correction;

或者,将所述第一白场画面的色温调整至第二预设色温进行白平衡校正,并在白平衡校正完成后,对白平衡校正完成得到的画面进行处理得到第二白场画面,并将所述第二白场画面的色温调整至所述第三预设色温进行白平衡校正。Alternatively, the color temperature of the first white field picture is adjusted to the second preset color temperature for white balance correction, and after the white balance correction is completed, the picture obtained after the white balance correction is processed to obtain a second white field picture, and the color temperature of the second white field picture is adjusted to the third preset color temperature for white balance correction.

在一实施例中,所述将所述第一白场画面的色温调整至目标色温进行白平衡校正的步骤之后,还包括:In one embodiment, after the step of adjusting the color temperature of the first white field picture to the target color temperature for white balance correction, the method further includes:

获取校正后的所述显示画面中像素点的实际色度值,且获取所述像素点的标准色度值;Acquire the actual chromaticity value of the pixel in the display image after correction, and acquire the standard chromaticity value of the pixel;

根据所述实际色度值以及所述标准色度值确定色差;Determine the color difference according to the actual color value and the standard color value;

在所述色差小于或等于预设色差时,确定色准校正成功,并将所述3D显示查找表写入至进行色准校正的显示设备。When the color difference is less than or equal to the preset color difference, it is determined that the color correction is successful, and the 3D display lookup table is written to the display device that performs the color correction.

在一实施例中,所述根据所述实际色度值以及所述标准色度值确定色差的步骤之后,还包括:In one embodiment, after the step of determining the color difference according to the actual chromaticity value and the standard chromaticity value, the method further includes:

在所述色差大于预设色差时,输出色准校正失败的提示信息。When the color difference is greater than the preset color difference, a prompt message indicating that the color correction has failed is output.

在一实施例中,所述将所述第一白场画面的色温调整至目标色温进行白平衡校正的步骤包括:In one embodiment, the step of adjusting the color temperature of the first white field picture to a target color temperature for white balance correction includes:

获取所述第一白场画面的亮度;Acquire the brightness of the first white field picture;

在所述亮度大于预设亮度时,将所述第一白场画面的色温调整至目标色温进行白平衡校正。When the brightness is greater than a preset brightness, the color temperature of the first white field picture is adjusted to a target color temperature to perform white balance correction.

在一实施例中,所述获取所述第一白场画面的亮度的步骤之后,还包括:In one embodiment, after the step of obtaining the brightness of the first white field picture, the method further includes:

在所述亮度小于或等于所述预设亮度时,输出色准校正失败的提示信息。When the brightness is less than or equal to the preset brightness, a prompt message indicating that the color accuracy correction has failed is output.

第二方面,本发明提供一种色准校正装置,包括:In a second aspect, the present invention provides a color calibration device, comprising:

接收模块,用于接收第一预设色温所对应的3D显示查找表,并根据所述3D显示查找表对显示设备的显示画面进行色准校正;A receiving module, configured to receive a 3D display lookup table corresponding to a first preset color temperature, and perform color accuracy correction on a display image of a display device according to the 3D display lookup table;

处理模块,用于对校正后的所述显示画面进行处理得到第一白场画面;A processing module, used for processing the corrected display picture to obtain a first white field picture;

校正模块,用于将所述第一白场画面的色温调整至目标色温进行白平衡校正,其中,所述目标色温包括第二预设色温以及第三预设色温。A correction module is used to adjust the color temperature of the first white field picture to a target color temperature for white balance correction, wherein the target color temperature includes a second preset color temperature and a third preset color temperature.

第二方面,本发明提供一种色准校正设备,包括:显示屏、存储器和处理器;In a second aspect, the present invention provides a color calibration device, comprising: a display screen, a memory, and a processor;

所述显示屏用于显示画面;The display screen is used to display images;

所述存储器存储计算机执行指令;The memory stores computer-executable instructions;

所述处理器执行所述存储器存储的计算机执行指令,使得所述色准校正装置执行如上所述的色准校正方法。The processor executes the computer-executable instructions stored in the memory, so that the color correction device performs the color correction method as described above.

第三方面,本发明提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如上所述的色准校正方法。In a third aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the color accuracy correction method as described above.

第四方面,本发明提供一种电子设备,所述电子设备中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如上所述的色准校正方法。In a fourth aspect, the present invention provides an electronic device, wherein computer execution instructions are stored in the electronic device, and when the computer execution instructions are executed by a processor, they are used to implement the color accuracy correction method as described above.

本申请提供的色准校正方法、存储介质和计算机可读存储介质,接收第一预设色温所对应的3D显示查找表,并根据3D显示查找表对色温为第一预设色温的显示画面进行色准校正,且对校正后的显示画面进行处理得到白场画面,最后将白场画面的色温调整至目标色温进行白平衡校正。本发明中,先采用一个色温下的3D显示查找表对显示画面进行色准校正,再将校正得到的白场画面的色温调整至目标色温进行白平衡校正,目标色温包括另外两个色温,也即本发明仅需接收一个色温下的3D显示查找表即可完成显示画面在三个色温下的色准校正,减少了3D显示查找表的传输时长,减少了显示画面的色准校正时长,提高了色准校正效率。The color accuracy correction method, storage medium and computer-readable storage medium provided by the present application receive a 3D display lookup table corresponding to a first preset color temperature, and perform color accuracy correction on a display screen having a color temperature of the first preset color temperature according to the 3D display lookup table, and process the corrected display screen to obtain a white field screen, and finally adjust the color temperature of the white field screen to a target color temperature for white balance correction. In the present invention, a 3D display lookup table at one color temperature is first used to perform color accuracy correction on the display screen, and then the color temperature of the corrected white field screen is adjusted to the target color temperature for white balance correction, and the target color temperature includes the other two color temperatures, that is, the present invention only needs to receive a 3D display lookup table at one color temperature to complete the color accuracy correction of the display screen at three color temperatures, which reduces the transmission time of the 3D display lookup table, reduces the color accuracy correction time of the display screen, and improves the color accuracy correction efficiency.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

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

图1为本申请色准校正方法第一实施例的流程示意图;FIG1 is a schematic diagram of a flow chart of a first embodiment of a color calibration method of the present application;

图2为本申请色准校正方法第二实施例的流程示意图;FIG2 is a schematic diagram of a flow chart of a second embodiment of a color calibration method of the present application;

图3为本申请色准校正方法第三实施例中步骤S30的细化流程示意图;FIG3 is a schematic diagram of a detailed flow chart of step S30 in the third embodiment of the color accuracy correction method of the present application;

图4为本申请色准校正装置的功能模块示意图;FIG4 is a schematic diagram of the functional modules of the color accuracy correction device of the present application;

图5是本申请实施例提供的一种电子设备的结构示意图。FIG5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。The above drawings have shown clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments.

具体实施方式DETAILED DESCRIPTION

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

需要注意的是,由于篇幅所限,本申请说明书没有穷举所有可选的实施方式,本领域技术人员在阅读本申请说明书后,应该能够想到,只要技术特征不互相矛盾,那么技术特征的任意组合均可以构成可选的实施方式。It should be noted that due to space limitations, this application description does not list all optional implementation methods. After reading this application description, those skilled in the art should be able to understand that as long as the technical features do not contradict each other, any combination of technical features can constitute an optional implementation method.

例如,在实施例的一个实施方式中,记载了一个技术特征:将第一白场画面的色温分别调整至第一预设色温以及第二预设色温进行白平衡校正,在该实施例的另一个实施方式中,记载了另一个技术特征:将第一白场画面的色温调整至第二预设色温进行白平衡校正,并在白平衡校正完成后,对白平衡校正完成得到的画面进行处理得到第二白场画面,并将第二白场画面的色温调整至第三预设色温进行白平衡校正。由于以上两个技术特征不互相矛盾,本领域技术人员在阅读本申请说明书后,应该能够想到,同时具有这两个特征的实施方式也是一种可选的实施方式,即第一预设色温位于第二预设色温以及第三预设温度之间,则将第一白场画面的色温分别调整至第一预设色温以及第二预设色温进行白平衡校正;若是第一预设温度均大于或小于第二预设温度以及第三预设温度,将第一白场画面的色温调整至第二预设色温进行白平衡校正,并在白平衡校正完成后,对白平衡校正完成得到的画面进行处理得到第二白场画面,并将第二白场画面的色温调整至第三预设色温进行白平衡校正。For example, in one implementation of the embodiment, a technical feature is recorded: the color temperature of the first white field picture is adjusted to the first preset color temperature and the second preset color temperature respectively for white balance correction. In another implementation of the embodiment, another technical feature is recorded: the color temperature of the first white field picture is adjusted to the second preset color temperature for white balance correction, and after the white balance correction is completed, the picture obtained after the white balance correction is processed to obtain a second white field picture, and the color temperature of the second white field picture is adjusted to the third preset color temperature for white balance correction. Since the above two technical features are not contradictory to each other, after reading the specification of this application, a person skilled in the art should be able to think that an implementation method having both features is also an optional implementation method, that is, if the first preset color temperature is between the second preset color temperature and the third preset temperature, the color temperature of the first white field picture is adjusted to the first preset color temperature and the second preset color temperature respectively for white balance correction; if the first preset temperature is greater than or less than the second preset temperature and the third preset temperature, the color temperature of the first white field picture is adjusted to the second preset color temperature for white balance correction, and after the white balance correction is completed, the picture obtained after the white balance correction is processed to obtain the second white field picture, and the color temperature of the second white field picture is adjusted to the third preset color temperature for white balance correction.

记载在不同实施例中的不互相矛盾的技术特征也可以任意组合,构成可选的实施方式。Non-contradictory technical features recorded in different embodiments may also be arbitrarily combined to form optional implementation methods.

例如,第一实施例中记载了:将第一白场画面的色温调整至第二预设色温进行白平衡校正,并在白平衡校正完成后,对白平衡校正完成得到的画面进行处理得到第二白场画面,并将第二白场画面的色温调整至第三预设色温进行白平衡校正。为了控制本申请说明书的篇幅,在第一实施例、第二实施例中,并没有记载这个特征。但是本领域技术人员在阅读本申请说明书后,应该能够想到,第一实施例、第二实施例所提供的色准校正方法也可以包括该特征。For example, the first embodiment records: adjusting the color temperature of the first white field picture to the second preset color temperature for white balance correction, and after the white balance correction is completed, processing the picture obtained after the white balance correction to obtain a second white field picture, and adjusting the color temperature of the second white field picture to the third preset color temperature for white balance correction. In order to control the length of the specification of this application, this feature is not recorded in the first and second embodiments. However, after reading the specification of this application, those skilled in the art should be able to think that the color accuracy correction method provided in the first and second embodiments may also include this feature.

下面对本申请的实施例进行详细说明。The embodiments of the present application are described in detail below.

参照图1,图1为本申请色准校正方法的第一实施例,色准校正方法包括以下步骤:Referring to FIG. 1 , FIG. 1 is a first embodiment of the color calibration method of the present application, and the color calibration method comprises the following steps:

步骤S10,接收第一预设色温所对应的3D显示查找表,并根据3D显示查找表对色温为第一预设色温的显示画面进行色准校正。Step S10 , receiving a 3D display lookup table corresponding to a first preset color temperature, and performing color accuracy correction on a display image having a color temperature of the first preset color temperature according to the 3D display lookup table.

在本实施例中,执行主体是色准校正装置,色准校正装置是显示设备。为了便于描述,以下采用装置指代色彩校正装置。装置需要校正三个色温,分别为第一预设色温、第二预设色温以及第三预设色温,第一预设色温、第二预设色温以及第三色温是标准色温9300K、冷色色温12000K以及暖色色温6500K中的一个,且第一预设色温、第二预设色温以及第三预设色温各不相同。In this embodiment, the execution subject is a color correction device, and the color correction device is a display device. For the convenience of description, the device is used below to refer to the color correction device. The device needs to correct three color temperatures, namely a first preset color temperature, a second preset color temperature, and a third preset color temperature. The first preset color temperature, the second preset color temperature, and the third color temperature are one of the standard color temperature 9300K, the cold color temperature 12000K, and the warm color temperature 6500K, and the first preset color temperature, the second preset color temperature, and the third preset color temperature are different.

在对显示设备进行色准校正之前,需要进行准备工作。具体的,装置采用扫描枪扫描显示设备,记录进行色准显示设备的ID。装置连接彩色分析仪对显示设备进行数据采集,采集的数据为R、G、B以及W。装置根据采集的数据与待对标的色彩空间做映射计算,从而得到第一预设色温下的3D显示查找表,也即得到3dlut table。Before color calibration of the display device, preparation work is required. Specifically, the device uses a scanner to scan the display device and record the ID of the display device for color calibration. The device is connected to a color analyzer to collect data from the display device, and the collected data is R, G, B, and W. The device performs a mapping calculation based on the collected data and the color space to be calibrated, thereby obtaining a 3D display lookup table under the first preset color temperature, that is, a 3dlut table.

采集的数据R(255,0,0)、G(0,255,0)、B(0,0,255),且已知色彩空间下的3*3矩阵M,从而基于下述公式计算得到RGB对应的理论XYZ。The collected data are R(255,0,0), G(0,255,0), and B(0,0,255), and the 3*3 matrix M in the color space is known, so the theoretical XYZ corresponding to RGB can be calculated based on the following formula.

Figure BDA0003317620680000051
Figure BDA0003317620680000051

计算显示屏的3*3矩阵M-1。具体的,使用采集的R(255,0,0)、G(0,255,0)、B(0,0,255)以及X’、Y’以及Z’,运算得到屏的3*3矩阵M-1Calculate the 3*3 matrix M -1 of the display screen. Specifically, use the collected R(255,0,0), G(0,255,0), B(0,0,255) and X', Y' and Z' to calculate and obtain the 3*3 matrix M -1 of the screen.

Figure BDA0003317620680000052
Figure BDA0003317620680000052

测量R(255,0,0)、G(0,255,0)、B(0,0,255)实际的X、Y以及Z,从而基于下述公式得到亮度值。Measure the actual X, Y, and Z of R(255,0,0), G(0,255,0), and B(0,0,255) to get the brightness value based on the following formula.

Figure BDA0003317620680000061
Figure BDA0003317620680000061

最后采用亮度插值计算第一预设色温下的每个RGB所对应的亮度,从而得到9300K下的3D显示查找表。3D显示查找表具体可参照表-1:Finally, brightness interpolation is used to calculate the brightness corresponding to each RGB under the first preset color temperature, thereby obtaining a 3D display lookup table under 9300K. The 3D display lookup table can be specifically referred to Table-1:

表-1Table-1

Figure BDA0003317620680000062
Figure BDA0003317620680000062

在得到3D显示查找表后,将3D显示查找表发送至装置,也即装置接收第一预设色温下的3D显示查找表。装置再根据3D显示查找表对色温为第一预设色温的显示画面进行色准校正。具体的,显示设备的显示画面的色温调整为第一预设色温,再基于显示画面上各个像素点的RGB驱动值从3D显示查找表找到对应的R’、G’以及B’,最后通过R’、G’以及B’进行色准校正。After obtaining the 3D display lookup table, the 3D display lookup table is sent to the device, that is, the device receives the 3D display lookup table at the first preset color temperature. The device then performs color calibration on the display screen with the color temperature of the first preset color temperature according to the 3D display lookup table. Specifically, the color temperature of the display screen of the display device is adjusted to the first preset color temperature, and then the corresponding R', G' and B' are found from the 3D display lookup table based on the RGB driving value of each pixel on the display screen, and finally the color calibration is performed through R', G' and B'.

步骤S20,对校正后的显示画面进行处理得到第一白场画面。Step S20, processing the corrected display picture to obtain a first white field picture.

在完成对显示画面的校正后,装置对校正后的显示画面进行处理得到第一白场画面,也即对校正后的显示画面进行白场设置得到第一显示画面。After completing the correction of the display picture, the device processes the corrected display picture to obtain a first white field picture, that is, performs white field setting on the corrected display picture to obtain the first display picture.

步骤S30,将第一白场画面的色温调整至目标色温进行白平衡校正,其中,目标色温包括第二预设色温以及第三预设色温。Step S30, adjusting the color temperature of the first white field image to a target color temperature for white balance correction, wherein the target color temperature includes a second preset color temperature and a third preset color temperature.

显示设备当前显示的是第一白场画面,装置将第一白场画面的色温调整至目标色温进行白平衡校正。目标色温包括第二预设色温以及第三预设色温,因此,装置可以完成对显示设备的三个色温下的色准的校正。The display device currently displays a first white field picture, and the device adjusts the color temperature of the first white field picture to a target color temperature for white balance correction. The target color temperature includes a second preset color temperature and a third preset color temperature, so the device can complete the color accuracy correction of the display device under three color temperatures.

需要说明的是,采用3D显示查找表在一个色温下进行色准校正需要进行6次index的切换,也即现有技术进行色准的校正,需要进行18次index的切换。index的切换指的是返回3D显示查找表进行数值的确定,3D显示查找表包括R、G、B、R’、G’以及B’,因此需要返回六次。本实施例中,通过一个色温的3D显示查找表对该色温下的显示画面进行色准调整,另外两个色温下色准的校正则是通过白平衡进行校正,相比于现有技术的18次index的切换,本实施例仅需6次,色准校正的实现逻辑更为简单。此外,本实施例的三个色温下的色准校正是3D LUT(3D显示查找表)+2*白平衡,相比于现有技术的3*3D LUT的校正方式,优化了校正色准流程,且无需接收过大的合并3D LUT,缩短了色准校正时长,提高了色准的校正效率。It should be noted that the use of a 3D display lookup table to perform color accuracy correction at one color temperature requires 6 index switches, that is, the prior art requires 18 index switches to perform color accuracy correction. Index switching refers to returning to the 3D display lookup table to determine the value. The 3D display lookup table includes R, G, B, R', G' and B', so it needs to return six times. In this embodiment, the color accuracy of the display screen at this color temperature is adjusted through a 3D display lookup table of one color temperature, and the color accuracy correction at the other two color temperatures is corrected by white balance. Compared with the 18 index switches in the prior art, this embodiment only requires 6 times, and the implementation logic of color accuracy correction is simpler. In addition, the color accuracy correction at three color temperatures in this embodiment is 3D LUT (3D display lookup table) + 2*white balance. Compared with the 3*3D LUT correction method of the prior art, the color accuracy correction process is optimized, and there is no need to receive an excessively large merged 3D LUT, which shortens the color accuracy correction time and improves the color accuracy correction efficiency.

在本实施例提供的技术方案中,接收第一预设色温所对应的3D显示查找表,并根据3D显示查找表对色温为第一预设色温的显示画面进行色准校正,且对校正后的显示画面进行处理得到白场画面,最后将白场画面的色温调整至目标色温进行白平衡校正。本发明中,先采用一个色温下的3D显示查找表对显示画面进行色准校正,再将校正得到的白场画面的色温调整至目标色温进行白平衡校正,目标色温包括另外两个色温,也即本发明仅需接收一个色温下的3D显示查找表即可完成显示画面在三个色温下的色准校正,减少了3D显示查找表的传输时长,减少了显示画面的色准校正时长,提高了色准校正效率。In the technical solution provided in this embodiment, a 3D display lookup table corresponding to a first preset color temperature is received, and a display screen having a color temperature of the first preset color temperature is color-corrected according to the 3D display lookup table, and the corrected display screen is processed to obtain a white field screen, and finally the color temperature of the white field screen is adjusted to the target color temperature for white balance correction. In the present invention, a 3D display lookup table under one color temperature is first used to perform color correction on the display screen, and then the color temperature of the corrected white field screen is adjusted to the target color temperature for white balance correction, and the target color temperature includes the other two color temperatures, that is, the present invention only needs to receive a 3D display lookup table under one color temperature to complete the color correction of the display screen under three color temperatures, which reduces the transmission time of the 3D display lookup table, reduces the color correction time of the display screen, and improves the color correction efficiency.

在一实施例中,步骤S20包括:In one embodiment, step S20 includes:

将第一白场画面的色温分别调整至第一预设色温以及第二预设色温进行白平衡校正。The color temperature of the first white field image is adjusted to the first preset color temperature and the second preset color temperature respectively to perform white balance correction.

在本实施例中,显示画面在处理为第一白场画面后,将第一白场画面的色温分别调整至第二预设色温以及第三预设色温进行白平衡校正,也即第一白场画面的色温调整至第二预设色温且完成第二预设色温下的白平衡校正后,将显示画面切换为第一白场画面,装置再将第一白场画面的色温调整为第三预设色温进行白平衡校正。例如,第一预设色温是9300K,第二预设色温是6500K以及第三预设色温是12000K,装置将第一白场画面的色温调整至12000K进行暖色白平衡校正,在完成校正后,切换至第一白场画面,再将第一白场画面的色温调整至6500K进行冷色白平衡的校正。冷色白平衡校正完成后,画面的颜色偏蓝;而暖色白平衡校正完成后,画面的颜色偏黄红。In this embodiment, after the display screen is processed as the first white screen, the color temperature of the first white screen is adjusted to the second preset color temperature and the third preset color temperature respectively for white balance correction, that is, after the color temperature of the first white screen is adjusted to the second preset color temperature and the white balance correction under the second preset color temperature is completed, the display screen is switched to the first white screen, and the device adjusts the color temperature of the first white screen to the third preset color temperature for white balance correction. For example, the first preset color temperature is 9300K, the second preset color temperature is 6500K, and the third preset color temperature is 12000K. The device adjusts the color temperature of the first white screen to 12000K for warm color white balance correction, and after the correction is completed, switches to the first white screen, and then adjusts the color temperature of the first white screen to 6500K for cold color white balance correction. After the cold color white balance correction is completed, the color of the screen is blue; and after the warm color white balance correction is completed, the color of the screen is yellowish red.

或者,将第一白场画面的色温调整至第二预设色温进行白平衡校正,并在白平衡校正完成后,对白平衡校正完成得到的画面进行处理得到第二白场画面,并将第二白场画面的色温调整至第三预设色温进行白平衡校正。Alternatively, the color temperature of the first white field picture is adjusted to the second preset color temperature for white balance correction, and after the white balance correction is completed, the picture obtained after the white balance correction is processed to obtain a second white field picture, and the color temperature of the second white field picture is adjusted to the third preset color temperature for white balance correction.

此外,装置先将第一白场画面的色温调整至第二预设色温进行白平衡校正,校正完毕后,对校正后的画面进行处理得到第二白场画面,装置再将第二白场画面的色温调整至第三预设色温进行白平衡校正。例如,第一预设色温是6500K,则先将6500K下的第一白场画面的色温调整至第二预设色温9300K进行白平衡校正,并对完成白平衡校正的画面进行白场设置得到第二白场画面,再将第二白场画面的色温调整至第三预设色温12000K进行暖色白平衡的校正。In addition, the device first adjusts the color temperature of the first white field picture to the second preset color temperature for white balance correction. After the correction is completed, the corrected picture is processed to obtain the second white field picture, and the device then adjusts the color temperature of the second white field picture to the third preset color temperature for white balance correction. For example, if the first preset color temperature is 6500K, the color temperature of the first white field picture at 6500K is first adjusted to the second preset color temperature of 9300K for white balance correction, and the picture that has completed the white balance correction is set to a white field to obtain a second white field picture, and then the color temperature of the second white field picture is adjusted to the third preset color temperature of 12000K for warm color white balance correction.

在本实施例中,装置可以采用上述任意一种方式对第二预设色温以及第二预设色温下的色准进行校正。In this embodiment, the device can calibrate the second preset color temperature and the color accuracy at the second preset color temperature in any of the above-mentioned ways.

参照图2,图2为本发明色准校正方法第二实施例,基于第一实施例,步骤S30之后,还包括:Referring to FIG. 2 , FIG. 2 is a second embodiment of the color calibration method of the present invention. Based on the first embodiment, after step S30, the method further includes:

步骤S40,获取校正后的显示画面中像素点的实际色度值,且获取像素点的标准色度值。Step S40, obtaining the actual chromaticity value of the pixel in the calibrated display image, and obtaining the standard chromaticity value of the pixel.

步骤S50,根据实际色度值以及标准色度值确定色差。Step S50, determining the color difference according to the actual chromaticity value and the standard chromaticity value.

步骤S60,在色差小于或等于预设色差时,确定色准校正成功,将3D显示查找表写入至进行色准校正的显示设备。Step S60: When the color difference is less than or equal to the preset color difference, it is determined that the color calibration is successful, and the 3D display lookup table is written to the display device for color calibration.

在本实施例中,在完成三个色温下的色准校正后,装置需要确定色准的校正是否成功。In this embodiment, after completing the color calibration at three color temperatures, the device needs to determine whether the color calibration is successful.

具体的,装置获取校正后的显示画面中像素点的RGB所对应的颜色空间XYZ,通过颜色空间CIEXYZ与表色系CIELAB的转换,可以得到像素点的实际色度值。装置中还存储有CIELAB对应的标准表格。装置在标准表格中获取XYZ所对应的标准色度值。装置基于ΔE2000的色差计算公式、实际色度值以及标准色度值即可确定色差。ΔE2000的色差计算公式为:Specifically, the device obtains the color space XYZ corresponding to the RGB of the pixel point in the corrected display screen, and the actual chromaticity value of the pixel point can be obtained by converting the color space CIEXYZ and the color system CIELAB. The device also stores a standard table corresponding to CIELAB. The device obtains the standard chromaticity value corresponding to XYZ in the standard table. The device can determine the color difference based on the color difference calculation formula of ΔE2000, the actual chromaticity value and the standard chromaticity value. The color difference calculation formula of ΔE2000 is:

Figure BDA0003317620680000081
Figure BDA0003317620680000081

装置存储有预设色差,预设色差可以为任意合适的数值。在确定色差后,将色差与预设色差进行比对,若是色差小于或等于预设色差,则确定色准校正成功,再将3D显示查找写入至进行色准校正的显示设备,显示设备后续校正色准时,即可基于3D显示查找表进行色准校正。The device stores a preset color difference, which can be any suitable value. After determining the color difference, the color difference is compared with the preset color difference. If the color difference is less than or equal to the preset color difference, it is determined that the color correction is successful, and then the 3D display lookup is written to the display device for color correction. When the display device subsequently corrects the color, the color correction can be performed based on the 3D display lookup table.

而在当色差大于预设色差时,则输出色准校正失败的提示信息。When the color difference is greater than the preset color difference, a prompt message indicating that the color calibration has failed is output.

在本实施例提供的技术方案中,装置获取校正后的显示画面中像素点的实际色度值,且获取像素点的标准色度值,从而根据实际色度值以及标准色度值确定色差,若是色差小于或等于预设色差,则确定色准校正成功,且将3D显示查找表写入至色准校正的显示设备。In the technical solution provided in this embodiment, the device obtains the actual chromaticity value of the pixel in the corrected display image, and obtains the standard chromaticity value of the pixel, so as to determine the color difference according to the actual chromaticity value and the standard chromaticity value. If the color difference is less than or equal to the preset color difference, it is determined that the color correction is successful, and the 3D display lookup table is written to the color-corrected display device.

参照图3,图3为本发明色准校正方法第三实施例,基于第一或第二实施例,步骤S30包括:Referring to FIG. 3 , FIG. 3 is a third embodiment of the color calibration method of the present invention. Based on the first or second embodiment, step S30 includes:

步骤S31,获取第一白场画面的亮度。Step S31, obtaining the brightness of the first white field picture.

步骤S32,在亮度大于预设亮度时,将第一白场画面的色温调整至目标色温进行白平衡校正。Step S32, when the brightness is greater than the preset brightness, the color temperature of the first white field image is adjusted to the target color temperature to perform white balance correction.

在本实施例中,装置对第一预设色温下的显示画面进行色准校正后,对校正后的显示画面进行处理得到第一白场画面,装置再获取第一白场画面的亮度。装置中存储有预设亮度,装置比对获取的亮度与预设亮度。若是获取的亮度大于预设亮度,即可确定亮度符合产品要求,装置可以将第一白场画面的色温调整至目标色温进行白平衡校正,也即进行其他两个色温下的色准校正。In this embodiment, after the device performs color calibration on the display image at the first preset color temperature, the device processes the calibrated display image to obtain a first white field image, and the device then obtains the brightness of the first white field image. The preset brightness is stored in the device, and the device compares the obtained brightness with the preset brightness. If the obtained brightness is greater than the preset brightness, it can be determined that the brightness meets the product requirements, and the device can adjust the color temperature of the first white field image to the target color temperature for white balance calibration, that is, perform color calibration at the other two color temperatures.

若是获取的亮度小于或等于预设亮度,即可确定亮度不符合产品要求,装置无需进行其他两个色温下的色准校正,装置输出色准校正失败的提示信息,也即提示该显示设备进行返厂重造。If the acquired brightness is less than or equal to the preset brightness, it can be determined that the brightness does not meet the product requirements. The device does not need to perform color calibration at the other two color temperatures. The device outputs a prompt message indicating that the color calibration failed, which means that the display device needs to be returned to the factory for remanufacturing.

此外,在色准校正成功时,装置将显示设备ID关联校正成功的提示信息。若是色准校正失败,显示设备ID则关联校正失败的提示信息。In addition, when the color calibration is successful, the device will display a prompt message indicating that the device ID is successfully associated with the calibration. If the color calibration fails, the device ID will display a prompt message indicating that the calibration failed.

在本实施例提供的技术方案中,装置获取第一白场画面的亮度,若是亮度大于预设亮度,装置则将第一白场画面的色温调整至目标色温进行白平衡校正以完成所有色温下的色准校正,若是亮度小于预设亮度,则校正失败,无线进行其他两个色温下的色准校正,避免装置对不合格的产品进行色准校正。In the technical solution provided in this embodiment, the device obtains the brightness of the first white field picture. If the brightness is greater than the preset brightness, the device adjusts the color temperature of the first white field picture to the target color temperature for white balance correction to complete the color accuracy correction at all color temperatures. If the brightness is less than the preset brightness, the correction fails, and the color accuracy correction at the other two color temperatures is not performed wirelessly to avoid the device performing color accuracy correction on unqualified products.

本申请还提供一种色准校正装置,参照图4,色准校正装置400包括:The present application also provides a color calibration device. Referring to FIG. 4 , the color calibration device 400 includes:

接收模块410,用于接收第一预设色温所对应的3D显示查找表,并根据3D显示查找表对色温为第一预设色温的显示画面进行色准校正;The receiving module 410 is used to receive a 3D display lookup table corresponding to a first preset color temperature, and perform color accuracy correction on a display picture having a color temperature of the first preset color temperature according to the 3D display lookup table;

处理模块420,用于对校正后的显示画面进行处理得到第一白场画面;A processing module 420 is used to process the corrected display picture to obtain a first white field picture;

校正模块430,用于将第一白场画面的色温调整至目标色温进行白平衡校正,其中,目标色温包括第二预设色温以及第三预设色温。The correction module 430 is used to adjust the color temperature of the first white field picture to a target color temperature for white balance correction, wherein the target color temperature includes a second preset color temperature and a third preset color temperature.

在一实施例中,色准校正装置400包括:In one embodiment, the color calibration device 400 includes:

校正模块430,用于将第一白场画面的色温分别调整至第一预设色温以及第二预设色温进行白平衡校正;The correction module 430 is used to adjust the color temperature of the first white field picture to the first preset color temperature and the second preset color temperature respectively to perform white balance correction;

或者,校正模块430,用于将第一白场画面的色温调整至第二预设色温进行白平衡校正,并在白平衡校正完成后,对白平衡校正完成得到的画面进行处理得到第二白场画面,并将第二白场画面的色温调整至第三预设色温进行白平衡校正。Alternatively, the correction module 430 is used to adjust the color temperature of the first white field picture to the second preset color temperature for white balance correction, and after the white balance correction is completed, process the picture obtained after the white balance correction to obtain a second white field picture, and adjust the color temperature of the second white field picture to the third preset color temperature for white balance correction.

在一实施例中,色准校正装置400包括:In one embodiment, the color calibration device 400 includes:

获取模块,用于获取校正后的显示画面中像素点的实际色度值,且获取像素点的标准色度值;An acquisition module, used to acquire the actual chromaticity value of the pixel in the calibrated display image and acquire the standard chromaticity value of the pixel;

确定模块,用于根据实际色度值以及标准色度值确定色差;A determination module, used for determining the color difference according to the actual color value and the standard color value;

确定模块,用于在色差小于或等于预设色差时,确定色准校正成功,并将3D显示查找表写入至进行色准校正的显示设备。The determination module is used to determine that the color accuracy correction is successful when the color difference is less than or equal to the preset color difference, and write the 3D display lookup table to the display device performing the color accuracy correction.

在一实施例中,色准校正装置400包括:In one embodiment, the color calibration device 400 includes:

输出模块,用于在色差大于预设色差时,输出色准校正失败的提示信息。The output module is used to output a prompt message indicating that the color calibration has failed when the color difference is greater than a preset color difference.

在一实施例中,色准校正装置400包括:In one embodiment, the color calibration device 400 includes:

获取模块,用于获取第一白场画面的亮度;An acquisition module, used to acquire the brightness of the first white field picture;

校正模块430,用于在亮度大于预设亮度时,将第一白场画面的色温调整至目标色温进行白平衡校正。The correction module 430 is used to adjust the color temperature of the first white field picture to the target color temperature for white balance correction when the brightness is greater than the preset brightness.

在一实施例中,色准校正装置400包括:In one embodiment, the color calibration device 400 includes:

输出模块,用于在亮度小于或等于预设亮度时,输出色准校正失败的提示信息。The output module is used to output a prompt message indicating that the color calibration has failed when the brightness is less than or equal to a preset brightness.

需要说明的是,上述实施例提供的色准校正装置在执行色准校正方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的色准校正装置与色准校正方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。It should be noted that, when the color accuracy correction device provided in the above embodiment executes the color accuracy correction method, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the color accuracy correction device provided in the above embodiment and the color accuracy correction method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

本申请实施例还提供了一种计算机存储介质,计算机存储介质可以存储有多条指令,指令适于由处理器加载并执行如上述实施例的方法步骤,具体执行过程可以参见图1至图3所示实施例的具体说明,在此不进行赘述。The embodiment of the present application also provides a computer storage medium, which can store multiple instructions. The instructions are suitable for being loaded by a processor and executing the method steps of the above embodiment. The specific execution process can be found in the specific description of the embodiment shown in Figures 1 to 3, which will not be repeated here.

存储介质所在设备可以是显示设备。The device where the storage medium is located may be a display device.

图5是根据一示例性实施例示出的一种电子设备的结构示意图。Fig. 5 is a schematic diagram showing the structure of an electronic device according to an exemplary embodiment.

如图5所示,电子设备1000可以包括:至少一个处理器1001,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。As shown in FIG. 5 , the electronic device 1000 may include: at least one processor 1001 , at least one network interface 1004 , a user interface 1003 , a memory 1005 , and at least one communication bus 1002 .

其中,通信总线1002用于实现这些组件之间的连接通信。The communication bus 1002 is used to realize the connection and communication between these components.

其中,用户接口1003可以包括显示屏(Display)、摄像头(Camera),可选用户接口1003还可以包括标准的有线接口、无线接口。The user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.

其中,网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

其中,处理器1001可以包括一个或者多个处理核心。处理器1001利用各种接口和线路连接整个电子设备1000内的各个部分,通过运行或执行存储在存储器1005内的指令、程序、代码集或指令集,以及调用存储在存储器1005内的数据,执行电子设备1000的各种功能和处理数据。可选的,处理器1001可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1001可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1001中,单独通过一块芯片进行实现。Among them, the processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect various parts within the entire electronic device 1000, and executes various functions and processes data of the electronic device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Optionally, the processor 1001 can be implemented in at least one hardware form 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). The processor 1001 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1001, and it can be implemented separately through a chip.

其中,存储器1005可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器1005包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1005可用于存储指令、程序、代码、代码集或指令集。存储器1005可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图5所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及电子设备的操作应用程序。Among them, the memory 1005 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the storage data area may store data involved in the above various method embodiments, etc. The memory 1005 may also be at least one storage device located away from the aforementioned processor 1001. As shown in Figure 5, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operating application program of an electronic device.

在图5所示的电子设备1000中,用户接口1003主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1001可以用于调用存储器1005中存储的电子设备的操作应用程序,并具体执行以下操作:In the electronic device 1000 shown in FIG. 5 , the user interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 1001 can be used to call the operation application of the electronic device stored in the memory 1005, and specifically perform the following operations:

接收第一预设色温所对应的3D显示查找表,并根据3D显示查找表对色温为第一预设色温的显示画面进行色准校正;Receiving a 3D display lookup table corresponding to a first preset color temperature, and performing color accuracy correction on a display picture having a color temperature of the first preset color temperature according to the 3D display lookup table;

对校正后的显示画面进行处理得到第一白场画面;Processing the corrected display image to obtain a first white field image;

将第一白场画面的色温调整至目标色温进行白平衡校正,其中,目标色温包括第二预设色温以及第三预设色温。The color temperature of the first white field picture is adjusted to a target color temperature for white balance correction, wherein the target color temperature includes a second preset color temperature and a third preset color temperature.

在一个实施例中,电子设备的操作系统为安卓系统,在安卓系统中,处理器1001还执行以下步骤:In one embodiment, the operating system of the electronic device is an Android system. In the Android system, the processor 1001 further performs the following steps:

将第一白场画面的色温分别调整至第一预设色温以及第二预设色温进行白平衡校正;Adjusting the color temperature of the first white field image to the first preset color temperature and the second preset color temperature respectively to perform white balance correction;

或者,将第一白场画面的色温调整至第二预设色温进行白平衡校正,并在白平衡校正完成后,对白平衡校正完成得到的画面进行处理得到第二白场画面,并将第二白场画面的色温调整至第三预设色温进行白平衡校正。Alternatively, the color temperature of the first white field picture is adjusted to the second preset color temperature for white balance correction, and after the white balance correction is completed, the picture obtained after the white balance correction is processed to obtain a second white field picture, and the color temperature of the second white field picture is adjusted to the third preset color temperature for white balance correction.

在一实施例中,处理器1001还执行以下步骤:In one embodiment, the processor 1001 further performs the following steps:

获取校正后的显示画面中像素点的实际色度值,且获取像素点的标准色度值;Obtaining the actual chromaticity value of the pixel in the calibrated display image, and obtaining the standard chromaticity value of the pixel;

根据实际色度值以及标准色度值确定色差;Determine the color difference based on the actual color value and the standard color value;

在色差小于或等于预设色差时,确定色准校正成功,并将3D显示查找表写入至进行色准校正的显示设备。When the color difference is less than or equal to the preset color difference, it is determined that the color correction is successful, and the 3D display lookup table is written to the display device that performs the color correction.

在一实施例中,处理器1001还执行以下步骤:In one embodiment, the processor 1001 further performs the following steps:

获取校正后的显示画面中像素点的实际色度值,且获取像素点的标准色度值;Obtaining the actual chromaticity value of the pixel in the calibrated display image, and obtaining the standard chromaticity value of the pixel;

根据实际色度值以及标准色度值确定色差;Determine the color difference based on the actual color value and the standard color value;

在色差小于或等于预设色差时,确定色准校正成功,并将3D显示查找表写入至进行色准校正的显示设备。When the color difference is less than or equal to the preset color difference, it is determined that the color correction is successful, and the 3D display lookup table is written to the display device that performs the color correction.

在一实施例中,处理器1001还执行以下步骤:In one embodiment, the processor 1001 further performs the following steps:

获取目标信息,目标信息包括以下至少一种:当前时间点、环境参数、语音信息、会议以及课程;Obtaining target information, the target information including at least one of the following: current time point, environmental parameters, voice information, meeting, and course;

在目标信息满足预设条件,在交互界面上显示目标信息关联的教学场景。When the target information meets the preset conditions, the teaching scene associated with the target information is displayed on the interactive interface.

在一实施例中,处理器1001还执行以下步骤:In one embodiment, the processor 1001 further performs the following steps:

获取第一白场画面的亮度;Get the brightness of the first white field image;

在亮度大于预设亮度时,将第一白场画面的色温调整至目标色温进行白平衡校正。When the brightness is greater than the preset brightness, the color temperature of the first white field image is adjusted to the target color temperature to perform white balance correction.

在一实施例中,处理器1001还执行以下步骤:In one embodiment, the processor 1001 further performs the following steps:

在亮度小于或等于预设亮度时,输出色准校正失败的提示信息。When the brightness is less than or equal to the preset brightness, a prompt message indicating that the color calibration failed is output.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the flowchart and/or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and/or box in the flowchart and/or block diagram, and the combination of the process and/or box in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and/or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims (10)

1. A method for color correction, comprising:
receiving a 3D display lookup table corresponding to a first preset color temperature, and performing color quasi-correction on a display picture with the color temperature being the first preset color temperature according to the 3D display lookup table;
processing the corrected display picture to obtain a first white field picture;
and adjusting the color temperature of the first white field picture to a target color temperature for white balance correction, wherein the target color temperature comprises a second preset color temperature and a third preset color temperature.
2. The color correction method according to claim 1, wherein the step of adjusting the color temperature of the first white field picture to a target color temperature for white balance correction comprises:
respectively adjusting the color temperature of the first white field picture to a first preset color temperature and a second preset color temperature to carry out white balance correction;
or, adjusting the color temperature of the first white field picture to a second preset color temperature to perform white balance correction, processing the picture obtained by the white balance correction after the white balance correction is completed to obtain a second white field picture, and adjusting the color temperature of the second white field picture to a third preset color temperature to perform white balance correction.
3. The color correction method according to claim 1, wherein after the step of adjusting the color temperature of the first white field picture to a target color temperature for white balance correction, further comprising:
acquiring the corrected actual chromaticity value of the pixel point in the display picture, and acquiring the standard chromaticity value of the pixel point;
determining a color difference according to the actual chromaticity value and the standard chromaticity value;
and when the color difference is smaller than or equal to a preset color difference, determining that the color quasi-correction is successful, and writing the 3D display lookup table into display equipment for performing the color quasi-correction.
4. A color correction method according to claim 3, characterized in that after the step of determining a color difference from the actual chromaticity value and the standard chromaticity value, it further comprises:
and outputting prompt information of failure of color correction when the color difference is larger than a preset color difference.
5. The color correction method according to claim 1, 3 or 4, wherein the step of adjusting the color temperature of the first white field picture to a target color temperature for white balance correction comprises:
acquiring the brightness of the first white field picture;
and when the brightness is larger than the preset brightness, adjusting the color temperature of the first white field picture to a target color temperature for white balance correction.
6. The method according to claim 5, wherein after the step of obtaining the brightness of the first white field picture, further comprising:
and outputting prompt information of failure of color correction when the brightness is smaller than or equal to the preset brightness.
7. A color register correction device, comprising:
the receiving module is used for receiving a 3D display lookup table corresponding to the first preset color temperature and carrying out color quasi correction on a display picture of the display equipment according to the 3D display lookup table;
the processing module is used for processing the corrected display picture to obtain a first white field picture;
the correction module is used for adjusting the color temperature of the first white field picture to a target color temperature to carry out white balance correction, wherein the target color temperature comprises a second preset color temperature and a third preset color temperature.
8. A color correction apparatus, comprising: a display screen, a memory and a processor;
the display screen is used for displaying pictures;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory, causing the color level correction device to perform the color level correction method of any one of claims 1 to 6.
9. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to implement the color correction method of any of claims 1 to 6.
10. An electronic device having stored therein computer-executable instructions which, when executed by a processor, are adapted to carry out the color level correction method according to any one of claims 1 to 6.
CN202111236255.4A 2021-10-22 2021-10-22 Color calibration method, storage medium and related equipment Pending CN116009801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111236255.4A CN116009801A (en) 2021-10-22 2021-10-22 Color calibration method, storage medium and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111236255.4A CN116009801A (en) 2021-10-22 2021-10-22 Color calibration method, storage medium and related equipment

Publications (1)

Publication Number Publication Date
CN116009801A true CN116009801A (en) 2023-04-25

Family

ID=86030439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111236255.4A Pending CN116009801A (en) 2021-10-22 2021-10-22 Color calibration method, storage medium and related equipment

Country Status (1)

Country Link
CN (1) CN116009801A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120048212A (en) * 2025-03-31 2025-05-27 京东方科技集团股份有限公司 Screen display method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104599652A (en) * 2015-01-21 2015-05-06 深圳市金锐显数码科技有限公司 Terminal screen white balance correcting method and device
CN113495709A (en) * 2020-03-20 2021-10-12 华为技术有限公司 Color correction method, AP chip, terminal and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104599652A (en) * 2015-01-21 2015-05-06 深圳市金锐显数码科技有限公司 Terminal screen white balance correcting method and device
CN113495709A (en) * 2020-03-20 2021-10-12 华为技术有限公司 Color correction method, AP chip, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120048212A (en) * 2025-03-31 2025-05-27 京东方科技集团股份有限公司 Screen display method and device

Similar Documents

Publication Publication Date Title
CN111429827B (en) Display screen color calibration method and device, electronic equipment and readable storage medium
EP1914980A1 (en) Apparatus and method for improving visibility of image
CN111312141B (en) Color gamut adjusting method and device
CN112712475B (en) Image color difference compensation method and device, electronic equipment and storage medium
JP2008295034A (en) Image processing apparatus and image processing method
JP6520578B2 (en) Image processing apparatus and display determination method
CN112309312A (en) Image display method and device, receiving card, sending card and LED display system
US11967297B2 (en) Color modulation method and apparatus for display, electronic device, and storage medium
CN115170681B (en) Gamma lookup table generation method and device, electronic equipment and storage medium
CN116009801A (en) Color calibration method, storage medium and related equipment
JP2019095711A (en) Correction data generation device, display device, correction data generation method, and program
TW201123886A (en) Look up table update method.
JP2015108796A (en) Image display system, image display system control method, image display apparatus, and image display apparatus control method
CN116033133B (en) Color correction method, storage medium and related equipment
CN114842814B (en) Color calibration methods and devices, electronic equipment, storage media
US12488517B2 (en) Color card generating method, image processing method, and apparatuses, and readable storage medium
CN117392964A (en) High dynamic range HDR video processing method, system and video processing device
CN117237200A (en) A white balance correction method, device, electronic equipment and storage medium
JP6610755B2 (en) Image processing apparatus and display determination method
US7619652B2 (en) Frame processing and frame processing method
CN115426485B (en) Color correction matrix adjustment method, camera device, electronic device and storage medium
US8922835B1 (en) Color conversion method and color conversion system
CN118379949A (en) Image display method, device, electronic device and storage medium
CN119785741B (en) Methods, apparatus and computer-readable media for switching color gamuts
JP2004246671A (en) Look-up table creation method, computer program, and imaging apparatus

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