A method and apparatus for testing a display screen

By converting the RGB color space to tristimulus values ​​and combining the difference values ​​of multiple test screens, color errors of LED displays can be objectively detected, solving the problem of strong subjectivity in manual inspection and achieving more accurate color error detection.

CN122306372APending Publication Date: 2026-06-30XIAN NOVASTAR TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
XIAN NOVASTAR TECH
Filing Date
2024-12-31
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

In existing technologies, color error detection of LED displays relies on manual methods, which are easily affected by the subjective factors of the testers, leading to inaccurate test results.

Method used

By obtaining the transformation matrix and target tristimulus values ​​of the display screen under test, converting them into tristimulus values ​​using the RGB color space, and combining the difference values ​​corresponding to multiple test images, the degree of color error of the display screen can be objectively determined.

Benefits of technology

It enables accurate detection of color errors on LED displays, avoids the influence of subjective factors, and improves the objectivity and accuracy of the detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122306372A_ABST
    Figure CN122306372A_ABST
Patent Text Reader

Abstract

This application provides a method and apparatus for testing a display screen, relating to the field of quality inspection and control. The method includes: acquiring a transformation matrix and target tristimulus values ​​for the display screen under test; the transformation matrix converts color values ​​in the RGB color space into corresponding tristimulus values; the target tristimulus values ​​are the tristimulus values ​​when displaying a white image; acquiring test color values ​​corresponding to multiple test images displayed on the display screen under test; the test color values ​​are the average color values ​​of white objects in the corresponding test images in the RGB color space; converting the test color values ​​corresponding to the multiple test images into tristimulus values ​​corresponding to the multiple test images using the transformation matrix; acquiring difference values ​​corresponding to the multiple test images based on the tristimulus values ​​and the target tristimulus values; and determining the degree of color error of the display screen under test based on the difference values ​​corresponding to the multiple test images. This application is used for display screen testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of quality inspection and control, and in particular to a testing method and apparatus for a display screen. Background Technology

[0002] An LED display screen is a type of display screen that uses light-emitting diodes (LEDs) as its light source. It consists of an array of many LED pixels, and the display of information such as images and text is achieved by controlling the light emission state (such as brightness and color) of these pixels.

[0003] In practical use, due to the combined effects of various factors such as the complex sub-pixel arrangement within the LED display screen, the signal processing characteristics of the driving circuit, and differences in rendering algorithms, color errors, such as inaccurate color mixing, often occur. These color errors can lead to color distortion; for example, a vibrant red may become dull and lifeless, and the mixing of blue and green may fail to accurately reproduce the desired cyan, severely damaging the visual integrity and aesthetics of the image and significantly impacting the final display effect. Currently, related technologies primarily rely on manual methods to detect color errors in LED displays. However, manual detection of color errors in LED displays is susceptible to the subjective influence of the testers, resulting in inaccurate test results. Summary of the Invention

[0004] In view of this, embodiments of this application provide a testing method and apparatus for display screens, used to accurately detect color errors in display screens.

[0005] To achieve the above objectives, the technical solutions provided in this application are as follows:

[0006] In a first aspect, embodiments of this application provide a method for testing a display screen, including:

[0007] The transformation matrix and target tristimulus value of the display screen under test are obtained. The transformation matrix is ​​used to convert color values ​​in the RGB color space into corresponding tristimulus values. The target tristimulus value is the tristimulus value when the display screen under test displays a white image.

[0008] Obtain test color values ​​corresponding to multiple test screens displayed on the display screen under test. Each of the multiple test screens contains a white display object. The test color value is the average color value of the white display object in the corresponding test screen in the RGB color space.

[0009] The transformation matrix is ​​used to convert the test color values ​​corresponding to the plurality of test images into tristimulus values ​​corresponding to the plurality of test images respectively.

[0010] Based on the tristimulus values ​​corresponding to the multiple test images and the target tristimulus value, the difference values ​​corresponding to the multiple test images are obtained respectively.

[0011] The degree of color error of the display screen under test is determined based on the difference values ​​corresponding to the multiple test images.

[0012] As an optional implementation of this application, obtaining the transformation matrix of the display screen under test includes:

[0013] Obtain the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates; the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates are the chromaticity coordinates when the display screen under test displays a red image, a green image, and a blue image, respectively.

[0014] The transformation matrix is ​​obtained based on the target tristimulus value, the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

[0015] As an optional implementation of this application, obtaining the transformation matrix based on the target tristimulus value, the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate includes:

[0016] Based on the calculation relationship between chromaticity coordinates, tristimulus values, and luminance values, a first set of equations, a second set of equations, and a third set of equations are obtained according to the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates, respectively. The first set of equations, the second set of equations, and the third set of equations are respectively sets of equations that express the tristimulus values ​​when the display screen under test displays a red, green, and blue image as variables with luminance values.

[0017] Based on the target tristimulus value, the first set of equations, the second set of equations, and the third set of equations, obtain the first brightness value when the display screen under test displays a red image, the second brightness value when the display screen under test displays a green image, and the third brightness value when the display screen under test displays a blue image;

[0018] The transformation matrix is ​​generated based on the first luminance value, the second luminance value, the third luminance value, the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

[0019] As an optional implementation of this application, obtaining the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates includes:

[0020] When the display screen under test displays a red, green, and blue image respectively, the color value of the first display position of the display screen under test is measured by a color analyzer to obtain the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

[0021] As an optional implementation of this application, obtaining the target tristimulus value of the display screen under test includes:

[0022] When the display screen under test displays a white image, the tristimulus values ​​at a preset display position of the display screen under test are measured by a color analyzer to obtain the target tristimulus values ​​of the display screen under test.

[0023] As an optional implementation of this application, the plurality of test screens include:

[0024] A first test screen and at least one test screen obtained by performing a graphic transformation operation on the first test screen;

[0025] The first test screen includes: a first line and a second line displayed on a black background. The first line and the second line are parallel white lines. The width of the first line and the second line is a first number of pixels. The distance between the first line and the second line is a second number of pixels. The graphic transformation operation includes translation and / or rotation operations on the first line and the second line.

[0026] As an optional implementation of this application, the plurality of test screens include:

[0027] The second test screen and at least one test screen obtained by performing a graphic transformation operation on the second test screen;

