CN111429827A - Display screen color calibration method and device, electronic equipment and readable storage medium - Google Patents

Display screen color calibration method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111429827A
CN111429827A CN202010197051.3A CN202010197051A CN111429827A CN 111429827 A CN111429827 A CN 111429827A CN 202010197051 A CN202010197051 A CN 202010197051A CN 111429827 A CN111429827 A CN 111429827A
Authority
CN
China
Prior art keywords
color
data
calibration
cie
display screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010197051.3A
Other languages
Chinese (zh)
Other versions
CN111429827B (en
Inventor
沈珈立
罗小伟
林福辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202010197051.3A priority Critical patent/CN111429827B/en
Publication of CN111429827A publication Critical patent/CN111429827A/en
Application granted granted Critical
Publication of CN111429827B publication Critical patent/CN111429827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2003Display of colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0693Calibration of display systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

The embodiment of the application provides a display screen color calibration method, a display screen color calibration device, electronic equipment and a readable storage medium, wherein when the display screen is subjected to color calibration, a target calibration color gamut is determined, and first three primary color data corresponding to the target calibration color gamut is acquired; determining first CIE color space data according to each sampling color, and determining color calibration data of the display screen in a target calibration color gamut according to each sampling color, the first CIE color space data and the first three primary color data; the color calibration data is input into the display equipment corresponding to the display screen, so that the display equipment carries out color calibration processing on the display screen according to the color calibration data, the calibration process is simplified, and the calibration time can be effectively shortened.

Description

Display screen color calibration method and device, electronic equipment and readable storage medium
Technical Field
The embodiment of the application relates to the technical field of color calibration, in particular to a display screen color calibration method and device, electronic equipment and a readable storage medium.
Background
Currently, more and more display devices are gradually adopting wide color gamut display screens, for example, a standard Red Green Blue (sRGB) color gamut space, an Adobe RGB color gamut space, a Digital Cinema Initiative (DCI) -P3 color gamut space, etc., and users are also beginning to pay attention to color accuracy performance of display screens in different color gamuts. However, in the production process of the display screen, the processing technology level and the manufacturing cost are limited, and it is difficult to achieve the same color standard performance for each display screen, so that the color calibration of the display screen on the display device is required after the display device leaves the factory.
The existing calibration device mainly comprises: the system comprises an acquisition module, a comparison module and a calculation module, wherein the specific color calibration scheme is as follows: the acquisition module acquires color component information of three color lights displayed by a display screen under the current backlight driving current; the contrast module contrasts the color component information of the three color lights collected by the collection module with the color component information of the three primary colors of the target color gamut, and determines the difference between the color component information and the color component information; the calculation module is used for calculating color calibration data according to the difference and then inputting the color calibration data into the display equipment. The display device utilizes the color calibration data to calibrate the color of the display screen, and after calibration, the calibration device executes the acquisition module, the comparison module and the calculation module again until the difference between the color component information acquired by the acquisition module and the color component information of the three primary colors of the target color gamut meets the factory requirement.
However, in the color calibration scheme, the acquisition module needs to repeatedly acquire and repeatedly exchange data with the comparison module and the calculation module to calibrate the color displayed by the display screen to the standard color of the target color gamut; meanwhile, the color calibration scheme can only calibrate the color of one color gamut at a time, and if the color of another color gamut needs to be calibrated, the calibration can be performed only after the contrast module needs to be adjusted, so that the calibration process of the existing color calibration scheme is complicated and the time consumption is long.
Disclosure of Invention
The embodiment of the application provides a display screen color calibration method and device, electronic equipment and a readable storage medium, and can solve the technical problems that a color calibration scheme in the prior art is complicated in calibration process and consumes long time.
In a first aspect, an embodiment of the present application provides a display screen color calibration method, including:
determining a target calibration color gamut, and acquiring first three primary color data corresponding to the target calibration color gamut;
determining first international Commission on illumination (Commission) standard (CIE) color space data according to each sampling color, and determining color calibration data of the display screen in the target calibration color gamut according to each sampling color, the first CIE color space data and the first three primary color data;
and inputting the color calibration data to display equipment corresponding to the display screen, so that the display equipment performs color calibration processing on the display screen according to the color calibration data.
In one possible embodiment, the determining the first CIE color space data according to the respective sample colors includes:
and detecting corresponding tristimulus values of the display screen when the display screen displays the sampling colors, and determining the first CIE color space data according to the tristimulus values.
In one possible embodiment, the determining the color calibration data of the display screen at the target calibration color gamut according to the respective sample colors, the first CIE color space data and the first three primary color data includes:
determining a mapping function between color space data corresponding to the respective sample colors and the first CIE color space data;
converting the first three primary color data into second CIE color space data, and obtaining second three primary color data according to the second CIE color space data and the mapping function;
determining the color calibration data based on the first three primary color data and the second three primary color data.
In one possible embodiment, the determining a mapping function between the color space data corresponding to the respective sample color and the first CIE color space data includes:
establishing a screen chromaticity characteristic model A-M-B, wherein A represents the first CIE color space data, B represents the color space data corresponding to each sampling color, and M represents the mapping function;
and training the screen chromaticity characteristic model by using the color space data corresponding to each sampling color and the first CIE color space data to determine the mapping function.
In a possible embodiment, the obtaining the second three primary color data according to the second CIE color space data and the mapping function includes:
inputting the first three primary color data into the mapping function to obtain third CIE color space data corresponding to the first three primary color data;
traversing each CIE color coordinate in the second CIE color space data, and searching each minimum tetrahedron surrounding each CIE color coordinate in the second CIE color space data in a three-dimensional space, wherein each vertex of each minimum tetrahedron is a point in a point cloud formed in the three-dimensional space based on each CIE color coordinate in the third CIE color space data;
and determining three primary color data corresponding to each CIE color coordinate in the second CIE color space data based on each minimum tetrahedron, and determining the three primary color data corresponding to each CIE color coordinate in the second CIE color space data as the second three primary color data.
In one possible embodiment, the determining the color calibration data based on the first three primary color data and the second three primary color data includes:
and establishing a three-dimensional lookup table based on the corresponding relation between the first three primary color data and the second three primary color data, and determining the three-dimensional lookup table as the color calibration data.
In a second aspect, an embodiment of the present application provides a display screen color calibration apparatus, including:
the device comprises an acquisition module, a calibration color gamut generation module and a calibration color gamut generation module, wherein the acquisition module is used for determining a target calibration color gamut and acquiring first three primary color data corresponding to the target calibration color gamut;
the processing module is used for determining first International Commission on illumination standard CIE color space data according to each sampling color; determining color calibration data of the display screen in the target calibration color gamut according to the sampling colors, the first CIE color space data and the first three primary color data;
and the transmission module is used for inputting the color calibration data to display equipment corresponding to the display screen, so that the display equipment performs color calibration processing on the display screen according to the color calibration data.
In a possible implementation, the processing module is specifically configured to:
and detecting corresponding tristimulus values of the display screen when the display screen displays the sampling colors, and determining the first CIE color space data according to the tristimulus values.
In a possible implementation, the processing module is specifically configured to:
determining a mapping function between color space data corresponding to the respective sample colors and the first CIE color space data;
converting the first three primary color data into second CIE color space data, and obtaining second three primary color data according to the second CIE color space data and the mapping function;
determining the color calibration data based on the first three primary color data and the second three primary color data.
In a possible implementation, the processing module is specifically configured to:
and establishing a three-dimensional lookup table based on the corresponding relation between the first three primary color data and the second three primary color data, and determining the three-dimensional lookup table as the color calibration data.
In a third aspect, an embodiment of the present application provides an electronic device, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the display screen color calibration method as provided by the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer executes instructions, and when a processor executes the computer to execute the instructions, the method for calibrating display screen color according to the first aspect is implemented.
According to the display screen color calibration method, the display screen color calibration device, the electronic equipment and the readable storage medium, when color calibration is performed on a display screen, a target calibration color gamut is determined, first three primary color data corresponding to the target calibration color gamut is obtained, first CIE color space data is determined according to each sampling color, and color calibration data of the display screen in the target calibration color gamut is determined according to each sampling color, the first CIE color space data and the first three primary color data; and inputting the color calibration data into display equipment corresponding to the display screen, so that the display equipment performs color calibration processing on the display screen according to the color calibration data. In the embodiment of the application, the display screen does not need to be repeatedly measured, and only the first CIE color space data is determined according to each sampling color, so that the color calibration data of the display screen in the target calibration color gamut can be accurately determined according to each sampling color, the first CIE color space data and the first three primary color data of the target calibration color gamut; meanwhile, when the color of another color gamut needs to be calibrated, the color calibration data of the display screen in the newly calibrated color gamut can be accurately determined only by acquiring the first three primary color data corresponding to the newly calibrated color gamut again and according to each sampling color, the first CIE color space data and the first three primary color data corresponding to the newly calibrated color gamut, so that the calibration process is simplified, and the calibration time can be effectively shortened.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic diagram of a display screen color calibration system according to an embodiment of the present disclosure;
FIG. 2 is a first flowchart illustrating a display color calibration method according to an embodiment of the present disclosure;
FIG. 3 is a second flowchart illustrating a method for calibrating color of a display panel according to an embodiment of the present disclosure;
FIG. 4 is a third schematic flowchart illustrating a display color calibration method according to an embodiment of the present disclosure;
FIG. 5 is a functional block diagram of a display color calibration apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic hardware structure diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an architecture of a display screen color calibration system provided in an embodiment of the present application. In the embodiment of the present application, the display screen color calibration system includes a calibration apparatus 101 and a display device 102 to be calibrated.
The calibration apparatus 101 is in communication connection with a display device 102 to be calibrated. The calibration device 101 mainly includes: the color acquisition function module and the operation processing module; the color acquisition function module can be used for controlling the display device 102 to display any color and simultaneously acquiring the color displayed by the display device 102, and the operation processing module can be used for calculating color calibration data and the like.
The display device 102 may be any type of device having a display screen, such as a smart phone, a smart band, a car navigator, a desktop computer, a notebook computer, a smart television, and so on.
The color gamut described in the embodiments of the present application may be understood as a color gamut space specified in a color standard protocol or a color gamut space commonly recognized in the industry, such as an sRGB color gamut space, an National Television System Committee (NTSC) color gamut space, an Adobe RGB color gamut space, a Display-P3 color gamut space, and the like.
Generally, image reproduction apparatuses such as monitors, scanners, printers, and the like employ different color spaces or color models depending on the application. For example, a color printing device uses a CMY color space, which represents cyan, magenta, and yellow, while a color cathode ray tube monitor or a computer graphics device generally uses an RGB color gamut space, which represents red, green, and blue.
Currently, images can be accurately reproduced in any device using the CIE color space developed by the international commission on illumination (CIE) based on the human visual perception, wherein the CIE color gamut space can be classified into the CIE-XYZ color space, the CIE L a b color space, and the CIE L u v color space.
In the prior art, when color calibration is performed on a display device, three steps are generally performed: firstly, acquiring color component information of three color lights displayed by a display screen under current backlight drive current by a calibration device; secondly, comparing the collected color component information of the three colors of light with the color component information of the three primary colors of the standard color gamut, and determining the difference between the two color component information; and thirdly, calculating color calibration data according to the difference, and sending the color calibration data to the display equipment for calibration. After the display device performs color calibration on the display screen by using the color calibration data, the first step to the third step generally need to be repeated again until the difference meets the factory requirements.
Because the above color calibration method needs to repeatedly perform measurement, comparison and calculation, and meanwhile, if the color of another color gamut needs to be calibrated, the color component information of the three collected color lights and the color component information of the three primary colors of the new color gamut need to be compared and calculated again to obtain the color calibration data of the new color gamut, the whole calibration process is tedious, and the consumed time is long.
In order to solve the above problem, an embodiment of the present application provides a color calibration method for a display screen, where when performing color calibration on the display screen, it is not necessary to repeatedly measure the display screen, but only first CIE color space data is determined according to each sampling color, and then color calibration data of the display screen in a target calibration color gamut can be accurately determined according to each sampling color, the first CIE color space data, and first three primary color data of the target calibration color gamut; meanwhile, when the color of the other color gamut needs to be calibrated, the first three primary color data corresponding to the newly calibrated color gamut only needs to be obtained again, and then the color calibration data of the display screen in the newly calibrated color gamut can be accurately determined according to each sampling color, the first CIE color space data and the first three primary color data corresponding to the newly calibrated color gamut, so that the calibration process is simplified, and the calibration time can be effectively shortened. The specific scheme is described in the following embodiments:
referring to fig. 2, fig. 2 is a first flowchart illustrating a display color calibration method provided in an embodiment of the present application, in a possible implementation manner of the present application, the display color calibration method includes:
s201, determining a target calibration color gamut, and acquiring first three primary color data corresponding to the target calibration color gamut.
In the embodiment of the present application, the calibration device may determine the target calibration color gamut according to a selection operation triggered by a calibration person or an input instruction. For example, if a calibrator needs to calibrate a display screen in the sRGB color gamut, a selection operation for the sRGB color gamut may be triggered or an instruction corresponding to the sRGB color gamut may be input in the calibrator.
After determining the target calibration color gamut, the calibration device may obtain first three primary color data corresponding to the target calibration color gamut from a preset color database. Taking the target calibration color gamut as the sRGB color gamut as an example, the first three primary color data corresponding to the sRGB color gamut may be understood as RGB values corresponding to all colors formed by mixing three primary colors of R (red), G (green), and B (blue).
Optionally, after determining the target calibration color gamut, the calibration device may obtain CIE XYZ color coordinates of the white light in the target calibration color gamut, in addition to the first three primary color data, so that the calibration device performs positioning according to the CIE XYZ color coordinates.
S202, determining first CIE color space data according to each sampling color, and determining color calibration data of the display screen in a target calibration color gamut according to each sampling color, the first CIE color space data and the first three primary color data.
In this embodiment of the application, the calibration device may sample a plurality of colors at random in advance to serve as sampling colors, and then sequentially input RGB values corresponding to the sampling colors into the display device, and the display screen displays the corresponding colors.
Optionally, when the display screen displays each sampling color, the calibration device collects the colors displayed by the display screen, and then determines the first CIE color space data according to the collected colors.
It can be understood that, when the display device is in a specific color operating state, there is a mapping relationship between the color control value of the display device and the color value actually displayed by the display device, and therefore, in the embodiment of the present application, after the first CIE color space data is determined, the mapping relationship between the color space data corresponding to each sampling color and the first CIE color space data is determined, and then based on the first three primary color data and the mapping relationship, through an inverse operation, the color calibration data of the display screen in the target calibration color gamut can be determined.
It can be understood that, when another color gamut needs to be calibrated, a calibrator only needs to trigger a selection operation or an instruction of a new calibration color gamut in the calibration device, and the calibration device can determine the color calibration data of the display screen in the new calibration color gamut through inverse calculation according to the three primary color data corresponding to the new calibration color gamut and the mapping relationship.
S203, inputting the color calibration data to the display equipment corresponding to the display screen, so that the display equipment performs color calibration processing on the display screen according to the color calibration data.
In the embodiment of the application, after the calibration device determines the color calibration data, the calibration device can send the color calibration data to the display device. The display device can calibrate the display screen according to the color calibration data after receiving the color calibration data.
In the color calibration method for the display screen, the color calibration data of the display screen in the target calibration color gamut can be accurately determined according to each sampling color, the first CIE color space data and the first three primary color data of the target calibration color gamut as the display screen does not need to be repeatedly measured and only the first CIE color space data is determined according to each sampling color; meanwhile, when the color of another color gamut needs to be calibrated, the color calibration data of the display screen in the newly calibrated color gamut can be accurately determined only by acquiring the first three primary color data corresponding to the newly calibrated color gamut again and according to each sampling color, the first CIE color space data and the first three primary color data corresponding to the newly calibrated color gamut, so that the calibration process is simplified, and the calibration time can be effectively shortened.
Based on the content described in the foregoing embodiment, referring to fig. 3, fig. 3 is a schematic flowchart of a second flowchart of a display color calibration method provided in an embodiment of the present application, in another possible implementation manner of the present application, the display color calibration method includes:
s301, determining a target calibration color gamut, and acquiring first three primary color data corresponding to the target calibration color gamut.
S302, detecting tristimulus values corresponding to the display screen when each sampling color is displayed, and determining first CIE color space data according to the tristimulus values.
Optionally, when the display screen displays each sampling color, the calibration device respectively collects corresponding tristimulus values, and then converts the collected tristimulus values into CIE color space data to use the CIE color space data as the first CIE color space data. Here, the tristimulus values may be understood as an expression of the amount of stimulus levels of the three primary colors causing a certain color sensation to the retina of the human body.
And S303, determining color calibration data of the display screen in a target calibration color gamut according to the sampling colors, the first CIE color space data and the first three primary color data.
Optionally, after the first CIE color space data is determined, a mapping relationship between the color space data corresponding to each sampling color and the first CIE color space data may be determined, and then, based on the first three primary color data and the mapping relationship, the color calibration data of the display screen in the target calibration color gamut may be determined through a reverse operation.
For example, assuming that the color space data corresponding to each of the sample colors is RGB data, and the first CIE color space data is CIE L ab data, the mapping relationship between the color space data corresponding to each of the sample colors and the first CIE color space data may be determined as follows:
CIE Lab=f(RGB)
after the mapping relation is inversely transformed, the inverse mapping corresponding to the mapping relation can be obtained:
RGB=f-1(CIE Lab)
assuming that the target calibration color gamut is an RGB color gamut, the three primary color data R 'G' B 'corresponding to the target calibration color gamut may be determined, and then the three primary color data R' G 'B' is converted into CIE color space data CIE L 'a' B ', and then CIE L' a 'B' is input into the inverse mapping, so as to obtain the color calibration data RcGcBc.
When another color gamut needs to be calibrated, a calibrator only needs to trigger a selection operation or an instruction of a new calibration color gamut in the calibration device, and the calibration device can determine the color calibration data of the display screen in the new calibration color gamut through inverse calculation according to the three-primary-color data corresponding to the new calibration color gamut and the mapping relation.
S304, inputting the color calibration data to the display equipment corresponding to the display screen, so that the display equipment performs color calibration processing on the display screen according to the color calibration data.
In the embodiment of the application, after the calibration device determines the color calibration data, the calibration device can send the color calibration data to the display device. The display device can calibrate the display screen according to the color calibration data after receiving the color calibration data.
In the color calibration method for the display screen, the color calibration data of the display screen in the target calibration color gamut can be accurately determined according to each sampling color, the first CIE color space data and the first three primary color data of the target calibration color gamut after the corresponding three-color stimulus values of the display screen in displaying each sampling color are detected and the first CIE color space data is determined according to the three-color stimulus values; meanwhile, when the color of another color gamut needs to be calibrated, the color calibration data of the display screen in the newly calibrated color gamut can be accurately determined only by acquiring the first three primary color data corresponding to the newly calibrated color gamut again and according to each sampling color, the first CIE color space data and the first three primary color data corresponding to the newly calibrated color gamut, so that the calibration process is simplified, and the calibration time can be effectively shortened.
Based on the content described in the foregoing embodiment, referring to fig. 4, fig. 4 is a third flowchart illustrating a color calibration method for a display screen provided in an embodiment of the present application, in a possible implementation manner of the present application, in step S303, determining color calibration data of the display screen in a target calibration color gamut according to each sample color, first CIE color space data, and first three primary color data specifically includes:
s401, determining a mapping function between color space data corresponding to each sampling color and first CIE color space data.
In the embodiment of the present application, the following steps may be adopted to determine the mapping function:
and a, establishing a screen chromaticity characteristic model A which is M & B, wherein A represents first CIE color space data, B represents color space data corresponding to each sampling color, and M represents the mapping function.
And b, training the screen chromaticity characteristic model by using the color space data corresponding to each sampling color and the first CIE color space data to determine the mapping function.
Also taking the color space data corresponding to the respective sample colors as RGB data, and the first CIE color space data as CIE L ab data as an example, assuming that the following polynomial relationship (taking a quadratic polynomial as an example) exists between the RGB input data and the CIE L ab output data:
L=p0+p1R+p2G+p3B+p4RG+p5GB+p6RB+p7R2+p8G2+p9B2
+p10RGB
a=q0+q1R+q2G+q3B+q4RG+q5GB+q6RB+q7R2+q8G2+q9B2
+q10RGB
b=r0+r1R+r2G+r3B+r4RG+r5GB+r6RB+r7R2+r8G2+r9B2
+r10RGB
if a is expressed by a matrix, [ L a b ═]T,B=[1R G B RG GB RB R2G2B2RGB]TThen the above mapping function can be written as:
A=M·B
where M is a 3 x 11 matrix used to represent the mapping of RGB data to CIE L ab data.
Optionally, the screen chromaticity characteristic model may be trained by using a least square method to obtain a matrix M, so as to obtain the mapping function.
S402, converting the first three primary color data into second CIE color space data, and obtaining second three primary color data according to the second CIE color space data and the mapping function.
In a possible embodiment, the following steps may be taken to determine the second three primary color data:
and step A, after the first three primary color data are converted into second CIE color space data, inputting the first three primary color data into the mapping function to obtain third CIE color space data corresponding to the first three primary color data, and then, taking each CIE L ab value in the third CIE color space data as a coordinate of a three-dimensional Euclidean space to obtain a group of discrete point clouds.
Step B, traversing CIE color coordinates CIE L ab in the second CIE color space datatFinding a bounding CIE L ab in three-dimensional spacetWherein each vertex of the smallest tetrahedron is a point in the point cloud.
Step C, determining CIE L ab through tetrahedral interpolation operation based on the minimum tetrahedrontCorresponding three primary color data RGBtAfter traversing all CIE color coordinates in the second CIE color space data, assigning each CIE color coordinate CIE L abtCorresponding three primary color data RGBtDetermined as the second three primary color data.
And S403, determining the color calibration data based on the first three primary color data and the second three primary color data.
In this embodiment of the application, a three-dimensional lookup table may be established based on a corresponding relationship between the first three primary color data and the second three primary color data, and the three-dimensional lookup table may be determined as the color calibration data.
For better understanding of the embodiments of the present application, taking an RGB color gamut as an example, assuming that after a standard RGB value (105,105,105) corresponding to a color 1 is input into a display device, a color 1 that may not be a standard color is actually displayed on a display screen, and therefore when a calibration device performs acquisition, a color 2 corresponding to an RGB value (100,100,100) may be acquired, the calibration device may obtain a calibrated RcGcBc value by converting RGB (100,100,100) into CIE color space data and then inputting the mapping function, and in this embodiment, it is assumed that the RcGcBc value is (110,110,110). That is, when the RGB value inputted in the display screen is (110,110,110), the color actually displayed is color 1(105,105,105).
Therefore, in the embodiment of the present application, after the RcGcBc (110,110,110) is determined, the three-dimensional lookup table may be established based on the correspondence between the RcGcBc (110,110,110) and the RGB (105,105,105). When the display device displays the color 1, the three-dimensional lookup table is searched through the RGB value (105,105,105) corresponding to the color 1, that is, the calibration value RcGcBc (110,110,110) corresponding to the color 1 actually can be obtained, and then the backlight signal with the RGB value (110,110,110) is input into the display screen, that is, the color 1 can be accurately displayed.
In the embodiment of the application, when the color calibration is performed on the display screen, the display screen does not need to be repeatedly measured, a mapping function is established only according to each sampling color and first CIE color space data collected when the display screen displays each sampling color, and then the color calibration data of the display screen in the target calibration color gamut can be accurately determined according to the mapping function and the first three primary color data of the target calibration color gamut, so that the calibration process is simplified, and the calibration time can be effectively shortened.
Based on the content described in the foregoing embodiments, an embodiment of the present application further provides a display screen color calibration apparatus, and referring to fig. 5, fig. 5 is a schematic diagram of functional modules of the display screen color calibration apparatus provided in the embodiment of the present application. In this embodiment, the display screen color calibration apparatus 50 includes:
an obtaining module 501 is configured to determine a target calibration color gamut and obtain first three primary color data corresponding to the target calibration color gamut.
A processing module 502 for determining first CIE color space data according to each sampled color; and determining color calibration data of the display screen in the target calibration color gamut according to each sampling color, the first CIE color space data and the first three primary color data.
The transmission module 503 is configured to input the color calibration data to the display device corresponding to the display screen, so that the display device performs color calibration processing on the display screen according to the color calibration data.
In the display screen color calibration device 50 provided in the embodiment of the present application, since repeated measurement of the display screen is not required, only the first CIE color space data is determined according to each sampling color, and the color calibration data of the display screen in the target calibration color gamut can be accurately determined according to each sampling color, the first CIE color space data, and the first three primary color data of the target calibration color gamut; meanwhile, when the color of another color gamut needs to be calibrated, the color calibration data of the display screen in the newly calibrated color gamut can be accurately determined only by acquiring the first three primary color data corresponding to the newly calibrated color gamut again and according to each sampling color, the first CIE color space data and the first three primary color data corresponding to the newly calibrated color gamut, so that the calibration process is simplified, and the calibration time can be effectively shortened.
In a possible embodiment, the processing module 502 is specifically configured to:
and detecting corresponding tristimulus values of the display screen when each sampling color is displayed, and determining first CIE color space data according to the tristimulus values.
In a possible embodiment, the processing module 502 is further specifically configured to:
determining a mapping function between color space data corresponding to each sampling color and first CIE color space data;
converting the first three-primary color data into second CIE color space data, and obtaining second three-primary color data according to the second CIE color space data and a mapping function;
color calibration data is determined based on the first three primary color data and the second three primary color data.
In a possible embodiment, the processing module 502 is further specifically configured to:
and establishing a three-dimensional lookup table based on the corresponding relation between the first three primary color data and the second three primary color data, and determining the three-dimensional lookup table as color calibration data.
The display screen color calibration device 50 provided by the embodiment of the application can be used for establishing the mapping function only according to the first CIE color space data acquired when each sampling color and each sampling color are displayed on the display screen without repeatedly measuring the display screen when the color of the display screen is calibrated, and then accurately determining the color calibration data of the display screen in the target calibration color gamut according to the mapping function and the first three primary color data of the target calibration color gamut, thereby not only simplifying the calibration process, but also effectively shortening the calibration time.
The functions and the principles of the functions that can be realized by the display screen color calibration device provided in the embodiment of the present application can refer to the steps in the display screen color calibration method provided in the above embodiment, and are not described herein again.
Further, based on the content described in the foregoing embodiments, an electronic device is also provided in the embodiments of the present application, where the electronic device includes at least one processor and a memory; wherein the memory stores computer execution instructions; the at least one processor executes computer-executable instructions stored in the memory to implement the methods as described in the embodiments of the display screen color calibration method.
The electronic device provided in this embodiment may be configured to execute the technical solutions described in the embodiments of the display screen color calibration method, and the implementation principles and technical effects are similar, which are not described herein again.
For better understanding of the embodiment of the present application, referring to fig. 6, fig. 6 is a schematic diagram of a hardware structure of an electronic device provided in the embodiment of the present application. The electronic device may be the calibration apparatus described in the above embodiments.
As shown in fig. 6, the electronic device 60 of the present embodiment includes: a processor 601 and a memory 602; wherein
A memory 602 for storing computer-executable instructions;
the processor 601 is configured to execute the computer-executable instructions stored in the memory to implement the steps of the display screen color calibration method in the foregoing embodiments, which may be specifically referred to in the foregoing description of the method embodiments.
Alternatively, the memory 602 may be separate or integrated with the processor 601.
When the memory 602 is provided separately, the device further comprises a bus 603 for connecting said memory 602 and the processor 601.
The embodiment of the present application further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the steps of the display screen color calibration method in the foregoing embodiment are implemented, which may specifically refer to relevant descriptions in the foregoing method embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in the incorporated application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (12)

1. A display screen color calibration method is characterized by comprising the following steps:
determining a target calibration color gamut, and acquiring first three primary color data corresponding to the target calibration color gamut;
determining first International Commission on illumination (CIE) color space data according to each sampling color, and determining color calibration data of the display screen in the target calibration color gamut according to each sampling color, the first CIE color space data and the first three primary color data;
and inputting the color calibration data to display equipment corresponding to the display screen, so that the display equipment performs color calibration processing on the display screen according to the color calibration data.
2. The method of claim 1, wherein determining the first CIE color space data from the respective sampled colors comprises:
and detecting corresponding tristimulus values of the display screen when the display screen displays the sampling colors, and determining the first CIE color space data according to the tristimulus values.
3. The method of claim 1, wherein determining color calibration data for the display screen at the target calibration color gamut based on the respective sampled colors, the first CIE color space data, and the first three primary color data comprises:
determining a mapping function between color space data corresponding to the respective sample colors and the first CIE color space data;
converting the first three primary color data into second CIE color space data, and obtaining second three primary color data according to the second CIE color space data and the mapping function;
determining the color calibration data based on the first three primary color data and the second three primary color data.
4. The method of claim 3, wherein determining the mapping function between the color space data corresponding to the respective sampled color and the first CIE color space data comprises:
establishing a screen chromaticity characteristic model A-M-B, wherein A represents the first CIE color space data, B represents the color space data corresponding to each sampling color, and M represents the mapping function;
and training the screen chromaticity characteristic model by using the color space data corresponding to each sampling color and the first CIE color space data to determine the mapping function.
5. The method of claim 3, wherein obtaining second three primary color data according to the second CIE color space data and the mapping function comprises:
inputting the first three primary color data into the mapping function to obtain third CIE color space data corresponding to the first three primary color data;
traversing each CIE color coordinate in the second CIE color space data, and searching each minimum tetrahedron surrounding each CIE color coordinate in the second CIE color space data in a three-dimensional space, wherein each vertex of each minimum tetrahedron is a point in a point cloud formed in the three-dimensional space based on each CIE color coordinate in the third CIE color space data;
and determining three primary color data corresponding to each CIE color coordinate in the second CIE color space data based on each minimum tetrahedron, and determining the three primary color data corresponding to each CIE color coordinate in the second CIE color space data as the second three primary color data.
6. A method according to any one of claims 3 to 5, wherein determining the color calibration data based on the first and second primary color data comprises:
and establishing a three-dimensional lookup table based on the corresponding relation between the first three primary color data and the second three primary color data, and determining the three-dimensional lookup table as the color calibration data.
7. A display screen color calibration apparatus, comprising:
the device comprises an acquisition module, a calibration color gamut generation module and a calibration color gamut generation module, wherein the acquisition module is used for determining a target calibration color gamut and acquiring first three primary color data corresponding to the target calibration color gamut;
the processing module is used for determining first International Commission on illumination standard CIE color space data according to each sampling color; determining color calibration data of the display screen in the target calibration color gamut according to the sampling colors, the first CIE color space data and the first three primary color data;
and the transmission module is used for inputting the color calibration data to display equipment corresponding to the display screen, so that the display equipment performs color calibration processing on the display screen according to the color calibration data.
8. The apparatus of claim 7, wherein the processing module is specifically configured to:
and detecting corresponding tristimulus values of the display screen when the display screen displays the sampling colors, and determining the first CIE color space data according to the tristimulus values.
9. The apparatus of claim 7, wherein the processing module is specifically configured to:
determining a mapping function between color space data corresponding to the respective sample colors and the first CIE color space data;
converting the first three primary color data into second CIE color space data, and obtaining second three primary color data according to the second CIE color space data and the mapping function;
determining the color calibration data based on the first three primary color data and the second three primary color data.
10. The apparatus of claim 9, wherein the processing module is specifically configured to:
and establishing a three-dimensional lookup table based on the corresponding relation between the first three primary color data and the second three primary color data, and determining the three-dimensional lookup table as the color calibration data.
11. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the display screen color calibration method of any of claims 1-6.
12. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, implement the display screen color calibration method of any one of claims 1 to 6.
CN202010197051.3A 2020-03-19 2020-03-19 Display screen color calibration method and device, electronic equipment and readable storage medium Active CN111429827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010197051.3A CN111429827B (en) 2020-03-19 2020-03-19 Display screen color calibration method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010197051.3A CN111429827B (en) 2020-03-19 2020-03-19 Display screen color calibration method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111429827A true CN111429827A (en) 2020-07-17
CN111429827B CN111429827B (en) 2022-11-29

Family

ID=71548083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010197051.3A Active CN111429827B (en) 2020-03-19 2020-03-19 Display screen color calibration method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111429827B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113920927A (en) * 2021-10-25 2022-01-11 武汉华星光电半导体显示技术有限公司 Display method, display panel and electronic equipment
CN114067741A (en) * 2020-07-31 2022-02-18 北京小米移动软件有限公司 Screen calibration method and device, electronic equipment and storage medium
CN114067740A (en) * 2020-07-31 2022-02-18 北京小米移动软件有限公司 Screen calibration method and device, electronic equipment and storage medium
CN114067003A (en) * 2020-07-31 2022-02-18 北京小米移动软件有限公司 Color gamut conversion method and device, electronic equipment and storage medium
CN115050341A (en) * 2022-08-15 2022-09-13 广州朗国电子科技股份有限公司 Method and device for uniformly adjusting screen color and storage medium
CN115278190A (en) * 2021-04-30 2022-11-01 卡莱特云科技股份有限公司 Calibration method, calibration equipment and calibration system for video data display colors
CN115599324A (en) * 2022-12-09 2023-01-13 杭州宏华数码科技股份有限公司(Cn) Method, apparatus and medium for controlling digital color rendering apparatus to render color
CN115733966A (en) * 2022-11-10 2023-03-03 深圳创维-Rgb电子有限公司 Color calibration method of display device and related device
CN116700646A (en) * 2022-12-19 2023-09-05 荣耀终端有限公司 Image color difference processing method and device
WO2023185253A1 (en) * 2022-03-29 2023-10-05 腾讯科技(深圳)有限公司 Color calibration method and apparatus, computer device and computer-readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200845771A (en) * 2007-05-14 2008-11-16 Realtek Semiconductor Corp Color correction method and apparatus of display apparatus
CN101521001A (en) * 2008-02-26 2009-09-02 瑞昱半导体股份有限公司 Color correcting method and device of display device
US20100053439A1 (en) * 2008-08-31 2010-03-04 Takao Konishi Systems and methods for natural color gamut viewing mode for laser television
CN105261326A (en) * 2015-10-09 2016-01-20 惠州Tcl移动通信有限公司 Display device for adjusting display color gamut and method for adjusting display color gamut
CN105825832A (en) * 2015-08-31 2016-08-03 维沃移动通信有限公司 Method for adjusting screen color shift and electronic device
CN107197225A (en) * 2017-06-13 2017-09-22 浙江大学 Color digital camera white balance correcting based on chromatic adaptation model
CN208706220U (en) * 2018-09-07 2019-04-05 昆山龙腾光电有限公司 A kind of colour gamut calibrating installation and colour gamut calibration system
CN110459176A (en) * 2019-08-16 2019-11-15 合肥工业大学 A kind of gamut conversion method of displayer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200845771A (en) * 2007-05-14 2008-11-16 Realtek Semiconductor Corp Color correction method and apparatus of display apparatus
CN101521001A (en) * 2008-02-26 2009-09-02 瑞昱半导体股份有限公司 Color correcting method and device of display device
US20100053439A1 (en) * 2008-08-31 2010-03-04 Takao Konishi Systems and methods for natural color gamut viewing mode for laser television
CN105825832A (en) * 2015-08-31 2016-08-03 维沃移动通信有限公司 Method for adjusting screen color shift and electronic device
CN105261326A (en) * 2015-10-09 2016-01-20 惠州Tcl移动通信有限公司 Display device for adjusting display color gamut and method for adjusting display color gamut
CN107197225A (en) * 2017-06-13 2017-09-22 浙江大学 Color digital camera white balance correcting based on chromatic adaptation model
CN208706220U (en) * 2018-09-07 2019-04-05 昆山龙腾光电有限公司 A kind of colour gamut calibrating installation and colour gamut calibration system
CN110459176A (en) * 2019-08-16 2019-11-15 合肥工业大学 A kind of gamut conversion method of displayer

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114067740B (en) * 2020-07-31 2024-04-16 北京小米移动软件有限公司 Screen calibration method and device, electronic equipment and storage medium
CN114067741A (en) * 2020-07-31 2022-02-18 北京小米移动软件有限公司 Screen calibration method and device, electronic equipment and storage medium
CN114067740A (en) * 2020-07-31 2022-02-18 北京小米移动软件有限公司 Screen calibration method and device, electronic equipment and storage medium
CN114067003A (en) * 2020-07-31 2022-02-18 北京小米移动软件有限公司 Color gamut conversion method and device, electronic equipment and storage medium
CN114067741B (en) * 2020-07-31 2022-08-30 北京小米移动软件有限公司 Screen calibration method and device, electronic equipment and storage medium
CN115278190A (en) * 2021-04-30 2022-11-01 卡莱特云科技股份有限公司 Calibration method, calibration equipment and calibration system for video data display colors
CN113920927A (en) * 2021-10-25 2022-01-11 武汉华星光电半导体显示技术有限公司 Display method, display panel and electronic equipment
WO2023185253A1 (en) * 2022-03-29 2023-10-05 腾讯科技(深圳)有限公司 Color calibration method and apparatus, computer device and computer-readable storage medium
CN115050341B (en) * 2022-08-15 2022-12-09 广州朗国电子科技股份有限公司 Method and device for uniformly adjusting screen color and storage medium
CN115050341A (en) * 2022-08-15 2022-09-13 广州朗国电子科技股份有限公司 Method and device for uniformly adjusting screen color and storage medium
CN115733966A (en) * 2022-11-10 2023-03-03 深圳创维-Rgb电子有限公司 Color calibration method of display device and related device
CN115599324A (en) * 2022-12-09 2023-01-13 杭州宏华数码科技股份有限公司(Cn) Method, apparatus and medium for controlling digital color rendering apparatus to render color
CN116700646A (en) * 2022-12-19 2023-09-05 荣耀终端有限公司 Image color difference processing method and device
CN116700646B (en) * 2022-12-19 2024-05-28 荣耀终端有限公司 Image color difference processing method and device

Also Published As

Publication number Publication date
CN111429827B (en) 2022-11-29

Similar Documents

Publication Publication Date Title
CN111429827B (en) Display screen color calibration method and device, electronic equipment and readable storage medium
KR20190055289A (en) Method of converting color gamut and display device employing the same
CN111326099B (en) Display correction method, device and system, storage medium and display system
CN101388950B (en) Content-adaptive contrast improving method and apparatus for digital image
EP2148515A1 (en) Image processor, and image processing method
CN107564493B (en) Color gamut compression method and device and display equipment
EP3961551A1 (en) Tetrahedral interpolation calculation method and apparatus, gamut conversion method and apparatus, and medium
CN113495709A (en) Color correction method, AP chip, terminal and storage medium
US7573532B2 (en) Image processing device
KR930005812B1 (en) Color information storage and processing system
TWI640976B (en) Technique for color profiling of a display device
JP3708476B2 (en) Color gamut mapping system and method using composite color space
CN111261077A (en) Color difference analysis method and display with color difference analysis function
JP2002055668A (en) Method for measuring input/output characteristics of display device, method for correcting image of the display device, method for preparing icc profile of the display device, storage medium with procedure for the methods stored thereon, and the display device
CN112309312A (en) Image display method and device, receiving card, sending card and LED display system
JP2019095711A (en) Correction data generation device, display device, correction data generation method, and program
CN115918066A (en) Display method and device and electronic equipment
JP5376077B1 (en) Measuring position determining device, measuring position determining method, image display system, program
US20220301469A1 (en) Factory calibration measurement data
CN114677983B (en) Display calibration method and related device
EP4080457A1 (en) Color generation system, method, and apparatus for object to be displayed, display device, and medium
WO2024000465A1 (en) Method and apparatus for generating color mapping table, method and apparatus for correcting color mapping table, and medium and device
WO2024000473A1 (en) Color correction model generation method, correction method and apparatus, and medium and device
US11252401B2 (en) Optically communicating display metadata
CN117376492A (en) Color gamut correction method of near-to-eye display device based on color characterization

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