Liquid crystal display screen testing method, device, computer equipment and storage medium

By calculating the inverse gamma parameters and grayscale difference of the LCD screen, automated testing of the LCD screen is realized, solving the problems of low accuracy and high labor costs of existing testing methods, and improving the testing efficiency and product quality stability.

CN115762370BActive Publication Date: 2025-05-02SHENZHEN H&T INTELLIGENT CONTROL
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210924795.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-01
Publication Date
2025-05-02
Estimated Expiration
2042-08-01

AI Technical Summary

Technical Problem

The existing LCD screen testing methods have low accuracy and are prone to defective products. The manual testing costs are high and the efficiency is low, which can easily lead to visual fatigue.

Method used

By obtaining the inverse gamma parameters of the LCD screen, controlling the preset number of color rendering bars to be measured, collecting images to determine the initial grayscale value, calculating the actual grayscale value and grayscale difference value, and determining whether the LCD screen is qualified.

Benefits of technology

It realizes automated testing of LCD screens, improves testing accuracy, reduces production costs and equipment investment costs, and avoids defective products caused by artificial visual fatigue.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115762370B_ABST
    Figure CN115762370B_ABST
Patent Text Reader

Abstract

The present application proposes a testing method, device, computer equipment and storage medium for a liquid crystal display screen, the method comprising: determining a first grayscale difference between two adjacent red color bars to be tested, a second grayscale difference between two adjacent green color bars to be tested, and a third grayscale difference between two adjacent blue color bars to be tested according to the actual grayscale value of each color bar to be tested; calculating a first change in the first grayscale difference between two adjacent red color bars to be tested according to the first grayscale difference, calculating a second change in the second grayscale difference between two adjacent green color bars to be tested according to the second grayscale difference, and calculating a third change in the third grayscale difference between two adjacent blue color bars to be tested according to the third grayscale difference; judging whether the liquid crystal display screen is qualified according to the first change, the second change and the third change.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of display screen testing, and in particular to a method, device, computer equipment and storage medium for testing a liquid crystal display screen. Background Art

[0002] As the intelligentization of household appliances becomes more and more popular, TFT (Thin Film Transistor) LCD screens are increasingly used in display interfaces for human-computer interaction. People have higher and higher requirements for the display colors of TFT LCD screens, especially the color distortion affects the customer experience. Therefore, current products with TFT LCD screens need to be tested for whether the colors of TFT LCD screens can be displayed normally, whether the colors are distorted, etc. The existing method is to first use a lumen meter (or an expensive optical tester) to test whether the brightness of the TFT LCD screen is qualified, and then use the human eye to test whether the red screen, green screen, blue screen, black screen, and white screen meet the requirements. However, the lumen meter can only test point light sources, and it is necessary to take multiple points on the TFT LCD screen for testing and then calculate the average, resulting in inaccurate tested brightness, which in turn reduces the accuracy of the screen test; in addition, this method requires manual operation, and the human eye has certain difficulties and limitations in recognizing color distortion, resulting in high labor costs and low production efficiency of the existing testing methods, and manual testing is prone to visual fatigue and leads to the outflow of defective products. Summary of the invention

[0003] The present application provides a method, device, computer equipment and storage medium for testing a liquid crystal display screen, so as to solve the technical problems of low screen testing accuracy and easy flow of defective products in the existing liquid crystal display screen testing technology.

[0004] In a first aspect, a method for testing a liquid crystal display screen is provided, the method comprising:

[0005] Get the inverse gamma parameters of the LCD display;

[0006] Controlling the liquid crystal display screen to display a preset number of color bars to be tested, wherein the color bars to be tested include a red color bar to be tested, a green color bar to be tested, and a blue color bar to be tested;

[0007] Acquire an image of the color strip to be tested that is currently displayed, and determine an initial grayscale value of each color strip to be tested according to the image;

[0008] Determine the actual grayscale value of each color strip to be tested according to the inverse gamma parameter and the initial grayscale value;

[0009] Determine, according to the actual grayscale value, a first grayscale difference between two adjacent red color bars to be tested, a second grayscale difference between two adjacent green color bars to be tested, and a third grayscale difference between two adjacent blue color bars to be tested;

[0010] Calculate a first change in the difference between two adjacent first grayscale values ​​in the red color strip to be tested according to the first grayscale difference, calculate a second change in the difference between two adjacent second grayscale values ​​in the green color strip to be tested according to the second grayscale difference, and calculate a third change in the difference between two adjacent third grayscale values ​​in the blue color strip to be tested according to the third grayscale difference;

[0011] Whether the liquid crystal display screen is qualified is judged according to the first change amount, the second change amount and the third change amount.

[0012] In combination with the first aspect, in a possible implementation method, judging whether the LCD screen is qualified based on the first change amount, the second change amount and the third change amount includes: if the first change amount is within a first preset range, the second change amount is within a second preset range, and the third change amount is within a third preset range, then judging that the LCD screen is qualified; if the first change amount exceeds the first preset range, or the second change amount exceeds the second preset range, or the third change amount exceeds the third preset range, then judging that the LCD screen is unqualified.

[0013] In combination with the first aspect, in a possible implementation manner, the preset number of color bars to be tested includes 8 red color bars to be tested, 8 green color bars to be tested, and 8 blue color bars to be tested.

[0014] In combination with the first aspect, in a possible implementation method, determining the actual grayscale value of each color bar to be tested based on the inverse gamma parameters and the initial grayscale value includes: normalizing the initial grayscale value to obtain the initial normalized value of each color bar to be tested; performing inverse gamma calculation based on the initial normalized value and the inverse gamma parameters to determine the actual grayscale value of each color bar to be tested.

[0015] In combination with the first aspect, in a possible implementation method, the inverse gamma calculation is performed based on the initial normalized value and the inverse gamma parameter to determine the actual grayscale value of each color bar to be tested, including: determining the inverse gamma value of each color bar to be tested based on the initial normalized value and the inverse gamma parameter; determining the actual grayscale value of each color bar to be tested by the inverse gamma value and a preset actual grayscale maximum value.

[0016] In combination with the first aspect, in a possible implementation method, before obtaining the inverse gamma parameters of the liquid crystal display, it also includes: controlling the liquid crystal display to display a preset number of sample color bars; measuring the sample grayscale value of each sample color bar currently displayed; normalizing the sample grayscale value to obtain the sample grayscale normalized value of each sample color bar; determining the gamma parameters of the liquid crystal display according to the sample grayscale normalized value; and determining the inverse gamma parameters according to the gamma parameters.

[0017] In combination with the first aspect, in a possible implementation method, determining the gamma parameters of the liquid crystal display screen based on the sample grayscale normalization value includes: determining the sample digital color of each sample color display bar; normalizing the sample digital color to obtain the sample digital color normalization value of each sample color display bar; and determining the gamma parameters of the liquid crystal display screen based on the sample digital color normalization value and the sample grayscale normalization value.

[0018] In a second aspect, a test device for a liquid crystal display screen is provided, the device comprising:

[0019] An inverse gamma parameter acquisition module is used to obtain inverse gamma parameters of a liquid crystal display;

[0020] A display module, used to control the liquid crystal display screen to display a preset number of color bars to be tested, wherein the color bars to be tested include a red color bar to be tested, a green color bar to be tested, and a blue color bar to be tested;

[0021] A first parameter determination module is used to collect the image of the color strip to be tested that is currently displayed, and determine the initial grayscale value of each color strip to be tested according to the image;

[0022] A second parameter determination module, used for determining the actual gray value of each color strip to be tested according to the inverse gamma parameter and the initial gray value;

[0023] A first difference calculation module is used to determine, according to the actual gray value, a first gray difference between two adjacent color bars to be tested in the red color bars to be tested, a second gray difference between two adjacent color bars to be tested in the green color bars to be tested, and a third gray difference between two adjacent color bars to be tested in the blue color bars to be tested;

[0024] A second difference calculation module is used to calculate a first change amount of a difference between two adjacent first grayscale values ​​in the red color strip to be tested according to the first grayscale difference value, calculate a second change amount of a difference between two adjacent second grayscale values ​​in the green color strip to be tested according to the second grayscale difference value, and calculate a third change amount of a difference between two adjacent third grayscale values ​​in the blue color strip to be tested according to the third grayscale difference value;

[0025] A judging module is used to judge whether the liquid crystal display screen is qualified according to the first change amount, the second change amount and the third change amount.

[0026] In combination with the second aspect, in one possible design, the judgment module is specifically used to determine that the LCD screen is qualified if the first change amount is within a first preset range, the second change amount is within a second preset range, and the third change amount is within a third preset range; if the first change amount exceeds the first preset range, or the second change amount exceeds the second preset range, or the third change amount exceeds the third preset range, then the LCD screen is determined to be unqualified.

[0027] In combination with the second aspect, in a possible design, the preset number of color bars to be tested includes 8 red color bars to be tested, 8 green color bars to be tested, and 8 blue color bars to be tested.

[0028] In combination with the second aspect, in a possible design, the second parameter determination module is specifically used to normalize the initial grayscale value to obtain the initial normalized value of each color bar to be tested; and perform inverse gamma calculation based on the initial normalized value and the inverse gamma parameter to determine the actual grayscale value of each color bar to be tested.

[0029] In combination with the second aspect, in a possible design, the second parameter determination module is also specifically used to determine the inverse gamma value of each color bar to be tested based on the initial normalized value and the inverse gamma parameter; and determine the actual grayscale value of each color bar to be tested by the inverse gamma value and a preset actual grayscale maximum value.

[0030] In combination with the second aspect, in a possible design, the device also includes an inverse gamma parameter determination module, which is used to control the LCD display to display a preset number of sample color bars; measure the sample grayscale value of each sample color bar currently displayed; normalize the sample grayscale value to obtain the sample grayscale normalized value of each sample color bar; determine the gamma parameters of the LCD display according to the sample grayscale normalization value; and determine the inverse gamma parameters according to the gamma parameters.

[0031] In combination with the second aspect, in a possible design, the inverse gamma parameter determination module is also specifically used to determine the sample digital color of each sample color display bar; normalize the sample digital color to obtain the sample digital color normalization value of each sample color display bar; and determine the gamma parameter of the liquid crystal display screen based on the sample digital color normalization value and the sample grayscale normalization value.

[0032] In a third aspect, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:

[0033] Get the inverse gamma parameters of the LCD display;

[0034] Controlling the liquid crystal display screen to display a preset number of color bars to be tested, wherein the color bars to be tested include a red color bar to be tested, a green color bar to be tested, and a blue color bar to be tested;

[0035] Acquire an image of the color strip to be tested that is currently displayed, and determine an initial grayscale value of each color strip to be tested according to the image;

[0036] Determine the actual grayscale value of each color strip to be tested according to the inverse gamma parameter and the initial grayscale value;

[0037] Determine, according to the actual grayscale value, a first grayscale difference between two adjacent red color bars to be tested, a second grayscale difference between two adjacent green color bars to be tested, and a third grayscale difference between two adjacent blue color bars to be tested;

[0038] Calculate a first change in the difference between two adjacent first grayscale values ​​in the red color strip to be tested according to the first grayscale difference, calculate a second change in the difference between two adjacent second grayscale values ​​in the green color strip to be tested according to the second grayscale difference, and calculate a third change in the difference between two adjacent third grayscale values ​​in the blue color strip to be tested according to the third grayscale difference;

[0039] Whether the liquid crystal display screen is qualified is judged according to the first change amount, the second change amount and the third change amount.

[0040] In a fourth aspect, a computer-readable storage medium is provided, storing a computer program, wherein when the computer program is executed by a processor, the processor executes the following steps:

[0041] Get the inverse gamma parameters of the LCD display;

[0042] Controlling the liquid crystal display screen to display a preset number of color bars to be tested, wherein the color bars to be tested include a red color bar to be tested, a green color bar to be tested, and a blue color bar to be tested;

[0043] Acquire an image of the color strip to be tested that is currently displayed, and determine an initial grayscale value of each color strip to be tested according to the image;

[0044] Determine the actual grayscale value of each color strip to be tested according to the inverse gamma parameter and the initial grayscale value;

[0045] Determine, according to the actual grayscale value, a first grayscale difference between two adjacent red color bars to be tested, a second grayscale difference between two adjacent green color bars to be tested, and a third grayscale difference between two adjacent blue color bars to be tested;

[0046] Calculate a first change in the difference between two adjacent first grayscale values ​​in the red color strip to be tested according to the first grayscale difference, calculate a second change in the difference between two adjacent second grayscale values ​​in the green color strip to be tested according to the second grayscale difference, and calculate a third change in the difference between two adjacent third grayscale values ​​in the blue color strip to be tested according to the third grayscale difference;

[0047] Whether the liquid crystal display screen is qualified is judged according to the first change amount, the second change amount and the third change amount.

[0048] The present application can achieve the following beneficial effects: the present application utilizes the principles of image acquisition, image restoration and color compensation to realize the testing of TFF liquid crystal display screens; by calculating the grayscale difference between two adjacent color bars to be tested in the color bars to be tested of each color and the change in the two adjacent differences, it is determined whether the liquid crystal display screen is qualified, thereby realizing automatic testing of liquid crystal display screens based on algorithms, without the need to operate professional optical instruments and the human eye to compare online with standard samples for testing; the production effect is greatly improved, the production cost and equipment investment cost are saved, and at the same time, it can also effectively avoid the outflow of defective products due to visual fatigue, thereby improving the stability of the quality of shipped products. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 A schematic diagram of a color bar display of a liquid crystal display screen provided in an embodiment of the present application;

[0050] Figure 2 A schematic diagram of the correspondence between the grayscale value and the binary value of a liquid crystal display screen provided in an embodiment of the present application;

[0051] Figure 3 A schematic diagram of the structure of a liquid crystal display screen test system provided in an embodiment of the present application;

[0052] Figure 4 A schematic diagram of the principle of a liquid crystal display screen testing system provided in an embodiment of the present application;

[0053] Figure 5 A schematic diagram of a flow chart of a method for testing a liquid crystal display screen provided in an embodiment of the present application;

[0054] Figure 6 A schematic diagram of a color bar to be tested displayed on a 5:6:5 display screen provided in an embodiment of the present application;

[0055] Figure 7 A schematic diagram of an interface structure and a control circuit of a liquid crystal display screen provided in an embodiment of the present application;

[0056] Figure 8 A data schematic diagram of abnormalities in red and blue bit 4 to bit 7 of a liquid crystal display provided in an embodiment of the present application;

[0057] Fig. 9 A schematic diagram of data showing abnormalities in green bit 2 to bit 7 of a liquid crystal display provided in an embodiment of the present application;

[0058] Fig.10 A schematic diagram of the structure of a liquid crystal display screen testing device provided in an embodiment of the present application;

[0059] Fig.11 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0061] The technical solution of the present application can be applied to various scenarios of LCD screen testing. Specifically, the technical solution of the present application is applicable to the scenario of testing the LCD screen through the acquisition module. In practical applications, the technical solution of the present application is applicable to an algorithm-based automatic test system for LCD screens. Specifically, the color bars displayed on the LCD screen are acquired through the acquisition module, and then the LCD screen test is completed through a specific algorithm. Among them, the acquisition module in the test system can be a digital camera or other types of cameras.

[0062] In order to facilitate understanding of the technical solution of the present application, the test object (liquid crystal display) of the present application is first explained. Figure 1 As shown, Figure 1 A color bar display schematic diagram of a liquid crystal display provided in an embodiment of the present application. The liquid crystal display can display true color pictures, and its basic principle is to use the principle of the three primary colors of red (R), green (G), and blue (B). Specifically, the grayscale (degree) value (color saturation, referred to as color) of the three RGB colors of a certain pixel point on the liquid crystal display is controlled by a digital signal to realize the display of different colors. In a true color liquid crystal display, red, green, and blue each have 256 grayscales (colors), which are controlled by 8-bit numbers 1 and 0 (00000000 to 11111111, so that red, green, and blue each have 2 8 = 256 colors). At each pixel, different grayscales of red, green and blue are combined to form the actual displayed color, with a total of 256*256*256 colors.

[0063] Specifically, the LCD screen converts digital colors into simulated colors of nature (true color). The grayscale value of the LCD screen is controlled by an 8-bit thin-film transistor (matrix), so each primary color (R, G, B) has 28=256 colors (binary: 00000000 to 11111111). The human eye is more sensitive to green, and green has 4 grayscale value changes, which the human eye can feel; while for red and blue, 8 grayscale values ​​are required to feel them; so we often use 5:6:5 LCD screens. The 5:6:5 display screen we commonly use means that the red R is controlled by a 5-bit thin film transistor (binary: 00000 to 11111, the lower three bits are discarded), the green G is controlled by a 6-bit thin film transistor (binary: 000000 to 111111, the lower two bits are discarded), and the blue B is controlled by a 5-bit thin film transistor (binary: 00000 to 11111, the lower three bits are discarded). Their maximum grayscale value is still 255, and the minimum grayscale value is still 0. The specific correspondence between grayscale values ​​and binary values ​​is as follows: Figure 2 As shown, Figure 2 A schematic diagram of the correspondence between the grayscale value and the binary value of a liquid crystal display provided in an embodiment of the present application. The digital color of the liquid crystal display is represented by the grayscale value. Based on this, in the subsequent description, the technical solution of the present application is explained by taking a 5:6:5 liquid crystal display as an example.

[0064] In order to facilitate understanding of the technical solution of the present application, the algorithm-based automatic testing system for liquid crystal display screens applicable to the present application is introduced. Figure 3 As shown, Figure 3A structural schematic diagram of a test system for a liquid crystal display screen provided in an embodiment of the present application. The test system includes a liquid crystal display screen 10 to be tested, an acquisition module 20 and a control device 30, wherein the control device 30 is connected to the liquid crystal display screen 10 and the acquisition module 20 at the same time, wherein the acquisition module 20 includes an image processing module. The liquid crystal display screen 10 to be tested is used to display the color bars to be tested; the acquisition module 20 is used to acquire the image of the color bars to be tested displayed by the liquid crystal display screen 10 to be tested, and the image of the color bars to be tested is processed by the image processing module to obtain the initial grayscale value of each color bar to be tested; the control device 30 is used to determine whether the liquid crystal display screen 10 to be tested is qualified according to the initial grayscale value of each color bar to be tested obtained by the acquisition module 20. Specifically, in actual applications, the image processing module can also be set in the control device 30. In this scenario, the acquisition module 20 is used to capture the image of the color bar to be tested displayed on the LCD screen 10 to be tested, and send the acquired image to the control device 30. The image processing module in the control device 30 processes the image to obtain the initial grayscale value of each color bar to be tested, and then determines whether the LCD screen 10 to be tested is qualified based on the initial grayscale value of each color bar to be tested.

[0065] Specifically, in this test system, if Figure 4 As shown, Figure 4 A schematic diagram of the principle of a test system for a liquid crystal display provided by an embodiment of the present application. The liquid crystal display 10 to be tested converts digital colors into colors (true colors) that simulate nature, but the human eye is more sensitive to changes in light brightness of low grayscale (degrees) (darker) and less sensitive to changes in light brightness of high grayscale (degrees) (brighter). Therefore, when the liquid crystal display 10 to be tested is displayed, it is necessary to perform gamma correction on the digital colors so that the colors displayed by the liquid crystal display 10 to be tested, which are seen by our human eyes, are close to the colors of nature; and the acquisition module 20 converts the colors of nature into digital colors. In this way, after processing the image acquired by the acquisition module 20, we can obtain the initial grayscale value of the image, that is, the color value finally displayed by the liquid crystal display 10 to be tested (here, we refer to this value as the value of the measured color); then, after performing inverse gamma calculation on the value of the measured color of the image, the initial digital color value of the liquid crystal display 10 to be tested can be restored more realistically, and then only the digital color value can be compared to determine whether the liquid crystal display 10 to be tested meets the requirements.

[0066] In this test system, the acquisition module is used to replace the human eye for testing, and a specific calculation algorithm is used to replace the tester's subjective judgment, realizing algorithm-based automatic testing, which can effectively reduce the interference of human factors on the test, not only saving production costs and equipment investment costs, greatly improving production results, but also effectively avoiding the outflow of defective products due to visual fatigue, and improving the stability of the quality of shipped products.

[0067] In one embodiment, the present application provides a method for testing a liquid crystal display screen, such as Figure 5 As shown, Figure 5 A flow chart of a method for testing a liquid crystal display screen provided in an embodiment of the present application, the method comprising:

[0068] Step 501, obtaining the inverse gamma parameters of the liquid crystal display.

