Color compensation method, nonvolatile readable storage medium and spliced screen

By generating and applying a color compensation matrix, the colors of each sub-screen of the splicing screen are automatically controlled, which solves the problem of uneven color of the splicing screen and achieves efficient color consistency.

CN120071785APending Publication Date: 2025-05-30GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311581813.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-23
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

There are differences in the colors of each independent sub-screen in the existing splicing screen, which leads to the inconsistent color display of the splicing screen. It is necessary to manually adjust the display parameters to ensure color consistency and have low efficiency.

Method used

By determining the target common color gamut of each subscreen and generating a color compensation matrix according to the target common color gamut, the subscreen is instructed to perform color compensation operations to automatically control the output of higher consistency colors in each subscreen.

Benefits of technology

It can eliminate color differences between different sub-screens without manual participation, so that the colors of each sub-screen are displayed evenly, and the efficiency of color compensation is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120071785A_ABST
    Figure CN120071785A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of display screens, in particular to a color compensation method, a nonvolatile readable storage medium and a spliced screen. The color compensation method comprises the steps that a target common color gamut of all sub-screens is determined, a color compensation matrix is generated according to the target common color gamut, and the color compensation matrix is used for indicating the sub-screens to execute color compensation operation. According to the embodiment of the invention, each sub-screen can be automatically controlled to output colors with relatively high consistency, the color difference between different sub-screens is eliminated, meanwhile, manual participation is not needed, and the color compensation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of display screens, and particularly to a color compensation method, a non-volatile readable storage medium, and a splicing screen. Background Art

[0002] Users can splice multiple independent sub-screens into a large-screen splicing screen, so as to achieve a larger display area or higher resolution. However, in the splicing screen provided by the related technology, there are color differences among the independent sub-screens, resulting in uneven color display of the splicing screen. Users need to manually adjust display parameters such as the color temperature, saturation, or brightness of each sub-screen to ensure that the display colors of each sub-screen can be kept consistent and uniform to the greatest extent. This method has low efficiency. Summary of the Invention

[0003] An object of the embodiments of the present application is to provide a color compensation method, a non-volatile readable storage medium, and a splicing screen, aiming to solve the technical problem of low efficiency of manual color compensation in the related technology.

[0004] In a first aspect, the embodiments of the present application provide a color compensation method, which is applied to a computer device. The computer device is used to interact with a splicing screen, and the splicing screen includes at least two sub-screens. The method includes:

[0005] Determine the target common color gamut of each of the sub-screens;

[0006] Generate a color compensation matrix according to the target common color gamut, and the color compensation matrix is used to instruct the sub-screens to perform color compensation operations.

[0007] Optionally, the determining the target common color gamut of each of the sub-screens includes:

[0008] Determine the color gamut triangle of each of the sub-screens in a preset chromaticity coordinate system;

[0009] Determine the target common color gamut according to the color gamut triangles.

[0010] Optionally, the determining the color gamut triangle of each of the sub-screens in a preset chromaticity coordinate system includes:

[0011] Obtain the trichromatic data of the sub-screen, where the trichromatic data includes color data corresponding to the R primary color, color data corresponding to the G primary color, and color data corresponding to the B primary color;

[0012] Calculate the R color mark, G color mark, and B color mark corresponding to the R primary color data respectively according to the trichromatic data;

[0013] Generate the color gamut triangle of the sub-screen in a preset chromaticity coordinate system according to the R color mark, the G color mark, and the B color mark.

[0014] Optionally, generating the gamut triangle of the sub-screen in a preset chromaticity coordinate system according to the R color scale, the G color scale, and the B color scale includes:

[0015] Sequentially connecting the R color scale, the G color scale, and the B color scale to obtain the gamut triangle of the sub-screen in a preset chromaticity coordinate system.

[0016] Optionally, determining the target common gamut according to each of the gamut triangles includes:

[0017] Obtain the traversed common gamut, where the traversed common gamut is the common gamut determined by the gamut triangles in the traversed state, and the gamut triangles in the to-be-traversed state can form a traversal set;

[0018] If all of the gamut triangles have been traversed, determine the traversed common gamut as the target common gamut;

[0019] If not all of the gamut triangles have been traversed, determine the target common gamut according to the traversed common gamut and the traversal set.

[0020] Optionally, determining the target common gamut according to the traversed common gamut and the traversal set includes:

[0021] Determine a gamut triangle in the traversal set as a reference gamut triangle;

[0022] Determine the common gamut of the reference gamut triangle and the traversed common gamut;

[0023] If the traversal set is an empty set, determine the common gamut of the reference gamut triangle and the traversed common gamut as the target common gamut;

[0024] If the traversal set is not an empty set, select another reference gamut triangle in the traversal set.

[0025] Optionally, the reference gamut triangle includes multiple first sides, and the traversed common gamut includes multiple second sides. Determining the common gamut of the reference gamut triangle and the traversed common gamut includes:

[0026] Calculate the linear functions of the first sides and the linear functions of the second sides respectively;

[0027] Sequentially determine one of the first sides as a reference side among all of the first sides;

[0028] According to the linear function of the reference side and the linear functions of each of the second sides, determine the intersection points of the reference side and each of the second sides, and record the intersection points in a preset intersection point set;

[0029] If the first side of the reference color gamut triangle has been fully traversed, determine the common color gamut of the reference color gamut triangle and the traversed common color gamut according to the intersection point set.

[0030] Optionally, the generating the color compensation matrix according to the target common color gamut includes:

[0031] Determine the intersection points when each of the color gamut triangles forms the target common color gamut;

[0032] Generate a color compensation matrix according to the color coordinates of the intersection points.

[0033] In a second aspect, an embodiment of the present application provides a non-volatile readable storage medium storing computer-executable instructions for causing a controller to execute the above color compensation method.

[0034] In a third aspect, an embodiment of the present application provides a computer device including a memory and a processor, the memory being connected to the processor, the processor being configured to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the computer device implements the above color compensation method.

[0035] In a third aspect, an embodiment of the present application provides a splicing screen including at least two sub-screens, each sub-screen being configured to obtain the color compensation matrix output by the above color compensation method and perform a color compensation operation according to the color compensation matrix.

[0036] In the color compensation method provided by the embodiment of the present application, in this embodiment, the target common color gamut of each sub-screen is determined, and a color compensation matrix is generated according to the target common color gamut. The color compensation matrix is used to instruct the sub-screen to perform a color compensation operation. Since the target common color gamut can represent the common color of each sub-screen, the color compensation matrix can also represent the common color of each sub-screen to compensate the colors of each sub-screen. In this way, it is possible to automatically control each sub-screen to output colors with high consistency, eliminate the color differences between different sub-screens, and at the same time, without manual participation, which is beneficial to improving the efficiency of color compensation. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] One or more embodiments are exemplarily illustrated by the pictures in the corresponding drawings. These exemplary illustrations do not limit the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements, unless otherwise stated, the drawings in the figures do not constitute a proportional limitation.

[0038] Figure 1 It is a schematic circuit diagram of the splicing screen provided by the embodiment of the present application;

[0039] Figure 2 Schematic diagram of the structure of the splicing screen provided by the embodiment of the present application, which is composed of two sub-screens;

[0040] Figure 3 Schematic diagram of the structure of the splicing screen provided by the embodiment of the present application, which is composed of four sub-screens;

[0041] Figure 4 Schematic flowchart of a color compensation method provided by the embodiment of the present application;

[0042] Figure 5 Schematic diagram of gamut triangles ΔA and ΔB provided by the embodiment of the present application in a preset chromaticity coordinate system;

[0043] Figure 6 Schematic diagram of gamut triangles ΔA, ΔB and ΔC provided by the embodiment of the present application in a preset chromaticity coordinate system;

[0044] Figure 7 Schematic diagram of the structure of a color compensation device provided by the embodiment of the present application;

[0045] Figure 8 Schematic diagram of the circuit structure of a computer device provided by the embodiment of the present application. Detailed implementation manners

[0046] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the following further describes the embodiments of the present application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present application, and are not used to limit the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the embodiments of the present application without creative efforts shall fall within the protection scope of the embodiments of the present application.

[0047] It should be noted that if there is no conflict, the various features in the embodiments of the present application can be combined with each other, and all are within the protection scope of the embodiments of the present application. In addition, although functional module division is performed in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order from the module division in the device or the flowchart. Furthermore, the terms "first", "second", "third", etc. used in the embodiments of the present application do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.

[0048] The spliced ​​screen is made up of multiple independent sub-screens. The spliced ​​screen can provide a larger display area and higher resolution, which is conducive to improving the user experience. However, the spliced ​​screen provided by the relevant technology will also have the following problems: 1. Uneven color. Since the spliced ​​screen is made up of multiple sub-screens, the color performance of different sub-screens is likely to be different, resulting in uneven display color and affecting the viewing experience. 2. Poor brightness consistency. Different sub-screens in the spliced ​​screen are prone to uneven colors and inconsistent brightness.

[0049] In order to overcome the above problems, the related technical approach requires manual adjustment of the display parameters of each sub-screen. For example, the user can adjust the color temperature, saturation, brightness and other display parameters of the spliced ​​screen to reduce the color difference between different sub-screens, so that the display effects of each sub-screen are close. However, this approach cannot guarantee the display consistency of a large number of quantum screens.

[0050] The related art provides another method, which is to use screen calibration equipment to calibrate the display parameters of each sub-screen. The screen calibration equipment can make fine adjustments to each sub-screen of the spliced ​​screen to minimize the color difference between each sub-screen. However, this method requires adding workstations to the production line, which increases production costs and is not conducive to improving production efficiency.

[0051] The embodiment of the present application can measure the color gamut of each sub-screen in the spliced ​​screen in advance, and then find out the target common color gamut of each sub-screen. The target common color gamut can characterize the common color of each sub-screen. The present embodiment then generates a color compensation matrix based on the target common color gamut, so that each sub-screen can adjust the color of each sub-screen according to the color compensation matrix. In this way, each sub-screen can be automatically controlled to output a color with higher consistency, eliminating the color difference between different sub-screens, so that the color of each sub-screen can be displayed evenly, and the picture can be displayed according to a consistent brightness. At the same time, no human intervention is required, which is beneficial to improving the efficiency of color compensation.

[0052] The color compensation method provided in the embodiment of the present application is applied to a computer device. It is understandable that the computer device can be a part of a spliced ​​screen. It is also understandable that the computer device can be a part of a sub-screen in a spliced ​​screen, for example, the computer device is a display controller of the sub-screen. It is also understandable that the computer device and the sub-screen of the spliced ​​screen are two relatively independent electronic products.

[0053] The present application embodiment provides a color compensation system. Figure 1 The color compensation system 100 includes a color analyzer 11 , a computer device 12 and a splicing screen 13 , wherein the splicing screen 13 includes at least two sub-screens 14 .

