LED screen color calibration method and device

By constructing a mapping table to automatically calibrate the LED screen color, the problem of manual manual calibration in the prior art is solved, and efficient and accurate screen color calibration is achieved.

CN120279836APending Publication Date: 2025-07-08SHENZHEN LIDING PHOTOELECTRIC TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510374349.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

The existing LED screen color calibration technology relies on manual adjustment, which is time-consuming and labor-intensive and has low accuracy, especially when cameras are shooting in complex environments.

Method used

By obtaining the original RGB value of the screen, it is automatically calibrated using a pre-built mapping table. The mapping table is constructed from color blocks and grayscale blocks in the solid color card picture to achieve automatic mapping and calibration of RGB values.

Benefits of technology

Improves the efficiency and accuracy of LED screen color calibration, reduces manual intervention, and ensures the accuracy and consistency of calibration results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120279836A_ABST
    Figure CN120279836A_ABST
Patent Text Reader

Abstract

The invention provides an LED screen color calibration method and device. The method comprises the following steps: acquiring an original RGB value of a to-be-calibrated screen in a current environment; comparing the original RGB value of the to-be-calibrated screen with a pre-constructed mapping table, and determining a target RGB value of the to-be-calibrated screen according to a comparison result; and calibrating the color of the LED screen according to the target RGB value. According to the method provided by the invention, the color calibration efficiency and precision of the LED screen can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular, to a method and device for calibrating the color of an LED screen. Background Art

[0002] In current visual display technologies, the accuracy of screen color is crucial for ensuring that viewers obtain a high-quality visual experience. Especially in various environments such as the studios of radio and television stations, large event sites, commercial exhibitions, and home theaters, as the main visual display medium, the color performance of the LED screen directly affects the accurate transmission of information and the viewing experience of viewers.

[0003] Currently, the calibration of the color of an LED screen mainly relies on the fourteen-channel color adjustment technology. This technology allows users to adjust 14 predefined colors of the screen (including white, black, red, orange, yellow, lime green, green, turquoise, cyan, cobalt blue, blue, purple, magenta, scarlet) to achieve fine control of the screen color. However, this technology has obvious limitations: Using the fourteen-channel color adjustment technology for calibration requires operators to manually adjust each color one by one according to the deviation of the 14 predefined colors from the standard color. This process is not only time-consuming and laborious, but also requires a high level of technical proficiency from the operators. Even experienced operators find it difficult to ensure that all colors can be accurately adjusted to the standard color. Especially for the studio pictures broadcast by radio and television stations, which are shot by on-site cameras. When the studio pictures contain display screens, due to the influence of the on-site lighting environment and the camera itself, the screen that has been adjusted to meet the studio standards will show color deviation after being shot and broadcast by the camera and displayed on the TV, thus reducing the calibration efficiency and accuracy. Summary of the Invention

[0004] The present invention provides a method and device for calibrating the color of an LED screen to solve the defect of low calibration efficiency of the LED screen color in the prior art and achieve automatic and high-precision calibration of the LED screen color.

[0005] The present invention provides a method for calibrating the color of an LED screen, including:

[0006] Obtaining the original RGB values of the screen to be calibrated in the current environment;

[0007] Comparing the original RGB values of the screen to be calibrated with a pre-constructed mapping table, and determining the target RGB values of the screen to be calibrated according to the comparison result;

[0008] Calibrating the color of the LED screen according to the target RGB values.

[0009] A method for calibrating the color of an LED screen provided by the present invention, the construction of the mapping table includes:

[0010] Under the current environment, use a calibrated camera to photograph a physical color card to obtain a physical color card picture; the physical color card includes: a plurality of color patches and a plurality of gray scale patches;

[0011] Extract the first RGB value corresponding to each color patch in the physical color card picture;

[0012] Obtain the screen color card picture played on the screen, and extract the second RGB value corresponding to each color patch in the screen color card picture; the screen color card picture is obtained by using the physical color card picture as the input source of the screen;

