Image synchronization method, device, electronic device and computer storage medium

By identifying the position and status information of the moving target in the image acquisition device, calculating and synchronously processing the delay time between the image acquisition devices, the problem of low image delay measurement efficiency in the existing technology is solved, and high-precision time synchronization is achieved.

CN113177440BActive Publication Date: 2024-10-29SHANGHAI SENSEROBOT INTELLIGENT TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110382446.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-09
Publication Date
2024-10-29
Estimated Expiration
2041-04-09

AI Technical Summary

Technical Problem

In the existing technology, image delay measurement between different image acquisition devices is time-consuming, laborious, inefficient, and less accurate, making it difficult to quickly and accurately determine the time synchronization between image acquisition devices.

Method used

By acquiring images collected by at least two image acquisition devices, target recognition is performed to determine the position of the same moving target, the delay time between the image acquisition devices is calculated based on the motion status information of the moving target, and time synchronization is performed.

Benefits of technology

It realizes the rapid and accurate determination of the delay time between image acquisition devices, improves the statistical efficiency of image delay, and has the characteristics of high accuracy and easy implementation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113177440B_ABST
    Figure CN113177440B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure propose an image synchronization method, device, electronic device and computer storage medium, the method comprising: acquiring at least two images acquired by at least two image acquisition devices, wherein each of the at least two images corresponds to a different image acquisition device; performing target recognition on the at least two images to determine the position of the same moving target in the at least two images; determining a delay time between the at least two images based on the position of the same moving target in the at least two images and predetermined motion state information of the same moving target; and performing time synchronization processing on the at least two image acquisition devices based on the delay time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to computer vision processing technology, and in particular to an image synchronization method, device, electronic device and computer storage medium. Background Art

[0002] At present, for an image acquisition system that integrates multiple image acquisition devices, the image delay measurement between different image acquisition devices is a key issue in system integration. In order to determine the image delay time between different image acquisition devices, in related technologies, the video between different image acquisition devices can usually be recorded or recorded, and then the image delay between different image acquisition devices can be determined by counting video image frames or human eye observation methods. However, this method is time-consuming, labor-intensive, inefficient, and low in accuracy. Summary of the invention

[0003] The disclosed embodiments are intended to provide a technical solution for image synchronization.

[0004] The present disclosure provides an image synchronization method, the method comprising:

[0005] Acquire at least two images acquired by at least two image acquisition devices, wherein each of the at least two images corresponds to a different image acquisition device.

[0006] Performing target recognition on the at least two images to determine the position of the same moving target in the at least two images;

[0007] Determining a delay time between the at least two images according to a position of the same moving target in the at least two images and predetermined motion state information of the same moving target;

[0008] According to the delay time, time synchronization processing is performed on the at least two image acquisition devices.

[0009] In some embodiments, the method further comprises:

[0010] The motion state information of the same moving target in uniform motion is obtained.

[0011] In some embodiments, the acquiring the motion state information of the same moving target in uniform motion includes:

[0012] The first velocity information of the same moving target in uniform circular motion is obtained, and the first velocity information is used as the motion state information.

[0013] In some embodiments, determining the delay time between the at least two images according to the position of the same moving target in the at least two images and predetermined motion state information of the same moving target includes:

[0014] Determine, according to the position of the same moving target in the at least two images, a polar angle of the same moving target in each of the at least two images, wherein the polar angle of the same moving target in each image represents: an angle between a line connecting the moving center point of the uniform circular motion of the same moving target in each image and a reference direction;

[0015] Determine a polar angle difference between the two polar angles according to two polar angles of any two images of the at least two images of the same moving target;

[0016] Determine a delay time between any two images of the at least two images according to the polar angle difference and the first rate information.

[0017] In some embodiments, the acquiring the motion state information of the unified motion target in uniform motion includes:

[0018] The second velocity information of the same moving target in uniform linear motion is obtained, and the second velocity information is used as the motion state information.

[0019] In some embodiments, determining the delay time between the at least two images according to the position of the same moving target in the at least two images and predetermined motion state information of the same moving target includes:

[0020] Determining a relative distance between any two images of the same moving target in the at least two images according to the position of the same moving target in the at least two images;

