结合运动目标检测帧差法运算速度快和光流法动目标检测准确度高的特点,提出了一种基于隔帧差分区域光流计算的运动目标检测方法。该方法通过隔帧帧差方法先提取运动区域,然后只对运动区域进行光流计算,减少了计算区域,提高了速度;在光流场计算时,对梯度较大和较小的点处,分别采用基本等式约束和光滑准则约束的方法,提高了动目标检测的准确性,另外在光流迭代运算中增加惯性项,减少了迭代次数,进一步提高了检测速度。实验结果验证了该方法的有效性。
Combining with the high speed of frame-difference method and the high accuracy of the optical flow method, a moving target detection algorithm based on regional optical flow of discontinuous flame-difference is proposed. After acquiring the region consisting of moving targets by using the discontinuous flame-difference method, only its optical flow is calculated. The calculated region is reduced, therefore it improved the detection speed. The optical flow of the larger gradient points is calculated with the basic equation, while the smaller ones are calculated with the smooth constraint equation, which can improve the accuracy of the moving targets detection. In addition, through importing inertia factor, the iterative numbers of the optical flow equation is reduced while the detection speed is improved. Experimental results prove the effectiveness of the proposed algorithm.