[0013] According to the first RGB value and the second RGB value, construct the mapping table; the mapping table includes: the original RGB value to be mapped and the mapped RGB value.

[0014] A method for calibrating the color of an LED screen provided by the present invention, the constructing the mapping table according to the first RGB value and the second RGB value includes:

[0015] Determine the specification of the mapping table;

[0016] According to the specification of the mapping table, determine the original RGB value to be mapped of the mapping table;

[0017] Convert the original RGB value to be mapped into the original HSV value to be mapped;

[0018] Judge whether each original RGB value to be mapped is adjacent to the gray scale color; if adjacent, among the several gray scale patches of the physical color card, obtain the interpolation V value by interpolating the V value of the corresponding original HSV value to be mapped; and update the original HSV value to be mapped according to the interpolation V value, so as to obtain the first mapped HSV value corresponding to the original HSV value;

[0019] If not adjacent, respectively obtain the interpolation H value by interpolating the H value of each remaining original HSV value among the several color patches of the physical color card, and update the corresponding remaining original HSV value according to the interpolation H value, so as to obtain the second mapped HSV value corresponding to each remaining original HSV value;

[0020] Convert all the first mapped HSV values and all the second mapped HSV values into mapped RGB values, so as to obtain the mapped RGB values of the mapping table;

[0021] Construct the mapping table according to the corresponding relationship between the original RGB value to be mapped and the mapped RGB value of the mapping table.

[0022] A method for calibrating the color of an LED screen provided by the present invention, wherein determining whether each of the original RGB values to be mapped is adjacent to a gray scale color includes:

[0023] When the original RGB value to be mapped satisfies at least one of the following conditions, the original RGB value to be mapped is adjacent to a gray scale color;

[0024] Condition 1: The saturation S of the original HSV value is < 0.05;

[0025] Condition 2: The maximum value of the original RGB value to be mapped is max, the minimum value is min, and max - min < 10;

[0026] Condition 3: All the original RGB values to be mapped are less than 10.

[0027] A method for calibrating the color of an LED screen provided by the present invention, wherein converting all the first mapped HSV values and all the second mapped HSV values into mapped RGB values to obtain the mapped RGB values of the mapping table includes:

[0028] Performing boundary processing on the mapped RGB values:

[0029] If any one of the R value, G value, or B value of the mapped RGB value is less than 0, the corresponding value less than 0 is set to 0;

[0030] If any one of the R value, G value, or B of the mapped RGB value is greater than 1.0, the corresponding value greater than 1.0 is set to 1.0.

[0031] A method for calibrating the color of an LED screen provided by the present invention, wherein comparing the original RGB value of the screen to be calibrated with a pre - constructed mapping table, and determining the target RGB value of the screen to be calibrated according to the comparison result includes:

[0032] From the original RGB values to be mapped in the mapping table, obtaining the original interpolated RGB value of the screen to be calibrated by interpolating the original RGB value of the screen to be calibrated;

[0033] According to the original interpolated RGB value of the screen to be calibrated, using the mapping relationship of the mapping table to obtain the target RGB value of the screen to be calibrated.

[0034] The present invention also provides a device for calibrating the color of an LED screen, including:

[0035] An acquisition unit for acquiring the original RGB value of the screen to be calibrated in the current environment;

[0036] A comparison unit, configured to compare the original RGB values of the screen to be calibrated with a pre-constructed mapping table, and determine the target RGB values of the screen to be calibrated according to the comparison result;

[0037] A calibration unit, configured to calibrate the color of the LED screen according to the target RGB values.

[0038] The present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the calibration method for the color of the LED screen as described in any one of the above is implemented.

[0039] The present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the calibration method for the color of the LED screen as described in any one of the above is implemented.

[0040] The present invention further provides a computer program product, including a computer program. When the computer program is executed by a processor, the calibration method for the color of the LED screen as described in any one of the above is implemented.

[0041] The calibration method and device for the color of the LED screen provided by the present invention, by using a calibrated camera to capture a physical color card in the current environment and obtain the first RGB values of the physical color card; by extracting the second RGB values of the screen color card picture and constructing a mapping table using the first RGB values and the second RGB values, a mapping table with higher accuracy can be constructed. By using the pre-constructed mapping table to compare the RGB values of the screen to be calibrated, the target RGB values of the screen to be calibrated can be obtained, and the color of the LED screen can be calibrated using the target RGB values, which not only improves the calibration efficiency of the LED screen but also improves the calibration accuracy of the LED screen. Description of the Drawings

[0042] Figure 1 It is a flowchart of the calibration method for the color of the LED screen provided by the present invention;

[0043] Figure 2 It is a schematic diagram of the mapping table construction process provided by the present invention;

[0044] Figure 3 It is a schematic diagram of the composition of the color blocks of the physical color card picture provided by the present invention;

[0045] Figure 4 It is a schematic diagram of the calibration method for the color of the LED screen provided by the embodiments of the present invention;

[0046] Figure 5 It is a schematic diagram of the structure of the calibration device for the color of the LED screen provided by the present invention;

[0047] Figure 6 It is a schematic structural diagram of the electronic device provided by the present invention. Detailed implementation manners

[0048] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without creative efforts shall fall within the protection scope of the present invention.

[0049] Figure 1 It is a flowchart of the method for calibrating the color of the LED screen provided by the present invention. As Figure 1 shown, it includes the following steps:

[0050] Step 101: Obtain the original RGB values of the screen to be calibrated in the current environment.

[0051] Specifically, use a calibrated camera to photograph the screen to be calibrated to obtain an image of the screen to be calibrated; extract the RGB values of the image of the screen to be calibrated to obtain the original RGB values of the screen to be calibrated.

[0052] Step 102: Compare the original RGB values of the screen to be calibrated with a pre-constructed mapping table, and determine the target RGB values of the screen to be calibrated according to the comparison result.

[0053] Step 103: Calibrate the color of the LED screen according to the target RGB values.

[0054] Specifically, the pre-constructed mapping table is in the form of: original RGB value to be mapped → mapped RGB value. The present invention interpolates the RGB values of the screen to be calibrated among the original RGB values to be mapped, so as to obtain an interpolated RGB value of the screen to be calibrated. Then, according to the mapping relationship of the mapping table, the mapped RGB value corresponding to the interpolated RGB value of the screen to be calibrated is obtained, and this mapped RGB value is the target RGB value of the screen to be calibrated.

[0055] Since the prior art uses a fourteen-channel color adjustment technology to calibrate the screen color, it requires human eyes to observe and manually calibrate each color one by one according to the deviation of 14 predefined colors observed by human eyes from the standard color. Therefore, the calibration efficiency is low. To solve this problem, the present application only needs to capture an image of the screen in the current environment and extract the RGB values of the screen image, and then the target RGB values for calibration can be obtained by applying a pre-constructed mapping table, thereby realizing automatic calibration of the LED screen color, eliminating the process of human eyes observing each color and manually calibrating one by one, and thus effectively improving the calibration efficiency. On the other hand, since the original RGB values to be mapped in the mapping table are obtained by interpolating the color values of the color blocks and gray scale blocks on the physical color card picture, and the physical color card in the present application consists of 28 color blocks and 11 gray scale blocks, the number of color blocks and gray scale blocks is large enough, so the samples for establishing interpolation are also sufficient, and the calibration result is more accurate.

[0056] The following introduces how to construct the mapping table. As Figure 2 shown, it specifically includes the following steps:

[0057] Step 201: In the current environment, use a calibrated camera to capture a physical color card to obtain a physical color card picture; the physical color card includes: a plurality of color blocks and a plurality of gray scale blocks.

[0058] Specifically, first, the camera needs to be calibrated. The calibration method is: with the help of the physical color card, use relevant camera color calibration technologies to perform white balance and color calibration on the camera so that the captured picture by the camera can accurately reflect the colors in the real environment. Among them, the physical color blocks are purchased standard products. The color blocks are the same color in blocks on the color card. In the embodiment of the present invention, the physical color card includes: 11 gray scale blocks and 28 color blocks.