[0028] The second test screen includes a third line and a fourth line displayed on a black background. The third line and the fourth line are parallel white lines. The width of the third line and the fourth line is a third number of pixels, and the distance between the third line and the fourth line is a fourth number of pixels. The graphic transformation operation includes translation and / or rotation operations on the third line and the fourth line.

[0029] As an optional implementation of this application, the step of obtaining the difference value corresponding to the plurality of test screens based on the tristimulus values ​​corresponding to the plurality of test screens and the target tristimulus value includes:

[0030] The target tristimulus values ​​are converted into color values ​​in the Lab color space to obtain the target color value;

[0031] The tristimulus values ​​corresponding to the multiple test images are converted into color values ​​in the Lab color space to obtain the color values ​​corresponding to the multiple test images respectively.

[0032] The difference between the brightness value in the color value corresponding to the plurality of test images and the brightness value in the target color value is calculated respectively to obtain the brightness difference corresponding to the plurality of test images;

[0033] The difference between the first chromaticity value in the color values ​​corresponding to the plurality of test images and the first chromaticity value in the target color value is calculated respectively to obtain the first chromaticity difference corresponding to the plurality of test images;

[0034] The difference between the second chromaticity value in the color values ​​corresponding to the plurality of test images and the second chromaticity value in the target color value is calculated respectively to obtain the second chromaticity difference corresponding to the plurality of test images;

[0035] The difference values ​​corresponding to the multiple test images are obtained based on the brightness difference, the first chromaticity difference, and the second chromaticity difference.

[0036] As an optional implementation of this application, determining the degree of color error of the display screen under test based on the difference values ​​corresponding to the plurality of test screens includes:

[0037] Determine whether the difference value corresponding to the multiple test screens is less than a preset threshold;

[0038] The number of test images with a difference value less than the preset threshold is counted to obtain the score of the display screen under test;

[0039] The degree of color error of the display screen under test is determined based on the score of the display screen under test, and the score of the display screen under test is negatively correlated with the degree of color error of the display screen under test.

[0040] Secondly, this application provides a testing apparatus for a display screen, comprising:

[0041] The acquisition unit is used to acquire the transformation matrix and target tristimulus value of the display screen under test. The transformation matrix is ​​used to convert color values ​​in the RGB color space into corresponding tristimulus values. The target tristimulus value is the tristimulus value when the display screen under test displays a white image.

[0042] The testing unit is used to obtain test color values ​​corresponding to multiple test screens displayed on the display screen under test. Each of the multiple test screens contains a white display object, and the test color value is the average color value of the white display object in the corresponding test screen in the RGB color space.

[0043] A conversion unit is used to convert the test color values ​​corresponding to the plurality of test screens into tristimulus values ​​corresponding to the plurality of test screens respectively through the conversion matrix;

[0044] The processing unit is configured to obtain the difference values ​​corresponding to the multiple test screens based on the tristimulus values ​​corresponding to the multiple test screens and the target tristimulus value, respectively.

[0045] The determining unit is used to determine the degree of color error of the display screen under test based on the difference values ​​corresponding to the multiple test screens.

[0046] As an optional implementation of this application, the acquisition unit is specifically used to acquire a first chromaticity coordinate, a second chromaticity coordinate, and a third chromaticity coordinate; the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate are respectively the chromaticity coordinates when the display screen under test displays a red image, a green image, and a blue image; and the transformation matrix is ​​acquired based on the target tristimulus value, the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

[0047] As an optional implementation of this application, the acquisition unit is specifically used to acquire a first set of equations, a second set of equations, and a third set of equations based on the calculation relationship between chromaticity coordinates, tristimulus values, and luminance values, respectively, according to the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates. The first set of equations, the second set of equations, and the third set of equations are respectively sets of equations that express the tristimulus values ​​of the display screen under test when displaying a red, green, and blue image as variables with luminance values. Based on the target tristimulus values, the first set of equations, the second set of equations, and the third set of equations, the unit acquires the first luminance value when the display screen under test displays a red image, the second luminance value when the display screen under test displays a green image, and the third luminance value when the display screen under test displays a blue image. Based on the first luminance value, the second luminance value, the third luminance value, the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates, the unit generates the transformation matrix.

[0048] As an optional implementation of this application, the acquisition unit is specifically used to measure the color value of the first display position of the display screen under test by a color analyzer when the display screen under test displays a red image, a green image, and a blue image, respectively, so as to obtain the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

[0049] As an optional implementation of this application, the acquisition unit is specifically used to measure the tristimulus values ​​of a preset display position of the display screen under test using a color analyzer when the display screen under test displays a white image, so as to obtain the target tristimulus values ​​of the display screen under test.

[0050] As an optional implementation of this application, the plurality of test screens include:

[0051] A first test screen and at least one test screen obtained by performing a graphic transformation operation on the first test screen;

[0052] The first test screen includes: a first line and a second line displayed on a black background. The first line and the second line are parallel white lines. The width of the first line and the second line is a first number of pixels. The distance between the first line and the second line is a second number of pixels. The graphic transformation operation includes translation and / or rotation operations on the first line and the second line.

[0053] As an optional implementation of this application, the plurality of test screens include:

[0054] The second test screen and at least one test screen obtained by performing a graphic transformation operation on the second test screen;

[0055] The second test screen includes a third line and a fourth line displayed on a black background. The third line and the fourth line are parallel white lines. The width of the third line and the fourth line is a third number of pixels, and the distance between the third line and the fourth line is a fourth number of pixels. The graphic transformation operation includes translation and / or rotation operations on the third line and the fourth line.

[0056] As an optional implementation of this application, the processing unit is specifically configured to: convert the target tristimulus value into a color value in the Lab color space to obtain a target color value; convert the tristimulus values ​​corresponding to the plurality of test images into color values ​​in the Lab color space to obtain color values ​​corresponding to the plurality of test images; calculate the difference between the luminance value in the color values ​​corresponding to the plurality of test images and the luminance value in the target color value to obtain luminance difference values ​​corresponding to the plurality of test images; calculate the difference between the first chromaticity value in the color values ​​corresponding to the plurality of test images and the first chromaticity value in the target color value to obtain first chromaticity difference values ​​corresponding to the plurality of test images; calculate the difference between the second chromaticity value in the color values ​​corresponding to the plurality of test images and the second chromaticity value in the target color value to obtain second chromaticity difference values ​​corresponding to the plurality of test images; and obtain difference values ​​corresponding to the plurality of test images based on the luminance difference values, the first chromaticity difference values, and the second chromaticity difference values ​​corresponding to the plurality of test images.