[0021] Determine a delay time between any two images of the at least two images according to the relative distance and the second rate information.

[0022] In some embodiments, the method further comprises:

[0023] The motion speed change information of the same motion target is obtained, and the motion speed change information is used as the motion state information.

[0024] In some embodiments, the at least two image acquisition devices include thermal imagers, and the moving target includes a hollow portion.

[0025] The present disclosure also provides an image synchronization device, the device comprising:

[0026] An acquisition module, used to acquire at least two images acquired by at least two image acquisition devices, wherein each of the at least two images corresponds to a different image acquisition device;

[0027] A first processing module is used to perform target recognition on the at least two images to determine the position of the same moving target in the at least two images; and determine the delay time between the at least two images according to the position of the same moving target in the at least two images and predetermined motion state information of the same moving target;

[0028] The second processing module is used to perform time synchronization processing on the at least two image acquisition devices according to the delay time.

[0029] The present disclosure also provides an electronic device, including a processor and a memory for storing a computer program that can be run on the processor; wherein:

[0030] The processor is used to run the computer program to execute any one of the above-mentioned image synchronization methods.

[0031] The embodiment of the present disclosure further provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor, any one of the above-mentioned image synchronization methods is implemented.

[0032] In the image synchronization method, device, electronic device and computer storage medium proposed in the embodiments of the present disclosure, at least two images acquired by at least two image acquisition devices are obtained, wherein each of the at least two images corresponds to a different image acquisition device; target recognition is performed on the at least two images to determine the position of the same moving target in the at least two images; the delay time between the at least two images is determined based on the position of the same moving target in the at least two images and predetermined motion state information of the same moving target; and time synchronization processing is performed on the at least two image acquisition devices based on the delay time.

[0033] It can be seen that the embodiments of the present disclosure can determine the delay time of at least two images based on the position difference of the same moving target in at least two images and the predetermined motion state information of the same moving target, thereby realizing time synchronization of at least two image acquisition devices. Since there is no need to determine the image delay between different image acquisition devices through video image counting frames or human eye observation methods, the delay time of at least two images can be determined quickly and accurately, thereby improving the statistical efficiency of the image delay between different image acquisition devices. Compared with the scheme in the related art of determining the image delay between different image acquisition devices through video image counting frames or human eye observation methods, it has the characteristics of high accuracy and easy implementation.

[0034] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used to illustrate the technical solutions of the present disclosure together with the specification.

[0036] Figure 1 is a flow chart of an image synchronization method according to an embodiment of the present disclosure;

[0037] Figure 2A The turntable image is captured by an image capture device in the embodiment of the present disclosure;

[0038] Figure 2B The turntable image captured by another infrared camera in the embodiment of the present disclosure;

[0039] Figure 3A The turntable image captured by the RGB camera in the embodiment of the present disclosure;

[0040] Figure 3B The turntable image captured by the infrared camera in the embodiment of the present disclosure;

[0041] Figure 3C The image of the turntable captured by the infrared thermal imager in the embodiment of the present disclosure;

[0042] Figure 4 It is a schematic diagram of the composition structure of the image synchronization device according to an embodiment of the present disclosure;

[0043] Figure 5 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0044] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are only used to explain the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are partial embodiments for implementing the present disclosure, rather than providing all embodiments for implementing the present disclosure. In the absence of conflict, the technical solutions recorded in the embodiments of the present disclosure can be implemented in any combination.

[0045] It should be noted that, in the embodiments of the present disclosure, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or apparatus including a series of elements includes not only the elements explicitly recorded, but also includes other elements not explicitly listed, or also includes elements inherent to the implementation of the method or apparatus. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements (such as steps in a method or units in a device, for example, a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.) in the method or apparatus including the element.

[0046] For example, the image synchronization method provided by the embodiment of the present disclosure includes a series of steps, but the image synchronization method provided by the embodiment of the present disclosure is not limited to the recorded steps. Similarly, the image synchronization device provided by the embodiment of the present disclosure includes a series of modules, but the device provided by the embodiment of the present disclosure is not limited to including the modules explicitly recorded, and may also include modules that need to be set for obtaining relevant information or performing processing based on information.

