Display screen full-screen uniformity test method and device and storage medium
Patent Information
- Application Number
- CN202411916274.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-03-18
AI Technical Summary
The prior art is difficult to effectively detect the brightness uniformity of the display screen, especially when displaying black screens, and the existing equipment costs are relatively high, making it difficult to meet the high standard requirements of the on-board display screen for brightness uniformity.
By using the camera parameters and conversion matrix during the determination of the screen test, a brightness map is generated based on the image conversion, and the brightness uniformity coefficient of the black picture is accurately calculated through the brightness map to determine whether the screen brightness uniformity is qualified.
It improves detection efficiency and accuracy, reduces equipment costs, and can more accurately judge the brightness uniformity of the display screen, meeting the high standards requirements of the on-board display screen.
Smart Images

Figure CN119643111A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display screen detection technology, and in particular to a display screen full-screen uniformity testing method, device and storage medium. Background Art
[0002] At present, more and more car companies have standard requirements for the brightness uniformity of vehicle-mounted displays, especially the uniformity of the black state (black screen display) of the display, so that drivers can better view the information on the vehicle-mounted display in dark environments such as tunnels. Therefore, when testing the display function of the display, it is necessary to test the average brightness, maximum and minimum brightness, and brightness uniformity of the display.
[0003] In the prior art, it is difficult to have a judgment standard based on the uniformity detected by human eyes, and the surface scanning brightness meter equipment on the market is expensive. Therefore, a solution for detecting the uniformity of a display screen that can reduce equipment costs and ensure detection accuracy is urgently needed.
[0004] This patented invention is used to detect the above characteristics of display screens, improve product shipment yield, detection efficiency, detection accuracy and reduce equipment costs. Summary of the invention
[0005] The technical problem to be solved by the embodiments of the present application is to detect the brightness uniformity of the display screen, improve the product shipment yield, detection efficiency, detection accuracy and reduce equipment costs. The purpose of the embodiments of the present invention is to provide a method for accurately and intuitively determining whether the screen brightness uniformity is qualified by utilizing the corresponding camera parameters and conversion matrix when determining the screen test, and generating a brightness map based on image conversion and accurately calculating the brightness uniformity coefficient of the black screen based on the brightness map, thereby improving the product shipment yield, detection efficiency, detection accuracy and reducing equipment costs.
[0006] A first aspect of the present invention provides a method for testing uniformity of a display screen in its entirety, the method comprising:
[0007] Light up a black screen on the display screen to be tested, and acquire a first image by collecting a screen image of the display screen to be tested with a camera;
[0008] Determine the number of pixels of the first image, the coordinates of each pixel and the RGB value corresponding thereto, and generate a first pixel matrix based on the number of pixels of the first image, the coordinates of each pixel and the RGB value corresponding thereto;
[0009] Determine a second pixel matrix according to the first pixel matrix and a preset color conversion matrix, and determine a brightness map corresponding to the first image according to the second pixel matrix;
[0010] The full-screen brightness uniformity coefficient of the display screen is determined according to the highest brightness and the lowest brightness in the brightness map.
[0011] Furthermore, the method further includes a camera debugging step before lighting up the black screen of the display screen to be tested; the camera debugging step includes:
[0012] The uniformly displayed bright spots of the good display screen are set to a black screen, and the camera exposure time ExposureTime and the gain coefficient Gain are adjusted so that the average grayscale value of the pixels of the black screen is within the second predetermined interval. At this time, the exposure time is determined to be ExposureTime_Black, and the gain coefficient is determined to be Gain_Black;
[0013] Set the camera according to the exposure time ExposureTime_Black and the gain coefficient Gain_Black, and let the monitor display 15 pictures from grayscale 0 to grayscale 14 in sequence. Use the camera and color analyzer to collect the RGB mean (mean_R, mean_G, mean_B) and CIE-XYZ value (X, Y, Z) of the image at the same area position in sequence to obtain the MatrixRGB matrix and MatrixXYZ matrix;
[0014] The least square method is used to solve the MatrixRGB matrix and the MatrixXYZ matrix to obtain the conversion matrix MatrixResult_Black; and the conversion matrix MatrixResult_Black is determined as the preset color conversion matrix.
[0015] Further, in the method, collecting the screen image of the display screen to be tested according to the camera includes: collecting the screen image of the display screen to be tested according to the camera after the exposure time ExposureTime_Black and the gain coefficient Gain_Black are set.
[0016] Further, the first pixel matrix is a matrix of N rows and 3 columns; N is the number of pixels of the first image; the 0th column, the 1st column, and the 2nd column of the first pixel matrix are respectively the R value, the G value, and the B value corresponding to each pixel;
[0017] The step of determining a second pixel matrix according to the first pixel matrix and a preset color conversion matrix; and determining a brightness map corresponding to the first image according to the second pixel matrix includes:
[0018] Multiplying the first pixel matrix by a preset color conversion matrix to obtain a second pixel matrix; the second pixel matrix is a matrix containing three CIE-XYZ values;
[0019] The pixel brightness values Y in the second pixel matrix are extracted and replaced with the RGB values of the first image to obtain a brightness image LuminanceImage.
[0020] Furthermore, the full-screen brightness uniformity coefficient Uniformity_Y of the display screen is expressed as:
[0021] Uniformity_Y=Min_Y / Max_Y.
[0022] The method further includes: if the brightness uniformity coefficient Uniformity_Y of the display screen is greater than a preset threshold, determining that the brightness uniformity of the display screen to be tested is qualified.
[0023] Furthermore, in the method, the camera debugging step further includes:
[0024] Obtain a uniformly displayed bright spot of a good display screen, and lay a white paper on the good display screen; the image of the white paper covers the entire camera viewing area;
[0025] Adjust the camera exposure time and gain intensity so that the grayscale value of the middle area of the image is within the first predetermined interval, and collect the debugging image;
[0026] Determine the pixel grayscale mean MeanGray of the debugging image, the grayscale value PixelsGray of each pixel, and the gain response coefficient array of each pixel; the gain response coefficient array K=MeanGray / PixelsGray;
[0027] According to the gain response coefficient array K, the camera and the color analyzer respectively collect images of the same area position in sequence and perform correction. Then, the RGB mean (mean_R, mean_G, mean_B) and CIE-XYZ value (X, Y, Z) of the collected images of the same area position are used to obtain the MatrixRGB matrix and the MatrixXYZ matrix.
[0028] In addition, a second aspect of the present invention provides a display screen full-screen uniformity test device, characterized in that the device includes a control and acquisition module, a generation module, a first determination module and a second determination module, wherein:
[0029] An acquisition module is used to light up a black screen on the display screen to be tested, and acquire a screen image of the display screen to be tested according to a camera to obtain a first image;
[0030] A generating module, configured to determine the number of pixels of the first image, the coordinates of each pixel and the RGB value corresponding thereto, and to generate a first pixel matrix based on the number of pixels of the first image, the coordinates of each pixel and the RGB value corresponding thereto;
[0031] A first determination module, configured to determine a second pixel matrix according to the first pixel matrix and a preset color conversion matrix, and determine a brightness map corresponding to the first image according to the second pixel matrix;
[0032] The second determination module is used to determine the full-screen brightness uniformity coefficient of the display screen according to the highest brightness and the lowest brightness in the brightness map.
[0033] Furthermore, the device further includes a camera debugging module; the camera debugging module is used to:
[0034] The uniformly displayed bright spots of the good display screen are set to a black screen, and the camera exposure time ExposureTime and the gain coefficient Gain are adjusted so that the average grayscale value of the pixels of the black screen is within the second predetermined interval. At this time, the exposure time is determined to be ExposureTime_Black, and the gain coefficient is determined to be Gain_Black;
[0035] Set the camera according to the exposure time ExposureTime_Black and the gain coefficient Gain_Black, and let the monitor display 15 pictures from grayscale 0 to grayscale 14 in sequence. Use the camera and color analyzer to collect the RGB mean (mean_R, mean_G, mean_B) and CIE-XYZ value (X, Y, Z) of the image at the same area position in sequence to obtain the MatrixRGB matrix and MatrixXYZ matrix;
[0036] The least square method is used to solve the MatrixRGB matrix and the MatrixXYZ matrix to obtain the conversion matrix MatrixResult_Black; and the conversion matrix MatrixResult_Black is determined as the preset color conversion matrix.
[0037] Further, the first pixel matrix is a matrix of N rows and 3 columns; N is the number of pixels of the first image; the 0th column, the 1st column, and the 2nd column of the first pixel matrix are respectively the R value, the G value, and the B value corresponding to each pixel;
[0038] The first determining module is further used for:
[0039] Multiplying the first pixel matrix by a preset color conversion matrix to obtain a second pixel matrix; the second pixel matrix is a matrix containing three CIE-XYZ values;
[0040] The pixel brightness values Y in the second pixel matrix are extracted and replaced with the RGB values of the first image to obtain a brightness image LuminanceImage.
[0041] In addition, the third aspect of the present invention provides a storage medium storing a computer program; the program is loaded and executed by a processor to implement the steps of the full-screen uniformity test method for a display screen as described in the first aspect above.
[0042] In the scheme of the present invention, a first image is obtained by lighting a black screen on the display screen to be tested, and collecting the screen image of the display screen to be tested by a camera; the number of pixels of the first image, the coordinates of each pixel and its corresponding RGB value are determined, and a first pixel matrix is generated based on the number of pixels of the first image, the coordinates of each pixel and its corresponding RGB value; a second pixel matrix is determined based on the first pixel matrix and a preset color conversion matrix, and a brightness map corresponding to the first image is determined based on the second pixel matrix; the full-screen brightness uniformity coefficient of the display screen is determined based on the highest brightness and the lowest brightness in the brightness map. Compared with the prior art, the embodiment of the present application has the following beneficial effects: by utilizing the corresponding camera parameters and conversion matrix when determining the screen test, and generating a brightness map based on image conversion and accurately calculating the brightness uniformity coefficient of the black screen based on the brightness map, it is possible to accurately and intuitively determine whether the screen brightness uniformity is qualified, thereby improving the product shipment yield, detection efficiency, detection accuracy and reducing equipment costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0044] Figure 1a , 1b It is a schematic diagram of the overall hardware structure of the device structure disclosed in the embodiment of the present invention;
[0045] Figure 2 (a) is the image before correction disclosed in the embodiment of the present invention; Figure 2 (b) is the corrected image disclosed in the embodiment of the present invention;
[0046] Figure 3 This is a picture with an average grayscale value of about 120 disclosed in an embodiment of the present invention;
[0047] Figure 4 It is a flow chart of a method for testing the uniformity of a display screen in its entirety disclosed in an embodiment of the present invention;
[0048] Figure 5 is a schematic diagram of an image display area of the present embodiment disclosed in an embodiment of the present invention;
[0049] Figure 6 It is a subjective schematic diagram of the brightness diagram disclosed in the embodiment of the present invention;
[0050] Figure 7 is a camouflage image corresponding to the brightness image disclosed in the embodiment of the present invention;
[0051] Figure 8 It is a schematic diagram of brightness analysis of a brightness graph disclosed in an embodiment of the present invention.
[0052] Description of the accompanying drawings in this embodiment:
[0053] High-resolution color industrial camera 1; lifting and rotating bracket 2; display screen lighting fixture 3; light-shielding bracket box 4; carrier 5; display screen 6; brightness meter 7. DETAILED DESCRIPTION
[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of this application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0055] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0056] It should be noted that the “plurality” mentioned in this article refers to two or more.
[0057] The implementation details of the technical solution of the embodiment of the present application are described in detail below:
[0058] The test equipment of this embodiment needs to perform the display screen uniformity test in a dark field environment to ensure that external light does not affect the test results and improve the test accuracy.
[0059] Please refer to Figure 1, which is a schematic diagram of the overall hardware structure of the device structure of this embodiment. In this embodiment, the device hardware structure.
[0060] The hardware platform consists of a high-resolution color industrial camera 1, a lifting and rotating bracket 2, a small probe-type color analyzer (not shown), a display lighting fixture 3, a shading bracket box 4, a carrier 5, a display screen 6, a brightness meter 7, an industrial computer (not shown), a power controller (not shown), a serial port control line (not shown), etc.
[0061] Among them, the color industrial camera is used to collect the screen image of the display screen. The color analyzer is used to collect and calibrate the brightness of the display screen. During the collection, the color analyzer rotates to the top of the display screen to collect brightness data, and then rotates back to the initial position after collection. The shading bracket box is used to shield the light to prevent the test process from being affected by external light. The power controller is used to control the fixture and the display screen to turn on and off. The serial port control line is used to control the display screen to switch between white and black images for testing. The industrial computer is used for image algorithm processing, data calculation and software operation.
[0062] This embodiment takes the calibration and testing of the uniformity of a black screen as an example, and the calibration and testing processes of other screens are similar.
[0063] In a first aspect of this embodiment, a method for testing the uniformity of a full-screen display screen is implemented.
[0064] Before performing specific tests, in this embodiment, a camera debugging step is required. The camera debugging step includes:
[0065] Furthermore, the method further includes a camera debugging step before lighting up the black screen of the display screen to be tested; the camera debugging step includes:
[0066] The uniformly displayed bright spots of the good display screen are set to a black screen, and the camera exposure time ExposureTime and the gain coefficient Gain are adjusted so that the average grayscale value of the pixels of the black screen is within the second predetermined interval. At this time, the exposure time is determined to be ExposureTime_Black, and the gain coefficient is determined to be Gain_Black;
[0067] Set the camera according to the exposure time ExposureTime_Black and the gain coefficient Gain_Black, and let the monitor display 15 pictures from grayscale 0 to grayscale 14 in sequence. Use the camera and color analyzer to collect the RGB mean (mean_R, mean_G, mean_B) and CIE-XYZ value (X, Y, Z) of the image at the same area position in sequence to obtain the MatrixRGB matrix and MatrixXYZ matrix;
[0068] The least square method is used to solve the MatrixRGB matrix and the MatrixXYZ matrix to obtain the conversion matrix MatrixResult_Black; and the conversion matrix MatrixResult_Black is determined as the preset color conversion matrix.
[0069] Furthermore, in the method, the camera debugging step further includes:
[0070] Obtain a uniformly displayed bright spot of a good display screen, and lay a white paper on the good display screen; the image of the white paper covers the entire camera viewing area;
[0071] Adjust the camera exposure time and gain intensity so that the grayscale value of the middle area of the image is within the first predetermined interval, and collect the debugging image;
[0072] Determine the pixel grayscale mean MeanGray of the debugging image, the grayscale value PixelsGray of each pixel, and the gain response coefficient array of each pixel; the gain response coefficient array K=MeanGray / PixelsGray;
[0073] According to the gain response coefficient array K, the camera and the color analyzer respectively collect images of the same area position in sequence and perform correction. Then, the RGB mean (mean_R, mean_G, mean_B) and CIE-XYZ value (X, Y, Z) of the collected images of the same area position are used to obtain the MatrixRGB matrix and the MatrixXYZ matrix.
[0074] Among them, after collecting 15 pictures from 0 grayscale to 14 grayscale, each pixel of each picture is multiplied by the corresponding gain response coefficient K to obtain the dark field corrected image, and the corrected image is then used for subsequent operations. That is, each picture collected by the camera must be multiplied by the gain response coefficient array K before other algorithm operations are performed.
[0075] Specifically, in this embodiment, the camera debugging may be:
[0076] ① Take the uniformly displayed OK product display and place it on the lighting fixture to highlight the bright spot, and adjust the camera height and focus to make the image clear;
[0077] ② Lay a piece of white paper on the display screen so that the image of the white paper covers the entire camera field of view. Adjust the camera exposure time and gain intensity so that the grayscale value in the middle of the image is between 150 and 200. Calculate the grayscale mean MeanGray of the image and the grayscale value PixelsGray of each pixel, and then calculate the gain response coefficient array K = MeanGray / PixelsGray of each pixel.
[0078] ③The array K can be used to correct the dark corner problem of the image caused by the camera itself. That is, each pixel of the image captured by the camera is multiplied by its own K value to compensate for the dark corner phenomenon of the camera image. Figure 2 As shown, Figure 2 (a) is the image before correction. Figure 2 (b) is the corrected image.
[0079] ④ Remove the white paper, make the display screen black, adjust the camera exposure time ExposureTime and gain coefficient Gain, make the average gray value of the black screen pixel around 50, then the exposure time is ExposureTime_Black, gain coefficient is Gain_Black. If the brightness of the tested screen is white, red, green and other high brightness screens, the exposure time and gain coefficient should be increased to make the average gray value of the screen around 120. Figure 3 The picture shown is a picture of this embodiment when the average gray value is about 120.
[0080] ⑤ Set the camera exposure and gain to the parameters ExposureTime_Black and Gain_Black required for the black screen test. The display displays 15 pictures from 0 grayscale to 14 grayscale in sequence. Use the camera and color analyzer to collect the RGB mean (mean_R, mean_G, mean_B) and CIE-XYZ values (X, Y, Z) of the same fixed area position in sequence, and obtain two sets of 15*3 matrices MatrixRGB and MatrixXYZ. Use the least squares method to solve the two matrices to obtain the conversion matrix MatrixResult_Black with 9 coefficients.
[0081] Among them, in the 15*3 MatrixRGB matrix and MatrixXYZ matrix, 15 represents that 15 pictures are collected for calibration, and 3 represents the RGB value or XYZ value of each picture.
[0082] Specifically, the least square method is used to solve the two matrices to obtain the conversion matrix MatrixResult_Black with 9 coefficients, which can be based on the following method:
[0083] Arrange the RGB of 15 images in sequence and integrate them into an array
[0084] tupleMatrixRGB=[R1,G1,B1,R2,G2,B2,……,R15,G15,B1,5]
[0085] * Arrange the XYZ of 15 images in sequence and integrate them into an array
[0086] tupleMatrixXYZ=[X1,Y1,Z1,X2,Y2,Z2,……,X15,Y15,Z15]
[0087] * Divide the array into a matrix of 15 rows and 3 columns
[0088] create_matrix(15,3,tupleMatrixRGB,MatrixRGB)
[0089] create_matrix(15,3,tupleMatrixXYZ,MatrixXYZ)
[0090] * Solve the two matrices using the least squares method to obtain the conversion relationship between the two matrices MatrixResultID_Black
[0091] solve_matrix(MatrixRGB,'general',0,MatrixXYZ,MatrixResultID_Black)
[0092] For further information, see Figure 4 , Figure 4 The present invention is a flowchart of a method for testing the uniformity of a full-screen display screen disclosed in an embodiment of the present invention.
[0093] like Figure 4 As shown, the method for testing the uniformity of a display screen in full screen according to an embodiment of the present invention includes:
[0094] S401, lighting up a black screen of the display screen to be tested, and acquiring a screen image of the display screen to be tested by a camera to obtain a first image.
[0095] Specifically, in this embodiment, the uniformity test of the black screen is performed by setting the exposure and gain of the camera to ExposureTime_Black and Gain_Black, lighting the black screen of the display screen to be tested, collecting images with the camera, and separating the image display area through algorithms such as noise reduction and threshold segmentation. Figure 5 The figure shows a schematic diagram of the image display area of this embodiment, wherein the red area is the image display area (i.e., the first image) of this embodiment, i.e., the AA area (display area).
[0096] Further, in the method, collecting the screen image of the display screen to be tested according to the camera includes: collecting the screen image of the display screen to be tested according to the camera after the exposure time ExposureTime_Black and the gain coefficient Gain_Black are set.
[0097] S402, determining the number of pixels of the first image, the coordinates of each pixel and the corresponding RGB value, and generating a first pixel matrix based on the number of pixels of the first image, the coordinates of each pixel and the corresponding RGB value.
[0098] Specifically, in this embodiment, the number of pixels N in the AA area is calculated, and the coordinates (x, y) and the corresponding RGB values (R, G, B) of each pixel in the AA area are read to generate a matrix of N rows and 3 columns (i.e., the first pixel matrix), in which the 0th, 1st, and 2nd columns are the R value, G value, and B value, respectively.
[0099] S403: Determine a second pixel matrix according to the first pixel matrix and a preset color conversion matrix, and determine a brightness map corresponding to the first image according to the second pixel matrix.
[0100] Further, the first pixel matrix is a matrix of N rows and 3 columns; N is the number of pixels of the first image; the 0th column, the 1st column, and the 2nd column of the first pixel matrix are respectively the R value, the G value, and the B value corresponding to each pixel;
[0101] The step of determining a second pixel matrix according to the first pixel matrix and a preset color conversion matrix; and determining a brightness map corresponding to the first image according to the second pixel matrix includes:
[0102] Multiplying the first pixel matrix by a preset color conversion matrix to obtain a second pixel matrix; the second pixel matrix is a matrix containing three CIE-XYZ values;
[0103] The pixel brightness values Y in the second pixel matrix are extracted and replaced with the RGB values of the first image to obtain a brightness image LuminanceImage.
[0104] Specifically, in this embodiment, the first pixel matrix is multiplied by the conversion matrix MatrixResult_White (or MatrixResult_Black) of the corresponding test screen to obtain a matrix containing three CIE-XYZ values (i.e., the second pixel matrix), and the Y value of the matrix column numbered 1 is extracted and filled to replace the RGB value of the AA area image to obtain the luminance image LuminanceImage. Figure 6 As shown in FIG. 1 , it is a subjective schematic diagram of the brightness diagram of this embodiment. Figure 6 is the brightness map after conversion.
[0105] S404: Determine a full-screen brightness uniformity coefficient of the display screen according to the highest brightness and the lowest brightness in the brightness map.
[0106] Furthermore, the full-screen brightness uniformity coefficient Uniformity_Y of the display screen is expressed as:
[0107] Uniformity_Y=Min_Y / Max_Y.
[0108] The method further includes: if the brightness uniformity coefficient Uniformity_Y of the display screen is greater than a preset threshold, determining that the brightness uniformity of the display screen to be tested is qualified.
[0109] Specifically, in this embodiment, the maximum brightness Max_Y, the minimum brightness Min_Y, the average brightness Mean_Y and the brightness uniformity Uniformity_Y in the brightness map may be calculated, and the calculation formula of the brightness uniformity is Uniformity_Y=Min_Y / Max_Y.
[0110] Finally, the brightness image of the black screen is converted into a camouflage image through an algorithm, such as Figure 7 The camouflage image corresponding to the brightness image of this example is shown, which is convenient for observing the brightness distribution of the display screen and also convenient for product process analysis. Figure 8 Schematic diagram of brightness analysis of the brightness graph in this embodiment. Figure 8 In the brightness diagram, the red circle is the location with the highest brightness, and the green circle is the location with the lowest brightness.
[0111] In summary, in this embodiment, a first image is obtained by lighting a black screen on the display screen to be tested, and collecting the screen image of the display screen to be tested by a camera; the number of pixels, the coordinates of each pixel and its corresponding RGB value of the first image are determined, and a first pixel matrix is generated based on the number of pixels, the coordinates of each pixel and its corresponding RGB value of the first image; a second pixel matrix is determined based on the first pixel matrix and a preset color conversion matrix, and a brightness map corresponding to the first image is determined based on the second pixel matrix; the full-screen brightness uniformity coefficient of the display screen is determined based on the highest brightness and the lowest brightness in the brightness map. Compared with the prior art, the embodiment of the present application has the following beneficial effects: by utilizing the corresponding camera parameters and conversion matrix when determining the screen test, and generating a brightness map based on image conversion and accurately calculating the brightness uniformity coefficient of the black screen based on the brightness map, it is possible to accurately and intuitively determine whether the screen brightness uniformity is qualified, thereby improving the product shipment yield, detection efficiency, detection accuracy and reducing equipment costs.
[0112] In addition, a second aspect of this embodiment provides a display screen full-screen uniformity test device, characterized in that the device includes a control and acquisition module, a generation module, a first determination module and a second determination module, wherein:
[0113] An acquisition module is used to light up a black screen on the display screen to be tested, and acquire a screen image of the display screen to be tested according to a camera to obtain a first image;
[0114] A generating module, configured to determine the number of pixels of the first image, the coordinates of each pixel and the RGB value corresponding thereto, and to generate a first pixel matrix based on the number of pixels of the first image, the coordinates of each pixel and the RGB value corresponding thereto;
[0115] A first determination module, configured to determine a second pixel matrix according to the first pixel matrix and a preset color conversion matrix, and determine a brightness map corresponding to the first image according to the second pixel matrix;
[0116] The second determination module is used to determine the full-screen brightness uniformity coefficient of the display screen according to the highest brightness and the lowest brightness in the brightness map.
[0117] Furthermore, the device further includes a camera debugging module; the camera debugging module is used to:
[0118] The uniformly displayed bright spots of the good display screen are set to a black screen, and the camera exposure time ExposureTime and the gain coefficient Gain are adjusted so that the average grayscale value of the pixels of the black screen is within the second predetermined interval. At this time, the exposure time is determined to be ExposureTime_Black, and the gain coefficient is determined to be Gain_Black;
[0119] The camera is set according to the exposure time ExposureTime_Black and the gain coefficient Gain_Black, and the RGB mean (mean_R, mean_G, mean_B) and CIE-XYZ value (X, Y, Z) of the image at the same area position are respectively collected by the camera and the color analyzer to obtain two sets of 4*3 matrices MatrixRGB and MatrixXYZ, and the least squares method is used to solve the two matrices to obtain the conversion matrix MatrixResult_Black; the conversion matrix MatrixResult_Black is determined as the preset color conversion matrix.
[0120] Further, the collecting the screen image of the display screen to be tested according to the camera includes: collecting the screen image of the display screen to be tested according to the camera after the exposure time ExposureTime_Black and the gain coefficient Gain_Black are set.
[0121] Further, the first pixel matrix is a matrix of N rows and 3 columns; N is the number of pixels of the first image; the 0th column, the 1st column, and the 2nd column of the first pixel matrix are respectively the R value, the G value, and the B value corresponding to each pixel;
[0122] The first determining module is further used for:
[0123] Multiplying the first pixel matrix by a preset color conversion matrix to obtain a second pixel matrix; the second pixel matrix is a matrix containing three CIE-XYZ values;
[0124] The pixel brightness values Y in the second pixel matrix are extracted and replaced with the RGB values of the first image to obtain a brightness image LuminanceImage.
[0125] The full-screen brightness uniformity coefficient Uniformity_Y of the display screen is expressed as:
[0126] Uniformity_Y=Min_Y / Max_Y.
[0127] The method further includes: if the brightness uniformity coefficient Uniformity_Y of the display screen is greater than a preset threshold, determining that the brightness uniformity of the display screen to be tested is qualified.
[0128] The camera debugging module is also used for:
[0129] Obtain a uniformly displayed bright spot of a good display screen, and lay a white paper on the good display screen; the image of the white paper covers the entire camera viewing area;
[0130] Adjust the camera exposure time and gain intensity so that the grayscale value of the middle area of the image is within the first predetermined interval, and collect the debugging image;
[0131] Determine the pixel grayscale mean MeanGray of the debugging image, the grayscale value PixelsGray of each pixel, and the gain response coefficient array of each pixel; the gain response coefficient array K=MeanGray / PixelsGray;
[0132] According to the gain response coefficient array K, the camera and the color analyzer respectively collect images of the same area position in sequence and perform correction. Then, the RGB mean (mean_R, mean_G, mean_B) and CIE-XYZ value (X, Y, Z) of the collected images of the same area position are used to obtain the MatrixRGB matrix and the MatrixXYZ matrix.
[0133] In addition, an embodiment of the present application also discloses an electronic device, which includes: one or more processors, and a memory, wherein the memory is used to store one or more computer programs; characterized in that the computer program is configured to be executed by the one or more processors, and the program includes steps for executing the full-screen uniformity test method of the display screen as described in the first aspect above.
[0134] In addition, an embodiment of the present application further provides a storage medium storing a computer program; the program is loaded and executed by a processor to implement the steps of the full-screen uniformity test method for a display screen as described in the first aspect above.
[0135] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0136] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.
[0137] The units described as separate components may or may not be physically separated. As a unit, it can be appreciated by those skilled in the art that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0138] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0139] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a grid device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0140] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for testing the uniformity of a display screen, characterized in that: The method comprises: Light up a black screen on the display screen to be tested, and acquire a first image by collecting a screen image of the display screen to be tested with a camera; Determine the number of pixels of the first image, the coordinates of each pixel and the RGB value corresponding thereto, and generate a first pixel matrix based on the number of pixels of the first image, the coordinates of each pixel and the RGB value corresponding thereto; Determine a second pixel matrix according to the first pixel matrix and a preset color conversion matrix, and determine a brightness map corresponding to the first image according to the second pixel matrix; The full-screen brightness uniformity coefficient of the display screen is determined according to the highest brightness and the lowest brightness in the brightness map.
2. The method for testing the uniformity of a display screen as claimed in claim 1, characterized in that: In the method, before lighting up the black screen of the display screen to be tested, a camera debugging step is also included; the camera debugging step includes: The uniformly displayed bright spots of the good display screen are set to a black screen, and the camera exposure time ExposureTime and the gain coefficient Gain are adjusted so that the average grayscale value of the pixels of the black screen is within the second predetermined interval. At this time, the exposure time is determined to be ExposureTime_Black, and the gain coefficient is determined to be Gain_Black; Set the camera according to the exposure time ExposureTime_Black and the gain coefficient Gain_Black, and let the monitor display 15 pictures from grayscale 0 to grayscale 14 in sequence. Use the camera and color analyzer to collect the RGB mean (mean_R, mean_G, mean_B) and CIE-XYZ value (X, Y, Z) of the image at the same area position in sequence to obtain the MatrixRGB matrix and MatrixXYZ matrix; The least square method is used to solve the MatrixRGB matrix and the MatrixXYZ matrix to obtain the conversion matrix MatrixResult_Black; and the conversion matrix MatrixResult_Black is determined as the preset color conversion matrix.
3. The method for testing the uniformity of a display screen as claimed in claim 2, characterized in that: In the method, collecting the screen image of the display screen to be tested according to the camera includes: collecting the screen image of the display screen to be tested according to the camera after the exposure time ExposureTime_Black and the gain coefficient Gain_Black are set.
4. The method for testing the uniformity of a display screen as claimed in claim 3, characterized in that: The first pixel matrix is a matrix with N rows and 3 columns; N is the number of pixels of the first image; The 0th column, the 1st column, and the 2nd column of the first pixel matrix are the R value, the G value, and the B value corresponding to each pixel respectively; determining a second pixel matrix according to the first pixel matrix and a preset color conversion matrix; Determining a brightness map corresponding to the first image according to the second pixel matrix includes: Multiplying the first pixel matrix by a preset color conversion matrix to obtain a second pixel matrix; the second pixel matrix is a matrix containing three CIE-XYZ values; The pixel brightness values Y in the second pixel matrix are extracted and replaced with the RGB values of the first image to obtain a brightness image LuminanceImage.
5. The method for testing the uniformity of a display screen as claimed in claim 4, characterized in that: The full-screen brightness uniformity coefficient Uniformity_Y of the display screen is expressed as: Uniformity_Y = Min_Y / Max_Y; The method further includes: if the brightness uniformity coefficient Uniformity_Y of the display screen is greater than a preset threshold, determining that the brightness uniformity of the display screen to be tested is qualified.
6. The method for testing the uniformity of a display screen as claimed in claim 5, characterized in that: In the method, the camera debugging step further includes: Obtain a uniformly displayed bright spot of a good display screen, and lay a white paper on the good display screen; the image of the white paper covers the entire camera viewing area; Adjust the camera exposure time and gain intensity so that the grayscale value of the middle area of the image is within the first predetermined interval, and collect the debugging image; Determine the pixel grayscale mean MeanGray of the debugging image, the grayscale value PixelsGray of each pixel, and the gain response coefficient array of each pixel; the gain response coefficient array K=MeanGray / PixelsGray; According to the gain response coefficient array K, the camera and the color analyzer respectively collect images of the same area position in sequence and perform correction. Then, the RGB mean (mean_R, mean_G, mean_B) and CIE-XYZ value (X, Y, Z) of the collected images of the same area position are used to obtain the MatrixRGB matrix and the MatrixXYZ matrix.
7. A display screen full screen uniformity test device, characterized in that: The device includes a control and acquisition module, a generation module, a first determination module and a second determination module, wherein: An acquisition module is used to light up a black screen on the display screen to be tested, and acquire a screen image of the display screen to be tested according to a camera to obtain a first image; A generating module, configured to determine the number of pixels of the first image, the coordinates of each pixel and the RGB value corresponding thereto, and to generate a first pixel matrix based on the number of pixels of the first image, the coordinates of each pixel and the RGB value corresponding thereto; A first determination module, configured to determine a second pixel matrix according to the first pixel matrix and a preset color conversion matrix, and determine a brightness map corresponding to the first image according to the second pixel matrix; The second determination module is used to determine the full-screen brightness uniformity coefficient of the display screen according to the highest brightness and the lowest brightness in the brightness map.
8. The display screen full screen uniformity testing device according to claim 7, characterized in that: The device further includes a camera debugging module; the camera debugging module is used to: The uniformly displayed bright spots of the good display screen are set to a black screen, and the camera exposure time ExposureTime and the gain coefficient Gain are adjusted so that the average grayscale value of the pixels of the black screen is within the second predetermined interval. At this time, the exposure time is determined to be ExposureTime_Black, and the gain coefficient is determined to be Gain_Black; Set the camera according to the exposure time ExposureTime_Black and the gain coefficient Gain_Black, and let the monitor display 15 pictures from grayscale 0 to grayscale 14 in sequence. Use the camera and color analyzer to collect the RGB mean (mean_R, mean_G, mean_B) and CIE-XYZ value (X, Y, Z) of the image at the same area position in sequence to obtain the MatrixRGB matrix and MatrixXYZ matrix; The least square method is used to solve the MatrixRGB matrix and the MatrixXYZ matrix to obtain the conversion matrix MatrixResult_Black; and the conversion matrix MatrixResult_Black is determined as the preset color conversion matrix.
9. The display screen full screen uniformity testing device according to claim 8, characterized in that: The first pixel matrix is a matrix with N rows and 3 columns; N is the number of pixels of the first image; The 0th column, the 1st column, and the 2nd column of the first pixel matrix are the R value, the G value, and the B value corresponding to each pixel respectively; The first determining module is further used for: Multiplying the first pixel matrix by a preset color conversion matrix to obtain a second pixel matrix; the second pixel matrix is a matrix containing three CIE-XYZ values; The pixel brightness values Y in the second pixel matrix are extracted and replaced with the RGB values of the first image to obtain a brightness image LuminanceImage.
10. A storage medium storing a computer program; the program is loaded and executed by a processor to implement the steps of the full-screen uniformity test method for a display screen as described in any one of claims 1 to 6.
Citation Information
Cited By
Method, system and equipment for testing brightness uniformity of liquid crystal screen and medium
CN121499015A