[0057] As an optional implementation of this application, the determining unit is specifically used to determine whether the difference value corresponding to the plurality of test screens is less than a preset threshold; count the number of test screens whose corresponding difference value is less than the preset threshold to obtain the score of the display screen under test; determine the degree of color error of the display screen under test based on the score of the display screen under test, wherein the score of the display screen under test is negatively correlated with the degree of color error of the display screen under test.

[0058] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor, wherein the memory is used to store a computer program and the processor is used to cause the electronic device to implement the display screen testing method described in any of the above embodiments when executing the computer program.

[0059] Fourthly, embodiments of this application provide a computer-readable storage medium that, when executed by a computing device, causes the computing device to implement the display screen testing method described in any of the above embodiments.

[0060] Fifthly, embodiments of this application provide a computer program product that, when run on a computer, enables the computer to implement the display screen testing method described in any of the above embodiments.

[0061] The display screen testing method provided in this application embodiment, when performing color error testing on the display screen under test, first obtains the transformation matrix of the display screen under test for converting color values ​​in the RGB color space into corresponding tristimulus values, and the target tristimulus value when the display screen under test displays a white image. Then, it obtains the test color values ​​corresponding to multiple test images displayed by the display screen under test, and then converts the test color values ​​corresponding to the multiple test images into the tristimulus values ​​corresponding to the multiple test images respectively through the transformation matrix. Based on the tristimulus values ​​corresponding to the multiple test images and the target tristimulus value, it obtains the difference value corresponding to the multiple test images, and determines the degree of color error of the display screen under test based on the difference value corresponding to the multiple test images. Since the display screen testing method provided in this application embodiment determines the degree of color error of the display screen under test by using the difference value corresponding to multiple test images, this application embodiment can objectively detect display screen color errors, avoid the influence of subjective factors on the detection results of display screen color errors, and thus accurately detect display screen color errors. Attached Figure Description

[0062] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0063] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the accompanying drawings that need to be called in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0064] Figure 1 One of the flowcharts of the testing method for a display screen provided in an embodiment of this application;

[0065] Figure 2 A second flowchart illustrating the steps of a testing method for a display screen provided in an embodiment of this application;

[0066] Figure 3 One of the schematic diagrams of a test screen provided in an embodiment of this application;

[0067] Figure 4 A second schematic diagram of a test screen provided in an embodiment of this application;

[0068] Figure 5 A schematic diagram of the structure of the testing device for the display screen provided in the embodiments of this application;

[0069] Figure 6 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0070] To better understand the above-mentioned objectives, features, and advantages of this application, the solution of this application will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.

[0071] Many specific details are set forth in the following description in order to provide a full understanding of this application, but this application may also be implemented in other ways different from those described herein. Obviously, the embodiments in the specification are only some embodiments of this application, and not all embodiments.

[0072] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner. Furthermore, in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0073] This application provides a method for testing a display screen, referring to... Figure 1 As shown, the testing method for this display screen includes the following steps:

[0074] S11. Obtain the transformation matrix and target tristimulus values ​​of the display screen under test.

[0075] The transformation matrix is ​​used to convert color values ​​in the RGB color space into corresponding tristimulus values, and the target tristimulus value is the tristimulus value when the display screen under test displays a white image.

[0076] The RGB color space, also known as the RGB color model, is an additive color model used to represent and mix colors. In RGB, "R," "G," and "B" are abbreviations for Red, Green, and Blue, respectively. In the RGB color space, all colors can be represented by different intensities of the three basic colors (red, green, and blue) (also called primary colors). When the intensity of each primary color is represented by one byte (8 bits), the value range for each primary color is 0 to 255. When the RGB value is (0, 0, 0), no light of any color is emitted, thus representing black. When the RGB value is (255, 255, 255), because red, green, and blue light are emitted at their strongest intensity, mixing results in white, thus representing white. When the RGB value is (255, 0, 0), it represents red; when the RGB value is (0, 255, 0), it represents green; and when the RGB value is (0, 0, 255), it represents blue.

[0077] The tristimulus value, defined by the International Commission on Illumination (CIE), represents the quantities of three reference color stimuli (red, green, and blue) required to achieve color matching with a measured color. These quantities are typically represented by the symbols X, Y, and Z. The tristimulus value quantitatively describes color and is closely related to the color vision characteristics of the human eye. The human retina contains three types of cone cells, sensitive to long wavelengths (red), medium wavelengths (green), and short wavelengths (blue), respectively. The concept of the tristimulus value, to some extent, simulates the color perception process of the human eye's cone cells. Furthermore, the Y value within the tristimulus value is closely related to luminance. The Y value is obtained by weighted integral of the spectral power distribution based on the visual characteristics of the human eye, and it can represent luminance to some extent.

[0078] In this embodiment, displaying a white image on the screen under test means that each sub-pixel of each pixel on the screen under test emits light at its maximum intensity. In the RGB color space, when the screen under test displays a white image, the pixel value of each pixel is (R...). max G max B max ), where R max G max B max The maximum value within the range of red, green, and blue values ​​respectively.

[0079] S12. Obtain the test color values ​​corresponding to the multiple test screens displayed on the display screen under test.

[0080] The test screens all contain white display objects, and the test color value is the average color value of the white display objects in the corresponding test screen in the RGB color space.