[0069] Among them, the inverse gamma parameter is determined based on the gamma parameter of the LCD screen, and the relationship between the two is as follows:

[0070] γ'=1 / γ;

[0071] Wherein, γ′ is the inverse gamma parameter, and γ is the gamma parameter. For example, γ=2.2, γ′=0.45.

[0072] In one embodiment, the gamma parameters of the liquid crystal display screen can be obtained from the inherent parameters of the liquid crystal display screen. Specifically, a preset number of sample gamma parameters of the same type of liquid crystal display screen can be obtained, and then the obtained preset number of sample gamma parameters are averaged, and the average value is used as the final gamma parameter. It should be noted that since the gamma parameters of the same type of liquid crystal display screen are the same, when testing the same type (same model) of liquid crystal display screens, it is only necessary to execute step 501 once when testing the first liquid crystal display screen, and when testing the second, third, ... nth blocks, directly use the inverse gamma parameters obtained when testing the first block, and there is no need to repeat step 501; that is, when testing the first liquid crystal display screen, execute steps 501-step 507, and when testing the second, third, ... nth blocks, repeat steps 502-step 507. Similarly, since the gamma parameters of different types of LCD screens are different, after testing the LCD screen model A, if you want to test the LCD screen model B, when testing the first LCD screen model B, you need to re-acquire the inverse gamma parameters of the LCD screen model B, that is, re-execute step 501.

[0073] Specifically, in order to avoid test errors caused by the sample gamma parameters given by the LCD manufacturer not being consistent with the actual ones, you can also choose to measure the gamma parameters of the LCD by yourself when testing the LCD. The measurement method of the gamma parameters will be introduced in the subsequent description.

[0074] Step 502, controlling the liquid crystal display screen to display a preset number of color bars to be tested, wherein the color bars to be tested include a red color bar to be tested, a green color bar to be tested, and a blue color bar to be tested.

[0075] The automated test tool sends a color bar display command to the LCD screen, and the LCD screen displays a preset number of color bars to be tested after receiving the color bar display command. Figure 3 The liquid crystal display screen 10 to be tested in the test system of the liquid crystal display screen shown in FIG. 1 is a liquid crystal display screen 10 to be tested; the automated test tool can be as follows Figure 3 A control device 30 in a test system for a liquid crystal display is shown.

[0076] In one embodiment, the number of color bars to be tested is preset. Figure 6 As shown, Figure 6 A schematic diagram of the color bars to be tested displayed on a 5:6:5 display screen; when the LCD display screen is a 5:6:5 display screen, the preset number of color bars to be tested includes 8 red color bars to be tested, 8 green color bars to be tested, and 8 blue color bars to be tested.

[0077] Specifically, Figure 7 As shown, Figure 7An interface structure and control circuit diagram of a liquid crystal display provided in an embodiment of the present application. Among them, the interface of the liquid crystal display includes pins PIN1 to PIN40, specifically, pins PIN5 to PIN12 correspond to red digital signal input interfaces R0 to R7, respectively, for inputting 8 bits of red digital signals from R0 to R7; pins PIN13 to PIN20 correspond to green digital signal input interfaces G0 to G7, respectively, for inputting 8 bits of green digital signals from G0 to G7; pins PIN21 to PIN28 correspond to blue digital signal input interfaces B0 to B7, respectively, for inputting 8 bits of blue digital signals from B0 to B7. The control circuit is integrated on the circuit control board, and the control circuit includes an FPC socket, a TFT (liquid crystal display) three-primary color drive circuit, a power supply circuit, an MCU (microcontroller), and other functional circuits. In order to ensure that the 5:6:5 LCD screen can display normally and the colors are not distorted, it is necessary to ensure that R3 to R7 (discard the lower three bits R0, R1, R2), G2 to G7 (discard the lower two bits G0, G1) and B3 to B7 (discard the lower three bits B0, B1, B2) a total of 16 signals for color control work properly, that is, the pins of the interface between the FPC socket and the LCD screen must be reliably connected, and the TFT three-primary color drive circuit and MCU (microcontroller) work properly. For these 16 color control signals, each line has only two digital signals: on (indicated by the binary number "1") and off (indicated by the binary number "0"). If the color is poor (it should be on, but it is in the off state; it should be off, but it is on), it will cause the LCD screen to display poorly, color distortion and other phenomena. In order to avoid poor display of the LCD screen, you can test whether the LCD screen can correctly display 32 (2 5 ) red, 64(2 6 ) green and 32(2 5 ) kinds of blue to test the LCD screen, that is, the LCD screen can be tested by testing 32 red color bars with different grayscale values, 64 green color bars with different grayscale values, and 32 blue color bars with different grayscale values ​​displayed on the LCD screen, and a total of 128 tests are required. However, 128 tests take a lot of testing time and are prone to misjudgment. Based on this, the present application proposes a more simplified test scheme, where only 8 color bars of each color need to be tested. The specific theory is as follows:

[0078] For 5:6:5 LCD screen, red and blue are only 32 (2 5 ) colors (grayscale), controlled by 5 thin film transistors. If one of the thin film transistors fails, there are only 16 (2 4 ) colors (grayscale), 2 thin film transistors are broken, only 8 (2 3) colors (grayscale), 3 thin film transistors are broken, only 4 (2 2 ) colors (grayscale), 4 thin film transistors are broken, only 2 (2 1 ) colors (grayscale), if 5 thin film transistors are broken, there will only be 1 (20) color (black dot or fixed brightness color dot). Figure 2 It can be seen from the schematic diagram of the grayscale value correspondence of a liquid crystal display screen shown that the minimum grayscale resolution for red and blue is 8 grayscale values, that is to say, it is normal for the grayscale of the color to differ by 8 grayscale values. Therefore, by displaying the color bars of specific grayscale values, as long as the grayscale values ​​between different color bars are tested to differ by no more than 8 grayscale values, the test result is considered to be PASS (qualified), otherwise the test result is Fail (failed). Similarly, for green, as long as the grayscale values ​​between different color bars are tested to differ by no more than 4 grayscale values, the test result is considered to be PASS (qualified), otherwise the test result is Fail (failed). By adopting the technical means that the color bars to be tested include 8 red color bars to be tested, 8 green color bars to be tested, and 8 blue color bars to be tested, not only can the test of the liquid crystal display screen be completed accurately, but also the time loss can be greatly reduced and the test efficiency can be improved.

[0079] Step 503 , collecting the image of the color strip to be tested that is currently displayed, and determining the initial grayscale value of each color strip to be tested according to the image.

[0080] Among them, after controlling the LCD screen to display 8 red color bars to be tested, 8 green color bars to be tested, and 8 blue color bars to be tested, the automated test tooling sends an acquisition instruction to the acquisition module (the acquisition module can be a digital camera). After receiving the acquisition instruction, the acquisition module acquires the image of the currently displayed color bar to be tested, and processes the acquired image through the image processing module in the acquisition module to determine the initial grayscale value of each color bar to be tested. Specifically, the initial grayscale value is the color value finally displayed by the LCD screen. Here, we refer to this value as the value of the measured color. The acquisition module can be the acquisition module 20 to be tested in the test system of the above-mentioned LCD screen.

[0081] Specifically, when the image processing module in the acquisition module processes the acquired image, it will first sample each color bar to be tested, and then process the sampled color bar to obtain the initial grayscale value of each color bar to be tested. In the sampling process, the area of ​​the sampled color bar cannot be less than 90% of the area of ​​the color bar to be tested. After sampling the color bars to be tested, the mutual influence between adjacent color bars to be tested can be effectively avoided, and the accuracy of the initial grayscale value can be improved.

[0082] Step 504: determining the actual grayscale value of each color strip to be tested according to the inverse gamma parameter and the initial grayscale value.

[0083] Among them, for the LCD screen, the LCD screen simulates the (initial) digital color into true color after gamma correction and displays it. Here, after determining the initial grayscale value of each color bar to be tested (that is, after determining the grayscale value of the true color currently displayed by the LCD screen), the actual grayscale value of each color bar to be tested can be determined by inverse gamma correction (that is, determining the value of the initial digital color corresponding to the true color currently displayed by the LCD screen).

[0084] In one embodiment, determining the actual grayscale value of each color bar to be tested based on the inverse gamma parameters and the initial grayscale value includes: normalizing the initial grayscale value to obtain the initial normalized value of each color bar to be tested; performing inverse gamma calculation based on the initial normalized value and the inverse gamma parameters to determine the actual grayscale value of each color bar to be tested.

[0085] Among them, normalizing the initial grayscale value means mapping the initial grayscale value to the interval [0, 1], so as to make data processing more convenient and avoid calculation errors caused by complex data processing.

[0086] Among them, taking the red color bar to be tested as an example, when the grayscale value of the red color bar to be tested is determined in the actual test, three color values, namely green value, blue value and red value, will be obtained. However, since the proportion of green value and blue value in the red color bar to be tested is very small, the green value and blue value are ignored when the numerical calculation of the red color bar to be tested is performed, and only the red value is used for calculation. Similarly, since the proportion of red value and blue value in the green color bar to be tested is very small, the red value and blue value are ignored when the numerical calculation of the green color bar to be tested is performed, and only the green value is used for calculation; since the proportion of green value and red value in the blue color bar to be tested is very small, the green value and red value are ignored when the numerical calculation of the blue color bar to be tested is performed, and only the blue value is used for calculation.

[0087] Specifically, taking the red color bar to be tested as an example, after determining the initial grayscale value (that is, the red value) of each red color bar to be tested, the initial normalized value of the maximum value among the multiple red values ​​is recorded as 1, and the initial grayscale value of the red color bar to be tested is normalized by the normalization formula:

[0088]

[0089] Among them, A is any red value except the maximum value among the red values, B is the maximum value among the red values, and a is the initial normalized value of A.

[0090] Similarly, by using the above formula, the data of the red color bar to be tested is replaced with the data of the green color bar to be tested, so that the initial grayscale value of each green color bar to be tested can be normalized to obtain the initial normalized value of each green color bar to be tested; the data of the red color bar to be tested is replaced with the data of the blue color bar to be tested, so that the initial grayscale value of each blue color bar to be tested can be normalized to obtain the initial normalized value of each blue color bar to be tested. After normalizing each color bar to be tested to obtain the initial normalized value, an inverse gamma calculation can be performed based on the initial normalized value and the inverse gamma parameter to determine the actual grayscale value of each color bar to be tested.

[0091] In one embodiment, the inverse gamma calculation is performed based on the initial normalized value and the inverse gamma parameter to determine the actual grayscale value of each color bar to be tested, including: determining the inverse gamma value of each color bar to be tested based on the initial normalized value and the inverse gamma parameter; determining the actual grayscale value of each color bar to be tested by the inverse gamma value and a preset actual grayscale maximum value.

[0092] The inverse gamma value is an intermediate parameter obtained by performing inverse gamma calculation on the initial normalized value of each color bar to be tested, and is used to indicate the ratio of the actual grayscale value of the color bar to be tested to the preset actual grayscale maximum value.

[0093] Specifically, taking the red color bar to be tested as an example, the inverse gamma value is calculated by the following inverse gamma value calculation formula:

[0094] C=a γ’ ;

[0095] Among them, γ' is the inverse gamma parameter, and a is the initial normalized value of any red value except the maximum value.

[0096] Similarly, according to the inverse gamma value calculation formula, the data of the red color bar to be tested is replaced by the data of the blue color bar to be tested, and the inverse gamma value of each blue color bar to be tested can be calculated; according to the inverse gamma value calculation formula, the data of the red color bar to be tested is replaced by the data of the green color bar to be tested, and the inverse gamma value of each green color bar to be tested can also be calculated.

[0097] Specifically, taking the red color bar to be tested as an example, after obtaining the initial grayscale value (red value) of each red color bar to be tested, the initial grayscale value (red value) of each red color bar to be tested is normalized to obtain the initial normalized value of each red color bar to be tested, and then the initial normalized value of each red color bar to be tested is inversely gamma calculated to obtain the inverse gamma value of each red color bar to be tested, and finally the inverse gamma value of each red color bar to be tested is multiplied by the preset actual grayscale maximum value to obtain the actual grayscale value of each red color bar to be tested, that is, the digital color value of each red color bar to be tested. Among them, the maximum digital color of the LCD screen is 255, that is, the preset actual grayscale maximum value is 255.

[0098] Step 505, determining the first grayscale difference between two adjacent red color bars to be tested, the second grayscale difference between two adjacent green color bars to be tested, and the third grayscale difference between two adjacent blue color bars to be tested according to the actual grayscale value.

[0099] Step 506, calculate the first change of the two adjacent first grayscale difference values ​​in the red color strip to be tested based on the first grayscale difference value, calculate the second change of the two adjacent second grayscale difference values ​​in the green color strip to be tested based on the second grayscale difference value, and calculate the third change of the two adjacent third grayscale difference values ​​in the blue color strip to be tested based on the third grayscale difference value.

[0100] Taking the red color bar to be tested as an example, first, the first grayscale difference between two adjacent color bars to be tested in the red color bar to be tested is calculated, specifically:

[0101] Δ(i)=BAR(i)-BAR(i-1);

[0102] Specifically, Δ is the first grayscale difference, Δ(i) is the i-th first grayscale difference, i≥1, BAR1 represents the red color bar 1 to be tested, BAR(i) represents the red color bar i to be tested, BAR(i-1) represents the red color bar i-1 to be tested, and it should be noted that BAR0 represents pure black, and the grayscale value is 0.

[0103] Then, the variation of the first grayscale difference between two adjacent red color bars to be tested is calculated, which is specifically:

[0104] δ = Δ(i) - Δ(i-1);

[0105] Specifically, δ is the first variation of the difference between two adjacent first grayscale values ​​in the red color strip to be tested, i≥1, Δ(i) is the i-th first grayscale difference, and Δ(i-1) is the i-1-th first grayscale difference.

[0106] As shown in Table 1 and Table 2, Table 1 is a test data table of the red and blue color bars to be tested, and Table 2 is a test data table of the green color bar to be tested.

[0107] Table 1

[0108]

[0109]

[0110] Table 2

[0111]

[0112] Step 507: Determine whether the LCD display screen is qualified according to the first change amount, the second change amount, and the third change amount.

[0113] After calculating the numerical value of the digital color to obtain the first change amount, the second change amount and the third change amount, it is possible to judge whether the liquid crystal display screen is qualified.

[0114] Specifically, judging whether the LCD screen is qualified based on the first change amount, the second change amount and the third change amount includes: if the first change amount is within a first preset range, the second change amount is within a second preset range, and the third change amount is within a third preset range, then judging that the LCD screen is qualified; if the first change amount exceeds the first preset range, or the second change amount exceeds the second preset range, or the third change amount exceeds the third preset range, then judging that the LCD screen is unqualified.

[0115] Among them, the qualified standards for red and blue can be preset to -8≤δ≤8, and the qualified standard for green can be preset to -4≤δ≤4. After obtaining the first variation, the second variation, and the third variation, the qualified LCD screen can be judged by judging whether the first variation and the second variation satisfy -8≤δ≤8, and judging whether the third variation satisfies -4≤δ≤4. In practical applications, due to the individual differences of LCD screens, we can relax the qualified standards to: -12≤δ≤12 for red and blue, and -6≤δ≤6 for green.

[0116] In one embodiment, we verify the test method of the liquid crystal display screen of the present application. If there is a problem with the circuit associated with interface R3 and interface B3, there are two situations, bit3=1 (the circuit associated with interface R3 / B3 makes bit3 always equal to 1 due to a circuit fault (such as a short circuit)), bit3=0 (the circuit associated with interface R3 / B3 makes bit3 always equal to 0 due to a circuit fault (such as an open circuit)). Through calculation, it can be found that when bit3=1, 4 out of 7 δ values ​​exceed the qualified standard -8≤δ≤8; when bit3=0, 5 out of 7 δ values ​​exceed the qualified standard -8≤δ≤8; and it is finally judged as Fail. Specifically, as shown in Table 3a and Table 3b, Table 3a is a data table for red and blue bit3=1, and Table 3b is a data table for red and blue bit3=0.

[0117] Table 3a

[0118]

[0119] Table 3b

[0120]

[0121] Similarly, when bit4=1 / bit4=0 (corresponding to the line associated with interface R4 / B4), bit5=1 / bit5=0 (corresponding to the line associated with interface R5 / B5), bit6=1 / bit6=0 (corresponding to the line associated with interface R6 / B6), bit7=1 / bit7=0 (corresponding to the line associated with interface R7 / B7), we can calculate the change δ of the grayscale difference between the corresponding color display stripes, as Figure 8 As shown, Figure 8 A data diagram of abnormal red and blue bit4 to bit7 of a liquid crystal display provided by an embodiment of the present application. It can be seen that the selected color bar can fully detect defective products, and 32 grayscale colors are controlled by 5 bits (bit3 to bit7), that is, the present application can detect the corresponding colors of the 32 grayscale values ​​of red and blue, ensuring that qualified products are not distorted.

[0122] Secondly, for green, there are 64 grayscale values ​​(controlled by 6 bits: bit2 to bit7), and the calculation results are as follows: Fig. 9 As shown, Fig. 9 A data schematic diagram of abnormal green bit2 to bit7 of a liquid crystal display (corresponding to the lines associated with interfaces G2 to G7) provided in an embodiment of the present application shows that the present application can detect the corresponding colors of the 64 grayscale values ​​of green to ensure that qualified products are not distorted.

[0123] The present application utilizes the principles of image acquisition, image restoration, and color compensation to test TFF liquid crystal display screens. It determines whether the liquid crystal display screen is qualified by calculating the grayscale difference between two adjacent color bars to be tested in the color bars to be tested for each color and the change in the two adjacent differences, thereby realizing automatic testing based on algorithms without the need to operate professional optical instruments and the human eye to compare online with standard samples for testing. It greatly improves production results, saves production costs and equipment investment costs, and can also effectively avoid the outflow of defective products due to visual fatigue, thereby improving the stability of the quality of shipped products.

[0124] In one embodiment, the present application also proposes a method for determining the gamma parameters and inverse gamma parameters of a liquid crystal display screen. Specifically, before controlling the liquid crystal display screen to display a preset number of color bars to be tested, it also includes: controlling the liquid crystal display screen to display a preset number of sample color bars; measuring the sample grayscale value of each sample color bar currently displayed; normalizing the sample grayscale value to obtain the sample grayscale normalized value of each sample color bar; determining the sample digital color of each sample color bar; normalizing the sample digital color to obtain the sample digital color normalized value of each sample color bar; determining the gamma parameters of the liquid crystal display screen according to the sample digital color normalized value and the sample grayscale normalized value; and determining the inverse gamma parameters according to the gamma parameters.

[0125] Among them, taking the sample color bar as red as an example, the LCD screen is controlled to display 32 pure red sample color bars, and then the grayscale values ​​of the 32 sample color bars are tested in a fully enclosed environment using a lumen meter; then the normalized value of the maximum value of the grayscale values ​​of the 32 sample color bars is recorded as 1, and the grayscale values ​​of the 32 sample color bars are normalized to obtain the sample grayscale normalized values ​​of the 32 sample color bars; then, the sample digital colors of the 32 sample color bars are determined according to the RGB mapping table, and the normalized value of the maximum value of 255 in the sample digital colors of the 32 sample color bars is recorded as 1, and the sample digital colors of the 32 sample color bars are normalized to obtain the sample digital color normalized values ​​of the 32 sample color bars; finally, the gamma parameters and inverse gamma parameters of the LCD screen are determined according to the following formula:

[0126] Sample grayscale normalized value = (sample digital color normalized value) γ ;

[0127] γ'=1 / γ;

[0128] Among them, γ' is the inverse gamma parameter and γ is the gamma parameter.

[0129] In this embodiment, by calculating the sample grayscale normalization value and the sample digital color normalization value, the gamma parameter and the inverse gamma parameter of the LCD screen can be accurately calculated, avoiding inaccurate testing caused by the gamma parameter provided by the manufacturer not being consistent with the actual parameter.

[0130] In one embodiment, the present application provides a testing device for a liquid crystal display screen, such as Fig.10 As shown, Fig.10 A schematic diagram of the structure of a liquid crystal display screen test device provided in an embodiment of the present application. The device comprises:

[0131] The inverse gamma parameter acquisition module 10 is used to acquire the inverse gamma parameters of the liquid crystal display.

[0132] The display module 20 is used to control the liquid crystal display screen to display a preset number of color bars to be tested, wherein the color bars to be tested include a red color bar to be tested, a green color bar to be tested, and a blue color bar to be tested.

