WO2021027323A1 - 基于仿生眼平台的混合稳像方法和装置 - Google Patents

基于仿生眼平台的混合稳像方法和装置 Download PDF

Info

Publication number
WO2021027323A1
WO2021027323A1 PCT/CN2020/086889 CN2020086889W WO2021027323A1 WO 2021027323 A1 WO2021027323 A1 WO 2021027323A1 CN 2020086889 W CN2020086889 W CN 2020086889W WO 2021027323 A1 WO2021027323 A1 WO 2021027323A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
image stabilization
bionic eye
platform
transformation
Prior art date
Application number
PCT/CN2020/086889
Other languages
English (en)
French (fr)
Inventor
陈晓鹏
黄强
程炜
徐阳
余张国
陈学超
高峻峣
Original Assignee
北京理工大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京理工大学 filed Critical 北京理工大学
Publication of WO2021027323A1 publication Critical patent/WO2021027323A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • H04N23/685Vibration or motion blur correction performed by mechanical compensation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6812Motion detection based on additional sensors, e.g. acceleration sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction

Definitions

  • the invention relates to the technical field of image processing, in particular to a hybrid image stabilization method and device based on a bionic eye platform.
  • the robot vision system provides environment perception functions for the semi-autonomous or even autonomous operation of complex mobile robots.
  • Image stabilization is one of the most important qualitative features of the mobile robot vision system.
  • the robot system poses in the X, Y, and Z directions during movement.
  • the image may be blurred due to displacement or shaking.
  • the existing image stabilization technologies can generally be divided into three categories: optical image stabilization, mechanical image stabilization and digital image stabilization.
  • the purpose of the present invention is to solve the shortcomings in the prior art, and propose a hybrid image stabilization method based on a bionic eye platform.
  • a hybrid image stabilization method based on a bionic eye platform including the following steps:
  • the motor of the mechanical image stabilization is controlled at the same time;
  • the parameters are low-pass filtered through the Kalman filtering method, and abnormal values are eliminated from the parameter setting threshold;
  • the key points are found through Shi-Tomasi corner detection, and then the movement between adjacent frames is tracked through the pyramid Lucas-Kanande algorithm, and the key points without matching are eliminated by the RANSAC algorithm;
  • the final affine transformation model parameter Hfinal is obtained by using the feature points between the two consecutive frames of images Iestab11 and Iestab12 after matching;
  • the quaternion interpolation geometric equation is expressed as:.
  • the transformation parameters of the perspective model are first obtained by ignoring the influence of the camera translation movement.
  • the stabilized image Iestab1 is an image obtained after ignoring the influence of translation.
  • this application also provides a hybrid image stabilization device based on a bionic eye platform, including:
  • the mechanical image stabilization module is used to control the motor of the mechanical image stabilization by measuring the observable disturbance speed and compensating the motor control amount;
  • the first acquisition module is used to acquire the rotation information in the three-dimensional space of the platform by using the gyroscope, and perform interpolation synchronization between the acquired IMU information and the video information through quaternion interpolation, and obtain the image and gyroscope data with the same time stamp;
  • the second acquisition module is used to use the gyroscope data and the mathematical model of the bionic eye platform to obtain the rotation matrix of the eye camera relative to the world coordinate system, that is, the rotation external parameters of the camera model;
  • the first processing module is used to perform low-pass filtering on parameters through the Kalman filtering method, and remove abnormal values from parameter setting thresholds;
  • the second processing module is configured to use the perspective transformation matrix before and after filtering to perform image compensation on the original dithered image to obtain the stabilized image Iestab1;
  • the third processing module is used to find key points through Shi-Tomasi corner detection, and then use pyramid Lucas-Kanande algorithm to track the motion between adjacent frames, and use RANSAC algorithm to eliminate key points without matching;
  • the fourth processing module is used to use the affine transformation model to obtain the final affine transformation model parameter Hfinal by using the feature points between the two consecutive frames of images Iestab11 and Iestab12 after matching;
  • the image transformation module is used to perform image transformation on Iestab1 using the obtained matrix parameter Hfinal to obtain the final stabilized image Istab.
  • the quaternion interpolation geometric equation is expressed as:.
  • the first processing module is configured to:
  • the transformation parameters of the perspective model are obtained first by ignoring the influence of camera translational motion.
  • the stabilized image Iestab1 obtained by the second processing module is an image obtained after ignoring the influence of translation.
  • this application also provides a computer device, which includes:
  • One or more processors are One or more processors;
  • Memory used to store one or more computer programs
  • the one or more processors realize the hybrid image stabilization method based on the bionic eye platform as described above.
  • this application also provides a computer-readable storage medium that stores computer code, and when the computer code is executed, the above-mentioned hybrid image stabilization method based on the bionic eye platform is executed.
  • the present invention proposes a hybrid image stabilization method based on a bionic eye platform. Based on a nine-degree-of-freedom bionic eye vision platform, a real-time image stabilization technology of mechanical and electronic hybrid fast motion compensation is proposed.
  • the mechanical image stabilization control process can be controlled by Observe the disturbance to measure and compensate, effectively suppress the influence of disturbance speed, and improve the system's position servo's ability to suppress disturbances.
  • the second-level electronic image stabilization uses a gyroscope to obtain the rotation information in the three-dimensional space of the platform, and performs multiple filtering with the two-dimensional electronic image stabilization method to obtain the final image stabilization effect of the platform.
  • the present invention not only does not need to add additional image stabilization auxiliary equipment on the basis of the original platform, but also combines the advantages of mechanical image stabilization and electronic image stabilization, can realize real-time processing of video information, and is suitable for promotion.
  • FIG. 1 is a schematic flowchart of a hybrid image stabilization method based on a bionic eye platform provided by an embodiment of the application, where the dashed frame is a schematic diagram of the electronic image stabilization process;
  • FIG. 2 is a schematic diagram of a DH mathematical model of a bionic eye platform provided by an embodiment of the application;
  • FIG. 3 is a schematic diagram of matrix transformation before and after filtering according to an embodiment of the application.
  • a hybrid image stabilization method based on a bionic eye platform proposed by the present invention includes the following steps:
  • the image information and gyroscope data in order to ensure the accuracy of the model transformation parameters, it is necessary to obtain the image information and gyroscope data at the same time.
  • the visual information and gyroscope information of the bionic eye platform are obtained by FPGA and MEMS gyroscope respectively, and the two parties are independently controlled Do not interfere with each other. Therefore, the angle information obtained by the gyroscope is converted into a quaternion, and finally the quaternion spherical linear interpolation is used to synchronize the image information and the gyroscope data.
  • the quaternion interpolation geometric equation can be written as:
  • the azimuth angle collected by the gyroscope is interpolated by slerp to obtain the same time as the video information.
  • ⁇ and ⁇ respectively represent the rotation angles around the axes Z, Y, and X, from which the current rotation matrix can be obtained:
  • the transformation matrix between the gyroscope data and the camera is calculated, and the rotation matrix of the gyroscope coordinate system relative to the camera coordinate system:
  • x is the image coordinate
  • K and [R t] are the camera's internal and external parameters
  • X is the world coordinate
  • the perspective transformation model can be used to realize the coordinate transformation between the original frame and the stable frame to eliminate image jitter caused by platform rotation. .
  • the original video sequence is I
  • the transformation matrix between adjacent image frames is H
  • the video sequence obtained after filtering is The transformation matrix between adjacent image frames.
  • the transformation matrix between the original frame and the stable frame at the same time is
  • an image stabilization experiment is performed on a nine-degree-of-freedom bionic eye vision platform.
  • the motion control part includes nine-axis motion control.
  • CANOpen communication is used to build a ROS environment to facilitate the control of the bionic eye platform.
  • images are collected through FPGA, and NVIDIA TX2 is used as the control machine.
  • the mechanical image stabilization part only performs disturbance suppression processing on the three joints of the neck, so the other 6 degrees of freedom of the eyeball are in a locked state.
  • ITF inter-frame conversion fidelity
  • PSNR is the peak signal-to-noise ratio
  • MSE is the mean square error
  • the algorithm has a good performance on the bionic eye vision platform.
  • the video ITF is increased by 5% and 20% respectively, and the frame rate after image stabilization can reach 30fps.
  • the average value of pixel movement in the X and Y directions is within one pixel.
  • the present invention is based on a nine-degree-of-freedom bionic eye vision platform, and proposes a real-time image stabilization technology for rapid motion compensation of mechanical and electronic hybrids.
  • the observable disturbance is measured and compensated to effectively suppress The influence of the disturbance speed improves the system's position servo's ability to suppress disturbances.
  • the second-level electronic image stabilization uses a gyroscope to obtain the rotation information in the three-dimensional space of the platform, and performs multiple filtering with the two-dimensional electronic image stabilization method to obtain the final image stabilization effect of the platform.
  • it not only does not need to add additional image stabilization auxiliary equipment on the basis of the original platform, but also combines the advantages of mechanical image stabilization and electronic image stabilization to realize real-time processing of video information.
  • this application also provides a hybrid image stabilization device based on a bionic eye platform, including:
  • the mechanical image stabilization module is used to control the motor of the mechanical image stabilization by measuring the observable disturbance speed and compensating the motor control amount;
  • the first acquisition module is used to acquire the rotation information in the three-dimensional space of the platform by using the gyroscope, and perform interpolation synchronization between the acquired IMU information and the video information through quaternion interpolation, and obtain the image and gyroscope data with the same time stamp;
  • the second acquisition module is used to use the gyroscope data and the mathematical model of the bionic eye platform to obtain the rotation matrix of the eye camera relative to the world coordinate system, that is, the rotation external parameters of the camera model;
  • the first processing module is used to perform low-pass filtering on parameters through the Kalman filtering method, and remove abnormal values from parameter setting thresholds;
  • the second processing module is configured to use the perspective transformation matrix before and after filtering to perform image compensation on the original dithered image to obtain the stabilized image Iestab1;
  • the third processing module is used to find key points through Shi-Tomasi corner detection, and then use pyramid Lucas-Kanande algorithm to track the motion between adjacent frames, and use RANSAC algorithm to eliminate key points without matching;
  • the fourth processing module is used to use the affine transformation model to obtain the final affine transformation model parameter Hfinal by using the feature points between the two consecutive frames of images Iestab11 and Iestab12 after matching;
  • the image transformation module is used to perform image transformation on Iestab1 using the obtained matrix parameter Hfinal to obtain the final stabilized image Istab.
  • the quaternion interpolation geometric equation is expressed as:.
  • the first processing module is configured to:
  • the transformation parameters of the perspective model are obtained first by ignoring the influence of camera translational motion.
  • the stabilized image Iestab1 obtained by the second processing module is an image obtained after ignoring the influence of translation.
  • this application also provides a computer device, which includes:
  • One or more processors are One or more processors;
  • Memory used to store one or more computer programs
  • the one or more processors realize the hybrid image stabilization method based on the bionic eye platform as described above.
  • the computer device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • this application also provides a computer-readable storage medium that stores computer code.
  • the computer code is executed, the aforementioned hybrid image stabilization method based on the bionic eye platform is executed. .
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory or other memory technology
  • CD-ROM compact disc
  • DVD digital versatile disc
  • Magnetic cassettes magnetic tape magnetic disk storage or other magnetic storage devices or any other non

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明公开了一种基于仿生眼平台的混合稳像方法和装置。所述方法包括以下步骤:通过把可观测扰动速度进行测量以及电机控制量补偿,同时对机械稳像的电机进行控制;利用陀螺仪获取平台三维空间中的旋转信息,将获得的IMU信息与视频信息通过四元数插值的方式进行插值同步,获得时间戳相同下的图像与陀螺仪数据;利用陀螺仪数据和仿生眼平台的数学模型,获得眼球相机相对于世界坐标系的旋转矩阵,即相机模型的旋转外参;通过kalman滤波方法对参数进行低通滤波。本发明不仅不需要在原有平台的基础上增加额外的稳像辅助设备,同时将机械稳像与电子稳像的优势进行结合,能够实现对视频信息的实时处理。

Description

基于仿生眼平台的混合稳像方法和装置 技术领域
本发明涉及图像处理技术领域,尤其涉及一种基于仿生眼平台的混合稳像方法和装置。
背景技术
机器人视觉系统为复杂移动机器人的半自主甚至自主操作提供了环境感知功能,图像稳定是移动机器人视觉系统最重要的定性特征之一,然而机器人系统在运动过程中姿态在X、Y、Z方向上可能发生位移或抖动造成图像模糊。现有的稳像技术总体上可以分为三大类:光学稳像、机械稳像和数字稳像。
现有的机器人平台大都采用机械稳像的方式,亦或是在后期图像处理中增加去抖动的算法,然而机械稳像为达到稳定精度常需要配合光学稳像,不要增加许多机械和光学设备,不利于设备小型化,单独的实时电子稳像又难以适应复杂多变的外界环境。
发明内容
本发明的目的是为了解决现有技术中存在的缺点,而提出的一种基于仿生眼平台的混合稳像方法。
一种基于仿生眼平台的混合稳像方法,包括以下步骤:
通过把可观测扰动速度进行测量以及电机控制量补偿,同时对机械稳像的电机进行控制;
利用陀螺仪获取平台三维空间中的旋转信息,将获得的IMU信息与视频信息通过四元数插值的方式进行插值同步,获得时间戳相同下的图像与陀螺仪数据;
利用陀螺仪数据和仿生眼平台的数学模型,获得眼球相机相对于世界坐标系的旋转矩阵,即相机模型的旋转外参;
通过kalman滤波方法对参数进行低通滤波,并对参数设置阈值进行异常值剔除;
利用滤波前后的透视变换矩阵,对原有的抖动图像进行图像补偿获得稳像后图像Iestab1;
通过Shi-Tomasi角点检测查找到关键点,之后通过金字塔Lucas-Kanande算法跟踪相邻帧之间的运动,对于无匹配的关键点采用RANSAC算法进行剔除;
采用仿射变换模型,利用匹配后的连续两帧图像Iestab11和Iestab12之间的特征点,获得最终的仿射变换模型参数Hfinal;
利用获得的矩阵参数Hfinal对Iestab1进行图像变换获得最终稳像后图像Istab。
可选地,四元数插值几何方程表示为:。
可选地,在所述通过kalman滤波方法对参数进行低通滤波中,在低通滤波过程中,忽略相机平移运动的影响先获得透视模型的变换参数。
可选地,在所述对原有的抖动图像进行图像补偿获得稳像后图像Iestab1中,稳像后图像Iestab1为忽略平移影响后获得的图像。
第二方面,本申请还提供了一种基于仿生眼平台的混合稳像装置,包括:
机械稳像模块,用于通过把可观测扰动速度进行测量以及电机控制量补偿,同时对机械稳像的电机进行控制;
第一获取模块,用于利用陀螺仪获取平台三维空间中的旋转信息,将获得的IMU信息与视频信息通过四元数插值的方式进行插值同步,获得时间戳相同下的图像与陀螺仪数据;
第二获取模块,用于利用陀螺仪数据和仿生眼平台的数学模型,获得眼球相机相对于世界坐标系的旋转矩阵,即相机模型的旋转外参;
第一处理模块,用于通过kalman滤波方法对参数进行低通滤波,并对参数设置阈值进行异常值剔除;
第二处理模块,用于利用滤波前后的透视变换矩阵,对原有的抖动图像进行图像补偿获得稳像后图像Iestab1;
第三处理模块,用于通过Shi-Tomasi角点检测查找到关键点,之后通过金字塔Lucas-Kanande算法跟踪相邻帧之间的运动,对于无匹配的关键点采用RANSAC算法进行剔除;
第四处理模块,用于采用仿射变换模型,利用匹配后的连续两帧图像Iestab11和Iestab12之间的特征点,获得最终的仿射变换模型参数Hfinal;
图像变换模块,用于利用获得的矩阵参数Hfinal对Iestab1进行图像变换获得最终稳像后图像Istab。
可选地,四元数插值几何方程表示为:。
可选地,所述第一处理模块,用于:
在低通滤波过程中,忽略相机平移运动的影响先获得透视模型的变换参数。
可选地,所述第二处理模块获得的稳像后图像Iestab1为忽略平移影响后获得的图像。
第三方面,本申请还提供了一种计算机设备,该计算机设备包括:
一个或多个处理器;
存储器,用于存储一个或多个计算机程序;
当一个或多个计算机程序被一个或多个处理器执行时,使得一个或多个处理器实现如上述的基于仿生眼平台的混合稳像方法。
第四方面,本申请还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机代码,当计算机代码被执行时,上述的基于仿生眼平台的混合稳像方法被执行。
本发明提出的一种基于仿生眼平台的混合稳像方法,基于九自由度仿生眼视觉平台,提出机械与电子混合的快速运动补偿的实时稳像技术,其中机械稳像控制过程中通过把可观测扰动量进行测量并进行补偿,有效地抑制扰动速度的影响,提高了系统的位置伺服对扰动的抑制能力。而第二级电子稳像则利用陀螺仪获取平台三维空间中的旋转信息,在配合二维电子稳像方法进行多次滤波,从而获得最终平台稳像后的效果。本发明不仅不需要在原有平台的基础上增加额外的稳像辅助设备,同时将机械稳像与电子稳像的优势进行了结合,能够实现对视频信息的实时处理,适宜推广。
附图说明
构成本申请的一部分的附图用来提供对本申请的进一步理解,使得本申请的其它特征、目的和优点变得更明显。本申请的示意性实施例附图及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为本申请实施例提供的一种基于仿生眼平台的混合稳像方法的流程示意图,其中虚线框为电子稳像流程示意图;
图2为本申请实施例提供的一种仿生眼平台的DH数学模型示意图;
图3为本申请实施例提供的一种滤波前后矩阵变换示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申 请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。
下面结合具体实施例对本发明作进一步解说。
参照图1-3,本发明提出的一种基于仿生眼平台的混合稳像方法,包括以下步骤:
Sa、机械稳像:通过把可观测扰动速度进行测量以及电机控制量补偿,同时对机械稳像的电机进行控制,此处为平台颈部的三个电机,有效地抑制扰动速度的影响,提高了系统的位置伺服对扰动的抑制能力;
Sb、电子稳像:
b1、利用陀螺仪获取平台三维空间中的旋转信息,将获得的IMU信息与视频信息通过四元数插值的方式进行插值同步,获得时间戳相同下的图像与陀螺仪数据;
b2、利用陀螺仪数据和仿生眼平台的数学模型,获得眼球相机相对于世界坐标系的旋转矩阵,即相机模型的旋转外参;
b3、忽略相机平移运动的影响获得透视模型的变换参数,通过kalman滤波方法对参数进行低通滤波,由于滤波过程中可能会有误差累计的情况,基于连续两帧间变换参数变化较小的实时参数,通过对参数设置阈值进行异常值剔 除;
b4、利用滤波前后的透视变换矩阵,利用如图2所示的变换方式,对原有的抖动图像进行图像补偿获得忽略平移影响的稳像后图像Iestab1;
b5、通过Shi-Tomasi角点检测查找到关键点,之后通过金字塔Lucas-Kanande算法跟踪相邻帧之间的运动,对于无匹配的关键点采用RANSAC算法进行剔除;
b6、采用仿射变换模型,利用匹配后的连续两帧图像Iestab11和Iestab12之间的特征点,获得最终的仿射变换模型参数Hfinal;
b7、利用获得的矩阵参数Hfinal对Iestab1进行图像变换获得最终稳像后图像Istab。
本实施例中,为了保证模型变换参数的准确性,必须获取同一时刻下的图像信息和陀螺仪数据,而仿生眼平台的视觉信息与陀螺仪信息分别由FPGA和MEMS陀螺仪获得,双方独立控制互不干扰。因此将陀螺仪获得的角度信息转换为四元数,最后采用四元数球面线性插值实现图像信息与陀螺仪数据的同步。四元数插值几何方程可写做:
Figure PCTCN2020086889-appb-000001
陀螺仪采集到的方位角经过slerp插值之后获得与视频信息同一时刻下的
Figure PCTCN2020086889-appb-000002
θ、ψ,分别表示绕轴Z、Y、X的旋转角,由此可得到当前时刻的旋转矩阵:
Figure PCTCN2020086889-appb-000003
通过建立仿生眼平台的DH模型,计算陀螺仪数据与相机之间的变换矩阵,陀螺仪坐标系相对于相机坐标系的旋转矩阵:
Figure PCTCN2020086889-appb-000004
最终可得到摄像机的外参数矩阵为:
Figure PCTCN2020086889-appb-000005
世界坐标系与图像坐标系的转换公式如下
x=K[R t]X
其中x为图像坐标,K和[R t]分别为摄像机的内、外参数,X为世界坐标。
如果不考虑平移矢量的影响,则原始帧图像I和稳定帧图像I'对应图像坐标系中的坐标分别表示为:
x=KRX
x′=KR′X
同一图像原始帧I和稳定帧I'之间的转换关系为:
x′=KR′*K -1R -1x
由此可得到转换方程:
Figure PCTCN2020086889-appb-000006
稳定帧的图像坐标:
Figure PCTCN2020086889-appb-000007
Figure PCTCN2020086889-appb-000008
在忽略平移的情况下,转换矩阵W=KR′*K -1R -1即为透视变换矩阵,可采用透视变换模型实现原始帧与稳定帧之间的坐标变换,消除平台旋转造成的图像抖动。
如图3所示,原始视频序列为I,相邻图像帧之间的变换矩阵为H,滤波后获得的视频序列为
Figure PCTCN2020086889-appb-000009
相邻图像帧之间的变换矩阵为
Figure PCTCN2020086889-appb-000010
同一时刻下原始帧与稳定帧之间的变换矩阵为
Figure PCTCN2020086889-appb-000011
Figure PCTCN2020086889-appb-000012
Figure PCTCN2020086889-appb-000013
Figure PCTCN2020086889-appb-000014
通过数学推导可以得到原始帧与稳定帧之间的变换矩阵:
Figure PCTCN2020086889-appb-000015
本实施例中,在九自由度仿生眼视觉平台上进行了稳像的相关实验,运动控制部分包括九轴的运动控制,采用CANOpen通讯,搭建ROS环境以方便控制仿生眼平台。硬件上通过FPGA采集图像,采用NVIDIATX2作为控制机。在运行稳像功能时,机械稳像部分只对颈部三个关节做了扰动抑制处理,因此对于眼球的另外6个自由度处于锁死状态。利用帧间变换保真度(ITF,PSNR为峰值信噪比,MSE为均方差)对稳像后的视频进行质量评价,稳像质量评价公式为:
Figure PCTCN2020086889-appb-000016
Figure PCTCN2020086889-appb-000017
Figure PCTCN2020086889-appb-000018
该算法在仿生眼视觉平台上有较好的表现,根据运行场景的变换(光照条件、背景复杂度等)视频ITF分别提高5%和20%不等,稳像后的帧率可以达到30fps,X,Y方向上像素移动均值均在一个像素内。
因此,本发明基于九自由度仿生眼视觉平台,提出机械与电子混合的快速运动补偿的实时稳像技术,其中机械稳像控制过程中通过把可观测扰动量进行测量并进行补偿,有效地抑制扰动速度的影响,提高了系统的位置伺服对扰动的抑制能力。而第二级电子稳像则利用陀螺仪获取平台三维空间中的旋转信息,在配合二维电子稳像方法进行多次滤波,从而获得最终平台稳像后的效果。另外,也不仅不需要在原有平台的基础上增加额外的稳像辅助设备,同时将机 械稳像与电子稳像的优势进行了结合,能够实现对视频信息的实时处理。
基于相同的技术构思,本申请还提供了一种基于仿生眼平台的混合稳像装置,包括:
机械稳像模块,用于通过把可观测扰动速度进行测量以及电机控制量补偿,同时对机械稳像的电机进行控制;
第一获取模块,用于利用陀螺仪获取平台三维空间中的旋转信息,将获得的IMU信息与视频信息通过四元数插值的方式进行插值同步,获得时间戳相同下的图像与陀螺仪数据;
第二获取模块,用于利用陀螺仪数据和仿生眼平台的数学模型,获得眼球相机相对于世界坐标系的旋转矩阵,即相机模型的旋转外参;
第一处理模块,用于通过kalman滤波方法对参数进行低通滤波,并对参数设置阈值进行异常值剔除;
第二处理模块,用于利用滤波前后的透视变换矩阵,对原有的抖动图像进行图像补偿获得稳像后图像Iestab1;
第三处理模块,用于通过Shi-Tomasi角点检测查找到关键点,之后通过金字塔Lucas-Kanande算法跟踪相邻帧之间的运动,对于无匹配的关键点采用RANSAC算法进行剔除;
第四处理模块,用于采用仿射变换模型,利用匹配后的连续两帧图像Iestab11和Iestab12之间的特征点,获得最终的仿射变换模型参数Hfinal;
图像变换模块,用于利用获得的矩阵参数Hfinal对Iestab1进行图像变换获得最终稳像后图像Istab。
可选地,四元数插值几何方程表示为:。
可选地,所述第一处理模块,用于:
在低通滤波过程中,忽略相机平移运动的影响先获得透视模型的变换参数。
可选地,所述第二处理模块获得的稳像后图像Iestab1为忽略平移影响后获得的图像。
基于相同的技术构思,本申请还提供了一种计算机设备,该计算机设备包括:
一个或多个处理器;
存储器,用于存储一个或多个计算机程序;
当一个或多个计算机程序被一个或多个处理器执行时,使得一个或多个处理器实现如上述的基于仿生眼平台的混合稳像方法。
在一个典型的配置中,计算机设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
基于相同的技术构思,本申请还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机代码,当计算机代码被执行时,上述的基于仿生眼平台的混合稳像方法被执行。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。
计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或 任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (10)

  1. 一种基于仿生眼平台的混合稳像方法,其特征在于,包括以下步骤:
    通过把可观测扰动速度进行测量以及电机控制量补偿,同时对机械稳像的电机进行控制;
    利用陀螺仪获取平台三维空间中的旋转信息,将获得的IMU信息与视频信息通过四元数插值的方式进行插值同步,获得时间戳相同下的图像与陀螺仪数据;
    利用陀螺仪数据和仿生眼平台的数学模型,获得眼球相机相对于世界坐标系的旋转矩阵,即相机模型的旋转外参;
    通过kalman滤波方法对参数进行低通滤波,并对参数设置阈值进行异常值剔除;
    利用滤波前后的透视变换矩阵,对原有的抖动图像进行图像补偿获得稳像后图像Iestab1;
    通过Shi-Tomasi角点检测查找到关键点,之后通过金字塔Lucas-Kanande算法跟踪相邻帧之间的运动,对于无匹配的关键点采用RANSAC算法进行剔除;
    采用仿射变换模型,利用匹配后的连续两帧图像Iestab11和Iestab12之间的特征点,获得最终的仿射变换模型参数Hfinal;
    利用获得的矩阵参数Hfinal对Iestab1进行图像变换获得最终稳像后图像Istab。
  2. 根据权利要求1所述的一种基于仿生眼平台的混合稳像方法,其特征在于,四元数插值几何方程表示为:。
  3. 根据权利要求1所述的一种基于仿生眼平台的混合稳像方法,其特征在于,在所述通过kalman滤波方法对参数进行低通滤波中,在低通滤波过程中,忽略相机平移运动的影响先获得透视模型的变换参数。
  4. 根据权利要求1所述的一种基于仿生眼平台的混合稳像方法,其特征 在于,在所述对原有的抖动图像进行图像补偿获得稳像后图像Iestab1中,稳像后图像Iestab1为忽略平移影响后获得的图像。
  5. 一种基于仿生眼平台的混合稳像装置,其特征在于,包括:
    机械稳像模块,用于通过把可观测扰动速度进行测量以及电机控制量补偿,同时对机械稳像的电机进行控制;
    第一获取模块,用于利用陀螺仪获取平台三维空间中的旋转信息,将获得的IMU信息与视频信息通过四元数插值的方式进行插值同步,获得时间戳相同下的图像与陀螺仪数据;
    第二获取模块,用于利用陀螺仪数据和仿生眼平台的数学模型,获得眼球相机相对于世界坐标系的旋转矩阵,即相机模型的旋转外参;
    第一处理模块,用于通过kalman滤波方法对参数进行低通滤波,并对参数设置阈值进行异常值剔除;
    第二处理模块,用于利用滤波前后的透视变换矩阵,对原有的抖动图像进行图像补偿获得稳像后图像Iestab1;
    第三处理模块,用于通过Shi-Tomasi角点检测查找到关键点,之后通过金字塔Lucas-Kanande算法跟踪相邻帧之间的运动,对于无匹配的关键点采用RANSAC算法进行剔除;
    第四处理模块,用于采用仿射变换模型,利用匹配后的连续两帧图像Iestab11和Iestab12之间的特征点,获得最终的仿射变换模型参数Hfinal;
    图像变换模块,用于利用获得的矩阵参数Hfinal对Iestab1进行图像变换获得最终稳像后图像Istab。
  6. 根据权利要求5所述的一种基于仿生眼平台的混合稳像装置,其特征在于,四元数插值几何方程表示为:。
  7. 根据权利要求5所述的一种基于仿生眼平台的混合稳像装置,其特征在于,所述第一处理模块,用于:
    在低通滤波过程中,忽略相机平移运动的影响先获得透视模型的变换参数。
  8. 根据权利要求5所述的一种基于仿生眼平台的混合稳像装置,其特征在于,所述第二处理模块获得的稳像后图像Iestab1为忽略平移影响后获得的图像。
  9. 一种计算机设备,所述计算机设备包括:
    一个或多个处理器;
    存储器,用于存储一个或多个计算机程序;
    当一个或多个计算机程序被一个或多个处理器执行时,使得一个或多个处理器实现如权利要求1-4任一项所述的基于仿生眼平台的混合稳像方法。
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机代码,当所述计算机代码被执行时,如权利要求1-4任一项所述的基于仿生眼平台的混合稳像方法被执行。
PCT/CN2020/086889 2019-08-14 2020-04-25 基于仿生眼平台的混合稳像方法和装置 WO2021027323A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910753067.5 2019-08-14
CN201910753067.5A CN110677578A (zh) 2019-08-14 2019-08-14 基于仿生眼平台的混合稳像方法和装置