[0081] For example, a white display object in a test screen consists of N pixels, and the color values ​​of the N pixels are (R1, g1, B1), (R2, g2, B2), ..., (R... N G N B N If the color value of the test screen is 0, then the test color value is 0.

[0082] S13. The test color values ​​corresponding to the plurality of test screens are converted into tristimulus values ​​corresponding to the plurality of test screens respectively through the conversion matrix.

[0083] For example, the transformation matrix is:

[0084]

[0085] The test color value corresponding to a certain test screen is (R) i G i B i If the tristimulus value X corresponding to the test screen is... i Y i Z i for:

[0086]

[0087] S14. Obtain the difference value corresponding to the multiple test screens based on the tristimulus values ​​corresponding to the multiple test screens and the target tristimulus value, respectively.

[0088] In some embodiments, obtaining the difference value corresponding to the plurality of test screens based on the tristimulus values ​​corresponding to the plurality of test screens and the target tristimulus value includes:

[0089] The tristimulus values ​​corresponding to the plurality of test images and the target tristimulus values ​​are converted into color values ​​in the Lab color space to obtain the color values ​​corresponding to the plurality of test images and the target color values, and the difference values ​​corresponding to the plurality of test images are calculated based on the color values ​​corresponding to the plurality of test images and the target color values.

[0090] The Lab color space is a color space defined by the International Commission on Illumination (ICI). It is based on the uniformity of human vision, meaning that differences between colors are represented in a way that better aligns with human perception. "L" represents lightness, ranging from 0 to 100, where 0 represents black and 100 represents white; "a" represents the color range from green to red, with negative values ​​indicating green and positive values ​​indicating red; and "b" represents the color range from blue to yellow, with negative values ​​indicating blue and positive values ​​indicating yellow. For example, a color with a Lab value of (50, 30, -20) indicates that the color has a medium lightness (50), a reddish tint (a = 30), and a bluish tint (b = -20). Compared to the RGB color space, which focuses more on the light emission principles of devices (such as monitors), the Lab color space emphasizes color perception.

[0091] S15. Determine the degree of color error of the display screen under test based on the difference values ​​corresponding to the multiple test screens.

[0092] The display screen testing method provided in this application embodiment, when performing color error testing on the display screen under test, first obtains the transformation matrix of the display screen under test for converting color values ​​in the RGB color space into corresponding tristimulus values, and the target tristimulus value when the display screen under test displays a white image. Then, it obtains the test color values ​​corresponding to multiple test images displayed by the display screen under test, and then converts the test color values ​​corresponding to the multiple test images into the tristimulus values ​​corresponding to the multiple test images respectively through the transformation matrix. Based on the tristimulus values ​​corresponding to the multiple test images and the target tristimulus value, it obtains the difference value corresponding to the multiple test images, and determines the degree of color error of the display screen under test based on the difference value corresponding to the multiple test images. Since the display screen testing method provided in this application embodiment determines the degree of color error of the display screen under test by using the difference value corresponding to multiple test images, this application embodiment can objectively detect display screen color errors, avoid the influence of subjective factors on the detection results of display screen color errors, and thus accurately detect display screen color errors.

[0093] As an extension and refinement of the above embodiments, this application provides another method for testing a display screen, referring to... Figure 2 As shown, the testing method for this display screen includes the following steps:

[0094] S201. Obtain the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates.

[0095] Wherein, the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate are the chromaticity coordinates when the display screen under test displays a red, green, and blue image, respectively.

[0096] In some embodiments, obtaining the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates can be achieved as follows:

[0097] When the display screen under test displays a red, green, and blue image respectively, the color value of the first display position of the display screen under test is measured by a color analyzer to obtain the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

[0098] In this embodiment, displaying a red image on the screen under test means that all red sub-pixels of each pixel on the screen under test emit light at maximum intensity. In the RGB color space, when the screen under test displays a red image, the pixel value of each pixel is (R... maxSimilarly, a green image displayed on the screen under test means that all green sub-pixels of the screen under test emit light at maximum intensity. In the RGB color space, when a green image is displayed on the screen under test, the pixel value of each pixel is (0, 0, 0). max A blue image on the screen under test means that all blue sub-pixels of the screen under test emit light at maximum intensity. In the RGB color space, when a blue image is displayed on the screen under test, the pixel value of each pixel is (0, 0, B). max ), where R max G max B max The maximum value within the range of red, green, and blue, respectively.

[0099] In some embodiments, the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates are all chromaticity coordinates in the CIE1931 xy chromaticity space.

[0100] The CIE 1931xy color space is a color space derived based on tristimulus values. In the CIE 1931xy color space, the x and y coordinates, calculated using the tristimulus values ​​(X, Y, Z), represent colors. The formulas for calculating the x and y coordinates are shown below:

[0101]

[0102] The CIE 1931xy chromaticity space can project three-dimensional tristimulus values ​​onto a two-dimensional plane to more intuitively represent the chromaticity characteristics of colors.

[0103] In this embodiment, the first display position can be any position of the display screen under test. For example, the first display position can be the geometric center of the display screen under test.

[0104] In some embodiments, the color analyzer has a sampling range of more than 16 pixels.

[0105] S202. Obtain the target tristimulus value of the display screen under test.

[0106] In some embodiments, obtaining the target tristimulus value of the display screen under test includes: when the display screen under test displays a white image, measuring the tristimulus value of a preset display position of the display screen under test using a color analyzer to obtain the target tristimulus value of the display screen under test.

[0107] S203. Obtain the transformation matrix based on the target tristimulus value, the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

[0108] In some embodiments, obtaining the transformation matrix based on the target tristimulus value, the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate includes the following steps 203a to 203c:

[0109] Step 203a: Based on the calculation relationship between chromaticity coordinates, tristimulus values ​​and luminance values, obtain the first set of equations, the second set of equations and the third set of equations according to the first chromaticity coordinates, the second chromaticity coordinates and the third chromaticity coordinates respectively.

[0110] Among them, the first set of equations, the second set of equations, and the third set of equations are respectively sets of equations that express the tristimulus values ​​of the display screen under test when displaying red, green, and blue images as variables with brightness values.

[0111] The calculation relationships between chromaticity coordinates, tristimulus values, and luminance values ​​are shown below:

[0112]

[0113] Where X, Y, and Z are tristimulus values, x and y are chromaticity coordinate values, and L is luminance value.

[0114] The first chromaticity coordinate is represented as (x R y R The first brightness value when the display screen under test shows a red image is represented as L. R Then the first system of equations is:

[0115]

[0116] Similarly, the second chromaticity coordinates can be represented as (x G y G The second brightness value when the display screen under test shows a green image is represented as L. G Then the second system of equations is:

[0117]

[0118] Similarly, the third chromaticity coordinates can be represented as (x B y B The third brightness value when the display screen under test shows a blue image is represented as L. B Then the third-party program group is:

[0119]

[0120] Step 203b: Based on the target tristimulus value, the first set of equations, the second set of equations, and the third set of equations, obtain the first brightness value when the display screen under test displays a red image, the second brightness value when the display screen under test displays a green image, and the third brightness value when the display screen under test displays a blue image.

[0121] Since the red, green, and blue images emit light at their maximum intensity only in the red, green, and blue subpixels, respectively, while the white image emits light at its maximum intensity in all three subpixels, the target tristimulus values ​​are related to the tristimulus values ​​of the red, green, and blue images as follows:

[0122]

[0123] Among them, X W Y W Z W The target tristimulus values ​​are the values ​​when the display screen under test shows a white image.

[0124] Let L be the brightness value of the display screen under test when displaying a white image. W =1, then we have:

[0125]

[0126] Where, x W and y W The chromaticity coordinates are the coordinates of the display screen under test when displaying a white image.

[0127] Combining the above formula, we can obtain: Y R Y G Y B The proportional relationship between them is used to obtain the first brightness value Y. R Second brightness value Y G And the third brightness value Y B .

[0128] Step 203c: Generate the transformation matrix based on the first luminance value, the second luminance value, the third luminance value, the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates.

[0129] In some embodiments, the transformation matrix is ​​calculated as follows:

[0130]

[0131] The first brightness value L R Second brightness value L G Third brightness value L B First chromaticity coordinates (x R yR ), second chromaticity coordinates (x) G y G ) and the third chromaticity coordinate (x B y B Substituting into the above formula yields the transformation matrix used to convert color values ​​in the RGB color space into their corresponding tristimulus values.

[0132] S204. Obtain the test color values ​​corresponding to the multiple test screens displayed on the display screen under test.

[0133] The test screens all contain white display objects, and the test color value is the average color value of the white display objects in the corresponding test screen in the RGB color space.

[0134] In some embodiments, the plurality of test screens includes: a first test screen and at least one test screen obtained by performing a graphic transformation operation on the first test screen.

[0135] Among them, reference Figure 3 As shown, the first test screen 300 includes: a first line 31 and a second line 32 displayed on a black background. The first line 31 and the second line 32 are parallel white lines. The width of both the first line and the second line is a first number of pixels, and the distance between the first line 31 and the second line 32 is a second number of pixels. The graphic transformation operation includes translation and / or rotation operations on the first line and the second line.

[0136] In some embodiments, both the first quantity and the second quantity are 1. That is, the width of the first line and the second line are both 1 pixel, and the spacing between the first line and the second line is 1 pixel.

[0137] In some embodiments, the extension directions of the first line and the second line in the first test screen are located between the horizontal and vertical directions. That is, the first line and the second line are diagonal lines. For example, the angle between the first line and the second line and the horizontal direction is 45°.

[0138] In some embodiments, the graphic transformation operation performed on the first test screen includes at least one of the following:

[0139] ① Shift the first line and the second line horizontally by one pixel;

[0140] ② Rotate the first line and the second line clockwise by 5°;

[0141] ③ Rotate the first line and the second line 10° clockwise;

[0142] ④ Rotate the first line and the second line 15° clockwise;

[0143] ⑤ Rotate the first line and the second line into straight lines extending in the horizontal direction;

[0144] ⑥ First, rotate the first line and the second line into straight lines extending horizontally, and then rotate them 5° clockwise.

[0145] ⑦ First, rotate the first line and the second line into straight lines extending horizontally, and then rotate them 10° clockwise.

[0146] ⑧ First, rotate the first line and the second line into straight lines extending horizontally, and then rotate them 15° clockwise.

[0147] 9. First, rotate the first line and the second line into straight lines extending horizontally, and then rotate them 20° clockwise.

[0148] ⑩ Rotate the first line and the second line into straight lines extending in a vertical horizontal direction;

[0149] First, rotate the first line and the second line into straight lines extending vertically, and then rotate them 5° clockwise.

[0150] First, rotate the first line and the second line into straight lines extending vertically, and then rotate them 10° clockwise.

[0151] First, rotate the first line and the second line into straight lines extending vertically, and then rotate them 15° clockwise.

[0152] First, rotate the first and second lines into straight lines extending vertically, and then rotate them 20° clockwise.

[0153] In some embodiments, the plurality of test screens includes: a second test screen and at least one test screen obtained by performing a graphic transformation operation on the second test screen.

[0154] Among them, reference Figure 4As shown, the second test screen 400 includes: a third line 41 and a fourth line 42 displayed on a black background. The third line 41 and the fourth line 42 are parallel white lines. The width of the third line 41 and the fourth line 42 is a third number of pixels, and the distance between the third line 41 and the fourth line 42 is a fourth number of pixels. The graphic transformation operation includes translation and / or rotation operations on the third line and the fourth line.

[0155] In some embodiments, the third quantity is 2, and the fourth quantity is 1. That is, the width of both the third and fourth lines is 2 pixels, and the spacing between the third and fourth lines is 1 pixel.

[0156] In some embodiments, the extension directions of the third and fourth lines in the second test screen are between the horizontal and vertical directions. That is, the third and fourth lines are diagonal lines. For example, the angle between the third and fourth lines and the horizontal direction is 45°.

[0157] In some embodiments, the graphic transformation operation performed on the second test screen includes at least one of the following:

[0158] (1) Shift the third and fourth lines horizontally by one pixel;

[0159] (2) Rotate the third line and the fourth line clockwise by 5°;

[0160] (3) Rotate the third line and the fourth line 10° clockwise;

[0161] (4) Rotate the third line and the fourth line 15° clockwise;

[0162] (5) Rotate the third and fourth lines into straight lines extending in the horizontal direction;

[0163] (6) First, rotate the third and fourth lines into straight lines extending horizontally, and then rotate them 5° clockwise.

[0164] (7) First, rotate the third and fourth lines into straight lines extending horizontally, and then rotate them 10° clockwise.

[0165] (8) First, rotate the third and fourth lines into straight lines extending horizontally, and then rotate them 15° clockwise.

[0166] (9) First, rotate the third and fourth lines into straight lines extending horizontally, and then rotate them 20° clockwise.

[0167] (10) Rotate the third and fourth lines into straight lines extending in a vertical horizontal direction;

[0168] 11. First, rotate the third and fourth lines into straight lines extending vertically, and then rotate them 5° clockwise.

[0169] 12. First, rotate the third and fourth lines into straight lines extending vertically, and then rotate them 10° clockwise.

[0170] 13. First, rotate the third and fourth lines into straight lines extending vertically, and then rotate them 15° clockwise.

[0171] 14. First, rotate the third and fourth lines into straight lines extending vertically, and then rotate them 20° clockwise.

[0172] S205. The test color values ​​corresponding to the plurality of test screens are converted into tristimulus values ​​corresponding to the plurality of test screens respectively through the conversion matrix.

[0173] That is, the test color value corresponding to the test screen is multiplied by the transformation matrix to obtain the tristimulus value corresponding to the test screen.

[0174] S206. Convert the target tristimulus value into a color value in the Lab color space to obtain the target color value.

[0175] The conversion formula between tristimulus values ​​and color values ​​in the Lab color space is shown below:

[0176]

[0177] in,

[0178]

[0179] X n Z n X is the target tristimulus value. W Z W Y n =100.

[0180] The target tristimulus value (X) W Y W Z W Substituting X, Y, and Z into the above formula, we can obtain the target color value (L). W a W b W ).

[0181] S207. Convert the tristimulus values ​​corresponding to the plurality of test screens into color values ​​in the Lab color space to obtain the color values ​​corresponding to the plurality of test screens respectively.

[0182] The methods for converting the tristimulus values ​​corresponding to the test image into color values ​​in the Lab color space and the methods for converting the target tristimulus values ​​into color values ​​in the Lab color space will not be repeated here to avoid redundancy.

[0183] S208. Calculate the difference between the brightness value in the color value corresponding to the plurality of test screens and the brightness value in the target color value, respectively, to obtain the brightness difference corresponding to the plurality of test screens.

[0184] That is, the formula for calculating the brightness difference of the i-th test image among the multiple test images is:

[0185] ΔL=L i -L W

[0186] Where ΔL is the brightness difference of the i-th test image, L i L represents the brightness value in the color value corresponding to the i-th test image. W The brightness value is the value in the target color.

[0187] S209. Calculate the difference between the first chromaticity value in the color values ​​corresponding to the plurality of test screens and the first chromaticity value in the target color value, so as to obtain the first chromaticity difference corresponding to the plurality of test screens.

[0188] That is, the formula for calculating the first chromaticity difference of the i-th test image among the plurality of test images is:

[0189] Δa=a i -a W

[0190] Where Δa is the first chromaticity difference of the i-th test image, a i a is the first chromaticity value in the color values ​​corresponding to the i-th test image. W This is the first chromaticity value in the target color value.

[0191] S210. Calculate the difference between the second chromaticity value in the color values ​​corresponding to the plurality of test screens and the second chromaticity value in the target color value, so as to obtain the second chromaticity difference corresponding to the plurality of test screens.

[0192] That is, the formula for calculating the second chromaticity difference of the i-th test image among the plurality of test images is:

[0193] Δb=b i -bW

[0194] Where Δb is the second chromaticity difference of the i-th test image, b i b is the second chromaticity value in the color values ​​corresponding to the i-th test image. W This is the second chromaticity value in the target color value.

[0195] S211. Obtain the difference value corresponding to the multiple test images based on the brightness difference, the first chromaticity difference, and the second chromaticity difference corresponding to the multiple test images respectively.

[0196] In some embodiments, the difference value corresponding to the plurality of test images is obtained based on the brightness difference, the first chromaticity difference, and the second chromaticity difference corresponding to the plurality of test images, respectively. This includes: calculating the modulus of the brightness difference, the first chromaticity difference, and the second chromaticity difference corresponding to the plurality of test images to obtain the difference value corresponding to the plurality of test images. That is, the difference value corresponding to the test images can be calculated using the following formula:

[0197]

[0198] S212. Determine whether the difference value corresponding to the multiple test screens is less than a preset threshold.

[0199] For example, the preset threshold can be 3. That is, it is determined whether the difference value corresponding to the multiple test screens is less than 3.

[0200] S213. Count the number of test screens whose corresponding difference value is less than the preset threshold to obtain the score of the display screen under test.

[0201] When the multiple test screens include: the first test screen, at least one test screen obtained by performing a graphic transformation operation on the first test screen, the second test screen, and at least one test screen obtained by performing a graphic transformation operation on the second test screen, the score of the display screen under test can be statistically analyzed using the following table 1:

[0202] Table 1

[0203]

[0204] As shown in Table 1 above, there are a total of 30 test screens, so the score range of the test screen is [0, 30].

[0205] S214. Determine the degree of color error of the display screen under test based on the score of the display screen under test.

[0206] The score of the display screen under test is negatively correlated with the degree of color error of the display screen under test.

[0207] In other words, the higher the score of the display screen under test, the lower the degree of color error and the fewer color errors. Conversely, the lower the score of the display screen under test, the higher the degree of color error and the more color errors.

[0208] In some embodiments, the test environment for the display screen testing method in this application includes:

[0209] Atmospheric conditions:

[0210] a) Ambient temperature: 15° to 30°C (59 to 86°F)

[0211] b) The change in ambient lighting is less than ±10%, and there are no obvious colored light sources.

[0212] Other environmental conditions:

[0213] a) AC power supply: 220 x (1 + 10%) VAC, 50 Hz (±1 Hz);

