Screen detection method, screen detection device and storage medium

By calculating the overlap between the actual color gamut of the screen and the standard color gamut, the problems of low detection efficiency and high cost in the existing technology are solved, and the rapid and economical detection of screen color expressiveness is achieved.

CN119223588APending Publication Date: 2024-12-31BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310799288.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In the prior art, the detection of screen color expression requires expensive professional hardware equipment and manual operation, resulting in low detection efficiency and high cost, and automation cannot be achieved.

Method used

By obtaining the actual color coordinates of the three primary color images actually displayed on the screen and combining them with the predefined standard color coordinates, the overlap between the actual color gamut and the standard color gamut is calculated to determine the color expression of the screen. The ordinary color analyzer is used to use a normal color analyzer Computing with the processor avoids dependence on professional equipment.

Benefits of technology

It realizes objective and rapid detection of screen color expression, reduces detection costs, improves detection efficiency, and gets rid of the dependence on expensive equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119223588A_ABST
    Figure CN119223588A_ABST
Patent Text Reader

Abstract

The invention relates to a screen detection method, a screen detection device and a storage medium. The screen detection method comprises the steps that actual color coordinates when a screen actually displays three-primary-color images are obtained, the actual color coordinates corresponding to every two images in the three-primary-color images are combined, an actual color coordinate set is obtained, and the three-primary-color images comprise a red image, a green image and a blue image. Based on the actual color coordinate set and the standard color coordinate set, the color expressive force of the screen is determined, and the color expressive force represents the coincidence degree between the actual color gamut and the standard color gamut of the screen. The standard color coordinate group is a combination of standard color coordinates corresponding to every two images in the three-primary-color images displayed by the screen, and the standard color coordinates are predefined color coordinates. According to the method and the device, when the screen is detected, dependence on expensive special color testing equipment is eliminated, and high efficiency of objective testing on the display effect of the screen is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of screen detection, and in particular to a screen detection method, a screen detection device and a storage medium. Background Art

[0002] In the field of electronic screen testing, the degree of overlap between the actual color gamut of the screen and the corresponding standard color gamut, that is, the color expression of the screen, is an important indicator for measuring the quality of the screen and the display effect.

[0003] In the related technology, inspectors need to manually inspect the color expression of the screen through expensive hardware equipment such as professional color spectrometers. Professional hardware equipment is relatively expensive and requires specialized inspectors to operate. Automated inspection cannot be achieved, and the screen inspection efficiency is low. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a screen detection method, a screen detection device and a storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a screen detection method is provided, comprising: obtaining actual color coordinates when a screen actually displays a three-primary color image, and combining the actual color coordinates corresponding to two images in the three-primary color image to obtain an actual color coordinate group, wherein the three-primary color image includes a red image, a green image, and a blue image; based on the actual color coordinate group and the standard color coordinate group, determining the color expression of the screen, the color expression characterizing the degree of overlap between the actual color gamut of the screen and the standard color gamut; the standard color coordinate group is a combination of standard color coordinates corresponding to two images in the three-primary color image displayed on the screen, and the standard color coordinates are predefined color coordinates.

[0006] In one embodiment, determining the color expression of the screen based on the actual color coordinate group and the standard color coordinate group includes: drawing a first line between two actual color coordinates in each combination in the actual color coordinate group, and determining the area enclosed by the first line as a first area, the first area corresponding to the actual color gamut of the screen; drawing a second line between two standard color coordinates in each combination in the standard color coordinate group, and determining the area enclosed by the second line as a second area, the second area corresponding to the standard color gamut of the screen; determining the overlapping area between the first area and the second area; and determining the color expression of the screen based on the degree of overlap between the overlapping area and the second area.

[0007] In one embodiment, determining the overlapping area of ​​the first area and the second area includes: determining the coordinates of the intersections between the straight lines on which each connecting line encircling the first area is located and the straight lines on which each connecting line encircling the second area is located; determining a set of target coordinates in the first area and the second area, the target coordinate set including the intersection coordinates, actual color coordinates, and standard color coordinates in the first area and in the second area; and determining the overlapping area based on the target coordinate set.