Publications (1)

Publication Number Publication Date
WO2021027323A1 true WO2021027323A1 (zh) 2021-02-18

Family

ID=69075351

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/086889 WO2021027323A1 (zh) 2019-08-14 2020-04-25 基于仿生眼平台的混合稳像方法和装置

Country Status (2)

Country Link
CN (1) CN110677578A (zh)
WO (1) WO2021027323A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113240597A (zh) * 2021-05-08 2021-08-10 西北工业大学 基于视觉惯性信息融合的三维软件稳像方法
CN114089624A (zh) * 2021-07-20 2022-02-25 武汉高德红外股份有限公司 一种基于实时fft变换的峰值器扰动抑制系统和方法
CN114567726A (zh) * 2022-02-25 2022-05-31 苏州安智汽车零部件有限公司 一种类人眼自适应消抖前视摄像头
CN114979489A (zh) * 2022-05-30 2022-08-30 西安理工大学 基于陀螺仪的重型装备生产场景视频监控稳像方法及系统
CN116208855A (zh) * 2023-04-28 2023-06-02 杭州未名信科科技有限公司 一种多塔机云台全景图像抖动协调抑制方法和系统
CN117687346A (zh) * 2024-02-01 2024-03-12 中国科学院长春光学精密机械与物理研究所 舰载光电经纬仪的空间稳像控制系统及控制方法

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677578A (zh) * 2019-08-14 2020-01-10 北京理工大学 基于仿生眼平台的混合稳像方法和装置
CN113406646B (zh) * 2021-06-18 2023-03-31 北京师范大学 基于多方向超声测距及imu进行三维定位的方法和设备
CN113359462B (zh) * 2021-06-25 2022-12-20 北京理工大学 一种基于扰动解耦与补偿的仿生眼稳像系统及方法
CN113949812A (zh) * 2021-10-21 2022-01-18 浙江大立科技股份有限公司 一种基于分块kalman运动预测的电子稳像方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729783A (zh) * 2009-12-22 2010-06-09 上海大学 基于类人眼球前庭动眼反射的双目视觉系统在颠簸环境中的图像稳定方法
CN102572220A (zh) * 2012-02-28 2012-07-11 北京大学 3-3-2空间信息转换新模式的仿生复眼运动目标检测
CN104135598A (zh) * 2014-07-09 2014-11-05 清华大学深圳研究生院 一种视频图像稳定方法及装置
CN105306785A (zh) * 2015-10-27 2016-02-03 武汉工程大学 一种基于sift特征匹配和vfc算法的电子稳像方法及系统
CN109951631A (zh) * 2017-12-11 2019-06-28 高途乐公司 联合的机械和电子图像稳定
CN110677578A (zh) * 2019-08-14 2020-01-10 北京理工大学 基于仿生眼平台的混合稳像方法和装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316368B (zh) * 2008-07-18 2010-04-07 西安电子科技大学 基于全局特征点迭代的全景稳像方法
CN102148934B (zh) * 2011-04-02 2013-02-06 北京理工大学 一种多模式实时电子稳像系统
CN105976330B (zh) * 2016-04-27 2019-04-09 大连理工大学 一种嵌入式雾天实时视频稳像方法
CN108307118B (zh) * 2018-02-10 2020-07-07 北京理工大学 一种基于惯导参数流形优化的低延时视频稳像方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729783A (zh) * 2009-12-22 2010-06-09 上海大学 基于类人眼球前庭动眼反射的双目视觉系统在颠簸环境中的图像稳定方法
CN102572220A (zh) * 2012-02-28 2012-07-11 北京大学 3-3-2空间信息转换新模式的仿生复眼运动目标检测
CN104135598A (zh) * 2014-07-09 2014-11-05 清华大学深圳研究生院 一种视频图像稳定方法及装置
CN105306785A (zh) * 2015-10-27 2016-02-03 武汉工程大学 一种基于sift特征匹配和vfc算法的电子稳像方法及系统
CN109951631A (zh) * 2017-12-11 2019-06-28 高途乐公司 联合的机械和电子图像稳定
CN110677578A (zh) * 2019-08-14 2020-01-10 北京理工大学 基于仿生眼平台的混合稳像方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CHEN, XIAOPENG ET AL.: "Hybrid Image Stabilization of Robotic Bionic Eyes", 2018 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND BIOMIMETICS (ROBIO), 15 December 2018 (2018-12-15), pages 808 - 813, XP033529560 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113240597A (zh) * 2021-05-08 2021-08-10 西北工业大学 基于视觉惯性信息融合的三维软件稳像方法
CN113240597B (zh) * 2021-05-08 2024-04-26 西北工业大学 基于视觉惯性信息融合的三维软件稳像方法
CN114089624A (zh) * 2021-07-20 2022-02-25 武汉高德红外股份有限公司 一种基于实时fft变换的峰值器扰动抑制系统和方法
CN114089624B (zh) * 2021-07-20 2024-05-17 武汉高德红外股份有限公司 一种基于实时fft变换的峰值器扰动抑制系统和方法
CN114567726A (zh) * 2022-02-25 2022-05-31 苏州安智汽车零部件有限公司 一种类人眼自适应消抖前视摄像头
CN114979489A (zh) * 2022-05-30 2022-08-30 西安理工大学 基于陀螺仪的重型装备生产场景视频监控稳像方法及系统
CN116208855A (zh) * 2023-04-28 2023-06-02 杭州未名信科科技有限公司 一种多塔机云台全景图像抖动协调抑制方法和系统
CN116208855B (zh) * 2023-04-28 2023-09-01 杭州未名信科科技有限公司 一种多塔机云台全景图像抖动协调抑制方法和系统
CN117687346A (zh) * 2024-02-01 2024-03-12 中国科学院长春光学精密机械与物理研究所 舰载光电经纬仪的空间稳像控制系统及控制方法

Also Published As

Publication number Publication date
CN110677578A (zh) 2020-01-10

Similar Documents

Publication Publication Date Title
WO2021027323A1 (zh) 基于仿生眼平台的混合稳像方法和装置
CN107255476B (zh) 一种基于惯性数据和视觉特征的室内定位方法和装置
WO2019084804A1 (zh) 一种视觉里程计及其实现方法
US11057567B2 (en) Anti-shake method and apparatus for panoramic video, and portable terminal
TWI479881B (zh) 藉由結合方位感測器讀數及影像校準估計的3d視訊穩定之系統、方法及電腦程式產品
US10609287B2 (en) Stabilizing video
JP6534664B2 (ja) カメラ動き予測及び修正のための方法
JP6170395B2 (ja) 撮像装置およびその制御方法
CN106550174A (zh) 一种基于单应性矩阵的实时视频稳像方法
US20180075660A1 (en) Method and device for blurring a virtual object in a video
CN108900775B (zh) 一种水下机器人实时电子稳像方法
CN113721260B (zh) 一种激光雷达、双目相机和惯导的在线联合标定方法
CN111405187A (zh) 用于监控器材的图像防抖方法、系统、设备和存储介质
JP7253621B2 (ja) パノラマ映像の手ぶれ補正方法及び携帯端末
CN110060295B (zh) 目标定位方法及装置、控制装置、跟随设备及存储介质
CN109688327B (zh) 一种全景视频防抖的方法、装置及便携式终端
JP4661514B2 (ja) 画像処理装置、および、画像処理方法、プログラム、並びに、記録媒体
CN116052046A (zh) 一种基于目标跟踪的动态场景双目视觉slam方法
CN113240597B (zh) 基于视觉惯性信息融合的三维软件稳像方法
CN114429191A (zh) 基于深度学习的电子防抖方法、系统及存储介质
CN111712857A (zh) 图像处理方法、装置、云台和存储介质
JP2016220083A (ja) ローリングシャッタ回転歪み補正と映像安定化処理方法
CN109462717A (zh) 电子稳像方法及终端
CN111696158B (zh) 基于仿射匹配点对的多像机系统相对位姿估计方法及装置
Ryu et al. Video stabilization for robot eye using IMU-aided feature tracker

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20851460

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20851460

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31/03/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20851460

Country of ref document: EP

Kind code of ref document: A1