Screen body color cast correction method and device, terminal equipment and storage medium

By playing test charts on the display screen and using image acquisition and computer analysis, the color cast of the display screen was detected and corrected, thus solving the problem of color cast and optimizing the display effect of the screen.

CN116434721BActive Publication Date: 2026-04-28SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
Filing Date
2023-04-11
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

The display screen has a color distortion problem during use, which manifests as the screen display being too bright, with colors appearing too blue, too green, or too red. Existing technologies have not been able to effectively solve this problem.

Method used

By playing multiple test images of different gray levels on the display screen, image data is collected using an image acquisition device. The computer performs image analysis to detect color cast, corrects the color cast based on pixel offset information, generates a full color cast compensation table, and corrects the color cast on the display screen.

Benefits of technology

It enables the detection and correction of color cast on the display screen, optimizes the display effect of the screen, makes the screen performance consistent, and eliminates color cast problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116434721B_ABST
    Figure CN116434721B_ABST
Patent Text Reader

Abstract

The application discloses a screen color cast correction method and device, a terminal device and a computer readable storage medium. The method is applied to a terminal device which is provided with a display screen, a computer terminal connected with the display screen and an image acquisition device connected with the computer terminal. The method comprises the following steps: when a color cast correction instruction is detected, playing a test picture card on the display screen, wherein the test picture card is a plurality of images with different gray scales; acquiring image data containing the test picture card by means of the image acquisition device; analyzing the image data by means of the computer terminal to detect whether the display screen has color cast; and if the display screen has color cast, correcting the color cast of the display screen. The technical scheme can correct the color cast of the screen to optimize the display effect of the screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of image display technology, and particularly relates to a method, apparatus, terminal device, and computer-readable storage medium for correcting screen color distortion. Background Technology

[0002] As the display industry continues to develop, users have increasingly higher requirements for the viewing effect of displays, and the ability to display accurate colors is essential for a good display.

[0003] Currently, displays often exhibit color cast issues during use. These issues manifest as overly vibrant colors, or colors appearing too blue, green, or red, among other possibilities. Resolving this color cast problem remains a pressing technical challenge in this field. Summary of the Invention

[0004] The main objective of this invention is to provide a method, apparatus, terminal device, and computer-readable storage medium for correcting screen color cast. The aim is to correct screen color cast to optimize screen display performance.

[0005] To achieve the above objectives, the present invention provides a screen color distortion correction method, which is applied to a terminal device. The terminal device includes: a display screen, a computer connected to the display screen, and an image acquisition device connected to the computer.

[0006] The screen color distortion correction method includes:

[0007] When a color cast correction instruction is detected, a test image card is played on the display screen, wherein the test image card consists of multiple images with different gray levels;

[0008] The image acquisition device acquires images of the display screen to obtain image data containing the test chart.

[0009] The computer performs image analysis on the image data to detect whether the display screen has a color cast.

[0010] If a color cast is detected on the display screen, then a color cast correction is performed on the display screen.

[0011] Optionally, the step of performing image analysis on the image data via the computer to detect whether the display screen has a color cast includes:

[0012] The pixel offset information of the test image card is obtained by performing image analysis on the image data on the computer.

[0013] The degree of color cast on the display screen is calculated based on the pixel offset information;

[0014] The degree of color cast is detected to determine whether the display screen has experienced color cast.

[0015] Optionally, each of the test charts has a preset weight value, and the step of calculating the color cast of the display screen based on the pixel offset information includes:

[0016] The total pixel offset of the test chart is determined based on the pixel offset information;

[0017] The color cast of the display screen is calculated based on the total pixel offset of the test chart and the weight value.

[0018] Optionally, the step of detecting the degree of color cast to determine whether the display screen has experienced color cast includes:

[0019] If the detected color cast degree is greater than a preset threshold, it is determined that the display screen has a color cast.

[0020] or,

[0021] If the detected color cast degree is less than a preset threshold, it is determined that the display screen has not experienced color cast.

[0022] Optionally, the step of correcting the color cast of the display screen if a color cast is detected includes:

[0023] The color cast compensation information of the test chart is determined based on the pixel offset information;

[0024] The color cast compensation value of the test pattern card on the display screen is calculated based on the initial grayscale data of the test pattern card and the color cast compensation information.

[0025] The full color cast compensation table of the display screen is calculated based on the initial grayscale data and the color cast compensation value.

[0026] Color cast correction is performed on the display screen according to the full color cast compensation table.

[0027] Optionally, the step of correcting the color cast of the display screen according to the full color cast compensation table includes:

[0028] The full color cast compensation table is transmitted to the motherboard of the display screen so that the motherboard can correct the color cast of the image signal to be displayed on the display screen according to the full color cast compensation table.

[0029] or,

[0030] The full-scale color cast compensation table is transmitted to the screen driver board of the display screen so that the screen driver board can perform color cast correction on the image signal to be displayed on the display screen according to the full-scale color cast compensation table.

[0031] Optionally, the step of acquiring image data containing the test pattern card by acquiring images of the display screen through the image acquisition device includes:

[0032] After the test chart is played through the display screen, the image acquisition device continuously acquires images of the display screen within a preset time period.

[0033] In addition, to achieve the above objectives, the present invention also provides a screen color distortion correction device, which is applied to a terminal device, the terminal device including: a display screen, a computer terminal connected to the display screen, and an image acquisition device connected to the computer terminal;

[0034] The screen color distortion correction device includes:

[0035] The playback module is used to play a test pattern on the display screen when a color cast correction instruction is detected, wherein the test pattern consists of multiple images of different gray levels;

[0036] The image acquisition module is used to acquire images from the display screen through the image acquisition device to obtain image data containing the test chart.

[0037] The detection module is used to perform image analysis on the image data via the computer to detect whether the display screen has a color cast.

[0038] The correction module is used to correct the color cast of the display screen if a color cast is detected.

[0039] Each functional module of the screen color distortion correction device of the present invention implements the steps of the screen color distortion correction method as described above during operation.

[0040] In addition, to achieve the above objectives, the present invention also provides a terminal device, the terminal device comprising: a memory, a processor, and a screen color correction program stored in the memory and executable on the processor, wherein the screen color correction program, when executed by the processor, implements the steps of the screen color correction method as described above.

[0041] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium storing a screen color distortion correction program, wherein the screen color distortion correction program, when executed by a processor, implements the steps of the screen color distortion correction method as described above.

[0042] This invention discloses a screen color cast correction method, apparatus, terminal device, and computer-readable storage medium. The terminal device, configured with a display screen, a computer connected to the display screen, and an image acquisition device connected to the computer, plays a test image card on the display screen when a color cast correction command is detected. The test image card consists of multiple images of different gray levels. The terminal device then acquires image data containing the test image card from the display screen using the image acquisition device. Image analysis is performed based on this image data to detect whether color cast has occurred on the display screen. Finally, if color cast is detected, color cast correction is performed on the display screen.

[0043] Thus, this embodiment of the invention detects whether there is a color cast in the screen to be optimized by image acquisition and analysis, and achieves a consistent screen performance after color cast correction, thereby realizing the effect of correcting screen color cast to optimize screen display. Attached Figure Description

[0044] Figure 1 This is a schematic diagram of the device structure of the terminal device hardware operating environment involved in the embodiments of the present invention;

[0045] Figure 2 This is a flowchart illustrating the steps of the first embodiment of the screen color distortion correction method of the present invention;

[0046] Figure 3 This is a schematic diagram of signal processing involved in an embodiment of the screen color distortion correction method of the present invention;

[0047] Figure 4a This is a schematic diagram of the initial grayscale data involved in an embodiment of the screen color shift correction method of the present invention;

[0048] Figure 4b This is a schematic diagram of pixel offset information involved in an embodiment of the screen color shift correction method of the present invention;

[0049] Figure 4c This is a schematic diagram of color cast compensation information involved in an embodiment of the screen color cast correction method of the present invention;

[0050] Figure 4d This is a schematic diagram of the color cast compensation values ​​involved in an embodiment of the screen color cast correction method of the present invention;

[0051] Figure 5 This is a schematic diagram illustrating a usage scenario of an embodiment of the screen color shift correction method of the present invention.

[0052] Figure 6 This is a schematic diagram of the functional modules of an embodiment of the screen color correction device of the present invention.

[0053] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0054] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0055] Reference Figure 1 , Figure 1 This is a schematic diagram of the hardware operating environment of the terminal device involved in the embodiment of the present invention.

[0056] The terminal device in this embodiment of the invention includes a display screen, a computer connected to the display screen, and an image acquisition device connected to the computer.

[0057] like Figure 1 As shown, the terminal device may include: a processor 1001, such as a CPU; a communication bus 1002; a user interface 1003; a network interface 1004; and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0058] Those skilled in the art will understand that Figure 1 The terminal device structure shown does not constitute a limitation on the terminal device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0059] like Figure 1 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a screen color distortion correction program.