[0008] In one embodiment, determining the overlapping area based on the target coordinate set includes: arranging the coordinates included in the target coordinate set in order or in reverse order, connecting two adjacent coordinates by a third line, and determining the area enclosed by the third line as the overlapping area. In one embodiment, determining the color expression of the screen based on the difference between the overlapping area and the second area includes: determining the area of ​​the overlapping area and determining the area of ​​the second area; determining the ratio between the area of ​​the overlapping area and the area of ​​the second area as the degree of overlap between the overlapping area and the second area, and determining the color expression of the screen based on the degree of overlap.

[0009] According to a second aspect of an embodiment of the present disclosure, a screen detection device is provided, comprising: an acquisition unit, used to acquire actual color coordinates when the screen actually displays a three-primary color image, and combine the actual color coordinates corresponding to any two images in the three-primary color image to obtain an actual color coordinate group, wherein the three-primary color image includes a red image, a green image, and a blue image; a determination unit, used to determine the color expression of the screen based on the actual color coordinate group and the standard color coordinate group, wherein the color expression characterizes the degree of overlap between the actual color gamut of the screen and the standard color gamut; the standard color coordinate group is a combination of standard color coordinates corresponding to any two images in the three-primary color image displayed on the screen, and the standard color coordinates are predefined color coordinates.

[0010] In one embodiment, the determination unit determines the color expression of the screen based on the actual color coordinate group and the standard color coordinate group in the following manner: a first line is drawn between two actual color coordinates in each combination in the actual color coordinate group, and an area enclosed by the first line is determined as a first area, and the first area corresponds to the actual color gamut of the screen; a second line is drawn between two standard color coordinates in each combination in the standard color coordinate group, and an area enclosed by the second line is determined as a second area, and the second area corresponds to the standard color gamut corresponding to the screen; an overlapping area between the first area and the second area is determined; and the color expression of the screen is determined based on the degree of overlap between the overlapping area and the second area.

[0011] In one embodiment, the determination unit determines the overlapping area of ​​the first area and the second area in the following manner: determine the coordinates of the intersection between the straight lines on which each connecting line encircling the first area is located and the straight lines on which each connecting line encircling the second area is located; determine a set of target coordinates in the first area and the second area, the target coordinate set including the intersection coordinates, actual color coordinates and standard color coordinates in the first area and in the second area; and determine the overlapping area based on the target coordinate set.

[0012] In one embodiment, the determination unit determines the overlapping area based on the target coordinate set in the following manner: after arranging the coordinates included in the target coordinate set in sequential order or reverse order, a third line is connected between any two adjacent coordinates, and the area enclosed by the third line is determined as the overlapping area.

[0013] In one embodiment, the determination unit determines the color expression of the screen based on the difference between the overlapping area and the second area in the following manner: determine the area of ​​the overlapping area and determine the area of ​​the second area; determine the ratio between the area of ​​the overlapping area and the area of ​​the second area as the degree of overlap between the overlapping area and the second area, and determine the color expression of the screen based on the degree of overlap.

[0014] According to a third aspect of an embodiment of the present disclosure, a screen detection device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to: execute the screen detection method described in the first aspect or any one of the implementations of the first aspect.

[0015] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the screen detection method described in the first aspect or any one of the implementations of the first aspect.

[0016] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: obtaining the actual color coordinates when the screen actually displays the three primary colors of red, green, and blue, combining the actual color coordinates in pairs to obtain an actual color coordinate group, and obtaining the standard color coordinates and the standard color coordinate group of the screen. Based on the actual color coordinate group and the standard color coordinate group, the color expression that characterizes the degree of overlap between the actual color gamut of the screen and the standard color gamut is determined. Through the present disclosure, when testing the quality of the screen, the reliance on expensive special color testing equipment is eliminated, ensuring high efficiency in objectively testing the screen display effect.

[0017] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0019] Figure 1 The figure is a flow chart of a screen detection method according to an exemplary embodiment.

[0020] Figure 2 The invention is a flow chart showing a method for determining the color expression of a screen based on an actual color coordinate group and a standard color coordinate group according to an exemplary embodiment.

[0021] Figure 3A and Figure 3B It is a schematic diagram showing actual color coordinates and standard color coordinates in a coordinate space according to an exemplary embodiment.

[0022] Figure 4 The invention is a flowchart showing a method for determining an overlapping area based on a first area and a second area according to an exemplary embodiment.

[0023] Figure 5 The figure is a schematic diagram showing the determined intersection coordinates according to an exemplary embodiment.