[0214] b) The test environment should be free from mechanical vibration, electromagnetic and photoelectric interference or damaging factors that may affect the accuracy of the test;

[0215] c) Before testing, adjust the basic functions of the display screen under test to normal. Do not change the configuration parameters and working status of the display screen under test during the test.

[0216] d) Before conducting photoelectric performance testing, all LEDs of the display screen under test should be lit at 30% of their maximum brightness, and the warm-up time should be no less than 15 minutes.

[0217] Color analyzer requirements:

[0218] a) No obvious ambient light leakage into the color analyzer's edge;

[0219] b) The test display screen should be effectively protected to prevent light leakage from the sides;

[0220] c) The color analyzer's acquisition range must be no less than 16 pixels;

[0221] d) Density measurement accuracy: 0.05-4 cd / m2 ±4%;

[0222] e) Brightness measurement accuracy: 400-1000cd / m2 ±2%;

[0223] f) Colorimetric measurement accuracy: 0.003.

[0224] Based on the same inventive concept, as an implementation of the above method, this application embodiment also provides a display screen testing device. This embodiment corresponds to the aforementioned method embodiment. For ease of reading, this embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the display screen testing device in this embodiment can correspondingly implement all the contents of the aforementioned method embodiment.

[0225] This application provides a testing device for a display screen. Figure 5 This is a schematic diagram of the testing device for the display screen, as shown below. Figure 5 As shown, the testing apparatus 500 for the display screen includes:

[0226] The acquisition unit 51 is used to acquire the transformation matrix and target tristimulus value of the display screen under test. The transformation matrix is ​​used to convert color values ​​in the RGB color space into corresponding tristimulus values. The target tristimulus value is the tristimulus value when the display screen under test displays a white image.

[0227] Test unit 52 is used to obtain test color values ​​corresponding to multiple test screens displayed on the display screen under test. Each of the multiple test screens contains a white display object, and the test color value is the average color value of the white display object in the corresponding test screen in the RGB color space.

[0228] The conversion unit 53 is used to convert the test color values ​​corresponding to the plurality of test screens into tristimulus values ​​corresponding to the plurality of test screens respectively through the conversion matrix;

[0229] The processing unit 54 is used to obtain the difference value corresponding to the multiple test screens based on the tristimulus values ​​corresponding to the multiple test screens and the target tristimulus value, respectively.

[0230] The determining unit 55 is used to determine the degree of color error of the display screen under test based on the difference values ​​corresponding to the multiple test screens.

[0231] As an optional implementation of this application, the acquisition unit 51 is specifically used to acquire a first chromaticity coordinate, a second chromaticity coordinate, and a third chromaticity coordinate; the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate are respectively the chromaticity coordinates when the display screen under test displays a red image, a green image, and a blue image; and the transformation matrix is ​​acquired based on the target tristimulus value, the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