[0133] The first parameter determination module 30 is used to collect the image of the color strip to be tested that is currently displayed, and determine the initial grayscale value of each color strip to be tested according to the image.

[0134] The second parameter determination module 40 is used to obtain the inverse gamma parameter of the liquid crystal display screen, and determine the actual gray value of each color display bar to be tested according to the inverse gamma parameter and the initial gray value.

[0135] The first difference calculation module 50 is used to determine the first grayscale difference between two adjacent red color bars to be tested, the second grayscale difference between two adjacent green color bars to be tested, and the third grayscale difference between two adjacent blue color bars to be tested according to the actual grayscale value.

[0136] The second difference calculation module 60 is used to calculate the first change in the difference between two adjacent first grayscale values ​​in the red color strip to be tested according to the first grayscale difference, calculate the second change in the difference between two adjacent second grayscale values ​​in the green color strip to be tested according to the second grayscale difference, and calculate the third change in the difference between two adjacent third grayscale values ​​in the blue color strip to be tested according to the third grayscale difference.

[0137] The judgment module 70 is used to judge whether the liquid crystal display screen is qualified according to the first change amount, the second change amount and the third change amount.

[0138] like Fig.11 As shown in FIG. 1 , in one embodiment, it is an internal structure diagram of a computer device. The computer device may be a test device for a liquid crystal display screen, or a terminal or server connected to a test device for a liquid crystal display screen. Fig.11As shown, the computer device includes a processor, a memory, and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement a method for testing a liquid crystal display. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may implement a method for testing a liquid crystal display. The network interface is used to communicate with an external device. Those skilled in the art will appreciate that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0139] In one embodiment, a method for testing a liquid crystal display screen provided by the present application can be implemented in the form of a computer program. The computer program can be used in Fig.11 The computer device shown in the figure is run. The memory of the computer device can store various program templates constituting the test device of the liquid crystal display screen. For example, the inverse gamma parameter acquisition module 10, the display module 20, the first parameter determination module 30, the second parameter determination module 40, the first difference calculation module 50, the second difference calculation module 60, and the judgment module 70.

[0140] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps: obtaining an inverse gamma parameter of a liquid crystal display screen; controlling the liquid crystal display screen to display a preset number of color bars to be tested, wherein the color bars to be tested include a red color bar to be tested, a green color bar to be tested, and a blue color bar to be tested; acquiring an image of the color bar to be tested currently displayed, and determining an initial grayscale value of each color bar to be tested according to the image; determining an actual grayscale value of each color bar to be tested according to the inverse gamma parameter and the initial grayscale value; determining the corresponding grayscale value of the red color bar to be tested according to the actual grayscale value; A first grayscale difference between two adjacent color bars to be tested, a second grayscale difference between two adjacent color bars to be tested in the green color bar to be tested, and a third grayscale difference between two adjacent color bars to be tested in the blue color bar to be tested; a first change in the difference between two adjacent first grayscales in the red color bar to be tested is calculated according to the first grayscale difference, a second change in the difference between two adjacent second grayscales in the green color bar to be tested is calculated according to the second grayscale difference, and a third change in the difference between two adjacent third grayscales in the blue color bar to be tested is calculated according to the third grayscale difference; whether the LCD display is qualified is judged according to the first change, the second change and the third change.

[0141] In one embodiment, judging whether the LCD screen is qualified based on the first change amount, the second change amount and the third change amount includes: if the first change amount is within a first preset range, the second change amount is within a second preset range, and the third change amount is within a third preset range, then judging that the LCD screen is qualified; if the first change amount exceeds the first preset range, or the second change amount exceeds the second preset range, or the third change amount exceeds the third preset range, then judging that the LCD screen is unqualified.

[0142] In one embodiment, the preset number of color bars to be tested includes 8 red color bars to be tested, 8 green color bars to be tested, and 8 blue color bars to be tested.

[0143] In one embodiment, determining the actual grayscale value of each color bar to be tested based on the inverse gamma parameters and the initial grayscale value includes: normalizing the initial grayscale value to obtain the initial normalized value of each color bar to be tested; performing inverse gamma calculation based on the initial normalized value and the inverse gamma parameters to determine the actual grayscale value of each color bar to be tested.

[0144] In one embodiment, the inverse gamma calculation is performed based on the initial normalized value and the inverse gamma parameter to determine the actual grayscale value of each color bar to be tested, including: determining the inverse gamma value of each color bar to be tested based on the initial normalized value and the inverse gamma parameter; determining the actual grayscale value of each color bar to be tested by the inverse gamma value and a preset actual grayscale maximum value.

[0145] In one embodiment, before obtaining the inverse gamma parameters of the liquid crystal display screen, it also includes: controlling the liquid crystal display screen to display a preset number of sample color bars; measuring the sample grayscale value of each sample color bar currently displayed; normalizing the sample grayscale value to obtain the sample grayscale normalized value of each sample color bar; determining the gamma parameters of the liquid crystal display screen according to the sample grayscale normalized value; and determining the inverse gamma parameters according to the gamma parameters.

[0146] In one embodiment, determining the gamma parameters of the liquid crystal display screen according to the sample grayscale normalization value includes: determining the sample digital color of each sample color display bar; normalizing the sample digital color to obtain the sample digital color normalization value of each sample color display bar; and determining the gamma parameters of the liquid crystal display screen according to the sample digital color normalization value and the sample grayscale normalization value.

[0147] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processor executes the following steps: obtaining an inverse gamma parameter of a liquid crystal display screen; controlling the liquid crystal display screen to display a preset number of color bars to be tested, wherein the color bars to be tested include a red color bar to be tested, a green color bar to be tested, and a blue color bar to be tested; acquiring an image of the color bar to be tested currently displayed, and determining an initial grayscale value of each color bar to be tested according to the image; obtaining an inverse gamma parameter of the liquid crystal display screen, and determining an actual grayscale value of each color bar to be tested according to the inverse gamma parameter and the initial grayscale value; determining a red color bar to be tested according to the actual grayscale value; a first grayscale difference between two adjacent color bars to be tested in the green color bar to be tested, a second grayscale difference between two adjacent color bars to be tested in the green color bar to be tested, and a third grayscale difference between two adjacent color bars to be tested in the blue color bar to be tested; a first change in the difference between two adjacent first grayscales in the red color bar to be tested is calculated according to the first grayscale difference, a second change in the difference between two adjacent second grayscales in the green color bar to be tested is calculated according to the second grayscale difference, and a third change in the difference between two adjacent third grayscales in the blue color bar to be tested is calculated according to the third grayscale difference; whether the LCD display is qualified is judged according to the first change, the second change and the third change.

[0148] In one embodiment, judging whether the LCD screen is qualified based on the first change amount, the second change amount and the third change amount includes: if the first change amount is within a first preset range, the second change amount is within a second preset range, and the third change amount is within a third preset range, then judging that the LCD screen is qualified; if the first change amount exceeds the first preset range, or the second change amount exceeds the second preset range, or the third change amount exceeds the third preset range, then judging that the LCD screen is unqualified.