[0024] FIG. 6A to FIG. 6B The diagram is a schematic diagram showing a method for determining whether the coordinates of an intersection point are inside a triangle according to an exemplary embodiment.

[0025] Figure 7 The diagram is a schematic diagram showing a method for determining an overlap area based on a target coordinate set according to an exemplary embodiment.

[0026] FIG. 8A to FIG. 8B is a schematic diagram showing an overlap area according to an exemplary embodiment.

[0027] Fig. 9 The invention is a flowchart showing a method for determining an overlapped area based on a target coordinate set according to an exemplary embodiment.

[0028] Fig.10 The invention is a flowchart showing a method for determining the color expression of a screen based on the difference between an overlapped area and a second area according to an exemplary embodiment.

[0029] Fig.11 The figure is a schematic diagram of an application scenario of a screen detection method according to an exemplary embodiment.

[0030] Fig.12 A block diagram of a screen detection method is shown according to an exemplary embodiment.

[0031] Fig.13 A block diagram of a screen detection device is shown according to an exemplary embodiment.

[0032] Fig.14 A block diagram of a device for screen detection is shown according to an exemplary embodiment. DETAILED DESCRIPTION

[0033] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.

[0034] The screen detection method provided by the embodiment of the present disclosure is applied to the scenario of testing the display effect of the screen.

[0035] At present, the performance of various electronic devices is improving day by day, and users have higher and higher requirements for the color performance of electronic device screens, which makes various electronic device manufacturers invest more and more in improving the color performance of screens. Due to the need to compare with competitors and the need to position their own products, manufacturers need to frequently test the screens of their own electronic devices, and also need to frequently test the screens of competitors.

[0036] In the field of screen display of electronic devices, the color expression of the screen is an important indicator to measure the quality of the screen and the display effect. Manufacturers need to test the color expression of the electronic device screen to judge the screen quality and display effect. However, the current test of screen color expression requires testers to perform manual tests using expensive hardware equipment such as professional color spectrometers. The test data obtained needs to be manually processed and analyzed before the final test results can be obtained, and professional testing equipment cannot measure multiple display devices at the same time. Due to the reliance on professional testing equipment and the limitation of manual testing, the testing cost is high, automated testing cannot be achieved, and the testing efficiency is low.

[0037] Based on this, the present invention discloses a screen detection method, which obtains the actual color coordinates of the screen and determines the standard color coordinates of the screen. The color expression that characterizes the degree of overlap between the actual color gamut of the screen and the standard color gamut is determined based on the actual color coordinates and the standard color coordinates, thereby judging the display effect and screen quality of the screen, replacing hardware testing tools such as professional color analyzers, improving the detection efficiency of the screen, and reducing the detection cost.

[0038] Figure 1FIG. 1 is a flow chart of a screen detection method according to an exemplary embodiment. Figure 1 As shown, the method includes step S101 to step S102.

[0039] In step S101, the actual color coordinates when the screen actually displays the three-primary color image are obtained, and the actual color coordinates corresponding to each two images in the three-primary color image are combined to obtain an actual color coordinate group.

[0040] Among them, the three primary color images include a red image, a green image and a blue image.

[0041] In step S102 , the color expression of the screen is determined based on the actual color coordinate group and the standard color coordinate group.

[0042] Among them, color expression represents the degree of overlap between the actual color gamut of the screen and the standard color gamut.

[0043] The standard color coordinate group is a combination of standard color coordinates corresponding to two images in the three primary color images displayed on the screen, and the standard color coordinates are predefined color coordinates.

[0044] In the disclosed embodiment, the color coordinate values ​​of the screen to be tested obtained by a common color analyzer under the red, green and blue images are the actual color coordinates of the screen to be tested. Different display screens have different display standards (such as sRGB, Adoble RGB, DCI-P3), and different display standards correspond to different standard color coordinates, and the standard color coordinates are fixed values ​​[such as sRGB, the corresponding color coordinates are red (0.64, 0.33) green (0.30, 0.60) blue (0.15, 0.06)]. Therefore, when determining the standard color coordinates of the screen, the display standard of the screen can be determined, and the standard color coordinates of the screen to be tested can be determined based on the correspondence between the display standard and the standard color coordinates.