[0232] As an optional implementation of this application, the acquisition unit 51 is specifically used to acquire a first set of equations, a second set of equations, and a third set of equations based on the calculation relationship between chromaticity coordinates, tristimulus values, and luminance values, respectively, according to the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates. The first set of equations, the second set of equations, and the third set of equations are respectively sets of equations that express the tristimulus values ​​when the display screen under test displays a red, green, and blue image as variables with luminance values. Based on the target tristimulus values, the first set of equations, the second set of equations, and the third set of equations, the unit acquires the first luminance value when the display screen under test displays a red image, the second luminance value when the display screen under test displays a green image, and the third luminance value when the display screen under test displays a blue image. Based on the first luminance value, the second luminance value, the third luminance value, the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates, the unit generates the transformation matrix.

[0233] As an optional implementation of this application, the acquisition unit is specifically used to measure the color value of the first display position of the display screen under test by a color analyzer when the display screen under test displays a red image, a green image, and a blue image, respectively, so as to obtain the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

[0234] As an optional implementation of this application, the acquisition unit 51 is specifically used to measure the tristimulus values ​​of a preset display position of the display screen under test using a color analyzer when the display screen under test displays a white image, so as to obtain the target tristimulus values ​​of the display screen under test.

[0235] As an optional implementation of this application, the plurality of test screens include:

[0236] A first test screen and at least one test screen obtained by performing a graphic transformation operation on the first test screen;

[0237] The first test screen includes: a first line and a second line displayed on a black background. The first line and the second line are parallel white lines. The width of the first line and the second line is a first number of pixels. The distance between the first line and the second line is a second number of pixels. The graphic transformation operation includes translation and / or rotation operations on the first line and the second line.

[0238] As an optional implementation of this application, the plurality of test screens include:

[0239] The second test screen and at least one test screen obtained by performing a graphic transformation operation on the second test screen;

[0240] The second test screen includes a third line and a fourth line displayed on a black background. The third line and the fourth line are parallel white lines. The width of the third line and the fourth line is a third number of pixels, and the distance between the third line and the fourth line is a fourth number of pixels. The graphic transformation operation includes translation and / or rotation operations on the third line and the fourth line.

[0241] As an optional implementation of this application, the processing unit 54 is specifically configured to: convert the target tristimulus value into a color value in the Lab color space to obtain a target color value; convert the tristimulus values ​​corresponding to the plurality of test images into color values ​​in the Lab color space to obtain color values ​​corresponding to the plurality of test images; calculate the difference between the luminance value in the color values ​​corresponding to the plurality of test images and the luminance value in the target color value to obtain luminance difference values ​​corresponding to the plurality of test images; calculate the difference between the first chromaticity value in the color values ​​corresponding to the plurality of test images and the first chromaticity value in the target color value to obtain first chromaticity difference values ​​corresponding to the plurality of test images; calculate the difference between the second chromaticity value in the color values ​​corresponding to the plurality of test images and the second chromaticity value in the target color value to obtain second chromaticity difference values ​​corresponding to the plurality of test images; and obtain difference values ​​corresponding to the plurality of test images based on the luminance difference values, the first chromaticity difference values, and the second chromaticity difference values ​​corresponding to the plurality of test images.

[0242] As an optional implementation of this application, the determining unit 55 is specifically used to determine whether the difference value corresponding to the plurality of test screens is less than a preset threshold; count the number of test screens whose corresponding difference value is less than the preset threshold to obtain the score of the display screen under test; determine the degree of color error of the display screen under test based on the score of the display screen under test, wherein the score of the display screen under test is negatively correlated with the degree of color error of the display screen under test.

[0243] The display screen testing device provided in this application embodiment can execute the display screen testing method provided in any of the above embodiments. Its implementation principle and technical effect are similar, and will not be repeated here.

[0244] Based on the same inventive concept, embodiments of this application also provide an electronic device. Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application, such as... Figure 6As shown, the electronic device provided in this embodiment includes a memory 601 and a processor 602. The memory 601 is used to store a computer program, and the processor 602 is used to execute the display screen testing method provided in the above embodiment when executing the computer program.

[0245] Based on the same inventive concept, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the computing device to implement the display screen testing method provided in the above embodiments.

[0246] Based on the same inventive concept, this application also provides a computer program product that, when run on a computer, enables the computing device to implement the display screen testing method provided in the above embodiments.

[0247] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.

