CN-122016258-A - Screen color uniformity detection method, system, equipment and storage medium
Abstract
The invention relates to the technical field of screen detection and discloses a method, a system, equipment and a storage medium for detecting the color uniformity of a screen, wherein the method comprises the steps of driving the screen to be detected to display a test picture; the method comprises the steps of pre-illuminating a screen to be tested, scanning a test picture to obtain a sample image, determining image acquisition parameters based on the sample image, acquiring multi-frame images of the test picture based on the image acquisition parameters and optimizing the multi-frame images to obtain a screen color reference image, and carrying out full-area color uniformity quantitative analysis based on the screen color reference image to obtain a color uniformity detection result. The invention ensures the quality of detection input from the source, solves the environmental interference, obtains the color uniformity detection result through the full-area color uniformity quantitative analysis, realizes the full-area character color analysis of the screen, avoids the missing detection of local color defects, ensures the detection result to have objective and accurate characteristics through the quantitative analysis, replaces manual operation through the whole-process automatic algorithm analysis, and improves the detection efficiency.
Inventors
- WANG JIANMING
- YE ERSHUAI
- HU JIANGBO
- CHEN JUN
- CHEN CHUNMING
- CHENG LIHUI
- GUAN YADONG
Assignees
- 龙旗电子(惠州)有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260331
Claims (10)
- 1. A method for detecting uniformity of screen color, the method comprising: driving a screen to be tested to display a test picture; pre-illuminating the screen to be tested, and scanning the test picture to obtain a plurality of sample images; determining an image acquisition parameter based on the plurality of sample images; acquiring multi-frame images of the test picture based on the image acquisition parameters and optimizing the multi-frame images to obtain a screen color reference image; and carrying out full-area color uniformity quantitative analysis based on the screen color reference image to obtain a color uniformity detection result of the screen to be detected.
- 2. The method of claim 1, wherein after the capturing the multi-frame image of the test frame based on the image capturing parameters and optimizing to obtain the screen color reference image, the method further comprises: judging whether the screen to be tested is a plane or not; and correcting the screen color reference image when the screen to be detected is non-planar.
- 3. The method of claim 2, wherein the determining whether the screen to be tested is planar comprises: Performing edge detection on the screen color reference image, and extracting a screen boundary contour; Judging whether the screen to be tested has a curved surface radian or an inclination angle or not based on the geometric characteristics of the screen boundary outline; When the screen to be tested has a curved surface radian or an inclination angle, determining that the screen to be tested is non-planar; and when the screen to be tested does not have the curved surface radian and the inclination angle, determining that the screen to be tested is a plane.
- 4. The method of claim 2, wherein correcting the screen color reference image when the screen to be measured is non-planar comprises: When the screen to be detected is non-planar, acquiring a preset distortion correction parameter corresponding to the screen to be detected; For each pixel in the screen color reference image, correcting the coordinates of the pixel based on the preset distortion correction parameters to obtain corrected pixel coordinates; And interpolating all corrected pixel coordinates, and integrating to obtain corrected screen color reference images.
- 5. The method according to claim 1, wherein the performing the full-area color uniformity quantization analysis based on the screen color reference image to obtain the color uniformity detection result of the screen to be detected includes: Identifying an effective display area in the screen color reference image and dividing the effective display area into a plurality of sub-areas; converting the effective display area into a uniform chromaticity space to obtain a color characteristic value of each pixel in the effective display area; For each subarea, calculating the average value of the color characteristic values of all pixels in the subarea as a regional color vector of the subarea; calculating the average value of the regional color vectors of all the subregions, and taking the average value as an overall color reference; and determining a color uniformity detection result of the screen to be detected based on the integral color reference and the regional color vector of each subregion.
- 6. The method of claim 5, wherein determining the color uniformity test result for the screen under test based on the global color reference and the area color vector for each sub-area comprises: calculating a color difference between each region color vector and the global color reference; When the color differences corresponding to the color vectors of all the areas are smaller than a preset threshold value, determining that the color uniformity detection result of the screen to be detected is qualified; And when the color difference corresponding to the color vector of any area is not smaller than the preset threshold value, determining that the color uniformity detection result of the screen to be detected is unqualified.
- 7. The method of claim 1, wherein the determining an image acquisition parameter based on the plurality of sample images comprises: for each sample image, calculating an image quality evaluation index of the sample image; and acquiring image acquisition parameters corresponding to the sample image with the maximum image quality evaluation index.
- 8. A screen color uniformity detection system, the system comprising: The display driving module is used for driving the screen to be tested to display a test picture; the controllable lighting module is used for pre-lighting the screen to be tested; the image acquisition module is used for scanning the test picture to obtain a plurality of sample images, acquiring multi-frame images of the test picture based on the image acquisition parameters and optimizing the multi-frame images to obtain a screen color reference image; And the processing control module is used for determining image acquisition parameters based on the plurality of sample images, and carrying out full-area color uniformity quantitative analysis based on the screen color reference image to obtain a color uniformity detection result of the screen to be detected.
- 9. An electronic device, comprising: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the screen color uniformity detection method of any one of claims 1 to 7.
- 10. A computer-readable storage medium having stored thereon computer instructions for causing a computer to execute the screen color uniformity detection method according to any one of claims 1 to 7.
Description
Screen color uniformity detection method, system, equipment and storage medium Technical Field The invention relates to the technical field of screen detection, in particular to a method, a system, equipment and a storage medium for detecting screen color uniformity. Background In the quality detection of a screen module of a consumer electronic product (such as a mobile phone, a tablet and a watch), the detection of the uniformity of the color of the screen display is a key link. Current detection methods are typically either manual visual detection or automated measurement of single-point, small number of sample points using a luminance/colorimeter. However, the result of manual detection is affected by subjective factors such as personnel experience, fatigue and the like, lacks a unified and objective judgment standard, and has low detection efficiency. And the automatic detection can not comprehensively reflect the color distribution condition of the whole screen display area, and the omission is easy to occur. Meanwhile, the change of the ambient light on the production line and the reflection of light generated by glass or a coating on the surface of a screen can seriously interfere with the authenticity of color information acquired by a camera, so that the detection result is unstable. Disclosure of Invention The invention provides a method, a system, equipment and a storage medium for detecting screen color uniformity, which are used for solving the problems of poor accuracy and low efficiency of the existing method for detecting screen color uniformity. In a first aspect, the present invention provides a method for detecting uniformity of screen color, the method comprising: driving a screen to be tested to display a test picture; Pre-illuminating a screen to be tested, and scanning a test picture to obtain a plurality of sample images; Determining an image acquisition parameter based on the plurality of sample images; Acquiring and optimizing a multi-frame image of a test picture based on image acquisition parameters to obtain a screen color reference image; And carrying out full-area color uniformity quantitative analysis based on the screen color reference image to obtain a color uniformity detection result of the screen to be detected. According to the invention, the screen to be tested is driven to display the test picture, pre-illumination is carried out on the screen to be tested, and the test picture is scanned to obtain a plurality of sample images so as to truly reflect interference conditions such as site environment light, screen reflection and the like, so that the image acquisition parameters adapting to the current detection environment are determined through the plurality of sample images. The screen color reference image is acquired based on the image acquisition parameters, so that the quality of the detection input data is ensured from the source, and the problem of environmental interference is effectively solved. The full-area color uniformity quantitative analysis is carried out based on the screen color reference image, so that the color uniformity detection result of the screen to be detected is obtained, the full-area role color analysis of the screen is realized, the missing detection of local color defects is avoided, the detection result has objective and accurate characteristics through standardized quantitative analysis, meanwhile, manual operation is replaced by whole-process automatic algorithm analysis, the detection efficiency is greatly improved, and the method adapts to the mass detection requirement of an industrial production line. In an alternative embodiment, after acquiring and optimizing the multi-frame image of the test picture based on the image acquisition parameters to obtain the screen color reference image, the method further comprises: Judging whether the screen to be tested is a plane or not; and correcting the screen color reference image when the screen to be detected is non-planar. According to the method and the device, whether the screen to be detected is a plane or not is judged, so that correction is carried out when the screen to be detected is not a plane, the adaptability and the robustness of detection are improved, and the accuracy of subsequent analysis is ensured. In an alternative embodiment, determining whether the screen to be tested is planar includes: performing edge detection on the screen color reference image, and extracting a screen boundary contour; Judging whether a curved surface radian or an inclination angle exists on the screen to be tested or not based on the geometric characteristics of the boundary outline of the screen; when the curved surface radian or the inclination angle exists on the screen to be tested, determining that the screen to be tested is non-planar; And when the screen to be tested does not have the curved surface radian and the inclination angle, determining that the screen to be tested is a plane. A