Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, an embodiment of the present invention provides a method for testing image quality of a display panel, the method mainly includes:
101. the N image frames are sequentially displayed in the display panel.
The display panel described herein is a display panel that needs to be subjected to image quality testing, and the type of the display panel is not limited in this embodiment.
The image frames are used for performing image quality testing of the display panel, and may belong to the same picture. The number of image frames may be determined based on the service requirement, and the embodiment is not particularly limited. Illustratively, N is a positive integer greater than or equal to 1. In addition, the type of the image frame is not limited in this embodiment, and optionally, the image frame may be a pure grayscale image or a non-pure grayscale image.
After the N image frames are selected, the image frames need to be displayed in the display panel in sequence. The definition of sequential display is that each image frame has a certain display sequence, and after one image frame is displayed, another image frame is displayed.
The method for sequentially displaying N image frames in the display panel comprises the following two methods:
first, in order to test the image quality of the display panel under certain functions, the process of sequentially displaying N image frames in the display panel may be: and starting the target function of the display panel, and sequentially displaying N image frames in the display panel with the target function.
The purpose of turning on the target function of the display panel is to test the image quality of the display panel under the target function. The purpose of displaying N image frames in sequence in a display panel with target functions is to collect gray-scale values of target pixel coordinates in each image displayed by the display panel, so as to use the values to evaluate the image quality of the display panel under certain target functions. The collected gray-scale values are gray-scale values of pixel points located at the target pixel coordinates in the image frame.
The target function may be selected based on a specific test, which is a function related to image quality. Illustratively, the target function is selected to be a PQ function.
Second, in order to simply test the image quality of the display panel, the process of sequentially displaying N image frames in the display panel may be: all the functions related to the image quality of the display panel are closed, and then the N image frames are sequentially displayed in the display panel.
The purpose of turning off all the image quality related functions of the display panel is to test the image quality of the image frame simply displayed by the display panel under the condition that no image quality related function of the display panel is turned on.
The logic of the two methods for sequentially displaying N image frames in the display panel may be: the method comprises the steps of firstly, sequentially displaying N image frames in a display panel by using a first method, acquiring gray-scale values corresponding to M target pixel coordinates in the currently displayed image frame when one image frame is displayed, and generating image quality test data of the display panel based on the acquired gray-scale values and target data corresponding to the gray-scale values. If the generated display panel image quality test data obtains the result of image quality abnormity, at this time, the second method can be used again to sequentially display N image frames in the display panel, each image frame is displayed, the gray-scale values corresponding to M target pixel coordinates in the currently displayed image frame are collected, and the display panel image quality test data is generated based on the collected gray-scale values and the target data corresponding to the gray-scale values. And determining whether the image quality abnormality obtained from the image quality test data of the display panel corresponding to the first method is caused by the target function started by the first method according to the image quality test data of the display panel corresponding to the second method. For example, if the image quality abnormality obtained from the display panel image quality test data according to the first method is not present in the display panel image quality test data according to the second method, it is determined that the image quality abnormality has a high probability of being caused by the target function.
102. And acquiring gray-scale values corresponding to M target pixel coordinates in the currently displayed image frame every time one image frame is displayed, wherein M and N are positive integers, and M and N are not 1 at the same time.
In this embodiment, in order to meet the requirements of image quality tests of various display panels and improve the richness of data required by the image quality tests of the display panels, when acquiring the gray scale values required for positioning the poor image quality of the display panels, time domain and space domain concepts are introduced, that is, the gray scale values corresponding to the specific pixel coordinates in the image frames are acquired by combining two factors, namely, the time domain and the space domain.
The time domain is defined for the acquisition time of the gray-scale values. In practical applications, the N image frames are sequentially displayed in the display panel, so each image frame has its own display time, and the display time of each image frame is different. The N image frames displayed in sequence provide time difference for the acquisition of gray-scale values required by the image quality test of the display panel.
The spatial domain is for the target pixel coordinates in the image frame. In practical applications, when an image frame is displayed on the display panel, each pixel point of the image frame has its corresponding pixel coordinate. The pixel coordinates provide differences in position for the acquisition of gray scale values required for the display panel image quality test.
Aiming at the introduction of the time domain and the space domain, each time one image frame is displayed, the acquisition scene for acquiring the gray-scale values corresponding to the M target pixel coordinates in the currently displayed image frame comprises the following steps:
first, single location, multiple times.
A single location refers to the collection of gray-scale values for the same target pixel coordinate in multiple image frames. Multiple times refer to the need to acquire target pixel coordinates in multiple image frames that are displayed in succession. Therefore, the "single position, multiple times" is defined as collecting gray-scale values corresponding to the same target pixel coordinate of each image frame of the multiple image frames displayed continuously. In the scene of 'single position and multiple time', N is multiple, and M is one.
In a scene of "single position, multiple times", for each image frame displayed, a specific process of acquiring gray-scale values corresponding to M target pixel coordinates in the currently displayed image frame includes the following steps a1 to a 2:
a1, when displaying the first image frame in the N image frames, determining the pixel coordinate corresponding to the cursor position in the currently displayed image frame as a target pixel coordinate, and collecting the gray-scale value corresponding to the target pixel coordinate in the currently displayed image frame, wherein the cursor position is the staying position of the cursor point in the currently displayed image frame.
When the first image frame in the N image frames is displayed on the display panel, the cursor point stays at a position in the currently displayed first image frame based on the positioning requirement, and the pixel coordinate corresponding to the staying position is the target pixel coordinate. The target pixel coordinate is not only the pixel coordinate used by the first image frame but also the target pixel coordinate used by the rest of the N image frames, so that the image quality of the display panel can be tested by the gray-scale value corresponding to the same pixel coordinate of each of the N image frames which are continuously displayed.
The dwell of the cursor points in the image frame is based on the specific test requirements. For example, when the first image frame is displayed, the tester observes that there is an abnormal image quality position, and the cursor point moves to the abnormal image quality position and stays under the control of the tester.
In practical applications, the form of the cursor point may be determined based on traffic demands. Illustratively, the cursor points are cross cursor points as shown in FIG. 2. In order to enable a tester to visually check the position of the cursor point, the coordinate of the cursor point is displayed at the position of the cursor point. The form of the coordinates exists in two ways: one is, for example, the target pixel coordinate in the XY coordinate system is (X ═ a, Y ═ b), where a and b are determined based on the specific pixel coordinate, which is only one example here. Another example of the RGB values is (R ═ e, G ═ f, and B ═ G) for the target pixel coordinates, where e, f, and G are based on specific pixel coordinates, and this is only one example. Illustratively, as shown in fig. 2, the coordinate form of the cursor point at the position of the cursor point is (X-1000, Y-700).
After the coordinates of the target pixel are determined, the gray-scale value corresponding to the coordinates of the target pixel in the currently displayed image frame, i.e. the first image frame, is collected. It should be noted that the acquired gray-scale value exists at a corresponding acquisition time point, and the acquisition time point is a time point within a time period in which the currently displayed image frame is displayed, and may be a display time point corresponding to the start of display of the currently displayed image frame, or may be any time point after the display time point.
And A2, when the rest of the N image frames are displayed, acquiring the gray-scale value corresponding to the target pixel coordinate in the currently displayed image frame.
And after the first image frame is displayed and the gray-scale value corresponding to the target pixel coordinate in the first image frame is collected, ending the display of the first image frame, and then sequentially displaying the rest image frames in the N image frames. For the rest images, every time one image frame is displayed, the gray-scale value corresponding to the target pixel coordinate in the currently displayed image frame is acquired. Therefore, the image quality of the display panel can be tested according to the change condition of the gray-scale value of the same pixel coordinate in the N image frames which are continuously displayed, so as to judge whether the pixel point corresponding to the target pixel coordinate is the pixel point with abnormal image quality. It should be noted that, for any currently displayed image frame, the acquired grayscale value has a corresponding acquisition time point, and the acquisition time point is a time point within a time period displayed by the currently displayed image frame, which may be a display time point corresponding to the start of display of the currently displayed image frame, or any time point after the display time point.
Illustratively, as shown in fig. 2, fig. 2 includes three image frames: image frame 1, image frame 2, and image frame 3. Illustrated in fig. 2 are respective display states of three image frames. The display sequence of each image frame in the display panel is image frame 1, image frame 2 and image frame 3. When the image frame 1 is displayed, the pixel coordinate a of the cursor position corresponding to the cursor point in the image frame 1 is determined as the target pixel coordinate, the gray scale value 1 corresponding to the pixel coordinate a (X is 1000, Y is 700) in the image frame 1 is acquired, and the acquisition time point corresponding to the gray scale value 1 is the time point 1. After the gray-scale value 1 corresponding to the pixel coordinate a in the image frame 1 is acquired, the image frame 1 is finished being displayed, and the image frame 2 is started being displayed. When the image frame 2 is displayed, the pixel coordinate a (X is 1000, and Y is 700) of the cursor position corresponding to the cursor point in the image frame 2 is determined as the target pixel coordinate, the gray level value 2 corresponding to the pixel coordinate a in the image frame 2 is acquired, and the acquisition time point corresponding to the gray level value 2 is the time point 2. After the gray-scale value 2 corresponding to the pixel coordinate a in the image frame 2 is acquired, the image frame 2 is displayed, and the image frame 3 is displayed. When the image frame 3 is displayed, the pixel coordinate a (X is 1000, and Y is 700) of the cursor position corresponding to the cursor point in the image frame 3 is determined as the target pixel coordinate, the gray scale value 3 corresponding to the pixel coordinate a in the image frame 3 is acquired, and the acquisition time point corresponding to the gray scale value 3 is the time point 3. As can be seen from fig. 2, each acquired gray level value is a gray level value corresponding to each image frame in N image frames displayed continuously on the same pixel coordinate.
Second, multiple locations, multiple times.
The multiple locations refer to the collection of gray-scale values for multiple target pixel coordinates in the image frame. Multiple times refer to the acquisition of target pixel coordinates in multiple image frames displayed in succession. Therefore, "a plurality of positions, a plurality of times" is defined as acquiring gray-scale values of coordinates of a plurality of target pixels in each of a plurality of image frames that are successively displayed. In the scene of "multiple positions and multiple times", N is multiple and M is multiple.
In a scene of "multiple positions, multiple times", for each image frame displayed, the specific process of acquiring the gray-scale values corresponding to the coordinates of M target pixels in the currently displayed image frame includes the following steps B1 to B2:
b1, when displaying the first image frame of the N image frames, determining the pixel coordinates corresponding to the cursor position in the currently displayed image frame as first pixel coordinates, selecting M target pixel coordinates from the currently displayed image frame based on the first pixel coordinates, and collecting the gray-scale value corresponding to each target pixel coordinate in the currently displayed image frame, wherein the cursor position is the staying position of the cursor point in the currently displayed image frame, and M is greater than 1.
When the first image frame of the N image frames is displayed on the display panel, the cursor point stays at a position in the currently displayed first image frame based on the positioning requirement, and the staying position is the first pixel coordinate. The dwell of the cursor points in the image frame is based on the specific test requirements. For example, when the first image frame is displayed, the tester observes that there is an abnormal image quality position, and the cursor point moves to the abnormal image quality position and stays under the control of the tester. Therefore, the pixel points corresponding to the first pixel coordinate are abnormal image quality pixel points with high probability, and the pixel points corresponding to the pixel coordinate with the shorter distance are also possible to be abnormal, so that the first pixel coordinate is determined as the reference for selecting the target pixel coordinate.
The specific process of selecting M target pixel coordinates from the first image frame based on the first pixel coordinates may include: selecting at least one of the following as M target pixel coordinates: the display device comprises a first pixel coordinate, at least one pixel coordinate located on the same row with the first pixel coordinate in a currently displayed image frame, at least one pixel coordinate located on the same column with the first pixel coordinate in the currently displayed image frame, and at least one pixel coordinate having a preset distance relationship with the first pixel coordinate in the currently displayed image frame.
For example, as shown in fig. 3, a pixel coordinate a (X is 1000, and Y is 700) in fig. 3 is a first pixel coordinate, and the pixel coordinate a and k pixel coordinates located on the same row as the pixel coordinate are both selected as the target pixel coordinate.
The target pixel coordinate is not only the pixel coordinate used by the first image frame but also the target pixel coordinate used by the rest of the N image frames, so that the image quality of the display panel can be tested by the gray-scale value corresponding to the same pixel coordinates of each of the N image frames which are continuously displayed.
After the coordinates of the target pixel are determined, the gray-scale values corresponding to the coordinates of a plurality of target pixels in the currently displayed image frame, namely the first image frame, are acquired. It should be noted that the acquired gray-scale value exists at a corresponding acquisition time point, and the acquisition time point is a time point within a time period in which the currently displayed image frame is displayed, and may be a display time point corresponding to the start of display of the currently displayed image frame, or may be any time point after the display time point.
And B2, when the rest of the N image frames are displayed, acquiring the gray-scale value corresponding to the target pixel coordinate in the currently displayed image frame.
And after the first image frame is displayed and the gray-scale value corresponding to each target pixel coordinate in the first image frame is collected, ending the display of the first image frame, and then sequentially displaying the rest image frames in the N image frames. And for the rest image frames, acquiring the gray-scale value corresponding to the coordinate of each target pixel in the currently displayed image frame when displaying one image frame. Therefore, the image quality of the display panel can be tested according to the change condition of the gray-scale values corresponding to the pixel coordinates in the continuously displayed N image frames, so as to determine whether the pixel points corresponding to the pixel coordinates are pixel points with abnormal image quality. It should be noted that, for any currently displayed image frame, the acquired grayscale value exists at a corresponding acquisition time point, and the acquisition time point is a time point within a time period in which the currently displayed image frame is displayed, and may be a display time point corresponding to the start of display of the currently displayed image frame, or may be any time point after the display time point.
Illustratively, as shown in fig. 3, fig. 3 includes three image frames: image frame 1, image frame 2, and image frame 3. Illustrated in fig. 3 are respective display states of three image frames. The display sequence of each image frame in the display panel is image frame 1, image frame 2 and image frame 3. When the image frame 1 is displayed, the pixel coordinate a of the cursor position corresponding to the cursor point in the image frame 1 is determined as a first pixel coordinate, and the pixel coordinate a and k pixel coordinates located on the same line as the pixel coordinate a are both selected as target pixel coordinates. And acquiring a gray-scale value corresponding to each target pixel coordinate in the image frame 1, wherein an acquisition time point corresponding to the gray-scale value is a time point. After the gray-scale values corresponding to the coordinates of each target pixel in the image frame 1 are acquired, the image frame 1 is displayed, and the image frame 2 is displayed. When the image frame 2 is displayed, the gray-scale value corresponding to each target pixel coordinate in the image frame 2 is acquired, and the acquisition time point corresponding to the gray-scale value is a time point. After the gray-scale values corresponding to the coordinates of each target pixel in the image frame 2 are acquired, the image frame 2 is displayed, and the image frame 3 is displayed. When the image frame 3 is displayed, the gray-scale value corresponding to each target pixel coordinate in the image frame 3 is acquired, and the acquisition time point corresponding to the gray-scale value is a time point. As can be seen from fig. 3, each acquired gray scale value is a gray scale value corresponding to the same pixel coordinates on N image frames that are continuously displayed.
Third, multiple locations, single time.
The multiple locations refer to the collection of gray-scale values for multiple target pixel coordinates in the image frame. A single time refers to the acquisition of only gray-scale values for the coordinates of a target pixel in one image frame being displayed. Therefore, "multiple locations, single time" is defined as collecting gray-scale values of multiple target pixel coordinates in a single image frame. In the scene of 'multiple positions and single time', N is one, and M is multiple.
In a scene of "multiple positions, single time", for each image frame displayed, the specific process of acquiring the gray-scale values corresponding to the coordinates of M target pixels in the currently displayed image frame includes the following steps C1 to C2:
and C1, when the image frame is displayed, determining the pixel coordinate corresponding to the cursor position in the currently displayed image frame as a first pixel coordinate, and selecting M target pixel coordinates from the currently displayed image frame based on the first pixel coordinate. The cursor position is the stop position of the cursor point in the currently displayed image frame, and M is larger than 1.
The number of the image frames is one, when the image frames are displayed on the display panel, the cursor point stays at a position in the currently displayed image frame based on the positioning requirement, and the position where the cursor point stays is the first pixel coordinate. The dwell of the cursor points in the image frame is based on the specific test requirements. For example, when the image frame is displayed, the tester observes that there is an abnormal image quality position, and the cursor point moves to the abnormal image quality position and stays under the control of the tester. It can be seen that the pixel points corresponding to the first pixel coordinate are abnormal image quality pixel points with a high probability, and therefore, the pixel points closer to the first pixel coordinate are likely to be abnormal, and the first pixel coordinate is determined as a reference for selecting the target pixel coordinate.
The specific process of selecting M target pixel coordinates from the image frame based on the first pixel coordinates may include: selecting at least one of the following as M target pixel coordinates: the display device comprises a first pixel coordinate, at least one pixel coordinate located on the same row with the first pixel coordinate in a currently displayed image frame, at least one pixel coordinate located on the same column with the first pixel coordinate in the currently displayed image frame, and at least one pixel coordinate having a preset distance relationship with the first pixel coordinate in the currently displayed image frame.
For example, as shown in fig. 4, a pixel coordinate a (X is 1000, and Y is 700) in fig. 4 is a first pixel coordinate, and the pixel coordinate a and k pixel coordinates located on the same row as the pixel coordinate a are both selected as target pixel coordinates.
And C2, acquiring the gray-scale values corresponding to the coordinates of the M target pixels in the currently displayed image frame.
After the target pixel coordinates are determined, gray-scale values corresponding to a plurality of target pixel coordinates in the image frame are acquired. It should be noted that the acquired gray-scale value exists at a corresponding acquisition time point, and the acquisition time point is a time point within a time period in which the image frame is displayed, and may be a corresponding display time point when the image frame starts to be displayed, or may be any time point after the display time point.
Illustratively, as shown in fig. 4, the image frames in fig. 4 are displayed separately: image frame 1. Fig. 4 illustrates a 4-display state of 4 image frames. When the image frame 1 is displayed, the pixel coordinate a of the cursor position corresponding to the cursor point in the image frame 1 is determined as a first pixel coordinate, and the pixel coordinate a and k pixel coordinates located on the same line as the pixel coordinate a are both selected as target pixel coordinates. And acquiring a gray-scale value corresponding to each target pixel coordinate in the image frame 1, wherein an acquisition time point corresponding to the gray-scale value is a time point.
103. And generating image quality test data of the display panel based on the acquired gray-scale values and target data corresponding to the gray-scale values, wherein the target data are acquisition time points and/or target pixel coordinates corresponding to the gray-scale values.
The process of generating the display panel image quality test data is related to a specific scene based on the collected gray-scale values and the target data corresponding to the gray-scale values, so the method comprises the following generation methods:
first, in a single-position multi-time scene, gray-scale values corresponding to the same target pixel coordinate of each image frame of a plurality of image frames which are continuously displayed are collected. Therefore, the collected gray scale values corresponding to the same target pixel coordinate at different time points, and the process of generating the image quality test data of the display panel based on the collected gray scale values and the target data corresponding to the gray scale values is as follows: and drawing a relation curve between the gray-scale value and the time based on the acquired gray-scale value and the acquisition time point corresponding to the gray-scale value. As shown in fig. 5, fig. 5 is a graph of gray-scale values versus time, which represents the change of corresponding gray-scale values of the same target pixel coordinate in a plurality of image frames that are displayed continuously.
The relation curve between the gray-scale values and the time represents the change condition of the gray-scale values of the same target pixel coordinate under the time parameter. In principle, the corresponding gray-scale value of the same target pixel coordinate in a plurality of continuously displayed image frames should be stabilized within a preset range, and once the corresponding gray-scale value of a time point exceeds the preset range, it can be determined that the image quality of the display panel is abnormal, and a tester can perform corresponding abnormal elimination processing based on the abnormal condition of the gray-scale value.
Second, in a "multiple location, multiple time" scenario, gray-scale values of coordinates of multiple target pixels in each of multiple image frames displayed in succession are collected. Therefore, the collected gray-scale values corresponding to the same target pixel coordinates at different time points are used to generate the display panel image quality test data based on the collected gray-scale values and the target data corresponding to the gray-scale values: drawing a relation curve between the gray-scale values and time based on the acquired gray-scale values and the acquisition time points corresponding to the gray-scale values, and drawing a relation curve between the gray-scale values and pixel coordinates based on the acquired gray-scale values and target pixel coordinates corresponding to the gray-scale values.
The relation curve between the gray-scale values and the time represents the change condition of the gray-scale values of the same target pixel coordinate under the time parameter. In principle, for each target pixel coordinate, a relationship curve between the gray-scale value and the time may be drawn based on the corresponding gray-scale value and the time of the gray-scale value acquisition. The same target pixel coordinate is in a plurality of continuously displayed image frames, the corresponding gray-scale value is stabilized in a preset range, once the gray-scale value corresponding to a time point exceeds the preset range, the image quality of the display panel can be determined to be abnormal, and a tester can perform corresponding abnormal elimination processing based on the abnormal condition of the gray-scale value.
The relation curve between the gray-scale value and the pixel coordinate represents the change of the gray-scale values of the same plurality of target pixel coordinates at the same time. In principle, for each time point, a relation curve between the gray-scale value and the pixel coordinate may be drawn based on the gray-scale value corresponding to each target pixel coordinate at the time point and each target pixel coordinate. In the display of an image frame in a display panel, the gray-scale values corresponding to a plurality of target pixel coordinates of the image frame should be stabilized within a preset range, and once the gray-scale value corresponding to one target pixel coordinate exceeds the preset range, it can be determined that the image quality of the display panel is abnormal, and a tester can perform corresponding abnormal elimination processing based on the abnormal condition of the gray-scale values.
Fig. 5 is a curve of gray-scale values versus time, which represents the change of corresponding gray-scale values of the same target pixel coordinate in a plurality of image frames displayed continuously. Fig. 6 is a relationship curve between the gray scale values and the pixel coordinates, which represents the gray scale values corresponding to the target pixel coordinates at the same time and the relationship between the gray scale values and the pixel coordinates drawn by the target pixel coordinates.
Third, in a "multiple location, single time" scenario, gray-scale values for multiple target pixel coordinates in a single image frame are collected. Therefore, the collected gray-scale values corresponding to the coordinates of the plurality of target pixels at the same time point, and the generation of the display panel image quality test data based on the collected gray-scale values and the target data corresponding to the gray-scale values is as follows: and drawing a relation curve between the gray-scale value and the pixel coordinate based on the acquired gray-scale value and the target pixel coordinate corresponding to the gray-scale value.
In the display of an image frame in a display panel, the gray-scale values corresponding to a plurality of target pixel coordinates of the image frame should be stabilized within a preset range, and once the gray-scale value corresponding to one target pixel coordinate exceeds the preset range, it can be determined that the image quality of the display panel is abnormal, and a tester can perform corresponding abnormal elimination processing based on the abnormal condition of the gray-scale values.
According to the image quality testing method for the display panel, provided by the embodiment of the invention, when the image quality testing requirement for any display panel exists, N image frames are sequentially displayed in the display panel. And acquiring gray-scale values corresponding to M target pixel coordinates in the currently displayed image frame every time one image frame is displayed, wherein the richness M and the richness N of data required by the image quality test of the display panel are not 1 at the same time. And then generating display panel image quality test data based on the acquired gray-scale values and target data corresponding to the gray-scale values, wherein the target data are acquisition time points and/or target pixel coordinates corresponding to the gray-scale values. Therefore, the scheme provided by the embodiment of the invention covers the scene of testing the image quality of the display panel by adopting the static picture and the dynamic picture, and rich data can be collected in various scenes to test the image quality of the display panel. For a still image, that is, a single image frame is displayed on the display panel, gray scale values corresponding to coordinates of a plurality of pixels in the image frame can be acquired. For a dynamic picture, namely, a plurality of image frames are sequentially displayed in a display panel, and when each image frame is displayed, a gray-scale value corresponding to one or more pixel coordinates in the image frame can be acquired. Therefore, the scheme provided by the embodiment of the invention can improve the richness of data required by the image quality test of the display panel. In addition, the acquired data required by the image quality test of the display panel is high in richness, and the change condition of the gray-scale value of the display panel at a plurality of time points and/or a plurality of pixel coordinates can be analyzed by acquiring once, so that the scheme provided by the invention can also improve the efficiency of the image quality test of the display panel.
Further, according to the method shown in fig. 1, another embodiment of the present invention further provides a method for testing image quality of a display panel, as shown in fig. 7, the method mainly includes:
201. the N image frames are sequentially displayed in the display panel.
202. And acquiring gray-scale values corresponding to M target pixel coordinates in the currently displayed image frame every time one image frame is displayed, wherein M and N are positive integers, and M and N are not 1 at the same time.
203. And regulating the collected gray scale values.
The collected gray scale values are used for generating the display panel image quality test data, and in order to avoid the excessively fragmented data from increasing the calculation cost required for generating the display panel image quality test data, the collected gray scale values need to be structured.
Illustratively, the collected gray scale value is 12 bits, and in the warping processing, the last 2 to 4 bits of the collected gray scale value are filled with 0.
204. And storing the collected gray-scale values and the target data corresponding to the gray-scale values to a target storage position.
In practical applications, in order to reduce the number of tests for the display panel quality test, the display panel quality test data is not immediately acquired once. Therefore, in order to meet such a delay requirement, the collected gray-scale values and the target data corresponding to the gray-scale values need to be stored in the target storage location.
The target storage location is not specifically limited in this embodiment. Illustratively, the target storage location is a synchronous dynamic random access memory SDRAM, the storage capacity of which is guaranteed to be capable of storing all collected data. For example, the SDRAM storage capacity is not less than 64 × 72 bits.
205. And when the condition for generating the image quality test data of the display panel is judged to be satisfied, extracting the collected gray-scale values and the target data corresponding to the gray-scale values from the target storage position.
The conditions for judging whether the display panel image quality test data generation is satisfied include the following two conditions: first, when a request for generating display panel quality test data is received, it is determined that a condition for generating the display panel quality test data is satisfied. The second method is that when the current time point reaches the preset time point, the condition for generating the image quality test data of the display panel is judged to be satisfied.
And when the condition for generating the display panel image quality test data is judged to be satisfied, extracting the collected gray-scale values and the target data corresponding to the gray-scale values from the target storage position for generating the display panel image quality test data.
206. And generating image quality test data of the display panel based on the acquired gray-scale values and target data corresponding to the gray-scale values, wherein the target data are acquisition time points and/or target pixel coordinates corresponding to the gray-scale values.
The process of generating the display panel image quality test data may include the following processes in addition to the process described in step 103:
two sets of data were acquired: the first group of data is gray-scale values and target data corresponding to the gray-scale values, which are acquired after all functions related to image quality of the display panel are closed and N image frames are sequentially displayed in the display panel. The second group of data is the gray scale value acquired after the target function of the display panel is started and the N image frames are sequentially displayed in the display panel with the target function and the target data corresponding to the gray scale value. It should be noted that the N image frames used for the two sets of data are the same.
When generating the image quality test data of the display panel, comparing the two groups of data, and checking whether the image quality abnormity of the display panel is caused by the target function or the display panel. For example, if the image quality abnormality obtained from the display panel image quality test data corresponding to the second set of data does not exist in the display panel image quality test data corresponding to the first set of data, it indicates that the image quality abnormality has a high probability of being caused by the target function.
For example, as shown in fig. 8, a curve 1 is a relationship curve between a gray-scale value and time in a "single-position, multiple-time" scenario, and data acquisition conditions corresponding to the curve 1 are as follows: and closing all functions related to the image quality of the display panel, and sequentially displaying the N image frames in the display panel. The curve 2 is a relation curve between the gray-scale values and the time under the scene of 'single position and multiple times', and the data acquisition conditions corresponding to the curve 2 are as follows: and starting the target function of the display panel, and sequentially displaying N image frames in the display panel with the target function.
Further, according to the above method embodiment, another embodiment of the present invention further provides an apparatus for testing image quality of a display panel, as shown in fig. 9, the apparatus comprising:
a display unit 31 for sequentially displaying N image frames in the display panel;
the acquisition unit 32 is configured to acquire, for each image frame that is displayed, gray-scale values corresponding to M target pixel coordinates in the currently displayed image frame, where M and N are positive integers, and M and N are not 1 at the same time;
the generating unit 33 is configured to generate image quality test data of the display panel based on the acquired gray-scale values and target data corresponding to the gray-scale values, where the target data are acquisition time points and/or target pixel coordinates corresponding to the gray-scale values.
According to the image quality testing device for the display panel, provided by the embodiment of the invention, when the image quality testing requirement for any display panel exists, N image frames are sequentially displayed in the display panel. And acquiring gray-scale values corresponding to M target pixel coordinates in the currently displayed image frame every time one image frame is displayed, wherein the richness M and the richness N of data required by the image quality test of the display panel are not 1 at the same time. And then generating display panel image quality test data based on the acquired gray-scale values and target data corresponding to the gray-scale values, wherein the target data are acquisition time points and/or target pixel coordinates corresponding to the gray-scale values. Therefore, the scheme provided by the embodiment of the invention covers the scene of testing the image quality of the display panel by adopting the static picture and the dynamic picture, and rich data can be collected in various scenes to test the image quality of the display panel. For a still image, that is, a single image frame is displayed on the display panel, gray scale values corresponding to coordinates of a plurality of pixels in the image frame can be acquired. For a dynamic picture, namely, a plurality of image frames are sequentially displayed in a display panel, and when each image frame is displayed, a gray-scale value corresponding to one or more pixel coordinates in the image frame can be acquired. Therefore, the scheme provided by the embodiment of the invention can improve the richness of the data required by the image quality test of the display panel. In addition, the acquired data required by the image quality test of the display panel is high in richness, and the change condition of the gray-scale value of the display panel at a plurality of time points and/or a plurality of pixel coordinates can be analyzed by acquiring once, so that the scheme provided by the invention can also improve the efficiency of the image quality test of the display panel.
Optionally, as shown in fig. 10, the collecting unit 32 includes:
a first collecting unit 321, configured to determine, when N is multiple, a pixel coordinate corresponding to a cursor position in a currently displayed image frame as a target pixel coordinate when a first image frame of the N image frames is displayed, and collect a gray level value corresponding to the target pixel coordinate in the currently displayed image frame, where the cursor position is a position where a cursor point stays in the currently displayed image frame;
a second collecting unit 322, configured to collect, when remaining image frames in the N image frames are displayed, a gray scale value corresponding to the target pixel coordinate in the currently displayed image frame.
Optionally, as shown in fig. 10, the collecting unit 32 includes:
a determining unit 323, configured to determine, when N is one, a pixel coordinate corresponding to a cursor position in a currently displayed image frame as a first pixel coordinate when the image frame is displayed, and select the M target pixel coordinates from the currently displayed image frame based on the first pixel coordinate; the cursor position is the stop position of a cursor point in the currently displayed image frame, and M is larger than 1;
the third collecting unit 324 is configured to collect a gray-scale value corresponding to each coordinate of the target pixel in the currently displayed image frame.
Optionally, as shown in fig. 10, the third acquiring unit 324 is specifically configured to select at least one of the following target pixel coordinates: the first pixel coordinate, at least one pixel coordinate in the currently displayed image frame and located on the same row as the first pixel coordinate, at least one pixel coordinate in the currently displayed image frame and located on the same column as the first pixel coordinate, and at least one pixel coordinate in the currently displayed image frame and located in a preset distance relationship with the first pixel coordinate.
Optionally, as shown in fig. 10, the collecting unit 32 includes:
a fourth collecting unit 325, configured to, when N is multiple, determine, when a first image frame of the N image frames is displayed, pixel coordinates in the currently displayed image frame corresponding to a cursor position as first pixel coordinates, select, based on the first pixel coordinates, the M target pixel coordinates from the currently displayed image frame, and collect gray-scale values corresponding to the M target pixel coordinates in the currently displayed image frame, where the cursor position is a position where a cursor point stays in the currently displayed image frame, and M is greater than 1;
a fifth collecting unit 326, configured to collect, when remaining image frames in the N image frames are displayed, a gray-scale value corresponding to the target pixel coordinate in the currently displayed image frame.
Optionally, as shown in fig. 10, the fourth collecting unit 325 is specifically configured to select at least one of the following as the M target pixel coordinates: the first pixel coordinate, at least one pixel coordinate in the currently displayed image frame and located on the same row as the first pixel coordinate, at least one pixel coordinate in the currently displayed image frame and located on the same column as the first pixel coordinate, and at least one pixel coordinate in the currently displayed image frame and located in a preset distance relationship with the first pixel coordinate.
Optionally, as shown in fig. 10, the generating unit 33 is specifically configured to draw a relation curve between the gray-scale values and time based on the acquired gray-scale values and the acquisition time points corresponding to the gray-scale values, and/or,
and drawing a relation curve between the gray-scale value and the pixel coordinate based on the acquired gray-scale value and the target pixel coordinate corresponding to the gray-scale value.
Optionally, as shown in fig. 10, the apparatus further includes:
the storage unit 34 is configured to store the acquired gray-scale values and target data corresponding to the gray-scale values to a target storage location;
an extracting unit 35, configured to extract the acquired grayscale value and target data corresponding to the grayscale value from the target storage location when it is determined that a condition for generating display panel quality test data is satisfied;
optionally, as shown in fig. 10, the apparatus further includes:
and the processing unit 36 is configured to, by the generating unit 33, regularize the acquired gray-scale values before generating the display panel image quality test data based on the acquired gray-scale values and the target data corresponding to the gray-scale values.
Optionally, as shown in fig. 10, the display unit 31 is specifically configured to turn on a target function of the display panel; and sequentially displaying N image frames in the display panel with the target function.
In the apparatus for testing image quality of a display panel according to an embodiment of the present invention, reference may be made to the method adopted in the operation process of each functional module in detail in reference to the method shown in fig. 1 and the method shown in fig. 7, which is not described herein again.
Further, according to the above embodiment, another embodiment of the present invention further provides a computer-readable storage medium, where the storage medium includes a stored program, and when the program runs, the apparatus on which the storage medium is located is controlled to execute the display panel image quality testing method described in fig. 1 and 7.
Further, according to the above embodiment, another embodiment of the present invention also provides an electronic device, including:
a memory for storing a program;
a processor, coupled to the memory, for executing the program to perform the method for testing the quality of the display panel image as shown in fig. 1 and 7.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the method and apparatus described above are referred to one another. In addition, "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent merits of the embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the method, apparatus and framework for operation of a deep neural network model in accordance with embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website, or provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.