[0060] exist Figure 1 In the terminal shown, network interface 1004 is mainly used to connect to the backend server and communicate data with it; user interface 1003 is mainly used to connect to the client and communicate data with it; and processor 1001 can be used to call the screen color correction program stored in memory 1005 and perform the following operations:

[0061] When a color cast correction instruction is detected, a test image card is played on the display screen, wherein the test image card consists of multiple images with different gray levels;

[0062] The image acquisition device acquires images of the display screen to obtain image data containing the test chart.

[0063] The computer performs image analysis on the image data to detect whether the display screen has a color cast.

[0064] If a color cast is detected on the display screen, then a color cast correction is performed on the display screen.

[0065] Optionally, the processor 1001 can also be used to call the screen color distortion correction program stored in the memory 1005 and perform the following operations:

[0066] The pixel offset information of the test image card is obtained by performing image analysis on the image data on the computer.

[0067] The degree of color cast on the display screen is calculated based on the pixel offset information;

[0068] The degree of color cast is detected to determine whether the display screen has experienced color cast.

[0069] Optionally, each of the test charts has a preset weight value, and the processor 1001 can also be used to call the screen color distortion correction program stored in the memory 1005 and perform the following operations:

[0070] The total pixel offset of the test chart is determined based on the pixel offset information;

[0071] The color cast of the display screen is calculated based on the total pixel offset of the test chart and the weight value.

[0072] Optionally, the processor 1001 can also be used to call the screen color distortion correction program stored in the memory 1005 and perform the following operations:

[0073] If the detected color cast degree is greater than a preset threshold, it is determined that the display screen has a color cast.

[0074] or,

[0075] If the detected color cast degree is less than a preset threshold, it is determined that the display screen has not experienced color cast.

[0076] Optionally, the processor 1001 can also be used to call the screen color distortion correction program stored in the memory 1005 and perform the following operations:

[0077] The color cast compensation information of the test chart is determined based on the pixel offset information;

[0078] The color cast compensation value of the test pattern card on the display screen is calculated based on the initial grayscale data of the test pattern card and the color cast compensation information.

[0079] The full color cast compensation table of the display screen is calculated based on the initial grayscale data and the color cast compensation value.

[0080] Color cast correction is performed on the display screen according to the full color cast compensation table.

[0081] Optionally, the processor 1001 can also be used to call the screen color distortion correction program stored in the memory 1005 and perform the following operations:

[0082] The full color cast compensation table is transmitted to the motherboard of the display screen so that the motherboard can correct the color cast of the image signal to be displayed on the display screen according to the full color cast compensation table.

[0083] or,

[0084] The full-scale color cast compensation table is transmitted to the screen driver board of the display screen so that the screen driver board can perform color cast correction on the image signal to be displayed on the display screen according to the full-scale color cast compensation table.

[0085] Optionally, the processor 1001 can also be used to call the screen color distortion correction program stored in the memory 1005 and perform the following operations:

[0086] After the test chart is played through the display screen, the image acquisition device continuously acquires images of the display screen within a preset time period.

[0087] Based on the aforementioned terminal devices, various embodiments of the screen color distortion correction method of the present invention are proposed.

[0088] In various embodiments of the screen color cast correction method of the present invention, the method is applied to the terminal device configured with a display screen, a computer, and an image acquisition device. In one application scenario, the display screen of the terminal device is electrically connected to the computer, and the computer is electrically connected to the image acquisition device. In another application scenario, the display screen of the terminal device can also transmit data to the computer via a wireless network or an external storage device, and the computer and the image acquisition device can also transmit data via a wireless network or an external storage device.

[0089] Please refer to Figure 2 , Figure 2This is a flowchart illustrating the first embodiment of the screen color cast correction method of the present invention. In the first embodiment of the screen color cast correction method of the present invention, the method includes:

[0090] Step S10: When a color cast correction instruction is detected, a test image card is played on the display screen, wherein the test image card consists of multiple images with different gray levels;

[0091] In this embodiment, when the terminal device detects a color cast correction instruction, it immediately starts playing a test image card through the display screen to be corrected for color cast. The test image card consists of multiple images with different gray levels.

[0092] It should be noted that in this embodiment, the display screen is composed of many pixels, and each pixel is composed of three sub-pixels: red, green, and blue (R, G, B). The color change on the display screen is caused by the grayscale change of each sub-pixel on each screen.

[0093] For example, taking an 8-bit image as an example, it has 256 brightness levels, that is, 256 gray levels. The test chart can specifically be multiple images of different gray levels that transition evenly from pure black (R=0, G=0, B=0) to pure white (R=225, G=225, B=225). In this embodiment, the terminal device selects 11 test charts to correct the color cast on the display screen. The information of the test charts is shown in Table 1. Of course, in a feasible embodiment, the user can also select other numbers and other color levels of test charts for color cast correction. This invention does not specifically limit this.

[0094] Test chart name Red (R) subpixel Green (G) subpixel Blue (B) sub-pixel IRE 0 R=0 G=0 B=0 IRE 10 R=25 G=25 B=25 IRE 20 R=50 G=50 B=50 IRE 30 R=76 G=76 B=76 IRE 40 R=102 G=102 B=102 IRE 50 R=128 G=128 B=128 IRE 60 R=153 G=153 B=153 IRE 70 R=178 G=178 B=178 IRE 80 R=204 G=204 B=204 IRE 90 R=229 G=229 B=229 IRE 100 R=255 G=255 B=255

[0095] Table 1

[0096] Step S20: The image acquisition device acquires images of the display screen to obtain image data containing the test pattern card;

[0097] In this embodiment, during the process of playing multiple test charts on the display screen, the terminal device uses an image acquisition device to acquire images of the display screen displaying the test charts, so as to obtain image data containing images of all the test charts.

[0098] It should be noted that in this embodiment, the image acquisition device is placed at a horizontal position in the center of the display screen for taking pictures. Specifically, the display screen can play one test image card when it receives a playback command, and then play a second test image card when it receives another playback command. The number of playback commands corresponds to the number of test image cards. Alternatively, the display screen can continuously play multiple test image cards according to a preset time period when it receives a playback command. It should be understood that, based on different design needs of actual applications, the terminal device can of course set different time periods in different feasible implementation methods. The screen color distortion correction method of this invention does not limit the specific size of this time period.

[0099] Furthermore, in this embodiment and in other feasible embodiments described below, step S20 may include:

[0100] Step S201: After playing the test chart through the display screen, the image acquisition device continuously acquires images of the display screen within a preset time period.

[0101] In this embodiment, the preset duration is the time that the terminal device pre-sets for the image acquisition device to continuously run and perform image acquisition operations such as taking pictures and videos on the display screen. It should be understood that, based on different design needs of actual applications, the terminal device can of course set different durations for the image acquisition device to perform image acquisition on the display screen in different feasible implementations. The screen color correction method of the present invention does not limit the specific size of the preset duration.

[0102] For example, in one feasible embodiment, it is assumed that the terminal device contains 11 test pattern cards, the display screen continuously plays these 11 test pattern cards in sequence at a time interval of 5 seconds, the preset duration of continuous image acquisition by the image acquisition device is 60 seconds, the terminal device starts to play multiple test pattern cards in sequence at a time interval of 5 seconds through the display screen, and simultaneously takes continuous pictures of the display screen through the image acquisition device for 60 seconds, thereby obtaining 11 sets of image data containing these 11 test pattern cards.

[0103] Step S30: Perform image analysis on the image data using the computer to detect whether the display screen has a color cast.

[0104] In this embodiment, after the terminal device acquires multiple image data from multiple test charts through the image acquisition device, it transmits the image data to the computer for further image analysis to determine whether the display screen has experienced color distortion.

[0105] Furthermore, in one feasible embodiment, step S30 may include:

[0106] Step S301: Perform image analysis on the image data using the computer to obtain the pixel offset information of the test image card;

[0107] In this embodiment, the terminal device performs image analysis on the image data of multiple test charts through a computer to obtain the pixel offset information of the captured test charts. Specifically, the pixel offset information includes the RGB sub-pixel offset information of each pixel.

[0108] Step S302: Calculate the color cast of the display screen based on the pixel offset information;

[0109] In this embodiment, after the computer analyzes the image data to obtain the pixel offset information of each test chart, it calculates the color cast of the display screen for the test charts of different gray levels based on the pixel offset information.

[0110] Furthermore, in one feasible embodiment, step S302 may include:

[0111] Step S3021: Determine the total pixel offset of the test chart based on the pixel offset information;

[0112] In this embodiment, after the computer analyzes the image data to obtain the pixel offset information of each test chart, it calculates and determines the total pixel offset of each speed measurement chart based on the pixel offset information. The pixel offset information of any test chart includes the RGB sub-pixel offset information (ΔR, ΔG, ΔB) of each pixel, and the total pixel offset of any test chart includes the total RGB sub-pixel offset (ΔR', ΔG', ΔB') of each pixel.

[0113] Step S3022: Calculate the color cast of the display screen based on the total pixel offset of the test chart and the weight value.

[0114] In this embodiment, the computer calculates the color cast of the display screen based on the total pixel offset of each test chart and the weight value of each test chart.

[0115] It should be noted that, in this embodiment, since the human eye has different sensitivities to brightness and the brightness requirements vary in different usage environments, different weight values ​​are set for test charts of different color levels. The weight values ​​of test charts of different color levels can be set by the user on the computer according to actual usage needs.

[0116] For example, assuming the weights of test charts IRE 0, IRE 10 to IRE 100 are S0, S1 to S10 respectively, the color cast degree D of the display screen can be expressed by the following formula:

[0117] D=(ΔR'0+ΔG'0+ΔB'0)S0+(ΔR' 10 +ΔG' 10 +ΔB' 10 )S1+...+(ΔR' 100 +ΔG' 100 +ΔB' 100 S10

[0118] Step S303: Detect the degree of color cast to determine whether the display screen has experienced color cast.

[0119] In this embodiment, the computer calculates the degree of color cast on the display screen based on the total pixel offset and weight value of the test chart, and then determines whether the display screen has a color cast based on the detected degree of color cast.

[0120] Furthermore, in one feasible embodiment, step S303 may include:

[0121] Step S3031: If the detected color cast degree is greater than a preset threshold, it is determined that the display screen has a color cast.

[0122] In this embodiment, the terminal device sets a preset threshold of M. When the calculated color cast degree D is greater than the threshold M, it is determined that the display screen has a color cast and needs to be corrected.

[0123] In another feasible embodiment, step S303 above may include:

[0124] Step S3032: If the detected color cast degree is less than a preset threshold, then it is determined that the display screen has not experienced color cast.

[0125] In this embodiment, when the calculated color cast degree D is less than the threshold M, it is determined that the display screen does not have obvious color cast and there is no need to correct the color cast of the display screen.

[0126] Step S40: If a color cast is detected on the display screen, then the color cast is corrected for the display screen.

[0127] In this embodiment, when the terminal device determines that the display screen has a color cast by performing image analysis on the image data of the collected test card, the terminal device performs color cast correction on the display screen. Specifically, it can perform color cast compensation at different color levels for each pixel of the display screen.

[0128] For example, such as Figure 3 As shown, first, step a10 is executed, where 11 test images are displayed on the test machine's screen and captured by an image acquisition device. Then, step a20 is executed, where image analysis is performed on the captured images to obtain the RGB information of each pixel in the 11 images. Next, step a30 is executed, where the offset degree is calculated according to the offset degree calculation formula. Then, step a301 is executed. If the calculated offset degree is greater than a threshold, it is determined that the display screen has a significant color cast. Step a3011 is executed, where the computer outputs compensation values ​​for each level based on the color cast of the display screen and fits a compensation table based on the grayscale results of the 11 test images. Finally, step a3012 is executed, where color cast compensation is performed on the display screen. If, after executing step a30, the offset degree is calculated according to the formula and it is determined that the calculated offset degree is less than the threshold, then step a302 is executed, it is determined that there is no significant color cast on the display screen. Finally, step a3021 is executed, where no color cast compensation is performed on the display screen.

[0129] In this embodiment, the present invention is applied to a terminal device, which includes a display screen, a computer connected to the display screen, and an image acquisition device connected to the computer. The screen color cast correction method includes: when a color cast correction command is detected, playing a test image card on the display screen, wherein the test image card consists of multiple images of different gray levels; acquiring image data containing the test image card by the image acquisition device; performing image analysis on the image data by the computer to detect whether the display screen has a color cast; and if a color cast is detected, performing color cast correction on the display screen.

[0130] Specifically, when the terminal device detects a color cast correction command, it immediately starts playing test charts on the display screen to be corrected. The test charts consist of multiple images at different gray levels. While playing these test charts, an image acquisition device simultaneously captures images of the display screen displaying the test charts, obtaining image data containing all the test chart images. This image data is then transmitted to a computer for further image analysis to determine if color cast has occurred on the display screen. Finally, when the terminal device determines that color cast has occurred through image analysis of the acquired test chart image data, it performs color cast correction on the display screen. Specifically, this can involve applying color cast compensation at different gray levels to each pixel of the display screen.

[0131] Thus, this invention detects whether there is a color cast in the screen to be optimized by image acquisition and analysis, and achieves a consistent screen performance by correcting the color cast accordingly, thereby realizing the effect of correcting screen color cast to optimize screen display.

[0132] Furthermore, based on the first embodiment of the screen color distortion correction method of the present invention described above, a second embodiment of the screen color distortion correction method of the present invention is proposed.

[0133] In this embodiment, step S40: if a color cast is detected on the display screen, then color cast correction is performed on the display screen, further includes:

[0134] Step S401: Determine the color cast compensation information of the test image card based on the pixel offset information;

[0135] In this embodiment, the terminal device transmits the image data of each test chart acquired by the image acquisition device to the computer. The computer performs image analysis on the image data to obtain the pixel offset information of each test chart, and determines the color cast compensation information of the corresponding test chart based on the pixel offset information.

[0136] Step S402: Calculate the color cast compensation value of the test pattern card on the display screen based on the initial grayscale data of the test pattern card and the color cast compensation information;

[0137] In this embodiment, the computer calculates and determines the color cast compensation value of each pixel on the display screen based on the initial grayscale data of each test chart and the calculated color cast compensation information of the real-shot images of each test chart.

[0138] For example, assuming the display screen has 32 pixels, taking the IRE 20 test graphics card as an example, Figure 4a As shown, the initial grayscale data of the IRE 20 test image card are R=50, B=50, G=50. The computer performs image analysis on the actual captured images from the IRE 20 test image card, obtaining the following results: Figure 4b The test chart IRE 20 shows the pixel offset information for each point, and determines the following based on this pixel offset information: Figure 4c The test chart IRE 20 shows color cast compensation information. Based on this information and the initial grayscale data, the color cast compensation value for each pixel on the display screen for 50 grayscale levels is determined. This color cast compensation value is as follows: Figure 4d As shown.

[0139] Step S403: Calculate the full color cast compensation table of the display screen based on the initial grayscale data and the color cast compensation value;

[0140] In this embodiment, after the computer calculates the color cast compensation values ​​of the test charts for different gray levels, it can calculate the full color cast compensation table of the remaining gray levels on the display screen based on the existing gray level color cast compensation values.

[0141] Specifically, in this embodiment, the color cast compensation values ​​of the two test images with adjacent gray levels are respectively (R X G X B X ),(R Y G Y B Y ), where X and Y are the initial grayscale data of the two test images, and the initial grayscale data of the image to be calculated is (R). Z G Z B Z If the color cast compensation value of the grayscale image to be calculated is..., then the color cast compensation value of the grayscale image to be calculated is...

[0142]

[0143] Through the above calculations, the terminal device can obtain the full color cast compensation table for each pixel of the grayscale image on the display screen.

[0144] Step S404: Correct the color cast of the display screen according to the full color cast compensation table.

[0145] In this embodiment, after calculating the full color cast compensation table for each gray level on the display screen, the terminal device can perform color cast correction for each pixel and each gray level on the display screen according to the full color cast compensation table.

[0146] For example, in one feasible embodiment, after the terminal device obtains the color cast compensation values ​​of test image IRE 10 (R=25, G=25, B=25) and test image IRE 20 (R=50, G=50, B=50) at each pixel point on the display screen, it can fit and calculate the color cast compensation values ​​of the remaining 25-50 grayscale images at each pixel point on the display screen based on the color cast compensation values. Similarly, the terminal device can calculate the color cast compensation values ​​of the 256 grayscale images at each pixel point on the display screen, which is the full color cast compensation table. The terminal device can then perform color cast correction on the display screen based on the full color cast compensation table.

[0147] Furthermore, in one feasible embodiment, step S404 may include:

[0148] Step S4041: Transmit the full color cast compensation table to the motherboard of the display screen so that the motherboard can correct the color cast of the image signal to be displayed on the display screen according to the full color cast compensation table;

[0149] In this embodiment, after the terminal device calculates the full color cast compensation table through the computer, it transmits the compensation table to the motherboard of the display screen. The motherboard of the display screen is mainly responsible for signal processing and the implementation of related functions. After receiving the full color cast compensation table, the motherboard can correct the color cast of the image signal to be displayed on the display screen.

[0150] Furthermore, in another feasible embodiment, step S404 may include:

[0151] Step S4042: Transmit the full color cast compensation table to the screen driver board of the display screen, so that the screen driver board can perform color cast correction on the image signal to be displayed on the display screen according to the full color cast compensation table.

[0152] In this embodiment, after the terminal device calculates the full color cast compensation table through the computer, it transmits the compensation table to the screen driver board of the display screen. The screen driver board of the display screen is responsible for converting and processing the signal transmitted from the motherboard. After receiving the full color cast compensation table, the screen driver board can also correct the color cast of the image signal to be displayed on the display screen.

[0153] For example, such as Figure 5 As shown, after receiving the color cast correction command, the display screen plays the test pattern card. At the same time, the image acquisition device acquires the image data of the display screen containing the test pattern card. Then, the acquired image data is transmitted to the computer for processing to generate a full color cast compensation table. Finally, the generated full color cast compensation table is transmitted to the display screen driver board or motherboard so that the screen driver board or motherboard can perform color cast correction on the image signal to be displayed on the display screen.

[0154] In this embodiment, the image data of each test chart acquired by the image acquisition device is transmitted to the computer. The computer performs image analysis on the image data to obtain the pixel offset information of each test chart and determines the color cast compensation information of the corresponding test chart based on the pixel offset information. Then, the computer calculates the color cast compensation value of each pixel of each test chart on the display screen based on the initial grayscale data of each test chart and the calculated color cast compensation information of the actual captured image of each test chart. Then, based on the existing grayscale color cast compensation values, the computer calculates the full color cast compensation table of the remaining grayscale images on the display screen. Finally, the terminal device can perform color cast correction for each pixel and grayscale on the display screen based on the full color cast compensation table.

[0155] Thus, this invention detects whether there is a color cast in the screen to be optimized by image acquisition and analysis, and corrects it by matching the color cast compensation table to achieve a consistent screen performance, thereby realizing the effect of correcting screen color cast to optimize screen display.

[0156] Furthermore, embodiments of the present invention also provide a screen color distortion correction device, which is applied to a terminal device equipped with a display screen, a computer connected to the display screen, and an image acquisition device connected to the computer.

[0157] Please refer to Figure 6 , Figure 6 This is a functional module diagram of an embodiment of the screen color distortion correction device of the present invention, as shown below. Figure 6 As shown, the screen color shift correction device of the present invention includes:

[0158] The screen color distortion correction device includes:

[0159] The playback module 10 is used to play a test image card on the display screen when a color cast correction instruction is detected, wherein the test image card consists of multiple images with different gray levels;

[0160] Image acquisition module 20 is used to acquire images of the display screen through the image acquisition device to obtain image data containing the test pattern card;

[0161] The detection module 30 is used to perform image analysis on the image data via the computer to detect whether the display screen has a color cast.

[0162] The correction module 40 is used to correct the color cast of the display screen if a color cast is detected.

[0163] Optionally, the image acquisition module 20 is also used to continuously acquire images of the display screen within a preset time period after the test chart is played through the display screen.

[0164] Optionally, the detection module 30 includes:

[0165] The image analysis unit is used to perform image analysis on the image data through the computer to obtain the pixel offset information of the test chart.

[0166] The first calculation unit is used to calculate the color cast of the display screen based on the pixel offset information;

[0167] A detection unit is used to detect the degree of color cast to determine whether the display screen has experienced color cast. Optionally, a calculation unit includes:

[0168] A subunit is defined to determine the total pixel offset of the test chart based on the pixel offset information.

[0169] The calculation subunit is used to calculate the color cast of the display screen based on the total pixel offset of the test chart and the weight value.

[0170] Optionally, the detection unit includes:

[0171] The first detection subunit is used to determine that the display screen has a color cast if the detected color cast degree is greater than a preset threshold.

[0172] The second detection subunit is used to determine that the display screen has not experienced color distortion if the detected color distortion degree is less than a preset threshold.

[0173] Optionally, the correction module 40 includes:

[0174] The determining unit is used to determine the color cast compensation information of the test chart based on the pixel offset information;

[0175] The second calculation unit is used to calculate the color cast compensation value of the test pattern card on the display screen based on the initial grayscale data of the test pattern card and the color cast compensation information.

[0176] The third calculation unit is used to calculate the full color cast compensation table of the display screen based on the initial grayscale data and the color cast compensation value.

[0177] The correction unit is used to correct the color cast of the display screen according to the full color cast compensation table.

[0178] Optionally, the correction unit includes:

[0179] The first transmission subunit is used to transmit the full color cast compensation table to the motherboard of the display screen, so that the motherboard can perform color cast correction on the image signal to be displayed on the display screen according to the full color cast compensation table.

[0180] The second transmission subunit is used to transmit the full color cast compensation table to the screen driver board of the display screen, so that the screen driver board can perform color cast correction on the image signal to be displayed on the display screen according to the full color cast compensation table.

[0181] The specific implementations of each functional module of the screen color distortion correction device of the present invention during operation are basically the same as the implementations of the screen color distortion correction method of the present invention described above, and will not be repeated here.

[0182] The present invention also provides a computer storage medium storing a screen color distortion correction program, wherein when the screen color distortion correction program is executed by a processor, the screen color distortion correction program method as described in any of the above embodiments is implemented.

[0183] The specific embodiments of the computer storage medium of the present invention are basically the same as the embodiments of the screen color distortion correction program method of the present invention described above, and will not be repeated here.

[0184] The present invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the screen color distortion correction method of the present invention as described in any of the above embodiments, which will not be elaborated here.

[0185] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0186] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0187] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, 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 is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device to execute the methods described in the various embodiments of the present invention.

