针对变分光流算法的计算精度与鲁棒性问题,提出一种基于图像局部结构的区域匹配变分光流算法.光流估计能量泛函的数据项采用图像结构守恒与灰度守恒相结合,并引入规则化非平方惩罚函数,保证了光流估计的精度与鲁棒性;平滑项采用随图像局部结构自适应变化的扩散策略结合区域匹配约束函数能够有效地保护运动物体或场景的边缘轮廓信息;在光流计算过程中引入金字塔分层细化策略克服图像序列中大位移运动引起的像素点漂移现象,并采用数学方法证明光流估计模型的鲁棒性和收敛性.多组实验表明,本文方法在图像中存在剧烈光照变化、非刚性物体复杂运动以及多目标大位移运动等情况下具有较高的计算精度、较好的鲁棒性.
A region matching variational optical flowalgorithm based on image local structure according to the computing accuracy and robustness of the variational optical flowmethod is proposed. Firstly,the data term of the optical flowestimation energy function combines the constancy of the image structure and constancy of the grey value,which introduces a penalty function to ensure the good accuracy and robustness of the optical flowcomputing. Secondly,the smoothing term uses an adaptive nonlinear diffusion function which related to the image structure to preserve the boundaries of the motion.Finally,the region matching strategy and the coarse-to-fine method are used to compute the large displacement optical flow,and then the robustness and convergence are proved by mathematical method. Several experiments prove that the proposed algorithm has the better precisionand robustness even there are terrible illumination changes,complex motion of non-rigid object and large displacement of multiple objects.