A method, apparatus, electronic terminal, and storage medium for color cloning calibration of a display.
By acquiring and calculating the color data and LCD panel feature data of the display, a 3D-LUT table for adjusting compensation values is generated, solving the problem of color cloning calibration of the display and realizing simple color matching without external devices.
Patent Information
- Application Number
- CN202510388778.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2045-03-31
AI Technical Summary
Existing technologies make it difficult to quickly achieve color cloning calibration of displays, especially in the field of endoscopic surgical displays, which requires expensive professional equipment and complex operations, and cannot quickly replicate the color display effect of standard samples.
By acquiring the color data and LCD panel feature data of the target standard sample display, the color difference is calculated and a compensation value is generated. The 3D-LUT table is adjusted to generate new LCD driving level data and drive the LCD to rotate to achieve color cloning calibration.
Color cloning calibration of displays can be achieved without external equipment, achieving the same color display effect as the target standard sample, simplifying the operation process and reducing costs.
Smart Images

Figure CN119943002B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of display technology, and in particular to a display color cloning calibration method, apparatus, electronic terminal, and storage medium. Background Technology
[0002] In the field of color displays, there are many different color standards. Different color standards can be used to calibrate and present different color display effects. Different standards correspond to different application areas, such as Adobe RGB commonly used in professional graphic design, DCI-P3 in the film industry, sRGB used in the Windows operating system, BT.2020 used for 4K endoscopic images, and so on.
[0003] In addition, because different people have different sensitivities to color, color is highly subjective. That is, different people may see slightly different colors, and different people have different color preferences, which may result in different color calibration effects on the monitor.
[0004] In the above situations, there may be a need to add / replace a new calibration standard for the monitor, or a need to adjust the display effect against a standard sample monitor, i.e., a cloning calibration requirement. Currently, when encountering such requirements, calibration software running on a computer and a professional color analyzer are needed to achieve standard color calibration. However, adjusting the display effect against a standard sample monitor remains difficult, and such calibration software is virtually non-existent on the market. These calibration methods all require a computer, calibration software running on the computer, and an expensive professional color analyzer to meet some calibration requirements. This approach is complex to operate, has high requirements for equipment, is costly and inconvenient, and crucially, it is difficult to meet cloning calibration needs.
[0005] Color calibration and cloning calibration are needed not only in professional design and the film and television industry, but also in the field of endoscopic surgical displays, where color calibration, especially cloning calibration, is a widespread requirement. During endoscopic surgery, doctors rely on endoscopic monitors to view the surgical scene, including the condition of the surgical site, the assessment of lesions, and the operation of surgical instruments. The assessment of the surgical site and lesions depends on color display. Each doctor has their own preferred color judgment for organs, and there is usually one endoscopic monitor that is widely accepted by doctors (a standard sample). Other newly added endoscopic systems (including endoscopic monitors) need to be calibrated against this standard sample. Therefore, it is crucial for new endoscopic monitors to quickly clone and replicate the color display effect of the standard sample.
[0006] Therefore, there is an urgent need for a display color cloning calibration method to solve the above-mentioned technical problems. Summary of the Invention
[0007] The purpose of this invention is to overcome the shortcomings of the prior art and provide a display color cloning calibration method that can solve the technical problem that existing displays cannot quickly clone and reproduce the color display effect of standard samples.
[0008] To achieve the above objectives, the present invention is implemented using the following technical solution:
[0009] In a first aspect, the present invention provides a display color cloning calibration method, comprising:
[0010] Acquire the target color data for each color chart displayed on the target standard sample monitor;
[0011] Read the LCD panel feature data of the display to be calibrated stored in the 3D-LUT table;
[0012] Based on the target color data and liquid crystal panel feature data, the color difference between each target color data and each liquid crystal panel feature data is calculated respectively. According to the principle of minimizing color difference, the target liquid crystal panel feature data corresponding to each liquid crystal panel feature data is found. The compensation value is calculated based on the target liquid crystal panel feature data. A new 3D-LUT table is generated according to the compensation value and stored in the internal memory of the display to be calibrated.
[0013] Based on the video stream from the image input source and the new 3D-LUT table data, new liquid crystal driving level data is generated and input to the liquid crystal driving unit.
[0014] The liquid crystal driving unit drives and controls the rotation of the liquid crystal according to the liquid crystal driving level data, and displays the image on the display to be calibrated.
[0015] Furthermore, displaying the calibration color chart on the target standard sample monitor includes:
[0016] The color card generation unit generates a color card image, which is then sent to the video output unit. The video output unit outputs a video signal to the target standard sample display and displays it.
[0017] The video signal supports HDMI, DVI, DP and SDI interfaces.
[0018] Further, the color difference between each target color data and each liquid crystal panel feature data is calculated, and the target liquid crystal panel feature data is found according to the principle of minimizing color difference, including:
[0019] The color difference between each target color data and each LCD panel feature data is calculated using the following formula:
[0020] ,
[0021] in, The color difference value. 、 and This represents the brightness, red-green axis chromaticity index, and blue-yellow axis chromaticity index of the target color data in the Lab color space. 、 and The brightness, red-green axis color index, and blue-yellow axis color index represent the characteristic data of the liquid crystal panel in the Lab color space;
[0022] For each LCD panel feature data, the calculated color difference values are sorted by size to obtain the minimum color difference value, and the target color data corresponding to the minimum color difference value is used as the target LCD panel feature data for that LCD panel feature data.
[0023] Furthermore, generating a new 3D-LUT table based on the compensation value includes:
[0024] The data in the 3D-LUT table is interpolated based on the compensation value to generate a new color mapping relationship. The data in the 3D-LUT table is then adjusted based on the new color mapping relationship, and the adjusted data is stored as a new 3D-LUT table.
[0025] Furthermore, based on the video stream from the image input source and the new 3D-LUT table data, generating new liquid crystal drive level data includes:
[0026] Receive a video stream from an image input source, parse the video stream to obtain the color information of each pixel; input the color information into a new 3D-LUT table for lookup to obtain the output color value corresponding to the color information;
[0027] The output color values are converted into liquid crystal driving level data.
[0028] In a second aspect, the present invention provides a display color cloning calibration apparatus, comprising:
[0029] The target color data acquisition module is used to acquire the target color data of each color card image on the target standard sample display.
[0030] The calibration data acquisition module is used to read the liquid crystal panel feature data of the display to be calibrated stored in the 3D-LUT table;
[0031] The calibration module is used to calculate the color difference between each target color data and each liquid crystal panel feature data based on the target color data and the liquid crystal panel feature data, find the target liquid crystal panel feature data corresponding to each liquid crystal panel feature data according to the principle of minimum color difference, calculate the compensation value based on the target liquid crystal panel feature data, generate a new 3D-LUT table according to the compensation value and store it in the internal memory of the display to be calibrated.
[0032] The generation module is used to generate new liquid crystal driving level data based on the video stream of the image input source and the new 3D-LUT table data, and input the new liquid crystal driving level data to the liquid crystal driving unit;
[0033] The display module is used to drive and control the rotation of the liquid crystal according to the liquid crystal driving level data through the liquid crystal driving unit, and display the image in the display to be calibrated.
[0034] Thirdly, the present invention provides an electronic terminal, including a processor and a memory connected to the processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the method described in any of the preceding claims are performed.
[0035] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.
[0036] Compared with the prior art, the beneficial effects achieved by the present invention are as follows:
[0037] The display color cloning calibration method of the present invention acquires target color data and reads liquid crystal panel feature data. After calculating the color difference between the two, it finds the target liquid crystal panel feature data according to the principle of minimizing the color difference, and then generates and displays new liquid crystal driving level data. It can achieve the purpose of color cloning calibration without relying on external devices and software, and display the image in the display to be calibrated, so that the display can achieve the same color display effect as the target standard sample display. Attached Figure Description
[0038] Figure 1 This is a flowchart of a display color cloning calibration method provided in Embodiment 1 of the present invention;
[0039] Figure 2 This is a complete execution flowchart of a display color cloning calibration method provided in Embodiment 1 of the present invention. Detailed Implementation
[0040] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments and specific features in the embodiments are detailed descriptions of the technical solution of the present application, rather than limitations thereof. In the absence of conflict, the embodiments and technical features in the embodiments can be combined with each other.
[0041] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0042] Example 1:
[0043] Figure 1 This is a flowchart of the display color cloning calibration method according to Embodiment 1 of the present invention. This flowchart only illustrates the logical sequence of the method described in this embodiment. Provided there are no conflicts, different methods may be used in other possible embodiments of the present invention. Figure 1 Complete the steps shown or described in the order indicated.
[0044] The display color cloning calibration method provided in this embodiment can be applied to a terminal and can be executed by a display color gamut compression device. This device can be implemented in software and / or hardware and can be integrated into the terminal, such as any smartphone, tablet, or computer device with communication capabilities. See also... Figure 1 and Figure 2 As shown,
[0045] The method in this embodiment specifically includes the following steps:
[0046] Step 1: Display the calibration color chart on the target standard sample monitor:
[0047] The color card generation unit generates a color card image, which is then sent to the video output unit. The video output unit outputs a video signal to the target standard sample display and displays it.
[0048] The video signal mentioned above supports HDMI, DVI, DP and SDI interfaces;
[0049] Then, the color data acquisition unit drives the color sensor to acquire the target color data of the color card screen on the target standard sample display. Here, the "color card" screen refers to the color card screen required for color calibration, which includes R, G, B, mixed colors, and different combinations of R, G, and B gray levels. The specific color screen formed by different combinations of R (0-255 gray level range), G (0-255 gray level range), and B (0-255 gray level range) gray level values is as follows: (R=0, G=0, B=0) represents a completely black screen, (R=255, G=255, B=255) represents a white screen, and (R=255, G=0, B=0) represents a red screen.
[0050] Step 2: Read the liquid crystal panel feature data of the display to be calibrated stored in the 3D-LUT table, and send the target color data and liquid crystal panel feature data to the 3D-LUT table calculation unit;
[0051] Step 3: Control the 3D-LUT table calculation unit to use the target color data as the calibration target, query the liquid crystal panel feature data corresponding to the target color data one by one, calculate the color difference between each target color data and each liquid crystal panel feature data, and find the target liquid crystal panel feature data according to the principle of minimizing color difference, including:
[0052] The colors of each target color data and each LCD panel feature data are calculated using the following formula:
[0053] ,
[0054] in, The color difference value. 、 and This represents the brightness, red-green axis chromaticity index, and blue-yellow axis chromaticity index of the target color data in the Lab color space. 、 and The brightness, red-green axis color index, and blue-yellow axis color index represent the characteristic data of the liquid crystal panel in the Lab color space;
[0055] Additional explanation is needed regarding the target color data and LCD panel feature data, as they are both optical RGB data, thus enabling color difference calculations. RGB stands for red, green, and blue light.
[0056] For each LCD panel feature data, the calculated color difference values are sorted by size to obtain the minimum color difference value. The target color data corresponding to the minimum color difference value is used as the target LCD panel feature data of the LCD panel feature data, and the target LCD panel feature data corresponding to the minimum color difference is obtained.
[0057] The compensation value is calculated based on the target LCD panel feature data. The specific method for calculating the compensation value based on the target LCD panel feature data is existing technology, and this embodiment only provides a brief explanation. The specific calculation method includes, but is not limited to:
[0058] A mapping relationship is established between the feature data of the original LCD panel and the feature data of the target LCD panel. For example, if the RGB of the feature data of the original LCD panel is (100, 50, 30) and the feature data of the target LCD panel is (120, 70, 40), then the compensation value is the difference between the two (+20, +20, +10).
[0059] A new 3D-LUT table is generated based on the compensation value and stored in the internal memory of the display to be calibrated. The 3D-LUT table retrieval unit is controlled to retrieve the new 3D-LUT table data and send the new 3D-LUT table data to the pixel correction unit.
[0060] Generating a new 3D-LUT table based on the compensation value includes:
[0061] Based on the calculated compensation value, the data in the 3D-LUT table is adjusted. Specifically, the compensation value can be used as an adjustment factor to adjust the color mapping relationship in the 3D-LUT table in order to compensate for the optical characteristics of the LCD panel.
[0062] When adjusting the 3D-LUT table, interpolation calculations can be used to ensure the smoothness and accuracy of color mapping. For example, a linear interpolation algorithm can be used to interpolate the data in the 3D-LUT table based on the compensation value to generate a new color mapping relationship.
[0063] The adjusted data is stored as a new 3D-LUT table, which will contain the compensated color mapping relationship and can be used to drive the LCD panel to achieve better display results.
[0064] Step 4: The pixel correction unit generates new liquid crystal driving level data based on the video stream from the image input source and the new 3D-LUT table data, including:
[0065] Receive a video stream from an image input source, which contains pixel data of the image, such as RGB values, parse the video stream to obtain the color information of each pixel, such as R, G, and B values, and convert the color information into a format suitable for 3D-LUT table processing;
[0066] The color information is input into a new 3D-LUT table for lookup to obtain the output color value corresponding to the color information. The output color value is essentially a digital color representation that the device can resolve. For liquid crystal displays, the final output color value is usually an RGB value, which is the same type of value as the liquid crystal panel feature data and target liquid crystal panel feature data mentioned above.
[0067] The output color value is converted into liquid crystal driving level data; the liquid crystal driving level data is a signal used to control the rotation of liquid crystal molecules, and its value is usually within a certain range, such as 0-255 or 0-1023, etc. The new liquid crystal driving level data is input to the liquid crystal driving unit.
[0068] Step 5: The liquid crystal driving unit drives and controls the liquid crystal to rotate according to the liquid crystal driving level data, and displays the image in the display to be calibrated, thereby realizing the cloning and calibration of the color of the target standard sample display.
[0069] Example 2:
[0070] Embodiment 2 of the present invention provides a display color cloning calibration device, comprising:
[0071] The target color data acquisition module is used to acquire the target color data of each color card image on the target standard sample display.
[0072] The calibration data acquisition module is used to read the liquid crystal panel feature data of the display to be calibrated stored in the 3D-LUT table;
[0073] The calibration module is used to calculate the color difference between each target color data and each liquid crystal panel feature data based on the target color data and the liquid crystal panel feature data, find the target liquid crystal panel feature data corresponding to each liquid crystal panel feature data according to the principle of minimum color difference, calculate the compensation value based on the target liquid crystal panel feature data, generate a new 3D-LUT table according to the compensation value and store it in the internal memory of the display to be calibrated.
[0074] The generation module is used to generate new liquid crystal driving level data based on the video stream of the image input source and the new 3D-LUT table data, and input the new liquid crystal driving level data to the liquid crystal driving unit;
[0075] The display module is used to drive and control the rotation of the liquid crystal according to the liquid crystal driving level data through the liquid crystal driving unit, and display the image in the display to be calibrated.
[0076] The display color cloning calibration device provided in Embodiment 2 of the present invention can execute the display color cloning calibration method provided in Embodiment 1 of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.
[0077] Example 3:
[0078] Embodiment 3 of the present invention also provides an electronic terminal, including a processor and a memory connected to the processor, wherein a computer program is stored in the memory, and the processor is used to perform operations according to the instructions to execute the steps of the method described in Embodiment 1, and has corresponding functional modules and beneficial effects for executing the method.
[0079] Example 4:
[0080] Embodiment 4 of the present invention also provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the steps of the method described in Embodiment 1, and has the corresponding functional modules and beneficial effects of the method.
[0081] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0082] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0083] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0084] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0085] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for color cloning calibration of a display, characterized in that, include: Acquire the target color data for each color chart displayed on the target standard sample monitor; Read the LCD panel feature data of the display to be calibrated stored in the 3D-LUT table; Based on the target color data and liquid crystal panel feature data, the color difference between each target color data and each liquid crystal panel feature data is calculated respectively. According to the principle of minimizing color difference, the target liquid crystal panel feature data corresponding to each liquid crystal panel feature data is found. The compensation value is calculated based on the target liquid crystal panel feature data. A new 3D-LUT table is generated according to the compensation value and stored in the internal memory of the display to be calibrated. Based on the video stream from the image input source and the new 3D-LUT table data, new liquid crystal driving level data is generated and input to the liquid crystal driving unit. The liquid crystal driving unit drives and controls the rotation of the liquid crystal according to the liquid crystal driving level data, and displays the image in the display to be calibrated. Calculate the color difference between each target color data and each liquid crystal panel feature data, and find the target liquid crystal panel feature data according to the principle of minimizing color difference, including: The color difference between each target color data and each LCD panel feature data is calculated using the following formula: , in, The color difference value. 、 and This represents the brightness, red-green axis chromaticity index, and blue-yellow axis chromaticity index of the target color data in the Lab color space. 、 and The brightness, red-green axis color index, and blue-yellow axis color index represent the characteristic data of the liquid crystal panel in the Lab color space; For each LCD panel feature data, the calculated color difference values are sorted by size to obtain the minimum color difference value, and the target color data corresponding to the minimum color difference value is used as the target LCD panel feature data for that LCD panel feature data.
2. The display color cloning calibration method according to claim 1, characterized in that, Displaying the calibration color chart on the target standard sample monitor includes: The color card generation unit generates a color card image, which is then sent to the video output unit. The video output unit outputs a video signal to the target standard sample display and displays it. The video signal supports HDMI, DVI, DP and SDI interfaces.
3. The display color cloning calibration method according to claim 1, characterized in that, Generating a new 3D-LUT table based on the compensation value includes: The data in the 3D-LUT table is interpolated based on the compensation value to generate a new color mapping relationship. The data in the 3D-LUT table is then adjusted based on the new color mapping relationship, and the adjusted data is stored as a new 3D-LUT table.
4. The display color cloning calibration method according to claim 1, characterized in that, Based on the video stream from the image input source and the new 3D-LUT table data, new liquid crystal drive level data is generated, including: Receive a video stream from an image input source, parse the video stream to obtain the color information of each pixel; input the color information into a new 3D-LUT table for lookup to obtain the output color value corresponding to the color information; The output color values are converted into liquid crystal driving level data.
5. A display color cloning calibration device, characterized in that, include: The target color data acquisition module is used to acquire the target color data of each color card image on the target standard sample display. The calibration data acquisition module is used to read the liquid crystal panel feature data of the display to be calibrated stored in the 3D-LUT table; The calibration module is used to calculate the color difference between each target color data and each liquid crystal panel feature data based on the target color data and the liquid crystal panel feature data, find the target liquid crystal panel feature data corresponding to each liquid crystal panel feature data according to the principle of minimum color difference, calculate the compensation value based on the target liquid crystal panel feature data, generate a new 3D-LUT table according to the compensation value and store it in the internal memory of the display to be calibrated. The generation module is used to generate new liquid crystal driving level data based on the video stream of the image input source and the new 3D-LUT table data, and input the new liquid crystal driving level data to the liquid crystal driving unit; The display module is used to drive and control the rotation of the liquid crystal according to the liquid crystal driving level data through the liquid crystal driving unit, so as to display the image in the display to be calibrated; Calculate the color difference between each target color data and each liquid crystal panel feature data, and find the target liquid crystal panel feature data according to the principle of minimizing color difference, including: The color difference between each target color data and each LCD panel feature data is calculated using the following formula: , in, The color difference value. 、 and This represents the brightness, red-green axis chromaticity index, and blue-yellow axis chromaticity index of the target color data in the Lab color space. 、 and The brightness, red-green axis color index, and blue-yellow axis color index represent the characteristic data of the liquid crystal panel in the Lab color space; For each LCD panel feature data, the calculated color difference values are sorted by size to obtain the minimum color difference value, and the target color data corresponding to the minimum color difference value is used as the target LCD panel feature data for that LCD panel feature data.
6. An electronic terminal, characterized in that, The method includes a processor and a memory connected to the processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the method as described in any one of claims 1 to 4 are performed.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Visual color calibration method of TFT display screen
CN114512085A
3D LUT updating method, color correction method and system
CN117992468A