CN115705807A - Method, device, equipment and medium for testing low-gray display effect of display screen - Google Patents

Method, device, equipment and medium for testing low-gray display effect of display screen Download PDF

Info

Publication number
CN115705807A
CN115705807A CN202110902544.7A CN202110902544A CN115705807A CN 115705807 A CN115705807 A CN 115705807A CN 202110902544 A CN202110902544 A CN 202110902544A CN 115705807 A CN115705807 A CN 115705807A
Authority
CN
China
Prior art keywords
tested
pixel
image
display screen
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110902544.7A
Other languages
Chinese (zh)
Inventor
黄小明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN202110902544.7A priority Critical patent/CN115705807A/en
Publication of CN115705807A publication Critical patent/CN115705807A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses a method, a device, equipment and a medium for testing a low-gray display effect of a display screen. The method comprises the following steps: determining an image of a display screen to be tested when a preset low-gray parameter configuration is displayed as an image to be tested; determining the pixel value of each pixel point to be tested in the display screen to be tested according to the pixel value of the image pixel point in the image to be tested based on the pre-established mapping relation between the image pixel point of the image to be tested and the pixel point to be tested of the display screen to be tested; and determining a low-gray display effect test result of the display screen to be tested under the preset low-gray parameter according to the comparison result of the pixel value of each pixel point to be tested and the whole-screen pixel mean value of the display screen to be tested. The low-gray display effect is quantitatively tested by mapping the image pixel points and the display screen pixel points and utilizing the comparison result of the pixel values of all the pixel points of the display screen and the average value of the whole screen, so that the test efficiency and the accuracy of the low-gray display effect of the display screen are improved.

Description

Method, device, equipment and medium for testing low-gray display effect of display screen
Technical Field
The embodiment of the invention relates to the technical field of display, in particular to a method, a device, equipment and a medium for testing low-gray display effect of a display screen.
Background
With the development of display device technology, multi-level gray scale display technology, such as LED screen, appears on the display screen. The display fineness of the screen is greatly improved by the promotion of the display gray scale, but the low-gray display effect of the LED screen as the display equipment is very critical, namely, the display effect of the LED screen under the condition that each pixel point is low gray scale value, and the common low-gray display problems include that the low-gray first line is dark, the low-gray color block is uneven, and a dark line appears during low-gray gradual change display.
Therefore, the display effect test of low gray value is required to be carried out on the LED screen in the LED research and development test stage and the production test stage. In the prior art, the gray scale of an LED screen is adjusted manually mainly by means of manual visual judgment, for example, the gray scale is set from 1 to 50 or 100 one by one, and the display effect of LEDs under different low gray scales is observed respectively.
However, in the method, due to different experiences of different workers, the problems of uneven low-gray display, dark first-line and low-gray gradually-changing dark lines of partial color blocks are obvious only when the whole LED screen is spliced, the display in a single box body of the LED screen is not obvious, certain influence is brought to the accuracy of a test result, and the problem of missed judgment is easy to occur. And if the display effect of different low gray levels needs to be tested, the gray value needs to be manually adjusted one by one manually, so that the testing efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a medium for testing the low-gray display effect of a display screen, and the efficiency and the accuracy of testing the low-gray display effect of the display screen are improved.
In a first aspect, an embodiment of the present invention provides a method for testing a low-gray display effect of a display screen, including:
determining an image of a display screen to be tested when a preset low-gray parameter configuration is displayed as an image to be tested;
determining the pixel value of each pixel point to be tested in the display screen to be tested according to the pixel value of the image pixel point in the image to be tested based on the pre-established mapping relation between the image pixel point of the image to be tested and the pixel point to be tested of the display screen to be tested;
and determining a low-gray display effect test result of the display screen to be tested under the preset low-gray parameter according to a comparison result of the pixel value of each pixel point to be tested and the whole-screen pixel mean value of the display screen to be tested.
In a second aspect, an embodiment of the present invention further provides a device for testing a low gray display effect of a display screen, including:
the to-be-tested image determining module is used for determining an image of the to-be-tested display screen when the preset low-gray parameter configuration is displayed as the to-be-tested image;
the pixel value determining module is used for determining the pixel value of each pixel point to be detected in the display screen to be detected according to the pixel value of the image pixel point in the image to be detected based on the pre-established mapping relation between the image pixel point of the image to be detected and the pixel point to be detected of the display screen to be detected;
and the display effect testing module is used for determining a low-gray display effect testing result of the display screen to be tested under the preset low-gray parameter according to a comparison result of the pixel value of each pixel point to be tested and the whole-screen pixel mean value of the display screen to be tested.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a storage device to store one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for testing the low-gray display effect of the display screen according to any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for testing the low-gray display effect of the display screen according to any embodiment of the present invention.
The method comprises the steps of determining an image of a display screen to be tested when a preset low-gray-scale parameter configuration is displayed as an image to be tested; determining the pixel value of each pixel point to be tested in the display screen to be tested according to the pixel value of the image pixel point in the image to be tested based on the pre-established mapping relation between the image pixel point of the image to be tested and the pixel point to be tested of the display screen to be tested; and determining a low-gray display effect test result of the display screen to be tested under the preset low-gray parameter according to the comparison result of the pixel value of each pixel point to be tested and the whole-screen pixel mean value of the display screen to be tested. The image algorithm is used for mapping the pixel points of the image and the pixel points of the display screen, and the comparison result of the pixel values of all the pixel points of the display screen and the average value of the whole screen is used for quantitatively testing the low-gray display effect, so that the testing efficiency and the accuracy of the low-gray display effect of the display screen are improved.
Drawings
FIG. 1 is a flowchart illustrating a method for testing a low-gray display effect of a display screen according to a first embodiment of the present invention;
FIG. 2 is a schematic view of a device for testing a low-gray display effect of an LED screen according to a first embodiment of the present invention;
fig. 3 is a schematic diagram illustrating determination of an actual pixel light-emitting range of a pixel point to be detected of an LED screen according to a first embodiment of the present invention;
fig. 4 is a schematic view of dividing sub-regions of a pixel point region of an actual image according to a first embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a device for testing a low-gray display effect of a display screen according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device in a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them.
Example one
Fig. 1 is a flowchart of a method for testing a low-gray display effect of a display screen according to a first embodiment of the present invention, which is applicable to a low-gray effect test of a display screen in a research and development test stage and a production test stage, for example, a small-pitch LED screen. The method can be executed by a device for testing the low-gray display effect of the display screen, the device can be implemented in a software and/or hardware mode, and can be configured in electronic equipment, for example, the electronic equipment can be equipment with communication and computing capabilities such as a background server. As shown in fig. 1, the method specifically includes:
step 101, determining an image of a display screen to be tested when a preset low-gray parameter configuration is displayed as an image to be tested.
The display screen is a display for realizing colors through various display technologies, for example, the display screen to be tested can be an LED screen, the LED screen to be tested is a small-spacing LED screen with a display effect under low gray level to be tested, and the small-spacing LED screen is a small-bead gap smaller than 2.5 mm in the LED screen. Predetermine low gray level parameter and refer to the low gray level that needs the test, it is concrete, including three lamp pearl in every pixel in the LED screen, three lamp pearl respectively gives off red green blue single light, the colour in order to confirm every pixel through the luminance value that sets up three colour, predetermine low gray level parameter and confirm through the luminance value that sets up three lamp pearl, for example, the low gray level that needs to carry out the test is red low gray level and is 1, then the low gray level parameter that corresponds is: the brightness value of the red lamp bead is 1, the brightness of the green lamp bead is 0, and the brightness value of the blue lamp bead is 0; the low gray scale level to be tested is green and the low gray scale value is 1, then the corresponding low gray scale parameters are: the brightness value of the red lamp bead is 0, the brightness of the green lamp bead is 1, and the brightness value of the blue lamp bead is 0; the low gray scale to be tested is blue and the low gray scale value is 1, then the corresponding low gray scale parameters are: the brightness value of the red lamp bead is 0, the brightness of the green lamp bead is 0, and the brightness value of the blue lamp bead is 1; the low gray scale to be tested is white and the low gray scale value is 1, and then the corresponding low gray scale parameters are: the brightness value of the red lamp bead is 1, the brightness value of the green lamp bead is 1, and the brightness value of the blue lamp bead is 1; accordingly, low gray scale parameters of different low gray scale levels may be set according to the method. Optionally, the preset low gray level parameters include parameters of a plurality of different low gray levels, so as to test the display effect under the plurality of low gray levels.
Specifically, the display screen to be tested is lightened, the brightness value of each lamp bead in the display screen to be tested is configured according to a preset low gray level parameter, the displayed display screen is photographed, and the obtained image including the display screen is the image to be tested. If the preset low-gray-scale parameters comprise a plurality of parameters with different low gray-scale levels, the mapping relationship between the image pixel points of the image to be tested and the pixel points of the display screen to be tested is pre-established, so that the position relationship between the image acquisition device and the display screen to be tested needs to be fixed when the test is carried out based on the mapping relationship.
In one possible embodiment, the preset low-gray-scale parameter is preset in a configuration parameter file; the configuration parameter file comprises preset low-gray-scale parameters of at least two low-order gray scales;
accordingly, step 101 includes:
sequentially reading preset low-gray-scale parameters in the configuration parameter file through the sending card;
sending the preset low gray scale parameters to a receiving card connected with a sending card;
controlling a receiving card connected with a display screen to be tested to send and display a preset low-gray-scale parameter;
and determining the image shot when the display screen to be tested is displayed under the preset low-gray-scale parameter configuration as the image to be tested.
The configuration parameter file comprises preset low-gray level parameters of at least two low-gray level grades for controlling the display gray level of the display screen so as to test different low-gray display effects. Illustratively, the configuration parameter file includes parameters for displaying red, green, blue and white with gray levels from 1 to X, wherein the value of X may be set to 50 or 100, and may be set according to practical situations, which is not limited herein.
The sending card is used for reading the gray scale parameters for controlling the display screen in the configuration parameter file, for example, a Flash is hung in a logic processing chip (FPGA) in the sending card, and the configuration parameter file for controlling the gray scale of the display screen is written in the Flash. And the sending card reads the preset low gray scale parameters and then sends the parameters to the receiving card so that the receiving card can send and display the parameters, and the display screen to be tested can display the parameters according to the preset low gray scale parameters.
Specifically, as shown in fig. 2, a schematic diagram of a testing device for a low-gray display effect of an LED screen is shown, as shown in fig. 2, one end of a control-end computer PC is connected to a sending card through a USB port, the other end of the control-end computer PC is connected to a high-definition camera through a network cable, the sending card is connected to a receiving card through the network cable, and then the receiving card is connected to an LED board to be tested through a HUB board for display; a Flash is externally hung on a logic processing chip (FPGA) in the sending card, and a configuration parameter file needs to be written in the Flash. During actual testing, the LED screen is lightened, the PC controls the sending card to sequentially read preset low-gray-scale parameters in the configuration parameter file, for example, the red low-gray-scale value is 1, after the receiving card sends and displays the parameters, the PC controls the camera to take a picture, and an image to be tested with the red low-gray-scale value of 1 is obtained; and then, the PC reads the next preset low-gray-scale parameter according to the sequence in the configuration parameter file, for example, the green low-gray-scale value is 1, photographs are taken according to the method to obtain the to-be-tested image with the green low-gray-scale value of 1, and the like, so that the to-be-tested images of all the set low-gray-scale parameters in the configuration parameter file are obtained. In the process, the position between the camera and the LED needs to be kept fixed, so that the accuracy of the subsequent mapping relation is prevented from being influenced.
The low-gray images to be tested of the display screens with different small distances are controlled and output by controlling the mode that the sending card reads different low-gray parameters in the configuration parameter file, so that the testing efficiency is improved, and the gray values are prevented from being adjusted in sequence manually.
Step 102, determining the pixel value of each pixel point to be tested in the display screen to be tested according to the pixel value of the image pixel point in the image to be tested based on the pre-established mapping relation between the image pixel point of the image to be tested and the pixel point to be tested of the display screen to be tested.
The preset mapping relation between the image pixel points of the to-be-tested image and the to-be-tested pixel points of the to-be-tested display screen comprises the image pixel points which are actually corresponding to each to-be-tested pixel point in the to-be-tested image.
Specifically, pixel extraction is carried out on the image to be tested so as to align each pixel point to be tested in the display screen to be tested. Illustratively, based on the mapping relationship, pixel points of the image to be tested are segmented, so that the image pixel points in the image to be tested correspond to the pixel points to be tested of the display screen. And determining a target image pixel point corresponding to the target pixel point to be detected, and determining the pixel value of the target pixel point to be detected according to the pixel value of the target image pixel point. Illustratively, the average pixel value of each component of the target image pixel point is used as the pixel value of each component of the target pixel point to be measured.
In a feasible embodiment, the mapping relationship between the image pixel points of the image to be tested and the pixel points of the display screen to be tested is established by the following steps:
determining a display area of a display screen to be tested in an image to be tested as an effective area;
determining the area resolution of the effective area according to the image resolution of the image to be tested;
determining theoretical image pixel point regions mapped with all to-be-detected pixel points in the to-be-detected display screen in the to-be-detected image according to the proportional relation between the region resolution and the display screen resolution of the to-be-detected display screen;
determining the actual pixel light-emitting range of each pixel point to be tested according to the packaging edge parameter and the gap parameter of the display screen to be tested;
and determining an actual image pixel point region which is mapped with the actual pixel light-emitting range in the theoretical image pixel point region.
Since the image to be tested includes the shooting background in addition to the display screen, the region where the display screen is located needs to be extracted first to obtain the effective region including only the display screen, and the extraction may be determined according to edge extraction or a predetermined position relationship, which is not limited herein. After the effective area is determined, the area resolution of the effective area is determined according to the image resolution of the image to be tested, wherein the image resolution of the image to be tested is determined according to the parameters of the image acquisition device, and the area resolution of the effective area is determined according to the extraction position relation of the effective area in the image to be tested. The resolution of the display screen to be tested can also be determined according to the attribute parameters of the screen, and the theoretical image pixel point region corresponding to one pixel point on the image on the display screen can be determined according to the proportional relation between the resolution of the region where the display screen is located and the resolution of the display screen.
Illustratively, the resolution of the image to be tested is 1920 × 1080 according to the attribute parameters of the image acquisition device, and the region resolution of the effective region is 1620 × 960 according to the extraction position of the effective region. Determining that the resolution of the display screen is 162 × 96 according to the attribute parameters of the display screen to be tested, that is, the pixel points on the display screen are 162 × 96, the pixel points included in the effective region on the corresponding image are 1620 × 960, and the size of each pixel point on the display screen is the same, that is, determining that the area occupied by the pixel points to be tested on the image to be tested on each display screen is 10 × 10 corresponding image pixel points, and further determining the theoretical image pixel point region corresponding to each pixel point to be tested on the image to be tested.
When the display screen is an LED screen, the LED screen is composed of a plurality of lamp beads, gaps exist among the lamp beads, pixel points need to be packaged, and splicing seams exist among different pixel points, so that the gap interference between the splicing seams and the LED lamp beads is avoided when the mapping relation between image pixel points of an image to be tested and the pixel points to be tested of the LED screen to be tested is established, and the final mapping relation is more accurate. Fig. 3 is a schematic diagram illustrating determination of an actual pixel light-emitting range of a pixel point to be detected of an LED screen. As shown in fig. 3, each square frame unit represents a pixel point to be detected, a package edge parameter of the pixel point and a gap parameter of the LED lamp bead can be determined according to an attribute parameter of the LED screen, an actual light emitting area of the pixel point to be detected can be obtained according to a gap between the LED lamp bead and the package edge, and an actual pixel light emitting range of the pixel point to be detected is determined according to a relationship between the actual light emitting area and the area of the pixel point to be detected. And determining an actual image pixel point region in the theoretical image pixel point region according to the position relation between the actual pixel light-emitting range and the pixel point to be detected. Illustratively, when determining an actual image pixel point region of a pixel point to be detected, taking a first pixel point to be detected at the upper left corner as an example, a theoretical image pixel point region is within a range of 10 × 10 from the upper left corner of an effective region, and according to a position relation that an actual pixel light-emitting range occupies the pixel point to be detected, determining that the actual image pixel point region of the pixel point to be detected is a square region with the coordinates of the upper left corner 2*2 and the lower right corner 8*8, that is, the region with two pixel points within the range of 10 × 10 is an actual non-light-emitting region brought by an encapsulation edge and an LED gap, and an actual calculation process of the two pixel points can be determined according to an encapsulation edge parameter and a gap parameter, which belongs to a common technology of a person in the art and is not repeated herein. And the other pixels to be detected are analogized, and the actual image pixel point regions related to the other pixels to be detected are sequentially determined.
In one possible embodiment, step 102 includes:
determining an actual image pixel point area mapped with a target pixel point to be tested in the display screen to be tested in the image to be tested based on the mapping relation;
and determining the pixel value of a target pixel point to be tested in the display screen to be tested according to the pixel value of the pixel point region of the actual image.
And sequentially determining the actual image pixel point regions mapped with the pixels to be detected in the image to be detected based on the established mapping relation, wherein the target pixels to be detected are each pixel to be detected. After the actual image pixel point region of each pixel point to be detected is determined, the pixel value in the actual image pixel point region is read from the image, and the pixel value corresponding to the pixel point to be detected is determined according to the pixel value. Illustratively, the mean value of the pixel values in the actual image pixel point region is used as the pixel value of the corresponding pixel point to be measured. And when the pixel value comprises three RGB component values, sequentially taking the average value of all component values in the pixel point area of the actual image as the component pixel value of the corresponding pixel point to be detected. Or selecting at least two points from the actual image pixel point region, and taking the average value of the pixel values of the at least two points as the pixel value of the pixel point to be detected.
In a possible embodiment, determining the pixel value of a target pixel point to be tested in a display screen to be tested according to the pixel value of the pixel point region of the actual image includes:
dividing an actual image pixel point region into at least two sub-regions;
sampling pixel points in each sub-region, and taking the average pixel value of the sampled pixel points as the pixel value of the sub-region;
and taking the pixel value mean value of at least two sub-areas as the pixel value of a target pixel point to be tested in the display screen to be tested.
Because the number of pixels included in the actual image pixel point region corresponding to each pixel point to be measured may be large, if each pixel point in the actual image pixel point region participates in the calculation, the calculation amount may be increased. Therefore, in the embodiment of the present invention, the actual image pixel area is divided into a plurality of sub-areas, the pixels in the sub-areas are sampled, the pixel values of the sub-areas are determined according to the pixel values of the sampled pixels, and then the pixel values of the actual image pixel area are determined according to the pixel values of the sub-areas and are used as the pixel values of the target pixels to be detected.
For example, as shown in fig. 4, a schematic diagram of dividing sub-regions of an actual image pixel point region is shown, the actual image pixel point region is divided into four sub-regions in equal proportion, sampling is performed from each sub-region, the number of the samples is set according to the test accuracy, no limitation is made here, the average pixel value of each component of the sampled pixel point is used as the pixel value of the corresponding component of the sub-region, and then each component pixel value of the target pixel point to be tested is determined according to the average value of the pixel values of each component of the sub-region.
And 103, determining a low-gray display effect test result of the display screen to be tested under a preset low-gray parameter according to a comparison result of the pixel value of each pixel point to be tested and the whole-screen pixel mean value of the display screen to be tested.
After the pixel value of each pixel point to be detected is determined, averaging the pixel values of all the pixel points to be detected to be used as a whole-screen pixel mean value, and then comparing the pixel value of each pixel point to be detected with the whole-screen pixel mean value to obtain whether the difference between the pixel value of any pixel point and the mean value is too large, if the difference is too large, the pixel point is poor in low-gray display effect, and a certain problem exists.
Because most of the pixels of the whole display screen have no problem during low-gray display and only a few pixels have display problems, the theoretical level of the display screen during low-gray display can be reflected by the pixel mean value of the whole display screen, and the pixel value of each pixel to be tested is compared with the theoretical level, so that the quantification of the color cast test of the display screen is realized, and the test accuracy is improved.
Illustratively, on the basis of the above example, the effective area is divided into 162 × 96=15552 units according to the pixel points to be measured, and each unit calculates the average value of the pixel values from 4 points, so as to obtain 15552 values.
In a feasible embodiment, the display screen to be tested is an LED screen to be tested, and the pixel value of each pixel point to be tested comprises an R component value, a G component value and a B component value of each pixel point to be tested;
accordingly, step 103 comprises:
determining an R component whole-screen average value, a G component whole-screen average value and a B component whole-screen average value of the LED screen to be tested according to component values of the pixel points to be tested;
and determining a low gray display effect test result of the LED screen to be tested under the preset low gray parameters according to the comparison result of the R component value and the R component whole-screen average value of each pixel point to be tested, the comparison result of the G component value and the G component whole-screen average value and the comparison result of the B component value and the B component whole-screen average value.
The pixel point to be detected comprises three monochromatic lamp beads, so that the pixel value of the pixel point to be detected comprises RGB component values. And determining that the pixel value of the target pixel point to be tested in the LED screen to be tested also comprises three component values according to the pixel value of the actual image pixel point area. And determining the R component whole-screen average value, the G component whole-screen average value and the B component whole-screen average value of the LED screen to be tested according to the average values of all the component values of all the pixel points to be tested. Exemplarily, the R, G, B component values of all the pixel points to be detected are determined to be R1-Ri, G1-Gi and B1-Bi respectively, wherein i represents the number of the pixel points to be detected. Calculating the average value M1 from R1 to Ri as the average value of the whole screen of the R component; G1-Gi mean value M2 is a G component whole screen mean value; the average value M3 of B1-Bi is the average value of the B component in the whole screen.
And judging the difference between each component value of each pixel point to be detected and the component whole-screen average value, and if the difference between any component value of any pixel point to be detected is overlarge, indicating that the display effect of the pixel point to be detected under the preset gray parameter has a problem.
In a feasible embodiment, determining a low-gray display effect test result of the LED screen to be tested under the preset low-gray parameters according to a comparison result of the R component value and the R component whole-screen average value, a comparison result of the G component value and the G component whole-screen average value, and a comparison result of the B component value and the B component whole-screen average value of each pixel to be tested, includes:
and if the difference value between the R component value and the R component whole-screen mean value of all the pixels to be tested of the LED screen to be tested is within a preset range, the difference value between the G component value and the G component whole-screen mean value is within a preset range and the difference value between the B component value and the B component whole-screen mean value is within a preset range, determining that the low-gray display effect test result of the LED screen to be tested under the preset low-gray parameter is passed.
Judging whether I R1-M1I & II Y & II R2-M1I & II Y … I Ri-M1I & Y & I G1-M2I & II G2-M2I & II Y … I G-M2I & Y & I B1-M3I & Y & I B2-M3I & II & Y … Bi-M3I & II & Y is satisfied, if so, determining that a low-gray display effect test result of the LED screen to be tested under a preset low-gray parameter passes the test; if either condition is not met, the test is determined not to pass. The Y value is a preset range and can be set according to the product quality grade of the LED screen, the smaller the Y value is, the higher the display quality grade of the LED screen is represented, and specific numerical values are not limited.
Optionally, if it is determined that the test fails under the preset low-gray-scale parameter, it indicates that the display screen has a low-gray-scale display problem, and the test does not need to be continued; if the test under the preset low-gray-scale parameter is determined to pass, the test is continued, the sending card continues to obtain the next preset low-gray-scale parameter from the configuration parameter file, and the image to be tested of the preset low-gray-scale parameter is continuously judged. If the test result of any preset low gray level parameter in the configuration parameter file is that the test fails, the display screen has a problem in low gray level display; and only if the test results of all the preset low gray scale parameters in the configuration parameter file pass, the low gray scale display of the display screen has no problem. Under the condition of outputting different images to be tested, the corresponding relation between the image pixels of the camera and the small-distance LED pixels is utilized to obtain the chromaticity mean value of the LED pixels, and the pixel color cast is judged in a comparison mode of the difference value between the chromaticity component of the LED pixels and the mean value of the whole screen, so that the color cast test is quantized, and the test efficiency and the accuracy are improved.
According to the embodiment of the invention, the image pixel points and the display screen pixel points are mapped through an image algorithm, and the low-gray display effect is quantitatively tested by using the comparison result of the pixel value of each pixel point of the display screen and the average value of the whole screen, so that the test efficiency and the accuracy of the low-gray display effect of the display screen are improved.
Example two
Fig. 5 is a schematic structural diagram of a device for testing a low-gray display effect of a display screen according to a second embodiment of the present invention, which is applicable to a low-gray effect test of a small-pitch LED screen in a research and development test stage and a production test stage. As shown in fig. 5, the apparatus includes:
the to-be-tested image determining module 510 is configured to determine that an image of the to-be-tested display screen when the preset low-gray-scale parameter configuration is displayed is an image to be tested;
the pixel value determining module 520 is configured to determine, according to pixel values of image pixels in the image to be tested, pixel values of the pixels to be tested in the display screen to be tested based on a pre-established mapping relationship between the image pixels of the image to be tested and the pixels to be tested of the display screen to be tested;
the display effect testing module 530 is configured to determine a low-gray display effect testing result of the display screen to be tested under the preset low-gray parameter according to a comparison result between the pixel value of each pixel point to be tested and the whole-screen pixel average value of the display screen to be tested.
Optionally, the apparatus includes a mapping relationship establishing module, which is specifically configured to:
determining a display area of the display screen to be tested in the image to be tested as an effective area;
determining the area resolution of the effective area according to the image resolution of the image to be tested;
determining theoretical image pixel point areas mapped with the to-be-tested pixel points in the to-be-tested display screen in the to-be-tested image according to the proportional relation between the area resolution and the display screen resolution of the to-be-tested display screen;
determining the actual pixel light-emitting range of each pixel point to be tested according to the packaging edge parameter and the gap parameter of the display screen to be tested;
and determining an actual image pixel point region which is mapped with the actual pixel light-emitting range in the theoretical image pixel point region.
Optionally, the pixel value determining module includes:
the pixel point mapping unit is used for determining an actual image pixel point region which is mapped with a target pixel point to be tested in the display screen to be tested in the image to be tested based on the mapping relation;
and the pixel value determining unit is used for determining the pixel value of the target pixel point to be tested in the display screen to be tested according to the pixel value of the actual image pixel point area.
Optionally, the pixel value determining unit is specifically configured to:
dividing the actual image pixel point region into at least two sub-regions;
sampling pixel points in each sub-region, and taking the average pixel value of the sampled pixel points as the pixel value of the sub-region;
and taking the pixel value mean value of the at least two sub-areas as the pixel value of the target pixel point to be tested in the display screen to be tested.
Optionally, the display screen to be tested is an LED screen to be tested, and the pixel value of each pixel point to be tested includes an R component value, a G component value, and a B component value of each pixel point to be tested;
correspondingly, the display effect test module comprises:
the whole-screen mean value determining unit is used for determining an R component whole-screen mean value, a G component whole-screen mean value and a B component whole-screen mean value of the LED screen to be tested according to component values of the pixel points to be tested;
and the pixel value comparison unit is used for determining a low-gray display effect test result of the LED screen to be tested under the preset low-gray parameter according to a comparison result of the R component value of each pixel point to be tested and the R component whole-screen average value, a comparison result of the G component value and the G component whole-screen average value and a comparison result of the B component value and the B component whole-screen average value.
Optionally, the pixel value comparing unit includes:
and if the difference value between the R component value and the R component whole-screen average value of all the pixels to be tested of the LED screen to be tested is within a preset range, the difference value between the G component value and the G component whole-screen average value is within a preset range, and the difference value between the B component value and the B component whole-screen average value is within a preset range, determining that the low-gray display effect test result of the LED screen to be tested under the preset low-gray parameter is passed.
Optionally, the preset low-gray-scale parameter is preset in a configuration parameter file; the configuration parameter file comprises preset low-gray-scale parameters of at least two low-order gray scales;
correspondingly, the to-be-tested image determining module is specifically configured to:
sequentially reading preset low-gray-scale parameters in the configuration parameter file through a sending card;
sending the preset low gray scale parameter to a receiving card connected with a sending card;
controlling the receiving card connected with the display screen to be tested to send and display the preset low gray scale parameters;
and determining the image shot when the display screen to be tested is displayed under the preset low-gray parameter configuration as the image to be tested.
The device for testing the low-gray display effect of the display screen, provided by the embodiment of the invention, can execute the method for testing the low-gray display effect of the display screen, provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method for testing the low-gray display effect of the display screen.
EXAMPLE III
Fig. 6 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention. FIG. 6 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 6 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 6, electronic device 12 is embodied in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory device 28, and a bus 18 that couples various system components including the system memory device 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system storage 28 may include computer system readable media in the form of volatile storage, such as Random Access Memory (RAM) 30 and/or cache storage 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Storage 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in storage 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown in FIG. 6, the network adapter 20 communicates with the other modules of the electronic device 12 via the bus 18. It should be appreciated that although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running the program stored in the system storage device 28, for example, implementing a method for testing the low-gray display effect of the display screen provided by the embodiment of the present invention, including:
determining an image of a display screen to be tested when a preset low-gray parameter configuration is displayed as an image to be tested;
determining the pixel value of each pixel point to be detected in the display screen to be detected according to the pixel value of the image pixel point in the image to be detected based on the pre-established mapping relation between the image pixel point of the image to be detected and the pixel point to be detected of the display screen to be detected;
and determining a low-gray display effect test result of the display screen to be tested under the preset low-gray parameter according to the comparison result of the pixel value of each pixel point to be tested and the whole-screen pixel mean value of the display screen to be tested.
Example four
The fourth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for testing a low-gray display effect of a display screen, where the method includes:
determining an image of a display screen to be tested when a preset low-gray parameter configuration is displayed as an image to be tested;
determining the pixel value of each pixel point to be detected in the display screen to be detected according to the pixel value of the image pixel point in the image to be detected based on the pre-established mapping relation between the image pixel point of the image to be detected and the pixel point to be detected of the display screen to be detected;
and determining a low-gray display effect test result of the display screen to be tested under the preset low-gray parameter according to a comparison result of the pixel value of each pixel point to be tested and the whole-screen pixel mean value of the display screen to be tested.
Computer storage media for embodiments of the present invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, or a conventional procedural programming language such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for testing the low-gray display effect of a display screen is characterized by comprising the following steps:
determining an image of a display screen to be tested when a preset low-gray parameter configuration is displayed as an image to be tested;
determining the pixel value of each pixel point to be tested in the display screen to be tested according to the pixel value of the image pixel point in the image to be tested based on the pre-established mapping relation between the image pixel point of the image to be tested and the pixel point to be tested of the display screen to be tested;
and determining a low-gray display effect test result of the display screen to be tested under the preset low-gray parameter according to a comparison result of the pixel value of each pixel point to be tested and the whole-screen pixel mean value of the display screen to be tested.
2. The method of claim 1, wherein the mapping relationship between the image pixel points of the image to be tested and the pixel points of the display screen to be tested is established by the following steps:
determining a display area of the display screen to be tested in the image to be tested as an effective area;
determining the area resolution of the effective area according to the image resolution of the image to be tested;
determining theoretical image pixel point regions mapped with all to-be-detected pixel points in the to-be-detected display screen in the to-be-detected image according to the proportional relation between the region resolution and the display screen resolution of the to-be-detected display screen;
determining the actual pixel light-emitting range of each pixel point to be tested according to the packaging edge parameter and the gap parameter of the display screen to be tested;
and determining an actual image pixel point region which is mapped with the actual pixel light-emitting range in the theoretical image pixel point region.
3. The method of claim 2, wherein determining the pixel value of each pixel point to be tested in the display screen to be tested according to the pixel value of the image pixel point in the image to be tested based on a pre-established mapping relationship between the image pixel point of the image to be tested and the pixel point to be tested of the display screen to be tested comprises:
determining an actual image pixel point region which is mapped with a target pixel point to be tested in the display screen to be tested in the image to be tested based on the mapping relation;
and determining the pixel value of the target pixel point to be tested in the display screen to be tested according to the pixel value of the actual image pixel point area.
4. The method of claim 3, wherein determining the pixel value of the target pixel to be tested in the display screen to be tested according to the pixel value of the actual image pixel area comprises:
dividing the actual image pixel point region into at least two sub-regions;
sampling pixel points in each sub-region, and taking the average pixel value of the sampled pixel points as the pixel value of the sub-region;
and taking the pixel value mean value of the at least two sub-areas as the pixel value of the target pixel point to be tested in the display screen to be tested.
5. The method according to claim 1, wherein the display screen to be tested is an LED screen to be tested, and the pixel value of each pixel point to be tested comprises an R component value, a G component value and a B component value of each pixel point to be tested;
correspondingly, according to the comparison result between the pixel value of each pixel point to be tested and the whole-screen pixel mean value of the display screen to be tested, determining the low-gray display effect test result of the display screen to be tested under the preset low-gray parameter, including:
determining an R component whole-screen average value, a G component whole-screen average value and a B component whole-screen average value of the LED screen to be tested according to component values of the pixel points to be tested;
and determining a low-gray display effect test result of the LED screen to be tested under the preset low-gray parameter according to a comparison result of the R component value of each pixel point to be tested and the R component whole-screen average value, a comparison result of the G component value and the G component whole-screen average value and a comparison result of the B component value and the B component whole-screen average value.
6. The method as claimed in claim 5, wherein determining the result of testing the low gray display effect of the LED screen to be tested under the preset low gray parameter according to the result of comparing the R component value of each pixel point to be tested with the R component whole-screen average value, the result of comparing the G component value with the G component whole-screen average value, and the result of comparing the B component value with the B component whole-screen average value comprises:
and if the difference value between the R component value and the R component whole-screen average value of all the pixels to be tested of the LED screen to be tested is within a preset range, the difference value between the G component value and the G component whole-screen average value is within a preset range, and the difference value between the B component value and the B component whole-screen average value is within a preset range, determining that the low-gray display effect test result of the LED screen to be tested under the preset low-gray parameter is passed.
7. The method according to claim 1, wherein the preset low gray level parameter is preset in a configuration parameter file; the configuration parameter file comprises preset low-gray-scale parameters of at least two low-order gray scales;
correspondingly, determining that the image of the display screen to be tested when the preset low-gray parameter configuration is displayed is the image to be tested, and the method comprises the following steps:
sequentially reading preset low-gray-scale parameters in the configuration parameter file through a sending card;
sending the preset low gray scale parameter to a receiving card connected with a sending card;
controlling the receiving card connected with the display screen to be tested to send and display the preset low gray scale parameters;
and determining the image shot when the display screen to be tested is displayed under the preset low-gray parameter configuration as the image to be tested.
8. The utility model provides a testing arrangement of low grey display effect of display screen which characterized in that includes:
the to-be-tested image determining module is used for determining an image of the to-be-tested display screen when the preset low-gray parameter configuration is displayed as the to-be-tested image;
the pixel value determining module is used for determining the pixel value of each pixel point to be detected in the display screen to be detected according to the pixel value of the image pixel point in the image to be detected based on the pre-established mapping relation between the image pixel point of the image to be detected and the pixel point to be detected of the display screen to be detected;
and the display effect testing module is used for determining a low-gray display effect testing result of the display screen to be tested under the preset low-gray parameter according to a comparison result of the pixel value of each pixel point to be tested and the whole-screen pixel mean value of the display screen to be tested.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method for testing the low gray display effect of the display screen according to any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for testing the low-gray display effect of a display screen according to any one of claims 1 to 7.
CN202110902544.7A 2021-08-06 2021-08-06 Method, device, equipment and medium for testing low-gray display effect of display screen Pending CN115705807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110902544.7A CN115705807A (en) 2021-08-06 2021-08-06 Method, device, equipment and medium for testing low-gray display effect of display screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110902544.7A CN115705807A (en) 2021-08-06 2021-08-06 Method, device, equipment and medium for testing low-gray display effect of display screen

