CN115762370A - Liquid crystal display screen testing method and device, computer equipment and storage medium - Google Patents

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

Info

Publication number
CN115762370A
CN115762370A CN202210924795.XA CN202210924795A CN115762370A CN 115762370 A CN115762370 A CN 115762370A CN 202210924795 A CN202210924795 A CN 202210924795A CN 115762370 A CN115762370 A CN 115762370A
Authority
CN
China
Prior art keywords
detected
color development
value
gray
liquid crystal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210924795.XA
Other languages
Chinese (zh)
Inventor
陈丽珍
沈礼胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen H&T Intelligent Control Co Ltd
Original Assignee
Shenzhen H&T Intelligent Control Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen H&T Intelligent Control Co Ltd filed Critical Shenzhen H&T Intelligent Control Co Ltd
Priority to CN202210924795.XA priority Critical patent/CN115762370A/en
Publication of CN115762370A publication Critical patent/CN115762370A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The application provides a method and a device for testing a liquid crystal display screen, computer equipment and a storage medium, wherein the method comprises the following steps: determining a first gray difference value of two adjacent color development bars to be detected in the red color development bar to be detected, a second gray difference value of two adjacent color development bars to be detected in the green color development bar to be detected and a third gray difference value of two adjacent color development bars to be detected in the blue color development bar to be detected according to the actual gray value of each color development bar to be detected; calculating a first variable quantity of two adjacent first gray difference values in the red color development strip to be detected according to the first gray difference values, calculating a second variable quantity of two adjacent second gray difference values in the green color development strip to be detected according to the second gray difference values, and calculating a third variable quantity of two adjacent third gray difference values in the blue color development strip to be detected according to the third gray difference values; and judging whether the liquid crystal display screen is qualified or not according to the first variable quantity, the second variable quantity and the third variable quantity.

Description

