CN117687233A - Display screen testing method, electronic equipment, storage medium and program product - Google Patents

Display screen testing method, electronic equipment, storage medium and program product Download PDF

Info

Publication number
CN117687233A
CN117687233A CN202310603373.7A CN202310603373A CN117687233A CN 117687233 A CN117687233 A CN 117687233A CN 202310603373 A CN202310603373 A CN 202310603373A CN 117687233 A CN117687233 A CN 117687233A
Authority
CN
China
Prior art keywords
display screen
image
test source
test
speed
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
CN202310603373.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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310603373.7A priority Critical patent/CN117687233A/en
Publication of CN117687233A publication Critical patent/CN117687233A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the application provides a display screen testing method, electronic equipment, a storage medium and a program product, and relates to the technical field of testing, wherein the method comprises the following steps: the method comprises the steps of obtaining a first image of a picture displayed by a display screen to be tested, wherein the first image is collected in the process that an image collection device slides along a sliding guide rail at a first speed, and obtaining a test result of the display screen to be tested, which is generated based on the first image, aiming at motion blur. By applying the scheme provided by the embodiment of the application, the display screen can be tested for motion blur.

Description

Display screen testing method, electronic equipment, storage medium and program product
Technical Field
The present disclosure relates to the field of testing technologies, and in particular, to a display screen testing method, an electronic device, a storage medium, and a program product.
Background
Due to slow response characteristics of a liquid crystal display (Liquid Crystal Display, LCD), a "hold-type" display mode of the liquid crystal display or an Organic Light-Emitting Diode (OLED), and a human eye vision system perception characteristic, a blurring phenomenon, called Motion Blur (Motion Blur), occurs when a human eye views a fast moving picture displayed on a terminal display, that is, when an original still picture moves, a visual perception of the human eye is blurred. In order to ensure that the terminal provides better user experience for users, the display screen of the terminal needs to be tested for motion blur before the terminal is on line.
Disclosure of Invention
In view of the foregoing, the present application provides a display screen testing method, an electronic device, a storage medium, and a program product for performing a motion blur test on a display screen.
In a first aspect, an embodiment of the present application provides a method for testing a display screen, where the method includes:
acquiring a first image of a picture displayed by a display screen to be tested, which is acquired in the process that an image acquisition device slides along a sliding guide rail at a first speed, wherein the display screen to be tested displays a plurality of test source areas which move at a second speed and are arranged according to a preset arrangement direction, each test source area is set aiming at one test requirement of motion blur, an imaging plane of the image acquisition device is parallel to the display screen to be tested, and the first speed is determined according to the second speed so that the image acquisition device and the test source areas synchronously move;
and obtaining a test result of the display screen to be tested, which is generated based on the first image, aiming at motion blur.
In one embodiment of the present application, the test source region includes at least two of the following regions:
pattern area, multicolor area, logo area, text area, multi-gray-scale area, color background area, and vertical reference area.
In one embodiment of the present application, if the test source region includes the color background region, other test source regions except the color background region are arranged on the color background region according to the preset arrangement direction, and if the test source region does not include the color background region, each test source region is directly arranged according to the preset arrangement direction;
and/or
The preset arrangement direction is a direction from top to bottom or a direction from left to right;
and/or
The direction of the second speed is perpendicular to the arrangement direction.
In one embodiment of the present application, the obtaining a test result of the display screen to be tested for motion blur generated based on the first image includes:
determining a first size of a fuzzy area generated by the movement of a test source area in the first image along the speed direction of the second speed;
and according to the first size, obtaining parameters representing the edge blurring degree of each test source area as a test result.
In one embodiment of the present application, the obtaining, according to the first dimension, a parameter characterizing an edge blur degree of each test source region includes:
obtaining a second size of the test source region in the second image along the speed direction, wherein the second image is: when the display screen to be tested displays static test source areas, the image acquisition equipment acquires images of pictures displayed by the display screen to be tested; calculating the ratio between the first size and the second size as a parameter for representing the edge blurring degree of each test source region;
And/or
The first size is determined as the parameter.
In one embodiment of the present application, before the obtaining the test result of the display screen to be tested for motion blur generated based on the first image, the method further includes:
judging whether the first image is a valid image or not;
and if so, executing the step of obtaining the test result of the display screen to be tested, which is generated based on the first image, for motion blur.
In one embodiment of the present application, the display screen to be tested includes a plurality of groups of test source areas;
the obtaining a test result of the display screen to be tested, which is generated based on the first image and aims at motion blur, includes:
identifying groups of test source regions contained in the first image;
determining the identified valid region groups in each group of test source regions;
and obtaining a test result of the display screen to be tested, which is generated based on the effective area group and aims at motion blur.
In one embodiment of the present application, each set of test source regions includes a perpendicular reference region, where a straight line in the perpendicular reference region is perpendicular to a speed direction in which the second speed is located;
the determining the identified valid region group in each group of test source regions includes:
Identifying lines in the vertical reference areas in each set of test source areas;
and determining a test source area group with lines in the included vertical line reference area perpendicular to the speed direction as an effective area group.
In one embodiment of the present application, the sliding guide rail is a numerical control guide rail.
In a second aspect, embodiments of the present application further provide an electronic device, including a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method of any of the first aspects.
In a third aspect, an embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium includes a stored program, where when the program runs, the device in which the computer readable storage medium is controlled to execute the method of any one of the first aspects.
In a fourth aspect, embodiments of the present application also provide a computer program product comprising executable instructions which, when executed on a computer, cause the computer to perform the method of any of the first aspects described above.
In a fifth aspect, an embodiment of the present application further provides a chip system, where the chip system is applied to an electronic device, and the chip system includes one or more processors, where the processors are configured to invoke computer instructions to cause the electronic device to input data into the chip system, and perform any one of the methods in the first aspect to process the data and output a processing result.
The beneficial effects of the embodiment of the application are that:
from the above, when the scheme provided by the embodiment of the application is applied to test the display screen, the display screen to be tested displays a plurality of moving test source areas, the image acquisition device synchronously moves along the sliding track and the test source areas, and acquires the first image of the picture displayed by the display screen to be tested, so that not only is the scene of the display screen displaying the moving picture presented, but also the scene of the display screen displaying the moving picture is simulated based on the image acquisition device, and based on the scene, once the display screen to be tested has the motion blur condition, the first image can record the information of the display screen to be tested aiming at the motion blur, thereby the scheme provided by the embodiment of the application can test the display screen to be tested aiming at the motion blur based on the first image.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 3 is a software structural block diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic view of a display screen test scene provided in an embodiment of the present application;
fig. 5a is an interface schematic diagram of a first display screen according to an embodiment of the present application;
fig. 5b is an interface schematic diagram of a second display screen according to an embodiment of the present application;
fig. 5c is an interface schematic diagram of a third display screen according to an embodiment of the present application;
fig. 6 is a flowchart of a first display screen testing method according to an embodiment of the present application;
fig. 7 is a flow chart of a second display screen testing method according to an embodiment of the present application;
FIG. 8 is a schematic view of a test source region according to an embodiment of the present disclosure;
fig. 9 is a schematic flow chart of a parameter calculation method according to an embodiment of the present application;
fig. 10 is a flowchart of a third display screen testing method according to an embodiment of the present application;
fig. 11 is a flowchart of a fourth display screen testing method according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a chip system according to an embodiment of the present application.
Detailed description of the preferred embodiments
For a better understanding of the technical solutions of the present application, embodiments of the present application are described in detail below with reference to the accompanying drawings.
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first instruction and the second instruction are for distinguishing different user instructions, and the sequence of the instructions is not limited. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In this application, the terms "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
The scheme provided by the embodiment of the application can be used for testing the display screen of terminals such as a mobile phone, a tablet personal computer, a personal computer (Personal Computer, PC), a personal digital assistant (Personal Digital Assistant, PDA), a smart watch, a netbook, a wearable device, an augmented Reality (Augmented Reality, AR) device, a Virtual Reality (VR) device, a vehicle-mounted device, a smart car, a robot, smart glasses, a smart television, a smart screen and the like.
The terminal for testing in the embodiment of the present application and the electronic device applicable to the embodiment of the present application are described below.
Fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present application.
The terminal may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (Universal Serial Bus, USB) interface 130, a charge management module 140, a battery management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity (Subscriber Identity Module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal. In other embodiments of the present application, the terminal may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units. Wherein the different processing units may be separate devices or may be integrated in one or more processors. A memory may also be provided in the processor 110 for storing instructions and data.
Fig. 2 is a schematic structural diagram of an electronic device 200 applicable to the embodiment of the present application. The electronic device 200 may include a processor 210, an internal memory 220, and the like.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 200. In other embodiments of the present application, electronic device 200 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units such as, for example: processor 210 may include a central processor (Central Processing Unit, CPU), application processor (Application Processor, AP), modem processor, graphics processor (Graphics Processing Unit, GPU), image signal processor (Image Signal Processor, ISP), controller, video codec, digital signal processor (Digital Signal Processor, DSP), baseband processor, and/or Neural network processor (Neural-network Processing Unit, NPU), etc. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 200 may also include one or more processors 210. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution. In other embodiments, memory may also be provided in processor 210 for storing instructions and data. Illustratively, the memory in the processor 210 may be a cache memory. The memory may hold instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to reuse the instruction or data, it may be called directly from memory. This avoids repeated accesses and reduces the latency of the processor 210, thereby improving the efficiency of the electronic device 200 in processing data or executing instructions.
In some embodiments, processor 210 may include one or more interfaces. The interfaces may include Inter-integrated circuit (Inter-Integrated Circuit, I2C) interfaces, inter-integrated circuit audio (Inter-Integrated Circuit Sound, I2S) interfaces, pulse code modulation (Pulse Code Modulation, PCM) interfaces, universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART) interfaces, mobile Industry processor interfaces (Mobile Industry ProcessorI, MIPI), general-Purpose Input/Output (GPIO) interfaces, SIM card interfaces, and/or USB interfaces, among others.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is for illustrative purposes, and is not limited to the structure of the electronic device 200. In other embodiments of the present application, the electronic device 200 may also use different interfacing manners, or a combination of multiple interfacing manners, as in the above embodiments.
The internal memory 220 may be used to store one or more computer programs, including instructions. The processor 210 may cause the electronic device 200 to perform the display screen testing methods provided in some embodiments of the present application, as well as various applications, data processing, and the like, by executing the above-described instructions stored in the internal memory 220. The internal memory 220 may include a storage program area and a storage data area. The storage program area can store an operating system; the storage program area may also store one or more applications (such as gallery, contacts, etc.), etc. The storage data area may store data created during use of the electronic device 200 (e.g., photos, contacts, etc.), and so on. In addition, the internal memory 220 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage units, flash memory units, universal flash memory (Universal Flash Storage, UFS), and the like. In some embodiments, processor 210 may cause electronic device 200 to perform the display screen testing methods provided in embodiments of the present application, as well as other applications and data processing, by executing instructions stored in internal memory 220, and/or instructions stored in a memory provided in processor 210.
The internal memory 220 may be used to store a related program of the display screen testing method provided in the embodiments of the present application, and the processor 210 may be used to call the related program of the display screen testing method stored in the internal memory 220 when testing the display screen, to execute the display screen testing method of the embodiments of the present application.
Fig. 3 is a block diagram illustrating a software structure of an electronic device suitable for use in the embodiments of the present application. The software system of the electronic device may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
The layered architecture divides the software system of the electronic device into several layers, each of which has a distinct role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the software system may be divided into five layers, an application layer (applications), an application framework layer (application framework), a system library, a hardware abstraction layer (Hardware Abstract Layer, HAL), and a kernel layer (kernel), respectively.
The application layer may include a series of application packages that run applications by calling an application program interface (Application Programming Interface, API) provided by the application framework layer. As shown in FIG. 3, the application package may include applications such as a browser, gallery, music, video, and the like. It will be appreciated that the ports of each of the applications described above may be used to receive data.
The application framework layer provides APIs and programming frameworks for application programs of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 3, the application framework layer may include a window manager, a content provider, a view system, a resource manager, a notification manager, and a dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP) module, etc.
The system library may include a plurality of functional modules such as a surface manager, a three-dimensional graphics processing library, a two-dimensional graphics engine, a file library, and the like.
The hardware abstraction layer may include a plurality of library modules, such as a display library module, a motor library module, and the like. The electronic equipment system can load the corresponding library module for the equipment hardware, thereby achieving the purpose of accessing the equipment hardware by the application program framework layer.
The kernel layer is a layer between hardware and software. The kernel layer is used for driving the hardware so that the hardware works. The kernel layer at least includes a display driver, an audio driver, a sensor driver, a motor driver, and the like, which is not limited in the embodiment of the present application. It is understood that the display drive, audio drive, sensor drive, motor drive, etc. may be considered a drive node. Each of the drive nodes described above includes an interface that may be used to receive data.
The following describes a test scenario of the display screen test scheme provided in the embodiment of the present application.
As shown in fig. 4, fig. 4 is a schematic view of a test scenario provided in an embodiment of the present application. The test scene shown in fig. 4 includes a terminal, an image acquisition device, and a sliding guide rail.
The sliding guide rail and the terminal are horizontally placed, the sliding guide rail is parallel to the terminal display screen, and the distance between the sliding guide rail and the terminal display screen is determined according to the focal length of the image acquisition equipment. For example, the distance may be a focal length of the image capturing apparatus, or may be a value in which a distance difference from the focal length of the image capturing apparatus is smaller than a preset distance threshold.
The image acquisition device is horizontally arranged on the sliding guide rail, and the orientation of the image acquisition device is perpendicular to the terminal display screen, so that the image acquisition device can slide along the sliding guide rail, and the imaging plane of the image acquisition device is parallel to the terminal display screen.
Before testing, a tester can configure a first speed of the image acquisition device sliding along the sliding guide rail, and can also configure a test source area displayed by the terminal display screen and a second speed of the test source area, wherein the first speed is determined according to the second speed, so that the image acquisition device and the test source area synchronously move. In this way, during the test, the image acquisition device slides along the sliding guide rail at a first speed, the terminal display screen displays the test source region moving at a second speed, and synchronous movement is maintained between the image acquisition device and the test source region. The image acquisition device can acquire images of pictures displayed by the terminal display screen in the process of synchronous movement with the test source area, for example, the image acquisition device can shoot images of pictures displayed by the terminal display screen in the sliding process, and can record video in the sliding process, so that the electronic device selects the images of the pictures displayed by the terminal display screen from videos obtained by video recording.
The following describes a test source area in the solution provided in the embodiment of the present application.
The test source area can be understood as an area where the test source is located, and the test source can be understood as display screen picture content set by a tester for testing the display screen of the terminal.
Each test source region is set for one test requirement of motion blur, the test requirements are different, and the test source regions are different. When configuring the test source regions, the types, the number, the region shapes, the arrangement directions and the like of the test source regions can be configured.
First, the type of the test source region will be described.
For example, the test source region includes various regions such as a pattern region, a multicolor region, a logo (logo) region, a text region, a multi-gray scale region, a color background region, and a vertical line reference region.
As shown in fig. 5a, fig. 5a is an interface schematic diagram of a terminal display screen, in fig. 5a, test source areas displayed by the terminal display screen are respectively, from top to bottom, a pattern area, a multicolor area, a logo area, a text area, a vertical line reference area and a multi-gray-scale area, and the test source areas are arranged in a color background area. The various regions described above are described below in connection with fig. 5 a.
For the above pattern area, the area content of the area may be any pattern, such as a circle in fig. 5 a. The test requirements for the placement of the pattern areas can be understood as: whether the test pattern is responsible for motion blur of the terminal display.
For the above multi-color region, the region may include a plurality of sub-regions, each sub-region includes a pixel of one color, as shown in fig. 5a, the multi-color region in fig. 5a includes three sub-regions, one sub-region (the sub-region identified as R) includes a red pixel, another sub-region (the sub-region identified as G) includes a green pixel, and a third sub-region (the sub-region identified as B) includes a blue pixel. The colors corresponding to the sub-regions in the multicolor region may be any other colors such as yellow, purple, etc., in addition to the three colors, and the number of sub-regions included in the multicolor region is not limited to three but may be other numbers such as four, five, etc. The test requirements for setting the multi-color region can be understood as: whether the color is the cause of motion blur in the display screen of the terminal is tested. In addition, since the terminal display screen has the light emitting diodes of three primary colors of red, green and blue, the above test requirement may be to test whether the light emitting diodes are the cause of motion blur of the terminal, in which case the multi-color region includes the sub-regions corresponding to the three primary colors.
For the LOGO region, the content of the region may be any LOGO, such as the LOGO "shown in fig. 5 a. The test requirements for setting logo regions can be understood as: whether the logo is the reason for causing the motion blur of the terminal display screen or not can be judged if the motion blur is generated when the terminal display screen displays the preset logo.
For the text region described above, the region content of the region may be any text, such as the text of the "dynamic blur test" shown in fig. 5 a. The test requirements for setting text regions can be understood as: and testing whether the text is a cause of motion blur of the display screen of the terminal.
For the multi-gray scale region, the region may include a plurality of sub-regions, each of which has a different gray scale, as shown in fig. 5a, the multi-gray scale region in fig. 5a includes five sub-regions, and each of the sub-regions has a gray scale of 100%, 75%, 50%, 25% and 0% respectively. The gray scales of the sub-areas in the multi-gray scale area are not limited to five gray scales in fig. 5a, but may be any other gray scales, and the number of the sub-areas in the multi-gray scale area is not limited to five, but may be other numbers, such as four, six, etc. The test requirements for setting the multi-gray scale region can be understood as: and testing whether the brightness of the display screen is a cause of motion blur of the display screen of the terminal.
For the vertical reference area, the area includes a straight line perpendicular to the second speed, as shown in fig. 5a, and the area between the text area and the multi-gray-scale area is the area where the second speed is located, and the speed direction is the direction from left to right, and the vertical reference area includes a vertical straight line.
For the color background area, the color background area includes an area having a background color, and the background color may be one color or may be various colors, and as for the white background area shown in fig. 5a, the background color of the color background area may be other colors besides white. The test requirements for setting the color background area can be understood as: and testing whether the background color of the display screen is a cause of motion blur of the display screen of the terminal.
Next, the number of test source regions will be described.
In one embodiment of the present application, the test source region includes at least two of the various regions described above.
In the testing process, a test source area corresponding to the actual testing requirement can be selected according to the actual testing requirement, so that the application range of the display screen testing can be improved. And the terminal display screen displays various test source areas, so that the various test source areas can be tested at one time, namely, the test is carried out based on various test requirements at one time, and the test efficiency can be improved.
Next, the region shape of the test source region will be described.
For the pattern area, logo area, text area, the area shape of these areas may be self-shape.
For multi-color areas and multi-gray scale areas, the areas of these areas may be rectangular as shown in fig. 5a, circular or other shapes.
Next, the arrangement direction of the test source regions will be described.
In the case where the number of test source regions is plural, the arrangement direction of the test source regions may be configured. Thus, the terminal display screen can display a plurality of test source areas which move at a second speed and are arranged according to a preset arrangement direction.
For example, the preset arrangement direction may be a top-to-bottom direction, as shown in fig. 5 a; for another example, the preset arrangement direction may be a left-to-right direction, as shown in fig. 5 b.
When testing the display screens of different terminals, different arrangement directions can be configured, so that the flexibility of the display screen test can be improved. For example, if the display screen to be tested is a mobile phone display screen, the arrangement direction can be selected from left to right, and if the display screen to be tested is a display screen of a computer, the arrangement direction can be selected from top to bottom.
In an embodiment of the present application, the preset arrangement direction may be perpendicular to the direction of the second speed. For example, if the direction of the second speed is a left-to-right direction, the preset arrangement direction may be a top-to-bottom direction; if the direction of the second speed is from top to bottom, the preset arrangement direction may be from left to right. Therefore, when the display screen to be tested displays a plurality of test source areas of movement, all the test source areas can be displayed together, instead of displaying all the test source areas in batches, the image acquisition equipment can acquire display pictures containing all the test source areas at one time, so that the image acquisition equipment is prevented from acquiring a plurality of images of pictures displayed by the terminal display screen, and therefore, the test requirement on the image acquisition equipment can be reduced and the test flow is simplified by configuring the preset arrangement direction to be perpendicular to the second speed direction.
In addition, as can be seen from the foregoing, the test source regions may include color background regions, and thus, when each test source region is arranged, the test source regions may be divided into two cases including a color background region and a non-color background region.
Under the condition that the test source area comprises a color background area, other test source areas except the color background area can be arranged on the color background area according to a preset arrangement direction.
Specifically, when each test source region is arranged, the color background region can be firstly arranged in the display image of the terminal display screen, and then the region contents of other test source regions are covered on the color background region according to the preset arrangement direction.
Under the condition, the color background areas are used as the background arrangement of other test source areas, so that the test can be accurately performed according to the test requirements corresponding to the other test source areas, and the test can be accurately performed according to the test requirements corresponding to the color background areas.
Under the condition that the test source areas do not contain color background areas, the test source areas can be directly arranged according to a preset arrangement direction.
Specifically, when each test source region is arranged, each test source region can be arranged in a display layer of a terminal display screen, and at this time, if a background color exists in the display layer, when each test source region is arranged, each test source region is arranged in the display layer with the background color according to a preset arrangement direction, and the background of the display layer is not used as a color background region.
Under the condition, each test source area is directly arranged according to the preset arrangement direction, so that the test can be accurately performed according to the test requirements corresponding to each test source area.
Besides the configuration of the types and the number of the test source areas in the arrangement direction, the display mode of displaying a plurality of test source areas by the terminal display screen can be also configured, for example, the plurality of test source areas can be used as a group of test source areas, the terminal display screen is configured to display only one group of test source areas, or the terminal display screen is configured to display a plurality of groups of test source areas.
In addition to the terminal interface schematic diagram in the case where the terminal display screen displays one set of test source regions, fig. 5a may be considered as the terminal interface schematic diagram in the case where the terminal display screen displays multiple sets of test source regions, as shown in fig. 5c, and in fig. 5c, the terminal display screen displays two sets of test source regions, where both sets of test source regions move at the second speed. And when the terminal display screen is configured to display a plurality of groups of test source areas, the interval distance between two adjacent groups of test source areas can be configured.
The types, the number, the arrangement directions and the display modes of the test source areas can be flexibly configured by a tester according to actual test requirements, so that the multi-dimensional one-time quantitative test of the display screen to be tested is realized. Therefore, the display screen testing scheme provided by the embodiment of the application can improve the flexibility of display screen testing.
After the configuration of the various parameters of the test source area is completed, the configuration can be further performed aiming at the second speed of the test source area, so that the terminal display screen displays the test source area moving at the second speed.
The terminal display may be enabled to display the test source region moving at the second speed by either of two implementations.
In the first implementation manner, the motion video of the test source region can be generated according to various parameters of the configured test source region, so that the video is displayed on the terminal display screen, and the terminal display screen can display the test source region moving at the second speed.
Specifically, when generating the motion video of the test source region, the second speed of the test source region may be predetermined, and according to the second speed and the preset frame rate of the motion video, the position deviation of the test source region displayed in the adjacent frames of the motion video is determined, so that according to the position deviation, each frame of video frame is generated, and the motion video formed by each frame of video frame is obtained.
In a second implementation, the test source region may be controlled to move at a second speed in a screen displayed on the terminal display using a pre-developed web page, application program, or the like.
For example, the web page may be a web page displaying a dynamic image, where the dynamic image may be a dynamic image of a test source area moving at the second speed, so that when the web page is displayed on the terminal display screen, the test source area moving at the second speed is displayed.
In addition, the webpage can also have a configuration function of a dynamic diagram, so that a tester can configure parameters such as types, contents, speeds and the like of test source areas in the dynamic diagram according to actual test requirements. For example, the tester may perform parameter configuration by clicking a selection box, button, etc. on the web page.
An implementation of configuring the above-described first speed is described below.
The first speed is a speed determined according to the second speed, and the image acquisition device and the test source area synchronously move. The first speed is the speed in the actual space where the image acquisition device is located, and is described by the length in the actual space, wherein the unit can be cm/s or m/s, the second speed is the moving speed of the test source area displayed by the terminal display screen, and is described by the pixel point in the terminal display screen, and the unit can be the pixel point/s. When the first speed is determined, the second speed may be preconfigured, and a speed conversion relation between the speed in the actual space and the speed of the content displayed on the terminal display screen may be obtained, so that the second speed may be converted into the speed in the actual space according to the speed conversion relation, and the converted speed is the first speed.
The sliding guide rail can be a numerical control guide rail, so that after the first speed is determined according to the second speed, the numerical control guide rail can be configured based on the first speed, and the numerical control guide rail drives the image acquisition equipment to slide at the first speed in the testing process.
The numerical control guide rail can be a numerical control guide rail capable of being controlled remotely or a numerical control guide rail not capable of being controlled remotely.
The numerical control guide rail may have a single axis or multiple axes.
The adoption of the numerical control guide rail has the following four advantages:
in the first aspect, because the control precision of the numerical control guide rail is high, the adoption of the numerical control guide rail can enable the image acquisition equipment to accurately slide along the numerical control guide rail at the first speed.
In the second aspect, the first speed is determined according to the second speed, so that the image acquisition device and the test source area synchronously move, and therefore the numerical control guide rail is controlled to automatically drive the image acquisition device to slide at the first speed, and the display screen is controlled to display the test source area moving at the second speed, so that the synchronous movement of the image acquisition device and the test source area can be ensured.
In the third aspect, the image acquisition equipment is driven by the numerical control guide rail, and the image acquisition equipment is not required to be manually pushed along the guide rail, so that the image acquisition equipment and the movement process of the test source area are not required to be manually participated, and the automation degree of the display screen test can be improved.
In the fourth aspect, since the first speed can be calculated according to the second speed and the speed conversion relation, if the tester adjusts the second speed, the first speed can also be adjusted by itself, so that the tester does not need to specially adjust the first speed, and therefore, the adoption of the numerical control guide rail can facilitate the tester to control the synchronous movement of the image acquisition device and the test source region.
The following describes in detail the display screen testing method, the storage medium and the program product provided in the embodiments of the present application, respectively.
In an embodiment of the present application, referring to fig. 6, a flowchart of a first method for testing a display screen is provided, and in this embodiment, the method includes the following steps S601-S602.
Step S601: and obtaining a first image of a picture displayed by the display screen to be tested, wherein the first image is acquired in the process that the image acquisition equipment slides along the sliding guide rail at a first speed.
The display screen to be tested is the terminal display screen mentioned in the previous embodiment. The display screen to be tested displays a plurality of test source areas which move at a second speed and are distributed according to a preset distribution direction.
The description of the first speed, the second speed, the test source area, and the preset arrangement direction may refer to the foregoing embodiments, and will not be repeated here.
Specifically, after the test scene shown in fig. 4 is built, the image acquisition device slides along the sliding guide rail at a first speed, the display screen to be tested displays a plurality of test source areas moving at a second speed, and the image acquisition device acquires the image of the picture displayed by the display screen to be tested in the sliding process, so that after the image acquisition device acquires the image, the image acquired by the image acquisition device can be obtained and used as the first image of the picture displayed by the display screen to be tested.
Step S602: and obtaining a test result of the display screen to be tested, which is generated based on the first image, aiming at motion blur.
Among them, the above-described motion blur may be understood as a phenomenon in which displayed contents are blurred due to movement of the contents displayed on the display screen.
The test result may be a subjective evaluation result obtained by performing motion blur subjective evaluation by the tester based on the first image, or may be an objective evaluation result obtained by performing image processing on the first image.
The objective evaluation result may be an objective quantization parameter for representing the motion blur degree of the whole image of the first image, or may be an objective quantization parameter for representing the motion blur degree of each test source region in the first image.
Specifically, the above test results may be obtained by any one of the following three implementations.
In a first implementation, the test result may be generated based on the edge blur area generated by the motion of the test source area in the first image, which may be specifically referred to in steps S602A-S602B in the embodiment shown in fig. 7, which is not described in detail herein.
In a second implementation, the test results may be generated based on image content of the entire image of the first image.
For example, when the display screen to be tested displays a plurality of static test source areas, the image acquisition device may acquire an image of a screen displayed on the display screen to be tested, referred to as a second image, in which case the electronic device may calculate a similarity between the second image and the first image, and obtain a test result according to the calculated similarity. If the similarity between the second image and the first image is higher, the motion blur degree of the display screen to be tested is lower, so that a test result showing that the motion blur degree of the display screen to be tested is lower is obtained; and if the similarity between the second image and the first image is lower, the motion blur degree of the display screen to be tested is higher, so that a test result showing that the motion blur degree of the display screen to be tested is higher is obtained.
In a third implementation manner, after the first image is obtained, the first image may be displayed to a tester, and a test result of the display screen to be tested, which is determined by the tester based on the first image and self experience, for motion blur may be obtained.
From the above, when the scheme provided by the embodiment of the application is applied to test the display screen, the display screen to be tested displays a plurality of moving test source areas, the image acquisition device synchronously moves along the sliding track and the test source areas, and acquires the first image of the picture displayed by the display screen to be tested, so that not only is the scene of the display screen displaying the moving picture presented, but also the scene of the display screen displaying the moving picture is simulated based on the image acquisition device, and based on the scene, once the display screen to be tested has the motion blur condition, the first image can record the information of the display screen to be tested aiming at the motion blur, thereby the scheme provided by the embodiment of the application can test the display screen to be tested aiming at the motion blur based on the first image.
In addition, the test source area, the preset arrangement direction, the first speed and the second speed can be configured by a tester, so that motion blur can be tested from multiple angles, and the accuracy of display screen testing can be improved. Moreover, the tester can configure different second speeds to test the display screen, so that the speed range of the display content when the display screen to be tested generates motion blur can be tested.
The following describes a display screen testing method for obtaining a test result by applying the first implementation manner in step S602.
In an embodiment of the present application, referring to fig. 7, a flowchart of a second method for testing a display screen is provided, and in this embodiment, the above step S602 may be implemented by the following steps S602A-S602B.
Step S602A: and determining a first size of a blurred region generated by the movement of the test source region in the first image along the speed direction of the second speed.
Wherein, if the speed direction in which the second speed is located is from left to right or from right to left, the first size may be a size of the blur area in a horizontal direction; the first dimension may be a dimension of the blur area in a vertical direction if the second speed is in a speed direction from top to bottom or from bottom to top.
The first image is an image of a picture displayed on the display screen to be tested, which is acquired by the image acquisition equipment, and when the image is acquired by the image acquisition equipment, the display screen to be tested displays a plurality of test source areas moving at a second speed, so that the first image comprises areas corresponding to the plurality of test source areas. And because the display screen to be tested displays the moving test source area, the first image also comprises a blurring area generated by the movement of the test source area under the condition that the display screen to be tested has movement blurring, so that the first size of the blurring area along the speed direction of the second speed can be directly or indirectly detected.
As shown in fig. 8, fig. 8 is a schematic view of a region of a test source region in a first image, in fig. 8, there are regions 1 and 2 with gradient colors on both sides of the test source region, where the regions 1 and 2 are blur regions generated by movement of the test source region, l1 is a dimension of the region 1 along a speed direction in which the second speed is located, and l2 is a dimension of the region 2 along the speed direction in which the second speed is located, where the first dimension may be l1 or l2.
Specifically, the first size may be determined by either of the following two implementations.
In a first implementation manner, a second image of a picture displayed by the display screen to be tested, acquired by the image acquisition device when the display screen to be tested displays static test source areas, can be obtained, and the test source areas in the first image and the second image are identified. For convenience of description, the test source region identified in the first image is referred to herein as a first region, and the test source region identified in the second image is referred to herein as a second region. After the first area and the second area are identified, the sizes of the first area and the second area in the speed direction in which the above second speed is located may be obtained, and the obtained difference between the two sizes may be determined as the above first size, or half of the difference may be determined as the above first size.
In a second implementation manner, a blurred edge detection algorithm, a blurred edge detection model and the like can be utilized to detect the first image, so as to obtain a blurred region in the first image, and a first size of the detected blurred region along a speed direction where the second speed is located is determined.
The fuzzy edge detection model may be pre-trained. When training the fuzzy edge detection model, the initial detection model can be trained by taking a sample image as an input and taking the position of a fuzzy region in the sample image as a label.
In addition, when determining the first size, any one of the two implementation manners may be applied to determine the size of the blur area on both sides of each test source area along the speed direction of the second speed, which is the first size corresponding to each test source area, or after determining the size of the blur area on both sides of each test source area along the speed direction of the second speed, the average value, the median, the maximum value, the minimum value, and the like of each determined size may be calculated as the first size.
Step S602B: and obtaining parameters representing the edge blurring degree of each test source area according to the first size, and taking the parameters as a test result.
The first size is the size of a blurred region generated by the motion of the test source region in the first image along the speed direction of the second speed, if the first size is larger, the blurred region is larger, which means that the motion blur of the first image is more serious, and if the first size is smaller, the blurred region is smaller, which means that the motion blur of the first image is more slight.
In addition, as can be seen from fig. 8, the blurred region is located at the edge of the test source region, so that the greater the first size, the more blurred the edge of the test source region, and the smaller the first size, the clearer the edge of the test source region, and the lower the edge blurred degree.
In summary, the greater the first size, the higher the edge blurring degree of the test source region, the more serious the motion blurring of the first image, and the smaller the first size, the lower the edge blurring degree of the test source region, the less the motion blurring of the first image. Therefore, according to the first size, the parameter representing the edge blurring degree of each test source region can be accurately obtained, and the parameter is used as a test result, so that the accuracy of the test result can be improved, namely the accuracy of the display screen test can be improved. And taking the parameter representing the edge blurring degree of the test source region as a test result, and enabling a tester to obtain the test result conforming to subjective feeling, so that the tester can intuitively know the motion blurring degree of the first image, and further, the tester can conveniently improve the motion blurring of the display screen to be tested based on the test result.
As can be seen from the description of the above step S602A, the above first size includes the following two cases.
In the first case, the first size is a first size corresponding to each test source region, and in this case, for each test source region, a parameter indicating the edge ambiguity degree of the test source region may be obtained according to the first size corresponding to the test source region.
In the second case, the first dimension is a dimension calculated based on a dimension of the blur area on both sides of each test source area in the speed direction in which the second speed is located, and in this case, a parameter indicating the edge blur degree of each test source area may be obtained according to the first dimension.
Specifically, parameters characterizing the degree of edge blurring of the test source region may be obtained by any of three implementations.
In a first implementation manner, after the second image is obtained and the second area is identified, a second size of the test source area in the second image along the speed direction may be obtained, or a half of a size of the test source area in the second image along the speed direction may be taken as the second size, that is, a size of the second area in the second image along the speed direction may be obtained, so that after the second size is obtained, a ratio between the first size and the second size may be calculated and used as a parameter for representing an edge blurring degree of the test source area.
For example, as shown in fig. 9, fig. 9 is a flowchart illustrating a process of calculating a parameter representing the degree of edge blurring of a test source region, and in fig. 9, after identifying a second region in a second image, a second size of the second region may be obtained, and a first size of a blurring region of an edge of a first region in a first image may be obtained, so that a ratio between the first size and the second size may be calculated as a parameter representing the degree of edge blurring of the first region in the first image.
If the first size is larger, the ratio between the first size and the second size is larger, the edge blurring degree of the test source area is higher, and the motion blurring of the first image is more serious, so that the ratio between the first size and the second size can accurately represent the edge blurring degree of the test source area, and the parameter is used as a test result, and the accuracy of the display screen test can be improved.
In a second implementation, the first dimension may be directly determined as a parameter characterizing the degree of edge blurring of each test source region.
The greater the first size is, the higher the edge blurring degree of the test source region is, and the more serious the motion blurring of the first image is, so that the first size can accurately represent the edge blurring degree of the test source region, and the parameter is used as a test result, so that the accuracy of the display screen test can be improved.
In a third implementation manner, the ratio between the first dimension and the second dimension and the first dimension can be used as parameters for representing the edge blurring degree of each test source region, and because the ratio and the first dimension can accurately represent the edge blurring degree of each test source region from different angles, the ratio and the first dimension are used as parameters for representing the edge blurring degree of each test source region together, and the parameters are used as test results, so that the accuracy of testing the display screen can be further improved.
In the process of testing the display screen to be tested, the synchronous movement of the image acquisition equipment and the test source area is required to simulate the movement picture information in the picture smoothly tracked when the human eyes watch the picture displayed by the display screen, and the image of the picture displayed by the display screen to be tested, which is acquired by the image acquisition equipment, can be considered as the image of the picture displayed by the display screen to be tested and simulated by the human eyes. Therefore, under the condition that the image acquisition device and the test source area keep synchronous motion, the image acquired by the image acquisition device can be regarded as an effective image, and on the basis, parameters such as shutter speed, exposure time and the like of the image acquisition device can be set according to the refresh rate of the display screen, so that the image acquired by the image acquisition device can be further determined to be the effective image.
However, in the actual testing process, it may be difficult to keep the image capturing device and the test source area moving synchronously all the time, so that the image captured by the image capturing device cannot be considered as the image simulating the picture displayed by the display screen to be tested, which is observed by human eyes, and thus the accuracy of the subsequent test result obtained based on the first image is low.
In order to solve the above-mentioned problem, referring to fig. 10, a flowchart of a third method for testing a display screen is provided in an embodiment of the present application, and in this embodiment, after the first image is obtained and before the test result is obtained, the following step S603 is further included.
Step S603: whether the first image is a valid image is determined, and if so, the above step S602 is executed.
The effective image can be understood as an image of a picture displayed by the display screen to be tested, which is acquired by the image acquisition device when the image acquisition device, the sliding guide rail and the terminal work according to the respective configured contents.
If the first image is determined to be an effective image, the first image may be considered as an image simulating a screen displayed on the display screen to be tested, which is watched by the human eye, and at this time, the step S602 may be executed to obtain a test result; if the first image is judged to be not an effective image, the first image cannot be considered as an image simulating a picture displayed by a display screen to be tested, which is watched by human eyes, at the moment, the image of the picture displayed by the display screen to be tested and acquired by the image acquisition equipment in the process of synchronously moving the image acquisition equipment and the test source area can be obtained again to serve as another first image, and whether the other first image is an effective image is continuously judged.
Specifically, whether the first image is a valid image may be determined by either of the following two implementations.
In a first implementation, the test source area may include a vertical reference area, and the vertical reference area may include one or more straight lines, where the straight lines may be perpendicular to the speed direction in which the second speed is located.
Since the straight line is composed of points, when the image acquisition device acquires the image of the straight line in the image displayed by the display screen, the image of each point on the straight line is actually acquired, and when the image acquisition device and the test source region synchronously move, the points on the straight line in the image displayed by the display screen and the image acquisition device are kept relatively static, so that in the image acquired by the image acquisition device, the line composed of each point is still the straight line perpendicular to the speed direction in which the second speed is located. When the image acquisition equipment and the test source area do not synchronously move, in the process of acquiring the image by the image acquisition equipment, the point on the straight line in the picture displayed by the display screen and the image acquisition equipment relatively move, so that in the image acquired by the image acquisition equipment, the line formed by the points is not a straight line perpendicular to the speed direction of the second speed.
For example, the image capturing device may be a camera, where the shutter speed of the camera is used to express the exposure time of the camera when the camera captures an image, so that the process of capturing an image by the camera is essentially a process of capturing external light by the camera during the exposure time after the shutter is pressed, and if a point on a straight line in a screen displayed on the display screen is kept relatively still during the process of capturing an image by the camera, the position of each point on the straight line in the imaging range of the camera is unchanged, so that a line formed by each point in the image captured by the camera is still a straight line perpendicular to the direction in which the second speed is located. If the relative motion exists between the camera and the point on the straight line in the image displayed by the display screen, the position of each point on the straight line in the imaging range of the camera changes in the acquisition process, so that the line formed by each point in the image acquired by the camera is not a straight line perpendicular to the speed direction in which the second speed is located.
In addition, when the image acquisition device is configured, the exposure time of the image acquisition device can be determined according to the screen refresh rate of the display screen to be tested and the number of points forming a straight line, so that the image acquisition device is configured according to the determined exposure time.
For example, the image capturing device may be a camera, and the exposure time may be expressed in terms of shutter speed. If the straight line in the vertical line reference area consists of 4 points, the shutter speed of the camera can be determined to be 4/refresh rate of the display screen to be tested.
In this case, after the first image is obtained, a line in the perpendicular reference area in the first image may be identified, and if the identified line is perpendicular to the speed direction, the first image may be determined as a valid image.
In identifying lines in a perpendicular reference area in the first image, a perpendicular reference area in the first image may be identified, and lines in the area are identified from the perpendicular reference area.
For example, when the display screen to be tested displays a plurality of test source regions arranged according to a preset arrangement direction, the vertical line reference region may be arranged at a specific position, such as a middle position, a head-tail position, etc., in each test source region, so that after each test source region in the first image is identified, the test source region at the specific position may be determined as the vertical line reference region.
When a line in the region is identified from the vertical reference region, since the pixel value of the pixel point where the line in the region is located is different from the background of the region, it is possible to determine, in the vertical reference region, that the pixel point whose pixel value is different from the pixel value of the background of the vertical reference region is the pixel point belonging to the line in the region, and thus it is possible to determine the line composed of the determined pixel points.
After the line in the vertical line reference area is identified, the direction of the identified line can be determined, whether the direction is perpendicular to the speed direction in which the second speed is located or not is judged, if the direction is perpendicular to the speed direction in which the second speed is located, the first image can be accurately determined to be an effective image, and therefore, under the condition that the first image is the effective image, an accurate test result generated based on the effective first image can be obtained, and the accuracy of the display screen test is improved.
In addition, in this implementation, if the identified line is not perpendicular to the speed direction in which the second speed is located, that is, the identified line is inclined, the speed relationship between the image capturing device and the test source area may be determined according to the inclination direction of the line, so that the speed of the image capturing device and/or the test source area may be adjusted according to the speed relationship. The magnitude of the speed difference between the image acquisition device and the test source region can also be determined according to the inclination degree of the line, so that the magnitude of the adjustment speed is determined according to the magnitude of the speed difference.
For example, if the speed direction in which the second speed is located is a left-to-right direction, the straight line included in the perpendicular reference area is a vertical line. Thus, after identifying the line in the vertical reference area in the first image, if the line is inclined forward, for example, "\", the speed of the image acquisition device is too fast, at this time, the speed of the image acquisition device can be reduced, or the speed of the test source area can be increased, and if the line is inclined backward, for example, "/", the speed of the image acquisition device is too slow, at this time, the speed of the image acquisition device can be increased, or the speed of the test source area can be reduced.
In a second implementation manner, after the first image is obtained, a blurred region generated by the motion of the test source region in the first image may be detected, as shown in the region 1 and the region 2 in fig. 8, where one test source region corresponds to two blurred regions, and when determining whether the first image is valid, it may be determined whether the sizes of the two blurred regions along the speed direction in which the second speed is located are equal, and if they are equal, it may be determined that the first image is a valid image.
From the above, when the display screen is tested by applying the scheme provided by the embodiment of the application, after the first image is obtained, whether the first image is an effective image can be judged, and in the case that the first image is an effective image, an accurate test result generated based on the effective first image is obtained again.
The display screen to be tested can display a plurality of groups of test source areas, so that the image acquisition equipment can be ensured to be capable of acquiring images when the display screen to be tested displays pictures containing the test source areas all the time.
In this case, when the test result of the display screen to be tested for motion blur generated based on the first image is obtained, each set of test source regions included in the first image may be identified, an effective region set in each identified set of test source regions is determined, and the test result of the display screen to be tested for motion blur generated based on the effective region set is obtained.
The implementation manner of identifying the test source region included in the first image may be referred to the above embodiment, and will not be described herein.
After each set of test source regions is identified, the set of active regions in each set of test source regions may be determined by either of two implementations.
In a first implementation, each set of test source regions may include a vertical reference region, so that lines in the vertical reference region in each set of test source regions may be identified, and a set of test source regions including lines in the vertical reference region perpendicular to the velocity direction may be determined as an active region set.
The specific implementation manner of identifying the lines in the perpendicular reference area in each set of test source areas can be referred to the above embodiment, and will not be described herein.
For each group of test source areas, after the lines in the perpendicular reference area in the reorganized test source areas are identified, the direction of the identified lines can be determined, whether the direction is perpendicular to the speed direction or not is judged, if so, the group of test source areas can be accurately determined to be an effective area group, so that a test result can be accurately obtained by using the effective area group, and the accuracy of the display screen test is improved.
In a second implementation manner, for each group of test source regions, two fuzzy regions generated by the motion of the group of test source regions may be detected, whether the sizes of the two fuzzy regions along the speed direction are equal or not is determined, and if so, the group of test source regions is determined to be an effective region group.
After determining the active area group, the test result may be obtained by using any one of the two implementations mentioned in the above step S602, which is not described herein.
Therefore, by applying the display screen test scheme provided by the embodiment of the application, the test source areas of each group contained in the first image can be identified, and the effective area group in the test source areas can be determined, so that more accurate test results can be obtained based on the effective area group.
In an embodiment of the present application, referring to fig. 11, a flowchart of a fourth method for testing a display screen is provided, and in this embodiment, the method includes the following steps S1101-S1105.
Step S1101: the tester configures a test source area and test parameters in the terminal.
The test source area configured by the tester may include a pattern area, a multicolor area, a logo area, a text area, a plumb line reference area, a multi-gray scale area, a color background area, and the like. The configured test parameters may include a second speed, an arrangement direction, etc. In the subsequent test process, the terminal can control the display screen to be tested to display a plurality of test source areas which move at a second speed and are distributed according to the distribution direction.
Step S1102: the tester builds a test scene.
Specifically, the tester can set the relative positions of the display screen to be tested, the image acquisition equipment and the numerical control guide rail, so that the imaging plane of the image acquisition equipment is parallel to the display screen to be tested, and the image acquisition equipment slides along the numerical control guide rail at a first speed.
Before the test, the image acquisition device may be located at one end of the numerically controlled rail, and when the test is performed, the image acquisition device slides along the numerically controlled rail from one end of the numerically controlled rail to the other end.
In addition, the tester can set the constant temperature and humidity environment where the test scene is located, and the stability and the lack of shaking of each device are test platforms and other test factors such as illumination, geographic positions and the like.
Step S1103: the test equipment starts to test and obtain the motion blur images acquired by the image acquisition equipment, and selects effective images in the motion blur images.
The test device may be an electronic device as in the embodiment shown in fig. 2 described above.
Step S1104: the test device performs image processing on the effective motion blurred image to determine the size of the blurred region in the motion blurred image.
Step S1105: and outputting a motion blurred image objective quantification result by the test equipment to obtain parameters representing the edge blurring degree of the test source region.
In a specific implementation, the application further provides a computer storage medium, where the computer storage medium may store a program, where when the program runs, the device where the computer readable storage medium is controlled to execute part or all of the steps in the foregoing embodiments. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
In a specific implementation, the embodiment of the application further provides a computer program product, where the computer program product contains executable instructions, where the executable instructions when executed on a computer cause the computer to perform some or all of the steps in the embodiment of the method.
As shown in fig. 12, the present application further provides a chip system, where the chip system is applied to the electronic device 200, the chip system includes one or more processors 1201, and the processors 1201 are configured to invoke computer instructions to enable the electronic device 200 to input data to be processed into the chip system, and the chip system processes the data based on the display screen test method provided by the embodiments of the present application and then outputs a processing result.
In one possible implementation, the chip system further includes input and output interfaces for inputting and outputting data.
Embodiments of the mechanisms disclosed herein may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of the present application may be implemented as a computer program or program code that is executed on a programmable system including at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (Digital Signal Processor, DSP), microcontroller, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. Program code may also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in the present application are not limited in scope to any particular programming language. In either case, the language may be a compiled or interpreted language.
In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed over a network or through other computer readable media. Thus, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including but not limited to floppy diskettes, optical disks, optical disk read-only memories (Compact Disc Read Only Memory, CD-ROMs), magneto-optical disks, read-only memories, random access memories, erasable programmable read-only memories (Erasable Programmable Read Only Memory, EPROM), electrically erasable programmable read-only memories (Electrically Erasable Programmable Read Only Memory, EEPROM), magnetic or optical cards, flash memory, or tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) using the internet in an electrical, optical, acoustical or other form of propagated signal. Thus, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
In the drawings, some structural or methodological features may be shown in a particular arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the drawings of the specification. Additionally, the inclusion of structural or methodological features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in the embodiments of the present application, each unit/module is a logic unit/module, and in physical aspect, one logic unit/module may be one physical unit/module, or may be a part of one physical unit/module, or may be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logic unit/module itself is not the most important, and the combination of functions implemented by the logic unit/module is the key to solve the technical problem posed by the present application. Furthermore, to highlight the innovative part of the present application, the above-described device embodiments of the present application do not introduce units/modules that are less closely related to solving the technical problems presented by the present application, which does not indicate that the above-described device embodiments do not have other units/modules.
It should be noted that in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims (13)