[0188] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A method for correcting color cast on a screen, characterized in that, The screen color distortion correction method is applied to a terminal device, which includes: a display screen, a computer connected to the display screen, and an image acquisition device connected to the computer. The screen color distortion correction method includes: When a color cast correction instruction is detected, a test image card is played on the display screen, wherein the test image card consists of multiple images with different gray levels; The image acquisition device acquires images of the display screen to obtain image data containing the test chart. The computer performs image analysis on the image data to detect whether the display screen has a color cast. If a color cast is detected on the display screen, then a color cast correction is performed on the display screen. The step of performing image analysis on the image data via the computer to detect whether the display screen has a color cast includes: The pixel offset information of the test image card is obtained by performing image analysis on the image data on the computer. The degree of color cast on the display screen is calculated based on the pixel offset information; The degree of color cast is detected to determine whether the display screen has experienced color cast. Each of the test charts has a preset weight value. The step of calculating the color cast of the display screen based on the pixel offset information includes: The total pixel offset of the test chart is determined based on the pixel offset information; The color cast of the display screen is calculated based on the total pixel offset of the test chart and the weight value.

2. The screen color shift correction method as described in claim 1, characterized in that, The step of detecting the degree of color cast to determine whether the display screen has experienced color cast includes: If the detected color cast degree is greater than a preset threshold, it is determined that the display screen has a color cast. or, If the detected color cast degree is less than a preset threshold, it is determined that the display screen has not experienced color cast.