[0047] The term "and / or" herein is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or C can represent the three situations of: A exists alone, A and C exist at the same time, and C exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, C, and D can represent including any one or more elements selected from the set consisting of A, C, and D.

[0048] The disclosed embodiments can be applied to a computer system consisting of a terminal and / or a server, and can operate with many other general or special computing system environments or configurations. Here, the terminal can be a thin client, a thick client, a handheld or laptop device, a microprocessor-based system, a set-top box, a programmable consumer electronic product, a network personal computer, a small computer system, etc., and the server can be a server computer system, a small computer system, a large computer system, and a distributed cloud computing technology environment including any of the above systems, etc.

[0049] Electronic devices such as terminals and servers can be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. In general, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.

[0050] In some embodiments of the present disclosure, an image synchronization method is proposed, which can be applied to electronic devices integrated with multi-camera systems. The embodiments of the present disclosure can be applied to security monitoring, non-contact human body temperature measurement, drone photography, rapid temperature measurement and access control, and other scenarios.

[0051] Figure 1 is a flow chart of the image synchronization method according to an embodiment of the present disclosure, as shown in Figure 1 As shown, the process may include:

[0052] Step 101: Acquire at least two images acquired by at least two image acquisition devices, wherein each of the at least two images corresponds to a different image acquisition device.

[0053] In the embodiment of the present disclosure, the at least two image acquisition devices mentioned above may be devices in a multi-eye camera, and the at least two image acquisition devices mentioned above may include at least two of the following devices: a device for acquiring red-green-blue (RGB) images, an infrared camera, and a thermal imager.

[0054] In the embodiment of the present disclosure, the above-mentioned at least two images represent images captured by different image acquisition devices; exemplarily, when the at least two images are two images, the image acquisition devices corresponding to the two images are respectively any two devices among a device for capturing RGB images, an infrared camera, and a thermal imager; exemplarily, when the at least two images are three images, the image acquisition devices corresponding to the three images are respectively any two devices among a device for capturing RGB images, an infrared camera, and a thermal imager.

[0055] In the disclosed embodiment, the at least two image acquisition devices are used to acquire images of the same scene. The images acquired by the at least two image acquisition devices may include the same object. The same object may be a moving object or a stationary object.

[0056] In some embodiments, in an electronic device integrated with a multi-camera system, shooting instructions can be issued to the at least two image acquisition devices at the same time, and the at least two image acquisition devices acquire images according to the received shooting instructions; it can be understood that due to factors such as jitter in the communication links of various components in the above-mentioned electronic device, there may be a time delay in the at least two images acquired. At this time, it is necessary to determine the delay time between each of the at least two images, so as to synchronize the at least two image acquisition devices so that the images subsequently acquired from the at least two image acquisition devices maintain time synchronization.

[0057] In some embodiments, after acquiring at least two images, the at least two images may be stored in a memory of the electronic device for subsequent retrieval.

[0058] Step 102: Perform target recognition on at least two images to determine the position of the same moving target in the at least two images.

[0059] In the embodiments of the present disclosure, the same moving target belongs to the same object as above; in some embodiments, the same moving target may be a pre-specified target, for example, a pointer, a remote-controlled car, or other targets that can move according to a preset rule.

[0060] In some embodiments, target recognition may be performed on each of the at least two images, thereby identifying the position of the same moving target in each image.

[0061] In some embodiments, features may be extracted from each image based on machine vision technology, so that the same moving target may be identified based on the features extracted from each image, and then the position of the same moving target in each image may be determined.

[0062] Exemplarily, each image may be input into a pre-trained neural network, and based on the processing of each image by the neural network, a corresponding moving target may be identified, thereby determining the position of the moving target in each image.

[0063] Step 103: Determine the delay time between the at least two images according to the position of the same moving target in the at least two images and the predetermined motion state information of the same moving target.

[0064] In the embodiments of the present disclosure, the motion state information of the same motion target may be motion speed information, motion rate information, motion position information, etc.; in some embodiments, the motion mode of the motion target may be specified so that the speed, rate or position of the motion target at each moment may be determined.