[0059] In addition, it should be noted that: in the embodiment of the present invention, the current environment is the environment of a studio hall. Of course, it can also be other environments, such as; large event sites, commercial exhibitions, home theaters, etc., and the present invention does not limit this.

[0060] Step 202: Extract the first RGB value corresponding to each color block in the physical color card picture.

[0061] Specifically, take the physical color card picture, find the four corner points of the physical color card through adaptive threshold segmentation and edge detection, and after performing perspective transformation to straighten the image, the positions of each color block and gray scale block can be located in the image according to the position and size information of the color blocks on the color card (as Figure 3As shown in the figure, in the embodiment of the present invention, it includes 28 color patches around and 11 gray-scale patches in the middle, and the average RGB value of all pixels in a part of each patch is taken as the first RGB value corresponding to each patch.

[0062] Step 203: Obtain the screen color card picture played on the screen, and extract the second RGB value corresponding to each patch in the screen color card picture; the screen color card picture is obtained by using the physical color card picture as the input source of the screen.

[0063] Specifically, play the electronic picture of the physical color card on the screen (the electronic picture here is a standard electronic picture drawn by drawing software, and the color values of the patches on the electronic picture are consistent with the color values of the patches on the physical color card), and use a camera to take pictures of the electronic picture played on the screen (hereinafter referred to as the screen color card picture for short). By using the method of extracting the RGB value of each patch on the physical color card picture in step 102, the RGB value of each patch on the screen color card picture is extracted, so as to obtain the second RGB value corresponding to each patch in the screen color card picture.

[0064] Step 204: Construct a mapping table according to the first RGB value and the second RGB value, and the mapping table includes: the original RGB value to be mapped and the mapped RGB value.

[0065] Specifically, the mapping table of this application is a Look Up Table (hereinafter referred to as: LUT) mapping table, and its essence is a mapping relationship. The 3D LUT inputs colors (R, G, B), and through the LUT to find, a new color (R’, G’, B’) is obtained, then a mapping operation is completed. Calculate the mapped colors of all 3D LUT input colors, and a 3D LUT table can be established.

[0066] In the embodiment of the present invention, the screen color card picture is obtained by using the physical color card picture as the input source, which means that there is a direct corresponding relationship between the physical color card picture and the screen color card picture in terms of color content. Therefore, by comparing the first RGB value in the physical color card picture and the second RGB value in the screen color card picture, a mapping relationship between color spaces can be established, and this mapping relationship can accurately reflect the conversion law from physical color to screen color, thereby improving the accuracy of mapping. In addition, since the physical color card picture is taken by a calibrated camera in the current environment, it can truly reflect the influence of light, color temperature and other conditions on colors in this environment, so that the first RGB value can more accurately reflect the color of the color card in the current environment. Therefore, using the first RGB value obtained in the embodiment of the present invention to construct the mapping table can further improve the accuracy of mapping.

[0067] The LED screen color calibration method provided by the present invention uses a calibrated camera to capture a physical color card in the current environment and obtain the first RGB value of the physical color card. By extracting the second RGB value of the screen color card picture and using the first RGB value and the second RGB value to construct a mapping table, a mapping table with higher mapping accuracy can be constructed, thereby further improving the calibration accuracy of the screen.

[0068] Further, the construction of the mapping table based on the first RGB value and the second RGB value is introduced below, which specifically includes the following steps:

[0069] Step 1: Determine the specification of the mapping table.

[0070] Specifically, the specification of the mapping table can be determined according to actual needs. It can be a 17-bit LUT table or a 33-bit LUT table. In the embodiment of the present invention, a 33*33*33 LUT table is selected. The larger the size of the LUT, the higher the calibration accuracy, and at the same time, the larger the file size of the LUT table. However, the larger the file, the lower the mapping efficiency. In order to balance the calibration accuracy and the mapping efficiency in this application, a 33*33*33 LUT table is used. Calibrating the screen with this 33*33*33 LUT table can significantly reduce the error compared with the manual adjustment method.

[0071] Step 2: According to the specification of the mapping table, determine the original RGB values to be mapped in the mapping table.

[0072] Specifically, when the specification of the mapping table is 33*33*33, the LUT table has 33*33*33 = 35937 original RGB values to be mapped, which are (0, 0, 0), (8, 0, 0), (16, 0, 0)... (255, 0, 0), (0, 8, 0), (8, 8, 0), (16, 8, 0)... (255, 255, 255), a total of 35937 original RGB values to be mapped.

[0073] Step 3: Convert the original RGB values to be mapped into original HSV values to be mapped.

[0074] Specifically, in the embodiment of the present invention, the original RGB values to be mapped are normalized to obtain normalized original RGB values to be mapped, and then the normalized original RGB values to be mapped are converted into original HSV values to be mapped in the following manner:

[0075]

[0076] Step 4: Determine whether each of the original RGB values to be mapped is adjacent to a grayscale color; if it is adjacent, among the several grayscale color patches of the physical color card, obtain an interpolated V value by interpolating the V value of the corresponding original HSV value to be mapped; and update the original HSV value to be mapped according to the interpolated V value, so as to obtain the first mapped HSV value corresponding to the original HSV value.

[0077] Specifically, by determining whether each original RGB value to be mapped is adjacent to a grayscale color, it is corresponding to the color patches and grayscale color patches in the physical color card picture. If it is adjacent to a grayscale color, the original HSV value to be mapped adjacent to the grayscale color is interpolated to obtain the first mapped HSV value corresponding to each original HSV value. For example, denote the V value of a certain original HSV value to be mapped as Vcur, and find the two color patches closest to Vcur among the HSV values corresponding to the known 11 grayscale color patches of the physical color card, and interpolate the HSV values of the two closest grayscale color patches to obtain the interpolated V value, so as to obtain the first mapped HSV value corresponding to this original HSV value according to the interpolated V value.

[0078] Step 5: If it is not adjacent, interpolate the H value of each remaining original HSV value among the several color patches of the physical color card to obtain an interpolated H value, and update the corresponding remaining original HSV value according to the interpolated H value, so as to obtain the second mapped HSV value corresponding to each remaining original HSV value.

[0079] Specifically, take the H value in a certain remaining original HSV value, denoted as H cur , and find the two color patches with the H value closest to H cur among the HSV values of the 28 color patches corresponding to the physical color card, and interpolate the HSV values of the two closest grayscale color patches to obtain the interpolated V value, and finally obtain the second mapped HSV value corresponding to this remaining original HSV value according to the interpolated V value.

[0080] Since when calculating the mapped value, it is necessary to determine between which two colors corresponding to the color patches the current value to be mapped is located, therefore, the result determined by using the hue angle H value is more accurate than the result determined by using the RGB value.

[0081] Step 6: Convert all the first mapped HSV values and all the second mapped HSV values into mapped RGB values, so as to obtain the mapped RGB values of the mapping table.

[0082] Specifically, in the embodiment of the present invention, the following method is adopted for conversion to obtain the mapped RGB values of the mapping table.

[0083]

[0084] p = V×(1 - S)

[0085] q = V×(1 - f×S)

[0086] t = V×(1 - (1 - f)×S)

[0087]

[0088] Step 7: Construct the mapping table according to the correspondence between the original RGB values to be mapped and the mapped RGB values in the mapping table.

[0089] On the one hand, for the LED screen color calibration method provided by the embodiments of the present invention, when converting the original RGB values to be mapped into the original HSV values to be mapped and then performing interpolation, the accuracy of interpolation can be effectively improved. On the other hand, by interpolating the V value or H value of the original HSV values to be mapped in the gray-scale color blocks and color blocks of the physical color card, the mapping accuracy of the mapping table can be effectively improved.

[0090] Furthermore, the implementation scheme for how to determine whether each original RGB value to be mapped is close to the gray-scale color is described below, specifically including:

[0091] When the original RGB value to be mapped satisfies at least one of the following conditions, the original RGB value to be mapped is close to the gray-scale color;

[0092] Condition 1: The saturation S of the original HSV value < 0.05.

[0093] Condition 2: The maximum value of the original RGB value to be mapped is max, the minimum value is min, and max - min < 10;

[0094] Condition 3: All the original RGB values to be mapped are less than 10.

[0095] Specifically, for Condition 1, saturation is the purity or intensity of a color. When the saturation is extremely low, the color tends to the gray-scale. Through this condition, colors close to the gray-scale can be accurately screened out. For Condition 2, since gray-scale colors are manifested as similar component values in the RGB space, colors that are gray-scale or close to gray-scale can be effectively identified through Condition 2. For Condition 3: However, in specific application scenarios (such as the recognition of dark details in image processing), by judging whether all the original RGB values to be mapped are less than 10 to determine whether the color is close to the extreme gray-scale of black, the judgment accuracy in the characteristic scenario can be effectively improved.

[0096] The LED screen color calibration method provided by the embodiments of the present invention can improve the accuracy of identifying adjacent gray levels by using at least one of the three conditions to determine whether the original RGB value to be mapped is adjacent to the gray level color, thereby further reducing the mapping error; and by accurately identifying the color of the adjacent gray level, the color processing flow can be simplified, thereby improving the mapping efficiency.

[0097] Further, in the process of converting the first mapped HSV value and the second mapped HSV value into a mapped RGB value, the following boundary processing needs to be performed:

[0098] If any one of the R value, G value, or B value of the mapped RGB value is less than 0, the corresponding value less than 0 is set to 0;

[0099] If any one of the R value, G value, or B value of the mapped RGB value is greater than 1.0, the corresponding value greater than 1.0 is set to 1.0.

[0100] Specifically, the value of each component (R, G, B) in the RGB color model is usually restricted to the range of 0 to 1.0. Through boundary processing, it is ensured that the converted RGB value always falls within this valid range, avoiding errors or unpredictable behaviors caused by values exceeding the range. On the other hand, in the conversion process from HSV to RGB, due to the complexity of mathematical operations, RGB values that exceed the valid range may sometimes be generated. Without boundary processing, this information may be lost or wrongly truncated. Through boundary processing, as much original information as possible can be retained to ensure the accuracy of the conversion.

[0101] The LED screen color calibration method provided by the embodiments of the present invention improves the accuracy of the mapping table through boundary processing.

[0102] The following introduces how to compare the original RGB value of the screen to be calibrated with the pre-constructed mapping table to obtain the target RGB value of the screen to be calibrated, which specifically includes the following solutions:

[0103] From the original RGB values to be mapped in the mapping table, the original RGB value of the screen to be calibrated is obtained by interpolation to get the original interpolated RGB value of the screen to be calibrated; according to the original interpolated RGB value of the screen to be calibrated, the target RGB value of the screen to be calibrated is obtained by using the mapping relationship of the mapping table.

[0104] Specifically, the present invention does not limit the specific way of interpolation, as long as accurate interpolation can be achieved. Taking trilinear interpolation as an example, the interpolation method provided by the embodiments of the present invention is introduced:

[0105] First, among the original RGB values to be mapped in the mapping table, find the 8 original RGB values in the mapping table that are closest to the original RGB values of the screen to be calibrated. Then, according to the spatial position relationship, perform linear interpolation to obtain the target RGB values of the screen to be calibrated. In the embodiments of the present invention, the interpolation algorithm is not limited to trilinear interpolation, and other methods such as tetrahedral interpolation can also be used.

[0106] Figure 4 Schematic diagram of the method for calibrating the color of the LED screen provided by the embodiment of the present invention, as Figure 4 shown. Taking the calibration of the screen in the studio environment as an example, the solution of the present invention will be introduced as a whole, including the following steps:

[0107] 1. Camera color calibration: With the help of a physical color card, use relevant camera color calibration techniques to perform white balance and color calibration on the camera, so that the images captured by the camera can accurately reflect the colors in the real environment;

[0108] 2. In the environment of the studio, take pictures of the physical color card;

[0109] 3. Take the picture of the physical color card. After finding the four corner points of the color card through adaptive threshold segmentation and edge detection, perform perspective transformation to straighten the image. Then, based on the position and size information of the color blocks on the color card, locate the positions of each color block (28 blocks around) and gray-scale block (11 blocks in the middle) in the image, and take the RGB average value of all pixels in a part of each block as the finally extracted color value of the block;

[0110] 4. Play the electronic picture of the color card on the screen, use the camera to take pictures of the color card on the screen, and extract the color (RGB value) of the color blocks on the color card picture of the screen. According to the mapping relationship between the RGB values of the color blocks in the physical color card picture and the RGB values of the color blocks in the color card picture on the screen, calculate a 3D LUT table and apply it to the screen to automatically achieve color calibration.

[0111] The method for calibrating the color of the LED screen provided by the present invention compares the RGB values of the screen to be calibrated by using a pre-constructed mapping table, so as to obtain the target RGB values of the screen to be calibrated, and uses the target RGB values to calibrate the color of the LED screen, which not only improves the calibration efficiency of the LED screen, but also improves the calibration accuracy of the LED screen.

[0112] The present invention also provides a device for calibrating the color of an LED screen, Figure 5 Schematic diagram of the structure of the device for calibrating the color of the LED screen provided by the present invention, as Figure 5 shown. The device includes:

[0113] An acquisition unit 501, configured to acquire the RGB values of the screen to be calibrated in the current environment;

[0114] A comparison unit 502 is configured to compare the RGB values of the screen to be calibrated with a pre-constructed mapping table, and determine the target RGB values of the screen to be calibrated according to the comparison result;

[0115] A calibration unit 503 is configured to calibrate the color of the LED screen according to the target RGB values.

[0116] Figure 6 An example of a schematic physical structure diagram of an electronic device is shown as Figure 6 shown. The electronic device may include: a processor 610, a communication interface 620, a memory 630, and a communication bus 640. Among them, the processor 610, the communication interface 620, and the memory 630 communicate with each other through the communication bus 640. The processor 610 can call the logical instructions in the memory 630 to execute the method for calibrating the color of the LED screen. Among them,

[0117] The method for calibrating the color of the LED screen includes:

[0118] Obtaining the RGB values of the screen to be calibrated in the current environment;

[0119] Comparing the RGB values of the screen to be calibrated with a pre-constructed mapping table, and determining the target RGB values of the screen to be calibrated according to the comparison result;

[0120] Calibrating the color of the LED screen according to the target RGB values.

[0121] In addition, when the logical instructions in the above-mentioned memory 630 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0122] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the LED screen color calibration method provided by the above-mentioned various methods. Among them,