3. The screen color shift correction method as described in claim 1, characterized in that, The step of correcting the color cast of the display screen if a color cast is detected includes: The color cast compensation information of the test chart is determined based on the pixel offset information; The color cast compensation value of the test pattern card on the display screen is calculated based on the initial grayscale data of the test pattern card and the color cast compensation information. The full color cast compensation table of the display screen is calculated based on the initial grayscale data and the color cast compensation value. Color cast correction is performed on the display screen according to the full color cast compensation table.

4. The screen color shift correction method as described in claim 3, characterized in that, The step of correcting the color cast of the display screen according to the full color cast compensation table includes: The full color cast compensation table is transmitted to the motherboard of the display screen so that the motherboard can correct the color cast of the image signal to be displayed on the display screen according to the full color cast compensation table. or, The full-scale color cast compensation table is transmitted to the screen driver board of the display screen so that the screen driver board can perform color cast correction on the image signal to be displayed on the display screen according to the full-scale color cast compensation table.

5. The screen color shift correction method according to any one of claims 1 to 4, characterized in that, The step of acquiring image data containing the test pattern card by acquiring images from the display screen using the image acquisition device includes: After the test chart is played through the display screen, the image acquisition device continuously acquires images of the display screen within a preset time period.

6. A screen color deviation correction device, characterized in that, The device is applied to a terminal device, which includes: a display screen, a computer connected to the display screen, and an image acquisition device connected to the computer. The screen color distortion correction device includes: The playback module is used to play a test pattern on the display screen when a color cast correction instruction is detected, wherein the test pattern consists of multiple images of different gray levels; The image acquisition module is used to acquire images from the display screen through the image acquisition device to obtain image data containing the test chart. The detection module is used to perform image analysis on the image data via the computer to detect whether the display screen has a color cast. The correction module is used to correct the color cast of the display screen if a color cast is detected. The detection module includes: The image analysis unit is used to perform image analysis on the image data through the computer to obtain the pixel offset information of the test chart. The first calculation unit is used to calculate the color cast of the display screen based on the pixel offset information; A detection unit is used to detect the degree of color cast to determine whether the display screen has experienced color cast. The first computing unit includes: A subunit is defined to determine the total pixel offset of the test chart based on the pixel offset information. The calculation subunit is used to calculate the color cast of the display screen based on the total pixel offset of the test pattern and the preset weight value corresponding to the test pattern.

7. A terminal device, characterized in that, The terminal device includes: a memory, a processor, and a screen color correction program stored in the memory and executable on the processor. When the screen color correction program is executed by the processor, it implements the steps of the screen color correction method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a screen color distortion correction program, which, when executed by a processor, implements the steps of the screen color distortion correction method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Display screen correction system and method

    CN113470563A