Color coordinate adjustment method, device, computer equipment and storage medium
By calculating the white window occupancy ratio and adjusting the color coordinates using a color coordinate difference lookup table, the problem of color coordinate offset in different areas of broadcast television monitors is solved, achieving higher picture consistency and color accuracy.
Patent Information
- Application Number
- CN202211709199.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2042-12-29
AI Technical Summary
There is a color coordinate shift in the display images of broadcast television monitors with different white window occupancy ratios, resulting in inaccurate color expression and poor image consistency.
By calculating the white window occupancy ratio of the display device, the color coordinate target offset is determined using a preset color coordinate difference lookup table, and the current color coordinates of the display screen are adjusted according to the offset to achieve the unification of the target color coordinates.
The consistency of the entire display screen of the display device is improved, the color coordinate offset is reduced, and the color expression is more accurate.
Smart Images

Figure CN116110349B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of backlight adjustment of display devices, and in particular relates to a color coordinate adjustment method, device, computer equipment and storage medium. Background Art
[0002] Chromaticity coordinates, also known as color coordinates, are used to express color. Color coordinates are commonly expressed with the horizontal axis being x and the vertical axis being y. With chromaticity coordinates, we can precisely represent the color of a light emission by identifying a point on a chromaticity diagram.
[0003] Broadcast television monitors, as display devices at the upper end of the image quality spectrum, are primarily used by teams with stringent requirements for image quality, color accuracy, and color rendering, such as television stations, advertising agencies, and film and video production companies. To achieve superior image quality and refined color control, the vast majority of current broadcast television monitors utilize a modular display solution combining mini LED backlights with liquid crystal glass, coupled with backlight local dimming technology.
[0004] However, in actual applications, when the broadcast television monitor turns on regional dimming, there will be a significant offset between the color coordinates of the display screen with different proportions of white windows in the broadcast television monitor and the color coordinates of the display screen with full-proportion white windows. This will reduce the accuracy of the broadcast television monitor's expression of color, and will further cause the color coordinates of different areas in the entire display screen to be offset, resulting in poor picture consistency. Summary of the Invention
[0005] The purpose of the present application is to provide a color coordinate adjustment method, apparatus, computer equipment and storage medium, aiming to reduce the color coordinate offset of the entire display screen of the display device in the prior art when the white window occupies different proportions, so that the entire display screen of the display device is more consistent.
[0006] In a first aspect, the present application provides a color coordinate adjustment method, applied to a display device, comprising:
[0007] Calculate the proportion of white windows occupied by the display screen of the display device;
[0008] Determining a target color coordinate offset in the display image in a preset color coordinate difference lookup table according to the white window occupancy ratio, wherein the color coordinate difference lookup table records color coordinate offsets between color coordinates at different white window occupancy ratios and color coordinates at a 100% white window occupancy ratio, and the target color coordinate offset is a type of the color coordinate offset;
[0009] The current color coordinates of the display image are adjusted according to the color coordinate target offset to obtain target color coordinates.
[0010] Optionally, calculating the proportion of white windows occupied by the display screen of the display device includes:
[0011] Calculating the total brightness level of the display image;
[0012] The sum of the brightness level values is converted into a white window occupancy ratio of the display image.
[0013] Optionally, calculating the sum of the brightness level values of the display image includes:
[0014] The display screen has X×Y pixels, where X and Y are both positive integers greater than 0;
[0015]
[0016] The Lv represents the total brightness level value of the display screen;
[0017] The R AB represents the brightness level value of the red pixel of the target pixel in the display image;
[0018] The G AB A brightness level value of a green pixel representing a target pixel in the display image;
[0019] The B AB Indicates the brightness level value of the blue pixel of the target pixel in the display image.
[0020] Optionally, converting the sum of the brightness level values into a white window occupancy ratio of the display image includes:
[0021]
[0022] P represents the proportion of the white window in the display image;
[0023] The Lv represents the total brightness level value of the display screen;
[0024] The X and the Y indicate that there are X×Y pixels in the display screen.
[0025] Optionally, before calculating the white window occupancy ratio of the display screen of the display device, the method further includes:
[0026] Dividing the display screen of the display device into N parts to obtain N parts of the partial display screen, where N is a positive integer greater than 0;
[0027] Each partial display screen is regarded as a display screen of the display device;
[0028] The step of calculating the proportion of the white window occupying the display screen of the display device is triggered.
[0029] Optionally, after obtaining the target color coordinates, the method further includes:
[0030] The N partial display images corresponding to the target color coordinates are merged to obtain the target display image of the display device.
[0031] Optionally, before dividing the display screen of the display device into N parts, the method further includes:
[0032] Testing the brightest color coordinates of a display screen of the display device when the white window occupies 100% of the display screen;
[0033] Testing other color coordinates of a display screen of the display device in a K% white window occupancy ratio state, where K is a positive number greater than or equal to 0 and less than 100;
[0034] The color coordinate offset between the brightest color coordinate and each of the other color coordinates is calculated to obtain the color coordinate difference lookup table.
[0035] In a second aspect, the present application provides a color coordinate adjustment device, comprising:
[0036] A calculation unit, configured to calculate a white window occupancy ratio of a display screen of the display device;
[0037] a determining unit, configured to determine a target color coordinate offset in the display image from a preset color coordinate difference lookup table according to the white window occupancy ratio, wherein the color coordinate difference lookup table records color coordinate offsets between color coordinates at different white window occupancy ratios and color coordinates at a 100% white window occupancy ratio, and the target color coordinate offset is one type of the color coordinate offsets;
[0038] The adjusting unit is configured to adjust the current color coordinates of the display image according to the color coordinate target offset to obtain target color coordinates.
[0039] Optionally, when the calculation unit calculates the proportion of white windows occupying the display screen of the display device, it is specifically configured to:
[0040] Calculating the total brightness level of the display image;
[0041] The sum of the brightness level values is converted into a white window occupancy ratio of the display image.
[0042] Optionally, when the calculation unit calculates the sum of the brightness level values of the display image, it is specifically configured to:
[0043] The display screen has X×Y pixels, where X and Y are both positive integers greater than 0;
[0044]
[0045] The Lv represents the total brightness level value of the display screen;
[0046] The R AB represents the brightness level value of the red pixel of the target pixel in the display image;
[0047] The G AB A brightness level value of a green pixel representing a target pixel in the display image;
[0048] The B AB Indicates the brightness level value of the blue pixel of the target pixel in the display image.
[0049] Optionally, when the calculation unit converts the sum of the brightness level values into a white window occupancy ratio of the display screen, it is specifically configured to:
[0050]
[0051] P represents the proportion of the white window in the display image;
[0052] The Lv represents the total brightness level value of the display screen;
[0053] The X and the Y indicate that there are X×Y pixels in the display screen.
[0054] Optionally, the device further includes:
[0055] a dividing unit, configured to divide a display screen of the display device into N parts to obtain N parts of the partial display screen, where N is a positive integer greater than 0;
[0056] a regarded as a unit, configured to regard each partial display image as a display image of the display device;
[0057] The trigger unit is used to trigger the step of calculating the proportion of the white window occupied by the display screen of the display device.
[0058] Optionally, the device further includes:
[0059] The merging unit is configured to merge N portions of the local display images corresponding to the target color coordinates to obtain a target display image of the display device.
[0060] Optionally, the device further includes:
[0061] A testing unit, configured to test the brightest color coordinates of a display screen of the display device when the display screen is in a state where a white window occupies 100% of the screen area;
[0062] The testing unit is further used to test other color coordinates of a display screen of the display device in a K% white window occupancy ratio state, where K is a positive number greater than or equal to 0 and less than 100;
[0063] The calculation unit is further configured to calculate a color coordinate offset between the brightest color coordinate and each of the other color coordinates to obtain the color coordinate difference lookup table.
[0064] In a third aspect, the present application provides a computer device, comprising:
[0065] Processor, memory, bus, input and output interface, network interface;
[0066] The processor is connected to the memory, the input / output interface, and the network interface via the bus;
[0067] The memory stores a program;
[0068] When the processor executes the program stored in the memory, the color coordinate adjustment method as described in any one of the first aspects is implemented.
[0069] In a fourth aspect, the present application provides a computer storage medium, wherein the computer storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the color coordinate adjustment method as described in any one of the first aspects above.
[0070] In a fifth aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the color coordinate adjustment method as described in any one of the first aspects above.
[0071] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0072] The present application is applied to a color coordinate adjustment method for a display device, which first calculates the white window occupancy ratio of the display screen of the display device; then, based on the white window occupancy ratio, determines the color coordinate target offset in the display screen in a preset color coordinate difference lookup table, the color coordinate difference lookup table records the color coordinate offsets of the color coordinates of different white window occupancy ratios and the color coordinates of 100% white window occupancy ratio, and the color coordinate target offset is one of the color coordinate offsets; according to the color coordinate target offset, the current color coordinates of the display screen are adjusted to obtain the target color coordinates, so as to adjust the display device from the current color coordinates to the target color coordinates, and the target color coordinates are the same or similar to the color coordinates of the full-scale white window in the color coordinate difference lookup table, so that the consistency of the entire display screen of the display device executing the color coordinate adjustment method of the present application is better. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] Figure 1 This is a flow chart of an embodiment of the color coordinate adjustment method of the present application;
[0074] Figure 2 This is a flow chart of another embodiment of the color coordinate adjustment method of the present application;
[0075] Figure 3 This is a schematic structural diagram of an embodiment of the color coordinate adjustment device of the present application;
[0076] Figure 4 This is a schematic structural diagram of another embodiment of the color coordinate adjustment device of the present application;
[0077] Figure 5 This is a schematic diagram of the structure of an embodiment of the computer device of the present application;
[0078] Figure 6 This is a schematic diagram of an embodiment in which the display screen of the display device of the present application is divided into N parts. DETAILED DESCRIPTION
[0079] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0080] It should be noted that the display device to which the color coordinate adjustment method of this embodiment is applied specifically refers to a display device with a mini LED backlight adjustment function. In actual applications, it is found that when the display device turns on the mini LED backlight adjustment function, the color coordinates of the display screens with different proportions of white windows and the color coordinates of the display screens with full-proportion white windows will be significantly offset, which will reduce the accuracy of the color expression of the broadcast television monitor, and will further cause the color coordinates of different areas in the entire display screen to be offset, resulting in poor picture consistency. Studies have shown that the reason for the offset of the color coordinates of different areas in the entire display screen of the display device is mainly due to the fact that when the mini LED backlight turns on the backlight adjustment function, the backlight brightness of different areas in the entire display screen of the display device is inconsistent, and the background light with inconsistent brightness affects the color coordinates of adjacent partitioned screens through light mixing, resulting in color coordinate offset; especially when the white window occupies a small proportion of the entire display screen, the color coordinates of the small window are more seriously offset. In view of this, please refer to Figure 1 , an embodiment of the color coordinate adjustment method applied to a display device of the present application includes:
[0081] 101. Calculate the proportion of the white window on the display screen of the display device.
[0082] It is understandable that each pixel on the display device is composed of three sub-pixels: red, green, and blue. The different colors presented by the pixel are formed by the display device controlling the different luminous levels of the three sub-pixels: red, green, and blue. Then, when the display device adds mini LED as a backlight, the white backlight generated by the mini LED will affect the accurate expression of color of each pixel on the display device screen, especially when the display screen of the display device presents a 100% white window occupancy ratio, and when the display screen of the display device presents a smaller white window occupancy ratio, the color coordinate offset of the white window in the display screen of these two states is large. To this end, this step needs to first calculate the white window occupancy ratio of the display screen of the display device, specifically, calculate the white window occupancy ratio of the current display screen of the display device. For example, the white window occupancy ratio of the current display screen of the display device is calculated to be 0, 50%, 100%, etc.
[0083] 102. Determine a target color coordinate offset in the display image in a preset color coordinate difference lookup table based on the white window occupancy ratio. The color coordinate difference lookup table records the color coordinate offsets of the color coordinates of different white window occupancy ratios and the color coordinates of 100% white window occupancy ratio. The target color coordinate offset is one type of the color coordinate offsets.
[0084] The display device pre-stores a color coordinate difference lookup table. This table is obtained through factory testing of the display device itself. The color coordinate difference lookup table records the color coordinate offsets of the color coordinates of different white window occupancy ratios from the color coordinates of a 100% white window occupancy ratio. In this step, based on the white window occupancy ratio of the display screen of the display device in step 101, the color coordinate target offset corresponding to the color coordinates of the 100% white window occupancy ratio is found in the color coordinate difference lookup table. This determines the target color coordinate offset between the display screen with the current smaller white window occupancy ratio and the display screen with the 100% white window occupancy ratio.
[0085] 103. Adjust the current color coordinates of the display screen according to the color coordinate target offset to obtain the target color coordinates.
[0086] The current color coordinates of the display screen of the display device are adjusted according to the color coordinate target offset obtained in step 102, so as to adjust the display device from the current color coordinates to the target color coordinates. The target color coordinates are the same as or similar to the color coordinates of the full-scale white window (100% white window occupancy ratio) in the color coordinate difference lookup table, so that the consistency of the entire display screen of the display device executing the color coordinate adjustment method of the present application is better.
[0087] See also Figure 2 Another embodiment of the color coordinate adjustment method of the present application applied to a display device includes:
[0088] 201. Test the brightest color coordinates of a display screen of a display device when the display screen is in a state where the white window occupies 100% of the proportion.
[0089] When the display device is undergoing pre-shipment testing, the brightest color coordinates are tested when the display screen of the display device is in a state where the white window occupies 100% of the proportion. That is, the red, green, and blue sub-pixels of each pixel in the display device's screen all output light at maximum power, so that each pixel on the screen displays the brightest white light. At the same time, all LED lamp beads of the mini LED backlight also emit white light at maximum power to cooperate. The color coordinates at this state are recorded and become the brightest color coordinates "X, Y".
[0090] 202. Test other color coordinates of a display screen of the display device in a state where the white window occupancy ratio is K%, where K is a positive number greater than or equal to 0 and less than 100.
[0091] When the display device is tested before leaving the factory, it is also necessary to test the other color coordinates of the display screen of the display device when it is in the K% white window occupancy ratio state, that is, the K% area in the entire screen of the display device is in the white window state, and the red, green, and blue sub-pixels of each pixel in the white window all output light at maximum power, so that each pixel in the white window displays the brightest white light. At the same time, all LED lamp beads of the mini LED backlight also emit white light at maximum power to cooperate. The color coordinates of the entire display screen of the display device at this time are recorded, that is, the other color coordinates of the K% white window occupancy ratio state. For example, when the display device is tested before leaving the factory, the test signals of 1-99% white window occupancy ratio are input to the display device in sequence, and the color coordinates of the 1-99% white window occupancy ratio state are tested respectively, and "X1, Y1", ..., "X 99 、Y 99 ”.
[0092] 203. Calculate the color coordinate offset between the brightest color coordinate and each other color coordinate to obtain a color coordinate difference lookup table.
[0093] By subtracting the bright color coordinates from step 201 from the other color coordinates for each K% white window occupancy ratio in step 202, we can calculate the color coordinate offset between the brightest color coordinate and each other color coordinate. The brightest color coordinate, each other color coordinate, and the color coordinate offsets between the brightest color coordinate and the corresponding other color coordinates are associated and recorded in a table, thus creating a color coordinate difference lookup table. For example, the color coordinate offset between the brightest color coordinate and the color coordinate for a 1% white window occupancy ratio is calculated as: ΔX1 = X - X1, ΔY1 = Y - Y1. The other calculations can be obtained similarly and are not repeated here.
[0094] It should be noted that each display device will obtain a color coordinate difference lookup table belonging only to itself after the test calculations in steps 201 to 203. The color coordinate difference lookup table is only applicable to the display device and is stored in the memory of the display device.
[0095] 204. Divide the display screen of the display device into N parts to obtain N partial display screens, where N is a positive integer greater than 0.
[0096] When the display device turns on the mini LED backlight adjustment function, the display device can divide the current display screen of the display device into N equal parts, where the minimum N is 1 and the maximum N is equal to the number of mini LED lamp beads. Because this embodiment mainly adjusts the brightness of the mini LED lamp beads, the most delicate adjustment accuracy can be achieved by controlling each mini LED lamp bead, so the maximum value of N is equal to the number of mini LED lamp beads. Since the mini LED lamp beads are usually evenly distributed on the back of the display device to provide background light, it is preferred to use the position of the mini LED lamp bead as the center, or the geometric center of multiple mini LED lamp beads as the center as the area center of the local display screen where the display screen of the display device is divided into N parts, so that a more uniform mini LED backlight adjustment effect can be obtained in subsequent steps. For example, please refer to Figure 6 , the screen resolution of the display device is X×Y pixels, where X and Y are positive integers greater than 0, and then X horizontal pixels are evenly divided into several parts, and Y vertical pixels are evenly divided into several parts, and each of the equally divided images has a number of pixels composed of red R, green G, and blue B sub-pixels (such as Figure 6 A pixel point "R 11 , G 11 , B 11 ”), each divided image has at least one mini LED lamp bead behind it. In actual applications, the specific value of N equal divisions can also be selected according to the computing power of the processor in the display device. The larger the specific value of N equal divisions, the better the correction and compensation effect.
[0097] 205. Each partial display screen is regarded as a display screen of the display device.
[0098] Since step 204 of this embodiment divides the display screen of the display device into N parts in order to obtain a more delicate mini LED backlight adjustment effect and reduce the color coordinate offset caused by the mini LED backlight, this step requires that each local display screen of the display device be divided into N parts and be regarded as the display screen of the display device, so that the subsequent steps can perform independent color coordinate offset adjustment on each local display screen.
[0099] 206. Calculate the total brightness level value of the display image.
[0100] Specifically, assuming that each (partial) display screen in step 205 has X×Y pixels, where X and Y are both positive integers greater than 0, the calculation process of the total brightness level value Lv of the (partial) display screen is as follows:
[0101]
[0102] Among them, Lv represents the total brightness level of the display screen, R AB Indicates the brightness level of the red pixel of the target pixel in the display image, G AB Indicates the brightness level of the green pixel of the target pixel in the display image; B AB Indicates the brightness level of the blue pixel of the target pixel in the display image.
[0103] 207. Convert the total brightness level value into a white window occupancy ratio of the display screen.
[0104] Specifically, the process of converting the total brightness level value Lv in step 206 into the white window occupancy ratio P of the display screen is as follows:
[0105]
[0106] Wherein, P represents the proportion of the white window in the display image, Lv represents the total brightness level value of the display image, and X and Y represent the number of X×Y pixels in the display image.
[0107] 208. Determine a color coordinate target offset in the display image in a preset color coordinate difference lookup table according to the white window occupation ratio.
[0108] The execution of this step is the same as the above Figure 1 Step 102 in the embodiment is similar, and the repeated parts are not repeated here.
[0109] It should be noted that when the white window occupancy ratio calculated in step 207 does not have a directly corresponding value in the preset color coordinate difference lookup table, the principle of proximity to the value can be used to determine a closest white window occupancy ratio in the preset color coordinate difference lookup table, and then determine the color coordinate target offset in the display screen.
[0110] 209. Adjust the current color coordinates of the display screen according to the color coordinate target offset to obtain the target color coordinates.
[0111] The execution of this step is the same as the above Figure 1 Step 103 in the embodiment is similar, and the repeated parts are not repeated here.
[0112] 210. Merge N partial display images corresponding to the target color coordinates to obtain a target display image of the display device.
[0113] When step 204 divides the display screen of the display device into N parts, and N is a positive integer greater than 1, each local display screen will independently adjust the color coordinates through steps 206 to 209, so that each local display screen is adjusted from the current color coordinates to the target color coordinates, and the target color coordinates are the same or similar to the color coordinates of the full-scale white window in the color coordinate difference lookup table, that is, the mini LED backlight adjustment effects behind all local display screens are the same or similar to the color coordinates of the full-scale white window set at the factory. In order to achieve simultaneous adjustment of N equally divided local display screens in the display device, this step merges the local display screens corresponding to the target color coordinates of the N parts to obtain the target display screen of the display device, and then uniformly outputs and displays the target display screen, so that the consistency of the entire display screen of the display device executing the color coordinate adjustment method of this application is better.
[0114] In fact, the color coordinate adjustment method of this embodiment is not only applicable to display devices of the broadcast television monitor type, but can also be applied to display devices in the fields of mini LED TVs, mini LED medical displays, etc. that have high requirements for image quality.
[0115] The above embodiment describes the color coordinate adjustment method of the present application. The following describes the color coordinate adjustment device of the present application. Figure 3 , an embodiment of the color coordinate adjustment device of the present application includes:
[0116] A calculation unit 301 is configured to calculate a white window occupancy ratio of a display screen of the display device;
[0117] a determining unit 302 configured to determine a target color coordinate offset in the display image from a preset color coordinate difference lookup table according to the white window occupancy ratio, wherein the color coordinate difference lookup table records color coordinate offsets between color coordinates at different white window occupancy ratios and color coordinates at a 100% white window occupancy ratio, and the target color coordinate offset is one type of the color coordinate offset;
[0118] The adjusting unit 303 is configured to adjust the current color coordinates of the display image according to the color coordinate target offset to obtain target color coordinates.
[0119] The operation of the color coordinate adjustment device of this embodiment is the same as that of the aforementioned Figure 1 The operations performed in the embodiment are similar and will not be described again here.
[0120] See also Figure 4 , another embodiment of the color coordinate adjustment device of the present application includes:
[0121] A calculation unit 401 is configured to calculate a white window occupancy ratio of a display screen of the display device;
[0122] a determining unit 402 configured to determine a target color coordinate offset in the display image based on the white window occupancy ratio in a preset color coordinate difference lookup table, wherein the color coordinate difference lookup table records color coordinate offsets between color coordinates at different white window occupancy ratios and color coordinates at a 100% white window occupancy ratio, and the target color coordinate offset is a type of the color coordinate offset;
[0123] The adjusting unit 403 is configured to adjust the current color coordinates of the display image according to the color coordinate target offset to obtain target color coordinates.
[0124] Optionally, when the calculation unit 401 calculates the proportion of white windows occupying the display screen of the display device, it is specifically configured to:
[0125] Calculating the total brightness level of the display image;
[0126] The sum of the brightness level values is converted into a white window occupancy ratio of the display image.
[0127] Optionally, when the calculation unit 401 calculates the sum of the brightness level values of the display image, it is specifically configured to:
[0128] The display screen has X×Y pixels, where X and Y are both positive integers greater than 0;
[0129]
[0130] The Lv represents the total brightness level value of the display screen;
[0131] The R AB represents the brightness level value of the red pixel of the target pixel in the display image;
[0132] The G AB A brightness level value of a green pixel representing a target pixel in the display image;
[0133] The B AB Represents the brightness level value of the blue pixel of the target pixel in the display image;.
[0134] Optionally, when the calculation unit 401 converts the sum of the brightness level values into a white window occupancy ratio of the display screen, it is specifically configured to:
[0135]
[0136] P represents the proportion of the white window in the display image;
[0137] The Lv represents the total brightness level value of the display screen;
[0138] The X and the Y indicate that there are X×Y pixels in the display screen.
[0139] Optionally, the device further includes:
[0140] A dividing unit 404 is configured to divide the display screen of the display device into N parts to obtain N parts of the partial display screen, where N is a positive integer greater than 0;
[0141] a treating unit 405, configured to treat each partial display image as a display image of the display device;
[0142] The triggering unit 406 is configured to trigger the step of calculating the proportion of the white window occupying the display screen of the display device.
[0143] Optionally, the device further includes:
[0144] The merging unit 407 is configured to merge N portions of the local display images corresponding to the target color coordinates to obtain a target display image of the display device.
[0145] Optionally, the device further includes:
[0146] A testing unit 408 is configured to test the brightest color coordinates of a display screen of the display device when the display screen is in a state where the white window occupies 100% of the screen area;
[0147] The testing unit 408 is further configured to test other color coordinates of a display screen of the display device in a K% white window occupancy ratio state, where K is a positive number greater than or equal to 0 and less than 100;
[0148] The calculation unit 401 is further configured to calculate a color coordinate offset between the brightest color coordinate and each of the other color coordinates to obtain the color coordinate difference lookup table.
[0149] The operation of the color coordinate adjustment device of this embodiment is the same as that of the aforementioned Figure 2 The operations performed in the embodiment are similar and will not be described again here.
[0150] The computer device in the embodiment of the present application is described below. Figure 5 , an embodiment of the computer device in the embodiment of the present application includes:
[0151] The computer device 500 may include one or more processors (central processing units, CPU) 501 and a memory 502, in which one or more applications or data are stored. The memory 502 is a volatile storage or a persistent storage. The program stored in the memory 502 may include one or more modules, each of which may include a series of instruction operations on the computer device. Furthermore, the processor 501 may be configured to communicate with the memory 502 and execute a series of instruction operations in the memory 502 on the computer device 500. The computer device 500 may also include one or more wireless network interfaces 503, one or more input and output interfaces 504, and / or one or more operating systems, such as Windows Server, Mac OS, Unix, Linux, FreeBSD, etc. The processor 501 may execute the aforementioned Figure 1 or Figure 2 The operations performed in the illustrated embodiment will not be described in detail here.
[0152] In addition, the functional units in the various embodiments of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. 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, which is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0153] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements or improvements made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A color coordinate adjustment method, applied to a display device, characterized in that: include: Calculate the proportion of white windows occupied by the display screen of the display device; Determining a target color coordinate offset in the display image in a preset color coordinate difference lookup table according to the white window occupancy ratio, wherein the color coordinate difference lookup table records color coordinate offsets between color coordinates at different white window occupancy ratios and color coordinates at a 100% white window occupancy ratio, and the target color coordinate offset is a type of the color coordinate offset; Adjusting the current color coordinates of the display image according to the color coordinate target offset to obtain the target color coordinates; Calculating the proportion of white windows occupied by the display screen of the display device includes: Calculating the total brightness level of the display image; Converting the sum of the brightness level values into a white window occupancy ratio of the display screen; Calculating the sum of the brightness level values of the display image includes: The display screen has X×Y pixels, where X and Y are both positive integers greater than 0; described Represents the total brightness level value of the display screen; described represents the brightness level value of the red pixel of the target pixel in the display image; described A brightness level value of a green pixel representing a target pixel in the display image; described A luminance level value of a blue pixel representing a target pixel in the display image; Converting the sum of the brightness level values into a white window occupancy ratio of the display screen includes: described Indicates the proportion of the white window on the display screen; described Represents the total brightness level value of the display screen; The X and the Y indicate that there are X×Y pixels in the display screen.
2. The color coordinate adjustment method according to claim 1, wherein: Before calculating the white window occupancy ratio of the display screen of the display device, the method further includes: Dividing the display screen of the display device into N parts to obtain N parts of the partial display screen, where N is a positive integer greater than 0; Each partial display screen is regarded as a display screen of the display device; The step of calculating the proportion of the white window occupying the display screen of the display device is triggered.
3. The color coordinate adjustment method according to claim 2, wherein: After obtaining the target color coordinates, the method further includes: The N partial display images corresponding to the target color coordinates are merged to obtain the target display image of the display device.
4. The color coordinate adjustment method according to claim 2, wherein: Before dividing the display screen of the display device into N parts, the method further includes: Testing the brightest color coordinates of a display screen of the display device when the white window occupies 100% of the display screen; Testing other color coordinates of a display screen of the display device in a state where the white window occupies K% of the display screen, where K is a positive number greater than or equal to 0 and less than 100; The color coordinate offset between the brightest color coordinate and each of the other color coordinates is calculated to obtain the color coordinate difference lookup table.
5. A color coordinate adjustment device, characterized in that: include: A calculation unit, configured to calculate a white window occupancy ratio of a display screen of a display device; a determining unit, configured to determine a target color coordinate offset in the display image from a preset color coordinate difference lookup table according to the white window occupancy ratio, wherein the color coordinate difference lookup table records color coordinate offsets between color coordinates at different white window occupancy ratios and color coordinates at a 100% white window occupancy ratio, and the target color coordinate offset is a type of the color coordinate offset; an adjusting unit, configured to adjust the current color coordinates of the display image according to the color coordinate target offset to obtain target color coordinates; When the calculation unit calculates the proportion of the white window occupying the display screen of the display device, it is specifically used to: Calculating the total brightness level of the display image; Converting the sum of the brightness level values into a white window occupancy ratio of the display screen; When the calculation unit calculates the sum of the brightness level values of the display screen, it is specifically used to: The display screen has X×Y pixels, where X and Y are both positive integers greater than 0; described Represents the total brightness level value of the display screen; described represents the brightness level value of the red pixel of the target pixel in the display image; described A brightness level value of a green pixel representing a target pixel in the display image; described A luminance level value of a blue pixel representing a target pixel in the display image; When the calculation unit converts the sum of the brightness level values into the white window occupancy ratio of the display screen, it is specifically used to: described Indicates the proportion of the white window on the display screen; described Represents the total brightness level value of the display screen; The X and the Y indicate that there are X×Y pixels in the display screen.
6. A computer device, characterized in that: include: Processor, memory, bus, input and output interface, network interface; The processor is connected to the memory, the input / output interface, and the network interface via the bus; The memory stores a program; When the processor executes the program stored in the memory, the color coordinate adjustment method according to any one of claims 1 to 4 is implemented.
7. A computer storage medium, characterized in that The computer storage medium stores instructions, and when the instructions are executed on a computer, the computer is caused to execute the color coordinate adjustment method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method and system for correcting color temperature of display device
CN101894541A
Display device and color coordinate adjusting method thereof
CN113053323A