[0045] It can be understood that the actual color coordinates and standard color coordinates in the present disclosure correspond to the actual color gamut and standard color gamut of the screen respectively. The degree of overlap between the actual color gamut and the standard color gamut of the screen to be tested, that is, the color expression of the display screen, can be determined by calculation based on the actual color coordinates and the standard color coordinates through a computing device.

[0046] In the disclosed embodiment, the actual color coordinates of the screen to be tested are obtained, the standard color coordinates of the screen are determined, and the corresponding actual color coordinate group and standard color coordinate group are determined. The color expression of the screen is determined based on the actual color coordinate group and the standard color coordinate group, so as to judge the display effect and screen quality of the screen, avoiding the use of hardware testing tools such as professional color analyzers to detect the color expression of the screen, improving the detection efficiency of the detection screen, and reducing the detection cost.

[0047] In the embodiments of the present disclosure, the standard color coordinates and the actual color coordinates correspond to different areas in the coordinate space. Based on the area corresponding to the standard color coordinates in the coordinate space and the area corresponding to the actual color coordinates in the coordinate space, the color expression of the display screen can be determined. The following embodiments of the present disclosure illustrate the method for determining the color expression of the screen.

[0048] Figure 2 FIG. 1 is a flow chart showing a method for determining the color expression of a screen based on an actual color coordinate group and a standard color coordinate group according to an exemplary embodiment. Figure 2 As shown, the method includes steps S201 to S204.

[0049] In step S201 , a first connection line is drawn between two actual color coordinates in each combination of the actual color coordinate group, and an area enclosed by the first connection line is determined as a first area.

[0050] The first area corresponds to the actual color gamut of the screen.

[0051] In an exemplary embodiment of the present disclosure, Figure 3A As shown in the schematic diagram of the actual color coordinates in the coordinate space, the actual color coordinates include A1 (X1, Y1), B1 (X2, Y2) and C1 (X3, Y3). Multiple actual color coordinates are grouped in pairs, and the connecting lines L1, L2 and L3 between each two color coordinates are obtained respectively. The area enclosed by the connecting lines L1, L2 and L3 is the first area G1.

[0052] In step S202, a second connecting line is drawn between two standard color coordinates in each combination of the standard color coordinate group, and an area enclosed by the second connecting line is determined as a second area.

[0053] Among them, the second area corresponds to the standard color gamut corresponding to the screen.

[0054] In an exemplary embodiment of the present disclosure, Figure 3B As shown in the schematic diagram of the standard color coordinates in the coordinate space, the standard color coordinates include A2 (X11, Y11), B2 (X22, Y22) and C2 (X33, Y33). Multiple actual color coordinates are grouped in pairs, and the connecting lines L4, L5 and L6 between each two color coordinates are obtained respectively. The area enclosed by the connecting lines L4, L5 and L6 is the second area G2.

[0055] In step S203, an overlapping area between the first area and the second area is determined.

[0056] In step S204, the color expression of the screen is determined based on the degree of overlap between the overlap area and the second area.

[0057] In the embodiment of the present disclosure, the overlap area between the first area and the second area represents the area occupied by the actual color gamut of the screen in the standard color gamut. The overlap degree between the overlap area and the second area represents the overlap degree between the actual color gamut and the standard color gamut.

[0058] In the disclosed embodiment, the corresponding area corresponding to the actual color gamut and the area corresponding to the standard color gamut are determined respectively by the actual color coordinates and the standard color coordinates, and the color expression of the screen is determined by determining the overlap area between the area corresponding to the actual color gamut and the area corresponding to the standard color gamut, and determining the proportion of the overlap area in the area corresponding to the standard color gamut. The above calculation process can be completed through a terminal such as a notebook, avoiding the low detection efficiency and high detection cost caused by manually operating professional equipment to determine the color expression of the screen, reducing the detection cost and improving the detection efficiency.

[0059] In the embodiment of the present disclosure, the computing device needs to perform computing through a preset algorithm to obtain coordinate points corresponding to the overlapped area, and determine that the area surrounded by the coordinate points is the overlapped area. The following embodiment of the present disclosure describes the method for determining the overlapped area.

[0060] Figure 4 FIG. 1 is a flow chart showing a method for determining an overlapping area based on a first area and a second area according to an exemplary embodiment. Figure 4 As shown, the method includes steps S301 to S303.

[0061] In step S301, the coordinates of the intersections between the straight line where each connecting line enclosing the first area is located and the straight line where each connecting line enclosing the second area is located are determined.

[0062] In step S302 , a set of target coordinates is determined in the first area and the second area.

[0063] The target coordinate set includes the intersection coordinates in the first area and in the second area, the actual color coordinates and the standard color coordinates.

[0064] In step S303, the overlapping area is determined based on the target coordinate set.

[0065] In an exemplary embodiment of the present disclosure, a computing terminal determines the coordinates of the intersections between the straight lines where each connecting line enclosing the first area is located and the straight lines where each connecting line enclosing the second area is located based on a preset algorithm. The method includes the following steps:

[0066] Based on the coordinate values ​​corresponding to each connecting line, determine the slope-intercept equation y=kx+b corresponding to the connecting line, where k is the slope of the equation and b is a constant. Based on the slope-intercept equations of the two straight lines that enclose the first region and the second region respectively, the following simultaneous equations are obtained:

[0067]

[0068] Solve for slopes k1 and k2:

[0069]

[0070] Then, we can get the constants b1 and b2 by taking any point on the line, and we have obtained two straight lines. By solving the system of simultaneous equations, we can solve the horizontal coordinate x as:

[0071]

[0072] Take the connecting line L1 and substitute x into it to get the ordinate y. Finally, consider the special case. If a line is horizontal and the slope is 0, the ordinate of the intersection point is directly taken from the ordinate of any point on the horizontal line; if a line is vertical and the slope does not exist, the abscissa of the intersection point is directly taken from the abscissa of any point on the vertical line; if the two lines are parallel, there is no intersection.

[0073] The straight lines where each connecting line enclosing the first area is located are exhaustively combined with the straight lines where each connecting line enclosing the second area is located, and the coordinates of all intersections between the straight lines where each connecting line enclosing the first area is located and each connecting line enclosing the second area are determined.

[0074] In an exemplary embodiment of the present disclosure, Figure 5 As shown in the schematic diagram of the determined intersection coordinates, the intersection points between the straight line where each connecting line enclosing the first area is located and each connecting line enclosing the second area include P1-P9.

[0075] In an exemplary embodiment of the present disclosure, the equivalent area method is used to determine the set of points in the intersection coordinates, actual color coordinates, and standard color coordinates that are in the corresponding area of ​​the standard color gamut and in the corresponding area of ​​the actual color gamut. Fig. 6A and Figure 6B As shown in the schematic diagram of the method for determining whether the intersection coordinates are inside the region, the intersection coordinates P are determined to be inside the triangular region ABC by the equivalent area method. After determining the intersection coordinates P, the areas of triangles ABC, PAB, PBC, and PAC are determined respectively. If the sum of the areas of triangles PAB, PBC, and PAC is equal to the area of ​​triangle ABC, it indicates that the intersection coordinates P are inside the triangular region ABC, otherwise the intersection coordinates P are outside the triangular region ABC.

[0076] It can be understood that in the present disclosure, points within the triangular area ABC also include points on the straight line constituting the triangular area ABC.

[0077] In an exemplary embodiment of the present disclosure, Figure 7As shown in the schematic diagram of the method for determining the overlapping area based on the target coordinate set, the set of points that are in the corresponding area of ​​the standard color gamut and in the corresponding area of ​​the actual color gamut are determined by the equivalent area method to be (P2, P3, P5, P6, P8, P9).

[0078] In the embodiment of the present disclosure, the overlap form of the area corresponding to the standard color gamut and the area corresponding to the actual color gamut is not limited to the form described in the above exemplary embodiment, and also includes the following: Fig. 8A and Figure 8B The partially nested form and the fully nested form are shown in the schematic diagram of the overlapped area.

[0079] In the embodiment of the present disclosure, the computing terminal determines the coordinates of the intersection points corresponding to the overlapped area and being in the area corresponding to the standard color gamut and the area corresponding to the actual color gamut based on a preset algorithm.

[0080] In the embodiment of the present disclosure, after obtaining the intersection coordinates of the area corresponding to the standard color gamut and the area corresponding to the actual color gamut, the computing terminal needs to sort the intersection coordinates based on a specific order, and then determine the overlap area based on the sorted intersection coordinates. The following embodiment of the present disclosure describes a method for determining the overlap area based on a target coordinate set.

[0081] Fig. 9 FIG. 1 is a flow chart showing a method for determining an overlap area based on a target coordinate set according to an exemplary embodiment. Fig. 9 As shown, the method includes step S401 to step S402.

[0082] In step S401 , a set of target coordinates is determined in the first area and the second area.

[0083] In step S402, after the coordinates included in the target coordinate set are arranged in order or in reverse order, a third line is connected between any two adjacent coordinates, and an area enclosed by the third line is determined as an overlap area.

[0084] In the disclosed embodiment, when sorting coordinates, a sorting algorithm such as bubble sort and quick sort may be used to sort coordinates.

[0085] In the embodiment of the present disclosure, the terminal device used for calculation arranges the set of intersection points (target coordinates) that are simultaneously in the area corresponding to the standard color gamut and the area corresponding to the actual color gamut in reverse order or in sequence, and connects multiple target coordinates in the order of arrangement to determine the overlapping area, thereby avoiding the situation where the determined area does not correspond to the actual overlapping area due to the disorderly connection of multiple target coordinates.

[0086] The following embodiments of the present disclosure illustrate a method for determining the color expression of a screen based on the difference between the overlapped area and the second area.

[0087] Fig.10 FIG. 1 is a flow chart showing a method for determining the color expression of a screen based on the difference between an overlapped area and a second area according to an exemplary embodiment. Fig.10 As shown, the method includes step S501 to step S502.

[0088] In step S501, the area of ​​the overlapping region is determined, and the area of ​​the second region is determined.

[0089] In step S502, the ratio between the area of ​​the overlapping region and the area of ​​the second region is determined as the degree of overlap between the overlapping region and the second region, and the color expression of the screen is determined based on the degree of overlap.

[0090] In the embodiment of the present disclosure, the overlapping area between the first area and the second area represents the area occupied by the actual color gamut of the screen in the standard color gamut. The degree of overlap between the overlapping area and the second area represents the degree of overlap between the actual color gamut and the standard color gamut. By determining the proportion of the overlapping area in the corresponding area of ​​the standard color gamut, the degree of overlap between the actual color gamut and the standard color gamut can be determined, that is, the color expression of the screen can be determined. The above-mentioned calculation process can be completed by the terminal used for calculation based on a preset algorithm, thereby avoiding the low detection efficiency and high detection cost caused by manual operation of professional equipment to determine the color expression of the screen, reducing the detection cost and improving the detection efficiency.

[0091] In an exemplary embodiment of the present disclosure, Fig.11 As shown in the schematic diagram of the application scenario of the screen detection method in the figure, the screen to be tested is detected by the processing terminal, and the test result representing the color expression of the screen is obtained after executing the preset algorithm. Fig.12As shown in the block diagram of the screen detection method in , the method includes the following steps: obtaining the color coordinate values ​​of the screen to be tested that respectively display the three primary color images, and determining the standard color coordinate values ​​of the screen to be tested that respectively display the three primary color images based on the screen display standard. Determine a first coordinate group composed of the color coordinate values ​​of the screen to be tested, and determine a second coordinate group composed of the standard color coordinate values. Determine the first region corresponding to the first coordinate group in the coordinate space, determine the area of ​​the first region, and determine the second region corresponding to the second coordinate group in the coordinate space, and determine the area of ​​the second region. Determine the color gamut segmentation matrix line obtained by connecting multiple coordinates in the first coordinate group in pairs, and determine the color gamut segmentation matrix line obtained by connecting multiple coordinates in the second coordinate group in pairs, and each color gamut segmentation matrix line corresponds to a slope-intercept equation. All color gamut segmentation matrix lines are exhaustively combined in pairs, and the intersection points are solved based on the corresponding slope-intercept equations to obtain the set of intersection points between all color gamut segmentation matrix lines. Find the set of inner points in the intersection coordinate set that are both in the first region corresponding to the first coordinate group and the second region corresponding to the second coordinate group based on the polygon area method. Arrange all the coordinate points in the inner point set in positive or reverse order. The area of ​​the region enclosed by all points in the arranged inner point set is solved and compared with the area enclosed by the standard color coordinates. The objective data value of the color expression of the display screen is obtained. Through the present disclosure, a general color analyzer is used to obtain the actual color coordinates of the screen, and the color expression of the screen is determined by the terminal device based on the built-in algorithm combining the actual color coordinates of the screen and the standard color coordinates, thereby avoiding the high detection cost and low detection efficiency caused by the manual use of hardware testing tools such as professional color analyzers to detect the color expression of the screen, improving the detection efficiency of the detection screen and reducing the detection cost.

[0092] Based on the same concept, the embodiment of the present disclosure also provides a screen detection device 100 .

[0093] It is understandable that the screen detection device 100 provided in the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.

[0094] Fig.13 1 is a block diagram of a screen detection device 100 according to an exemplary embodiment. Fig.13 , the device includes an acquisition unit 101 and a determination unit 102.

[0095] The acquisition unit 101 is used to acquire the actual color coordinates when the screen actually displays the three-primary color image, and to combine the actual color coordinates corresponding to each two images in the three-primary color image to obtain an actual color coordinate group.

[0096] Among them, the three primary color images include a red image, a green image and a blue image.

[0097] The determination unit 102 is used to determine the color expression of the screen based on the actual color coordinate group and the standard color coordinate group, where the color expression represents the degree of overlap between the actual color gamut of the screen and the standard color gamut.

[0098] The standard color coordinate group is a combination of standard color coordinates corresponding to two images in the three primary color images displayed on the screen, and the standard color coordinates are predefined color coordinates.

[0099] In one embodiment, the determination unit 102 determines the color expression of the screen based on the actual color coordinate group and the standard color coordinate group in the following manner: a first line is drawn between two actual color coordinates in each combination in the actual color coordinate group, and the area enclosed by the first line is determined as the first area, and the first area corresponds to the actual color gamut of the screen. A second line is drawn between two standard color coordinates in each combination in the standard color coordinate group, and the area enclosed by the second line is determined as the second area, and the second area corresponds to the standard color gamut corresponding to the screen. The overlapping area between the first area and the second area is determined. Based on the degree of overlap between the overlapping area and the second area, the color expression of the screen is determined.

[0100] In one implementation, the determination unit 102 determines the overlapped area of ​​the first area and the second area in the following manner: determining the coordinates of the intersections between the straight lines on which each connecting line encircling the first area is located and the straight lines on which each connecting line encircling the second area is located. Determining a set of target coordinates in the first area and the second area, the target coordinate set including the coordinates of the intersections in the first area and in the second area, the actual color coordinates, and the standard color coordinates. Based on the target coordinate set, determining the overlapped area.

[0101] In one implementation, the determination unit 102 determines the overlapping area based on the target coordinate set in the following manner: after arranging the coordinates included in the target coordinate set in sequential or reverse order, a third line is connected between any two adjacent coordinates, and the area enclosed by the third line is determined as the overlapping area.

[0102] In one implementation, the determination unit 102 determines the color expression of the screen based on the difference between the overlapped area and the second area in the following manner: determine the area of ​​the overlapped area, and determine the area of ​​the second area. Determine the ratio between the area of ​​the overlapped area and the area of ​​the second area as the overlap between the overlapped area and the second area, and determine the color expression of the screen based on the overlap.

[0103] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0104] Fig.14 2 is a block diagram of a device 200 for screen detection according to an exemplary embodiment. The device 200 may be provided as a terminal. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0105] Reference Fig.14 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .

[0106] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.

[0107] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0108] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.

[0109] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0110] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.

[0111] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0112] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0113] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0114] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0115] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0116] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.

[0117] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.

[0118] It will be further understood that the terms “center”, “longitudinal”, “lateral”, “front”, “back”, “up”, “down”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation.

[0119] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.

[0120] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.

[0121] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present solution, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.

[0122] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.

Claims

1. A screen detection method, characterized in that: include: Acquire actual color coordinates when the screen actually displays three primary color images, and combine the actual color coordinates corresponding to any two of the three primary color images to obtain an actual color coordinate group, wherein the three primary color images include a red image, a green image, and a blue image; Determining the color expression of the screen based on the actual color coordinate group and the standard color coordinate group, wherein the color expression represents the degree of overlap between the actual color gamut of the screen and the standard color gamut; The standard color coordinate group is a combination of standard color coordinates corresponding to any two of the three primary color images displayed on the screen, and the standard color coordinates are predefined color coordinates.

