CN113177440A - Image synchronization method and device, electronic equipment and computer storage medium - Google Patents
Image synchronization method and device, electronic equipment and computer storage medium Download PDFInfo
- Publication number
- CN113177440A CN113177440A CN202110382446.5A CN202110382446A CN113177440A CN 113177440 A CN113177440 A CN 113177440A CN 202110382446 A CN202110382446 A CN 202110382446A CN 113177440 A CN113177440 A CN 113177440A
- Authority
- CN
- China
- Prior art keywords
- images
- same moving
- moving object
- image
- delay time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000012545 processing Methods 0.000 claims abstract description 33
- 238000004590 computer program Methods 0.000 claims description 12
- 238000009529 body temperature measurement Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000007488 abnormal function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/20—Movements or behaviour, e.g. gesture recognition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/46—Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
- G06V10/462—Salient features, e.g. scale invariant feature transforms [SIFT]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Psychiatry (AREA)
- Social Psychology (AREA)
- Human Computer Interaction (AREA)
- Image Analysis (AREA)
- Studio Devices (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
Description
技术领域technical field
本公开涉及计算机视觉处理技术,尤其涉及一种图像同步方法、装置、电子设备和计算机存储介质。The present disclosure relates to computer vision processing technology, and in particular, to an image synchronization method, apparatus, electronic device, and computer storage medium.
背景技术Background technique
目前,对于集成多种图像采集设备的图像采集系统,不同图像采集设备之间的图像延迟测量是系统集成的关键问题,为了确定不同图像采集设备之间的图像延迟时间,在相关技术中,通常可以对不同图像采集设备之间的视频进行录像或录屏,然后通过视频图像数帧或人眼观测方法确定不同图像采集设备之间的图像延迟,存在耗时费力、效率低、精确度较低等问题。At present, for an image acquisition system integrating multiple image acquisition devices, the measurement of image delay between different image acquisition devices is a key issue of system integration. In order to determine the image delay time between different image acquisition devices, in related technologies, usually The video between different image acquisition devices can be recorded or screened, and then the image delay between different image acquisition devices can be determined through several frames of video images or human eye observation, which is time-consuming, labor-intensive, low-efficiency, and low-accuracy. And other issues.
发明内容SUMMARY OF THE INVENTION
本公开实施例期望提供图像同步的技术方案。The embodiments of the present disclosure are expected to provide a technical solution for image synchronization.
本公开实施例提供了一种图像同步方法,所述方法包括:An embodiment of the present disclosure provides an image synchronization method, and the method includes:
获取由至少两个图像采集设备采集的至少两幅图像,其中,所述至少两幅图像中各幅图像对应的图像采集设备不同Acquire at least two images captured by at least two image capturing devices, wherein the image capturing devices corresponding to each of the at least two images are different
对所述至少两幅图像进行目标识别,确定同一运动目标在所述至少两幅图像中的位置;performing target recognition on the at least two images, and determining the position of the same moving target in the at least two images;
根据所述同一运动目标在所述至少两幅图像中的位置、以及预先确定的所述同一运动目标的运动状态信息,确定所述至少两幅图像之间的延迟时间;determining the delay time between the at least two images according to the position of the same moving object in the at least two images and the predetermined motion state information of the same moving object;
根据所述延迟时间,对所述至少两个图像采集设备进行时间同步处理。According to the delay time, time synchronization processing is performed on the at least two image capturing devices.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
获取处于匀速运动的所述同一运动目标的运动状态信息。Obtain the motion state information of the same moving object moving at a uniform speed.
在一些实施例中,所述获取处于匀速运动的所述同一运动目标的运动状态信息,包括:In some embodiments, the acquiring the motion state information of the same moving object moving at a uniform speed includes:
获取处于匀速圆周运动的所述同一运动目标的第一速率信息,将所述第一速率信息作为所述运动状态信息。Acquire first velocity information of the same moving object in uniform circular motion, and use the first velocity information as the motion state information.
在一些实施例中,所述根据所述同一运动目标在所述至少两幅图像中的位置、以及预先确定的所述同一运动目标的运动状态信息,确定所述至少两幅图像之间的延迟时间,包括:In some embodiments, determining the delay between the at least two images according to the position of the same moving object in the at least two images and predetermined motion state information of the same moving object time, including:
根据所述同一运动目标在所述至少两幅图像中的位置,确定所述同一运动目标在所述至少两幅图像的每幅图像中的极角,所述同一运动目标在所述每幅图像中的极角表示:在所述每幅图像中所述同一运动目标到的匀速圆周运动的运动中心点的连线与参考方向的夹角;Determine the polar angle of the same moving object in each of the at least two images according to the position of the same moving object in the at least two images, and the same moving object in each of the images The polar angle in : represents the included angle between the line connecting the center point of the uniform circular motion of the same moving object in each image and the reference direction;
根据所述同一运动目标在所述至少两幅图像中的任意两幅图像的两个极角,确定所述两个极角的极角差;Determine the polar angle difference between the two polar angles according to the two polar angles of the same moving object in any two of the at least two images;
根据所述极角差和所述第一速率信息,确定所述至少两幅图像中的任意两幅图像之间的延迟时间。A delay time between any two of the at least two images is determined according to the polar angle difference and the first rate information.
在一些实施例中,所述获取处于匀速运动的所述统一运动目标的运动状态信息,包括:In some embodiments, the acquiring motion state information of the uniform moving target in uniform motion includes:
获取处于匀速直线运动的所述同一运动目标的第二速率信息,将所述第二速率信息作为所述运动状态信息。Acquire second rate information of the same moving object moving in a uniform straight line, and use the second rate information as the motion state information.
在一些实施例中,所述根据所述同一运动目标在所述至少两幅图像中的位置、以及预先确定的所述同一运动目标的运动状态信息,确定所述至少两幅图像之间的延迟时间,包括:In some embodiments, determining the delay between the at least two images according to the position of the same moving object in the at least two images and predetermined motion state information of the same moving object time, including:
根据所述同一运动目标在所述至少两幅图像中的位置,确定所述同一运动目标在所述至少两幅图像中的任意两幅图像的相对距离;According to the position of the same moving object in the at least two images, determine the relative distance of the same moving object in any two images in the at least two images;
根据所述相对距离和所述第二速率信息,确定所述至少两幅图像中的任意两幅图像之间的延迟时间。A delay time between any two of the at least two images is determined according to the relative distance and the second rate information.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
获取所述同一运动目标的运动速度变化信息,将所述运动速度变化信息作为所述运动状态信息。Obtain the movement speed change information of the same moving object, and use the movement speed change information as the movement state information.
在一些实施例中,所述至少两个图像采集设备包括热成像仪,所述运动目标包括镂空部位。In some embodiments, the at least two image acquisition devices include thermal imagers, and the moving target includes a hollowed-out portion.
本公开实施例还提供了一种图像同步装置,所述装置包括:Embodiments of the present disclosure also provide an image synchronization apparatus, the apparatus comprising:
获取模块,用于获取由至少两个图像采集设备采集的至少两幅图像,其中,所述至少两幅图像中各幅图像对应的图像采集设备不同;an acquisition module, configured to acquire at least two images acquired by at least two image acquisition devices, wherein the image acquisition devices corresponding to each of the at least two images are different;
第一处理模块,用于对所述至少两幅图像进行目标识别,确定同一运动目标在所述至少两幅图像中的位置;根据所述同一运动目标在所述至少两幅图像中的位置、以及预先确定的所述同一运动目标的运动状态信息,确定所述至少两幅图像之间的延迟时间;The first processing module is configured to perform target recognition on the at least two images, and determine the position 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, and the predetermined motion state information of the same moving object, to determine the delay time between the at least two images;
第二处理模块,用于根据所述延迟时间,对所述至少两个图像采集设备进行时间同步处理。The second processing module is configured to perform time synchronization processing on the at least two image acquisition devices according to the delay time.
本公开实施例还提供了一种电子设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器;其中,Embodiments of the present disclosure also provide an electronic device, including a processor and a memory for storing a computer program that can be executed on the processor; wherein,
所述处理器用于运行所述计算机程序以执行上述任意一种图像同步方法。The processor is used for running the computer program to execute any one of the above-mentioned image synchronization methods.
本公开实施例还提供了一种计算机存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述任意一种图像同步方法。Embodiments of the present disclosure also provide a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the above image synchronization methods.
本公开实施例提出的图像同步方法、装置、电子设备和计算机存储介质中,获取由至少两个图像采集设备采集的至少两幅图像,其中,至少两幅图像中各幅图像对应的图像采集设备不同;对所述至少两幅图像进行目标识别,确定同一运动目标在所述至少两幅图像中的位置;根据所述同一运动目标在所述至少两幅图像中的位置、以及预先确定的所述同一运动目标的运动状态信息,确定所述至少两幅图像之间的延迟时间;根据所述延迟时间,对所述至少两个图像采集设备进行时间同步处理。In the image synchronization method, device, electronic device, and computer storage medium proposed in the embodiments of the present disclosure, at least two images collected by at least two image collection devices are acquired, wherein the image collection equipment corresponding to each of the at least two images perform target recognition on the at least two images to determine the position of the same moving object in the at least two images; according to the position of the same moving object in the at least two images and the predetermined The motion state information of the same moving object is used to determine the delay time between the at least two images; according to the delay time, time synchronization processing is performed on the at least two image acquisition devices.
可以看出,本公开实施例,可以根据至少两幅图像中同一运动目标的位置差异、以及预先确定的同一运动目标的运动状态信息,确定至少两幅图像的延迟时间,从而实现至少两个图像采集设备的时间同步,由于无需通过视频图像数帧或人眼观测方法确定不同图像采集设备之间的图像延迟,可以快速精确地确定至少两幅图像的延迟时间,提高了不同图像采集设备之间的图像延迟的统计效率,并且与相关技术中通过视频图像数帧或人眼观测方法确定不同图像采集设备之间的图像延迟的方案相比,具有精确度高、易于实现等特点。It can be seen that, in the embodiment of the present disclosure, the delay time of at least two images can be determined according to the position difference of the same moving object in the at least two images and the predetermined motion state information of the same moving object, so as to realize at least two images The time synchronization of the acquisition devices, because it is not necessary to determine the image delay between different image acquisition devices through the number of frames of video images or the human eye observation method, the delay time of at least two images can be quickly and accurately determined, and the difference between different image acquisition devices can be improved. Compared with the related art scheme of determining the image delay between different image acquisition devices through several frames of video images or human eye observation, it has the characteristics of high accuracy and easy implementation.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the technical solutions of the present disclosure.
图1为本公开实施例的图像同步方法的流程图;FIG. 1 is a flowchart of an image synchronization method according to an embodiment of the present disclosure;
图2A为本公开实施例中采用一种图像采集设备采集的转盘图像;2A is a turntable image collected by an image collection device in an embodiment of the present disclosure;
图2B为本公开实施例中采用另一种红外摄像机采集的转盘图像;FIG. 2B is a turntable image collected by another infrared camera in an embodiment of the present disclosure;
图3A为本公开实施例中采用RGB相机采集的转盘图像;3A is a turntable image collected by an RGB camera in an embodiment of the disclosure;
图3B为本公开实施例中采用红外摄像机采集的转盘图像;3B is a turntable image collected by an infrared camera in an embodiment of the present disclosure;
图3C为本公开实施例中采用红外热像仪采集的转盘图像;3C is an image of a turntable collected by an infrared thermal imager in an embodiment of the present disclosure;
图4为本公开实施例的图像同步装置的组成结构示意图;FIG. 4 is a schematic structural diagram of an image synchronization apparatus according to an embodiment of the present disclosure;
图5为本公开实施例的电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
具体实施方式Detailed ways
以下结合附图及实施例,对本公开进行进一步详细说明。应当理解,此处所提供的实施例仅仅用以解释本公开,并不用于限定本公开。另外,以下所提供的实施例是用于实施本公开的部分实施例,而非提供实施本公开的全部实施例,在不冲突的情况下,本公开实施例记载的技术方案可以任意组合的方式实施。The present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are only used to explain the present disclosure, but not to limit the present disclosure. In addition, the embodiments provided below are only some of the embodiments for implementing the present disclosure, rather than all the embodiments for implementing the present disclosure. In the case of no conflict, the technical solutions described in the embodiments of the present disclosure can be combined in any way. implement.
需要说明的是,在本公开实施例中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的方法或者装置不仅包括所明确记载的要素,而且还包括没有明确列出的其他要素,或者是还包括为实施方法或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括该要素的方法或者装置中还存在另外的相关要素(例如方法中的步骤或者装置中的单元,例如的单元可以是部分电路、部分处理器、部分程序或软件等等)。It should be noted that, in the embodiments of the present disclosure, the terms "comprising", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a method or device including a series of elements not only includes the explicitly stated elements, but also other elements not expressly listed or inherent to the implementation of the method or apparatus. Without further limitation, an element defined by the phrase "comprises a..." does not preclude the presence of additional related elements (eg, steps in a method or a device) in which the element is included. A unit in an apparatus, for example, a unit may be part of a circuit, part of a processor, part of a program or software, etc.).
例如,本公开实施例提供的图像同步方法包含了一系列的步骤,但是本公开实施例提供的图像同步方法不限于所记载的步骤,同样地,本公开实施例提供的图像同步装置包括了一系列模块,但是本公开实施例提供的装置不限于包括所明确记载的模块,还可以包括为获取相关信息、或基于信息进行处理时所需要设置的模块。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 described steps. Similarly, the image synchronization device provided by the embodiment of the present disclosure includes a A series of modules, but the apparatus provided by the embodiments of the present disclosure is not limited to including the explicitly described modules, and may also include modules that need to be set for acquiring relevant information or performing processing based on the information.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或C,可以表示:单独存在A,同时存在A和C,单独存在C这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、C、D中的至少一种,可以表示包括从A、C和D构成的集合中选择的任意一个或多个元素。The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or C, it can mean that A exists alone, A and C exist at the same time, and it exists alone C these three cases. In addition, the term "at least one" herein refers to any combination of any one of the plurality or at least two of the plurality, for example, including at least one of A, C, D, can mean including from A, C, D. Any one or more elements selected from the set of C and D.
本公开实施例可以应用于终端和/或服务器组成的计算机系统中,并可以与众多其它通用或专用计算系统环境或配置一起操作。这里,终端可以是瘦客户机、厚客户机、手持或膝上设备、基于微处理器的系统、机顶盒、可编程消费电子产品、网络个人电脑、小型计算机系统,等等,服务器可以是服务器计算机系统小型计算机系统﹑大型计算机系统和包括上述任何系统的分布式云计算技术环境,等等。Embodiments of the present disclosure may be applied to computer systems consisting of terminals and/or servers, and may operate with numerous other general-purpose or special-purpose computing system environments or configurations. Here, the terminals may be thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, minicomputer systems, etc., and the server may be a server computer Systems Small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above, etc.
终端、服务器等电子设备可以在由计算机系统执行的计算机系统可执行指令(诸如程序模块)的一般语境下描述。通常,程序模块可以包括例程、程序、目标程序、组件、逻辑、数据结构等等,它们执行特定的任务或者实现特定的抽象数据类型。计算机系统/服务器可以在分布式云计算环境中实施,分布式云计算环境中,任务是由通过通信网络链接的远程处理设备执行的。在分布式云计算环境中,程序模块可以位于包括存储设备的本地或远程计算系统存储介质上。Electronic devices such as terminals, servers, etc., may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, object programs, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. Computer systems/servers may be implemented in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located on local or remote computing system storage media including storage devices.
在本公开的一些实施例中,提出了一种图像同步方法,可以应用于集成有多目相机系统的电子设备中,本公开实施例可以应用于安防监控、非接触式人体测温、无人机拍摄、快速测温门禁通行等场景。In some embodiments of the present disclosure, an image synchronization method is proposed, which can be applied to an electronic device integrated with a multi-camera system. The embodiments of the present disclosure can be applied to security monitoring, non-contact human body temperature measurement, unmanned Camera shooting, quick temperature measurement, access control and other scenes.
图1为本公开实施例的图像同步方法的流程图,如图1所示,该流程可以包括:FIG. 1 is a flowchart of an image synchronization method according to an embodiment of the present disclosure. As shown in FIG. 1 , the flowchart may include:
步骤101:获取由至少两个图像采集设备采集的至少两幅图像,其中,至少两幅图像中各幅图像对应的图像采集设备不同。Step 101: Acquire at least two images captured by at least two image capturing devices, wherein the image capturing devices corresponding to each of the at least two images are different.
本公开实施例中,上述至少两个图像采集设备可以是多目相机中的设备,上述至少两个图像采集设备可以包括以下设备中的至少两个设备:采集红绿蓝(Red-Green-Blue,RGB)图像的设备、红外摄像机、热成像仪。In this embodiment of the present disclosure, the at least two image capturing devices may be devices in a multi-camera camera, and the at least two image capturing devices may include at least two of the following devices: capturing red-green-blue (Red-Green-Blue) , RGB) image equipment, infrared cameras, thermal imagers.
本公开实施例中,上述至少两幅图像表示由不同的图像采集设备采集的图像;示例性地,在至少两幅图像为两幅图像的情况下,两幅图像对应的图像采集设备分别为采集RGB图像的设备、红外摄像机和热成像仪中的任意两个设备;示例性地,在至少两幅图像为三幅图像的情况下,三幅图像对应的图像采集设备分别为采集RGB图像的设备、红外摄像机和热成像仪。In the embodiment of the present disclosure, the above-mentioned at least two images represent images acquired by different image acquisition devices; exemplarily, in the case where the at least two images are two images, the image acquisition devices corresponding to the two images are Any two devices in a device for RGB images, an infrared camera, and a thermal imager; exemplarily, in the case where at least two images are three images, the image acquisition devices corresponding to the three images are devices for acquiring RGB images respectively , infrared cameras and thermal imagers.
本公开实施例中,上述至少两个图像采集设备用于采集同一场景的图像,上述至少两个图像采集设备采集的图像可以包括相同的物体,上述相同的物体可以是运动状态的物体,也可以是静止状态的物体。In the embodiment of the present disclosure, the at least two image acquisition devices are used to collect images of the same scene, the images collected by the at least two image acquisition devices may include the same object, and the same object may be an object in a moving state, or may is a stationary object.
在一些实施例中,在集成有多目相机系统的电子设备中,可以在同一时刻向上述至少两个图像采集设备下发拍摄指令,上述至少两个图像采集设备根据接收到的拍摄指令采集图像;可以理解地,由于上述电子设备中各个组件的通信链路等存在抖动等因素,可能导致获取到的至少两幅图像存在时间延迟,此时,需要确定上述至少两幅图像中两两之间的延迟时间,从而对至少两个图像采集设备进行同步处理,使得后续从至少两个图像采集设备获取的图像保持时间同步。In some embodiments, in an electronic device integrated with a multi-camera system, shooting instructions may be issued to the at least two image acquisition devices at the same time, and the at least two image acquisition devices collect images according to the received shooting instructions It can be understood that due to factors such as jitter in the communication links of the various components in the above-mentioned electronic equipment, it may cause a time delay in the at least two images obtained. The delay time is set, so that the synchronization processing is performed on the at least two image capturing devices, so that the images acquired from the at least two image capturing devices subsequently are kept in time synchronization.
在一些实施例中,在获取至少两幅图像后,可以将上述至少两幅图像存储在电子设备的存储器中,以便于后续调用。In some embodiments, after acquiring the at least two images, the at least two images may be stored in the memory of the electronic device for subsequent recall.
步骤102:对至少两幅图像进行目标识别,确定同一运动目标在至少两幅图像中的位置。Step 102: Perform object recognition on at least two images, and determine the position of the same moving object in the at least two images.
本公开实施例中,同一运动目标属于上述相同的物体;在一些实施例中,同一运动目标可以是预先指定的目标。例如,运动目标可以是指针、遥控汽车或者其它可以按照预设规律进行运动的目标。In the embodiments of the present disclosure, the same moving target belongs to the same object described above; in some embodiments, the same moving target may be a pre-specified target. For example, the moving object may be a pointer, a remote control car, or other objects that can move according to a preset rule.
在一些实施例中,可以对至少两幅图像中的每幅图像进行目标识别,从而识别出同一运动目标在每幅图像中的位置。In some embodiments, object recognition may be performed on each of the at least two images, thereby identifying the position of the same moving object in each image.
在一些实施例中,可以基于机器视觉技术,从每幅图像中提取特征,从而根据每幅图像中提取的特征识别出上述同一运动目标,进而确定同一运动目标在每幅图像中的位置。In some embodiments, features can be extracted from each image based on machine vision technology, so as to identify the same moving object according to the features extracted from each image, and then determine the position of the same moving object in each image.
示例性地,可以将每幅图像输入至预先训练的神经网络,基于神经网络对每幅图像的处理,识别相应的运动目标,从而确定该运动目标在每幅图像中的位置。Exemplarily, each image can be input into a pre-trained neural network, and based on the processing of each image by the neural network, a corresponding moving object can be identified, thereby determining the position of the moving object in each image.
步骤103:根据同一运动目标在至少两幅图像中的位置、以及预先确定的同一运动目标的运动状态信息,确定至少两幅图像之间的延迟时间。Step 103: Determine the delay time between the at least two images according to the position of the same moving object in the at least two images and the predetermined motion state information of the same moving object.
本公开实施例中,同一运动目标的运动状态信息可以是运动速度信息、运动速率信息、运动位置信息等;在一些实施例中,可以指定运动目标的运动方式,从而可以确定运动目标在每个时刻的速度、速率或位置。In the embodiments of the present disclosure, the motion state information of the same moving object may be motion speed information, motion rate information, motion position information, etc.; Speed, velocity, or position at a moment in time.
在一个示例中,可以指定目标按照预设速率进行匀速运动,这里,匀速运动的含义为速率不变的运动,在匀速运动中,运动方向可以保持一致或发生改变;例如,匀速运动可以是匀速圆周运动、匀速直线运动或者其它按照规律的路线进行的匀速运动。In one example, the target can be specified to move at a uniform speed at a preset rate. Here, uniform motion means a motion with a constant rate. In a uniform motion, the direction of motion can remain the same or change; for example, a uniform motion can be a uniform motion. Circular motion, uniform linear motion, or other uniform motion that follows a regular route.
在另一个示例中,可以指定目标按照预设的速率变化规律进行运动。In another example, the target may be designated to move according to a preset rate change rule.
示例性地,可以通过电机等设备驱动目标运动,这样,可以通过向电机下发相应的驱动指令,使得电机驱动目标按照指定的运动方式进行运动。Exemplarily, the target can be driven to move by a device such as a motor, so that the motor can drive the target to move according to a specified movement mode by issuing a corresponding driving instruction to the motor.
在一些实施例中,在上述至少两幅图像的个数为2的情况下,可以确定两幅图像相互之间的延迟时间;在上述至少两幅图像的个数大于2的情况下,上述至少两幅图像之间的延迟时间为至少两幅图像两两之间的延迟时间。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 at least two images The delay time between two images is the delay time between at least two images.
步骤104:根据延迟时间,对至少两个图像采集设备进行时间同步处理。Step 104: Perform time synchronization processing on at least two image acquisition devices according to the delay time.
本公开实施例中,可以根据上述延迟时间,对上述至少两个图像采集设备两两之间进行时间同步处理,使得上述至少两个图像采集设备后续采集的图像能够保持时间一致性,即,后续从至少两个图像采集设备获取的图像可以保持时间同步。In this embodiment of the present disclosure, time synchronization processing may be performed between the at least two image acquisition devices according to the above delay time, so that the images acquired by the at least two image acquisition devices subsequently can maintain time consistency, that is, the subsequent Images acquired from at least two image acquisition devices can be kept synchronized in time.
示例性地,图像采集设备E采集的图像滞后于图像采集设备F采集的图像,且图像采集设备E采集的图像相对于图像采集设备F采集的图像的延迟时间为30μs,则可以将图像采集设备F后续采集的图像进行延迟30μs处理,从而实现图像采集设备E和图像采集设备F的时间同步。Exemplarily, if the image captured by the image capture device E lags behind the image captured by the image capture device F, and the delay time of the image captured by the image capture device E relative to the image captured by the image capture device F is 30 μs, then the image capture device can be The images acquired subsequently by F are processed with a delay of 30 μs, so as to realize the time synchronization of the image acquisition device E and the image acquisition device F.
示例性地,图像采集设备P采集的图像超前于图像采集设备Q采集的图像,且图像采集设备Q采集的图像相对于图像采集设备P采集的图像的延迟时间为40μs,则可以将图像采集设备P后续采集的图像进行延迟40μs处理,从而实现图像采集设备P和图像采集设备Q的时间同步。Exemplarily, if the image captured by the image capture device P is ahead of the image captured by the image capture device Q, and the delay time of the image captured by the image capture device Q relative to the image captured by the image capture device P is 40 μs, then the image capture device can be The images acquired by P subsequently are processed with a delay of 40 μs, so as to realize the time synchronization of the image acquisition device P and the image acquisition device Q.
在实际应用中,步骤101至步骤104可以利用电子设备中的处理器实现,上述处理器可以为特定用途集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理装置(Digital SignalProcessing Device,DSPD)、可编程逻辑装置(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、中央处理器(Central ProcessingUnit,CPU)、控制器、微控制器、微处理器中的至少一种。In practical applications, steps 101 to 104 may be implemented by a processor in an electronic device, and the above-mentioned processor may be an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), Central Processing Unit (CPU), control at least one of a device, a microcontroller, and a microprocessor.
可以看出,本公开实施例,可以根据至少两幅图像中同一运动目标的位置差异、以及预先确定的同一运动目标的运动状态信息,确定至少两幅图像的延迟时间,从而实现至少两个图像采集设备的时间同步,由于无需通过视频图像数帧或人眼观测方法确定不同图像采集设备之间的图像延迟,可以快速精确地确定至少两幅图像的延迟时间,提高了不同图像采集设备之间的图像延迟的统计效率,并且与相关技术中通过视频图像数帧或人眼观测方法确定不同图像采集设备之间的图像延迟的方案相比,具有精确度高、易于实现等特点。It can be seen that, in the embodiment of the present disclosure, the delay time of at least two images can be determined according to the position difference of the same moving object in the at least two images and the predetermined motion state information of the same moving object, so as to realize at least two images The time synchronization of the acquisition devices, because it is not necessary to determine the image delay between different image acquisition devices through the number of frames of video images or the human eye observation method, the delay time of at least two images can be quickly and accurately determined, and the difference between different image acquisition devices can be improved. Compared with the related art scheme of determining the image delay between different image acquisition devices through several frames of video images or human eye observation, it has the characteristics of high accuracy and easy implementation.
在一些实施例中,可以处于匀速运动的同一运动目标的运动状态信息。In some embodiments, the motion state information of the same moving object that may be moving at a constant speed.
可以理解地,由于匀速运动的运动规律简单,因而根据匀速运动的目标的运动状态信息,易于确定至少两幅图像之间的延迟时间。Understandably, since the motion law of the uniform motion is simple, it is easy to determine the delay time between at least two images according to the motion state information of the uniform motion target.
在一些实施例中,上述获取处于匀速运动的同一运动目标的运动状态信息可以包括:获取处于匀速圆周运动的同一运动目标的第一速率信息,将第一速率信息作为上述运动状态信息。In some embodiments, acquiring motion state information of the same moving object in uniform motion may include: acquiring first rate information of the same moving object in uniform circular motion, and using the first rate information as the motion state information.
示例性地,第一速率信息为预设速率信息,可以看出,本公开实施例中,通过控制运动目标以第一速率进行匀速圆周运动,便于在对至少两个图像采集设备进行时间同步前确定运动目标的运动状态信息。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 object to perform a uniform circular motion at the first rate, it is convenient to perform time synchronization on at least two image acquisition devices before time synchronization. Determine the motion state information of the moving target.
在一些实施例中,上述根据同一运动目标在至少两幅图像中的位置、以及预先确定的同一运动目标的运动状态信息,确定至少两幅图像之间的延迟时间,可以包括:In some embodiments, determining the delay time between at least two images according to the position of the same moving object in the at least two images and the predetermined motion state information of the same moving object may include:
根据同一运动目标在至少两幅图像中的位置,确定同一运动目标在至少两幅图像的每幅图像中的极角,同一运动目标在每幅图像中的极角表示:在每幅图像中同一运动目标到的匀速圆周运动的运动中心点的连线与参考方向的夹角;Determine the polar angle of the same moving object in each of the at least two images according to the position of the same moving object in the at least two images, and the polar angle of the same moving object in each image means: in each image the same The angle between the line connecting the moving center point of the uniform circular motion from the moving target and the reference direction;
根据同一运动目标在至少两幅图像中的任意两幅图像的两个极角,确定两个极角的极角差;Determine the polar angle difference between the two polar angles according to the two polar angles of any two images of the same moving object in the at least two images;
根据极角差和第一速率信息,确定至少两幅图像之间的延迟时间。A delay time between at least two images is determined according to the polar angle difference and the first rate information.
本公开实施例中,参考方向可以表示预设的过匀速圆周运动的运动中心点的线的方向,在极坐标系中,参考方向可以表示极轴的方向。In the embodiment of the present disclosure, the reference direction may represent the direction of a preset line passing through the motion center point of the uniform circular motion, and in the polar coordinate system, the reference direction may represent the direction of the polar axis.
示例性地,参照图2A,图像采集设备A1采集的图像中第一运动目标201与匀速圆周运动的运动中心点的连线为第一连线203,第一连线203与极轴202之间的夹角为36度;参照图2B,图像采集设备A2采集的图像中第一运动目标201与匀速圆周运动的运动中心点的连线为第二连线204,第二连线204与极轴202之间的夹角为74度,则第一运动目标201在两幅图像中的极角分别为36度和74度,从而,可以确定第一运动目标201在两幅图像中的极角差为38度。Exemplarily, referring to FIG. 2A , the connection line between the first moving
在一些实施例中,可以根据以下公式计算任意两幅图像之间的延迟时间:In some embodiments, the delay time between any two images can be calculated according to the following formula:
其中,Δt表示任意两幅图像之间的延迟时间,θ表示运动目标在任意两幅图像中的位置相对于匀速圆周运动的运动中心点的极角差,r表示转速,单位为转/秒。Among them, Δ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 motion center point of the uniform circular motion, and r represents the rotational speed, in revolutions per second.
可以理解地,如果运动目标旋转一周的时间小于任意两幅图像的时间延迟,则会导致上述极角差不能准确地反映两幅图像的时间延迟。It is understandable that if the time for the moving object to rotate once is less than the time delay of any two images, the above polar angle difference cannot accurately reflect the time delay of the two images.
为了准确可靠地计算极角差,运动目标旋转一周的时间需要大于或等于任意两幅图像的时间延迟,示例性地,可以根据历史数据预估任意两幅图像的时间延迟的取值范围,从而根据该取值范围设置匀速圆周运动的转速,使得运动目标旋转一周的时间大于或等于任意两幅图像的时间延迟。In order to accurately and reliably calculate the polar angle difference, the time for a moving target to rotate once needs to be greater than or equal to the time delay of any two images. Exemplarily, the value range of the time delay of any two images can be estimated according to historical data, so that The rotation speed of the uniform circular motion is set according to this value range, so that the time for the moving object to rotate once is greater than or equal to the time delay of any two images.
可以看出,本公开实施例可以根据极角差和第一速率信息,确定至少两幅图像之间的延迟时间,与相关技术中通过视频图像数帧或人眼观测方法确定不同图像采集设备之间的图像延迟的方案相比,具有准确高效的特点。It can be seen that in the embodiment of the present disclosure, the delay time between at least two images can be determined according to the polar angle difference and the first rate information, which is different from the determination of the delay time between different image acquisition devices by the method of video image number frames or human eye observation in the related art. Compared with the scheme of the image delay between the two, it has the characteristics of accuracy and efficiency.
在一些实施例中,上述至少两个图像采集设备包括RGB相机、红外摄像机和红外热像仪,在进行图像同步前,可以开启背景热源,将能够进行匀速圆周运动的转盘放置在背景热源前方,使RGB相机、红外摄像机和红外热像仪能够直接拍摄到转盘;本公开实施例中,参照图3A至图3C,转盘301上设置表示转盘旋转角度的指针302,转盘301上还可以具有刻度,便于读取指针302的旋转角度,指针302为上述同一运动目标。In some embodiments, the above-mentioned 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 can be turned on, and a turntable capable of uniform circular motion can be placed in front of the background heat source, The RGB camera, infrared camera and infrared thermal imager can directly photograph the turntable; in the embodiment of the present disclosure, referring to FIGS. 3A to 3C , the
在控制转盘301以设定转速匀速运动时,控制RGB相机、红外摄像机和红外热像仪进行拍摄,其中,通过RGB相机拍摄得到的图像为RGB图像,通过红外摄像机拍摄得到的图像为红外图像,通过红外热像仪拍摄到的图像为热力图;示例性地,设定转速可以是1000转每秒,也就是说,转盘旋转一周的时间为1毫秒。When the
通过对RGB图像进行目标识别和角点检测,确定RGB图像中指针302的位置,参照图3A,指针302的位置为从正北方向旋转36度的位置。通过对红外图像进行目标识别和角点检测,确定红外图像中指针302的位置,参照图3B,指针302的位置为从正北方向旋转54度的位置。对热力图进行目标识别,确定热力图中指针302的位置,参照图3C,指针302的位置为从正北方向旋转72度的位置。By performing target recognition and corner detection on the RGB image, the position of the
在确定指针302在RGB图像、红外图像和热力图中的位置之后,可以在RGB图像、红外图像和热力图中两两之间,确定指针的极角差,进而,确定RGB图像、红外图像和热力图中两两之间的延迟时间。After the position of the
示例性地,参照图3A至图3C,指针在RGB图像和红外图像中相对于运动中心点的极角差为-18度,则在设定转速可以是1000转每秒的情况下,根据公式(1),可以确定RGB图像相对于红外图像的延迟时间为-50微秒,即,RGB相机比红外摄像机的每帧图像慢50微秒Exemplarily, referring to FIGS. 3A to 3C , the polar angle difference of the pointer relative to the movement center point in the RGB image and the infrared image is -18 degrees, then under the condition that the set rotational speed can be 1000 revolutions per second, according to the 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 each frame of the infrared camera image
指针在RGB图像和热力图中相对于运动中心点的极角差为-36度,则在设定转速可以是1000转每秒的情况下,根据公式(1),可以确定RGB图像相对于热力图的延迟时间为-100微秒,即,RGB相机比红外热像仪的每帧图像慢100微秒。The polar angle difference between the pointer in the RGB image and the heat map relative to the center point of the motion is -36 degrees, then when the set rotation speed can be 1000 rpm, according to formula (1), it can be determined that the RGB image is relative to the heat The delay time of the image is -100 microseconds, i.e., the RGB camera is 100 microseconds slower per image frame than the infrared camera.
指针在红外图像和热力图中相对于运动中心点的极角差为-18度,则在设定转速可以是1000转每秒的情况下,根据公式(1),可以确定红外图像相对于热力图的延迟时间为-50微秒,即,红外摄像机比红外热像仪的每帧图像慢50微秒。The polar angle difference between the pointer in the infrared image and the heat map relative to the center point of motion is -18 degrees, then when the set rotation speed can be 1000 revolutions per second, according to formula (1), it can be determined that the infrared image is relative to the heat The delay time of the image is -50 microseconds, that is, the infrared camera is 50 microseconds slower than the thermal imager for each frame of image.
在一些实施例中,可以获取处于匀速直线运动的同一运动目标的第二速率信息,将第二速率信息作为运动状态信息。In some embodiments, the second velocity information of the same moving object moving in a uniform straight line may be acquired, and the second velocity information may be used as the motion state information.
示例性地,第二速率信息为预设速率信息,可以看出,本公开实施例中,通过控制运动目标以第二速率进行匀速直线运动,便于在对至少两个图像采集设备进行时间同步前确定运动目标的运动状态信息。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 object to perform a uniform linear motion at the second rate, it is convenient to perform time synchronization on at least two image acquisition devices before time synchronization. Determine the motion state information of the moving target.
在一些实施例中,上述根据同一运动目标在至少两幅图像中的位置、以及预先确定的同一运动目标的运动状态信息,确定至少两幅图像之间的延迟时间,可以包括:In some embodiments, determining the delay time between at least two images according to the position of the same moving object in the at least two images and the predetermined motion state information of the same moving object may include:
根据同一运动目标在至少两幅图像中的位置,确定同一运动目标在至少两幅图像中的任意两幅图像的相对距离;According to the position of the same moving object in the at least two images, determine the relative distance of the same moving object in any two images in the at least two images;
根据相对距离和第二速率信息,确定至少两幅图像中的任意两幅图像之间的延迟时间。A delay time between any two of the at least two images is determined according to the relative distance and the second rate information.
在一些实施例中,可以根据以下公式计算任意两幅图像之间的延迟时间:In some embodiments, the delay time between any two images can be calculated according to the following formula:
其中,Δt表示任意两幅图像之间的延迟时间,l表示同一运动目标在任意两幅图像中的相对距离,v表示第二速率。Among them, Δt represents the delay time between any two images, l represents the relative distance of the same moving object in any two images, and v represents the second rate.
在一些实施例中,上述至少两个图像采集设备包括RGB相机、红外摄像机和红外热像仪,相应地,上述至少两幅图像为RGB图像、红外图像和热力图,RGB图像中运动目标相对起点的距离为l1,红外图像中运动目标相对起点的距离为l2,热力图中运动目标相对起点的距离为l3。In some embodiments, the at least two image acquisition devices include an RGB camera, an infrared camera, and an infrared thermal imager. Correspondingly, the at least two images are an RGB image, an infrared image, and a heat map, and the moving target in the RGB image is relative to the starting point. The distance is l 1 , the distance of the moving target relative to the starting point in the infrared image is l 2 , and the distance of the moving target relative to the starting point in the heat map is l 3 .
可以看出,运动目标在RGB图像和红外图像中的相对距离为l1-l2,根据公式(2)可以计算得出RGB图像和红外图像的延迟时间;运动目标在RGB图像和热力图中的相对距离为l1-l3,根据公式(2)可以计算得出RGB图像和热力图的延迟时间;运动目标在红外图像和热力图中的相对距离为l2-l3,根据公式(2)可以计算得出红外图像和热力图的延迟时间。It can be seen that the relative distance of the moving target in the RGB image and the infrared image is l 1 -l 2 . According to formula (2), the delay time of the RGB image and the infrared image can be calculated; the moving target is in the RGB image and the heat map. The relative distance is l 1 -l 3 , the delay time of the RGB image and the heat map can be calculated according to formula (2); the relative distance of the moving target in the infrared image and the heat map is l 2 -l 3 , according to the formula ( 2) The delay time of infrared image and heat map can be calculated.
可以看出,本公开实施例可以根据相对距离和第二速率信息,确定至少两幅图像之间的延迟时间,与相关技术中通过视频图像数帧或人眼观测方法确定不同图像采集设备之间的图像延迟的方案相比,具有准确高效的特点。It can be seen that in the embodiments of the present disclosure, the delay time between at least two images can be determined according to the relative distance and the second rate information, which is different from the determination of the delay time between different image acquisition devices by using the video image number frames or the human eye observation method in the related art. Compared with the image delay scheme, it has the characteristics of accuracy and efficiency.
在一些实施例中,可以获取同一运动目标的运动速度变化信息,将运动速度变化信息作为运动状态信息。In some embodiments, the movement speed change information of the same moving object may be acquired, and the movement speed change information may be used as the movement state information.
示例性地,可以指定运动目标在每个时刻的运动方式,从而可以预先确定运动目标在每个时刻的速度,即,可以确定出运动目标的运动速度变化信息。Exemplarily, the movement mode of the moving object at each moment can be specified, so that the speed of the moving object at each moment can be predetermined, that is, the movement speed change information of the moving object can be determined.
可以看出,本公开实施例中,通过控制运动目标参照预设的运动速度变化信息进行运动,便于在对至少两个图像采集设备进行时间同步前确定运动目标的运动状态信息,从而,有利于确定至少两幅图像的延迟时间。It can be seen that, in the embodiment of the present disclosure, by controlling the moving target to move with reference to the preset movement speed change information, it is convenient to determine the motion state information of the moving target before time synchronization is performed on the at least two image capturing devices, thus, it is beneficial to Determine the delay time for at least two images.
在一些实施例中,在至少两个图像采集设备包括热成像仪的情况下,运动目标可以包括镂空部位;在进行图像同步前,可以开启背景热源,将运动目标放置在背景热源前方,这样,由于运动目标包括镂空部位,在热成像仪采集的图像中便于直观的观测到运动目标。In some embodiments, when the at least two image acquisition devices include thermal imagers, the moving target may include a hollowed-out portion; before 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 hollow parts, it is convenient to observe the moving target intuitively in the image collected by the thermal imager.
示例性地,在运动目标位于转盘时,可以在转盘上增加镂空的刻度线,便于在热成像仪采集的图像中直观地观测运动目标的位置。Exemplarily, when the moving target is located on the turntable, a hollow scale line may be added on the turntable, so that the position of the moving target can be visually observed in the image collected by the thermal imager.
在门禁通行、安防、快速测温场景中,可以在电子设备中集成多目相机系统,从而获取RGB图像、红外图像和热力图,RGB图像、红外图像和热力图相互之间会存在时间延迟,对快速运动物体会存在双目测距差异、目标映射异常问题,导致出现测温、活体、距离位置估算功能异常问题,因而,需要对多目相机采集的图像之间的时间延迟进行确定和后续处理。针对该问题,在本公开实施例中,根据至少两幅图像中同一运动目标的位置差异、以及预先确定的同一运动目标的运动状态信息,确定至少两幅图像的延迟时间,从而实现至少两个图像采集设备的时间同步,由于无需通过视频图像数帧或人眼观测方法确定不同图像采集设备之间的图像延迟,可以快速精确地确定至少两幅图像的延迟时间,提高了不同图像采集设备之间的图像延迟的统计效率,优化了集成多目相机系统的电子设备的数据通路,增加了用户体验性。In access control, security, and rapid temperature measurement scenarios, a multi-camera system can be integrated into electronic devices to obtain RGB images, infrared images and heat maps. There will be time delays between RGB images, infrared images and heat maps. For fast moving objects, there will be differences in binocular ranging and abnormal target mapping, resulting in abnormal functions of temperature measurement, living body, and distance position estimation. Therefore, it is necessary to determine the time delay between images collected by multi-camera cameras and follow-up. deal with. In response to this problem, in the embodiment of the present disclosure, the delay time of at least two images is determined according to the position difference of the same moving object in the at least two images and the predetermined motion state information of the same moving object, so as to realize at least two Time synchronization of image acquisition devices, because it is not necessary to determine the image delay between different image acquisition devices through video image number frames or human eye observation methods, the delay time of at least two images can be quickly and accurately determined, and the difference between different image acquisition devices can be improved. The statistical efficiency of the image delay between the two optimizes the data path of the electronic equipment integrated with the multi-camera system, and increases the user experience.
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above method of the specific implementation, the writing order of each step does not mean a strict execution order but constitutes any limitation on the implementation process, and the specific execution order of each step should be based on its function and possible Internal logic is determined.
在前述实施例提出的图像同步方法的基础上,本公开实施例提出了一种图像同步装置。On the basis of the image synchronization methods proposed in the foregoing embodiments, the embodiments of the present disclosure provide an image synchronization apparatus.
图4为本公开实施例的图像同步装置的组成结构示意图,如图4所示,该装置可以包括获取模块400、第一处理模块401和第二处理模块402,其中,FIG. 4 is a schematic structural diagram of an image synchronization apparatus according to an embodiment of the present disclosure. As shown in FIG. 4 , the apparatus may include an
获取模块400,用于获取由至少两个图像采集设备采集的至少两幅图像,其中,至少两幅图像中各幅图像对应的图像采集设备不同;An
第一处理模块401,用于对至少两幅图像进行目标识别,确定同一运动目标在至少两幅图像中的位置;根据同一运动目标在至少两幅图像中的位置、以及预先确定的同一运动目标的运动状态信息,确定至少两幅图像之间的延迟时间;The
第二处理模块402,用于根据延迟时间,对至少两个图像采集设备进行时间同步处理。The
在一些实施例中,第一处理模块401,还用于获取处于匀速运动的同一运动目标的运动状态信息。In some embodiments, the
在一些实施例中,第一处理模块401,用于获取处于匀速运动的同一运动目标的运动状态信息,包括:In some embodiments, the
获取处于匀速圆周运动的同一运动目标的第一速率信息,将第一速率信息作为运动状态信息。Obtain the first speed information of the same moving object in uniform circular motion, and use the first speed information as the motion state information.
在一些实施例中,第一处理模块401,用于根据同一运动目标在至少两幅图像中的位置、以及预先确定的同一运动目标的运动状态信息,确定至少两幅图像之间的延迟时间,包括:In some embodiments, the
根据同一运动目标在至少两幅图像中的位置,确定同一运动目标在至少两幅图像的每幅图像中的极角,同一运动目标在每幅图像中的极角表示:在每幅图像中同一运动目标到的匀速圆周运动的运动中心点的连线与参考方向的夹角;Determine the polar angle of the same moving object in each of the at least two images according to the position of the same moving object in the at least two images, and the polar angle of the same moving object in each image means: in each image the same The angle between the line connecting the moving center point of the uniform circular motion from the moving target and the reference direction;
根据同一运动目标在至少两幅图像中的任意两幅图像的两个极角,确定两个极角的极角差;Determine the polar angle difference between the two polar angles according to the two polar angles of any two images of the same moving object in the at least two images;
根据极角差和第一速率信息,确定至少两幅图像中的任意两幅图像之间的延迟时间。A delay time between any two of the at least two images is determined according to the polar angle difference and the first rate information.
在一些实施例中,第一处理模块401,用于获取处于匀速运动的同一运动目标的运动状态信息,包括:In some embodiments, the
获取处于匀速直线运动的同一运动目标的第二速率信息,将第二速率信息作为运动状态信息。Acquire second rate information of the same moving object moving in a uniform straight line, and use the second rate information as motion state information.
在一些实施例中,第一处理模块401,用于根据同一运动目标在至少两幅图像中的位置、以及预先确定的同一运动目标的运动状态信息,确定至少两幅图像之间的延迟时间,包括:In some embodiments, the
根据同一运动目标在至少两幅图像中的位置,确定同一运动目标在至少两幅图像中的任意两幅图像的相对距离;According to the position of the same moving object in the at least two images, determine the relative distance of the same moving object in any two images in the at least two images;
根据相对距离和第二速率信息,确定至少两幅图像中的任意两幅图像之间的延迟时间。A delay time between any two of the at least two images is determined according to the relative distance and the second rate information.
在一些实施例中,第一处理模块401,还用于获取同一运动目标的运动速度变化信息,将运动速度变化信息作为运动状态信息。In some embodiments, the
在一些实施例中,至少两个图像采集设备包括热成像仪,运动目标包括镂空部位。In some embodiments, the at least two image acquisition devices include thermal imagers, and the moving target includes a cutout.
实际应用中,获取模块400、第一处理模块401、第二处理模块402均可以利用电子设备中的处理器实现,上述处理器可以为ASIC、DSP、DSPD、PLD、FPGA、CPU、控制器、微控制器、微处理器中的至少一种。In practical applications, the
另外,在本实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in this embodiment may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of software function modules.
所述集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional 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, and includes several instructions for making a computer device (which can be It is a personal computer, a server, or a network device, etc.) or a processor (processor) that executes all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes: U disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
具体来讲,本实施例中的一种图像同步方法对应的计算机程序指令可以被存储在光盘,硬盘,U盘等存储介质上,当存储介质中的与一种图像同步方法对应的计算机程序指令被一电子设备读取或被执行时,实现前述实施例的任意一种图像同步方法。Specifically, the computer program instructions corresponding to an image synchronization method in this embodiment may be stored on a storage medium such as an optical disc, a hard disk, a U disk, etc. When the computer program instructions corresponding to an image synchronization method in the storage medium When read or executed by an electronic device, any one of the image synchronization methods of the foregoing embodiments is implemented.
基于前述实施例相同的技术构思,参见图5,其示出了本公开实施例提供的一种电子设备5,可以包括:存储器501和处理器502;其中,Based on the same technical concept as the foregoing embodiments, see FIG. 5 , which shows an
所述存储器501,用于存储计算机程序和数据;The
所述处理器502,用于执行所述存储器中存储的计算机程序,以实现前述实施例的任意一种图像同步方法。The
在实际应用中,上述存储器501可以是易失性存储器(volatile memory),例如RAM;或者非易失性存储器(non-volatile memory),例如ROM,快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);或者上述种类的存储器的组合,并向处理器502提供指令和数据。In practical applications, the above-mentioned
上述处理器502可以为ASIC、DSP、DSPD、PLD、FPGA、CPU、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本公开实施例不作具体限定。The above-mentioned
在一些实施例中,本公开实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules included in the apparatuses provided in the embodiments of the present disclosure may be used to execute the methods described in the above method embodiments. For specific implementation, reference may be made to the descriptions of the above method embodiments. For brevity, here No longer.
上文对各个实施例的描述倾向于强调各个实施例之间的不同之处,其相同或相似之处可以互相参考,为了简洁,本文不再赘述The above description of the various embodiments tends to emphasize the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, details are not repeated herein.
本公开所提供的各方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in each method embodiment provided in the present disclosure can be combined arbitrarily without conflict to obtain a new method embodiment.
本公开所提供的各产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in each product embodiment provided by the present disclosure can be combined arbitrarily without conflict to obtain a new product embodiment.
本公开所提供的各方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in each method or device embodiment provided in the present disclosure can be combined arbitrarily without conflict to obtain a new method embodiment or device embodiment.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present disclosure essentially or the parts that contribute to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本公开的保护之内。The embodiments of the present disclosure have been described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present disclosure, many forms can be made without departing from the scope of the present disclosure and the protection scope of the claims, which all fall within the protection of the present disclosure.
Claims (11)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110382446.5A CN113177440B (en) | 2021-04-09 | 2021-04-09 | Image synchronization method, device, electronic equipment and computer storage medium |
PCT/CN2022/083308 WO2022213833A1 (en) | 2021-04-09 | 2022-03-28 | Method and apparatus for image synchronization, electronic device, and computer storage medium |
TW111112467A TW202240462A (en) | 2021-04-09 | 2022-03-31 | Methods, apparatuses, electronic devices and computer storage media for image synchronization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110382446.5A CN113177440B (en) | 2021-04-09 | 2021-04-09 | Image synchronization method, device, electronic equipment and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113177440A true CN113177440A (en) | 2021-07-27 |
CN113177440B CN113177440B (en) | 2024-10-29 |
Family
ID=76924699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110382446.5A Active CN113177440B (en) | 2021-04-09 | 2021-04-09 | Image synchronization method, device, electronic equipment and computer storage medium |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN113177440B (en) |
TW (1) | TW202240462A (en) |
WO (1) | WO2022213833A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113923317A (en) * | 2021-08-30 | 2022-01-11 | 珠海视熙科技有限公司 | Camera frame synchronization test method, device and storage medium |
WO2022213833A1 (en) * | 2021-04-09 | 2022-10-13 | 上海商汤智能科技有限公司 | Method and apparatus for image synchronization, electronic device, and computer storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101271567A (en) * | 2007-03-20 | 2008-09-24 | 凌阳科技股份有限公司 | Image comparison method and system |
CN106233722A (en) * | 2014-03-20 | 2016-12-14 | 高途乐公司 | The automatic alignment of the imageing sensor in multicamera system |
CN106303495A (en) * | 2015-06-30 | 2017-01-04 | 深圳创锐思科技有限公司 | The synthetic method of panoramic stereo image, device and mobile terminal thereof |
US20170078646A1 (en) * | 2014-06-20 | 2017-03-16 | Panasonic Intellectual Property Management Co., Ltd. | Image processing method and image processing system |
WO2018153211A1 (en) * | 2017-02-22 | 2018-08-30 | 中兴通讯股份有限公司 | Method and apparatus for obtaining traffic condition information, and computer storage medium |
CN109194436A (en) * | 2018-11-01 | 2019-01-11 | 百度在线网络技术(北京)有限公司 | Sensor time stabs synchronous detecting method, device, equipment, medium and vehicle |
US20190199890A1 (en) * | 2017-12-22 | 2019-06-27 | Canon Kabushiki Kaisha | Image capturing apparatus capable of time code synchronization, control method of the same, storage medium, and image capturing system |
WO2019237992A1 (en) * | 2018-06-15 | 2019-12-19 | Oppo广东移动通信有限公司 | Photographing method and device, terminal and computer readable storage medium |
CN110751685A (en) * | 2019-10-21 | 2020-02-04 | 广州小鹏汽车科技有限公司 | Depth information determination method, determination device, electronic device and vehicle |
CN111815675A (en) * | 2020-06-30 | 2020-10-23 | 北京市商汤科技开发有限公司 | Target object tracking method and device, electronic equipment and storage medium |
CN111985300A (en) * | 2020-06-29 | 2020-11-24 | 魔门塔(苏州)科技有限公司 | Automatic driving dynamic target positioning method and device, electronic equipment and storage medium |
CN112113582A (en) * | 2019-06-21 | 2020-12-22 | 上海商汤临港智能科技有限公司 | Time synchronization processing method, electronic device, and storage medium |
CN112543261A (en) * | 2020-12-08 | 2021-03-23 | 浙江大华技术股份有限公司 | Image quality improving method and device and computer readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130120528A1 (en) * | 2011-01-09 | 2013-05-16 | Thomson Licensing | Video processing apparatus and method for detecting a temporal synchronization mismatch |
US11132533B2 (en) * | 2017-06-07 | 2021-09-28 | David Scott Dreessen | Systems and methods for creating target motion, capturing motion, analyzing motion, and improving motion |
CN111208963B (en) * | 2020-01-10 | 2022-10-18 | 井冈山电器有限公司 | Video synchronous display method and system |
CN113177440B (en) * | 2021-04-09 | 2024-10-29 | 上海元罗卜智能科技有限公司 | Image synchronization method, device, electronic equipment and computer storage medium |
-
2021
- 2021-04-09 CN CN202110382446.5A patent/CN113177440B/en active Active
-
2022
- 2022-03-28 WO PCT/CN2022/083308 patent/WO2022213833A1/en active Application Filing
- 2022-03-31 TW TW111112467A patent/TW202240462A/en unknown
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101271567A (en) * | 2007-03-20 | 2008-09-24 | 凌阳科技股份有限公司 | Image comparison method and system |
CN106233722A (en) * | 2014-03-20 | 2016-12-14 | 高途乐公司 | The automatic alignment of the imageing sensor in multicamera system |
US20170078646A1 (en) * | 2014-06-20 | 2017-03-16 | Panasonic Intellectual Property Management Co., Ltd. | Image processing method and image processing system |
CN106303495A (en) * | 2015-06-30 | 2017-01-04 | 深圳创锐思科技有限公司 | The synthetic method of panoramic stereo image, device and mobile terminal thereof |
WO2018153211A1 (en) * | 2017-02-22 | 2018-08-30 | 中兴通讯股份有限公司 | Method and apparatus for obtaining traffic condition information, and computer storage medium |
US20190199890A1 (en) * | 2017-12-22 | 2019-06-27 | Canon Kabushiki Kaisha | Image capturing apparatus capable of time code synchronization, control method of the same, storage medium, and image capturing system |
WO2019237992A1 (en) * | 2018-06-15 | 2019-12-19 | Oppo广东移动通信有限公司 | Photographing method and device, terminal and computer readable storage medium |
CN109194436A (en) * | 2018-11-01 | 2019-01-11 | 百度在线网络技术(北京)有限公司 | Sensor time stabs synchronous detecting method, device, equipment, medium and vehicle |
CN112113582A (en) * | 2019-06-21 | 2020-12-22 | 上海商汤临港智能科技有限公司 | Time synchronization processing method, electronic device, and storage medium |
CN110751685A (en) * | 2019-10-21 | 2020-02-04 | 广州小鹏汽车科技有限公司 | Depth information determination method, determination device, electronic device and vehicle |
CN111985300A (en) * | 2020-06-29 | 2020-11-24 | 魔门塔(苏州)科技有限公司 | Automatic driving dynamic target positioning method and device, electronic equipment and storage medium |
CN111815675A (en) * | 2020-06-30 | 2020-10-23 | 北京市商汤科技开发有限公司 | Target object tracking method and device, electronic equipment and storage medium |
CN112543261A (en) * | 2020-12-08 | 2021-03-23 | 浙江大华技术股份有限公司 | Image quality improving method and device and computer readable storage medium |
Non-Patent Citations (3)
Title |
---|
YI-TING CHEN等: "An FPGA Implementation of a Robot Control System with an Integrated 3D Vision System", SMART SCIENCE, vol. 3, no. 2, 4 January 2016 (2016-01-04), pages 100 - 107 * |
徐晋等: "大学物理 上", 31 March 2020, 重庆大学出版社, pages: 1 - 6 * |
陈勇: "基于双目视觉的移动机器人同步定位与构图算法研究", 中国优秀硕士学位论文全文数据库信息科技辑, vol. 2020, 15 July 2020 (2020-07-15), pages 138 - 1072 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022213833A1 (en) * | 2021-04-09 | 2022-10-13 | 上海商汤智能科技有限公司 | Method and apparatus for image synchronization, electronic device, and computer storage medium |
CN113923317A (en) * | 2021-08-30 | 2022-01-11 | 珠海视熙科技有限公司 | Camera frame synchronization test method, device and storage medium |
CN113923317B (en) * | 2021-08-30 | 2022-11-15 | 珠海视熙科技有限公司 | Camera frame synchronization test method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2022213833A1 (en) | 2022-10-13 |
CN113177440B (en) | 2024-10-29 |
TW202240462A (en) | 2022-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106657779B (en) | Surrounding shooting method and device and unmanned aerial vehicle | |
JP6144826B2 (en) | Interactive and automatic 3D object scanning method for database creation | |
CN107710283B (en) | Shooting control method and device and control equipment | |
KR101530255B1 (en) | Cctv system having auto tracking function of moving target | |
WO2019119328A1 (en) | Vision-based positioning method and aerial vehicle | |
WO2017052809A1 (en) | High-resolution imaging of regions of interest | |
WO2022213833A1 (en) | Method and apparatus for image synchronization, electronic device, and computer storage medium | |
CN109696158A (en) | Distance measurement method, distance-measuring device and electronic equipment | |
WO2021168804A1 (en) | Image processing method, image processing apparatus and image processing system | |
CN111815715B (en) | Calibration method and device of zoom pan-tilt camera and storage medium | |
CN103797357A (en) | Trigger for blade imaging based on a controller | |
CN112102199A (en) | Method, device and system for filling hole area of depth image | |
TWI752594B (en) | An information processing method, electronic equipment, storage medium and program | |
CN106303230B (en) | A video processing method and device | |
CN111213365A (en) | Shooting control method and controller | |
WO2019205087A1 (en) | Image stabilization method and device | |
US20200003624A1 (en) | Tracking and ranging system and method thereof | |
CN113936042B (en) | Target tracking method and device and computer readable storage medium | |
CN114531898A (en) | Information processing apparatus, information processing method, and information processing program | |
CN108298101B (en) | Cloud deck rotation control method and device and unmanned aerial vehicle | |
JP7230941B2 (en) | Information processing device, control method, and program | |
WO2020019111A1 (en) | Method for acquiring depth information of target object, and movable platform | |
CN111164377A (en) | Computer system, position estimation method, and program | |
JP2018201146A (en) | Image correction apparatus, image correction method, attention point recognition apparatus, attention point recognition method, and abnormality detection system | |
EP3367353B1 (en) | Control method of a ptz camera, associated computer program product and control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40049355 Country of ref document: HK |
|
TA01 | Transfer of patent application right |
Effective date of registration: 20240416 Address after: 200030, Units 6-77, 6th Floor, No. 1900 Hongmei Road, Xuhui District, Shanghai Applicant after: Shanghai Yuanluobu Intelligent Technology Co.,Ltd. Country or region after: China Address before: 518000 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong Applicant before: SHENZHEN SENSETIME TECHNOLOGY Co.,Ltd. Country or region before: China |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |