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 PDFInfo
- 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
Links
Images
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
本发明实施例公开了一种显示屏低灰显示效果的测试方法、装置、设备和介质。该方法包括:确定待测试显示屏在预设低灰度参数配置显示时的图像为待测试图像;基于预先建立的待测试图像的图像像素点和待测试显示屏的待测像素点的映射关系,根据待测试图像中图像像素点的像素值确定待测试显示屏中各待测像素点的像素值;根据各待测像素点的像素值与待测试显示屏的整屏像素均值的比较结果,确定待测试显示屏在预设低灰度参数下的低灰显示效果测试结果。通过将图像像素点与显示屏像素点进行映射,利用显示屏各像素点像素值与整屏均值的比较结果对低灰显示效果进行量化测试,提高了显示屏低灰显示效果的测试效率和准确率。
The embodiment of the invention discloses a test method, device, equipment and medium for the low-gray display effect of a display screen. The method includes: determining that the image of the display screen to be tested is displayed in a preset low grayscale parameter configuration as the image to be tested; based on the pre-established mapping relationship between the image pixels of the image to be tested and the pixel points of the display screen to be tested According to the pixel value of the image pixel in the image to be tested, the pixel value of each pixel to be tested in the display screen to be tested is determined; according to the comparison result of the pixel value of each pixel to be tested with the average pixel value of the entire screen of the display screen to be tested, Determine the test result of the low gray display effect of the display screen to be tested under the preset low gray scale parameters. By mapping the pixels of the image with the pixels of the display screen, and using the comparison result of the pixel value of each pixel point of the display screen with the average value of the entire screen, the low-gray display effect is quantitatively tested, which improves the test efficiency and accuracy of the low-gray display effect of the display screen. Rate.
Description
技术领域technical field
本发明实施例涉及显示技术领域,尤其涉及一种显示屏低灰显示效果的测试方法、装置、设备和介质。The embodiments of the present invention relate to the field of display technology, and in particular to a method, device, equipment and medium for testing the low-gray display effect of a display screen.
背景技术Background technique
随着显示设备技术的不断发展,显示屏出现了多阶灰度显示的技术,例如LED屏。显示灰阶的提升大大提高了屏幕的显示细腻度,但LED屏作为显示设备,低灰显示效果非常关键,即LED屏在各像素点为低灰度值下的显示效果,一般常见的低灰显示问题有低灰首行偏暗、低灰色块不均以及低灰渐变显示时出现暗线等。With the continuous development of display device technology, a multi-level grayscale display technology has appeared on the display screen, such as an LED screen. The improvement of the display gray scale greatly improves the display fineness of the screen, but the LED screen is used as a display device, and the low gray display effect is very important, that is, the display effect of the LED screen when each pixel is a low gray value, the common low gray Display problems include the darkening of the first line of low gray, uneven low gray blocks, and dark lines when low gray is gradually displayed.
因此需要在LED研发测试阶段和生产测试阶段对LED屏进行低灰度值的显示效果测试。现有技术主要依靠人工目视判决,人工调节LED屏的灰度等级,例如将灰度从1逐一设置到50或者100,分别观察在不同的低灰等级下LED的显示效果。Therefore, it is necessary to test the display effect of the LED screen with a low gray value during the LED R&D test stage and the production test stage. The existing technology mainly relies on manual visual judgment to manually adjust the gray level of the LED screen, for example, set the gray level from 1 to 50 or 100 one by one, and observe the LED display effect under different low gray levels.
但是该方法由于不同工作人员的经验不同,且部分色块低灰显示不均、首行偏暗、低灰渐变暗线这些问题只有在整个LED屏幕拼接起来才比较明显,在LED屏的单个箱体中显示不明显,给测试结果的准确性带来一定影响,容易出现漏判的问题。并且若要测试不同低灰等级的显示效果,需要人工进行逐一手动调节灰度值,导致测试效率低。However, due to the different experience of different staff members in this method, and some problems such as uneven low-gray display of some color blocks, dark first line, and low-gray gradient dark lines are more obvious only when the entire LED screen is spliced together. In a single box of the LED screen The display is not obvious, which has a certain impact on the accuracy of the test results, and is prone to missed judgments. And if you want to test the display effects of different low gray levels, you need to manually adjust the gray values one by one, resulting in low test efficiency.
发明内容Contents of the invention
本发明实施例提供一种显示屏低灰显示效果的测试方法、装置、设备和介质,提高了显示屏低灰显示效果的测试效率和准确率。Embodiments of the present invention provide a method, device, equipment and medium for testing the low-gray display effect of a display screen, which improve the test efficiency and accuracy of the low-gray display effect of the display screen.
第一方面,本发明实施例提供了一种显示屏低灰显示效果的测试方法,包括:In the first aspect, an embodiment of the present invention provides a method for testing the low-gray display effect of a display screen, including:
确定待测试显示屏在预设低灰度参数配置显示时的图像为待测试图像;Determine that the image of the display screen to be tested is the image to be tested when it is displayed in the preset low grayscale parameter configuration;
基于预先建立的所述待测试图像的图像像素点和所述待测试显示屏的待测像素点的映射关系,根据所述待测试图像中图像像素点的像素值确定所述待测试显示屏中各待测像素点的像素值;Based on the 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, according to the pixel values of the image pixels in the image to be tested, determine the The pixel value of each pixel to be tested;
根据所述各待测像素点的像素值与所述待测试显示屏的整屏像素均值的比较结果,确定所述待测试显示屏在所述预设低灰度参数下的低灰显示效果测试结果。According to the comparison result of the pixel value of each of the pixel points to be tested and the average pixel value of the entire screen of the display screen to be tested, determine the low gray display effect test of the display screen to be tested under the preset low gray scale parameters result.
第二方面,本发明实施例还提供了一种显示屏低灰显示效果的测试装置,包括:In the second aspect, the embodiment of the present invention also provides a test device for the low-gray display effect of the display screen, including:
待测试图像确定模块,用于确定待测试显示屏在预设低灰度参数配置显示时的图像为待测试图像;The image to be tested determination module is used to determine that the image of the display screen to be tested is the image to be tested when the preset low grayscale parameter configuration is displayed;
像素值确定模块,用于基于预先建立的所述待测试图像的图像像素点和所述待测试显示屏的待测像素点的映射关系,根据所述待测试图像中图像像素点的像素值确定所述待测试显示屏中各待测像素点的像素值;A pixel value determination module, configured to determine according to the pixel values of the image pixels in the image to be tested based on the 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 pixel value of each pixel to be tested in the display screen to be tested;
显示效果测试模块,用于根据所述各待测像素点的像素值与所述待测试显示屏的整屏像素均值的比较结果,确定所述待测试显示屏在所述预设低灰度参数下的低灰显示效果测试结果。A display effect testing module, configured to determine the preset low grayscale parameter of the display screen to be tested according to the comparison result between the pixel values of the pixel points to be tested and the average pixel value of the entire screen of the display screen to be tested The lower gray shows the effect test results.
第三方面,本发明实施例还提供了一种电子设备,包括:In a third aspect, an embodiment of the present invention also provides an electronic device, including:
一个或多个处理器;one or more processors;
存储装置,用于存储一个或多个程序,storage means for storing 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 present invention.
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明任一实施例所述的显示屏低灰显示效果的测试方法。In the fourth aspect, the embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the low-gray display effect of the display screen as described in any embodiment of the present invention is realized. test method.
本发明实施例确定待测试显示屏在预设低灰度参数配置显示时的图像为待测试图像;基于预先建立的待测试图像的图像像素点和待测试显示屏的待测像素点的映射关系,根据待测试图像中图像像素点的像素值确定待测试显示屏中各待测像素点的像素值;根据各待测像素点的像素值与待测试显示屏的整屏像素均值的比较结果,确定待测试显示屏在预设低灰度参数下的低灰显示效果测试结果。通过图像算法将图像像素点与显示屏像素点进行映射,利用显示屏各像素点像素值与整屏均值的比较结果对低灰显示效果进行量化测试,提高了显示屏低灰显示效果的测试效率和准确率。The embodiment of the present invention determines that the image of the display screen to be tested is the image to be tested when it is displayed in a preset low grayscale parameter configuration; based on the pre-established mapping relationship between the image pixels of the image to be tested and the pixel points of the display screen to be tested , determine the pixel value of each pixel to be tested in the display screen to be tested according to the pixel value of the image pixel in the image to be tested; according to the comparison result of the pixel value of each pixel to be tested with the average pixel value of the entire screen of the display screen to be tested, Determine the low-gray display effect test results of the display screen to be tested under preset low-grayscale parameters. Through the image algorithm, the image pixels are mapped to the pixels of the display screen, 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 with the average value of the entire screen, which improves the test efficiency of the low-gray display effect of the display screen and accuracy.
附图说明Description of drawings
图1是本发明实施例一中的显示屏低灰显示效果的测试方法的流程图;Fig. 1 is a flow chart of the test method for the low-gray display effect of the display screen in
图2是本发明实施例一中的LED屏低灰显示效果的测试装置示意图;2 is a schematic diagram of a test device for the low-gray display effect of the LED screen in
图3是本发明实施例一中的LED屏待测像素点的实际像素发光范围确定示意图;Fig. 3 is a schematic diagram of determining the actual pixel luminous range of the LED screen to be tested in
图4是本发明实施例一中的实际图像像素点区域的子区域划分示意图;Fig. 4 is a schematic diagram of sub-region division of an actual image pixel point region in
图5是本发明实施例二中的显示屏低灰显示效果的测试装置的结构示意图;Fig. 5 is a schematic structural diagram of a test device for the low-gray display effect of the display screen in
图6是本发明实施例三中的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device in
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.
实施例一Embodiment one
图1是本发明实施例一中的显示屏低灰显示效果的测试方法的流程图,本实施例可适用于显示屏在研发测试阶段和生产测试阶段的低灰效果检验的情况,例如小间距LED屏。该方法可以由显示屏低灰显示效果的测试装置来执行,该装置可以采用软件和/或硬件的方式实现,并可配置在电子设备中,例如电子设备可以是后台服务器等具有通信和计算能力的设备。如图1所示,该方法具体包括:Figure 1 is a flow chart of the test method for the low-gray display effect of the display screen in
步骤101、确定待测试显示屏在预设低灰度参数配置显示时的图像为待测试图像。
其中,显示屏是指通过各种显示技术来实现色彩的显示器,例如,待测试显示屏可以是LED屏等,待测试LED屏是指待测试低灰度下显示效果的小间距LED屏,小间距是指LED屏中灯珠间隙小于2.5毫米以下。预设低灰度参数是指需要测试的低灰度等级,具体的,LED屏中每个像素点中包括三个灯珠,三个灯珠各散发红绿蓝单一光,通过设置三个颜色的亮度值以确定每个像素点的颜色,预设低灰度参数通过设置三个灯珠的亮度值进行确定,例如,需要进行测试的低灰度等级为红色低灰度值为1,则对应的低灰度参数为:红灯珠的亮度值为1、绿灯珠的亮度为0和蓝灯珠的亮度值为0;需要进行测试的低灰度等级为绿色低灰度值为1,则对应的低灰度参数为:红灯珠的亮度值为0、绿灯珠的亮度为1和蓝灯珠的亮度值为0;需要进行测试的低灰度等级为蓝色低灰度值为1,则对应的低灰度参数为:红灯珠的亮度值为0、绿灯珠的亮度为0和蓝灯珠的亮度值为1;需要进行测试的低灰度等级为白色低灰度值为1,则对应的低灰度参数为:红灯珠的亮度值为1、绿灯珠的亮度为1和蓝灯珠的亮度值为1;相应的,按照该方法可以设置不同低灰度等级的低灰度参数。可选的,预设低灰度参数中包括多个不同低灰度等级的参数,以对多个低灰度等级下的显示效果进行测试。Among them, the display screen refers to a display that realizes color through various display technologies. For example, the display screen to be tested can be an LED screen, etc., and the LED screen to be tested refers to a small-pitch LED screen that is to be tested for a display effect in a low grayscale. Spacing means that the gap between the lamp beads in the LED screen is less than 2.5mm. The preset low grayscale parameter refers to the low grayscale level that needs to be tested. Specifically, each pixel in the LED screen includes three lamp beads, and each of the three lamp beads emits a single light of red, green and blue. By setting the three color The brightness value of each pixel is determined by the brightness value of each pixel. The preset low gray level parameter is determined by setting the brightness value of the three lamp beads. For example, the low gray level that needs to be tested is red and the low gray level value is 1, then The corresponding low grayscale parameters are: the brightness value of the red light bead is 1, the brightness of the green light bead is 0, and the brightness value of the blue light bead is 0; the low grayscale level to be tested is green and the low grayscale value is 1, Then the corresponding low gray scale parameters are: the brightness value of the red light bead is 0, the brightness of the green light bead is 1, and the brightness value of the blue light bead is 0; the low gray scale level to be tested is the blue low
具体的,点亮待测试显示屏,并将待测试显示屏中各灯珠的亮度值按照预设低灰度参数进行配置,对显示的显示屏进行拍照,得到的包括显示屏的图像为待测试图像。若预设低灰度参数中包括多个不同低灰度等级的参数,由于待测试图像的图像像素点和待测试显示屏的待测像素点的映射关系是预先建立的,因此在基于该映射关系进行测试时,图像采集装置和待测试显示屏之间的位置关系需要固定。Specifically, light up the display screen to be tested, and configure the brightness value of each lamp bead in the display screen to be tested according to the preset low grayscale parameters, take a photo of the displayed screen, and the image obtained including the display screen is the image to be tested. test image. If the preset low grayscale parameters include multiple parameters of different low grayscale levels, since the mapping relationship between the image pixels of the image to be tested and the pixels to be tested on the display screen to be tested is pre-established, based on the mapping When testing the relationship, the positional relationship between the image acquisition device and the display screen to be tested needs to be fixed.
在一个可行的实施例中,预设低灰度参数预先设置在配置参数文件中;其中,配置参数文件中包括至少两个低阶灰度等级的预设低灰度参数;In a feasible embodiment, the preset low grayscale parameters are preset in the configuration parameter file; wherein, the configuration parameter file includes preset low grayscale parameters of at least two low-order grayscale levels;
相应的,步骤101,包括:Correspondingly,
通过发送卡依次读取配置参数文件中的预设低灰度参数;Read the preset low grayscale parameters in the configuration parameter file sequentially through the sending card;
将预设低灰度参数发送至与发送卡相连的接收卡;Send the preset low grayscale parameters to the receiving card connected to the sending card;
控制与待测试显示屏连接的接收卡将预设低灰度参数送显;Control the receiving card connected to the display screen to be tested to send the preset low grayscale parameters to the display;
确定对待测试显示屏在预设低灰度参数配置下显示时拍摄的图像为待测试图像。It is determined that the image taken when the display screen to be tested is displayed under the preset low grayscale parameter configuration is the image to be tested.
其中,配置参数文件中包括用于控制显示屏显示灰度的至少两个低灰度等级的预设低灰度参数,以测试不同低灰显示效果。示例性的,配置参数文件中包括灰度等级从1到X,显示红、绿、蓝和白的参数,其中,X的值可以设置为50或者100,可以根据实际情况进行设置,在此不作限制。Wherein, the configuration parameter file includes preset low grayscale parameters for controlling at least two low grayscale levels of grayscale displayed on the display screen, so as to test different low grayscale display effects. Exemplarily, the configuration parameter file includes gray levels from 1 to X, displaying red, green, blue and white parameters, where the value of X can be set to 50 or 100, which can be set according to the actual situation, and will not be described here. limit.
发送卡用于读取配置参数文件中的控制显示屏的灰度参数,例如通过发送卡内部的逻辑处理芯片(FPGA)外挂一个Flash,在该Flash中写入控制显示屏灰度的配置参数文件。发送卡读取到预设低灰度参数后将该参数发送至接收卡,以便接收卡送显,使得待测试显示屏按照该预设低灰度参数进行显示。The sending card is used to read the grayscale parameters of the control display in the configuration parameter file, for example, a Flash is plugged into the logic processing chip (FPGA) inside the sending card, and the configuration parameter file for controlling the grayscale of the display is written in the Flash . After the sending card reads the preset low grayscale parameter, it sends the parameter to the receiving card, so that the receiving card can send the display, so that the display screen to be tested can be displayed according to the preset low grayscale parameter.
具体的,如图2所示为LED屏低灰显示效果的测试装置示意图,如图2所示,控制端电脑PC一端通过USB端口与发送卡相连,另一端通过网线与高清摄像头相连,发送卡通过网线与接收卡相连,然后接收卡通过HUB板与待测试LED板连接,用于送显;发送卡内部的逻辑处理芯片(FPGA)外挂一个Flash,此Flash内需要写入配置参数文件。在实际测试时,点亮LED屏,PC控制发送卡依次读取配置参数文件中的预设低灰度参数,例如红色低灰度值为1,接收卡将该参数送显后,PC控制摄像头进行拍照,得到红色低灰度值为1下的待测试图像;接着PC按照配置参数文件中的顺序读取下一个预设低灰度参数,例如绿色低灰度值为1,并按照该方法进行拍照,得到绿色低灰度值为1的待测试图像,以此类推,得到配置参数文件中所有设置的低灰度参数的待测试图像。在该过程中需要保持摄像头与LED之间的位置固定,以避免影响后续映射关系的准确性。Specifically, as shown in Figure 2 is a schematic diagram of the test device for the low-gray display effect of the LED screen. It is connected to the receiving card through the network cable, and then the receiving card is connected to the LED board to be tested through the HUB board for sending display; the logic processing chip (FPGA) inside the sending card is plugged with a Flash, and the configuration parameter file needs to be written into the Flash. In the actual test, light up the LED screen, and the PC controls the sending card to read the preset low grayscale parameters in the configuration parameter file in turn, for example, the red low grayscale value is 1, and after the receiving card sends this parameter to the display, the PC controls the camera Take a photo to get the image to be tested with a red low grayscale value of 1; then the PC reads the next preset low grayscale parameter according to the order in the configuration parameter file, for example, the green low grayscale value is 1, and follow this method Take pictures to obtain the image to be tested with a green low grayscale value of 1, and so on, to obtain the image to be tested with all the low grayscale parameters set in the configuration parameter file. During this process, the position between the camera and the LED needs to be kept fixed, so as not to affect the accuracy of the subsequent mapping relationship.
通过控制发送卡读取配置参数文件中不同低灰度参数的方式,控制输出不同小间距显示屏的低灰待测试图像,提高测试效率,避免人为依次调节灰度值。By controlling the sending card to read different low-grayscale parameters in the configuration parameter file, control the output of low-gray to-be-tested images of different small-pitch display screens, improve test efficiency, and avoid artificially adjusting grayscale values in sequence.
步骤102、基于预先建立的待测试图像的图像像素点和待测试显示屏的待测像素点的映射关系,根据待测试图像中图像像素点的像素值确定待测试显示屏中各待测像素点的像素值。
其中,预设建立的待测试图像的图像像素点和待测试显示屏的待测像素点的映射关系包括了每个待测像素点在待测试图像中实际对应的图像像素点。Wherein, the pre-established mapping relationship between the image pixels of the image to be tested and the pixels to be tested of the display screen includes the actual corresponding image pixel of each pixel to be tested in the image to be tested.
具体的,对待测试图像进行像素提取,以对齐待测试显示屏中每个待测像素点。示例性的,基于映射关系,将待测试图像进行像素点分割,使得待测试图像中的图像像素点与显示屏的待测像素点进行对应。确定与目标待测像素点对应的目标图像像素点,根据该目标图像像素点的像素值确定目标待测像素点的像素值。示例性的,将目标图像像素点的各分量平均像素值作为目标待测像素点的各分量像素值。Specifically, pixel extraction is performed on the image to be tested, so as to align each pixel to be tested in the display screen to be tested. Exemplarily, based on the mapping relationship, the image to be tested is divided into pixels, so that the image pixels in the image to be tested correspond to the pixels to be tested on the display screen. A target image pixel point corresponding to the target pixel point to be detected is determined, and a pixel value of the target pixel point to be detected is determined according to the pixel value of the target image pixel point. Exemplarily, the average pixel value of each component of the pixel point of the target image 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 pixels of the image to be tested and the pixels to be tested of the display screen to be tested is established through the following steps:
确定待测试图像中待测试显示屏的显示区域为有效区域;Determining that the display area of the display screen to be tested in the image to be tested is an effective area;
根据待测试图像的图像分辨率确定有效区域的区域分辨率;determining the area resolution of the effective area according to the image resolution of the image to be tested;
根据区域分辨率与待测试显示屏的显示屏分辨率之间的比例关系,确定在待测试图像中与待测试显示屏中各待测像素点映射的理论图像像素点区域;According to the proportional relationship between the area resolution and the display screen resolution of the display screen to be tested, determine the theoretical image pixel area mapped to each pixel to be tested in the image to be tested and the display screen to be tested;
根据待测试显示屏的封装边缘参数和间隙参数确定各待测像素点的实际像素发光范围;Determine the actual pixel luminous range of each pixel to be tested according to the packaging edge parameters and gap parameters of the display screen to be tested;
确定理论图像像素点区域中与实际像素发光范围映射的实际图像像素点区域。Determine the actual image pixel area mapped to the actual pixel luminescence range in the theoretical image pixel area.
由于待测试图像中除了包括显示屏还包括拍摄背景,因此首先需要将显示屏的所在区域进行提取,得到仅包括显示屏的有效区域,该提取可以根据边缘提取或者预先确定位置关系进行确定,在此不作限制。确定有效区域后,根据待测试图像的图像分辨率确定有效区域的区域分辨率,其中,待测试图像的图像分辨率根据图像采集装置的自身参数进行确定,有效区域的区域分辨率根据有效区域在待测试图像中的提取位置关系进行确定。待测试显示屏的显示屏分辨率也可以根据屏幕的属性参数进行确定,根据显示屏所在的区域分辨率与自身显示屏分辨率之间的比例关系,即可确定显示屏上一个像素点在图像上所对应的理论图像像素点区域。Since the image to be tested includes not only the display screen but also the shooting background, it is first necessary to extract the area where the display screen is located to obtain an effective area that only includes the display screen. This extraction can be determined based on edge extraction or a predetermined positional relationship. This is not limited. After the effective area is determined, the regional 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 itself, and the regional resolution of the effective area is determined according to the The extracted positional relationship in the image to be tested is determined. The display resolution of the display screen to be tested can also be determined according to the attribute parameters of the screen. According to the proportional relationship between the resolution of the area where the display screen is located and the resolution of its own display screen, it can be determined that a pixel on the display screen is in the image The theoretical image pixel area corresponding to above.
示例性的,根据图像采集装置的属性参数确定待测试图像的分辨率为1920*1080,根据有效区域的提取位置确定有效区域的区域分辨率为1620*960。根据待测试显示屏的属性参数确定显示屏分辨率为162*96,即显示屏上的像素点为162*96,对应图像上的有效区域中所包括的像素点为1620*960,且显示屏上每个像素点的大小是相同的,即可确定每一个显示屏上的待测像素点在待测试图像上所占面积为对应10*10的图像像素点,进一步的可以确定每个待测像素点在待测试图像上所对应的理论图像像素点区域。Exemplarily, the resolution of the image to be tested is determined to be 1920*1080 according to the attribute parameters of the image acquisition device, and the area resolution of the effective area is determined to be 1620*960 according to the extraction position of the effective area. According to the attribute parameters of the display screen to be tested, the resolution of the display screen is determined to be 162*96, that is, the pixels on the display screen are 162*96, and the pixels included in the effective area on the corresponding image are 1620*960, and the display screen The size of each pixel on the screen is the same, it can be determined that the area occupied by each pixel to be tested on the image to be tested is the corresponding 10*10 image pixels, and further can be determined that each pixel to be tested The theoretical image pixel area corresponding to the pixel on the image to be tested.
当显示屏为LED屏时,由于LED屏是由多个灯珠组成,灯珠之间存在间隙,且在像素点需要封装,在不同像素点之间存在拼缝,因此在建立待测试图像的图像像素点和待测试LED屏的待测像素点的映射关系时应该避免拼缝和LED灯珠的间隙干扰,以使得最终的映射关系更加准确。如图3所示为LED屏待测像素点的实际像素发光范围确定示意图。如图3所示,每个方框单元代表一个待测像素点,像素点的封装边缘参数和LED灯珠的间隙参数可以根据LED屏的属性参数进行确定,根据LED灯珠间隙和封装边缘可以得到该待测像素点的实际发光面积,根据该实际发光面积与待测像素点面积之间的关系确定待测像素点的实际像素发光范围。再根据实际像素发光范围与待测像素点之间的位置关系,确定理论图像像素点区域中的实际图像像素点区域。示例性的,在确定待测像素点的实际图像像素点区域时,以左上角第一个待测像素点为例,其理论图像像素点区域为从有效区域左上角起10*10的范围,根据实际像素发光范围占待测像素点的位置关系,确定该待测像素点的实际图像像素点区域为左上角坐标为2*2、右下角坐标为8*8的正方形区域,即在10*10的范围内周边两个像素点的区域为封装边缘和LED间隙带来的实际不发光区域,该两个像素点的实际计算过程根据封装边缘参数和间隙参数即可确定,属于本领域人员的常用技术,在此不再赘述。其他待测像素点以此类推,依次确定其他待测像素点关联的实际图像像素点区域。When the display screen is an LED screen, since the LED screen is composed of multiple lamp beads, there are gaps between the lamp beads, and the pixels need to be packaged, and there are seams between different pixels, so when establishing the image to be tested When mapping the pixel points of the image and the pixels to be tested on the LED screen to be tested, the interference between the patchwork and the gap between the LED lamp beads should be avoided, so as to make the final mapping relationship more accurate. Figure 3 is a schematic diagram of determining the actual pixel luminous range of the pixel to be tested on the LED screen. As shown in Figure 3, each box unit represents a pixel to be tested. The package edge parameters of the pixel and the gap parameters of the LED lamp bead can be determined according to the attribute parameters of the LED screen. According to the LED lamp bead gap and the package edge can be determined The actual light-emitting area of the pixel to be tested is obtained, and the actual light-emitting range of the pixel to be tested is determined according to the relationship between the actual light-emitting area and the area of the pixel to be tested. Then, according to the positional relationship between the actual pixel light-emitting range and the pixel point to be measured, the actual image pixel point area in the theoretical image pixel point area is determined. Exemplarily, when determining the actual image pixel area of the pixel to be tested, taking the first pixel to be tested in the upper left corner as an example, the theoretical image pixel area is a range of 10*10 from the upper left corner of the effective area, According to the positional relationship between the actual pixel luminous range and the pixel to be tested, it is determined that the actual image pixel area of the pixel to be tested is a square area with the coordinates of the upper left corner being 2*2 and the coordinates of the lower right corner being 8*8, that is, at 10* The area of two surrounding pixels within the range of 10 is the actual non-luminous area brought about by the edge of the package and the gap between the LEDs. The actual calculation process of the two pixels can be determined according to the parameters of the package edge and the gap, which belongs to those skilled in the art. Common techniques are not repeated here. The other pixel points to be tested are deduced by analogy, and the actual image pixel area associated with the other pixel points to be tested is determined in turn.
在一个可行的实施例中,步骤102,包括:In a feasible embodiment,
基于映射关系,确定在待测试图像中与待测试显示屏中目标待测像素点映射的实际图像像素点区域;Based on the mapping relationship, determine the actual image pixel point area mapped to the target pixel point to be measured in the display screen to be tested in the image to be tested;
根据实际图像像素点区域的像素值确定待测试显示屏中目标待测像素点的像素值。The pixel value of the target pixel to be tested in the display screen to be tested is determined according to the pixel value of the pixel area of the actual image.
基于上述建立的映射关系,依次确定待测试图像中与各待测像素点映射的实际图像像素点区域,其中,目标待测像素点即为每一个待测像素点。在确定每一个待测像素点的实际图像像素点区域后,从图像中读取该实际图像像素点区域内的像素值,根据该像素值确定对应待测像素点的像素值。示例性的,将该实际图像像素点区域内像素值均值作为对应待测像素点的像素值。当像素值包括RGB三个分量值后,依次根据实际图像像素点区域内各分量值均值作为对应待测像素点的该分量像素值。或者,从实际图像像素点区域中选取至少两个点,根据这至少两个点的像素值均值作为待测像素点的像素值。Based on the mapping relationship established above, the actual image pixel area mapped to each pixel to be tested in the image to be tested is sequentially determined, wherein the target pixel to be tested is each pixel to be tested. After the actual image pixel area of each pixel to be tested is determined, the pixel value in the actual image pixel area is read from the image, and the pixel value corresponding to the pixel to be tested is determined according to the pixel value. Exemplarily, the average value of the pixel values in the actual image pixel point area is used as the pixel value corresponding to the pixel point to be measured. When the pixel value includes RGB three component values, the average value of each component value in the actual image pixel area is used as the component pixel value corresponding to the pixel point to be measured. Alternatively, at least two points are selected from the pixel area of the actual image, and the pixel value of the pixel to be measured is taken as the pixel value of the pixel value of the at least two points.
在一个可行的实施例中,根据实际图像像素点区域的像素值确定待测试显示屏中目标待测像素点的像素值,包括:In a feasible embodiment, the pixel value of the target pixel to be tested in the display screen to be tested is determined according to the pixel value of the pixel area of the actual image, including:
将实际图像像素点区域划分为至少两个子区域;Divide the actual image pixel area into at least two sub-areas;
对每个子区域内的像素点进行取样,将取样像素点的平均像素值作为子区域的像素值;Sampling the pixels in each sub-region, and using the average pixel value of the sampled pixels as the pixel value of the sub-region;
将至少两个子区域的像素值均值作为待测试显示屏中目标待测像素点的像素值。The average value of the pixel values of at least two sub-regions is used as the pixel value of the target pixel point to be tested in the display screen to be tested.
由于每个待测像素点对应的实际图像像素点区域中所包括的像素点数量可能较多,若对实际图像像素点区域中每个像素点均参与到计算中,则会造成计算量增加。因此在本发明实施例中对实际图像像素点区域进行划分为多个子区域,对子区域内的像素点进行取样,根据取样像素点的像素值确定子区域的像素值,再根据子区域的像素值确定实际图像像素点区域的像素值,作为目标待测像素点的像素值。Since the number of pixels included in the actual image pixel area corresponding to each pixel to be measured may be large, if every pixel in the actual image pixel area is involved in the calculation, the amount of calculation will increase. Therefore, in the embodiment of the present invention, the actual image pixel area is divided into multiple sub-areas, the pixels in the sub-areas are sampled, the pixel value of the sub-area is determined according to the pixel value of the sampled pixel, and then the pixel value of the sub-area is determined according to the pixel value of the sub-area. Value determines the pixel value of the actual image pixel area, which is used as the pixel value of the target pixel to be tested.
示例性的,如图4所示为实际图像像素点区域的子区域划分示意图,将实际图像像素点区域等比例划分为四个子区域,从每个子区域中进行取样,取样的数量根据测试精度进行设置,在此不作限制,将取样像素点的各分量的平均像素值作为子区域对应分量的像素值,再根据子区域各分量的像素值均值确定目标待测像素点的各分量像素值。Exemplarily, as shown in Figure 4 is a schematic diagram of sub-region division of the actual image pixel area, the actual image pixel area is divided into four sub-areas in equal proportions, and samples are taken from each sub-area, and the number of samples is determined according to the test accuracy. Setting, without limitation, 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 the pixel value of each component of the target pixel point to be tested is determined according to the average value of the pixel value of each component of the sub-region.
步骤103、根据各待测像素点的像素值与待测试显示屏的整屏像素均值的比较结果,确定待测试显示屏在预设低灰度参数下的低灰显示效果测试结果。
在确定各待测像素点的像素值后,将所有待测像素点的像素值求平均作为整屏像素均值,再将每个待测像素点的像素值与该整屏像素均值进行比较,即可得到是否存在任一像素点的像素值与均值的差距过大,若差距过大,则表示该像素点在低灰显示下效果较差,存在一定问题。After determining the pixel value of each pixel to be tested, the pixel values of all the pixels to be tested are averaged as the average value of the entire screen pixel, and then the pixel value of each pixel to be tested is compared with the average value of the entire screen pixel, that is It can be obtained whether there is a large gap between the pixel value of any pixel point and the average value. If the gap is too large, it means that the effect of the pixel point is poor under low-gray display, and there is a certain problem.
由于整个显示屏大部分的像素点在低灰显示时是没有问题的,存在显示问题的仅仅是少数像素点,因此整屏像素均值可以反映显示屏在低灰显示时的理论水平,用各待测像素点的像素值与理论水平进行比较,既实现对显示屏偏色测试的量化,又提高了测试准确性。Since most of the pixels of the entire display screen have no problem in low-gray display, only a few pixels have display problems, so the average value of the entire screen pixels can reflect the theoretical level of the display screen in low-gray display. The pixel value of the measured pixel is compared with the theoretical level, which not only realizes the quantification of the color cast test of the display screen, but also improves the test accuracy.
示例性的,在上述示例的基础上,将有效区域按照待测像素点分割成162*96=15552个单元,每个单元取4个点求像素值均值,由此得出15552个值,由于取样点数足够大,此值可代表显示屏所有像素点的颜色分量均值水平,再判断每个点与此均值的差值,即可判断整个屏幕有无偏色等问题。Exemplarily, on the basis of the above example, the effective area is divided into 162*96=15552 units according to the pixels to be tested, and each unit takes 4 points to calculate the average value of the pixel value, thus obtaining 15552 values, because The number of sampling points is large enough, this value can represent the average level of color components of all pixels of the display screen, and then judge the difference between each point and this average value, you can judge whether the entire screen has color cast or not.
在一个可行的实施例中,待测试显示屏为待测试LED屏,各待测像素点的像素值包括各待测像素点的R分量值、G分量值和B分量值;In a feasible embodiment, the display screen to be tested is an LED screen to be tested, and the pixel value of each pixel to be tested includes an R component value, a G component value and a B component value of each pixel to be tested;
相应的,步骤103,包括:Correspondingly,
根据各待测像素点的各分量值确定待测试LED屏的R分量整屏均值、G分量整屏均值和B分量整屏均值;According to each component value of each pixel point to be tested, determine the average value of the entire screen of the R component, the average value of the entire screen of the G component, and the average value of the entire screen of the B component of the LED screen to be tested;
根据各待测像素点的R分量值与R分量整屏均值的比较结果、G分量值与G分量整屏均值的比较结果以及B分量值与B分量整屏均值的比较结果,确定待测试LED屏在预设低灰度参数下的低灰显示效果测试结果。Determine the LED to be tested according to the comparison results of the R component value of each pixel to be tested with the average value of the entire screen of the R component, the comparison result of the value of the G component with the average value of the entire screen of the G component, and the comparison result of the value of the B component with the average value of the entire screen of the B component. The low-gray display effect test results of the screen under the preset low-grayscale parameters.
待测像素点中包括三个单色灯珠,因此待测像素点的像素值包括RGB各分量值。则根据实际图像像素点区域的像素值确定待测试LED屏中目标待测像素点的像素值中也包括三个分量值。根据所有待测像素点的各分量值的均值确定待测试LED屏的R分量整屏均值、G分量整屏均值和B分量整屏均值。示例性的,确定各待测像素点的R、G、B分量值分别为R1~Ri、G1~Gi、B1~Bi,其中,i表示待测像素点的数量。计算R1~Ri均值M1为R分量整屏均值;G1~Gi均值M2为G分量整屏均值;B1~Bi均值M3为B分量整屏均值。The pixel to be tested includes three single-color lamp beads, so the pixel value of the pixel to be tested includes RGB component values. Then, according to the pixel value of the actual image pixel area, it is determined that the pixel value of the target pixel to be tested in the LED screen to be tested also includes three component values. According to the average value of each component value of all pixels to be tested, determine the average value of the entire screen of the R component, the average value of the entire screen of the G component, and the average value of the entire screen of the B component of the LED screen to be tested. Exemplarily, the R, G, and B component values of each pixel to be tested are determined to be R1˜Ri, G1˜Gi, and B1˜Bi, respectively, where i represents the number of pixels to be tested. Calculate the mean value M1 of R1~Ri as the whole screen mean of R component; the mean value M2 of G1~Gi is the whole screen mean value of G component; the mean value M3 of B1~Bi is the whole screen mean value of B component.
判断各待测像素点的各分量值与该分量整屏均值的差距,若任一待测像素点的任一分量值差距过大,则表示该待测像素点在该预设灰度参数下的显示效果存在问题。Determine the difference between each component value of each pixel to be tested and the average value of the entire screen of the component. If the difference between any component value of any pixel to be tested is too large, it means that the pixel to be tested is under the preset grayscale parameter. There is a problem with the display of .
在一个可行的实施例中,根据各待测像素点的R分量值与R分量整屏均值的比较结果、G分量值与G分量整屏均值的比较结果以及B分量值与B分量整屏均值的比较结果,确定待测试LED屏在预设低灰度参数下的低灰显示效果测试结果,包括:In a feasible embodiment, according to the comparison result of the R component value of each pixel point to be measured with the average value of the entire screen of the R component, the comparison result of the value of the G component and the average value of the entire screen of the G component, and the comparison result of the value of the B component and the average value of the entire screen of the B component The comparison results, determine the low-gray display effect test results of the LED screen to be tested under the preset low-grayscale parameters, including:
若待测试LED屏的所有待测像素点的R分量值与R分量整屏均值的差值在预设范围内、G分量值与G分量整屏均值差值在预设范围内以及B分量值与B分量整屏均值差值在预设范围内,确定待测试LED屏在预设低灰度参数下的低灰显示效果测试结果为测试通过。If the difference between the R component value and the average value of the entire screen of the R component of all the pixels to be tested in the LED screen to be tested is within the preset range, the difference between the value of the G component and the average value of the entire screen of the G component is within the preset range, and the value of the B component If the difference between the average value of the whole screen and the B component is within the preset range, it is determined that the test result of the low-gray display effect of the LED screen to be tested under the preset low-grayscale parameters is a test pass.
判断丨R1-M1丨≤Y&丨R2-M1丨≤Y…丨Ri-M1丨≤Y&丨G1-M2丨≤Y&丨G2-M2丨≤Y…丨Gi-M2丨≤Y&丨B1-M3丨≤Y&丨B2-M3丨≤Y…丨Bi-M3丨≤Y是否满足,如果都满足,则确定待测试LED屏在预设低灰度参数下的低灰显示效果测试结果为测试通过;若任一条件不满足,则确定测试不通过。其中Y值为预设范围,可以根据LED屏的产品品质等级进行设置,Y值越小,代表LED屏的显示品质等级越高,在此不对具体数值进行限制。Judge丨R1-M1丨≤Y&丨R2-M1丨≤Y...丨Ri-M1丨≤Y&丨G1-M2丨≤Y&丨G2-M2丨≤Y...丨Gi-M2丨≤Y&丨B1-M3丨Whether ≤Y&丨B2-M3丨≤Y...丨Bi-M3丨≤Y is satisfied, if all are satisfied, then determine the test result of the low-gray display effect of the LED screen to be tested under the preset low-grayscale parameters as a test pass; if If either condition is not met, it is determined that the test fails. The Y value is a preset range, which can be set according to the product quality level of the LED screen. The smaller the Y value, the higher the display quality level of the LED screen. There is no limit to the specific value here.
可选的,若确定在该预设低灰度参数下测试不通过,则表示该显示屏存在低灰显示问题,不必继续测试;若确定在该预设低灰度参数下测试通过,则继续进行测试,发送卡继续从配置参数文件中获取下一个预设低灰度参数,继续对该预设低灰度参数的待测试图像进行判断。若配置参数文件中存在任一预设低灰度参数的测试结果为测试不通过,则该显示屏低灰显示存在问题;只有在配置参数文件中所有预设低灰度参数的测试结果均为通过,则该显示屏的低灰显示没有问题。在输出不同待测试图像的情况下,利用摄像机图像像素与小间距LED像素之间的对应关系,得出LED像素色度均值,利用LED像素色度分量与整屏均值的差值比较方式判断像素偏色,使偏色测试得以量化,提升了测试效率和准确率。Optionally, if it is determined that the test fails under the preset low grayscale parameters, it means that the display screen has a low grayscale display problem, and there is no need to continue the test; if it is determined that the test passes under the preset low grayscale parameters, continue To test, the sending card continues to obtain the next preset low grayscale parameter from the configuration parameter file, and continues to judge the image to be tested with the preset low grayscale parameter. If the test result of any preset low-grayscale parameter in the configuration parameter file is that the test fails, then there is a problem with the low-gray display on the display; only if the test results of all preset low-grayscale parameters in the configuration parameter file are Pass, then there is no problem with the low gray display of this display. In the case of outputting different images to be tested, the corresponding relationship between the camera image pixels and the small-pitch LED pixels is used to obtain the average value of the LED pixel chromaticity, and the difference between the LED pixel chromaticity component and the average value of the entire screen is used to judge the pixel. Color cast, so that the color cast test can be quantified, improving the test efficiency and accuracy.
本发明实施例通过图像算法将图像像素点与显示屏像素点进行映射,利用显示屏各像素点像素值与整屏均值的比较结果对低灰显示效果进行量化测试,提高了显示屏低灰显示效果的测试效率和准确率。In the embodiment of the present invention, image pixels are mapped to display screen pixels through an image algorithm, and the low-gray display effect is quantitatively tested by using the comparison result of each pixel pixel value of the display screen with the average value of the entire screen, thereby improving the low-gray display of the display screen. The test efficiency and accuracy of the effect.
实施例二Embodiment two
图5是本发明实施例二中的显示屏低灰显示效果的测试装置的结构示意图,本实施例可适用于小间距LED屏在研发测试阶段和生产测试阶段的低灰效果检验的情况。如图5所示,该装置包括:Fig. 5 is a schematic structural diagram of the test device for the low-gray display effect of the display screen in
待测试图像确定模块510,用于确定待测试显示屏在预设低灰度参数配置显示时的图像为待测试图像;The image to be tested
像素值确定模块520,用于基于预先建立的所述待测试图像的图像像素点和所述待测试显示屏的待测像素点的映射关系,根据所述待测试图像中图像像素点的像素值确定所述待测试显示屏中各待测像素点的像素值;The pixel
显示效果测试模块530,用于根据所述各待测像素点的像素值与所述待测试显示屏的整屏像素均值的比较结果,确定所述待测试显示屏在所述预设低灰度参数下的低灰显示效果测试结果。The display
可选的,所述装置包括映射关系建立模块,具体用于:Optionally, the device includes a mapping relationship establishment module, specifically for:
确定所述待测试图像中所述待测试显示屏的显示区域为有效区域;Determining that the display area of the display screen to be tested in the image to be tested is an effective area;
根据所述待测试图像的图像分辨率确定所述有效区域的区域分辨率;determining the area resolution of the effective area according to the image resolution of the image to be tested;
根据所述区域分辨率与待测试显示屏的显示屏分辨率之间的比例关系,确定在所述待测试图像中与所述待测试显示屏中各待测像素点映射的理论图像像素点区域;According to the proportional relationship between the area resolution and the display screen resolution of the display screen to be tested, determine the theoretical image pixel area mapped to each pixel to be measured in the display screen to be tested in the image to be tested ;
根据所述待测试显示屏的封装边缘参数和间隙参数确定各待测像素点的实际像素发光范围;determining the actual pixel light-emitting range of each pixel to be tested according to the package edge parameters and gap parameters of the display screen to be tested;
确定所述理论图像像素点区域中与所述实际像素发光范围映射的实际图像像素点区域。An actual image pixel area mapped to the actual pixel light emission range in the theoretical image pixel area is determined.
可选的,像素值确定模块,包括:Optionally, the pixel value determination module includes:
像素点映射单元,用于基于所述映射关系,确定在所述待测试图像中与所述待测试显示屏中目标待测像素点映射的实际图像像素点区域;A pixel mapping unit, configured to determine, based on the mapping relationship, an actual image pixel region mapped to a target pixel to be tested in the display to be tested in the image to be tested;
像素值确定单元,用于根据所述实际图像像素点区域的像素值确定所述待测试显示屏中所述目标待测像素点的像素值。A pixel value determining unit, configured to determine the pixel value of the target pixel to be tested in the display screen to be tested according to the pixel value of the pixel area of the actual image.
可选的,像素值确定单元,具体用于:Optionally, the pixel value determination unit is specifically used for:
将所述实际图像像素点区域划分为至少两个子区域;dividing the actual image pixel area into at least two sub-areas;
对每个子区域内的像素点进行取样,将取样像素点的平均像素值作为所述子区域的像素值;Sampling the pixels in each sub-region, and using the average pixel value of the sampled pixels as the pixel value of the sub-region;
将所述至少两个子区域的像素值均值作为所述待测试显示屏中所述目标待测像素点的像素值。Taking the average value of the pixel values of the at least two sub-regions as the pixel value of the target pixel to be tested in the display screen to be tested.
可选的,待测试显示屏为待测试LED屏,所述各待测像素点的像素值包括各待测像素点的R分量值、G分量值和B分量值;Optionally, the display screen to be tested is an LED screen to be tested, and the pixel value of each pixel to be tested includes an R component value, a G component value and a B component value of each pixel to be tested;
相应的,显示效果测试模块,包括:Correspondingly, the display effect test module includes:
整屏均值确定单元,用于根据各待测像素点的各分量值确定所述待测试LED屏的R分量整屏均值、G分量整屏均值和B分量整屏均值;The whole screen mean value determination unit is used to determine the R component whole screen mean value, the G component whole screen mean value and the B component whole screen mean value of the LED screen to be tested according to each component value of each pixel point to be tested;
像素值比较单元,用于根据各待测像素点的R分量值与所述R分量整屏均值的比较结果、G分量值与所述G分量整屏均值的比较结果以及B分量值与所述B分量整屏均值的比较结果,确定所述待测试LED屏在所述预设低灰度参数下的低灰显示效果测试结果。The pixel value comparison unit is used for comparing the R component value of each pixel point to be measured with the average value of the entire screen of the R component, the comparison result of the value of the G component with the average value of the entire screen of the G component, and the value of the B component and the average value of the entire screen of the G component. The comparison result of the average value of the whole screen of the B component determines the test result of the low gray display effect of the LED screen to be tested under the preset low gray scale parameters.
可选的,像素值比较单元,包括:Optionally, the pixel value comparison unit includes:
若所述待测试LED屏的所有待测像素点的R分量值与所述R分量整屏均值的差值在预设范围内、G分量值与所述G分量整屏均值差值在预设范围内以及B分量值与所述B分量整屏均值差值在预设范围内,确定待测试LED屏在所述预设低灰度参数下的低灰显示效果测试结果为测试通过。If the difference between the R component value of all pixels to be tested of the LED screen to be tested and the average value of the entire screen of the R component is within a preset range, the difference between the value of the G component and the average value of the entire screen of the G component is within a preset range. If the difference between the value of the B component and the average value of the entire screen of the B component is within the preset range, it is determined that the test result of the low-gray display effect of the LED screen to be tested under the preset low-grayscale parameters is a test pass.
可选的,所述预设低灰度参数预先设置在配置参数文件中;其中,所述配置参数文件中包括至少两个低阶灰度等级的预设低灰度参数;Optionally, the preset low grayscale parameters are preset in a configuration parameter file; wherein, the configuration parameter file includes preset low grayscale parameters of at least two low-order grayscale levels;
相应的,待测试图像确定模块,具体用于:Correspondingly, the image to be tested determination module is specifically used for:
通过发送卡依次读取所述配置参数文件中的预设低灰度参数;Read the preset low grayscale parameters in the configuration parameter file sequentially through the sending card;
将所述预设低灰度参数发送至与发送卡相连的接收卡;Send the preset low grayscale parameter to the receiving card connected to the sending card;
控制与所述待测试显示屏连接的所述接收卡将所述预设低灰度参数送显;Controlling the receiving card connected to the display screen to be tested to send the preset low grayscale parameters to display;
确定对所述待测试显示屏在预设低灰度参数配置下显示时拍摄的图像为待测试图像。It is determined that the image taken when the display screen to be tested is displayed under the preset low grayscale parameter configuration is the image to be tested.
本发明实施例所提供的显示屏低灰显示效果的测试装置可执行本发明任意实施例所提供的显示屏低灰显示效果的测试方法,具备执行显示屏低灰显示效果的测试方法相应的功能模块和有益效果。The test device for the low-gray display effect of the display screen provided by the embodiment of the present invention can execute the test method for the low-gray display effect of the display screen provided by any embodiment of the present invention, and has the corresponding functions for performing the test method for the low-gray display effect of the display screen Modules and benefits.
实施例三Embodiment three
图6是本发明实施例三提供的一种电子设备的结构示意图。图6示出了适于用来实现本发明实施方式的示例性电子设备12的框图。图6显示的电子设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 6 is a schematic structural diagram of an electronic device provided by
如图6所示,电子设备12以通用计算设备的形式表现。电子设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储装置28,连接不同系统组件(包括系统存储装置28和处理单元16)的总线18。As shown in FIG. 6,
总线18表示几类总线结构中的一种或多种,包括存储装置总线或者存储装置控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。
电子设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。
系统存储装置28可以包括易失性存储装置形式的计算机系统可读介质,例如随机存取存储装置(RAM)30和/或高速缓存存储装置32。电子设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图6未显示,通常称为“硬盘驱动器”)。尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储装置28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储装置28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/
电子设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该设备12交互的设备通信,和/或与使得该设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,电子设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图6所示,网络适配器20通过总线18与电子设备12的其它模块通信。应当明白,尽管图6中未示出,可以结合电子设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
处理单元16通过运行存储在系统存储装置28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的显示屏低灰显示效果的测试方法,包括:The
确定待测试显示屏在预设低灰度参数配置显示时的图像为待测试图像;Determine that the image of the display screen to be tested is the image to be tested when it is displayed in the preset low grayscale parameter configuration;
基于预先建立的所述待测试图像的图像像素点和所述待测试显示屏的待测像素点的映射关系,根据所述待测试图像中图像像素点的像素值确定所述待测试显示屏中各待测像素点的像素值;Based on the 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, according to the pixel values of the image pixels in the image to be tested, determine the The pixel value of each pixel to be tested;
根据所述各待测像素点的像素值与所述待测试显示屏的整屏像素均值的比较结果,确定所述待测试显示屏在所述预设低灰度参数下的低灰显示效果测试结果。According to the comparison result of the pixel value of each of the pixel points to be tested and the average pixel value of the entire screen of the display screen to be tested, determine the low gray display effect test of the display screen to be tested under the preset low gray scale parameters result.
实施例四Embodiment four
本发明实施例四还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例所提供的显示屏低灰显示效果的测试方法,包括:
确定待测试显示屏在预设低灰度参数配置显示时的图像为待测试图像;Determine that the image of the display screen to be tested is the image to be tested when it is displayed in the preset low grayscale parameter configuration;
基于预先建立的所述待测试图像的图像像素点和所述待测试显示屏的待测像素点的映射关系,根据所述待测试图像中图像像素点的像素值确定所述待测试显示屏中各待测像素点的像素值;Based on the 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, according to the pixel values of the image pixels in the image to be tested, determine the The pixel value of each pixel to be tested;
根据所述各待测像素点的像素值与所述待测试显示屏的整屏像素均值的比较结果,确定所述待测试显示屏在所述预设低灰度参数下的低灰显示效果测试结果。According to the comparison result of the pixel value of each of the pixel points to be tested and the average pixel value of the entire screen of the display screen to be tested, determine the low gray display effect test of the display screen to be tested under the preset low gray scale parameters result.
本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention may use 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 electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。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.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络包括局域网(LAN)或广域网(WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present invention may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming language such as "C" or a similar programming language. 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. Where a remote computer is involved, the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g. via the Internet using an Internet Service Provider). .
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
Claims (10)
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)
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 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160343121A1 (en) * | 2014-12-16 | 2016-11-24 | Shenzhen China Star Optoelectronics Technology Co., Ltd. | Automatic detection method for defects of a display panel |
CN106375698A (en) * | 2016-08-31 | 2017-02-01 | 上海伟世通汽车电子系统有限公司 | Automatic discrimination method of automobile instrument icons based on digital image processing technology |
CN106940634A (en) * | 2017-03-14 | 2017-07-11 | 深圳市茁壮网络股份有限公司 | A kind of screen resolution changing method and system |
WO2018090450A1 (en) * | 2016-11-17 | 2018-05-24 | 深圳Tcl新技术有限公司 | Uniformity measurement method and system for display screen |
CN108091288A (en) * | 2017-12-08 | 2018-05-29 | 深圳Tcl新技术有限公司 | Test method, terminal and the computer readable storage medium of display screen uniformity |
CN109872309A (en) * | 2019-01-31 | 2019-06-11 | 京东方科技集团股份有限公司 | Detection system, method, apparatus and computer readable storage medium |
CN110428762A (en) * | 2019-07-10 | 2019-11-08 | 武汉精立电子技术有限公司 | Oled panel burn-in test characteristics of luminescence detection method based on pixel brightness |
US20200134845A1 (en) * | 2018-10-30 | 2020-04-30 | Beijing Boe Optoelectronics Technology Co., Ltd. | Image registration method, image registration device and storage medium |
-
2021
- 2021-08-06 CN CN202110902544.7A patent/CN115705807A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160343121A1 (en) * | 2014-12-16 | 2016-11-24 | Shenzhen China Star Optoelectronics Technology Co., Ltd. | Automatic detection method for defects of a display panel |
CN106375698A (en) * | 2016-08-31 | 2017-02-01 | 上海伟世通汽车电子系统有限公司 | Automatic discrimination method of automobile instrument icons based on digital image processing technology |
WO2018090450A1 (en) * | 2016-11-17 | 2018-05-24 | 深圳Tcl新技术有限公司 | Uniformity measurement method and system for display screen |
CN106940634A (en) * | 2017-03-14 | 2017-07-11 | 深圳市茁壮网络股份有限公司 | A kind of screen resolution changing method and system |
CN108091288A (en) * | 2017-12-08 | 2018-05-29 | 深圳Tcl新技术有限公司 | Test method, terminal and the computer readable storage medium of display screen uniformity |
US20200134845A1 (en) * | 2018-10-30 | 2020-04-30 | Beijing Boe Optoelectronics Technology Co., Ltd. | Image registration method, image registration device and storage medium |
CN109872309A (en) * | 2019-01-31 | 2019-06-11 | 京东方科技集团股份有限公司 | Detection system, method, apparatus and computer readable storage medium |
CN110428762A (en) * | 2019-07-10 | 2019-11-08 | 武汉精立电子技术有限公司 | Oled panel burn-in test characteristics of luminescence detection method based on pixel brightness |
Cited By (2)
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 |
---|---|---|
US10019970B2 (en) | Steady color presentation manager | |
CN110335273B (en) | Detection method, detection device, electronic apparatus, and medium | |
JP5659623B2 (en) | Exposure attribute setting method and computer-readable storage medium | |
KR102599950B1 (en) | Electronic device and control method thereof | |
US11776490B2 (en) | Techniques for improving the color accuracy of light-emitting diodes in backlit liquid-crystal displays | |
CN113495709A (en) | Color correction method, AP chip, terminal and storage medium | |
TWI545963B (en) | Gamut mapping method and the related device thereof | |
US20180033361A1 (en) | Method and system for calibrating a display screen | |
JP2017538148A (en) | Liquid crystal panel and pixel unit setting method | |
CN104461797B (en) | Test the system and method for notebook computer external display interface | |
CN115019723A (en) | Screen display method, screen display device, electronic apparatus, program, and medium | |
CN114694569A (en) | Chromaticity correction method, device and electronic device for LED display | |
CN116540435A (en) | Halation test method and halation test equipment | |
CN115705807A (en) | Method, device, equipment and medium for testing low-gray display effect of display screen | |
CN115223480A (en) | Method and device for establishing brightness correction database of display panel | |
JP2024180574A (en) | IMAGE PROCESSING APPARATUS, CONTROL METHOD FOR IMAGE PROCESSING APPARATUS, | |
CN102547372B (en) | Method for determining color lookup table parameters of liquid crystal display television and system device therefore | |
KR102533723B1 (en) | Electric device and control method thereof | |
CN114067757A (en) | Data processing method and device and display device | |
US20250104656A1 (en) | Adjusting method and apparatus of a display panel, electronic device, and storage medium | |
CN117577032A (en) | Display effect detection method and device of display equipment and electronic equipment | |
WO2023125003A1 (en) | Method for determining modulation transfer function, and electronic device and storage medium | |
KR101344495B1 (en) | Method and apparatus for rendering | |
KR102372987B1 (en) | Apparatus and method for generating a defect image | |
CN113239770B (en) | Financial statement accounting method |
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 |