Delay time detection system and method
Through the delay time detection system, the light source and time synchronization technology are used to accurately measure the video perspective delay of the VR headset, which solves the problem of inaccurate measurement in the existing technology and improves the user experience and detection accuracy.
Patent Information
- Application Number
- CN202411053173.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-08-02
AI Technical Summary
The existing technology lacks a scientific, objective and accurate measurement solution to measure the video see-through technology (VST) delay in a virtual reality head-mounted display (VR head-mounted display), which affects the user experience.
Provide a delay time detection system, including a time measurement target, an image acquisition device, a photoelectric detection device and a processor, which collects and detects images through a light source device and a time synchronization device, calculates the photon capture moment to determine the delay time, and overcomes the exposure time and frame rate interference to improve measurement accuracy.
It achieves accurate measurement of VR headset VST delay, improves detection accuracy and user experience, and provides data support for optimizing delay.
Smart Images

Figure CN118590643B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of delay detection, and in particular to a delay time detection system and method. Background Art
[0002] Virtual reality head mounted display device, referred to as VR headset, its display principle is that the two screens corresponding to the left and right eyes of the VR headset display the images of the left and right eyes respectively, and the human eye obtains this information with differences and produces a three-dimensional sense in the mind. Video See-through (VST) technology, that is, video perspective technology, is a technology that captures images of the real world through a camera and integrates them into a virtual scene in real time. It is one of the key technologies in the fields of virtual reality (VR), augmented reality (AR), extended reality (XR) and mixed reality (MR).
[0003] VST technology is implemented through VR headsets, that is, the VST mode of VR headsets. This mode uses the camera of the VR headset to capture real-time video images, combines the real-time video images with computer-generated images, and presents them to the user on the display screen of the VR headset. The data processing used in its implementation includes real-time video capture, image processing, scene reconstruction, and rendering display. The processing process is relatively complex, so it will bring VST delay to the VST mode of the VR headset, thereby affecting the user experience. By accurately measuring the VST delay of the VR headset, it can provide a data support basis for optimizing delays and improving user experience.
[0004] However, there is currently no scientific, objective and accurate measurement solution for VST delay of VR headsets in the industry. Summary of the invention
[0005] Based on this, it is necessary to provide a delay time detection system and method that can accurately measure VST delay in response to the above technical problems.
[0006] In a first aspect, the present application provides a delay time detection system for realizing delay detection of an imaging device to be tested, the delay time detection system comprising: a time measurement target plate, an image acquisition device, a photoelectric detection device and a processor; the time measurement target plate comprises a light source device and a time synchronization device; the time synchronization device and the image acquisition device are respectively connected to the processor; the light source device, the image acquisition device and the photoelectric detection device are respectively connected to the time synchronization device; the imaging device to be tested is arranged between the time measurement target plate and the image acquisition device, and is used to acquire an image of the light source device and display it on a display component of the imaging device to be tested; the image acquisition device is used to acquire a display image of the display component of the imaging device to be tested, and transmitting the displayed image to the processor; the photoelectric detection device is arranged in front of the display component of the imaging device to be tested, and is used to detect the refresh of the display component; the processor controls the light source device to run at a preset frequency; the time synchronization device is used to receive the acquisition instruction of the processor, start to collect the signal of the photoelectric detection device at a preset time T1, record the time when the effective signal is collected as T2, and synchronously trigger the image acquisition device to collect the image at time T2; the processor is also used to receive the display image collected by the image acquisition device, and perform image processing on the display image to determine the photon capture time T3 of the imaging device to be tested; according to the time T2 when the effective signal is collected and the photon capture time T3, the delay time of the imaging device to be tested is determined.
[0007] In one of the embodiments, the light source device includes a plurality of light source components and a light source driving component arranged in sequence; the light source driving component is respectively connected to the plurality of light source components and the time synchronization device.
[0008] In one of the embodiments, the time synchronization device is further used to receive an operation instruction from the processor to control the light source driving component to light up the multiple light source components at a preset frequency.
[0009] In one of the embodiments, the time synchronization device is also used to control the light source driving component to light up the multiple light source components in sequence at a preset frequency.
[0010] In one embodiment, the plurality of light source assemblies are independently driven.
[0011] In one of the embodiments, the time synchronization device is also used to control the clock synchronization of the image acquisition device, the photoelectric detection device and the light source device.
[0012] In one of the embodiments, controlling the light source device to operate at a preset frequency includes: acquiring a delay magnitude of the imaging device to be tested; determining a preset frequency of the light source device according to the delay magnitude; and controlling the light source device to operate at the preset frequency.
[0013] In one embodiment, controlling the light source device to operate at a preset frequency includes: controlling the light source device to operate at a minimum frequency; acquiring a first image captured by the image acquisition device, and if it is detected that a light source component is in a lit state in the first image, increasing the frequency by a preset step size, and controlling the light source device to operate at the increased frequency; acquiring a second image captured by the image acquisition device, and if it is detected that a light source component is in a lit state in the second image, continuing to increase the frequency by a preset step size until no light source component is detected to be in a lit state in the image captured by the image acquisition device, and using the previous frequency as the preset frequency; controlling the light source device to operate at the preset frequency.
[0014] In one of the embodiments, the preset time T1 is greater than the nominal delay of the imaging device to be tested, and is less than or equal to the maximum delay measurement range of the light source device at a preset frequency.
[0015] In one embodiment, determining the delay time of the imaging device to be tested based on the time T2 when the effective signal is collected and the photon capture time T3 includes: determining the delay time of the imaging device to be tested by subtracting the photon capture time T3 from the time T2 when the effective signal is collected.
[0016] In one embodiment, the image processing of the displayed image to determine the photon capture moment T3 of the imaging device to be tested includes: acquiring a mark light source image; determining first coordinate information of multiple mark light source components based on the mark light source image; determining second coordinate information of the first light source component to be lit in the displayed image based on the displayed image; and determining the photon capture moment T3 of the imaging device to be tested based on the first coordinate information, the second coordinate information and a preset frequency of the light source device.
[0017] In one of the embodiments, the step of acquiring the logo light source image includes: acquiring a third image acquired by the image acquisition device; lighting up multiple logo light source components of the light source device in the third image; acquiring a fourth image acquired by the image acquisition device; extinguishing all light source components of the light source device in the fourth image; and determining the logo light source image based on the third image and the fourth image.
[0018] In one of the embodiments, the processor is connected to the imaging device to be tested, and the operation of the imaging device to be tested is controlled by the processor; by connecting the processor to the imaging device to be tested, the automation of the delay detection system is achieved, thereby improving the efficiency, automation, and convenience of the detection.
[0019] As an implementation mode, the processor is not connected to the imaging device to be tested. This situation is applicable to the case where the imaging device to be tested does not support external connection to control it, and the operation control of the imaging device to be tested can be performed manually or in other ways.
[0020] In the second aspect, the present application also provides a delay time detection method, which is applied to the delay time detection system of the first aspect mentioned above; the method includes: the processor controls the light source device to run at a preset frequency; the time synchronization device receives the acquisition instruction of the processor, starts to collect the signal of the photoelectric detection device at the preset time T1, records the time when the effective signal is collected as T2, and synchronously triggers the image acquisition device to collect the image at time T2; the processor receives the display image collected by the image acquisition device, and performs image processing on the display image to determine the photon capture time T3 of the imaging device to be tested; according to the time T2 when the effective signal is collected and the photon capture time T3, the delay time of the imaging device to be tested is determined. As a preferred embodiment of the above method, the processor also controls the operation of the imaging device to be tested.
[0021] The delay time detection system and method described above include: a time measurement target plate, an image acquisition device, a photoelectric detection device and a processor. The time measurement target plate includes a light source device and a time synchronization device. The time synchronization device and the image acquisition device are respectively connected to the processor; the light source device, the image acquisition device and the photoelectric detection device are respectively connected to the time synchronization device. The imaging device to be tested is arranged between the time measurement target plate and the image acquisition device, and is used to acquire the image of the light source device and display it on the display component of the imaging device to be tested. The image acquisition device is used to acquire the display image of the display component of the imaging device to be tested, and transmit the display image to the processor. The photoelectric detection device is arranged in front of the display component of the imaging device to be tested, and is used to detect the refresh of the display component. The processor is used to control the light source device to operate at a preset frequency. The time synchronization device is used to receive the acquisition instruction of the processor, start to acquire the signal of the photoelectric detection device at a preset time T1, record the time when the effective signal is acquired as T2, and synchronously trigger the image acquisition device to acquire the image at time T2. The processor is also used to receive the display image captured by the image acquisition device, and perform image processing on the display image to determine the photon capture time T3 of the imaging device to be tested; according to the time T2 when the effective signal is collected and the photon capture time T3, the delay time of the imaging device to be tested is determined. The delay time of the imaging device to be tested can be accurately detected by the above-mentioned delay time detection system, further improving the accuracy of delay time detection. As a preferred embodiment of the above-mentioned system, the processor is also used to control the operation of the imaging device to be tested. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A schematic diagram of photons generated by a light source at 0 ms in one embodiment;
[0023] Figure 2 A schematic diagram of photons generated by a light source at 5 ms in one embodiment;
[0024] Figure 3 A schematic diagram of the time difference between the arrival time of a photon and the triggering time of a photodiode in one embodiment;
[0025] Figure 4 A schematic diagram of the structure of a delay time detection system in one embodiment;
[0026] Figure 5 is a structural schematic diagram of a light source device in one embodiment;
[0027] Figure 6 is a display image captured by an image capture device in one embodiment;
[0028] Figure 7 A schematic diagram of generating a logo light source image in one embodiment;
[0029] Figure 8 A logo light source image and a display image in one embodiment;
[0030] Fig. 9 A schematic diagram of a timeline of the operation of a delay time detection system in one embodiment;
[0031] Fig.10 FIG. 4 is a flow chart of a delay time detection method in an embodiment. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0033] Video See-through (VST), or video perspective technology, is a technology that captures real-world images through a camera and integrates them into a virtual scene in real time. In a VR headset, the VST mode captures real-world video streams through the VR headset's camera, then combines these video streams with virtual content and presents them to the user through the VR headset or other display devices. In the VST mode of a VR headset, there will be a delay in its display, which will reduce the user experience and even cause motion sickness. Therefore, accurate delay detection can help manufacturers optimize the hardware or software of the device to achieve the purpose of reducing delay. Among them, photon-to-photon delay (PTP) is a method to measure the delay of the VST system. Taking VR headsets as an example, PTP delay refers to the time required for the VR headset's camera to capture real-world photons (light signals) to the time these light signals are processed and presented on the VR headset's display.
[0034] In the current related technologies, when delay time detection is performed on VR head-mounted display devices, since the device is a terminal integration device, its delay time is affected by hardware, software and usage environment, as well as the camera exposure time, frame rate and display screen refresh frame rate that exist during delay time detection. Therefore, the stability and accuracy of the delay time detection are difficult to guarantee.
[0035] In the current related technologies, when performing delay detection on the VST mode of a VR headset, the PTP delay is detected as the delay time. The detection of delay time in the related technologies is mainly divided into two parts: one is the photon generating end; the other is the photon detecting end. The photon generating end is the light source. The photon detecting end is a photodiode, which is fixedly installed in front of the display component of the VR headset to detect the photon signal output by the display component. By connecting the photon generating end and the photon detecting end to the same industrial computer, the time difference between the photon generating end and the photon detecting end is statistically calculated to determine the delay time of the device. However, this method does not take into account the impact of VST camera exposure and screen refresh, resulting in low measurement accuracy.
[0036] In the related art, the light source and the camera of the VR headset are not strictly synchronized. The camera of the VR headset has three main processes in one event: Reset, Exposure, and Readout. Among them, Reset is the initialization process of the camera, which mainly clears the charge of each pixel to ensure that there is no residual charge at the beginning of exposure, so as to avoid the afterimage of the previous frame affecting the image quality of the current frame. Exposure is the process of the camera capturing light signals, during which each pixel in the camera sensor receives light and accumulates charge. Readout is the process of reading the charge of each pixel from the camera sensor, converting it into a digital signal, and then transmitting it to the image processor for processing and storage. After the VR headset turns on the VST mode, the camera's event events will continue to occur. That is, the starting moment when the light source is lit to generate photons may occur at any time in the event, which will introduce the factor of exposure time in the delay time detection, thereby affecting the accuracy of the delay time detection. Since the Reset and Readout processes are basically completed instantly, the time used for an event can be considered as the Exposure process. For example, Figure 1 As shown in the figure, assuming that the event of the VR head display camera takes 11ms, the camera captures the photons generated by the light source at the 0ms moment of the current event. At this time, the detected delay time includes 11ms of the entire event. Figure 2 As shown in the figure, assuming that the event of the VR head display camera takes 11ms, the camera captures the photons generated by the light source at the 5ms moment of the current event. At this time, the detected delay time includes the remaining 6ms of this event. Therefore, it is necessary to consider the impact of different exposure times on the VST delay detection results.
[0037] In addition, when the VR headset is turned on and enters VST mode, its display components are refreshed at a fixed period (such as Figure 3 As shown in Figure 1), the photon signal collected by the camera of the VR headset may reach the display component at any uncertain time during the refresh cycle of the display component, but the photon will only be displayed on the display component at the refresh time during the refresh cycle. Therefore, there will be a time difference between the photon reaching the display component and the photon actually being displayed on the display component, which will also have a great impact on the delay time detection. For example, Figure 3 As shown in the figure, △t1 and △t2 are the time difference between the photon reaching the display component and the photon actually being displayed on the display component under two different conditions.
[0038] Based on the above, how to accurately measure the VST delay of the VR headset, also known as the PTP delay, is an urgent problem that needs to be solved.
[0039] The present application embodiment provides a delay time detection system, such as Figure 4 As shown, the delay time detection system is used to realize the delay detection of the imaging device to be tested; the delay time detection system includes a time measurement target plate 100, an image acquisition device 200, a photoelectric detection device 300 and a processor 400. The time measurement target plate 100 includes a light source device 110 and a time synchronization device 120; the time synchronization device 120, the image acquisition device 200 and the imaging device to be tested 500 are respectively connected to the processor 400; the light source device 110, the image acquisition device 200 and the photoelectric detection device 300 are respectively connected to the time synchronization device 120.
[0040] The imaging device 500 to be tested is arranged between the time measurement mark plate 100 and the image acquisition device 200. The imaging device 500 to be tested is used to collect the image of the light source device 110 and display it on the display component of the imaging device 500 to be tested. When the delay time detection system is in use, the imaging device 500 to be tested is arranged between the light source device 110 and the image acquisition device 200. The light source device 110 needs to be arranged in the imaging area of the camera of the imaging device 500 to be tested, so as to ensure that the camera of the imaging device 500 to be tested can collect the complete image of the light source device 110 and display the image of the light source device 110 on the display component of the imaging device 500 to be tested. Among them, the imaging device 500 to be tested can be a VR head display, or it can be any device that can realize the VST mode, which is not specifically limited in the embodiment of the present application. The following takes the imaging device 500 to be tested as a VR head display as an example for explanation. Since the VR head display includes two display components corresponding to the left and right eyes, there can be two image acquisition devices 200, which respectively acquire images of the corresponding display components; it can be understood that there can also be two photoelectric detection devices 300, which respectively acquire the screen lighting signal of the corresponding display components. That is, the delay time detection system provided in the embodiment of the present application can detect the delay time corresponding to the two display components for the left and right eyes respectively.
[0041] The light source device 110 includes a plurality of light source components and a light source driving component arranged in sequence. The light source component may be an LED lamp or any object capable of emitting light. The number of light source components may be determined according to the delay time of the imaging device 500 to be tested, and is not specifically limited in the embodiment of the present application. The arrangement in sequence may be arranged in sequence from one end to the other end in one direction, for example, Figure 5As shown, the light source device 110 can be composed of 100 independently controllable LED lights, and the time synchronization device 120 can control the operation of the light source device 110 through the light source driving component. The operation of the light source device 110 can be lit up in sequence from left to right, or from right to left. The time synchronization device 120 can also control the frequency and brightness of the light source device 110 through the light source driving component to achieve the effect of a marquee. During the operation of the light source device 110, only one light source component is in a lit state at the same time. By adjusting the frequency of the light source device 110, the delay time range that can be detected by the delay time detection system is adjusted. For example, if the frequency of the light source device 110 is set to 1000Hz, the time required for all 100 LED lights to complete the display is 100ms, and the delay time range of the imaging device to be detected that can be detected is 0ms-100ms; if the frequency of the light source device 110 is set to 300Hz, the time required for all 100 LED lights to complete the display is 333ms, and the delay time range of the imaging device to be detected that can be detected is 0ms-333ms; if the frequency of the light source device 110 is set to 3000Hz, the time required for all 100 LED lights to complete the display is 33ms, and the delay time range of the imaging device to be detected that can be detected is 0ms-33ms.
[0042] The image acquisition device 200 is used to acquire the display image of the display component of the imaging device 500 to be tested, and transmit the display image to the processor 400. The display component of the imaging device 500 to be tested is set in the imaging area of the image acquisition device 200. Taking the VR head display as an example, there are two image acquisition devices 200, and the VR head display includes a display component corresponding to the left eye and a display component corresponding to the right eye; the display component corresponding to the left eye is set in the imaging area of the first image acquisition device 200; the display component corresponding to the right eye is set in the imaging area of the second image acquisition device 200. The display image acquired by the image acquisition device 200 includes the picture displayed by the display component. The image acquisition device 200 can be a binocular detection camera, and the two cameras correspond to the display component of the left eye and the display component of the right eye respectively. The binocular detection camera is rigidly composed of two cameras of the same type, which supports automatic or manual gain adjustment, exposure time adjustment, and hard triggering for taking pictures. Among them, in this embodiment, the gain adjustment range is 0dB-20dB; the exposure time adjustment range is 15us~10sec.
[0043] The photoelectric detection device 300 is arranged in front of the display component of the imaging device 500 to be tested, and is used to detect the refresh of the display component. The photoelectric detection device 300 can be fixed at the front end of the image acquisition device 200 by a bracket, and its setting position needs to ensure that the photoelectric detection device 300 can detect the refresh of the display component of the imaging device 500 to be tested. Taking the imaging device 500 to be tested as a VR head display and the image acquisition device 200 as a binocular camera as an example, there are two photoelectric detection devices 300, one photoelectric detection device 300 corresponds to the display component of the left eye, and is used to detect the refresh of the display component of the left eye. The time synchronization device 120 collects the signal of the screen lighting of the display component, and controls the camera corresponding to the display component of the left eye to collect the display picture including the display component of the left eye based on the signal of the screen lighting of the display component; the other photoelectric detection device 300 corresponds to the display component of the right eye, and is used to detect the refresh of the display component of the right eye. The time synchronization device 120 collects the signal of the screen lighting of the display component, and controls the camera corresponding to the display component of the right eye to collect the display picture including the display component of the right eye based on the signal of the screen lighting of the display component. The photoelectric detection device 300 includes a PD photodiode, which can convert an optical signal into an electrical signal. The spectrum range that the photodiode can respond to is 400nm-690nm, which is slightly smaller than the visible light range of 380nm-750nm. The photodiode has a response time of 0.09us and a small size, which can reduce the overall size of the delay time detection system. The photodiode can be used to detect the refresh and refresh cycle of the display component.
[0044] like Figure 4 As shown, two photoelectric detection devices 300 are respectively installed in front of the left and right eyepiece camera lenses of the image acquisition device 200 and are firmly fixed. The fixation can be fixed by a fixing bracket (not shown) or the like. The distance between the photoelectric detection device 300 and the display component of the imaging device 500 to be tested is about 12mm-22mm. The photoelectric detection device 300 is connected to the time synchronization device 120, and the time synchronization device 120 is connected to the processor 400; the photoelectric detection device 300 detects the refresh of the display component, collects the signal of the screen lighting of the display component, and sends the signal indicating that the screen lighting of the display component is to the time synchronization device 120, and the time synchronization device 120 controls the image acquisition device 200 to collect the display image including the display component of the imaging device to be tested according to the signal. The image acquisition device 200 is rigidly composed of two binocular cameras of exactly the same type and is connected to the processor 400. The processor 400 can set the exposure time, gain and shooting properties of the image acquisition device 200. The light source device 110, the image acquisition device 200, the photoelectric detection device 300 and the time synchronization device 120 share the same clock source, so that the delay time detection system can achieve a synchronization accuracy of microsecond level.
[0045] The processor 400 is used to control the operation of the imaging device 500 to be tested and to control the light source device 110 to operate at a preset frequency; the time synchronization device 120 is used to receive the acquisition instruction of the processor 400, start to acquire the signal of the photoelectric detection device at a preset time T1, record the time when the effective signal is acquired as T2, and synchronously trigger the image acquisition device 200 to acquire an image at time T2; the processor 400 is also used to receive the display image acquired by the image acquisition device 200, and perform image processing on the display image to determine the photon capture time T3 of the imaging device to be tested; and determine the delay time of the imaging device to be tested according to the time T2 when the effective signal is acquired and the photon capture time T3.
[0046] When the delay time detection system is used to detect the delay time of the imaging device 500 to be tested, the imaging device 500 to be tested is first controlled to run through the processor 400. The processor 400 controls the light source device 110 to run at a preset frequency through the time synchronization device 120. The processor 400 can be any device with a data processing function, such as a computer device, etc. The time synchronization device 120 can be any device with a data processing function, such as a single-chip microcomputer, a computer device, etc. Control the imaging device 500 to run, that is, control the imaging device 500 to be tested to start up and enter the VST mode. After entering the VST mode, the event of the camera of the imaging device 500 to be tested will continue to occur. Control the light source device 110 to run, that is, control the light source device 110 to turn on. After turning on, multiple light source components of the light source device 110 are lit in sequence, and only one light source component is in the lighting state at the same time. The following is an example of all light source components lighting up in sequence from left to right after the light source device 110 runs. When the delay magnitude of the imaging device 500 to be tested is known, the preset frequency can be determined according to the delay magnitude of the imaging device 500 to be tested. When the delay magnitude of the imaging device 500 to be tested is unknown, the frequency of the light source assembly 110 can be gradually increased to determine the preset frequency in a step-by-step approach. When the light source device 110 is controlled to operate, the brightness of the light source device 110 will be set at the same time. The brightness needs to be set according to the brightness of the current test environment. It is necessary to ensure that the light source device 110 observed in the display image captured by the image acquisition device 200 will not be too bright or too dark when it is lit.
[0047] After the imaging device 500 to be tested and the light source device 110 are running, the time synchronization device 120 receives the acquisition instruction of the processor 400, starts to collect the signal of the photoelectric detection device 300 at the preset time T1, records the time when the valid signal is collected as T2, and synchronously triggers the image acquisition device 200 to collect the image at the time T2. The processor 400 sends the acquisition instruction to the time synchronization device 120, wherein the acquisition instruction includes the preset time T1. After receiving the acquisition instruction, the time synchronization device 120 starts to collect the signal of the photoelectric detection device 300 at the preset time T1. After the imaging device 500 to be tested and the light source device 110 are running, the photoelectric detection device 300 is also in a working state, and the refresh generation signal of the display component of the imaging device 500 to be tested is detected in real time, but the time synchronization device 120 does not obtain the signal. After receiving the acquisition instruction, the time synchronization device 120 starts to collect the signal of the photoelectric detection device 300 in real time at the preset time T1, and records the time when the valid signal is collected as T2. The preset time T1 is determined by taking the time when the first light source component is lit after the light source device 110 is running as the initial time. After the light source device 110 is running, the time when the first light source component in the light source device 110 is lit is taken as time 0. When the preset time T1 is reached, the time synchronization device 120 starts to collect the signal of the photoelectric detection device 300. The preset time T1 needs to be set according to the delay magnitude of the imaging device 500 to be tested. Specifically, the preset time T1 is greater than the nominal delay of the imaging device to be tested, and is less than or equal to the maximum delay measurement range of the light source device at the preset frequency. The preset time T1 needs to be greater than the nominal delay of the imaging device 500 to be tested. If it is less than the nominal delay of the imaging device 500 to be tested, it may cause the image acquisition device 200 to collect the displayed image. The nominal delay can be the delay roughly calibrated when the imaging device to be tested leaves the factory. The maximum delay measurement range of the light source device at the preset frequency is the time required for all light source components to light up in sequence at the current preset frequency. For example, if the preset frequency of the light source device 110 is 1000 Hz, the light source device includes 100 light source components, and the maximum delay measurement range of the light source device 110 is 100 ms. If the preset frequency of the light source device 110 is 300 Hz, the light source device includes 100 light source components, and the maximum delay measurement range of the light source device 110 is 333 ms. If the preset frequency of the light source device 110 is 3000 Hz, the light source device includes 100 light source components, and the maximum delay measurement range of the light source device 110 is 33 ms. For example, if the nominal delay of the imaging device 500 to be tested is 2 ms, and the preset frequency of the light source device 110 is 1000 Hz, the preset time can be set to 3 ms, and the preset time T1 is the lighting time of the fourth light source component.In order to satisfy the imaging device 500 to be tested corresponding to all delay times, the lighting time of the last light source component of the light source device 110 can be used as the preset time T1. Assuming that the frequency of the light source device 110 is 1000Hz, 99ms can be used as the preset time, that is, the lighting time of the last light source component in the light source device 110. The photoelectric detection component 300 detects the refresh of the display component of the imaging device 500 to be tested, and the time when the photoelectric detection component 300 detects the effective signal of the display component is T2. Two points need to be explained here, respectively: (1) The effective signal represents the signal when the screen of the display component is lit; (2) The signal of the photoelectric detection device 300 corresponds to a corresponding timestamp, and the time synchronization device can directly obtain the timestamp T2 when the photoelectric detection device detects the effective signal; or it can start calculating at the preset time T1 to obtain the time difference between the preset time T1 and the time when the effective signal is collected, and then sum the time difference between the preset time T1 and the time when the effective signal is collected to determine the time T2 of the effective signal. The time synchronization device 120 synchronously triggers and controls the image acquisition device 200 to acquire images at time T2, and the image acquisition device 200 sends the acquired display image to the processor 400.
[0048] At the time T2 when the effective signal is collected, the time synchronization device 120 synchronously controls the image acquisition device 200 to collect images, that is, controls the image acquisition device 200 to collect the display image of the display component of the imaging device 500 to be tested. The display component of the imaging device 500 to be tested is within the imaging range of the image acquisition device 200, that is, the image acquisition device 200 can collect the picture currently displayed by the display component. Figure 6 As shown, it is the display image collected by the image acquisition device 200. After the light source device 110 is running, all light source components are lit one by one in turn. Since the imaging device 500 to be tested enters the VST mode, the event event will continue to occur, and an event event will last for a period of time, that is, the camera can continuously receive the photons generated by the light source device 110 during this period of time. If multiple light source components are lit one by one in this period of time, then in this event event, the camera can receive the photon signal generated by each light source component that is lit, that is, in the image generated by this event event, there will be multiple light source components lit at the same time. Take an event event that takes 11ms and the frequency of the light source device 100 is 1000Hz as an example: an event event corresponds to 11 light source components lighting up in turn, then in the image generated by this event event, there will be 11 light source components that are all in the lighting state. At this time, the image acquisition device 200 collects the display image of the display component of the imaging device 500 to be tested, and there will also be 11 light source components that are all in the lighting state in the display image.
[0049] After receiving the display image captured by the image acquisition device 200, the processor 400 performs image processing on the display image to determine the photon capture time T3 of the imaging device 500 to be tested; and determines the delay time of the imaging device 500 to be tested according to the time T2 of the effective signal collected and the photon capture time T3. Among them, the time T2 of the effective signal represents the time corresponding to the signal when the screen of the display component is lit, that is, the time when the display component of the imaging device to be tested displays photons. According to the display image, the time when the imaging device to be tested 500 captures photons can be determined, that is, the photon capture time T3. Therefore, according to the time T2 of the effective signal and the photon capture time T3, the delay time of the imaging device to be tested 500 is determined, that is, the PTP delay of the imaging device to be tested 500 is determined.
[0050] The delay time detection system mentioned above, wherein the delay time detection system comprises: a time measurement mark plate, an image acquisition device, a photoelectric detection device and a processor. The time measurement mark plate comprises a light source device and a time synchronization device. The time synchronization device, the image acquisition device and the imaging device to be tested are respectively connected to the processor; the light source device, the image acquisition device and the photoelectric detection device are respectively connected to the time synchronization device. The imaging device to be tested is arranged between the time measurement mark plate and the image acquisition device, and is used to acquire the image of the light source device and display it on the display component of the imaging device to be tested. The image acquisition device is used to acquire the display image of the display component of the imaging device to be tested, and transmit the display image to the processor. The photoelectric detection device is arranged in front of the display component of the imaging device to be tested, and is used to detect the refresh of the display component. The processor is used to control the operation of the imaging device to be tested and control the light source device to operate at a preset frequency. The time synchronization device is used to receive the acquisition instruction of the processor, start to acquire the signal of the photoelectric detection device at a preset time T1, record the time when the effective signal is acquired as T2, and synchronously trigger the image acquisition device to acquire the image at time T2. The processor is also used to receive the display image captured by the image acquisition device, and perform image processing on the display image to determine the photon capture time T3 of the imaging device to be tested; according to the time T2 when the effective signal is collected and the photon capture time T3, the delay time of the imaging device to be tested is determined. The delay time detection system can accurately detect the delay time of the imaging device to be tested, further improving the accuracy of delay time detection.
[0051] In one embodiment, the light source device includes a plurality of light source components and a light source driving component arranged in sequence; the light source driving component is connected to the plurality of light source components and the time synchronization device respectively. The plurality of light source components are independently driven. For example, the light source device includes 100 LEDs arranged horizontally. The light source driving component is used to drive the light source device to operate, and the time synchronization device is used to control the light source driving component to generate a driving signal, thereby driving the light source device to operate.
[0052] In one of the embodiments, the time synchronization device is also used to receive the operation instruction of the processor, and control the light source driving component to light up multiple light source components at a preset frequency. When the processor controls the light source device to operate at a preset frequency, it will generate an operation instruction, which includes the preset frequency, and transmit the operation instruction to the time synchronization device. After receiving the operation instruction of the processor, the time synchronization device sends the operation instruction to the light source driving component, and the light source driving component generates a driving signal, which corresponds to the preset frequency, so as to drive the multiple light source components of the light source device to light up at the preset frequency according to the driving signal. When lighting up multiple light source components at a preset frequency, any one of the multiple light source components can be used as the first light source component to be lit, and then the subsequent light source components can be lit in sequence. It is also possible to control the light source driving component to light up multiple light source components in sequence at a preset frequency with the time synchronization device, that is, the first light source component among the multiple light source components is used as the first light source component, and then the subsequent light source components are lit in sequence.
[0053] For example, the light source device includes 100 LEDs arranged horizontally. It can be understood that only one LED is lit at a time, and they are lit in sequence from left to right; it can also be understood that only one LED is lit at a time, and they are lit in sequence from right to left. Taking lighting up in sequence from the left as an example, the 50th LED can be used as the first light source component to be lit, and then the subsequent light source components can be lit in sequence at a preset frequency; or the first LED can be used as the first light source component to be lit, and then the subsequent light source components can be lit in sequence at a preset frequency. By arranging multiple light source components horizontally, the number of adjacent light source components can be reduced, thereby reducing the influence between light source components. Controlling multiple light source components to light up in sequence at a preset frequency can provide a time reference for the measurement of delay time, thereby making the detection of delay time more accurate.
[0054] In one embodiment, the time synchronization device is also used to control the clock synchronization of the image acquisition device, the photoelectric detection device and the light source device. The clock synchronization device is connected to the image acquisition device, the photoelectric detection device and the light source device respectively, and the clock synchronization needs to be performed before the delay detection of the imaging device to be tested. For example, the clock of the time synchronization device can be used as a reference to synchronize the clocks of the image acquisition device, the photoelectric detection device and the light source device with the clock of the time synchronization device. Thereby eliminating the error caused by the clock asynchronism, and further making the delay detection more accurate.
[0055] When the delay magnitude of the imaging device to be tested is known, the preset frequency can be determined according to the delay magnitude of the imaging device to be tested. When the processor controls the light source device to operate at a preset frequency, it needs to first obtain the delay magnitude of the imaging device to be tested; determine the preset frequency of the light source device according to the delay magnitude; and control the light source device to operate at the preset frequency. The delay magnitude is the possible range of the delay time of the imaging device to be tested. For example, the delay magnitude may include 0ms-33ms magnitude, 34ms-100ms magnitude, and 101ms-333ms magnitude. A mapping relationship between the delay magnitude and the preset frequency is established in advance. After obtaining the delay magnitude of the imaging device to be tested, the mapping relationship is searched according to the delay magnitude to determine the preset frequency of the light source device. For example, if the delay level of the imaging device to be tested is in the range of 0ms-33ms, the corresponding preset frequency is 3000Hz; if the delay level of the imaging device to be tested is in the range of 34ms-100ms, the corresponding preset frequency is 1000Hz; if the delay level of the imaging device to be tested is in the range of 101ms-333ms, the corresponding preset frequency is 300Hz. Since the delay time of common VR headsets is within 100ms, the preset frequency of the light source device is usually set to 1000Hz to meet the test requirements. After the preset frequency of the light source device is determined and the light source device is controlled to operate at the preset frequency, the processor generates an operating instruction based on the preset frequency and transmits the operating instruction to the time synchronization device. The time synchronization device sequentially lights up the plurality of light source assemblies at the preset frequency based on the operating instruction.
[0056] When the delay magnitude of the imaging device to be tested is unknown, the frequency of the light source component can be gradually increased from small to large to determine the preset frequency. The processor controls the light source device to operate at the minimum frequency; obtains the first image captured by the image acquisition device, and if it is detected that the light source component is in the illuminated state in the first image, the frequency is increased by a preset step length, and the light source device is controlled to operate at the increased frequency; obtains the second image captured by the image acquisition device, and if it is detected that the light source component is in the illuminated state in the second image, the frequency is continued to be increased by a preset step length until the light source component is not detected in the image captured by the image acquisition device. The previous frequency is used as the preset frequency. The processor first controls the imaging device to be tested to operate, enters the VST mode, and generates an operation instruction based on the minimum frequency, and transmits the operation instruction to the time synchronization device. The time synchronization device sequentially lights up multiple light source components at the minimum frequency based on the operation instruction. Then, the image acquisition device is controlled to acquire a first image of the display component of the imaging device to be tested. The processor obtains the first image acquired by the image acquisition device, and detects whether there is a light source component in the first image that is in a lit state. If it can be detected that the light source component is in a lit state, the frequency is increased by a preset step size, and an operation instruction is generated based on the increased frequency, and the operation instruction is transmitted to the time synchronization device. The time synchronization device sequentially lights up a plurality of the light source components at the increased frequency based on the operation instruction. Then, the image acquisition device is controlled to acquire a second image of the display component of the imaging device to be tested, and detects whether there is a light source component in the second image that is in a lit state. If it can be detected that the light source component is in a lit state, the frequency is continuously increased by a preset step size until no light source component is detected in the image acquired by the image acquisition device that is in a lit state, and the previous frequency is used as the preset frequency. If no light source component is detected to be in the illuminated state in the display image corresponding to the minimum frequency, it is necessary to confirm whether the state of the imaging device to be tested is abnormal and whether the state of the delay time detection system is abnormal. If the states of the imaging device to be tested and the delay time detection system are both normal, and it is still impossible to detect that the light source component is in the illuminated state, then it is determined that the delay magnitude of the imaging device to be tested exceeds the maximum range of the delay time detection system, and the user is prompted that the detection cannot be completed. Among them, the abnormal states of the imaging device to be tested include: shutdown state, fault state and functional damage state. The abnormal states of the delay time detection system include: unstarted state, abnormal light source device, abnormal photoelectric detection device and abnormal image acquisition device. When detecting whether there is a light source component in the illuminated state in the display image, the detection can be performed by a pre-trained deep learning model, or by naked eye observation, which is not specifically limited in the embodiments of the present application.
[0057] For example, the frequency corresponding to the light source device includes three gears of 3000Hz, 1000Hz and 300Hz. First, the light source device is controlled to run at a frequency of 300Hz, the imaging device to be tested is controlled to run, and the VST mode is entered. The image acquisition device is controlled to acquire the first image, and it is detected whether there is a light source component in the first image that is in a lit state. If yes, the frequency of the light source device is set to 1000Hz. The image acquisition device is controlled again to acquire the second image, and it is detected whether there is a light source component in the second image that is in a lit state. If yes, the frequency of the light source device is set to 3000Hz. The image acquisition device is controlled again to acquire the display image, and it is detected whether there is a light source component in the display image that is in a lit state. At this time, if no, the preset frequency of the light source component is determined to be 1000Hz.
[0058] By determining the preset frequency of the light source device and using different preset frequencies to detect imaging devices to be tested with different delay levels, the detection accuracy is further improved.
[0059] In one of the embodiments, the processor is also used to obtain the refresh frequency of the display component of the imaging device to be tested; according to the refresh frequency, the exposure time of the image acquisition device is set. Before the image acquisition device acquires the display image, the exposure time of the image acquisition device needs to be set in advance, and the exposure time needs to be less than the refresh frequency of the display component, otherwise it may cause the acquired display image to contain two frames of images displayed by the display component itself. While setting the exposure time of the image acquisition device, the processor can also set the image storage format, image resolution, and rising edge signal triggering image acquisition and other functions of the image acquisition device.
[0060] By setting the exposure time to be less than the refresh rate of the display component, the display image captured by the image acquisition device can be made more accurate, thereby further improving the detection accuracy.
[0061] In one embodiment, according to the time T2 when the effective signal is collected and the photon capture time T3, determining the delay time of the imaging device to be tested includes: determining the delay time of the imaging device to be tested 500 by subtracting the photon capture time T3 from the time T2 when the effective signal is collected. The time T2 of the effective signal represents the time corresponding to the signal that the screen of the display component is lit, that is, the time when the display component of the imaging device to be tested displays photons. At this time, the display image collected by the image acquisition device includes multiple light source components in a lit state. In order to remove the influence of the exposure time of the imaging device to be tested on the delay time, the photon corresponding to the time T2 of the effective signal is the photon generated by the first light source component in the display image. The photon capture time T3 also corresponds to the photon capture time corresponding to the photon generated by the first light source component in the display image. T2-T3, the delay time of the imaging device to be tested is obtained, that is, the PTP delay of the imaging device to be tested 500 is determined.
[0062] In one of the embodiments, performing image processing on a displayed image to determine the photon capture moment T3 of the imaging device to be tested includes: acquiring a mark light source image; determining first coordinate information of a plurality of mark light source components based on the mark light source image; determining second coordinate information of the first light source component to be lit in the displayed image based on the displayed image; and determining the photon capture moment T3 of the imaging device to be tested based on the first coordinate information, the second coordinate information and a preset frequency of the light source device.
[0063] Before acquiring the logo light source image, it is necessary to generate the logo light source image first. First, multiple logo light source components are determined at equal intervals among the multiple light source components of the light source device. For example, the first light source component in the light source device is set as the logo light source component, and then a logo light source component is set at a fixed interval. For example, the light source device includes 100 LEDs, the first LED is set as the logo light source component, the spacing is 9 LEDs, the 11th LED is set as the logo light source component, and so on, so that the interval between the two logo light source components is 10 LEDs. All the logo light source components in the light source device are controlled to light up, and the remaining light source components are turned off. The imaging device to be tested collects the image of the light source device at this time and displays it on the display component. The image acquisition device is controlled to collect the third image of the display component of the imaging device to be tested at this time. The processor obtains the third image collected by the image acquisition device. In the third image, multiple logo light source components of the light source device are lit, and the remaining light source components are turned off. Then, all light source components in the light source device are controlled to be turned off, and the imaging device to be tested collects the image of the light source device at this time and displays it on the display component. The image acquisition device is controlled to collect a fourth image of the display component of the imaging device to be tested at this time. The processor obtains the fourth image collected by the image acquisition device, and all light source components of the light source device in the fourth image are turned off. Finally, according to the third image and the second image, the marker light source image is determined, such as Figure 7 As shown, the fourth image is subtracted from the third image to obtain the logo light source image. The remaining environmental information except the logo light source component in the third image is removed by subtraction, which facilitates the subsequent recognition of the logo light source image.
[0064] When determining the photon capture time T3 of the imaging device to be tested, first obtain the mark light source image; determine the first coordinate information of multiple mark light source components according to the mark light source image; determine the second coordinate information of the first light source component lit in the display image according to the display image; determine the photon capture time T3 of the imaging device to be tested according to the first coordinate information, the second coordinate information and the preset frequency of the light source device. The first coordinate information is the coordinate information of the mark light source component in the mark light source image. Since the structural dimensions of each mark light source component are the same, the coordinate information corresponding to the fixed position of the light source component can be used as the first coordinate information of the corresponding mark light source component. For example, the coordinate information corresponding to the upper left corner pixel point of each mark light source component in the mark light source image can be used as the first coordinate information of the corresponding mark light source component. The second coordinate information is the coordinate information corresponding to the first light source component in the display image that is in a lit state. For example, the coordinate information corresponding to the upper left corner pixel point of the first light source component in a lit state can be used as the second coordinate information. After determining the multiple first coordinate information and the second coordinate information, it is necessary to determine the adjacent first target coordinate information and the second target coordinate information in the multiple first coordinate information according to the multiple first coordinate information and the second coordinate information. The second coordinate information is between the first target coordinate information and the second target coordinate information. Then, according to the first target coordinate information, the number of first coordinate information before it is determined. Based on the following formula, the photon capture time T3 of the imaging device to be tested is determined.
[0065]
[0066] Among them, T is the photon capture moment T3; a is the first target coordinate information; b is the second target coordinate information; c is the second coordinate information; f is the frequency of the light source device; k is the coordinate distance between each pair of marking light source components; d is the number of first coordinate information before the first target coordinate information, and each first coordinate information represents a marking light source component.
[0067] For example, before calculating the photon capture time T3, the display image may be processed first, that is, the fourth image may be subtracted from the display image to obtain the image of the light source component being lit. By subtracting, the remaining environmental information in the display image except for the light source component being lit is removed, so that the light source component can be identified later. Figure 8As shown, since all the light source components in the light source device are arranged horizontally, the ordinates corresponding to each light source component are the same, so the corresponding coordinate information can be expressed only by the abscissa. The first coordinate information corresponding to the first sign light source component is 0; the coordinate distance between the two sign light source components is 10; the first coordinate information corresponding to the second sign light source component is 10, and so on, the first coordinate information corresponding to the 10th sign light source component is 90; the first coordinate information corresponding to the 11th sign light source component is 100. The second coordinate information is 22. At this time, the first target coordinate information is determined to be 20, and the second target coordinate information is 30. There are 2 first coordinate information before the first target coordinate information. The frequency of the current light source device is 1000Hz, that is, the time interval between the lighting of two adjacent light source components is 1ms. Then the photon capture time T3 is calculated as: (22-20) / (30-20)×1ms×10+2×1ms×10=22.
[0068] Since the second coordinate information is the coordinate information corresponding to the first light source component in the display image that is in the lit state, the photon capture time T3 is the time when the photon generated by the first light source component in the display image is captured by the imaging device to be tested. Therefore, the photon capture time T3 and the time T2 of the effective signal correspond to the photon generated by the same light source component, and the delay time of the imaging device to be tested, that is, the PTP delay of the imaging device to be tested, is determined by subtracting the photon capture time T3 from the time T2 of the effective signal.
[0069] Through the effective signal moment T2, the photon display moment corresponding to the photon generated by the first light source component in the display image can be accurately determined. By setting the marker light source image and taking the first coordinate information of multiple marker light source components in the marker light source image as the time reference, the moment when the photon generated by the first light source component in the display image is captured by the imaging device to be tested can be accurately determined. Finally, through the effective signal moment T2 and the photon capture moment T3, the delay time of the imaging device to be tested is determined, thereby improving the detection accuracy of the delay time.
[0070] In one specific embodiment, Fig. 9 As shown in the figure, the three curves are the total clock source, the event cycle of the camera of the imaging device under test, and the refresh cycle of the display component of the imaging device under test. When detecting the VST delay of the imaging device under test, that is, the PTP delay:
[0071] Step 1, the time synchronization device controls the light source device, the image acquisition device, the photoelectric detection device and the processor to use a common clock source, that is, the total clock source. The processor sets the frequency, brightness and other parameters of the light source device according to the delay magnitude of the imaging device to be tested. For example, the VST delay of a known common VR headset is at the millisecond level, so the frequency of the light source device can be set to 1000hz@1ms. If the delay magnitude of the imaging device to be tested is unknown, a strategy of gradual approximation from small to large can be adopted to determine the frequency of the light source device, and the light source device can be controlled by the time synchronization device to start working at time T0. The details are as follows:
[0072] First, the frequency of the light source device is set to the minimum frequency, and the image captured by the image acquisition device is observed to see whether the light source component in the lit state can be observed. If the light source component in the lit state can be clearly observed, proceed to the next step. If the light source component in the lit state cannot be clearly observed, it is necessary to confirm the state of the imaging device to be tested and the state of the delay time detection system, so as to determine whether the delay magnitude of the imaging device to be tested exceeds the maximum range of the delay time detection system. If the light source component in the lit state can be clearly observed, the frequency of the light source device is increased, and the image captured by the image acquisition device is repeatedly observed to see whether the light source component in the lit state can be observed. If it can be observed, the frequency of the light source device is continuously increased until the light source component in the lit state cannot be observed, and the previous frequency is used as the frequency of the light source device.
[0073] Step 2, the processor transmits an acquisition instruction to the time synchronization device. After receiving the acquisition instruction, the time synchronization device starts to collect the signal of the photoelectric detection device at a preset time T1. T1 needs to be greater than the delay time of the imaging device to be tested. If it is less than the delay time of the imaging device to be tested, it may cause the image acquisition device to capture the display image. The light source component cannot be observed.
[0074] Step 3: The time synchronization device records the time when the valid signal is collected as T2. The time difference between the preset time T1 and the time T2 when the valid signal is collected is ΔT.
[0075] Step 4: The processor sets the relevant parameters of the image acquisition device, such as exposure time, image saving format, resolution, and rising edge triggering for taking photos. At time T2, the time synchronization device controls the image acquisition device to acquire the screen currently displayed by the display component, that is, the display image. The image acquisition device transmits the acquired display image to the processor. Figure 6As shown, the black in the image is the light source component in the lit state, and the light source components in the continuous lit state are the exposure time of the imaging device to be tested. The processor calculates the displayed image through the algorithm to determine the photon capture time T3. The specific calculation process is as follows: set the brightness of the light source device, light up the logo light source component of the light source device, and collect the third image through the image acquisition device; turn off all the light source components in the light source device, and collect the fourth image through the image acquisition device. Subtract the fourth image from the third image to obtain the logo light source image, and determine the first coordinate information of multiple logo light source components in the logo light source image; use the edge search and filtering algorithm to calculate the displayed image to determine the second coordinate information of the first light source component in the displayed image; according to the first coordinate information, the second coordinate information and the preset frequency of the light source device, determine the photon capture time T3 of the imaging device to be tested. The final VST delay, that is, the PTP delay is: T2-T3.
[0076] In the embodiment of the present application, a time measurement mark plate with controllable frequency and light intensity is provided, and the time measurement mark plate can establish a connection with the photoelectric detection device and the camera of the imaging device to be tested, thereby improving the integrity and stability of the delay time detection system. By starting to collect the signal of the photoelectric detection device at the preset time T1, the time when the effective signal is collected is recorded as T2, thereby eliminating the influence of the refresh of the display component on the delay time, thereby enhancing the accuracy of the delay time calculation. By processing the displayed image, the photon capture time T3 of the imaging device to be tested is accurately determined, and the influence of the exposure time of the imaging device to be tested on the delay time is eliminated, so that the purpose of indirect synchronization between the light source device and the camera of the imaging device to be tested can be achieved, thereby improving the detection accuracy of the delay time. The light source device, the image acquisition device, and the photoelectric detection device are synchronized in time, thereby avoiding the delay time error introduced by the time difference of the delay time detection system itself, thereby improving the detection accuracy of the delay time.
[0077] The delay time detection system provided in the embodiment of the present application can realize the delay time detection of the virtual reality head-mounted display, that is, the VR head display, in the video perspective mode, that is, the delay time detection in the VST mode, which overcomes the influence of factors such as the display component frame rate and exposure time on the delay time in the related art, and realizes the objective evaluation of the delay time of different VR head displays in the VST mode. It provides accurate delay time performance data for equipment manufacturers, so that equipment manufacturers can better optimize the delay time, thereby optimizing the VR head display equipment and improving the user experience.
[0078] Based on the same inventive concept, the embodiment of the present application also provides a delay time detection method applied to the delay time detection system involved above. The implementation scheme for solving the problem provided by the method is similar to the implementation scheme recorded in the above system, so the specific limitations in one or more delay time detection method embodiments provided below can refer to the limitations on the delay time detection system above, and will not be repeated here.
[0079] In one embodiment, Fig.10 As shown, a delay time detection method is provided, which is applied to Figure 4 The delay time detection system in the embodiment comprises the following steps:
[0080] Step 101: The processor controls the imaging device to be tested to operate and controls the light source device to operate at a preset frequency.
[0081] Step 102, the time synchronization device receives the acquisition instruction of the processor, starts to collect the signal of the photoelectric detection device at the preset time T1, records the time when the effective signal is collected as T2, and synchronously triggers the image acquisition device to collect the image at time T2.
[0082] Step 103, the processor receives the display image captured by the image acquisition device, and performs image processing on the display image to determine the photon capture time T3 of the imaging device to be tested; according to the time T2 when the effective signal is collected and the photon capture time T3, the delay time of the imaging device to be tested is determined.
[0083] In one of the embodiments, the light source device includes a plurality of light source components and a light source driving component arranged in sequence; the light source driving component is respectively connected to the plurality of light source components and the time synchronization device.
[0084] In one of the embodiments, the time synchronization device receives an operating instruction from the processor and controls the light source driving component to light up the multiple light source components at a preset frequency.
[0085] In one of the embodiments, the time synchronization device controls the light source driving component to light up the plurality of light source components in sequence at a preset frequency.
[0086] In one of the embodiments, the time synchronization device controls the clock synchronization of the image acquisition device, the photoelectric detection device and the light source device.
[0087] In one of the embodiments, the processor obtains the delay magnitude of the imaging device to be tested; determines a preset frequency of the light source device according to the delay magnitude; and controls the light source device to operate at the preset frequency.
[0088] In one embodiment, the processor controls the light source device to operate at a minimum frequency; obtains a first image captured by the image acquisition device, and if it is detected that the light source component is in a lit state in the first image, increases the frequency by a preset step size, and controls the light source device to operate at the increased frequency; obtains a second image captured by the image acquisition device, and if it is detected that the light source component is in a lit state in the second image, continues to increase the frequency by a preset step size until the light source component is not detected to be in a lit state in the image captured by the image acquisition device, and the previous frequency is used as the preset frequency; and controls the light source device to operate at the preset frequency.
[0089] In one of the embodiments, the preset time T1 is greater than the nominal delay of the imaging device to be tested, and is less than or equal to the maximum delay measurement range of the light source device at a preset frequency.
[0090] In one embodiment, the processor determines the delay time of the imaging device to be tested by subtracting the photon capture time T3 from the time T2 when the effective signal is collected.
[0091] In one embodiment, a processor acquires a mark light source image; determines first coordinate information of a plurality of mark light source components based on the mark light source image; determines second coordinate information of the first light source component lit in the display image based on the display image; and determines photon capture time T3 of the imaging device to be tested based on the first coordinate information, the second coordinate information and a preset frequency of the light source device.
[0092] In one embodiment, a processor acquires a third image acquired by the image acquisition device; in the third image, multiple marking light source components of the light source device are lit; a fourth image acquired by the image acquisition device is acquired; in the fourth image, all light source components of the light source device are extinguished; and a marking light source image is determined based on the third image and the fourth image.
[0093] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0094] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0095] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0096] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0097] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A delay time detection system, It is characterized in that Used to realize the delay detection of the imaging device to be tested, the delay time detection system includes: a time measurement target plate, an image acquisition device, a photoelectric detection device and a processor; the time measurement target plate includes a light source device and a time synchronization device; The time synchronization device and the image acquisition device are connected to the processor respectively; the light source device, the image acquisition device and the photoelectric detection device are connected to the time synchronization device respectively; The imaging device to be tested is arranged between the time measurement target plate and the image acquisition device, and is used to acquire the image of the light source device and display it on the display component of the imaging device to be tested; The image acquisition device is used to acquire a display image of a display component of the imaging device to be tested, and transmit the display image to the processor; The photoelectric detection device is arranged in front of the display component of the imaging device to be tested, and is used to detect the refresh of the display component; The processor is used to control the light source device to operate at a preset frequency; The time synchronization device is used to receive the acquisition instruction of the processor, start to collect the signal of the photoelectric detection device at the preset time T1, record the time when the effective signal is collected as T2, and synchronously trigger the image acquisition device to collect the image at the time T2; The processor is also used to receive the display image captured by the image acquisition device, and perform image processing on the display image to determine the photon capture time T3 of the imaging device to be tested; and determine the delay time of the imaging device to be tested according to the time T2 when the effective signal is collected and the photon capture time T3.
2. The system according to claim 1, It is characterized in that The light source device comprises a plurality of light source components and a light source driving component arranged in sequence; The light source driving assembly is connected to a plurality of light source assemblies and a time synchronization device respectively.
3. The system according to claim 2, It is characterized in that The time synchronization device is further used to receive an operation instruction from the processor and control the light source driving component to light up the multiple light source components at a preset frequency.
4. The system according to claim 3, It is characterized in that The time synchronization device is also used to control the light source driving component to light up the multiple light source components in sequence at a preset frequency.
5. A system according to any one of claims 2 to 4, It is characterized in that The plurality of light source components are driven independently.
6. The system according to claim 1, It is characterized in that The time synchronization device is also used to control the clock synchronization of the image acquisition device, the photoelectric detection device and the light source device.
7. The system according to claim 1, It is characterized in that The controlling the light source device to operate at a preset frequency comprises: Acquire the delay magnitude of the imaging device to be tested; Determining a preset frequency of the light source device according to the delay magnitude; The light source device is controlled to operate at a preset frequency.
8. The system according to claim 1, It is characterized in that The controlling the light source device to operate at a preset frequency comprises: Control the light source device to operate at a minimum frequency; Acquire a first image acquired by the image acquisition device, and if it is detected that a light source assembly is in a lighting state in the first image, increase the frequency by a preset step length, and control the light source device to operate at the increased frequency; Acquire a second image acquired by the image acquisition device, and if it is detected that the light source component is in a lit state in the second image, continue to increase the frequency with a preset step length until the light source component is not detected in the image acquired by the image acquisition device, and the previous frequency is used as the preset frequency; The light source device is controlled to operate at a preset frequency.
9. The system according to claim 1, It is characterized in that The preset time T1 is greater than the nominal delay of the imaging device to be tested, and is less than or equal to the maximum delay measurement range of the light source device at a preset frequency.
10. The system according to claim 1, It is characterized in that Determining the delay time of the imaging device to be tested according to the time T2 at which the effective signal is collected and the photon capture time T3 comprises: The delay time of the imaging device to be tested is determined by subtracting the photon capture time T3 from the time T2 at which the effective signal is collected.
11. The system according to claim 1, It is characterized in that The performing image processing on the displayed image to determine the photon capture time T3 of the imaging device to be tested comprises: Acquire a sign light source image; Determining first coordinate information of a plurality of logo light source assemblies according to the logo light source image; Determine, according to the displayed image, second coordinate information of the first light source component in the displayed image; The photon capturing time T3 of the imaging device to be tested is determined according to the first coordinate information, the second coordinate information and the preset frequency of the light source device.
12. The system according to claim 11, It is characterized in that The step of acquiring the logo light source image includes: Acquire a third image acquired by the image acquisition device; in the third image, multiple sign light source components of the light source device are lit; Acquire a fourth image acquired by the image acquisition device; all light source components of the light source device in the fourth image are turned off; A sign light source image is determined according to the third image and the fourth image.
13. The system according to claim 1, It is characterized in that The processor is connected to the imaging device to be tested, and the processor controls the operation of the imaging device to be tested.
14. A delay time detection method, It is characterized in that A delay time detection system applied to any one of claims 1 to 13; the method comprising: The processor controls the light source device to operate at a preset frequency; The time synchronization device receives the acquisition instruction of the processor, starts to acquire the signal of the photoelectric detection device at the preset time T1, records the time when the effective signal is acquired as T2, and synchronously triggers the image acquisition device to acquire the image at the time T2; The processor receives the display image captured by the image acquisition device, and performs image processing on the display image to determine the photon capture time T3 of the imaging device to be tested; and determines the delay time of the imaging device to be tested according to the time T2 when the effective signal is collected and the photon capture time T3.