2. The method according to claim 1, characterized in that The determining the color expression of the screen based on the actual color coordinate group and the standard color coordinate group includes: Connecting two actual color coordinates in each combination of the actual color coordinate group by a first line, and determining an area enclosed by the first line as a first area, wherein the first area corresponds to an actual color gamut of the screen; Draw a second line between two standard color coordinates in each combination of the standard color coordinate group, and determine the area enclosed by the second line as a second area, where the second area corresponds to the standard color gamut corresponding to the screen; determining an overlapping area between the first area and the second area; Based on the degree of overlap between the overlap area and the second area, the color expression of the screen is determined.

3. The method according to claim 2, characterized in that The determining an overlapping area between the first area and the second area includes: Determine the coordinates of the intersections between the straight line where each connecting line enclosing the first area is located and the straight line where each connecting line enclosing the second area is located; Determine a set of target coordinates in the first area and the second area, wherein the set of target coordinates includes coordinates of intersections in the first area and in the second area, actual color coordinates, and standard color coordinates; The overlap area is determined based on the target coordinate set.

4. The method according to claim 3, characterized in that The determining the overlapped area based on the target coordinate set includes: The coordinates included in the target coordinate set are arranged in order or in reverse order, and a third line is connected between any two adjacent coordinates, and an area enclosed by the third line is determined as the overlap area.

5. The method according to claim 2, characterized in that: The determining the color expression of the screen based on the difference between the overlapping area and the second area includes: Determining the area of ​​the overlapping region, and determining the area of ​​the second region; The ratio between the area of ​​the overlapping region and the area of ​​the second region is determined as the overlap degree between the overlapping region and the second region, and the color expression of the screen is determined based on the overlap degree.

6. A screen detection device, characterized in that: include: An acquisition unit, used to acquire actual color coordinates when the screen actually displays three primary color images, and to combine the actual color coordinates corresponding to any two of the three primary color images to obtain an actual color coordinate group, wherein the three primary color images include a red image, a green image, and a blue image; A determination unit, configured to determine the color expression of the screen based on the actual color coordinate group and the standard color coordinate group, wherein the color expression represents the degree of overlap between the actual color gamut of the screen and the standard color gamut; The standard color coordinate group is a combination of standard color coordinates corresponding to any two of the three primary color images displayed on the screen, and the standard color coordinates are predefined color coordinates.

7. The device according to claim 6, characterized in that The determination unit determines the color expression of the screen based on the actual color coordinate group and the standard color coordinate group in the following manner: Connecting two actual color coordinates in each combination of the actual color coordinate group by a first line, and determining an area enclosed by the first line as a first area, wherein the first area corresponds to an actual color gamut of the screen; Draw a second line between two standard color coordinates in each combination of the standard color coordinate group, and determine the area enclosed by the second line as a second area, where the second area corresponds to the standard color gamut corresponding to the screen; determining an overlapping area between the first area and the second area; Based on the degree of overlap between the overlap area and the second area, the color expression of the screen is determined.

8. The device according to claim 7, characterized in that The determining unit determines the overlapping area of ​​the first area and the second area in the following manner: Determine the coordinates of the intersections between the straight line where each connecting line enclosing the first area is located and the straight line where each connecting line enclosing the second area is located; Determine a set of target coordinates in the first area and the second area, wherein the set of target coordinates includes coordinates of intersections in the first area and in the second area, actual color coordinates, and standard color coordinates; The overlap area is determined based on the target coordinate set.

9. The device according to claim 8, characterized in that The determining unit determines the overlapped area based on the target coordinate set in the following manner: The coordinates included in the target coordinate set are arranged in order or in reverse order, and a third line is connected between any two adjacent coordinates, and an area enclosed by the third line is determined as the overlap area.

10. The device according to claim 7, characterized in that The determining unit determines the color expression of the screen based on the difference between the overlapped area and the second area in the following manner: Determining the area of ​​the overlapping region, and determining the area of ​​the second region; The ratio between the area of ​​the overlapping region and the area of ​​the second region is determined as the overlap degree between the overlapping region and the second region, and the color expression of the screen is determined based on the overlap degree.

11. A screen detection device, characterized in that: include: processor: a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the screen detection method according to any one of claims 1 to 5.

12. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor, the processor is enabled to execute the screen detection method according to any one of claims 1 to 5.