[0123] The LED screen color calibration method includes:

[0124] Obtain the RGB values of the screen to be calibrated in the current environment;

[0125] Compare the RGB values of the screen to be calibrated with a pre-constructed mapping table, and determine the target RGB values of the screen to be calibrated according to the comparison result;

[0126] Calibrate the color of the LED screen according to the target RGB values.

[0127] On another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the LED screen color calibration method provided by the above-mentioned various methods. Among them,

[0128] The LED screen color calibration method includes:

[0129] Obtain the RGB values of the screen to be calibrated in the current environment;

[0130] Compare the RGB values of the screen to be calibrated with a pre-constructed mapping table, and determine the target RGB values of the screen to be calibrated according to the comparison result;

[0131] Calibrate the color of the LED screen according to the target RGB values.

[0132] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative labor.

[0133] 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 necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solutions, in essence, or the part that contributes to the prior art 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.

[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has 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 described in the foregoing embodiments or perform equivalent replacements for some of the technical features. And these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has 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 described in the foregoing embodiments or perform equivalent replacements for some of the technical features. And these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for calibrating the color of an LED screen, characterized in that, Including: Obtain the original RGB values of the screen to be calibrated in the current environment; Compare the original RGB values of the screen to be calibrated with a pre-constructed mapping table, and determine the target RGB values of the screen to be calibrated according to the comparison results; Calibrate the color of the LED screen according to the target RGB values.

2. The calibration method of the LED screen color according to claim 1, wherein The construction of the mapping table includes: In the current environment, use a calibrated camera to capture a physical color card to obtain a physical color card picture; the physical color card includes: several color patches and several gray scale patches; Extract the first RGB value corresponding to each color patch in the physical color card picture; Obtain the screen color card picture played on the screen, and extract the second RGB value corresponding to each color patch in the screen color card picture; the screen color card picture is obtained by using the physical color card picture as the input source of the screen; Construct the mapping table according to the first RGB value and the second RGB value; the mapping table includes: the original RGB value to be mapped and the mapped RGB value.

3. The calibration method for the color of the LED screen according to claim 2, characterized in that, The constructing the mapping table according to the first RGB value and the second RGB value includes: Determine the specification of the mapping table; Determine the original RGB value to be mapped of the mapping table according to the specification of the mapping table; Convert the original RGB value to be mapped into the original HSV value to be mapped; Judge whether each original RGB value to be mapped is adjacent to the gray scale color; if adjacent, among the several gray scale patches of the physical color card, obtain the interpolated V value by interpolating the V value of the corresponding original HSV value to be mapped, and update the original HSV value to be mapped according to the interpolated V value, so as to obtain the first mapped HSV value corresponding to the original HSV value; If not adjacent, respectively interpolate the H value of each remaining original HSV value among the several color patches of the physical color card to obtain the interpolated H value, and update the corresponding remaining original HSV value according to the interpolated H value, so as to obtain the second mapped HSV value corresponding to each remaining original HSV value; Convert all the first mapped HSV values and all the second mapped HSV values into mapped RGB values, so as to obtain the mapped RGB values of the mapping table; Construct the mapping table according to the corresponding relationship between the original RGB value to be mapped and the mapped RGB value of the mapping table.

4. The calibration method for the color of the LED screen according to claim 3, characterized in that The judging whether each original RGB value to be mapped is adjacent to the gray scale color includes: When the original RGB value to be mapped satisfies at least one of the following conditions, the original RGB value to be mapped is adjacent to the gray scale color; Condition 1: The saturation S of the original HSV value < 0.05; Condition 2: The maximum value of the original RGB value to be mapped is max, the minimum value is min, and max - min < 10; Condition 3: The original RGB values to be mapped are all less than 10.

5. The calibration method of the LED screen color according to claim 3, characterized in that, The converting all the first mapped HSV values and all the second mapped HSV values into mapped RGB values, so as to obtain the mapped RGB values of the mapping table includes: Perform boundary processing on the mapped RGB values: If any one of the R value, G value or B value of the mapped RGB value is less than 0, set the corresponding value less than 0 to 0; If any one of the R value, G value, or B value of the mapped RGB value is greater than 1.0, the corresponding value greater than 1.0 is set to 1.

0.

6. The calibration method for the color of the LED screen according to claim 2, characterized in that The comparison of the original RGB value of the screen to be calibrated with the pre-constructed mapping table and the determination of the target RGB value of the screen to be calibrated according to the comparison result include: From the original RGB values to be mapped in the mapping table, the original RGB value of the screen to be calibrated is interpolated to obtain the original interpolated RGB value of the screen to be calibrated; According to the original interpolated RGB value of the screen to be calibrated, the target RGB value of the screen to be calibrated is obtained by using the mapping relationship of the mapping table.

7. A calibration device for the color of an LED screen, characterized in that, Includes: An acquisition unit for acquiring the original RGB value of the screen to be calibrated in the current environment; A comparison unit for comparing the original RGB value of the screen to be calibrated with the pre-constructed mapping table and determining the target RGB value of the screen to be calibrated according to the comparison result; A calibration unit for calibrating the color of the LED screen according to the target RGB value.

8. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the calibration method for the color of the LED screen according to any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the calibration method for the color of the LED screen according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the calibration method for the color of the LED screen according to any one of claims 1 to 6.