Publications (1)

Publication Number Publication Date
CN115705807A true CN115705807A (en) 2023-02-17

Family

ID=85179085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110902544.7A Pending CN115705807A (en) 2021-08-06 2021-08-06 Method, device, equipment and medium for testing low-gray display effect of display screen

Country Status (1)

Country Link
CN (1) CN115705807A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116698376A (en) * 2023-08-08 2023-09-05 徐州隆运好信息科技有限公司 Intelligent testing method for quality uniformity of outdoor spliced display screen based on scene simulation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116698376A (en) * 2023-08-08 2023-09-05 徐州隆运好信息科技有限公司 Intelligent testing method for quality uniformity of outdoor spliced display screen based on scene simulation
CN116698376B (en) * 2023-08-08 2023-11-07 徐州隆运好信息科技有限公司 Intelligent testing method for quality uniformity of outdoor spliced display screen based on scene simulation

Similar Documents

Publication Publication Date Title
CN110335273B (en) Detection method, detection device, electronic apparatus, and medium
US8310499B2 (en) Balancing luminance disparity in a display by multiple projectors
KR100734935B1 (en) Area segmentation of an image
US10019970B2 (en) Steady color presentation manager
US11636814B2 (en) Techniques for improving the color accuracy of light-emitting diodes in backlit liquid-crystal displays
US20230073949A1 (en) Method and apparatus for rechecking defective product
TW201518694A (en) Method and system for detecting luminance of a light source
CN114299070B (en) Method and related device for detecting mura defects of display screen
CN110211518A (en) Circuit device and electronic equipment
KR20210014300A (en) Electronic device and control method thereof
CN113495709A (en) Color correction method, AP chip, terminal and storage medium
CN115705807A (en) Method, device, equipment and medium for testing low-gray display effect of display screen
CN104461797B (en) Test the system and method for notebook computer external display interface
US10971044B2 (en) Methods and systems for measuring electronic visual displays using fractional pixels
CN111311500A (en) Method and device for carrying out color restoration on image
KR20140121068A (en) Method and apparatus of inspecting mura of flat display
CN115278186B (en) Controllable uniform projection method, device, equipment and medium based on Internet of things
KR102486485B1 (en) Gamma calibration apparatus using 2D luminance meter
CN113630594B (en) Bad point detection system of display panel
CN113870768A (en) Display compensation method and device
CN113012607A (en) Display module detection method, device and system
US20230194915A1 (en) Method of detecting defective pixels in electronic displays
CN116777910B (en) Display screen sub-pixel brightness extraction precision evaluation method and system and electronic equipment
EP4187217A1 (en) Mobile computing device for performing color fastness measurements
CN112349231B (en) Residual image measuring method and device of display panel

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination