Color gamut calibration method, color gamut calibration device, display equipment and storage medium
By obtaining the matrix of the original color gamut and the target color gamut of the display device, the conversion matrix and correction coefficient matrix are calculated, and the color gamut calibration is performed twice, which solves the problem of low color gamut calibration accuracy in the existing technology and achieves high precision Color display.
Patent Information
- Application Number
- CN202310926870.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-26
- Publication Date
- 2025-02-11
AI Technical Summary
The existing display screen has low color gamut calibration accuracy and cannot meet the LED screen display requirements of high-precision requirements.
By obtaining the matrix of the original color gamut and the target color gamut, the first transformation matrix and the correction coefficient matrix are calculated, and two color gamut calibrations are performed to improve the color gamut calibration accuracy.
It improves the color gamut calibration accuracy, improves the display quality of images, and meets the display needs of LED screens with high accuracy requirements for color display.
Smart Images

Figure CN119418638A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a color gamut calibration method, a color gamut calibration device, a display device, and a storage medium. Background Art
[0002] With the development of display technology, users have higher and higher requirements for display effects. During the production process of display screens, due to the limitations of processing technology, it is difficult to make every display screen achieve the same color accuracy. Therefore, after the display device leaves the factory, the display screen on the display device needs to be calibrated for color gamut.
[0003] The existing display screen color gamut calibration usually only performs a rough adjustment, and the color gamut calibration accuracy is low, which cannot meet the display requirements of LED screens that have high-precision requirements for color display. Summary of the invention
[0004] In order to solve the above problems, the present application provides a color gamut calibration method, a color gamut calibration device, a display device and a storage medium.
[0005] To solve the above technical problems, the present application provides a first technical solution, providing a color gamut calibration method, including: obtaining an original color gamut matrix of an original color gamut and a target color gamut matrix of a target color gamut; obtaining a first conversion matrix based on the original color gamut matrix and the target color gamut matrix; obtaining a first color gamut based on the original color gamut and the first conversion matrix; obtaining a first color gamut matrix of the first color gamut, and obtaining a correction coefficient matrix based on the first color gamut matrix and the target color gamut matrix; obtaining a second conversion matrix based on the first conversion matrix and the correction coefficient matrix; and calibrating the original color gamut based on the second conversion matrix.
[0006] The step of obtaining a correction coefficient matrix based on the first color gamut matrix and the target color gamut matrix includes: in response to the first color gamut covering the target color gamut, obtaining a correction coefficient matrix based on the first color gamut matrix and the target color gamut matrix.
[0007] Among them, the step of obtaining a correction coefficient matrix based on the first color gamut matrix and the target color gamut matrix includes: in response to the vertices of the first color gamut being within the target color gamut, scaling the first color gamut to obtain a second color gamut; obtaining a second color gamut matrix of the second color gamut, and obtaining a correction coefficient matrix based on the first color gamut matrix and the second color gamut matrix.
[0008] Among them, the step of scaling the first color gamut in response to the vertex of the first color gamut being within the target color gamut to obtain the second color gamut includes: in response to multiple vertices of the first color gamut being within the target color gamut, scaling the first color gamut multiple times to obtain multiple second color gamuts corresponding to the multiple vertices.
[0009] Among them, the step of scaling the first color gamut to obtain the second color gamut includes: obtaining the vertex coordinates of a vertex of the first color gamut in the target color gamut; converting the vertex coordinates into the corresponding vertex coordinates of the target color gamut; the other vertex coordinates of the first color gamut remain unchanged, and obtaining the second color gamut based on the converted vertex coordinates and other vertex coordinates.
[0010] Wherein, the conversion matrix includes conversion components corresponding to the vertices, and the step of obtaining a correction coefficient matrix based on the first color gamut matrix and the second color gamut matrix includes: obtaining a third conversion matrix based on the first color gamut matrix and the second color gamut matrix; retaining the conversion components corresponding to the vertices in the third conversion matrix, setting other conversion components to zero, and obtaining the correction coefficient matrix.
[0011] Among them, after the step of obtaining a second conversion matrix based on the first conversion matrix and the correction coefficient matrix, the color gamut calibration method also includes: obtaining a third color gamut based on the original color gamut and the second conversion matrix; in response to the color accuracy error between the third color gamut and the target color gamut being greater than a preset error, obtaining a third conversion matrix based on the third color gamut, the target color gamut and the second conversion matrix.
[0012] To solve the above technical problems, another technical solution provided by the present application is: providing a color gamut calibration device, including an acquisition module, used to acquire the original color gamut, target color gamut, original color gamut matrix of the original color gamut and target color gamut matrix of the target color gamut of the display device; a functional module, used to calculate a first conversion matrix, a correction coefficient matrix and a second conversion matrix based on the original color gamut matrix and the target color gamut matrix; a transmission module, used to transmit the second conversion matrix to the display device, so that the display device performs color gamut calibration based on the second conversion matrix.
[0013] To solve the above technical problems, another technical solution provided by the present application is: providing a display device, comprising a processor and a memory connected to the processor, wherein program data is stored in the memory, and the processor calls the program data stored in the memory to execute the color gamut calibration method as described above.
[0014] In order to solve the above technical problem, another technical solution provided by the present application is: providing a storage medium, wherein the storage medium stores a computer program, and the computer program is used to implement the color gamut calibration method as described above when executed by a processor.
[0015] The present application provides a color gamut calibration method, including: obtaining an original color gamut matrix of an original color gamut and a target color gamut matrix of a target color gamut; obtaining a first conversion matrix based on the original color gamut matrix and the target color gamut matrix; obtaining a first color gamut based on the original color gamut and the first conversion matrix; obtaining a first color gamut matrix of the first color gamut, and obtaining a correction coefficient matrix based on the first color gamut matrix and the target color gamut matrix; obtaining a second conversion matrix based on the first conversion matrix and the correction coefficient matrix; and calibrating the original color gamut based on the second conversion matrix. Based on the above method, by calibrating the original color gamut twice, the color gamut calibration accuracy can be improved, and the display quality of the image can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 It is a flowchart of an embodiment of the color gamut calibration method provided by the present application;
[0018] Figure 2 is a flowchart of another embodiment of the color gamut calibration method provided by the present application;
[0019] Figure 3 is a flowchart of another embodiment of the color gamut calibration method provided by the present application;
[0020] Figure 4 is a flowchart of another embodiment of the color gamut calibration method provided by the present application;
[0021] Figure 5 is a flowchart of another embodiment of the color gamut calibration method provided by the present application;
[0022] Figure 6 is a flowchart of another embodiment of the color gamut calibration method provided by the present application;
[0023] Figure 7 It is a schematic diagram of a framework of an embodiment of a color gamut calibration device provided by the present application;
[0024] Figure 8 is a schematic diagram of a framework of an embodiment of a display device provided by the present application;
[0025] Fig. 9It is a structural diagram of an embodiment of the storage medium provided by the present application. DETAILED DESCRIPTION
[0026] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention rather than all structures are shown in the accompanying drawings. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0027] The terms "first", "second", etc. in the present invention are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0028] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0029] The existing display device color gamut calibration usually only performs a rough adjustment once, and the color gamut calibration accuracy is low, which cannot meet the display requirements of LED screens that have high-precision requirements for color display. That is, LED screens require higher color accuracy. Color accuracy refers to the ability of the display device to restore true colors. The color gamut calibration accuracy of a single color gamut calibration is low, and the color accuracy is low.
[0030] Based on the above problems, the present application provides a color gamut calibration method. The technical solution in the embodiment of the present application is clearly and completely described below in conjunction with the drawings in the embodiment of the present application.
[0031] See also Figure 1 , Figure 11 is a flow chart of an embodiment of a color gamut calibration method provided by the present application. The color gamut calibration method of the present embodiment is applied to a display device; the display device may be a light emitting diode display (LED) device, a liquid crystal display (LCD) device, an organic light emitting diode display (OLED) device, etc., and the display device may be applied to a computer, a television, a mobile phone, etc.
[0032] The color gamut calibration method of this embodiment includes the following steps:
[0033] S101: Acquire an original color gamut matrix of an original color gamut and a target color gamut matrix of a target color gamut.
[0034] The color gamut refers to the number of colors that a display device can display and the range of the area they form, that is, the range of colors that various display devices can display, and the size of the color gamut of different display devices is different. In this embodiment, the color gamut is a triangular area formed by a red point, a green point, and a blue point in a chromaticity diagram, wherein the chromaticity diagram may be a 1931 version of the chromaticity diagram developed by CIE (International Commission on Illumination), and each color point on the chromaticity diagram uniquely corresponds to a color, and each color point can be represented by a coordinate.
[0035] The original color gamut is the color range initially displayed by the display device. The color point coordinates of the display device are measured by a colorimeter, and the original color gamut matrix is obtained through the red coordinate, green coordinate, and blue coordinate. The target color gamut is the color gamut determined according to the display requirements, and can be set according to the actual application scenario. The target color gamut matrix is obtained based on the red coordinate, green coordinate, and blue coordinate of the target color gamut.
[0036] S102: Obtain a first conversion matrix based on the original color gamut matrix and the target color gamut matrix.
[0037] Wherein, based on the original color gamut matrix and the target color gamut matrix, a first conversion matrix for converting the original color gamut into the target color gamut can be calculated through matrix operation.
[0038] The matrix operation formula may be: original color gamut matrix*first conversion matrix=target color gamut matrix. Substituting the original color gamut matrix and the target color gamut matrix into the above formula, the first conversion matrix may be calculated.
[0039] S103: Obtain a first color gamut based on the original color gamut and the first conversion matrix.
[0040] The first conversion matrix is transmitted to the display device for color gamut conversion. The display device includes color display data, and based on the color display data, the display device displays the original color gamut. The color gamut conversion operates the color display data based on the first conversion matrix to obtain new display data, and based on the new display data, the display device displays the first color gamut. The first color gamut is the color gamut obtained by converting the original color gamut through the first conversion matrix, that is, the color gamut obtained after the original color gamut is calibrated for the first time.
[0041] S104: Obtain a first color gamut matrix of the first color gamut, and obtain a correction coefficient matrix based on the first color gamut matrix and the target color gamut matrix.
[0042] The first color gamut matrix is obtained by measuring the current red coordinate, green coordinate and blue coordinate of the display device by a colorimeter. The correction coefficient matrix is a matrix for converting the first color gamut into the target color gamut, and the correction coefficient matrix is obtained based on the first color gamut matrix and the target color gamut matrix.
[0043] S105: Obtain a second transformation matrix based on the first transformation matrix and the correction coefficient matrix.
[0044] The correction coefficient matrix is superimposed on the first conversion matrix to correct the first conversion matrix to obtain a second conversion matrix.
[0045] S106: Calibrate the original color gamut based on the second conversion matrix.
[0046] The second conversion matrix is transmitted to the display device to perform color gamut conversion, thereby calibrating the original color gamut.
[0047] Therefore, this embodiment provides a color gamut calibration method, including: obtaining an original color gamut matrix of an original color gamut and a target color gamut matrix of a target color gamut; obtaining a first conversion matrix based on the original color gamut matrix and the target color gamut matrix; obtaining a first color gamut based on the original color gamut and the first conversion matrix; obtaining a first color gamut matrix of the first color gamut, and obtaining a correction coefficient matrix based on the first color gamut matrix and the target color gamut matrix; obtaining a second conversion matrix based on the first conversion matrix and the correction coefficient matrix; and calibrating the original color gamut based on the second conversion matrix. Based on the above method, by calibrating the original color gamut twice, the color gamut calibration accuracy can be improved, and the display quality of the image can be improved.
[0048] See also Figure 2 , Figure 2 is a flow chart of another embodiment of the color gamut calibration method provided by the present application. Figure 1 A specific implementation method of obtaining a correction coefficient matrix based on the first color gamut matrix and the target color gamut matrix.
[0049] The color gamut calibration method of this embodiment includes the following steps:
[0050] S201: Determine whether the first color gamut covers the target color gamut.
[0051] Among them, the original color gamut is converted into the first color gamut through the first conversion matrix. Due to the measurement error of the original color gamut or the display error of the display device, for example, during the display process of the LED display device, the brightness changes abnormally when the LED is turned on and off, resulting in low color accuracy of the first color gamut, resulting in low color gamut calibration accuracy.
[0052] S202: In response to the first color gamut covering the target color gamut, a correction coefficient matrix is obtained based on the first color gamut matrix and the target color gamut matrix.
[0053] If the first color gamut covers the target color gamut, a correction coefficient matrix for converting the first color gamut into the target color gamut can be calculated through matrix operation.
[0054] The matrix operation formula may be: first color gamut matrix*correction coefficient matrix=target color gamut matrix. Substituting the first color gamut matrix and the target color gamut matrix into the above formula, the correction coefficient matrix may be calculated.
[0055] S203: In response to the vertex of the first color gamut being within the target color gamut, scaling the first color gamut to obtain a second color gamut.
[0056] If the vertex of the first color gamut is within the target color gamut, the display device cannot display all the colors of the target color gamut when displaying the first color gamut. The first color gamut is scaled to obtain a second color gamut, and the second color gamut covers the target color gamut.
[0057] S204: Obtain a second color gamut matrix for the second color gamut, and obtain a correction coefficient matrix based on the first color gamut matrix and the second color gamut matrix.
[0058] The second color gamut matrix is obtained according to the red coordinate, green coordinate and blue coordinate of the second color gamut. The correction coefficient matrix is obtained based on the first color gamut matrix and the second color gamut matrix.
[0059] Therefore, through the method of this embodiment, by comparing the first color gamut obtained by the original color gamut after the first color gamut calibration with the target color gamut, a second color gamut calibration is performed, which can improve the color gamut calibration accuracy and improve the display quality of the image.
[0060] See also Figure 3 , Figure 3 is a flow chart of another embodiment of the color gamut calibration method provided by the present application. Figure 2 The first color gamut is scaled to obtain a specific implementation method of the second color gamut.
[0061] The color gamut calibration method of this embodiment includes the following steps:
[0062] S301: Obtain the vertex coordinates of a vertex of the first color gamut in the target color gamut.
[0063] There are three situations in which the vertices of the first color gamut are within the target color gamut: one vertex of the first color gamut is within the target color gamut, two vertices of the first color gamut are within the target color gamut, and three vertices of the first color gamut are within the target color gamut. In this embodiment, one vertex of the first color gamut is within the target color gamut for illustration.
[0064] S302: Convert the vertex coordinates into vertex coordinates of the corresponding target color gamut.
[0065] For example, the red coordinate of the first color gamut is within the target color gamut, and the red coordinate of the first color gamut is converted into the red coordinate of the target color gamut.
[0066] Optionally, in other embodiments, the vertex coordinates may be converted by multiplying them by empirical coefficients, wherein the empirical coefficients are obtained based on multiple scaling experiences, so that the color gamut formed by the converted vertex and other vertices can cover the target color gamut.
[0067] S303: The coordinates of other vertices of the first color gamut remain unchanged, and a second color gamut is obtained based on the converted vertex coordinates and the coordinates of other vertices.
[0068] For example, the red coordinate of the first color gamut is within the target color gamut, the red coordinate of the first color gamut is converted to the red coordinate of the target color gamut, the green coordinate of the first color gamut and the blue coordinate of the first color gamut remain unchanged, and the second color gamut is obtained based on the converted red vertex, green vertex and blue vertex.
[0069] Further, in response to a plurality of vertices of the first color gamut being within the target color gamut, the first color gamut is scaled multiple times to obtain a plurality of second color gamuts corresponding to the plurality of vertices.
[0070] For example, the red coordinate and the green coordinate of the first color gamut are within the target color gamut, and the red coordinate of the first color gamut is converted into the red coordinate of the target color gamut, while the green coordinate of the first color gamut and the blue coordinate of the first color gamut remain unchanged, to obtain the second color gamut corresponding to the red vertex; the green coordinate of the first color gamut is converted into the green coordinate of the target color gamut, while the red coordinate of the first color gamut and the blue coordinate of the first color gamut remain unchanged, to obtain the second color gamut corresponding to the green vertex.
[0071] Therefore, through the method of this embodiment, the first color gamut obtained by the first color gamut calibration of the original color gamut is scaled. By converting one vertex coordinate while keeping the coordinates of the other two vertices unchanged, the color accuracy of the color corresponding to the vertex coordinate can be improved, thereby improving the color gamut calibration accuracy.
[0072] See also Figure 4 , Figure 4 : is a flow chart of another embodiment of the color gamut calibration method provided by the present application. The color gamut calibration method of this embodiment includes the following steps:
[0073] S401: Acquire vertex coordinates of a vertex of the first color gamut in the target color gamut, and obtain a second color gamut corresponding to the vertex coordinates and a second color gamut matrix of the second color gamut based on the vertex coordinates.
[0074] This step is Figure 3 The embodiments shown have been described in detail and will not be repeated here.
[0075] S402: Obtain a third conversion matrix based on the first color gamut matrix and the second color gamut matrix.
[0076] Wherein, based on the first color gamut matrix and the second color gamut matrix, a third conversion matrix for converting the first color gamut into the second color gamut can be calculated through matrix operation.
[0077] The matrix operation formula may be: first color gamut matrix*third conversion matrix=second color gamut matrix. Substituting the first color gamut matrix and the second color gamut matrix into the above formula, the third conversion matrix may be calculated.
[0078] S403: retaining the transformation components corresponding to the vertices in the third transformation matrix, and setting other transformation components to zero, to obtain a correction coefficient matrix.
[0079] Among them, the conversion matrix includes conversion components for the mutual conversion of red, green and blue color channels. Taking the red vertex as an example, the conversion components corresponding to the red vertex include the conversion coefficient of the red channel to the red channel, the conversion coefficient of the green channel to the red channel, and the conversion coefficient of the blue channel to the red channel.
[0080] For example, when the red vertex of the first color gamut is within the target color gamut, the conversion component corresponding to the red vertex is retained, and the conversion components corresponding to the green vertex and the blue vertex are set to zero, thereby obtaining a correction coefficient matrix.
[0081] S404: Obtain a second transformation matrix based on the first transformation matrix and the correction coefficient matrix.
[0082] The conversion components in the correction coefficient matrix are superimposed on the corresponding conversion components in the first conversion matrix to obtain the second conversion matrix.
[0083] Therefore, through the method of this embodiment, when a vertex of the first color gamut is within the target color gamut, the correction coefficient matrix corresponding to the vertex is obtained by calculating the conversion component of the vertex, which can improve the color accuracy of the color corresponding to the vertex coordinates and thereby improve the color gamut calibration accuracy.
[0084] See also Figure 5 , Figure 5 : is a flow chart of another embodiment of the color gamut calibration method provided by the present application. The color gamut calibration method of this embodiment includes the following steps:
[0085] S501: Acquire multiple vertices of a first color gamut in a target color gamut.
[0086] The multiple vertices of the first color gamut in the target color gamut may be two vertices of the first color gamut, or may be three vertices of the first color gamut.
[0087] S502: Based on the plurality of second color domains corresponding to the plurality of vertices, obtain a plurality of correction coefficient matrices corresponding to the plurality of vertices.
[0088] The multiple correction coefficient matrices correspond one-to-one to the multiple vertices of the first color gamut in the target color gamut, and each correction coefficient matrix retains the conversion component corresponding to the vertex, and other conversion components are set to zero.
[0089] S503: Obtain a second transformation matrix based on the first transformation matrix and a plurality of correction coefficient matrices.
[0090] Based on the first conversion matrix and multiple correction coefficient matrices, multiple superpositions are performed to obtain a second conversion matrix. For example, when the red vertex and the green vertex of the first color gamut are within the target color gamut, the correction coefficient matrix corresponding to the red vertex is superimposed on the first conversion matrix, and then the correction coefficient matrix corresponding to the green vertex is superimposed on the first conversion matrix to obtain the second conversion matrix. Among them, when the correction coefficient matrix corresponding to the red vertex and the correction coefficient matrix corresponding to the green vertex are superimposed on the first conversion matrix, the superposition order is not restricted.
[0091] Therefore, through the method of this embodiment, when multiple vertices of the first color gamut are within the target color gamut, the conversion components corresponding to the multiple vertices are calculated respectively to obtain the correction coefficient matrix corresponding to the multiple vertices, which can improve the color accuracy of the colors corresponding to each vertex, thereby improving the color gamut calibration accuracy.
[0092] See also Figure 6 , Figure 6 is a flow chart of another embodiment of the color gamut calibration method provided by the present application. Figure 1 After the step of obtaining the second conversion matrix based on the first conversion matrix and the correction coefficient matrix, the color gamut calibration method may further include the following steps:
[0093] S601: Obtain a third color gamut based on the original color gamut and the second conversion matrix.
[0094] The second conversion matrix is transmitted to the display device for color gamut conversion. The third color gamut is the color gamut obtained by converting the original color gamut through the second conversion matrix, that is, the color gamut obtained after the original color gamut is calibrated for the second time.
[0095] S602: In response to a color accuracy error between the third color gamut and the target color gamut being greater than a preset error, a third conversion matrix is obtained based on the third color gamut, the target color gamut, and the second conversion matrix.
[0096] The preset error is a preset color accuracy error. A small color accuracy error indicates that the display device has a strong ability to restore true colors. When the color accuracy error between the third color gamut and the target color gamut is greater than the preset error, a third color gamut calibration can be performed to obtain a third conversion matrix.
[0097] Therefore, through the method of this embodiment, if the color accuracy error between the color gamut after color gamut calibration and the target color gamut is greater than the preset error, multiple color gamut calibrations can be performed to improve the color gamut calibration accuracy.
[0098] See also Figure 7 , Figure 7 It is a schematic diagram of a framework of an embodiment of a color gamut calibration device provided by the present application. The color gamut calibration device includes an acquisition module 701, a functional module 702, and a transmission module 703. The acquisition module 701 is used to acquire the original color gamut, the target color gamut, the original color gamut matrix of the original color gamut, and the target color gamut matrix of the target color gamut of the display device; the functional module 702 is used to calculate the first conversion matrix, the correction coefficient matrix, and the second conversion matrix based on the original color gamut matrix and the target color gamut matrix; the transmission module 703 is used to transmit the second conversion matrix to the display device, so that the display device performs color gamut calibration based on the second conversion matrix.
[0099] See also Figure 8 , Figure 8 Schematic diagram of a display device according to an embodiment of the present invention. Figure 8 As shown, the display device 100 includes a processor 101 and a memory 102 connected to the processor 101. The memory 102 is used to store a computer program, and the processor 101 is used to execute the computer program to implement the above-mentioned color gamut calibration method.
[0100] The processor 101 may also be referred to as a CPU (Central Processing Unit). The processor 101 may be an electronic chip having the ability to process signals. The processor 101 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0101] The memory 102 can be a memory stick, a TF card, etc., and can store all the information in the display device 100, including the input raw data, computer programs, intermediate operation results and final operation results are all stored in the memory 102. It stores and retrieves information according to the location specified by the processor 101. With the memory 102, the display device 100 has a memory function and can ensure normal operation. The memory 102 of the display device 100 can be divided into a main memory (internal memory) and an auxiliary memory (external memory) according to its purpose, and there is also a classification method of dividing it into an external memory and an internal memory. The external memory is usually a magnetic medium or an optical disk, etc., which can store information for a long time. The memory refers to the storage component on the motherboard, which is used to store the data and programs currently being executed, but is only used to temporarily store programs and data. If the power is turned off or the power is cut off, the data will be lost.
[0102] See also Fig. 9 , Fig. 9 Schematic diagram of the structure of an embodiment of the storage medium provided by the present application. Fig. 9 As shown, the storage medium 110 stores program instructions 111 that can implement all the above methods.
[0103] If the integrated units of the functional units in the embodiments of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in the storage medium 110. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The storage medium 110 includes several instructions in a program instruction 111 to enable a computer device (which can be a personal computer, a system server, or a network device, etc.), an electronic device (such as MP3, MP4, etc., or a mobile terminal such as a mobile phone, a tablet computer, a wearable device, or a desktop computer, etc.) or a processor to execute all or part of the steps of the methods of each embodiment of the present application.
[0104] 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 combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more storage media 110 (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
[0105] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products of the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by the storage medium 110. These storage media 110 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 program instructions 111 executed by the processor of the computer or other programmable data processing device generate the instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0106] The storage medium 110 may also be stored in a memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the program instructions 111 stored in the storage medium 110 produce a manufactured product including an instruction device, which implements the instructions in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0107] These storage media 110 can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing program instructions 111 executed on the computer or other programmable device for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0108] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0109] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be specifically implemented in any medium for use by an instruction execution system, device or equipment (which can be a personal computer, server, network device or other system that can fetch instructions from and execute instructions of the instruction execution system, device or equipment), or used in combination with these instruction execution systems, devices or equipment.
[0110] The above are only implementation methods of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A color gamut calibration method, characterized in that: include: Obtain an original color gamut matrix of an original color gamut and a target color gamut matrix of a target color gamut; Based on the original color gamut matrix and the target color gamut matrix, a first conversion matrix is obtained; Based on the original color gamut and the first conversion matrix, a first color gamut is obtained; Acquire a first color gamut matrix of the first color gamut, and obtain a correction coefficient matrix based on the first color gamut matrix and the target color gamut matrix; Based on the first transformation matrix and the correction coefficient matrix, a second transformation matrix is obtained; Based on the second conversion matrix, the original color gamut is calibrated.
2. The color gamut calibration method according to claim 1, characterized in that: The step of obtaining a correction coefficient matrix based on the first color gamut matrix and the target color gamut matrix comprises: In response to the first color gamut covering the target color gamut, a correction coefficient matrix is obtained based on the first color gamut matrix and the target color gamut matrix.
3. The color gamut calibration method according to claim 1, characterized in that: The step of obtaining a correction coefficient matrix based on the first color gamut matrix and the target color gamut matrix comprises: In response to a vertex of the first color gamut being within the target color gamut, scaling the first color gamut to obtain a second color gamut; A second color gamut matrix of the second color gamut is acquired, and a correction coefficient matrix is obtained based on the first color gamut matrix and the second color gamut matrix.
4. The color gamut calibration method according to claim 3, characterized in that: The step of scaling the first color gamut to obtain the second color gamut in response to the vertex of the first color gamut being within the target color gamut comprises: In response to a plurality of vertices of the first color gamut being within the target color gamut, the first color gamut is scaled multiple times to obtain a plurality of second color gamuts corresponding to the plurality of vertices.
5. The color gamut calibration method according to claim 3 or 4, characterized in that: The step of scaling the first color gamut to obtain the second color gamut comprises: Obtaining vertex coordinates of a vertex of the first color gamut within the target color gamut; Convert the vertex coordinates into vertex coordinates of the corresponding target color gamut; The other vertex coordinates of the first color gamut remain unchanged, and the second color gamut is obtained based on the converted vertex coordinates and other vertex coordinates.
6. The color gamut calibration method according to claim 5, characterized in that: The conversion matrix includes conversion components corresponding to the vertices, and the step of obtaining a correction coefficient matrix based on the first color gamut matrix and the second color gamut matrix includes: Based on the first color gamut matrix and the second color gamut matrix, a third conversion matrix is obtained; The conversion component corresponding to the vertex in the third conversion matrix is retained, and other conversion components are set to zero, so as to obtain the correction coefficient matrix.
7. The color gamut calibration method according to claim 6, characterized in that: After the step of obtaining a second conversion matrix based on the first conversion matrix and the correction coefficient matrix, the color gamut calibration method further includes: Based on the original color gamut and the second conversion matrix, a third color gamut is obtained; In response to a color accuracy error between the third color gamut and the target color gamut being greater than a preset error, a third conversion matrix is obtained based on the third color gamut, the target color gamut, and the second conversion matrix.
8. A color gamut calibration device, characterized in that: include: An acquisition module, used for acquiring an original color gamut, a target color gamut, an original color gamut matrix of the original color gamut, and a target color gamut matrix of the target color gamut of a display device; A functional module, configured to calculate a first conversion matrix, a correction coefficient matrix, and a second conversion matrix based on the original color gamut matrix and the target color gamut matrix; A transmission module is used to transmit the second conversion matrix to the display device, so that the display device performs color gamut calibration based on the second conversion matrix.
9. A display device, characterized in that: It comprises a processor and a memory connected to the processor, wherein the memory stores program data, and the processor calls the program data stored in the memory to execute the color gamut calibration method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the computer program is used to implement the color gamut calibration method according to any one of claims 1 to 7.