[0054] The color analyzer 11 is used to collect the display screen of the sub-screen 14 and analyze the display screen. When the sub-screen 14 displays the first screen in the R primary color, the color analyzer 11 can collect the first screen and analyze the first screen to obtain the color data T1 corresponding to the R primary color. When the sub-screen 14 displays the second screen in the G primary color, the color analyzer 11 collects the second screen and analyzes the second screen to obtain the color data T2 corresponding to the G primary color. When the sub-screen 14 displays the third screen in the B primary color, the color analyzer 11 can collect the third screen and analyze the third screen to obtain the color data T3 corresponding to the B primary color. The color analyzer 11 packs the color data T1 corresponding to the R primary color, the color data T2 corresponding to the G primary color, and the color data T3 corresponding to the B primary color into the three primary color data of the sub-screen 14, and transmits the three primary color data to the computer device 12.

[0055] The computer device 12 is used to execute the color compensation method described in each of the following embodiments. For example, the computer device 12 determines the target common color gamut of each sub-screen according to the three primary color data of each sub-screen, and generates a color compensation matrix according to the target common color gamut. The computer device 12 sends the color compensation matrix to each sub-screen 14.

[0056] It can be understood that the computer device 12 can be a USB flash drive, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, a single-chip microcomputer, an ARM, or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these components.

[0057] The sub-screen 14 can display the screen independently. Among them, the number of sub-screens 14 can be two or more. And the way that each sub-screen 14 is spliced to form the spliced screen 100 can be a horizontal arrangement form, a vertical arrangement form, or a matrix arrangement form. Among them, the matrix arrangement method is a four-grid or nine-grid, etc. Please refer to Figure 2 , the way that two sub-screens 14 are spliced to form the spliced screen 13 can be a horizontal arrangement form. Please refer to Figure 3 , the way that four sub-screens 14 are spliced to form the spliced screen 13 can be a four-grid arrangement form.

[0058] The sub-screen 14 can be a TFT screen (Thin Film Transistor), a TFD screen (Thin Film Diode), a UFB screen (Ultra Fine Bright), an STN screen (SuperTwisted Nematic), an OLED screen (Organic Light-Emitting Diode), an AMOLED screen (Active Matrix / Organic Light Emitting Diode), etc.

[0059] As described above, each sub-screen 14 performs a color compensation operation according to the color compensation matrix, so that each sub-screen outputs colors with higher consistency, thereby being able to eliminate the color differences between different sub-screens.

[0060] Generally speaking, the color compensation process of the splicing screen 100 is as follows: The computer device 12 receives the three primary color data transmitted by the color analyzer 11 through the HDMI interface or the DVI interface, and generates a color compensation matrix according to the three primary color data. The computer device 12 transmits the color compensation matrix to each sub-screen 14 of the splicing screen 13, and each sub-screen 11 performs a color compensation operation according to the color compensation matrix, so that each sub-screen outputs colors with higher consistency.

[0061] As another aspect of the embodiments of the present application, the embodiments of the present application provide a color compensation method, which is applied to a computer device. The computer device is used to interact with a splicing screen, and the splicing screen includes at least two sub-screens. Please refer to Figure 4 ., the color compensation method includes:

[0062] S41: Determine the target common color gamut of each sub-screen.

[0063] In this step, the target common color gamut is the common color gamut of each sub-screen. Among them, the target common color gamut can represent the common colors of each sub-screen. The color gamut is the range area composed of the colors that the sub-screen can express, and the color gamuts of different sub-screens can be the same or different.

[0064] S42: Generate a color compensation matrix according to the target common color gamut, and the color compensation matrix is used to instruct the sub-screen to perform a color compensation operation.

[0065] In this step, the color compensation matrix is a matrix for compensating the colors of each sub-screen. Among them, the color compensation matrix can represent the common colors of each sub-screen so as to compensate the colors of each sub-screen.

[0066] In some embodiments, this embodiment can transmit a color compensation matrix to the tiled screen, and each sub-screen of the tiled screen performs a color compensation operation according to the color compensation matrix. In some embodiments, a computer device is built into each sub-screen, and the sub-screen of this embodiment automatically performs a color compensation operation according to the color compensation matrix, so that each sub-screen presents a display screen after color compensation. Generally speaking, by performing the color compensation operation, this embodiment can automatically control each sub-screen to output colors with high consistency, eliminate the color differences between different sub-screens, and at the same time, without manual participation, which is beneficial to improving the efficiency of color compensation. In addition, the color compensation method provided in this embodiment can process multiple tiled screens in batches, and can also ensure the consistency of multiple tiled screens in batches.

[0067] In some embodiments, determining the target common color gamut of each sub-screen includes the following steps:

[0068] S411: Determine the color gamut triangle of each sub-screen in a preset chromaticity coordinate system.

[0069] S412: Determine the target common color gamut according to each color gamut triangle.

[0070] In S411 and S412, the color gamut triangle is the color gamut determined by the three primary colors of the sub-screen in a preset chromaticity coordinate system, and the color gamut triangles of different sub-screens may be the same or different. Please refer to Figure 5 , the tiled screen is obtained by splicing sub-screen A and sub-screen B. Among them, the color gamut triangle ΔA corresponds to sub-screen A, and the color gamut triangle ΔB corresponds to sub-screen B. The target common color gamut S1 is the common color gamut of the color gamut triangle ΔA and the color gamut triangle ΔB.

[0071] Please refer to Figure 6 , the tiled screen is obtained by splicing sub-screen A, sub-screen B and sub-screen C. Among them, the color gamut triangle ΔC corresponds to sub-screen C. The target common color gamut S2 is the common color gamut of the color gamut triangle ΔA, the color gamut triangle ΔB and the color gamut triangle ΔC.

[0072] In some embodiments, determining the color gamut triangle of each sub-screen in a preset chromaticity coordinate system includes the following steps:

[0073] S4111: Obtain the three-primary color data of the sub-screen. The three-primary color data includes color data corresponding to the R primary color, color data corresponding to the G primary color, and color data corresponding to the B primary color.

[0074] S4112: Calculate the R color mark, G color mark and B color mark corresponding to the R primary color data respectively according to the three-primary color data.

[0075] S4113: Generate the color gamut triangle of the sub-screen in a preset chromaticity coordinate system according to the R color mark, G color mark and B color mark.

[0076] In S4111, obtaining the three primary color data of the sub-screen includes: controlling each sub-screen to display the first picture according to the R primary color, and a preset color analyzer can collect and analyze the first picture to obtain the color data corresponding to the R primary color; controlling each sub-screen to display the second picture according to the G primary color, and the preset color analyzer can collect and analyze the second picture to obtain the color data corresponding to the G primary color; controlling each sub-screen to display the third picture according to the B primary color, and the preset color analyzer can collect and analyze the third picture to obtain the color data corresponding to the B primary color; obtaining the color data corresponding to the R primary color, the color data corresponding to the G primary color, and the color data corresponding to the B primary color transmitted by the color analyzer, so as to obtain the three primary color data of the sub-screen. Among them, the R primary color is (255, 0, 0), the G primary color is (0, 255, 0), and the B primary color is (0, 0, 255).

[0077] The color data corresponding to the R primary color includes the tristimulus values XYZ corresponding to the first picture, the color data corresponding to the G primary color includes the tristimulus values XYZ corresponding to the second picture, and the color data corresponding to the B primary color includes the tristimulus values XYZ corresponding to the third picture.

[0078] In S4112, according to the conversion relationship between the preset chromaticity coordinate system and the tristimulus values, combined with the three primary color data, the R color mark (xr, yr), the G color mark (xg, yg), and the B color mark (xb, yb) corresponding to the R primary color data can be obtained respectively. Among them, the conversion relationship between the preset chromaticity coordinate system and the tristimulus values is: x = X / (X + Y + Z), y = Y / (X + Y + Z).

[0079] In S4113, generating the gamut triangle of the sub-screen in the preset chromaticity coordinate system according to the R color mark, the G color mark, and the B color mark includes: connecting the R color mark, the G color mark, and the B color mark in sequence to obtain the gamut triangle of the sub-screen in the preset chromaticity coordinate system.

[0080] Based on the three primary color data of each sub-screen, this embodiment can quickly generate a gamut triangle in the preset chromaticity coordinate system, which is beneficial to quickly determining the target common gamut subsequently.

[0081] In some embodiments, determining the target common gamut according to each gamut triangle includes the following steps:

[0082] S4121: Obtain the traversed common gamut, and the traversed common gamut is the common gamut determined by the gamut triangles in the traversed state.

[0083] S4122: If all the gamut triangles have been traversed, determine the traversed common gamut as the target common gamut, and the gamut triangles in the to-be-traversed state can form a traversal set.

[0084] S4123: If not all color gamut triangles have been traversed, determine the target common color gamut according to the traversed common color gamuts and the traversal set.

[0085] In S4121, the traversed state means that the color gamut triangle has been traversed and added to the operation of determining the target common color gamut. The to-be-traversed state means that the color gamut triangle has not been traversed and added to the operation of determining the target common color gamut. The traversal set is a set composed of color gamut triangles in the to-be-traversed state. At initialization, in this embodiment, a color gamut triangle can be selected from all color gamut triangles and the traversal state of this color gamut triangle is set to the traversed state. Therefore, the color gamut of this color gamut triangle is the first common color gamut.

[0086] In S4122, when all color gamut triangles have been traversed, the last traversed common color gamut is used as the target common color gamut. As mentioned above, the splicing screen is obtained by splicing sub-screen A, sub-screen B, and sub-screen C. The color gamut triangles of sub-screen A, sub-screen B, and sub-screen C are all in the traversed state. Therefore, the common color gamut Sb is the last traversed common color gamut, that is, the common color gamut Sb is the target common color gamut.

[0087] In S4123, when not all color gamut triangles have been traversed, it means that there are still corresponding color gamut triangles that have not been added to the operation of determining the target common color gamut, and it is necessary to continue to find the target common color gamut.

[0088] For example, the splicing screen is obtained by splicing sub-screen A and sub-screen B. Among them, at initialization, in this embodiment, the traversal state of the color gamut triangle ΔA of sub-screen A is set to the traversed state. Therefore, the color gamut of the color gamut triangle of sub-screen A is the first common color gamut Sa, the first common color gamut Sa is the traversed common color gamut, and the traversal set is P = {ΔB}. Then, the color gamut triangle of sub-screen A and the color gamut triangle of sub-screen B determine the second common color gamut Sb. At this time, the color gamut triangles of sub-screen A and sub-screen B are both in the traversed state. Since all color gamut triangles are in the traversed state, the traversal set is an empty set, and the second common color gamut Sb is the target common color gamut.