[0149] In one embodiment, the preset number of color bars to be tested includes 8 red color bars to be tested, 8 green color bars to be tested, and 8 blue color bars to be tested.

[0150] In one embodiment, determining the actual grayscale value of each color bar to be tested based on the inverse gamma parameters and the initial grayscale value includes: normalizing the initial grayscale value to obtain the initial normalized value of each color bar to be tested; performing inverse gamma calculation based on the initial normalized value and the inverse gamma parameters to determine the actual grayscale value of each color bar to be tested.

[0151] In one embodiment, the inverse gamma calculation is performed based on the initial normalized value and the inverse gamma parameter to determine the actual grayscale value of each color bar to be tested, including: determining the inverse gamma value of each color bar to be tested based on the initial normalized value and the inverse gamma parameter; determining the actual grayscale value of each color bar to be tested by the inverse gamma value and a preset actual grayscale maximum value.

[0152] In one embodiment, before obtaining the inverse gamma parameters of the liquid crystal display screen, it also includes: controlling the liquid crystal display screen to display a preset number of sample color bars; measuring the sample grayscale value of each sample color bar currently displayed; normalizing the sample grayscale value to obtain the sample grayscale normalized value of each sample color bar; determining the gamma parameters of the liquid crystal display screen according to the sample grayscale normalized value; and determining the inverse gamma parameters according to the gamma parameters.

[0153] In one embodiment, determining the gamma parameters of the liquid crystal display screen according to the sample grayscale normalization value includes: determining the sample digital color of each sample color display bar; normalizing the sample digital color to obtain the sample digital color normalization value of each sample color display bar; and determining the gamma parameters of the liquid crystal display screen according to the sample digital color normalization value and the sample grayscale normalization value.

[0154] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0155] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A method for testing a liquid crystal display, characterized in that: The method comprises: Get the inverse gamma parameters of the LCD display; Controlling the liquid crystal display screen to display a preset number of color bars to be tested, wherein the color bars to be tested include a red color bar to be tested, a green color bar to be tested, and a blue color bar to be tested; Acquire an image of the color strip to be tested that is currently displayed, and determine an initial grayscale value of each color strip to be tested according to the image; Determine the actual grayscale value of each color strip to be tested according to the inverse gamma parameter and the initial grayscale value; Determine, according to the actual grayscale value, a first grayscale difference between two adjacent red color bars to be tested, a second grayscale difference between two adjacent green color bars to be tested, and a third grayscale difference between two adjacent blue color bars to be tested; Calculate a first change in the difference between two adjacent first grayscale values ​​in the red color strip to be tested according to the first grayscale difference, calculate a second change in the difference between two adjacent second grayscale values ​​in the green color strip to be tested according to the second grayscale difference, and calculate a third change in the difference between two adjacent third grayscale values ​​in the blue color strip to be tested according to the third grayscale difference; Whether the liquid crystal display screen is qualified is judged according to the first change amount, the second change amount and the third change amount.

2. The method according to claim 1, characterized in that The determining whether the liquid crystal display screen is qualified according to the first change amount, the second change amount and the third change amount includes: If the first variation is within a first preset range, the second variation is within a second preset range, and the third variation is within a third preset range, then the liquid crystal display screen is determined to be qualified; If the first variation exceeds the first preset range, or the second variation exceeds the second preset range, or the third variation exceeds the third preset range, the LCD screen is determined to be unqualified.

3. The method according to claim 1, characterized in that The preset number of color bars to be tested includes 8 red color bars to be tested, 8 green color bars to be tested, and 8 blue color bars to be tested.

4. The method according to claim 1, characterized in that Determining the actual grayscale value of each color strip to be tested according to the inverse gamma parameter and the initial grayscale value includes: Normalizing the initial grayscale value to obtain an initial normalized value of each color bar to be tested; An inverse gamma calculation is performed according to the initial normalized value and the inverse gamma parameter to determine the actual grayscale value of each color strip to be tested.

5. The method according to claim 4, characterized in that The performing inverse gamma calculation according to the initial normalized value and the inverse gamma parameter to determine the actual grayscale value of each color strip to be tested includes: Determining the inverse gamma value of each color strip to be tested according to the initial normalized value and the inverse gamma parameter; The actual grayscale value of each color display strip to be tested is determined by the inverse gamma value and a preset actual grayscale maximum value.

6. The method according to claim 1, characterized in that Before obtaining the inverse gamma parameters of the liquid crystal display screen, the method further includes: Controlling the liquid crystal display screen to display a preset number of sample color bars; Measure the sample gray value of each sample color bar currently displayed; Normalizing the sample grayscale values ​​to obtain a sample grayscale normalized value of each sample color bar; Determining a gamma parameter of the liquid crystal display screen according to the sample grayscale normalization value; The inverse gamma parameter is determined according to the gamma parameter.

7. The method according to claim 6, characterized in that Determining the gamma parameter of the liquid crystal display screen according to the sample grayscale normalization value includes: Determine the sample digital color of each sample color display strip; Normalizing the sample digital colors to obtain a sample digital color normalization value of each sample color bar; The gamma parameter of the liquid crystal display screen is determined according to the sample digital color normalization value and the sample grayscale normalization value.

8. A test device for a liquid crystal display screen, characterized in that: The device comprises: An inverse gamma parameter acquisition module is used to obtain inverse gamma parameters of a liquid crystal display; A display module, used to control the liquid crystal display screen to display a preset number of color bars to be tested, wherein the color bars to be tested include a red color bar to be tested, a green color bar to be tested, and a blue color bar to be tested; A first parameter determination module is used to collect the image of the color strip to be tested that is currently displayed, and determine the initial grayscale value of each color strip to be tested according to the image; A second parameter determination module, used for determining the actual gray value of each color strip to be tested according to the inverse gamma parameter and the initial gray value; A first difference calculation module is used to determine, according to the actual gray value, a first gray difference between two adjacent color bars to be tested in the red color bars to be tested, a second gray difference between two adjacent color bars to be tested in the green color bars to be tested, and a third gray difference between two adjacent color bars to be tested in the blue color bars to be tested; A second difference calculation module is used to calculate a first change amount of a difference between two adjacent first grayscale values ​​in the red color strip to be tested according to the first grayscale difference value, calculate a second change amount of a difference between two adjacent second grayscale values ​​in the green color strip to be tested according to the second grayscale difference value, and calculate a third change amount of a difference between two adjacent third grayscale values ​​in the blue color strip to be tested according to the third grayscale difference value; A judging module is used to judge whether the liquid crystal display screen is qualified according to the first change amount, the second change amount and the third change amount.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to claims 1 to 7.

10. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to claims 1 to 7.

Citation Information

Patent Citations

  • Gamma adjustment method, device and display device

    CN110491330A

  • Driving method and device of display panel and display equipment

    CN112992036A