[0065] In one example, the target may be specified to move at a constant speed at a preset rate. Here, uniform motion means movement at a constant rate. In uniform motion, the direction of movement may remain the same or change. For example, uniform motion may be uniform circular motion, uniform linear motion, or other uniform motion along a regular route.

[0066] In another example, the target may be specified to move according to a preset rate change rule.

[0067] For example, the target may be driven to move by a device such as a motor, and thus, a corresponding driving instruction may be sent to the motor so that the motor drives the target to move in a specified motion mode.

[0068] In some embodiments, when the number of the at least two images is 2, the delay time between the two images can be determined; when the number of the at least two images is greater than 2, the delay time between the at least two images is the delay time between the at least two images.

[0069] Step 104: Perform time synchronization processing on at least two image acquisition devices according to the delay time.

[0070] In the embodiment of the present disclosure, time synchronization processing can be performed between the at least two image acquisition devices according to the delay time, so that the images subsequently acquired by the at least two image acquisition devices can maintain time consistency, that is, the images subsequently acquired from the at least two image acquisition devices can maintain time synchronization.

[0071] Exemplarily, the image captured by image acquisition device E lags behind the image captured by image acquisition device F, and the delay time of the image captured by image acquisition device E relative to the image captured by image acquisition device F is 30 μs. Then, the image subsequently captured by image acquisition device F can be delayed by 30 μs, thereby achieving time synchronization between image acquisition device E and image acquisition device F.

[0072] Exemplarily, the image captured by image acquisition device P is ahead of the image captured by image acquisition device Q, and the delay time of the image captured by image acquisition device Q relative to the image captured by image acquisition device P is 40μs, then the image subsequently captured by image acquisition device P can be delayed by 40μs, thereby achieving time synchronization between image acquisition device P and image acquisition device Q.

[0073] In practical applications, steps 101 to 104 can be implemented using a processor in an electronic device, and the processor can be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor.

[0074] It can be seen that the embodiments of the present disclosure can determine the delay time of at least two images based on the position difference of the same moving target in at least two images and the predetermined motion state information of the same moving target, thereby realizing time synchronization of at least two image acquisition devices. Since there is no need to determine the image delay between different image acquisition devices through video image counting frames or human eye observation methods, the delay time of at least two images can be determined quickly and accurately, thereby improving the statistical efficiency of the image delay between different image acquisition devices. Compared with the scheme in the related art of determining the image delay between different image acquisition devices through video image counting frames or human eye observation methods, it has the characteristics of high accuracy and easy implementation.

[0075] In some embodiments, the motion state information of the same moving target in uniform motion may be obtained.

[0076] It can be understood that since the motion law of uniform motion is simple, it is easy to determine the delay time between at least two images based on the motion state information of the target moving at uniform speed.

[0077] In some embodiments, the obtaining of the motion state information of the same moving target in uniform motion may include: obtaining first velocity information of the same moving target in uniform circular motion, and using the first velocity information as the motion state information.

[0078] Exemplarily, the first rate information is preset rate information. It can be seen that in the embodiment of the present disclosure, by controlling the moving target to perform uniform circular motion at the first rate, it is convenient to determine the motion state information of the moving target before time synchronization of at least two image acquisition devices.

[0079] In some embodiments, the step of determining the delay time between the at least two images according to the position of the same moving target in the at least two images and the predetermined motion state information of the same moving target may include:

[0080] Determine the polar angle of the same moving target in each of the at least two images according to the position of the same moving target in the at least two images, wherein the polar angle of the same moving target in each image is represented by: the angle between the line connecting the moving center point of the uniform circular motion of the same moving target in each image and the reference direction;

[0081] Determine the polar angle difference between the two polar angles according to two polar angles of any two images of the same moving object in at least two images;

[0082] A delay time between at least two images is determined according to the polar angle difference and the first rate information.

[0083] In the embodiment of the present disclosure, the reference direction may represent the direction of a preset line passing through the center point of the uniform circular motion. In a polar coordinate system, the reference direction may represent the direction of the polar axis.

[0084] For example, refer to Figure 2A , the line connecting the first moving target 201 and the center point of the uniform circular motion in the image captured by the image acquisition device A1 is the first line 203, and the angle between the first line 203 and the polar axis 202 is 36 degrees; Figure 2B In the image captured by the image acquisition device A2, the line connecting the first moving target 201 and the center point of the uniform circular motion is the second line 204, and the angle between the second line 204 and the polar axis 202 is 74 degrees. The polar angles of the first moving target 201 in the two images are 36 degrees and 74 degrees respectively. Therefore, it can be determined that the difference in polar angles of the first moving target 201 in the two images is 38 degrees.

[0085] In some embodiments, the delay time between any two images can be calculated according to the following formula:

[0086]

[0087] Wherein, Δt represents the delay time between any two images, θ represents the polar angle difference between the position of the moving target in any two images relative to the center point of the uniform circular motion, and r represents the rotation speed in revolutions per second.

[0088] It can be understood that if the time taken for the moving target to rotate once is less than the time delay between any two images, the polar angle difference mentioned above will not accurately reflect the time delay between the two images.

[0089] In order to accurately and reliably calculate the polar angle difference, the time it takes for the moving target to rotate once needs to be greater than or equal to the time delay between any two images. For example, the range of values ​​of the time delay between any two images can be estimated based on historical data, and the rotation speed of the uniform circular motion can be set according to the range of values, so that the time it takes for the moving target to rotate once is greater than or equal to the time delay between any two images.

[0090] It can be seen that the embodiment of the present disclosure can determine the delay time between at least two images based on the polar angle difference and the first rate information. Compared with the solution in the related art that determines the image delay between different image acquisition devices by counting video image frames or human eye observation methods, it is accurate and efficient.

[0091] In some embodiments, the at least two image acquisition devices include an RGB camera, an infrared camera, and an infrared thermal imager. Before performing image synchronization, a background heat source may be turned on, and a turntable capable of uniform circular motion may be placed in front of the background heat source, so that the RGB camera, the infrared camera, and the infrared thermal imager may directly capture the turntable. In the embodiments of the present disclosure, referring to FIG. 3A to FIG. 3C A pointer 302 indicating the rotation angle of the turntable is provided on the turntable 301. The turntable 301 may also have a scale to facilitate reading the rotation angle of the pointer 302. The pointer 302 is the same moving target as mentioned above.

[0092] When the turntable 301 is controlled to move at a set speed, the RGB camera, infrared camera and infrared thermal imager are controlled to take pictures, wherein the image taken by the RGB camera is an RGB image, the image taken by the infrared camera is an infrared image, and the image taken by the infrared thermal imager is a thermal image; illustratively, the set speed can be 1000 revolutions per second, that is, the time for the turntable to rotate one circle is 1 millisecond.

[0093] By performing target recognition and corner point detection on the RGB image, the position of the pointer 302 in the RGB image is determined. Figure 3A , the position of the pointer 302 is 36 degrees from the true north. The position of the pointer 302 in the infrared image is determined by performing target recognition and corner point detection on the infrared image. Figure 3B , the position of pointer 302 is 54 degrees from the north direction. Perform target recognition on the heat map and determine the position of pointer 302 in the heat map. Figure 3C , the position of pointer 302 is a position rotated 72 degrees from the true north direction.

[0094] After determining the position of the pointer 302 in the RGB image, the infrared image and the thermal map, the polar angle difference of the pointer can be determined between each of the RGB image, the infrared image and the thermal map, and then the delay time between each of the RGB image, the infrared image and the thermal map can be determined.

[0095] For example, refer to FIG. 3A to FIG. 3C , the polar angle difference of the pointer relative to the center of motion in the RGB image and the infrared image is -18 degrees. When the rotation speed is set to 1000 revolutions per second, according to formula (1), it can be determined that the delay time of the RGB image relative to the infrared image is -50 microseconds, that is, the RGB camera is 50 microseconds slower than the infrared camera in each frame.

[0096] The polar angle difference of the pointer relative to the center of motion in the RGB image and the thermal image is -36 degrees. When the rotation speed is set to 1000 revolutions per second, according to formula (1), it can be determined that the delay time of the RGB image relative to the thermal image is -100 microseconds, that is, the RGB camera is 100 microseconds slower than the infrared thermal imager in each frame.