[0089] For another example, the splicing screen is obtained by splicing sub-screen A, sub-screen B, and sub-screen C. The color gamut of the color gamut triangle of sub-screen A is the first common color gamut Sa, the first common color gamut Sa is the traversed common color gamut, and the traversal set is P = {ΔB, ΔC}. The color gamut triangle of sub-screen A first determines the second common color gamut Sb with the color gamut triangle of sub-screen B. At this time, the color gamut triangles of sub-screen A and sub-screen B are both in the traversed state, and the color gamut triangle of sub-screen C is in the to-be-traversed state. The common color gamut Sb is the traversed common color gamut. Since the color gamut triangle ΔC of sub-screen C is in the to-be-traversed state, the traversal set is P = {ΔC}.

[0090] Next, the common color gamut Sb and the color gamut triangle of the sub-screen C determine the third common color gamut Sc. Among them, the common color gamut Sc is the new traversed common color gamut. At this time, the color gamut triangles of the sub-screen A, the sub-screen B, and the sub-screen C are all in the traversed state. Since all the color gamut triangles are in the traversed state, the traversal set is an empty set.

[0091] For another example, the tiled screen is obtained by tiling the sub-screen A, the sub-screen B, the sub-screen C, and the sub-screen D. The color gamut of the color gamut triangle of the sub-screen A is the first common color gamut Sa, and the first common color gamut Sa is the traversed common color gamut. The traversal set is P = {ΔB, ΔC, ΔD}. The color gamut triangle of the sub-screen A first determines the second common color gamut Sb with the color gamut triangle of the sub-screen B. At this time, the color gamut triangles of the sub-screen A and the sub-screen B are both in the traversed state, the color gamut triangles of the sub-screen C and the sub-screen D are in the to-be-traversed state, and the common color gamut Sb is the traversed common color gamut. Since the color gamut triangle ΔC of the sub-screen C and the color gamut triangle ΔD of the sub-screen D are in the to-be-traversed state, the traversal set is P = {ΔC, ΔD}.

[0092] Next, the common color gamut Sb and the color gamut triangle ΔC of the sub-screen C determine the third common color gamut Sc. Among them, the common color gamut Sc is the new traversed common color gamut. At this time, the color gamut triangles of the sub-screen A, the sub-screen B, and the sub-screen C are all in the traversed state, and the color gamut triangle ΔD of the sub-screen D is still in the to-be-traversed state. Therefore, the traversal set is P = {ΔD}.

[0093] Then, the common color gamut Sc and the color gamut triangle ΔD of the sub-screen D determine the fourth common color gamut Sd. Among them, the common color gamut Sd is the new traversed common color gamut. Since all the color gamut triangles are in the traversed state, the traversal set is an empty set.

[0094] In some embodiments, determining the target common color gamut according to the traversed common color gamut and the traversal set includes the following steps: determining a color gamut triangle in the traversal set as the reference color gamut triangle, determining the common color gamut of the reference color gamut triangle and the traversed common color gamut. If the traversal set is an empty set, determining the common color gamut of the reference color gamut triangle and the traversed common color gamut as the target common color gamut. If the traversal set is not an empty set, another reference color gamut triangle is selected in the traversal set. It can be understood that in this embodiment, the selected another reference color gamut triangle is added to the operation of determining the target common color gamut, that is, determining the common color gamut of the selected another reference color gamut triangle and the traversed common color gamut, and so on, until the traversal set is an empty set, and the last traversed common color gamut is used as the target common color gamut.

[0095] For example, in the case where the tiled screen is obtained by tiling sub-screen A and sub-screen B, the first common color gamut Sa is the traversed common color gamut, and the traversal set is P = {ΔB}. In this embodiment, the color gamut triangle of sub-screen B is determined as the reference color gamut triangle in the traversal set, and the second common color gamut Sb between the color gamut triangle of sub-screen A and the color gamut triangle of sub-screen B is calculated. Since the traversal set is an empty set at this time, the second common color gamut Sb is the target common color gamut.

[0096] For another example, in the case where the tiled screen is obtained by tiling sub-screen A, sub-screen B, and sub-screen C, the first common color gamut Sa is the traversed common color gamut, and the traversal set is P = {ΔB, ΔC}. In this embodiment, the color gamut triangle of sub-screen B is determined as the reference color gamut triangle in the traversal set, and the second common color gamut Sb between the color gamut triangle of sub-screen A and the color gamut triangle of sub-screen B is calculated. Since the traversal set is not an empty set at this time, in this embodiment, the color gamut triangle of sub-screen C is selected as the reference color gamut triangle in the traversal set P = {ΔC}, and the third common color gamut Sc between the color gamut triangle of sub-screen C and the second common color gamut Sb is calculated. Since the traversal set is an empty set at this time, the third common color gamut Sc is the target common color gamut.

[0097] For another example, in the case where the tiled screen is obtained by tiling sub-screen A, sub-screen B, sub-screen C, and sub-screen D, the first common color gamut Sa is the traversed common color gamut, and the traversal set is P = {ΔB, ΔC, ΔD}. In this embodiment, the color gamut triangle of sub-screen B is determined as the reference color gamut triangle in the traversal set, and the second common color gamut Sb between the color gamut triangle of sub-screen A and the color gamut triangle of sub-screen B is calculated. Since the traversal set is not an empty set at this time, in this embodiment, the color gamut triangle of sub-screen C is selected as the reference color gamut triangle in the traversal set P = {ΔC, ΔD}, and the third common color gamut Sc between the color gamut triangle of sub-screen C and the second common color gamut Sb is calculated. Since the traversal set is not an empty set at this time, in this embodiment, the color gamut triangle of sub-screen D is selected as the reference color gamut triangle in the traversal set P = {ΔD}, and the fourth common color gamut Sd between the color gamut triangle of sub-screen D and the third common color gamut Sc is calculated. Since the traversal set is an empty set at this time, the fourth common color gamut Sd is the target common color gamut.

[0098] In some embodiments, the reference color gamut triangle includes multiple first sides, the traversed common color gamut includes multiple second sides, and determining the common color gamut between the reference color gamut triangle and the traversed common color gamut includes the following steps:

[0099] S41231: Calculate the linear functions of the first sides and the linear functions of the second sides respectively.

[0100] S41232: Sequentially determine one of the first sides as the reference side among the first sides.

[0101] S41233: Determine the intersection points of the reference edge and each second edge according to the linear function of the first reference edge and the linear functions of each second edge, and record the intersection points in a preset intersection point set.

[0102] S41234: If all the first sides of the reference color gamut triangle have been traversed, determine the common color gamut of the reference color gamut triangle and the traversed common color gamut according to the intersection point set.

[0103] S41235: If all the first sides of the reference color gamut triangle have not been traversed, select another first side as the reference edge in sequence, and return to step S41233.

[0104] In S41231, calculating the linear function of the first side includes: determining the coordinates of two vertices of the first side, where the two vertex coordinates are the corresponding two of the R color value, G color value, and B color value, and generating the linear function of the first side according to the two vertex coordinates.

[0105] For example, the expression of the linear function of the first side L1 is:

[0106] (y - y1) / (y2 - y1) = (x - x1) / (x2 - x1), Equation 1

[0107] Among them, the color values (x1, y1) and (x2, y2) are the corresponding two of the R color value, G color value, and B color value of the reference color gamut triangle.

[0108] Simplifying Equation 1, we can get: y = [(y2 - y1) / (x2 - x1)](x - x1) + y1, Equation 2. Let a = (y2 - y1) / (x2 - x1).

[0109] Then Equation 2 can be changed to: y = a * x - a * x1 + y1, Equation 3

[0110] Calculating the linear function of the second side includes: determining the coordinates of two vertices of the second side, where the two vertex coordinates are the corresponding two of the R color value, G color value, and B color value, and generating the linear function of the second side according to the two vertex coordinates.

[0111] For example, the expression of the linear function of the second side L2 is:

[0112] (y - y3) / (y4 - y3) = (x - x3) / (x4 - x3), Equation 4

[0113] The color values (x3, y3) and (x4, y4) are the corresponding two of the R color value, G color value, and B color value of the traversed common color gamut.

[0114] Simplifying formula 4, we can obtain: y = [(y4-y3) / (x4-x3)](x-x3)+y3. Formula 5 lets b = (y4-y3) / (x4-x3).

[0115] Then equation 5 can be transformed into: y = b*xb*x3+y3 equation 6

[0116] In S41232, for example, the reference color gamut triangle includes the first side rs, the first side st and the first side tr, and the traversed common color gamut includes the second side uv, the second side vw and the second side wu. In this embodiment, the first side rs is first selected as the reference side, and then the first side st is selected as another reference side, and so on.

[0117] In S41233, according to the straight line function of the reference side and the straight line function of each second side, determining the intersection point of the reference side and each second side includes the following situations:

[0118] 1). If the slope of the straight line function of the reference side is equal to the slope of the straight line function of the second side, the reference side is parallel to the second side. Therefore, there is no intersection between the reference side and the second side. This embodiment does not record the intersection in the intersection set.

[0119] 2). If the slope of the straight line function of the reference side is not equal to the slope of the straight line function of the second side, then by combining equations 3 and 6, we can get the color scale (x, y) of the intersection point, where:

[0120] x=(a*x1-b*x3-y1+y3) / (ab)

[0121] y=a*xa*x1+y1

[0122] In this embodiment, the color mark (x, y) of the intersection point is recorded in the intersection point set.

[0123] 3). If the linear function of the reference side has a slope, that is, the reference side is parallel to the x-axis of the preset color coordinate system, and the second side is parallel to the y-axis of the preset color coordinate system, then the color scale (x, y) of the intersection is as follows: x=x3, y=a*x3-a*x1+y1.

[0124] 4). If the reference side is parallel to the y-axis of the preset color coordinate system, and the linear function of the second side has a slope, the color scale (x, y) of the intersection is as follows: x=x1, y=b*xb*x3+y3.

[0125] 5). If the reference side and the second side are both parallel to the y-axis of the preset color coordinate system, if x1 is equal to x3, the reference side and the second side coincide with each other; if x1 is not equal to x3, the reference side and the second side are parallel and have no intersection.

[0126] According to the above method, this embodiment can record the intersection points of the reference edge and each second edge in the intersection point set.

[0127] In S41234, if all the first edges of the reference color gamut triangle have been traversed, it means that all the first edges of the reference color gamut triangle have been sequentially judged for intersection with all the first edges of the traversed common color gamut. At this time, this embodiment can determine the common color gamut of the reference color gamut triangle and the traversed common color gamut according to the intersection point set.

[0128] Determining the common color gamut of the reference color gamut triangle and the traversed common color gamut according to the intersection point set includes: if the intersection point set is an empty set, determining whether there is an inclusion relationship between the reference color gamut triangle and the traversed common color gamut. If there is an inclusion relationship, select the color gamut with the smallest area among the reference color gamut triangle and the traversed common color gamut as the common color gamut. If not, end the operation. If the intersection point set is not an empty set, determine the common color gamut of the reference color gamut triangle and the traversed common color gamut according to the intersection points in the intersection point set.

[0129] Determining whether there is an inclusion relationship between the reference color gamut triangle and the traversed common color gamut includes: determining whether the reference color gamut triangle is included in the traversed common color gamut, or determining whether the traversed common color gamut is included in the reference color gamut triangle.

[0130] In some embodiments, generating a color compensation matrix according to the target common color gamut includes: determining the intersection points when each color gamut triangle forms the target common color gamut, and generating a color compensation matrix according to the color coordinates of the intersection points. For example, this embodiment converts the color coordinates (x, y) of the intersection points into tristimulus values XYZ, and generates a color compensation matrix according to the tristimulus values XYZ of multiple intersection points. Subsequently, this embodiment can control the splicing screen to perform color compensation operations according to the color compensation matrix.

[0131] It should be noted that in the above various embodiments, there is not necessarily a certain order between the above steps. Those of ordinary skill in the art can understand according to the description of the embodiments of the present application that in different embodiments, the above steps can have different execution orders, that is, they can be executed in parallel or exchanged, etc.

[0132] As another aspect of the embodiments of the present application, the embodiments of the present application provide a color compensation device applied to a computer device. The computer device is used to interact with a splicing screen, and the splicing screen includes at least two sub-screens. Among them, the color compensation device can be a software module, and the software module includes several instructions stored in a memory. A processor can access the memory and call the instructions for execution to complete the color compensation method described in the above various embodiments.

[0133] In some embodiments, the color compensation device can also be built from hardware components. For example, the color compensation device can be built from one or more than two chips, and each chip can work in coordination with each other to complete the color compensation method described in each of the above embodiments. For another example, the color compensation device can also be built from various logic devices, such as being built from a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine), or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these components.

[0134] Please refer to Figure 7 , the color compensation device 700 includes a gamut determination module 71 and a matrix generation module 72.

[0135] The gamut determination module 71 is used to determine the target common gamut of each sub-screen, and the matrix generation module 72 is used to generate a color compensation matrix according to the target common gamut. The color compensation matrix is used to instruct the sub-screen to perform a color compensation operation. Therefore, this embodiment can automatically control each sub-screen to output colors with high consistency, eliminate the color differences between different sub-screens, and at the same time, without manual participation, which is beneficial to improving the efficiency of color compensation.

[0136] In some embodiments, the gamut determination module 71 is specifically used for: determining the gamut triangle of each sub-screen in a preset chromaticity coordinate system, and determining the target common gamut according to each gamut triangle.

[0137] In some embodiments, the gamut determination module 71 is further specifically used for: obtaining the three primary color data of the sub-screen. The three primary color data includes color data corresponding to the R primary color, color data corresponding to the G primary color, and color data corresponding to the B primary color. According to the three primary color data, calculate the R color coordinates, G color coordinates, and B color coordinates corresponding to the R primary color data respectively. According to the R color coordinates, G color coordinates, and B color coordinates, generate the gamut triangle of the sub-screen in the preset chromaticity coordinate system.

[0138] In some embodiments, the gamut determination module 71 is further specifically used for: sequentially connecting the R color coordinates, G color coordinates, and B color coordinates to obtain the gamut triangle of the sub-screen in the preset chromaticity coordinate system.

[0139] In some embodiments, the gamut determination module 71 is further specifically used for: obtaining the traversed common gamut. The traversed common gamut is the common gamut determined by the gamut triangles in the traversed state. The gamut triangles in the to-be-traversed state can form a traversal set. If all the gamut triangles have been traversed, then determine the traversed common gamut as the target common gamut. If not all the gamut triangles have been traversed, then determine the target common gamut according to the traversed common gamut and the traversal set.

[0140] In some embodiments, the color gamut determination module 71 is further specifically configured to: determine a color gamut triangle in the traversal set as a reference color gamut triangle, determine the common color gamut between the reference color gamut triangle and the traversed common color gamut. If the traversal set is an empty set, determine the common color gamut between the reference color gamut triangle and the traversed common color gamut as the target common color gamut. If the traversal set is not an empty set, select another reference color gamut triangle in the traversal set.

[0141] In some embodiments, the reference color gamut triangle includes multiple first sides, and the traversed common color gamut includes multiple second sides. The color gamut determination module 71 is further specifically configured to: calculate the linear functions of the first sides and the linear functions of the second sides respectively, sequentially determine a first side in each of the first sides as a reference side, determine the intersection points between the reference side and each of the second sides according to the linear function of the reference side and the linear function of each second side, and record the intersection points in a preset intersection point set. If all the first sides of the reference color gamut triangle have been traversed, determine the common color gamut between the reference color gamut triangle and the traversed common color gamut according to the intersection point set.

[0142] In some embodiments, the matrix generation module 72 is specifically configured to: determine the intersection points when each color gamut triangle forms the target common color gamut, and generate a color compensation matrix according to the color coordinates of the intersection points.

[0143] It should be noted that the above color compensation device can execute the color compensation method provided by the implementation manner of the embodiments of the present application, and has the corresponding functional modules and beneficial effects for executing the method. For the technical details not described in detail in the implementation manner of the color compensation device, reference can be made to the color compensation method provided by the implementation manner of the embodiments of the present application.

[0144] Please refer to Figure 8 , Figure 8 which is a schematic circuit structure diagram of a computer device provided by an embodiment of the present application. As Figure 8 shown, the computer device 80 includes one or more processors 81 and a memory 82. Among them, Figure 8 one processor 81 is taken as an example.

[0145] The processor 81 and the memory 82 can be connected through a bus or other means, Figure 8 and taking the connection through a bus as an example.

[0146] The memory 82, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions / modules corresponding to the color compensation method in the embodiments of the present application. By running the non-volatile software programs, instructions, and modules stored in the memory 82, the processor 81 executes various functional applications and data processing of the color compensation device, that is, implements the color compensation method provided in the above method embodiments and the functions of each module or unit in the above device embodiments.

[0147] The memory 82 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 82 optionally includes a memory remotely disposed relative to the processor 81, and these remote memories can be connected to the processor 81 through a network. Examples of the above network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0148] The program instructions / modules are stored in the memory 82 and, when executed by the one or more processors 81, execute the color compensation method in any of the above method embodiments.

[0149] The embodiments of the present application also provide a non-volatile computer storage medium. The computer storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by one or more processors, for example Figure 8 one of the processors 81, the one or more processors can execute the color compensation method in any of the above method embodiments.

[0150] The embodiments of the present application also provide a computer program product. The computer program product includes a computer program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions, and when the program instructions are executed by a computer device, the computer device executes any one of the color compensation methods.

[0151] The device or equipment embodiments described above are merely illustrative. The unit modules described as separate components may or may not be physically separated, and the components shown as module units may or may not be physical units, that is, they may be located in one place or distributed to multiple network module units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0152] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution or the part that contributes to the related technology can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0153] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present application, and are not intended to limit them; under the idea of the embodiments of the present application, the technical features in the above embodiments or different embodiments can also be combined, and the steps can be implemented in any order, and there are many other changes in different aspects of the embodiments of the present application as described above. For the sake of brevity, they are not provided in detail; although the embodiments of the present application have been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A color compensation method applied to a computer device, characterized in that, the computer device is used to interact with a splicing screen, the splicing screen includes at least two sub - screens, and the method includes: determining the target common color gamut of each of the sub - screens; generating a color compensation matrix according to the target common color gamut, and the color compensation matrix is used to instruct the sub - screens to perform color compensation operations.

2. The method according to claim 1, characterized in that, the determining the target common color gamut of each of the sub - screens includes: determining the color gamut triangle of each sub - screen in a preset chromaticity coordinate system; determining the target common color gamut according to the color gamut triangles.

3. The method according to claim 2, characterized in that, the determining the color gamut triangle of each sub - screen in a preset chromaticity coordinate system includes: acquiring the trichromatic data of the sub - screen, and the trichromatic data includes color data corresponding to the R primary color, color data corresponding to the G primary color, and color data corresponding to the B primary color; respectively calculating the R color coordinates, G color coordinates, and B color coordinates corresponding to the R primary color data according to the trichromatic data; generating the color gamut triangle of the sub - screen in the preset chromaticity coordinate system according to the R color coordinates, the G color coordinates, and the B color coordinates.

4. The method according to claim 3, characterized in that, the generating the color gamut triangle of the sub - screen in the preset chromaticity coordinate system according to the R color coordinates, the G color coordinates, and the B color coordinates includes: sequentially connecting the R color coordinates, the G color coordinates, and the B color coordinates to obtain the color gamut triangle of the sub - screen in the preset chromaticity coordinate system.

5. The method according to claim 2, characterized in that, the determining the target common color gamut according to the color gamut triangles includes: acquiring the traversed common color gamut, and the traversed common color gamut is the common color gamut determined by the color gamut triangles in the traversed state, and the color gamut triangles in the to - be - traversed state can form a traversal set; if all the color gamut triangles have been traversed, determining the traversed common color gamut as the target common color gamut; if not all the color gamut triangles have been traversed, determining the target common color gamut according to the traversed common color gamut and the traversal set.

6. The method according to claim 5, characterized in that, the determining the target common color gamut according to the traversed common color gamut and the traversal set includes: determining a color gamut triangle in the traversal set as a reference color gamut triangle; determining the common color gamut of the reference color gamut triangle and the traversed common color gamut; if the traversal set is an empty set, determining the common color gamut of the reference color gamut triangle and the traversed common color gamut as the target common color gamut; if the traversal set is not an empty set, selecting another reference color gamut triangle in the traversal set.

7. The method according to claim 6, characterized in that, the reference color gamut triangle includes multiple first sides, and the traversed common color gamut includes multiple second sides, and the determining the common color gamut of the reference color gamut triangle and the traversed common color gamut includes: respectively calculating the linear functions of the first sides and the linear functions of the second sides; Sequentially determine a first side among each of the first sides as a reference side; According to the linear function of the reference side and the linear function of each second side, determine the intersection points of the reference side and each second side, and record the intersection points in a preset intersection point set; If all the first sides of the reference color gamut triangle have been traversed, determine the common color gamut of the reference color gamut triangle and the traversed common color gamut according to the intersection point set.

8. The method according to any one of claims 1 to 7, characterized in that, The generating a color compensation matrix according to the target common color gamut includes: Determine the intersection points when each of the color gamut triangles forms the target common color gamut; Generate a color compensation matrix according to the color coordinates of the intersection points.

9. A non-volatile readable storage medium, characterized in that, It stores computer-executable instructions, and the computer-executable instructions are used to cause a controller to execute the color compensation method according to any one of claims 1 to 8.

10. A computer device, characterized in that, It includes a memory and a processor, the memory is connected to the processor, the processor is used to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the computer device realizes the color compensation method according to any one of claims 1-8.

11. A splicing screen, characterized in that, It includes at least two sub-screens, and each sub-screen is used to obtain a color compensation matrix output by the color compensation method according to any one of claims 1 to 8, and perform a color compensation operation according to the color compensation matrix.