Liquid crystal display screen testing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of display screen testing technologies, and in particular, to a method and an apparatus for testing a liquid crystal display, a computer device, and a storage medium.
Background
With the increasing popularization of the intelligentization of household electrical appliances, TFT (Thin Film Transistor) liquid crystal display screens are increasingly applied to display interfaces for human-computer interaction. People have higher and higher requirements on the display colors of the TFT liquid crystal display screen, and especially, the color distortion influences the experience of customers, so that the current products with the TFT liquid crystal display screen need to test whether the colors of the TFT liquid crystal display screen can be normally displayed, and the color needs to be tested whether the colors have distortion or not. The existing method is to firstly test whether the brightness of the TFT liquid crystal display screen is qualified by using a lumen meter (or using an expensive optical tester), and then test whether a red screen, a green screen, a blue screen, a black screen and a white screen meet the requirements by human eyes. However, the lumen meter can only test a point light source, and a plurality of points need to be taken from the TFT liquid crystal display screen for testing and then averaging, so that the tested brightness is inaccurate, and the accuracy of screen testing is reduced; in addition, the method needs manual operation, and human eyes have certain difficulty and limitation in identifying color distortion, so that the conventional testing method has high labor cost and low production efficiency, and visual fatigue is easily caused by manual testing to cause defective products to flow out.
Disclosure of Invention
The application provides a method and a device for testing a liquid crystal display screen, computer equipment and a storage medium, which are used for solving the technical problems that in the existing liquid crystal display screen testing technology, the screen testing accuracy is low and defective products are easy to flow out.
In a first aspect, a method for testing a liquid crystal display is provided, the method comprising:
acquiring an inverse gamma parameter of the liquid crystal display screen;
controlling the liquid crystal display screen to display a preset number of color development strips to be detected, wherein the color development strips to be detected comprise red color development strips to be detected, green color development strips to be detected and blue color development strips to be detected;
acquiring a currently displayed image of the color bar to be detected, and determining an initial gray value of each color bar to be detected according to the image;
determining the actual gray value of each color development strip to be detected according to the inverse gamma parameter and the initial gray value;
determining a first gray difference value of two adjacent color development strips to be detected in the red color development strip to be detected, a second gray difference value of two adjacent color development strips to be detected in the green color development strip to be detected and a third gray difference value of two adjacent color development strips to be detected in the blue color development strip to be detected according to the actual gray value;
calculating a first variable quantity of two adjacent first gray difference values in the red color development strip to be detected according to the first gray difference values, calculating a second variable quantity of two adjacent second gray difference values in the green color development strip to be detected according to the second gray difference values, and calculating a third variable quantity of two adjacent third gray difference values in the blue color development strip to be detected according to the third gray difference values;
and judging whether the liquid crystal display screen is qualified or not according to the first variable quantity, the second variable quantity and the third variable quantity.
With reference to the first aspect, in a possible implementation manner, the determining whether the liquid crystal display screen is qualified according to the first variation, the second variation, and the third variation 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, determining that the liquid crystal display screen is qualified; and if the first variable quantity exceeds the first preset range, or the second variable quantity exceeds the second preset range, or the third variable quantity exceeds the third preset range, determining that the liquid crystal display screen is unqualified.
With reference to the first aspect, in a possible implementation manner, the preset number of color bars to be detected includes 8 red color bars to be detected, 8 green color bars to be detected, and 8 blue color bars to be detected.
With reference to the first aspect, in a possible implementation manner, the determining an actual gray value of each color bar to be tested according to the inverse gamma parameter and the initial gray value includes: normalizing the initial gray value to obtain an initial normalized value of each color development strip to be measured; and performing inverse gamma calculation according to the initial normalization value and the inverse gamma parameter to determine the actual gray value of each color development strip to be detected.
With reference to the first aspect, in a possible implementation manner, the performing inverse gamma calculation according to the initial normalization value and the inverse gamma parameter to determine an actual gray value of each color bar to be measured includes: determining an inverse gamma value of each color bar to be detected according to the initial normalization value and the inverse gamma parameter; and determining the actual gray value of each color bar to be detected according to the inverse gamma value and the preset maximum actual gray value.
With reference to the first aspect, in a possible implementation manner, before the obtaining an inverse gamma parameter of a liquid crystal display, the method further includes: controlling the liquid crystal display screen to display a preset number of sample color development strips; measuring a sample gray value of each sample color development bar displayed currently; carrying out normalization processing on the sample gray values to obtain a sample gray normalization value of each sample color development strip; determining a gamma parameter of the liquid crystal display screen according to the sample gray normalization value; and determining the inverse gamma parameters according to the gamma parameters.
With reference to the first aspect, in a possible implementation manner, the determining a gamma parameter of the liquid crystal display screen according to the sample grayscale normalization value includes: determining a sample digital color for each sample color bar; carrying out normalization processing on the sample digital color to obtain a sample digital color normalization value of each sample color development strip; and determining the gamma parameter of the liquid crystal display screen according to the sample digital color normalization value and the sample gray normalization value.
In a second aspect, there is provided a testing apparatus for a liquid crystal display, the apparatus comprising:
the inverse gamma parameter acquisition module is used for acquiring inverse gamma parameters of the liquid crystal display screen;
the display module is used for controlling the liquid crystal display screen to display a preset number of color development strips to be detected, wherein the color development strips to be detected comprise red color development strips to be detected, green color development strips to be detected and blue color development strips to be detected;
the first parameter determining module is used for acquiring the currently displayed image of the color bar to be detected and determining the initial gray value of each color bar to be detected according to the image;
the second parameter determining module is used for determining the actual gray value of each color development strip to be measured according to the inverse gamma parameters and the initial gray value;
the first difference value calculation module is used for determining a first gray difference value of two adjacent color development strips to be detected in the red color development strips to be detected, a second gray difference value of two adjacent color development strips to be detected in the green color development strips to be detected and a third gray difference value of two adjacent color development strips to be detected in the blue color development strips to be detected according to the actual gray values;
the second difference value calculation module is used for calculating a first variation of two adjacent first gray difference values in the red color development strip to be detected according to the first gray difference values, calculating a second variation of two adjacent second gray difference values in the green color development strip to be detected according to the second gray difference values, and calculating a third variation of two adjacent third gray difference values in the blue color development strip to be detected according to the third gray difference values;
and the judging module is used for judging whether the liquid crystal display screen is qualified or not according to the first variable quantity, the second variable quantity and the third variable quantity.
With reference to the second aspect, in a possible design, the determining module is specifically configured to determine that the liquid crystal display screen is qualified 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; and 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, judging that the liquid crystal display screen is unqualified.
With reference to the second aspect, in one 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.
With reference to the second aspect, in a possible design, the second parameter determining module is specifically configured to perform normalization processing on the initial gray value to obtain an initial normalized value of each color bar to be detected; and performing inverse gamma calculation according to the initial normalization value and the inverse gamma parameter to determine the actual gray value of each color development strip to be measured.
With reference to the second aspect, in a possible design, the second parameter determining module is further specifically configured to determine, according to the initial normalization value and the inverse gamma parameter, an inverse gamma value of each color bar to be tested; and determining the actual gray value of each color bar to be detected according to the inverse gamma value and the preset maximum actual gray value.
With reference to the second aspect, in a possible design, the apparatus further includes an inverse gamma parameter determining module, configured to control the liquid crystal display screen to display a preset number of sample color bars; measuring a sample gray value of each sample color development bar displayed currently; carrying out normalization processing on the sample gray values to obtain a sample gray normalization value of each sample color development strip; determining a gamma parameter of the liquid crystal display screen according to the sample gray normalization value; and determining the inverse gamma parameters according to the gamma parameters.
With reference to the second aspect, in a possible design, the inverse gamma parameter determining module is further specifically configured to determine a sample digital color of the each sample color bar; normalizing the sample digital color to obtain a sample digital color normalized value of each sample color development strip; and determining the gamma parameter of the liquid crystal display screen according to the sample digital color normalization value and the sample gray normalization value.
In a third aspect, a computer device is provided, comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring an inverse gamma parameter of the liquid crystal display screen;
controlling the liquid crystal display screen to display a preset number of color development strips to be detected, wherein the color development strips to be detected comprise red color development strips to be detected, green color development strips to be detected and blue color development strips to be detected;
acquiring a currently displayed image of the color bar to be detected, and determining an initial gray value of each color bar to be detected according to the image;
determining the actual gray value of each color development strip to be measured according to the inverse gamma parameters and the initial gray value;
determining a first gray difference value of two adjacent color development strips to be detected in the red color development strips to be detected, a second gray difference value of two adjacent color development strips to be detected in the green color development strips to be detected and a third gray difference value of two adjacent color development strips to be detected in the blue color development strips to be detected according to the actual gray values;
calculating a first variable quantity of two adjacent first gray difference values in the red color development strip to be detected according to the first gray difference values, calculating a second variable quantity of two adjacent second gray difference values in the green color development strip to be detected according to the second gray difference values, and calculating a third variable quantity of two adjacent third gray difference values in the blue color development strip to be detected according to the third gray difference values;
and judging whether the liquid crystal display screen is qualified or not according to the first variable quantity, the second variable quantity and the third variable quantity.
In a fourth aspect, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring an inverse gamma parameter of the liquid crystal display screen;
controlling the liquid crystal display screen to display a preset number of color development strips to be detected, wherein the color development strips to be detected comprise red color development strips to be detected, green color development strips to be detected and blue color development strips to be detected;
acquiring a currently displayed image of the color bar to be detected, and determining an initial gray value of each color bar to be detected according to the image;
determining the actual gray value of each color development strip to be detected according to the inverse gamma parameter and the initial gray value;
determining a first gray difference value of two adjacent color development strips to be detected in the red color development strip to be detected, a second gray difference value of two adjacent color development strips to be detected in the green color development strip to be detected and a third gray difference value of two adjacent color development strips to be detected in the blue color development strip to be detected according to the actual gray value;
calculating a first variable quantity of two adjacent first gray scale difference values in the red color development strip to be detected according to the first gray scale difference values, calculating a second variable quantity of two adjacent second gray scale difference values in the green color development strip to be detected according to the second gray scale difference values, and calculating a third variable quantity of two adjacent third gray scale difference values in the blue color development strip to be detected according to the third gray scale difference values;
and judging whether the liquid crystal display screen is qualified or not according to the first variable quantity, the second variable quantity and the third variable quantity.
The application can realize the following beneficial effects: the TFF liquid crystal display screen testing method and device can realize TFF liquid crystal display screen testing by using the principles of image acquisition, image restoration and color compensation; whether the liquid crystal display screen is qualified or not is judged by calculating the gray difference value of two adjacent color development strips to be detected in the color development strips to be detected of each color and the variation of the two adjacent difference values, so that the automatic test of the liquid crystal display screen based on an algorithm is realized, and a professional optical instrument does not need to be operated and a standard sample does not need to be compared online by human eyes for testing; the production effect is greatly improved, the production cost and the equipment input cost are saved, the defective products caused by visual fatigue can be effectively prevented from flowing out, and the stability of the quality of the delivered products is improved.
Drawings
Fig. 1 is a schematic view illustrating a color bar display of a liquid crystal display provided in an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a correspondence between a gray-level value and a binary value of a liquid crystal display provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a test system for a liquid crystal display provided in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a testing system of a liquid crystal display according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of a method for testing a liquid crystal display according to an embodiment of the present application;
fig. 6 is a 5:6:5, displaying a schematic diagram of a color bar to be detected on a display screen;
fig. 7 is a schematic diagram of an interface structure and a control circuit of a liquid crystal display screen according to an embodiment of the present application;
FIG. 8 is a schematic diagram of data of a 4-bit to 7-bit anomaly of red and blue bits of an LCD provided in an embodiment of the present application;
fig. 9 is a schematic diagram of data of green bit2 to bit7 bit anomalies of the liquid crystal display screen according to the embodiment of the present application;
fig. 10 is a schematic structural diagram of a testing apparatus for a liquid crystal display according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The technical scheme of this application can be applicable to the various scenes of liquid crystal display test, and is specific, and the technical scheme of this application is applicable to in the scene of testing liquid crystal display through collection module. In practical application, the technical scheme of the application is suitable for an algorithm-based automatic liquid crystal display testing system, specifically, the color development strips displayed by the liquid crystal display are collected through the collection module, and then the liquid crystal display testing is completed through a specific algorithm. The acquisition module in the test system can adopt a digital camera, and can also adopt other types of cameras.
To facilitate understanding of the technical solution of the present application, the test object (liquid crystal display) of the present application is explained first. As shown in fig. 1, fig. 1 is a schematic display diagram of a color bar of a liquid crystal display provided in an embodiment of the present application. The liquid crystal display can display true color pictures, and the basic principle is realized by using the three primary colors of red (R), green (G) and blue (B). Specifically, the gray scale (degree) values (color saturation) of three RGB colors of a certain pixel point on the liquid crystal display screen are controlled through digital signalsDegree, color for short) to achieve different color displays. For true color LCD, the red, green and blue colors each have 256 gray levels (colors) controlled by 8-bit (bit) numbers 1 and 0 (00000000 to 11111111), so that the red, green and blue colors each have 2 8 =256 colors). At each pixel point, the combination of the red, green and blue colors of different gray levels forms the actually displayed color, and 256 colors are totally displayed by 256 multiplied by 256.
Specifically, the lcd panel converts digital colors into colors (true colors) that are simulated into nature. The gray scale value of the liquid crystal display is controlled by 8-bit thin film transistors (matrix) such that 28=256 colors (binary: 00000000 to 11111111) are provided for each primary color (R, G, B). The human eyes are sensitive to green, the green has 4 gray value changes, and the human eyes can feel the green; for red and blue, 8 gray values are needed to be sensed; so we commonly use a 5. 5, which we commonly use: 6: the 5-display screen means that red R is controlled by a 5-bit (bit) thin film transistor (binary: 00000 to 11111, low three bits lost), green G is controlled by a 6-bit (bit) thin film transistor (binary: 000000 to 111111, low two bits lost), blue B is controlled by a 5-bit (bit) thin film transistor (binary: 00000 to 11111, low three bits lost), the maximum gray value of the three-display screen is 255, and the minimum gray value of the three-display screen is 0. Fig. 2 shows a specific correspondence between a gray-scale value and a binary value, and fig. 2 is a schematic diagram of a correspondence between a gray-scale value and a 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 in gray scale. Based on this, in the following description, a value of 5:6: the technical scheme of the application is explained by taking a liquid crystal display screen 5 as an example.
In order to facilitate understanding of the technical scheme of the application, an algorithm-based automatic test system for the liquid crystal display screen is introduced. As shown in fig. 3, fig. 3 is a schematic structural diagram of a test system for a liquid crystal display screen provided in an embodiment of the present application. The test system comprises 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 with the liquid crystal display screen 10 and the acquisition module 20, and the acquisition module 20 comprises an image processing module. The liquid crystal display screen 10 to be tested is used for displaying the color bar to be tested; the acquisition module 20 is configured to acquire an image of a color bar to be detected displayed by the liquid crystal display screen 10 to be detected, and process the acquired image of the color bar to be detected through the image processing module to obtain an initial gray value of each color bar to be detected; the control device 30 is configured to determine whether the liquid crystal display screen 10 to be tested is qualified according to the initial gray value of each color bar to be tested, which is obtained by the acquisition module 20. Specifically, in practical application, the image processing module may also be disposed in the control device 30, in this scenario, the acquisition module 20 is configured to capture an image of a color bar to be tested displayed on the liquid crystal display 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 an initial gray value of each color bar to be tested, and then determines whether the liquid crystal display screen 10 to be tested is qualified according to the initial gray value of each color bar to be tested.
Specifically, in the test system, as shown in fig. 4, fig. 4 is a schematic diagram of a principle of the test system for a liquid crystal display provided in the embodiment of the present application. The liquid crystal display screen 10 to be tested converts digital color into color (true color) simulating nature, but human eyes have higher sensitivity to brightness change of low gray scale (darker) and lower sensitivity to brightness change of high gray scale (brighter), so that gamma (gamma) correction needs to be carried out on the digital color when the liquid crystal display screen 10 to be tested displays, and the color displayed by the liquid crystal display screen 10 to be tested is close to the color of nature; and the collection module 20 converts the color of nature into digital color. Thus, after processing the image acquired by the acquisition module 20, an initial gray value of the image, that is, a color value finally displayed by the liquid crystal display screen 10 to be tested (herein, this value is referred to as a value of an actually measured color) can be obtained; and then, after the numerical value of the actually measured color of the image is calculated by inverse gamma application, the numerical value of the initial digital color of the liquid crystal display screen 10 to be tested can be really restored, and then, whether the liquid crystal display screen 10 to be tested meets the requirement or not can be judged only by comparing the numerical values of the digital color.
In the test system, the acquisition module is used for replacing human eyes for testing, and the specific calculation algorithm is used for replacing subjective judgment of testers, so that automatic testing based on the algorithm is realized, the interference of factors to the testing can be effectively reduced, the production cost and the equipment input cost are saved, the production effect is greatly improved, the defective products caused by visual fatigue can be effectively avoided, and the stability of the quality of the shipped products is improved.
In an embodiment, the present application provides a method for testing a liquid crystal display, as shown in fig. 5, fig. 5 is a schematic flowchart of the method for testing a liquid crystal display provided in the embodiment of the present application, where the method includes:
step 501, obtaining an inverse gamma parameter of the liquid crystal display screen.
The inverse gamma parameter is determined based on the gamma parameter of the liquid crystal display screen, and the relationship between the inverse gamma parameter and the gamma parameter is as follows:
γ’=1/γ;
wherein, gamma' is inverse gamma parameter, and gamma is gamma parameter. For example, γ =2.2, γ' =0.45.
In one embodiment, the gamma parameters of the liquid crystal display screen can be obtained from inherent parameters of the liquid crystal display screen, specifically, sample gamma parameters of a preset number of liquid crystal display screens of the same model can be obtained, then the obtained sample gamma parameters of the preset number are averaged, and the average value is used as a final gamma parameter. It should be noted that, since the gamma parameters of the same type of liquid crystal display are the same, when testing the same type of liquid crystal display, only step 501 needs to be executed once when testing the first liquid crystal display, and the inverse gamma parameter obtained when testing the first block is directly used when testing the second block and the third block, and step 501 does not need to be executed repeatedly; that is, steps 501 to 507 are performed when the first lcd panel is tested, and steps 502 to 507 are repeatedly performed when the second and third blocks are tested. Similarly, since the gamma parameters of different types of liquid crystal displays are different, after the test on the liquid crystal display with the model a is completed, if the liquid crystal display with the model B is to be tested, the anti-gamma parameter of the liquid crystal display with the model B needs to be obtained again when the first block of the liquid crystal display with the model B is tested, that is, the step 501 is executed again.
Specifically, in order to avoid test errors caused by the fact that the gamma parameter of the sample given by the liquid crystal display screen manufacturer is not consistent with the actual gamma parameter, the gamma parameter of the liquid crystal display screen can be automatically measured when the liquid crystal display screen is tested. The method of measuring gamma parameters will be described in the following description.
Step 502, controlling the liquid crystal display screen to display a preset number of color bars to be detected, wherein the color bars to be detected comprise red color bars to be detected, green color bars to be detected and blue color bars to be detected.
The automatic test tool sends a display color bar command to the liquid crystal display, and the liquid crystal display receives the display color bar command and then displays a preset number of color bars to be tested. Specifically, the liquid crystal display may be the liquid crystal display 10 to be tested in the test system of the liquid crystal display shown in fig. 3; the automated testing tool may be the control device 30 in the testing system of the liquid crystal display as shown in fig. 3.
In one embodiment, the number of color bars to be tested is predetermined. As shown in fig. 6, fig. 6 is 5:6:5, displaying a schematic diagram of a color bar to be detected on a display screen; and the liquid crystal display screen is 5:6:5, the color bars to be detected of the preset number comprise 8 red color bars to be detected, 8 green color bars to be detected and 8 blue color bars to be detected.
Specifically, as shown in fig. 7, fig. 7 is a schematic diagram of an interface structure and a control circuit of a liquid crystal display screen according to an embodiment of the present application. The interfaces of the liquid crystal display screen comprise PINs PIN1 to PIN40, specifically, PINs PIN5 to PIN12 respectively correspond to red digital signal input interfaces R0 to R7 and are used for inputting red digital signals of 8bits in total from R0 to R7; pin PIN13 to PIN20 respectively correspond to the green digital signal input interfaces G0 to G7 and are used for inputting green digital signals of 8bits in total from G0 to G7; PINs PIN21 to PIN28 correspond to blue digital signal input interfaces B0 to B7, respectively, and are used for inputting blue digital signals of 8bits in total from B0 to B7. The control circuit is integrated on the circuit control board, and comprises an FPC socket, a TFT (liquid crystal display) three-primary-color drive circuit, a power supply circuit, an MCU (micro controller unit) and other functional circuits. To ensure that 5:6:5 the liquid crystal display can display normally, the color is not distorted, and it is necessary to ensure that 16 signals for color control work normally from R3 to R7 (losing low three bits R0, R1, R2), from G2 to G7 (losing low two bits G0, G1) and from B3 to B7 (losing low three bits B0, B1, B2), namely, the pins of the interface of the FPC socket and the liquid crystal display need to be reliably connected, and the TFT three primary colors drive circuit and the MCU (microcontroller) work normally. The 16 color control signals are only two kinds of digital signals, i.e., on (indicated by binary digit "1") and off (indicated by binary digit "0") for each line. If the color is poor (the liquid crystal display screen is in a cut-off state when the liquid crystal display screen is to be switched on and is in a cut-on state when the liquid crystal display screen is to be switched off), the phenomena of poor display, color distortion and the like of the liquid crystal display screen can be caused. To avoid the poor display of the liquid crystal display, 32 (2) can be displayed correctly by testing whether the liquid crystal display can display the liquid crystal display correctly 5 ) Seed red color 64 (2) 6 ) Seed Green sum 32 (2) 5 ) The liquid crystal display screen is tested by the blue, namely the liquid crystal display screen can be tested by testing 32 red color development strips with different gray scale values, 64 green color development strips with different gray scale values and 32 blue color development strips with different gray scale values displayed by the liquid crystal display screen, and 128 times of tests are needed totally. However, the 128 tests require a lot of test time, and are prone to misjudgment. Based on this, this application is a more simplified test scheme, and various colours only need to test 8 color development strips can, and specific theory is as follows:
aiming at the conditions that the ratio of 5:6:5 liquid crystal display screen, red and blue only 32 (2) 5 ) The color (gray scale) is controlled by 5 TFTs, and if 1 TFT is broken, then only 16 (2) 4 ) Color (gray scale), 2 filmsWhen the transistor is broken, only 8 (2) is needed 3 ) For a color (gray scale), 3 TFTs are broken, and only 4 (2) 2 ) For a color (gray scale), 4 TFTs are broken, and only 2 (2) 1 ) With 5 tfts defective for one color (gray scale), there are only 1 (20) colors (black dots or fixed brightness color dots). As can be seen from the schematic diagram of the gray-level value correspondence relationship of the lcd shown in fig. 2, for the color display strips displaying a specific gray-level value, as long as the gray-level value difference between different color display strips is not more than 8 gray-level values, the test result PASS is considered to be qualified, otherwise, the test result Fail is considered to be unqualified, as for the red color and the blue color, the minimum gray-level resolution is 8 gray-level values, that is, the color gray-level difference between the color display strips is 8 gray-level values. Similarly, for green, if the difference between the gray values of the different color bars is not more than 4 gray values, the PASS test result PASS is considered, otherwise the Fail test result Fail is considered. Through adopting the technical means that the color development strip to be tested comprises 8 red color development strips to be tested, 8 green color development strips to be tested and 8 blue color development strips to be tested, the test of the liquid crystal display screen can be accurately completed, the time loss can also be greatly reduced, and the test efficiency is improved.
Step 503, collecting the currently displayed image of the color bar to be detected, and determining the initial gray value of each color bar to be detected according to the image.
After the liquid crystal display screen is controlled to display 8 red color development strips to be tested, 8 green color development strips to be tested and 8 blue color development strips to be tested, the automatic testing tool sends an acquisition instruction to the acquisition module (the acquisition module can be a digital camera), the acquisition module acquires the currently displayed image of the color development strips to be tested after receiving the acquisition instruction, the acquired image is processed through the image processing module in the acquisition module, and the initial gray value of each color development strip to be tested is determined. Specifically, the initial gray scale value is the color value finally displayed on the lcd, and herein, we refer to this value as the measured color value. The collection module may be the collection module 20 to be tested in the test system of the liquid crystal display screen.
Specifically, when the image processing module in the acquisition module processes the acquired image, each color development strip to be detected is sampled first, and then the sampled color development strips are processed to obtain an initial gray value of each color development strip to be detected. And when sampling is carried out, the area of the color development strip obtained by sampling cannot be smaller than 90% of the area of the color development strip to be detected. After the color strips to be detected are subjected to sampling treatment, mutual influence between adjacent color strips to be detected can be effectively avoided, and the accuracy of the initial gray value is improved.
And step 504, determining the actual gray value of each color bar to be detected according to the inverse gamma parameter and the initial gray value.
Among them, in the case of the liquid crystal display, the liquid crystal display simulates and displays (initial) digital colors into true colors after gamma correction. Here, after the initial gray value of each color bar to be measured is determined (that is, after the gray value of the true color currently displayed on the liquid crystal display screen is determined), the actual gray value of each color bar to be measured can be determined through the inverse gamma correction (that is, the numerical value of the initial digital color corresponding to the true color currently displayed on the liquid crystal display screen is determined).
In one embodiment, the determining the actual gray value of each color bar to be measured according to the inverse gamma parameter and the initial gray value includes: normalizing the initial gray value to obtain an initial normalized value of each color development strip to be measured; and performing inverse gamma calculation according to the initial normalization value and the inverse gamma parameter to determine the actual gray value of each color development strip to be measured.
The normalization processing of the initial gray value refers to mapping the initial gray value to the interval of [0,1], so that the data processing is more convenient, and the calculation error caused by complex data processing is avoided.
Taking a red color bar to be tested as an example, when determining the gray value of the red color bar to be tested in an actual test, three color values of a green value, a blue value and a red value can be obtained, but since the ratio of the green value to the blue value in the red color bar to be tested is very small, the green value and the blue value are ignored when performing numerical calculation on the red color bar to be tested, and only the red value is adopted for calculation. Similarly, because the ratio of the red value to the blue value in the color bar to be detected of green is very small, the red value and the blue value are ignored when the numerical calculation is carried out on the color bar to be detected of green, and only the green value is adopted for calculation; because the ratio of the green value to the red value in the color development bar to be detected is very small, the green value and the red value are ignored when the numerical calculation is carried out on the color development bar to be detected, and only the blue value is adopted for calculation.
Specifically, taking a red color development strip to be detected as an example, after an initial gray value (that is, a red value) of each red color development strip to be detected is determined, an initial normalization value of a maximum value among a plurality of red values is recorded as 1, and normalization processing is performed on the initial gray value of the red color development strip to be detected by using a normalization formula:
Figure BDA0003776105840000121
wherein, A is any one of the red values except the maximum value, B is the maximum value of the red values, and a is the initial normalized value of A.
Similarly, by the formula, the data of the red color bar to be tested is correspondingly replaced by the data of the green color bar to be tested, so that the initial gray 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; and correspondingly replacing the data of the red color bar to be detected with the data of the blue color bar to be detected, and normalizing the initial gray value of each blue color bar to be detected to obtain the initial normalized value of each blue color bar to be detected. After each color development strip to be detected is subjected to normalization processing to obtain an initial normalization value, inverse gamma calculation can be carried out according to the initial normalization value and the inverse gamma parameter, and the actual gray value of each color development strip to be detected is determined.
In one embodiment, the determining the actual gray value of each color bar to be measured by performing inverse gamma calculation according to the initial normalization value and the inverse gamma parameter includes: determining an inverse gamma value of each color bar to be detected according to the initial normalization value and the inverse gamma parameter; and determining the actual gray value of each color bar to be detected according to the inverse gamma value and the preset maximum actual gray value.
The inverse gamma value is an intermediate parameter obtained by performing inverse gamma calculation on the initial normalized value of each color development strip to be measured, and is used for representing the proportion of the actual gray value of the color development strip to be measured to the preset maximum actual gray value.
Specifically, taking the color bar to be tested for red as an example, the inverse gamma value is calculated by the following inverse gamma value calculation formula:
C=a γ’
wherein, gamma' is an inverse gamma parameter, and a is an initial normalized value of any one of the red values except the maximum value.
Similarly, according to the inverse gamma value calculation formula, the data of the red color bar to be tested is correspondingly replaced by the data of the blue color bar to be tested, so that the inverse gamma value of each blue color bar to be tested can be calculated; and correspondingly replacing the data of the red color bar to be tested with the data of the green color bar to be tested according to the inverse gamma value calculation formula, and calculating the inverse gamma value of each green color bar to be tested.
Specifically, taking a red color bar to be detected as an example, after obtaining an initial gray value (red value) of each red color bar to be detected, performing normalization processing on the initial gray value (red value) of each red color bar to be detected, so as to obtain an initial normalized value of each red color bar to be detected, performing inverse gamma calculation on the initial normalized value of each red color bar to be detected, so as to obtain an inverse gamma value of each red color bar to be detected, and finally multiplying the inverse gamma value of each red color bar to be detected by a preset maximum actual gray value, so as to obtain an actual gray value of each red color bar to be detected, that is, a numerical value of a digital color of each red color bar to be detected. The maximum digital color of the liquid crystal display screen is 255, that is, the maximum value of the preset actual gray scale is 255.
And 505, determining a first gray difference value of two adjacent color development bars to be detected in the red color development bar to be detected, a second gray difference value of two adjacent color development bars to be detected in the green color development bar to be detected, and a third gray difference value of two adjacent color development bars to be detected in the blue color development bar to be detected according to the actual gray values.
Step 506, calculating a first variation of two adjacent first gray difference values in the red color strip to be detected according to the first gray difference values, calculating a second variation of two adjacent second gray difference values in the green color strip to be detected according to the second gray difference values, and calculating a third variation of two adjacent third gray difference values in the blue color strip to be detected according to the third gray difference values.
Taking the color development bar to be tested as an example, first, a first gray difference value of two adjacent color development bars to be tested in the color development bar to be tested is obtained, specifically:
Δ(i)=BAR(i)-BAR(i-1);
specifically, Δ is a first gray difference value, Δ (i) is an ith first gray difference value, i is greater than or equal to 1, BAR1 represents a color BAR to be detected 1, BAR (i) represents a color BAR i to be detected, BAR (i-1) represents a color BAR i-1 to be detected, it should be noted that BAR0 represents pure black, and the gray value is 0.
Then, the variation of the first gray difference value of two adjacent color bars to be detected in the red color bar to be detected is calculated, which specifically comprises the following steps:
δ=Δ(i)-Δ(i-1);
specifically, δ is a first variation of a difference value between two adjacent first gray levels in the red color development strip to be detected, i is greater than or equal to 1, Δ (i) is an ith first gray level difference value, and Δ (i-1) is an ith-1 th first gray level difference value.
As shown in the first and second tables, the first table is a test data table of the red and blue color bars to be tested, and the second table is a test data table of the green color bar to be tested.
Watch 1
Figure BDA0003776105840000141
Figure BDA0003776105840000151
Watch 2
Figure BDA0003776105840000152
And 507, judging whether the liquid crystal display screen is qualified or not according to the first variable quantity, the second variable quantity and the third variable quantity.
Wherein, after the numerical value of digit colour is calculated and is reachd first variable quantity, second variable quantity and third variable quantity, just can judge whether qualified liquid crystal display is qualified.
Specifically, the determining whether the liquid crystal display screen is qualified according to the first variation, the second variation, and the third variation includes: if the first variation is in a first preset range, the second variation is in a second preset range, and the third variation is in a third preset range, judging that the liquid crystal display screen is qualified; and if the first variable quantity exceeds the first preset range, or the second variable quantity exceeds the second preset range, or the third variable quantity exceeds the third preset range, determining that the liquid crystal display screen is unqualified.
Wherein, the qualified standard of the judgment of red and blue can be preset to be that delta is more than or equal to-8 and less than or equal to 8, and the qualified standard of the judgment of green is more than or equal to-4 and less than or equal to 4. After the first variation, the second variation and the third variation are obtained, whether the liquid crystal display screen is qualified or not is judged by judging whether the first variation and the second variation meet delta larger than or equal to-8 and smaller than or equal to 8 or not and judging whether the third variation meets delta larger than or equal to-4 and smaller than or equal to 4 or not. In practical application, because of individual differences of the liquid crystal display screens, the qualified standard can be relaxed as follows: delta is-12 is more than or equal to 12 for red and blue, and delta is more than or equal to-6 is more than or equal to 6 for green.
In one embodiment, the testing method of the liquid crystal display screen is verified. If there is a problem with the lines associated with interface R3 and interface B3, there are two cases when bit3=1 (the line associated with interface R3/B3 causes bit3 bits to be equal to 1 due to a line fault (e.g. a short circuit)), and bit3=0 (the line associated with interface R3/B3 causes bit3 bits to be equal to 0 due to a line fault (e.g. an open circuit)). It can be found by calculation that when bit3=1, 4 of the 7 δ values exceed the qualified standard-8 ≦ δ ≦ 8; when bit3=0, the 7 delta values and 5 delta values exceed the qualified standard-8 is larger than or equal to delta and smaller than or equal to 8; and finally judged as Fail. Specifically, as shown in table iii a and table iii b, table iii a is a data table of red and blue bit3=1, and table iii b is a data table of red and blue bit3= 0.
Watch III a
Figure BDA0003776105840000161
Watch III b
Figure BDA0003776105840000171
Similarly, when bit4=1/bit4=0 (corresponding to the line associated with the interface R4/B4), bit5=1/bit5=0 (corresponding to the line associated with the interface R5/B5), bit6=1/bit6=0 (corresponding to the line associated with the interface R6/B6), and bit7=1/bit7=0 (corresponding to the line associated with the interface R7/B7), we can calculate the variation δ of the gray scale difference value between the corresponding color bars, as shown in fig. 8, where fig. 8 is a data schematic diagram of a red and blue bit 4-bit to bit7 bit anomaly of the lcd provided in the embodiment of the present application. It can be seen that the selected color bar can completely detect the defective products, and the 32 gray colors are controlled by 5 bits (bit 3 to bit 7), that is, the application can detect the corresponding colors of the 32 gray values of red and blue, and ensure that the qualified products are not distorted.
Secondly, aiming at the colors of 64 gray values of green (controlled by 6 bits bit: bit2 to bit 7), the situation that the 6 bits bit is abnormal is calculated, the calculation result is shown in fig. 9, and fig. 9 is a data schematic diagram of the abnormality of the green bits 2 to bit7 (corresponding to the lines associated with the interfaces G2 to G7) of the liquid crystal display screen provided by the embodiment of the application, so that the application can detect the corresponding colors of the 64 gray values of green, and ensure that qualified products have no distortion.
The TFF liquid crystal display screen can be tested by utilizing the principles of image acquisition, image restoration and color compensation; whether the liquid crystal display screen is qualified or not is judged by calculating the gray difference value of two adjacent color development strips to be detected in the color development strips to be detected of each color and the variation of the two adjacent difference values, so that automatic test based on an algorithm is realized, and a professional optical instrument does not need to be operated and a standard sample does not need to be compared online by human eyes for testing; the production effect is greatly improved, the production cost and the equipment investment cost are saved, the situation that substandard products flow out due to visual fatigue in manual work can be effectively avoided, and the stability of the quality of the discharged products is improved.
In one embodiment, the application further provides a method for determining gamma parameters and inverse gamma parameters of the liquid crystal display screen. Specifically, before controlling liquid crystal display to display the to-be-detected color strips of the preset number, the method further comprises: controlling the liquid crystal display screen to display a preset number of sample color development strips; measuring a sample gray value of each sample color development bar displayed currently; carrying out normalization processing on the sample gray values to obtain a sample gray normalization value of each sample color development strip; determining a sample numerical color for said each sample color bar; carrying out normalization processing on the sample digital color to obtain a sample digital color normalization value of each sample color development strip; determining a gamma parameter of the liquid crystal display screen according to the sample digital color normalization value and the sample gray normalization value; and determining the inverse gamma parameter according to the gamma parameter.
Taking the sample color development strip as red as an example, controlling a liquid crystal display screen to display 32 pure red sample color development strips, and then testing the gray value of the 32 sample color development strips by using a lumen meter in a fully-closed environment; then, recording the normalization value of the maximum value in the gray values of the 32 sample color development strips as 1, and performing normalization processing on the gray values of the 32 sample color development strips to obtain sample gray normalization values of the 32 sample color development strips; next, determining the sample digital color of the 32 sample color development strips according to the RGB mapping table, recording the normalization value of the maximum value 255 in the sample digital color of the 32 sample color development strips as 1, and then performing normalization processing on the sample digital color of the 32 sample color development strips to obtain the sample digital color normalization value of the 32 sample color development strips; and finally, determining the gamma parameter and the inverse gamma parameter of the liquid crystal display screen according to the following formula:
sample grayscale normalization value = (sample digital color normalization value) γ
γ’=1/γ;
Wherein, gamma' is inverse gamma parameter, and gamma is gamma parameter.
In the embodiment, the gamma parameter and the inverse gamma parameter of the liquid crystal display screen can be accurately calculated by calculating the sample gray normalization value and the sample digital color normalization value, so that the inaccurate test caused by the fact that the gamma parameter provided by a manufacturer is not consistent with the actual parameter is avoided.
In an embodiment, the present application provides a testing apparatus for a liquid crystal display, as shown in fig. 10, fig. 10 is a schematic structural diagram of the testing apparatus for a liquid crystal display provided in the embodiment of the present application. The device comprises:
and the inverse gamma parameter acquiring module 10 is used for acquiring inverse gamma parameters of the liquid crystal display screen.
And the display module 20 is used for controlling the liquid crystal display screen to display the preset number of the color development strips to be detected, and the color development strips to be detected comprise red color development strips to be detected, green color development strips to be detected and blue color development strips to be detected.
The first parameter determining module 30 is configured to acquire an image of a currently displayed color bar to be detected, and determine an initial gray value of each color bar to be detected according to the image.
And the second parameter determining module 40 is configured to obtain an inverse gamma parameter of the liquid crystal display screen, and determine an actual gray value of each color bar to be detected according to the inverse gamma parameter and the initial gray value.
And the first difference value calculating module 50 is configured to determine, according to the actual gray value, a first gray difference value of two adjacent color bars to be detected in the red color bar to be detected, a second gray difference value of two adjacent color bars to be detected in the green color bar to be detected, and a third gray difference value of two adjacent color bars to be detected in the blue color bar to be detected.
The second difference value calculating module 60 is configured to calculate a first variation amount of two adjacent first gray difference values in the red color development strip to be detected according to the first gray difference value, calculate a second variation amount of two adjacent second gray difference values in the green color development strip to be detected according to the second gray difference value, and calculate a third variation amount of two adjacent third gray difference values in the blue color development strip to be detected according to the third gray difference value.
And the judging module 70 is configured to judge whether the liquid crystal display screen is qualified according to the first variation, the second variation and the third variation.
As shown in fig. 11, in one embodiment, is an internal structure diagram of a computer device. The computer device may be a testing apparatus for a liquid crystal display, or a terminal or a server connected to a testing apparatus for a liquid crystal display. As shown in fig. 11, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein 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 further store a computer program, which, when executed by the processor, causes the processor to implement a method of testing a liquid crystal display. The internal memory may also store a computer program, and the computer program, when executed by the processor, may cause the processor to perform a method for testing a liquid crystal display. The network interface is used for communicating with an external device. It will be appreciated by those skilled in the art that the configuration shown in fig. 11 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the testing method for the liquid crystal display screen provided by the present application may be implemented in the form of a computer program, and the computer program may be executed on a computer device as shown in fig. 11. The memory of the computer device can store various program templates of the testing device which forms the liquid crystal display screen. For example, the inverse gamma parameter acquiring module 10, the display module 20, the first parameter determining module 30, the second parameter determining module 40, the first difference calculating module 50, the second difference calculating module 60, and the determining module 70.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of: acquiring an inverse gamma parameter of the liquid crystal display screen; controlling the liquid crystal display screen to display a preset number of color development strips to be detected, wherein the color development strips to be detected comprise red color development strips to be detected, green color development strips to be detected and blue color development strips to be detected; acquiring a currently displayed image of the color bar to be detected, and determining an initial gray value of each color bar to be detected according to the image; determining the actual gray value of each color development strip to be detected according to the inverse gamma parameter and the initial gray value; determining a first gray difference value of two adjacent color development strips to be detected in the red color development strip to be detected, a second gray difference value of two adjacent color development strips to be detected in the green color development strip to be detected and a third gray difference value of two adjacent color development strips to be detected in the blue color development strip to be detected according to the actual gray value; calculating a first variable quantity of two adjacent first gray scale difference values in the red color development strip to be detected according to the first gray scale difference values, calculating a second variable quantity of two adjacent second gray scale difference values in the green color development strip to be detected according to the second gray scale difference values, and calculating a third variable quantity of two adjacent third gray scale difference values in the blue color development strip to be detected according to the third gray scale difference values; and judging whether the liquid crystal display screen is qualified or not according to the first variable quantity, the second variable quantity and the third variable quantity.
In one embodiment, the determining whether the liquid crystal display screen is qualified according to the first variation, the second variation and the third variation 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, determining that the liquid crystal display screen is qualified; and if the first variable quantity exceeds the first preset range, or the second variable quantity exceeds the second preset range, or the third variable quantity exceeds the third preset range, determining that the liquid crystal display screen is unqualified.
In an 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.
In one embodiment, the determining the actual gray value of each color bar to be measured according to the inverse gamma parameter and the initial gray value includes: normalizing the initial gray value to obtain an initial normalized value of each color development strip to be measured; and performing inverse gamma calculation according to the initial normalization value and the inverse gamma parameter to determine the actual gray value of each color development strip to be detected.
In an embodiment, the performing inverse gamma calculation according to the initial normalization value and the inverse gamma parameter to determine an actual gray value of each color bar to be measured includes: determining an inverse gamma value of each color development strip to be tested according to the initial normalization value and the inverse gamma parameter; and determining the actual gray value of each color development strip to be measured according to the inverse gamma value and the preset maximum actual gray value.
In one embodiment, before obtaining the inverse gamma parameter of the liquid crystal display screen, the method further includes: controlling the liquid crystal display screen to display a preset number of sample color development strips; measuring a sample gray value of each sample color development bar displayed currently; carrying out normalization processing on the sample gray values to obtain a sample gray normalization value of each sample color development strip; determining a gamma parameter of the liquid crystal display screen according to the sample gray normalization value; and determining the inverse gamma parameters according to the gamma parameters.
In one embodiment, the determining the gamma parameter of the liquid crystal display screen according to the sample gray normalization value includes: determining a sample numerical color for said each sample color bar; normalizing the sample digital color to obtain a sample digital color normalized value of each sample color development strip; and determining the gamma parameter of the liquid crystal display screen according to the sample digital color normalization value and the sample gray normalization value.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of: acquiring an inverse gamma parameter of the liquid crystal display screen; controlling the liquid crystal display screen to display a preset number of color development strips to be detected, wherein the color development strips to be detected comprise red color development strips to be detected, green color development strips to be detected and blue color development strips to be detected; acquiring a currently displayed image of the color bar to be detected, and determining an initial gray value of each color bar to be detected according to the image; acquiring an inverse gamma parameter of the liquid crystal display screen, and determining an actual gray value of each color development bar to be measured according to the inverse gamma parameter and the initial gray value; determining a first gray difference value of two adjacent color development strips to be detected in the red color development strips to be detected, a second gray difference value of two adjacent color development strips to be detected in the green color development strips to be detected and a third gray difference value of two adjacent color development strips to be detected in the blue color development strips to be detected according to the actual gray values; calculating a first variable quantity of two adjacent first gray scale difference values in the red color development strip to be detected according to the first gray scale difference values, calculating a second variable quantity of two adjacent second gray scale difference values in the green color development strip to be detected according to the second gray scale difference values, and calculating a third variable quantity of two adjacent third gray scale difference values in the blue color development strip to be detected according to the third gray scale difference values; and judging whether the liquid crystal display screen is qualified or not according to the first variable quantity, the second variable quantity and the third variable quantity.
In one embodiment, the determining whether the liquid crystal display screen is qualified according to the first variation, the second variation and the third variation 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, determining that the liquid crystal display screen is qualified; and 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, judging that the liquid crystal display screen is unqualified.
In an 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.
In one embodiment, the determining the actual gray value of each color bar to be measured according to the inverse gamma parameter and the initial gray value includes: carrying out normalization processing on the initial gray value to obtain an initial normalization value of each color development strip to be detected; and performing inverse gamma calculation according to the initial normalization value and the inverse gamma parameter to determine the actual gray value of each color development strip to be detected.
In an embodiment, the performing inverse gamma calculation according to the initial normalization value and the inverse gamma parameter to determine an actual gray value of each color bar to be measured includes: determining an inverse gamma value of each color development strip to be tested according to the initial normalization value and the inverse gamma parameter; and determining the actual gray value of each color bar to be detected according to the inverse gamma value and the preset maximum actual gray value.
In one embodiment, before obtaining the inverse gamma parameter of the liquid crystal display screen, the method further includes: controlling the liquid crystal display screen to display a preset number of sample color development strips; measuring a sample gray value of each sample color development bar displayed currently; carrying out normalization processing on the sample gray values to obtain a sample gray normalization value of each sample color development strip; determining a gamma parameter of the liquid crystal display screen according to the sample gray normalization value; and determining the inverse gamma parameter according to the gamma parameter.
In one embodiment, the determining the gamma parameter of the liquid crystal display screen according to the sample gray normalization value includes: determining a sample digital color for each sample color bar; normalizing the sample digital color to obtain a sample digital color normalized value of each sample color development strip; and determining the gamma parameter of the liquid crystal display screen according to the sample digital color normalization value and the sample gray normalization value.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and should not be taken as limiting the scope of the present application, so that the present application will be covered by the appended claims.

Claims (10)

1. A method for testing a liquid crystal display, the method comprising:
acquiring an inverse gamma parameter of the liquid crystal display screen;
controlling the liquid crystal display screen to display a preset number of color development strips to be detected, wherein the color development strips to be detected comprise red color development strips to be detected, green color development strips to be detected and blue color development strips to be detected;
acquiring a currently displayed image of the color bar to be detected, and determining an initial gray value of each color bar to be detected according to the image;
determining the actual gray value of each color development strip to be measured according to the inverse gamma parameters and the initial gray value;
determining a first gray difference value of two adjacent color development strips to be detected in the red color development strip to be detected, a second gray difference value of two adjacent color development strips to be detected in the green color development strip to be detected and a third gray difference value of two adjacent color development strips to be detected in the blue color development strip to be detected according to the actual gray value;
calculating a first variable quantity of two adjacent first gray difference values in the red color development strip to be detected according to the first gray difference values, calculating a second variable quantity of two adjacent second gray difference values in the green color development strip to be detected according to the second gray difference values, and calculating a third variable quantity of two adjacent third gray difference values in the blue color development strip to be detected according to the third gray difference values;
and judging whether the liquid crystal display screen is qualified or not according to the first variable quantity, the second variable quantity and the third variable quantity.
2. The method of claim 1, wherein the determining whether the liquid crystal display screen is qualified according to the first variation, the second variation and the third variation comprises:
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, determining that the liquid crystal display screen is qualified;
and 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, judging that the liquid crystal display screen is unqualified.
3. The method of claim 1, wherein the predetermined number of color bars to be tested comprises 8 color bars to be tested for red, 8 color bars to be tested for green, and 8 color bars to be tested for blue.
4. The method of claim 1, wherein determining the actual gray scale value of each color bar to be measured according to the inverse gamma parameter and the initial gray scale value comprises:
normalizing the initial gray value to obtain an initial normalized value of each color development strip to be measured;
and performing inverse gamma calculation according to the initial normalization value and the inverse gamma parameter to determine the actual gray value of each color development strip to be detected.
5. The method of claim 4, wherein the performing an inverse gamma calculation according to the initial normalization value and the inverse gamma parameter to determine an actual gray value of each color bar to be measured comprises:
determining an inverse gamma value of each color bar to be detected according to the initial normalization value and the inverse gamma parameter;
and determining the actual gray value of each color development strip to be measured according to the inverse gamma value and the preset maximum actual gray value.
6. The method of claim 1, wherein before obtaining the inverse gamma parameter of the liquid crystal display, further comprising:
controlling the liquid crystal display screen to display a preset number of sample color development strips;
measuring a sample gray value of each sample color development bar displayed currently;
carrying out normalization processing on the sample gray values to obtain a sample gray normalization value of each sample color development strip;
determining a gamma parameter of the liquid crystal display screen according to the sample gray normalization value;
and determining the inverse gamma parameter according to the gamma parameter.
7. The method of claim 6, wherein determining the gamma parameter of the liquid crystal display screen according to the sample gray scale normalization value comprises:
determining a sample numerical color for said each sample color bar;
carrying out normalization processing on the sample digital color to obtain a sample digital color normalization value of each sample color development strip;
and determining the gamma parameter of the liquid crystal display screen according to the sample digital color normalization value and the sample gray normalization value.
8. A testing device for a liquid crystal display, said device comprising:
the inverse gamma parameter acquisition module is used for acquiring inverse gamma parameters of the liquid crystal display screen;
the display module is used for controlling the liquid crystal display screen to display a preset number of color development strips to be detected, wherein the color development strips to be detected comprise red color development strips to be detected, green color development strips to be detected and blue color development strips to be detected;
the first parameter determining module is used for acquiring the currently displayed image of the color bar to be detected and determining the initial gray value of each color bar to be detected according to the image;
the second parameter determining module is used for determining the actual gray value of each color development strip to be detected according to the inverse gamma parameter and the initial gray value;
the first difference value calculation module is used for determining a first gray difference value of two adjacent color development bars to be detected in the red color development bar to be detected, a second gray difference value of two adjacent color development bars to be detected in the green color development bar to be detected and a third gray difference value of two adjacent color development bars to be detected in the blue color development bar to be detected according to the actual gray value;
the second difference value calculating module is used for calculating first variation of two adjacent first gray difference values in the red color development strip to be detected according to the first gray difference values, calculating second variation of two adjacent second gray difference values in the green color development strip to be detected according to the second gray difference values, and calculating third variation of two adjacent third gray difference values in the blue color development strip to be detected according to the third gray difference values;
and the judging module is used for judging whether the liquid crystal display screen is qualified or not according to the first variable quantity, the second variable quantity and the third variable quantity.
9. A computer arrangement comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to claims 1-7.
10. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to claims 1-7.
CN202210924795.XA 2022-08-01 2022-08-01 Liquid crystal display screen testing method and device, computer equipment and storage medium Pending CN115762370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210924795.XA CN115762370A (en) 2022-08-01 2022-08-01 Liquid crystal display screen testing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210924795.XA CN115762370A (en) 2022-08-01 2022-08-01 Liquid crystal display screen testing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115762370A true CN115762370A (en) 2023-03-07

