陈伟, 刘宇, 李宏涛, 孙静, 严宁. 基于自适应阈值和动态更新因子的ViBe改进算法[J]. 应用光学, 2022, 43(3): 444-452. DOI: 10.5768/JAO202243.0302004
引用本文: 陈伟, 刘宇, 李宏涛, 孙静, 严宁. 基于自适应阈值和动态更新因子的ViBe改进算法[J]. 应用光学, 2022, 43(3): 444-452. DOI: 10.5768/JAO202243.0302004
CHEN Wei, LIU Yu, LI Hongtao, SUN Jing, YAN Ning. Improved ViBe algorithm based on adaptive threshold and dynamic update factor[J]. Journal of Applied Optics, 2022, 43(3): 444-452. DOI: 10.5768/JAO202243.0302004
Citation: CHEN Wei, LIU Yu, LI Hongtao, SUN Jing, YAN Ning. Improved ViBe algorithm based on adaptive threshold and dynamic update factor[J]. Journal of Applied Optics, 2022, 43(3): 444-452. DOI: 10.5768/JAO202243.0302004

基于自适应阈值和动态更新因子的ViBe改进算法

Improved ViBe algorithm based on adaptive threshold and dynamic update factor

  • 摘要: 针对传统ViBe算法不能及时反映场景变化,动态场景适应性差等问题,提出一种改进的ViBe算法。改进内容包括:采用随机选取背景样本和24邻域法获取初始背景,可以加速“鬼影”消融;结合大津法(OTSU)和均匀性度量法的平均自适应阈值计算方法,可以提高算法对树叶晃动、水波纹和光照变化等环境的适应性,最大限度保留有效像素;更新阶段引入自适应更新因子,可以有效减少被误判的概率,从而增强算法的鲁棒性;最后通过形态学处理和滤波使目标更加完整。采用标准数据集视频对改进算法进行了测试和对比分析,改进算法相对于KDE算法、GMM算法和传统ViBe算法各项指标均有大幅度提高,精确度分别提高30.44%、40.72%和20.95%,错分比分别降低了43.28%、40.59%和29.43%。

     

    Abstract: Aiming at the problems that the traditional visual background extractor (ViBe) algorithm cannot reflect the scene changes in time and has poor adaptability to dynamic scenes, an improved ViBe algorithm was proposed by using randomly selected background samples and 24 neighborhood method to obtain the initial background, which could accelerate the "ghost" ablation. The average adaptive threshold calculation method was adopted to improve algorithm adaptability to external dynamic environment and illumination changes in combination with OTSU method and uniformity measurement method, which retained effective pixels to the greatest extent. In the update phase, the adaptive update factor was introduced, which could effectively reduce the misjudgment probability, so as to enhance algorithm robustness. Finally, the target was more complete through morphological processing and filtering. The standard dataset video was applied to test and compare the improved algorithm. Compared with kernel density estimation (KDE) algorithm, Gaussian mixed model (GMM) algorithm and traditional ViBe algorithm, the indexes of the improved algorithm were greatly improved. The accuracy is improved by 30.44%, 40.72% and 20.95%, respectively and the percentage of wrong classifications is reduced by 43.28%, 40.59% and 29.43%, respectively.

     

/

返回文章
返回