[0097] The polar angle difference of the pointer relative to the center point of movement in the infrared image and the thermal image is -18 degrees. When the set rotation speed is 1000 revolutions per second, according to formula (1), it can be determined that the delay time of the infrared image relative to the thermal image is -50 microseconds, that is, the infrared camera is 50 microseconds slower than the infrared thermal imager in each frame.

[0098] In some embodiments, second velocity information of the same moving target in uniform linear motion may be acquired, and the second velocity information may be used as motion state information.

[0099] Exemplarily, the second rate information is preset rate information. It can be seen that in the embodiment of the present disclosure, by controlling the moving target to perform uniform linear motion at the second rate, it is convenient to determine the motion state information of the moving target before time synchronization of at least two image acquisition devices.

[0100] In some embodiments, the step of determining the delay time between the at least two images according to the position of the same moving target in the at least two images and the predetermined motion state information of the same moving target may include:

[0101] Determining a relative distance between any two images of the same moving target according to the position of the same moving target in the at least two images;

[0102] A delay time between any two images of the at least two images is determined according to the relative distance and the second rate information.

[0103] In some embodiments, the delay time between any two images can be calculated according to the following formula:

[0104]

[0105] Wherein, Δt represents the delay time between any two images, l represents the relative distance of the same moving target in any two images, and v represents the second rate.

[0106] In some embodiments, the at least two image acquisition devices include an RGB camera, an infrared camera and an infrared thermal imager. Accordingly, the at least two images are an RGB image, an infrared image and a thermal map. The distance of the moving target relative to the starting point in the RGB image is l1, the distance of the moving target relative to the starting point in the infrared image is l2, and the distance of the moving target relative to the starting point in the thermal map is l3.

[0107] It can be seen that the relative distance between the moving target in the RGB image and the infrared image is l1-l2, and the delay time between the RGB image and the infrared image can be calculated according to formula (2); the relative distance between the moving target in the RGB image and the thermal map is l1-l3, and the delay time between the RGB image and the thermal map can be calculated according to formula (2); the relative distance between the moving target in the infrared image and the thermal map is l2-l3, and the delay time between the infrared image and the thermal map can be calculated according to formula (2).

[0108] It can be seen that the embodiment of the present disclosure can determine the delay time between at least two images based on the relative distance and the second rate information. Compared with the solution in the related art that determines the image delay between different image acquisition devices by counting video image frames or human eye observation methods, it is accurate and efficient.

[0109] In some embodiments, the motion speed change information of the same moving target may be obtained and used as the motion state information.

[0110] Exemplarily, the movement mode of the moving target at each moment can be specified, so that the speed of the moving target at each moment can be predetermined, that is, the movement speed change information of the moving target can be determined.

[0111] It can be seen that in the embodiment of the present disclosure, by controlling the moving target to move with reference to the preset motion speed change information, it is convenient to determine the motion state information of the moving target before time synchronization of at least two image acquisition devices, thereby facilitating determination of the delay time of at least two images.

[0112] In some embodiments, when at least two image acquisition devices include thermal imagers, the moving target may include a hollow portion; before performing image synchronization, the background heat source may be turned on and the moving target may be placed in front of the background heat source. In this way, since the moving target includes a hollow portion, it is easy to intuitively observe the moving target in the image captured by the thermal imager.

[0113] Exemplarily, when the moving target is located on the turntable, hollow scale lines can be added to the turntable to facilitate intuitive observation of the position of the moving target in the image captured by the thermal imager.

[0114] In access control, security, and rapid temperature measurement scenarios, a multi-camera system can be integrated into an electronic device to obtain RGB images, infrared images, and thermal maps. There will be time delays between RGB images, infrared images, and thermal maps. For fast-moving objects, there will be binocular ranging differences and abnormal target mapping problems, resulting in abnormal temperature measurement, living objects, and distance position estimation functions. Therefore, it is necessary to determine and subsequently process the time delay between images captured by the multi-camera. In response to this problem, in an embodiment of the present disclosure, the delay time of at least two images is determined based on the position difference of the same moving target in at least two images and the predetermined motion state information of the same moving target, thereby achieving time synchronization of at least two image acquisition devices. Since there is no need to determine the image delay between different image acquisition devices through video image counting frames or human eye observation methods, the delay time of at least two images can be quickly and accurately determined, thereby improving the statistical efficiency of the image delay between different image acquisition devices, optimizing the data path of the electronic device integrating the multi-camera system, and increasing the user experience.

[0115] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0116] Based on the image synchronization method proposed in the above-mentioned embodiment, an embodiment of the present disclosure proposes an image synchronization device.

[0117] Figure 4 FIG. 1 is a schematic diagram of the structure of the image synchronization device according to an embodiment of the present disclosure. Figure 4 As shown, the device may include an acquisition module 400, a first processing module 401 and a second processing module 402, wherein:

[0118] An acquisition module 400 is used to acquire at least two images acquired by at least two image acquisition devices, wherein each of the at least two images corresponds to a different image acquisition device;

[0119] The first processing module 401 is used to perform target recognition on at least two images to determine the position of the same moving target in the at least two images; determine the delay time between the at least two images according to the position of the same moving target in the at least two images and the predetermined motion state information of the same moving target;

[0120] The second processing module 402 is used to perform time synchronization processing on at least two image acquisition devices according to the delay time.

[0121] In some embodiments, the first processing module 401 is further used to obtain motion state information of the same moving target in uniform motion.

[0122] In some embodiments, the first processing module 401 is used to obtain the motion state information of the same moving target in uniform motion, including:

[0123] The first velocity information of the same moving target in uniform circular motion is obtained, and the first velocity information is used as the motion state information.

[0124] In some embodiments, the first processing module 401 is used to determine the delay time between at least two images according to the position of the same moving target in at least two images and the predetermined motion state information of the same moving target, including:

[0125] Determine the polar angle of the same moving target in each of the at least two images according to the position of the same moving target in the at least two images, wherein the polar angle of the same moving target in each image is represented by: the angle between the line connecting the moving center point of the uniform circular motion of the same moving target in each image and the reference direction;

[0126] Determine the polar angle difference between the two polar angles according to two polar angles of any two images of the same moving object in at least two images;

[0127] A delay time between any two images of the at least two images is determined according to the polar angle difference and the first rate information.

[0128] In some embodiments, the first processing module 401 is used to obtain the motion state information of the same moving target in uniform motion, including:

[0129] The second velocity information of the same moving target in uniform linear motion is obtained, and the second velocity information is used as the motion state information.

[0130] In some embodiments, the first processing module 401 is used to determine the delay time between at least two images according to the position of the same moving target in at least two images and the predetermined motion state information of the same moving target, including:

[0131] Determining a relative distance between any two images of the same moving target according to the position of the same moving target in the at least two images;

[0132] A delay time between any two images of the at least two images is determined according to the relative distance and the second rate information.

[0133] In some embodiments, the first processing module 401 is further used to obtain motion speed change information of the same motion target, and use the motion speed change information as motion state information.

[0134] In some embodiments, at least two image acquisition devices include thermal imagers, and the moving target includes a hollow portion.

[0135] In practical applications, the acquisition module 400, the first processing module 401, and the second processing module 402 can all be implemented using a processor in an electronic device, and the above processor can be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.

[0136] In addition, each functional module in this embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software functional modules.

[0137] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0138] Specifically, the computer program instructions corresponding to an image synchronization method in this embodiment can be stored on a storage medium such as a CD, a hard disk, or a USB flash drive. When the computer program instructions corresponding to an image synchronization method in the storage medium are read or executed by an electronic device, any image synchronization method in the aforementioned embodiments is implemented.

[0139] Based on the same technical concept as the above embodiments, see Figure 5 , which shows an electronic device 5 provided by an embodiment of the present disclosure, which may include: a memory 501 and a processor 502; wherein,

[0140] The memory 501 is used to store computer programs and data;

[0141] The processor 502 is configured to execute the computer program stored in the memory to implement any one of the image synchronization methods in the foregoing embodiments.

[0142] In practical applications, the memory 501 may be a volatile memory, such as RAM; or a non-volatile memory, such as ROM, flash memory, hard disk drive (HDD) or solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 502.

[0143] The processor 502 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor. It is understandable that for different devices, the electronic device used to implement the processor function may also be other, which is not specifically limited in the embodiments of the present disclosure.

[0144] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0145] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.

[0146] The methods disclosed in the various method embodiments provided in the present disclosure may be arbitrarily combined without conflict to obtain new method embodiments.

[0147] The features disclosed in the various product embodiments provided in the present disclosure can be arbitrarily combined without conflict to obtain new product embodiments.

[0148] The features disclosed in the various method or device embodiments provided in the present disclosure may be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0149] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present disclosure.

[0150] The embodiments of the present disclosure are described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific implementation modes. The above-mentioned specific implementation modes are merely illustrative and not restrictive. Under the guidance of the present disclosure, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present disclosure and the claims, which are all within the protection of the present disclosure.

Claims

1. An image synchronization method, characterized in that: The method comprises: Acquire at least two images acquired by at least two image acquisition devices, wherein each of the at least two images corresponds to a different image acquisition device; Performing target recognition on the at least two images to determine the position of the same moving target in the at least two images; Acquiring motion state information of the same moving target in uniform motion; Determine the delay time between the at least two images according to the position of the same moving target in the at least two images and the acquired motion state information of the same moving target; the motion state information at least includes motion speed information, motion rate information, and motion position information; According to the delay time, performing time synchronization processing on the at least two image acquisition devices; The acquiring of the motion state information of the same motion target in uniform motion includes: The first velocity information of the same moving target in uniform circular motion is obtained, and the first velocity information is used as the motion state information.

2. The method according to claim 1, characterized in that: The step of determining the delay time between the at least two images according to the position of the same moving target in the at least two images and the acquired motion state information of the same moving target comprises: Determine, according to the position of the same moving target in the at least two images, a polar angle of the same moving target in each of the at least two images, wherein the polar angle of the same moving target in each image represents: an angle between a line connecting the moving center point of the uniform circular motion of the same moving target in each image and a reference direction; Determine a polar angle difference between the two polar angles according to two polar angles of any two images of the at least two images of the same moving target; Determine a delay time between any two images of the at least two images according to the polar angle difference and the first rate information.

3. The method according to claim 1, characterized in that The acquiring of the motion state information of the same motion target in uniform motion includes: The second velocity information of the same moving target in uniform linear motion is obtained, and the second velocity information is used as the motion state information.

4. The method according to claim 3, characterized in that The step of determining the delay time between the at least two images according to the position of the same moving target in the at least two images and the acquired motion state information of the same moving target comprises: Determining a relative distance between any two images of the same moving target in the at least two images according to the position of the same moving target in the at least two images; Determine a delay time between any two images of the at least two images according to the relative distance and the second rate information.

5. The method according to claim 1, characterized in that The method further comprises: The motion speed change information of the same motion target is obtained, and the motion speed change information is used as the motion state information.

6. The method according to any one of claims 1 to 5, characterized in that: The at least two image acquisition devices include a thermal imager, and the moving target includes a hollow portion.

7. An image synchronization device, characterized in that: The device comprises: An acquisition module, used to acquire at least two images acquired by at least two image acquisition devices, wherein each of the at least two images corresponds to a different image acquisition device; The first processing module is used to obtain the motion state information of the same moving target in uniform motion; The first processing module is further used to perform target recognition on the at least two images to determine the position of the same moving target in the at least two images; determine the delay time between the at least two images according to the position of the same moving target in the at least two images and the acquired motion state information of the same moving target; the motion state information at least includes motion speed information, motion rate information, and motion position information; A second processing module, configured to perform time synchronization processing on the at least two image acquisition devices according to the delay time; Wherein, the acquiring of the motion state information of the same motion target in uniform motion includes: The first velocity information of the same moving target in uniform circular motion is obtained, and the first velocity information is used as the motion state information.

8. An electronic device, characterized in that: comprising a processor and a memory for storing a computer program capable of running on the processor; wherein, The processor is configured to run the computer program to perform the method according to any one of claims 1 to 6.

9. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Auto-alignment of image sensors in a multi-camera system

    CN106233722A

  • Sensor timestamp synchronization test method, apparatus and device, medium and vehicle

    CN109194436A