1. A method for testing a display screen, the method comprising:
acquiring a first image of a picture displayed by a display screen to be tested, which is acquired in the process that an image acquisition device slides along a sliding guide rail at a first speed, wherein the display screen to be tested displays a plurality of test source areas which move at a second speed and are arranged according to a preset arrangement direction, each test source area is set aiming at one test requirement of motion blur, an imaging plane of the image acquisition device is parallel to the display screen to be tested, and the first speed is determined according to the second speed so that the image acquisition device and the test source areas synchronously move;
and obtaining a test result of the display screen to be tested, which is generated based on the first image, aiming at motion blur.
2. The method of claim 1, wherein the test source region comprises at least two of the following regions:
pattern area, multicolor area, logo area, text area, multi-gray-scale area, color background area, and vertical reference area.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
if the test source region comprises the color background region, other test source regions except the color background region are arranged on the color background region according to the preset arrangement direction, and if the test source region does not comprise the color background region, each test source region is directly arranged according to the preset arrangement direction;
And/or
The preset arrangement direction is a direction from top to bottom or a direction from left to right;
and/or
The direction of the second speed is perpendicular to the arrangement direction.
4. A method according to any of claims 1-3, wherein said obtaining a test result of the display screen to be tested for motion blur generated based on the first image comprises:
determining a first size of a fuzzy area generated by the movement of a test source area in the first image along the speed direction of the second speed;
and according to the first size, obtaining parameters representing the edge blurring degree of each test source area as a test result.
5. The method of claim 4, wherein obtaining parameters characterizing the degree of edge blurring of each test source region based on the first dimension comprises:
obtaining a second size of the test source region in the second image along the speed direction, wherein the second image is: when the display screen to be tested displays static test source areas, the image acquisition equipment acquires images of pictures displayed by the display screen to be tested; calculating the ratio between the first size and the second size as a parameter for representing the edge blurring degree of each test source region;
And/or
The first size is determined as the parameter.
6. A method according to any of claims 1-3, characterized in that before said obtaining the test result of the display screen to be tested for motion blur generated based on the first image, it further comprises:
judging whether the first image is a valid image or not;
and if so, executing the step of obtaining the test result of the display screen to be tested, which is generated based on the first image, for motion blur.
7. A method according to any one of claims 1-3, wherein the display screen to be tested comprises a plurality of groups of test source areas;
the obtaining a test result of the display screen to be tested, which is generated based on the first image and aims at motion blur, includes:
identifying groups of test source regions contained in the first image;
determining the identified valid region groups in each group of test source regions;
and obtaining a test result of the display screen to be tested, which is generated based on the effective area group and aims at motion blur.
8. The method of claim 7, wherein each set of test source regions includes a vertical reference region, and wherein a line in the vertical reference region is perpendicular to a direction of speed in which the second speed is located;
The determining the identified valid region group in each group of test source regions includes:
identifying lines in the vertical reference areas in each set of test source areas;
and determining a test source area group with lines in the included vertical line reference area perpendicular to the speed direction as an effective area group.
9. A method according to any one of claims 1-3, characterized in that the sliding rail is a digitally controlled rail.
10. An electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method of any one of claims 1-9.
11. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer readable storage medium is located to perform the method of any one of claims 1-9.
12. A computer program product comprising executable instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1-9.
13. A chip system for application to an electronic device, the chip system comprising one or more processors for invoking computer instructions to cause the electronic device to input data into the chip system and to perform the method of any of claims 1-9 to process the data and output a processed result.
CN202310603373.7A 2023-05-25 2023-05-25 Display screen testing method, electronic equipment, storage medium and program product Pending CN117687233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310603373.7A CN117687233A (en) 2023-05-25 2023-05-25 Display screen testing method, electronic equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310603373.7A CN117687233A (en) 2023-05-25 2023-05-25 Display screen testing method, electronic equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN117687233A true CN117687233A (en) 2024-03-12

Family

ID=90130746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310603373.7A Pending CN117687233A (en) 2023-05-25 2023-05-25 Display screen testing method, electronic equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN117687233A (en)

Similar Documents

Publication Publication Date Title
CN111242881B (en) Method, device, storage medium and electronic equipment for displaying special effects
US9978180B2 (en) Frame projection for augmented reality environments
CN109743626B (en) Image display method, image processing method and related equipment
CN109240572B (en) Method for obtaining picture, method and device for processing picture
US20170372449A1 (en) Smart capturing of whiteboard contents for remote conferencing
US9852495B2 (en) Morphological and geometric edge filters for edge enhancement in depth images
US10178379B2 (en) Method and apparatus for testing virtual reality head display device
CN109615703A (en) Image presentation method, device and the equipment of augmented reality
US20190244369A1 (en) Display device and method for image processing
JP7337091B2 (en) Reduced output behavior of time-of-flight cameras
KR20160070780A (en) Refocusable images
US20210041945A1 (en) Machine learning based gaze estimation with confidence
WO2018119406A1 (en) Image processing to determine center of balance in a digital image
CN108475180A (en) The distributed video between multiple display areas
US20170091910A1 (en) Facilitating projection pre-shaping of digital images at computing devices
US9940701B2 (en) Device and method for depth image dequantization
CN113302665A (en) Illumination estimation for augmented reality
CN110692237B (en) Method, system, and medium for lighting inserted content
CN112424832A (en) System and method for detecting 3D association of objects
US20230388632A1 (en) Dynamic adjustment of exposure and iso to limit motion blur
CN114842120A (en) Image rendering processing method, device, equipment and medium
WO2017112095A1 (en) Code filters for coded light depth acquisition in depth images
CN110084306B (en) Method and apparatus for generating dynamic image
CN114116435A (en) Game testing method, system, electronic device and computer readable storage medium
CN117687233A (en) Display screen testing method, electronic equipment, storage medium and program product

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