Display color clone calibration method and device, electronic terminal and storage medium
By calculating the color difference between the color data of the display and the characteristic data of the LCD panel, a new 3D-LUT table is generated to calibrate the display, which solves the problem of display color cloning calibration in the prior art and achieves a fast and accurate color calibration effect.
Patent Information
- Application Number
- CN202510388778.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-03-31
AI Technical Summary
The prior art is difficult to quickly and accurately realize color cloning calibration of displays, especially when the calibration effect of a certain standard sample display is required, there is a lack of suitable calibration software and equipment.
By obtaining the color data on the target standard sample display and the LCD panel feature data of the monitor to be calibrated, the color difference between the two is calculated, the target LCD panel feature data is found according to the principle of minimum color difference, and a new 3D-LUT table is generated to calibrate the monitor.
The display color cloning calibration is realized without relying on external devices and software, so that the color display effect of the monitor to be calibrated can be quickly and accurately consistent with the target standard sample.
Smart Images

Figure CN119943002A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of displays, and in particular to a display color cloning calibration method, device, electronic terminal and storage medium. Background Art
[0002] In the field of color display, many different color standards are involved. Calibration with different color standards can present different color display effects. Different standards correspond to different application fields, such as Adobe RGB commonly used in professional graphics design, DCI-P3 in the film industry, SRGB used in Windows operating system, BT.2020 used in 4K endoscopic images, and so on.
[0003] In addition, since different people's eyes have different sensitivities to colors, this will cause colors to be highly subjective, that is, different people may see slightly different color effects, and different people have different preferences for colors, which may result in different color calibration effects on the display.
[0004] In the above cases, there may be a need to add / replace new calibration standards for the display, or there may be a need to adjust the display effect with reference to a standard sample display, that is, the need for cloning calibration. When encountering such needs, it is necessary to use calibration software running on the computer and a professional color analyzer to achieve standard color calibration, but it is still difficult to adjust the display effect with reference to a standard sample, and there is basically no such calibration software on the market. These calibration methods require the use of computers, calibration software running on the computer, and expensive professional color analyzers to meet some calibration requirements. This method is very complicated to operate, and has high requirements for instruments and equipment, high cost and inconvenience. The key is that it is difficult to meet the needs of cloning calibration.
[0005] Not only professional design and the film and television industry have a demand for color calibration and clone calibration, but also in the field of endoscopic surgical display, there is also a general demand for color calibration, especially clone calibration. During endoscopic surgery, doctors need to use endoscopic displays to view the surgical scene, including the status of the surgical site, the judgment of the lesion area, the operation of surgical instruments, etc., which are inseparable from the endoscopic display. The judgment of the surgical site and lesions is inseparable from the color display. Each doctor has his own habitual color judgment for whether the color of the organ display is normal or not. Generally, there will be an endoscopic display (standard sample) that doctors recognize more. Other newly added endoscopic systems (including endoscopic displays) need to refer to the standard sample to adjust the display effect. At this time, how the new endoscopic display can quickly clone and copy the color display effect of the standard sample is very important.
[0006] Therefore, a display color cloning calibration method is urgently needed to solve the above technical problems. Summary of the invention
[0007] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a display color cloning calibration method, which can solve the technical problem that the existing display cannot quickly clone and copy the color display effect of a standard sample.
[0008] To achieve the above object, the present invention is implemented by adopting the following technical solutions:
[0009] In a first aspect, the present invention provides a display color cloning calibration method, comprising:
[0010] Obtain target color data for each color card image on the target standard sample display;
[0011] Reading the characteristic data of the liquid crystal panel of the display to be calibrated stored in the 3D-LUT table;
[0012] Based on the target color data and the liquid crystal panel characteristic data, respectively calculating the color difference between each of the target color data and each of the liquid crystal panel characteristic data, finding the target liquid crystal panel characteristic data corresponding to each of the liquid crystal panel characteristic data according to the principle of minimum color difference, calculating the compensation value based on the target liquid crystal panel characteristic data, generating a new 3D-LUT table according to the compensation value and storing it in the internal memory of the display to be calibrated;
[0013] Generate new liquid crystal drive level data according to the video stream of the image input source and the new 3D-LUT table data, and input the new liquid crystal drive level data to the liquid crystal drive unit;
[0014] The liquid crystal driving unit drives and controls the liquid crystal to rotate according to the liquid crystal driving level data, so as to display an image on the display to be calibrated.
[0015] Further, displaying the calibration color card screen on the target standard sample display includes:
[0016] Control the calibration color card generation unit to generate a color card image and transmit it to the video output unit, and the video output unit outputs a video signal to the target standard sample display for display;
[0017] The video signal supports HDMI, DVI, DP and SDI interfaces.
[0018] Further, calculating the color difference between each of the target color data and each of the liquid crystal panel characteristic data, and finding the target liquid crystal panel characteristic data according to the principle of minimum color difference includes:
[0019] The color difference between each target color data and each LCD panel characteristic data is calculated according to the following formula:
[0020] ,
[0021] in, is the color difference value, , and Represents the brightness, red-green axis color index, and blue-yellow axis color index of the target color data in the Lab color space. , and Represents the brightness, red-green axis color index, and blue-yellow axis color index of the LCD panel characteristic data in the Lab color space;
[0022] For each liquid crystal panel characteristic 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 liquid crystal panel characteristic data of the liquid crystal panel characteristic data.
[0023] Further, generating a new 3D-LUT table according to the compensation value includes:
[0024] An interpolation calculation is performed on the data in the 3D-LUT table according to the compensation value to generate a new color mapping relationship, the data in the 3D-LUT table is adjusted based on the new color mapping relationship, and the adjusted data is stored as a new 3D-LUT table.
[0025] Further, generating new liquid crystal driving level data according to the video stream of the image input source and the new 3D-LUT table data includes:
[0026] Receiving a video stream from an image input source, parsing the video stream, and obtaining color information of each pixel; inputting the color information into a new 3D-LUT table for search, and obtaining an output color value corresponding to the color information;
[0027] The output color value is converted into liquid crystal driving level data.
[0028] In a second aspect, the present invention provides a display color cloning calibration device, comprising:
[0029] A target color data acquisition module is used to acquire the target color data of each color card picture on the target standard sample display;
[0030] A module for acquiring data to be calibrated, used for reading characteristic data of the liquid crystal panel of the display to be calibrated stored in the 3D-LUT table;
[0031] A calibration module, for respectively calculating the color difference between each of the target color data and each of the liquid crystal panel characteristic data based on the target color data and the liquid crystal panel characteristic data, finding the target liquid crystal panel characteristic data corresponding to each of the liquid crystal panel characteristic data according to the principle of minimum color difference, calculating the compensation value based on the target liquid crystal panel characteristic data, generating a new 3D-LUT table according to the compensation value and storing it in the internal memory of the display to be calibrated;
[0032] A generating module, used for generating new liquid crystal driving level data according to the video stream of the image input source and the new 3D-LUT table data, and inputting the new liquid crystal driving level data into 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 to display an image in the display to be calibrated.
[0034] In a third aspect, the present invention provides an electronic terminal, comprising 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 any of the above methods are performed.
[0035] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above-mentioned methods when executed by a processor.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] The display color cloning calibration method described in the present invention obtains target color data and reads liquid crystal panel characteristic data, finds the target liquid crystal panel characteristic data according to the principle of minimum color difference after calculating the color difference between the two, and then generates new liquid crystal drive level data and displays it. It can achieve the purpose of color cloning calibration without relying on external equipment and software, and display images in the display to be calibrated, so that the display can achieve the same color display effect as the target standard sample display. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a flow chart of a display color cloning calibration method provided by Embodiment 1 of the present invention;
[0040] Figure 2 This is a complete execution flow chart of a display color cloning calibration method provided in Embodiment 1 of the present invention. DETAILED DESCRIPTION
[0042] The technical solution of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical solution of the present application, rather than limitations on the technical solution of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments can be combined with each other.
[0043] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0044] Embodiment 1:
[0045] Figure 1 1 is a flow chart of the display color cloning calibration method in the first embodiment of the present invention. This flow chart only shows the logical sequence of the method described in this embodiment. In other possible embodiments of the present invention, different methods may be used without conflict. Figure 1 The steps shown or described are accomplished in the order shown.
[0046] 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, which can be implemented by software and / or hardware, and can be integrated in a terminal, such as any smart phone, tablet computer or computer device with communication function. Figure 1 and Figure 2 As shown,
[0047] The method of this embodiment specifically includes the following steps:
[0048] Step 1: Display the calibration color card screen on the target standard sample display:
[0049] Control the calibration color card generation unit to generate a color card image and transmit it to the video output unit, and the video output unit outputs a video signal to the target standard sample display for display;
[0050] The video signal supports HDMI, DVI, DP and SDI interfaces;
[0051] Then control the color data acquisition unit to drive the color sensor to collect the target color data of the color card screen on the target standard sample display. The "color card" screen here refers to the color card screen of R, G, B, mixed colors and different grayscale R, G, B combinations required for color calibration. The specific color screen is formed by the combination of different grayscale values of R (0-255 grayscale range), G (0-255 grayscale range), and B (0-255 grayscale range). For example, (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.
[0052] Step 2: Read the liquid crystal panel characteristic data of the display to be calibrated stored in the 3D-LUT table, and send the target color data and the liquid crystal panel characteristic data to the 3D-LUT table calculation unit;
[0053] Step 3: Control the 3D-LUT table calculation unit to use the target color data as the calibration target, query the liquid crystal panel characteristic data corresponding to the target color data one by one, calculate the color difference between each target color data and each liquid crystal panel characteristic data, and find the target liquid crystal panel characteristic data according to the principle of minimum color difference, including:
[0054] Calculate the color of each target color data and each LCD panel characteristic data according to the following formula:
[0055] ,
[0056] in, is the color difference value, , and Represents the brightness, red-green axis color index, and blue-yellow axis color index of the target color data in the Lab color space. , and Represents the brightness, red-green axis color index, and blue-yellow axis color index of the LCD panel characteristic data in the Lab color space;
[0057] Regarding the target color data and the characteristic data of the LCD panel, additional explanation is required here. They are all optical RGB data, so color difference calculation can be performed, where RGB refers to the three colors of red, green, and blue.
[0058] For each liquid crystal panel characteristic 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 liquid crystal panel characteristic data of the liquid crystal panel characteristic data, and the target liquid crystal panel characteristic data corresponding to the minimum color difference is obtained.
[0059] The compensation value is calculated based on the target liquid crystal panel characteristic data. How to calculate the compensation value based on the target liquid crystal panel characteristic data belongs to the prior art. This embodiment only makes a brief description. The specific calculation method includes but is not limited to:
[0060] A mapping relationship is established according to the characteristic data of the liquid crystal panel and the characteristic data of the target liquid crystal panel. For example, if the RGB of the characteristic data of the original liquid crystal panel is (100, 50, 30) and the characteristic data of the target liquid crystal panel is (120, 70, 40), the compensation value is the difference between the two (+20, +20, +10);
[0061] Generate a new 3D-LUT table according to the compensation value and store it in the internal memory of the display to be calibrated, control the 3D-LUT table calling unit to call out the new 3D-LUT table data, and transmit the new 3D-LUT table data to the pixel correction unit;
[0062] Wherein, generating a new 3D-LUT table according to the compensation value includes:
[0063] According to 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 to achieve compensation for the optical characteristics of the liquid crystal panel;
[0064] When adjusting the 3D-LUT table, interpolation calculation can be performed 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 according to the compensation value to generate a new color mapping relationship.
[0065] 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 effects.
[0066] Step 4: Controlling the pixel correction unit to generate new liquid crystal drive level data according to the video stream of the image input source and the new 3D-LUT table data includes:
[0067] Receiving a video stream from an image input source, the video stream containing pixel data of the image, such as RGB values, parsing the video stream to obtain color information of each pixel, such as R, G, B values, and converting the color information into a format suitable for 3D-LUT table processing;
[0068] The color information is input into a new 3D-LUT table for search to obtain an output color value corresponding to the color information. The essence of the output color value is a digital color representation that can be parsed by the device. For LCD displays, the final output color value is usually an RGB value, that is, the same type of value as the LCD panel characteristic data and the target LCD panel characteristic data mentioned above.
[0069] The output color value is converted into liquid crystal drive level data; the liquid crystal drive level data is a signal for controlling 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 drive level data is input into the liquid crystal drive unit.
[0070] 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 an image on the display to be calibrated, thereby achieving cloning and calibration of the color of the target standard sample display.
[0071] Embodiment 2:
[0072] Embodiment 2 of the present invention provides a display color cloning calibration device, including:
[0073] A target color data acquisition module is used to acquire the target color data of each color card picture on the target standard sample display;
[0074] A module for acquiring data to be calibrated, used for reading characteristic data of the liquid crystal panel of the display to be calibrated stored in the 3D-LUT table;
[0075] A calibration module, for respectively calculating the color difference between each of the target color data and each of the liquid crystal panel characteristic data based on the target color data and the liquid crystal panel characteristic data, finding the target liquid crystal panel characteristic data corresponding to each of the liquid crystal panel characteristic data according to the principle of minimum color difference, calculating the compensation value based on the target liquid crystal panel characteristic data, generating a new 3D-LUT table according to the compensation value and storing it in the internal memory of the display to be calibrated;
[0076] A generating module, used for generating new liquid crystal driving level data according to the video stream of the image input source and the new 3D-LUT table data, and inputting the new liquid crystal driving level data into the liquid crystal driving unit;
[0077] 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 to display an image in the display to be calibrated.
[0078] The display color cloning calibration device provided in the second embodiment of the present invention can execute the display color cloning calibration method provided in the first embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0079] Embodiment three:
[0080] Embodiment 3 of the present invention further provides an electronic terminal, comprising a processor and a memory connected to the processor, wherein a computer program is stored in the memory, and the processor is used to operate according to the instructions to execute the steps of the method described in embodiment 1, and has functional modules and beneficial effects corresponding to the execution method.
[0081] Embodiment 4:
[0082] Embodiment 4 of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in Embodiment 1 are implemented, and the computer program has functional modules and beneficial effects corresponding to the execution method.
[0083] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0084] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0085] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0086] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0087] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A display color cloning calibration method, characterized in that: include: Obtain target color data for each color card image on the target standard sample display; Reading the characteristic data of the liquid crystal panel of the display to be calibrated stored in the 3D-LUT table; Based on the target color data and the liquid crystal panel characteristic data, respectively calculating the color difference between each of the target color data and each of the liquid crystal panel characteristic data, finding the target liquid crystal panel characteristic data corresponding to each of the liquid crystal panel characteristic data according to the principle of minimum color difference, calculating the compensation value based on the target liquid crystal panel characteristic data, generating a new 3D-LUT table according to the compensation value and storing it in the internal memory of the display to be calibrated; Generate new liquid crystal drive level data according to the video stream of the image input source and the new 3D-LUT table data, and input the new liquid crystal drive level data to the liquid crystal drive unit; The liquid crystal driving unit drives and controls the liquid crystal to rotate according to the liquid crystal driving level data, so as to display an image on the display to be calibrated.
2. A display color cloning calibration method according to claim 1, characterized in that: The calibration color chart screen displayed on the target standard sample display includes: Control the calibration color card generation unit to generate a color card image and transmit it to the video output unit, and the video output unit outputs a video signal to the target standard sample display for display; The video signal supports HDMI, DVI, DP and SDI interfaces.
3. A display color cloning calibration method according to claim 2, characterized in that: Calculating the color difference between each of the target color data and each of the liquid crystal panel characteristic data, and finding the target liquid crystal panel characteristic data according to the principle of minimum color difference includes: The color difference between each target color data and each LCD panel characteristic data is calculated according to the following formula: , in, is the color difference value, , and Represents the brightness, red-green axis color index, and blue-yellow axis color index of the target color data in the Lab color space. , and Represents the brightness, red-green axis color index, and blue-yellow axis color index of the LCD panel characteristic data in the Lab color space; For each liquid crystal panel characteristic 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 liquid crystal panel characteristic data of the liquid crystal panel characteristic data.
4. The display color cloning calibration method according to claim 1, characterized in that: Generating a new 3D-LUT table according to the compensation value includes: An interpolation calculation is performed on the data in the 3D-LUT table according to the compensation value to generate a new color mapping relationship, the data in the 3D-LUT table is adjusted based on the new color mapping relationship, and the adjusted data is stored as a new 3D-LUT table.
5. The display color cloning calibration method according to claim 1, characterized in that: Generating new liquid crystal drive level data according to the video stream of the image input source and the new 3D-LUT table data includes: Receiving a video stream from an image input source, parsing the video stream, and obtaining color information of each pixel; inputting the color information into a new 3D-LUT table for search, and obtaining an output color value corresponding to the color information; The output color value is converted into liquid crystal driving level data.
6. A display color cloning calibration device, characterized in that: include: A target color data acquisition module is used to acquire the target color data of each color card picture on the target standard sample display; A module for acquiring data to be calibrated, used for reading characteristic data of the liquid crystal panel of the display to be calibrated stored in the 3D-LUT table; A calibration module, for respectively calculating the color difference between each of the target color data and each of the liquid crystal panel characteristic data based on the target color data and the liquid crystal panel characteristic data, finding the target liquid crystal panel characteristic data corresponding to each of the liquid crystal panel characteristic data according to the principle of minimum color difference, calculating the compensation value based on the target liquid crystal panel characteristic data, generating a new 3D-LUT table according to the compensation value and storing it in the internal memory of the display to be calibrated; A generating module, used for generating new liquid crystal driving level data according to the video stream of the image input source and the new 3D-LUT table data, and inputting the new liquid crystal driving level data into 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 to display an image in the display to be calibrated.
7. An electronic terminal, characterized in that: comprising a processor and a memory connected to the processor, A computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 5 are performed.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Visual color calibration method of TFT display screen
CN114512085A
3D LUT updating method, color correction method and system
CN117992468A
Implementation method, device and system based on image color extraction and migration and medium
CN119648812A
Image processor, image processing method, and image forming device
JP2005354219A
System and method for global community
KR102654210B1