[0248] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0249] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0250] Computer-readable media include both permanent and non-permanent, removable and non-removable storage media. Storage media can store information using any method or technology; the information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0251] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some or all of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A method for testing a display screen, characterized in that, include: The transformation matrix and target tristimulus value of the display screen under test are obtained. The transformation matrix is ​​used to convert color values ​​in the RGB color space into corresponding tristimulus values. The target tristimulus value is the tristimulus value when the display screen under test displays a white image. Obtain test color values ​​corresponding to multiple test screens displayed on the display screen under test. Each of the multiple test screens contains a white display object. The test color value is the average color value of the white display object in the corresponding test screen in the RGB color space. The transformation matrix is ​​used to convert the test color values ​​corresponding to the plurality of test images into tristimulus values ​​corresponding to the plurality of test images respectively. Based on the tristimulus values ​​corresponding to the multiple test images and the target tristimulus value, the difference values ​​corresponding to the multiple test images are obtained respectively. The degree of color error of the display screen under test is determined based on the difference values ​​corresponding to the multiple test images.

2. The method according to claim 1, characterized in that, Obtaining the transformation matrix of the display screen under test includes: Obtain the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates; the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates are the chromaticity coordinates when the display screen under test displays a red image, a green image, and a blue image, respectively. The transformation matrix is ​​obtained based on the target tristimulus value, the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

3. The method according to claim 2, characterized in that, The step of obtaining the transformation matrix based on the target tristimulus value, the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate includes: Based on the calculation relationship between chromaticity coordinates, tristimulus values, and luminance values, a first set of equations, a second set of equations, and a third set of equations are obtained according to the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates, respectively. The first set of equations, the second set of equations, and the third set of equations are respectively sets of equations that express the tristimulus values ​​when the display screen under test displays a red, green, and blue image as variables with luminance values. Based on the target tristimulus value, the first set of equations, the second set of equations, and the third set of equations, obtain the first brightness value when the display screen under test displays a red image, the second brightness value when the display screen under test displays a green image, and the third brightness value when the display screen under test displays a blue image; The transformation matrix is ​​generated based on the first luminance value, the second luminance value, the third luminance value, the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

4. The method according to claim 2, characterized in that, The process of obtaining the first chromaticity coordinates, the second chromaticity coordinates, and the third chromaticity coordinates includes: When the display screen under test displays a red, green, and blue image respectively, the color value of the first display position of the display screen under test is measured by a color analyzer to obtain the first chromaticity coordinate, the second chromaticity coordinate, and the third chromaticity coordinate.

5. The method according to claim 1, characterized in that, Obtaining the target tristimulus values ​​of the display screen under test includes: When the display screen under test displays a white image, the tristimulus values ​​at a preset display position of the display screen under test are measured by a color analyzer to obtain the target tristimulus values ​​of the display screen under test.

6. The method according to claim 1, characterized in that, The multiple test screens include: A first test screen and at least one test screen obtained by performing a graphic transformation operation on the first test screen; The first test screen includes: a first line and a second line displayed on a black background. The first line and the second line are parallel white lines. The width of the first line and the second line is a first number of pixels. The distance between the first line and the second line is a second number of pixels. The graphic transformation operation includes translation and / or rotation operations on the first line and the second line.

7. The method according to claim 1, characterized in that, The multiple test screens include: The second test screen and at least one test screen obtained by performing a graphic transformation operation on the second test screen; The second test screen includes a third line and a fourth line displayed on a black background. The third line and the fourth line are parallel white lines. The width of the third line and the fourth line is a third number of pixels, and the distance between the third line and the fourth line is a fourth number of pixels. The graphic transformation operation includes translation and / or rotation operations on the third line and the fourth line.

8. The method according to claim 1, characterized in that, The step of obtaining the difference value corresponding to the multiple test images based on the tristimulus values ​​corresponding to the multiple test images and the target tristimulus value includes: The target tristimulus values ​​are converted into color values ​​in the Lab color space to obtain the target color value; The tristimulus values ​​corresponding to the multiple test images are converted into color values ​​in the Lab color space to obtain the color values ​​corresponding to the multiple test images respectively. The difference between the brightness value in the color value corresponding to the plurality of test images and the brightness value in the target color value is calculated respectively to obtain the brightness difference corresponding to the plurality of test images; The difference between the first chromaticity value in the color values ​​corresponding to the plurality of test images and the first chromaticity value in the target color value is calculated respectively to obtain the first chromaticity difference corresponding to the plurality of test images; The difference between the second chromaticity value in the color values ​​corresponding to the plurality of test images and the second chromaticity value in the target color value is calculated respectively to obtain the second chromaticity difference corresponding to the plurality of test images; The difference values ​​corresponding to the multiple test images are obtained based on the brightness difference, the first chromaticity difference, and the second chromaticity difference.

9. The method according to claim 1, characterized in that, The step of determining the degree of color error of the display screen under test based on the difference values ​​corresponding to the multiple test images includes: Determine whether the difference value corresponding to the multiple test screens is less than a preset threshold; The number of test images with a difference value less than the preset threshold is counted to obtain the score of the display screen under test; The degree of color error of the display screen under test is determined based on the score of the display screen under test, and the score of the display screen under test is negatively correlated with the degree of color error of the display screen under test.

10. A testing device for a display screen, characterized in that, include: The acquisition unit is used to acquire the transformation matrix and target tristimulus value of the display screen under test. The transformation matrix is ​​used to convert color values ​​in the RGB color space into corresponding tristimulus values. The target tristimulus value is the tristimulus value when the display screen under test displays a white image. The testing unit is used to obtain test color values ​​corresponding to multiple test screens displayed on the display screen under test. Each of the multiple test screens contains a white display object, and the test color value is the average color value of the white display object in the corresponding test screen in the RGB color space. A conversion unit is used to convert the test color values ​​corresponding to the plurality of test screens into tristimulus values ​​corresponding to the plurality of test screens respectively through the conversion matrix; The processing unit is configured to obtain the difference values ​​corresponding to the multiple test screens based on the tristimulus values ​​corresponding to the multiple test screens and the target tristimulus value, respectively. The determining unit is used to determine the degree of color error of the display screen under test based on the difference values ​​corresponding to the multiple test screens.

11. An electronic device, characterized in that, include: A memory and a processor, the memory being used to store a computer program and the processor being used to cause the electronic device to implement the test method for the display screen according to any one of claims 1-9 when executing the computer program.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a computing device, causes the computing device to implement the testing method for the display screen according to any one of claims 1-9.

13. A computer program product, characterized in that, When the computer program product is run on a computer, the computer enables the computer to implement the test method for the display screen according to any one of claims 1-9.