Family

ID=85349150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210924795.XA Pending CN115762370A (en) 2022-08-01 2022-08-01 Liquid crystal display screen testing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115762370A (en)

Similar Documents

Publication Publication Date Title
US9983061B2 (en) Method, apparatus and system for testing optical characteristics of display module
WO2019001353A1 (en) Gray scale adjustment method and device for display panel
CN103067743B (en) Quick adjustment system and method for liquid crystal display television
CN108682365A (en) A kind of detection of OLED color spots with repair integral system, method
US20090096778A1 (en) Method and apparatus of detecting image-sticking of display device
CN113763892B (en) Gray scale adjusting method, display module, electronic equipment and readable storage medium
CN110400532A (en) A kind of method and apparatus of quick adjustment gamma voltage
CN112365845A (en) Gamma debugging method and gamma debugging device
KR20060052414A (en) Method and apparatus for detecting flat panel display by vision model
CN113257160A (en) Detection device and detection method for display panel
KR20090128151A (en) Digital image processing system for high definition resolution
CN114267316A (en) Gamma debugging method, electronic device and computer readable storage medium
US20050021258A1 (en) Display color calibration system
US20070043523A1 (en) System and method for inspecting pictures of a liquid crystal display
CN115762370A (en) Liquid crystal display screen testing method and device, computer equipment and storage medium
CN114613315A (en) Gamma curve learning method and LED display controller
KR100859937B1 (en) Method and device of rapidly generating a gray-level versus brightness curve of a display
CN110456537B (en) Test method and system for display module
US8786305B2 (en) Test circuit and test method for detecting electrical defect in TFT-LCD
JP2723687B2 (en) Test equipment for driving circuits for display devices
CN109410889B (en) White balance adjusting method and device and electronic equipment
JP3512535B2 (en) Panel image quality inspection apparatus and image quality correction method thereof
CN115824586A (en) Automatic detection method and device for display module
CN108919533B (en) Display panel testing method and device and electronic equipment
CN107818748B (en) Display panel detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination