计算机应用 ›› 2015, Vol. 35 ›› Issue (5): 1449-1453.DOI: 10.11772/j.issn.1001-9081.2015.05.1449

• 虚拟现实与数字媒体 • 上一篇    下一篇

基于短距离优先加权均值的Stoilov改进算法

刘婷, 潘广贞, 杨剑, 张彩宏   

  1. 中北大学 计算机与控制工程学院, 太原 030051
  • 收稿日期:2014-12-03 修回日期:2015-01-15 出版日期:2015-05-10 发布日期:2015-05-14
  • 通讯作者: 刘婷
  • 作者简介:刘婷(1991-),女,山西运城人,硕士研究生,主要研究方向:三维光学信息处理、图形图像处理; 潘广贞(1969-),男,山东泰安人,副教授,博士,主要研究方向:三维重建、图形图像处理; 杨剑(1979-),男,山西临汾人,讲师,博士,主要研究方向:三维重建、计算机视觉; 张彩宏(1990-),女,山西忻州人,硕士研究生,主要研究方向:计算机视觉、图形图像处理.
  • 基金资助:

    总装备部预研基金资助项目.

Improved Stoilov algorithm based on short distance priority and weighted mean

LIU Ting, PAN Guangzhen, YANG Jian, ZHANG Caihong   

  1. School of Computer Science and Control Engineering, North University of China, Taiyuan Shanxi 030051, China
  • Received:2014-12-03 Revised:2015-01-15 Online:2015-05-10 Published:2015-05-14

摘要:

在使用均值滤波算法修复Stoilov相移算法中出现的奇异点时,会损失相位的细节信息,从而导致计算出的相位存在误差.针对这一问题,提出一种基于短距离优先选择原则的加权均值修正算法.首先,采用统计逼近的原则标记出奇异点;其次,采用短距离优先原则为每个奇异点构造最近邻滤波窗口,窗口的范围依非奇异点个数和当前所能取得的最短距离的情况而定;最后,用窗口中满足要求的非奇异点的加权平均值代替奇异点,实现对奇异点的修正.仿真与实验结果表明,该方法使窗口划分更加细致,能有效去除脉冲噪声,在相位分布细节处理上更具优势,且使得误差均方根低于0.06cm.

关键词: 三维测量, 相移, Stoilov算法, 短距离优先, 加权均值

Abstract:

The details of phase information are lost in the use of mean filtering algorithm to repair singular point by using Stoilov phase shift algorithm, which leads to incorrect phase calculation. In order to solve this problem, a new weighted mean filtering algorithm based on short distance priority was proposed. First, singular points were marked by statistical approach. Then, the size of filter window, which was built basing on the short distance priority principle for each singular point, was up to the number of non-singular points and the shortest distance in current situation. Last, this algorithm used the weighted mean of the non-singular points in the window instead of the singular point to implement singular point correction. The experimental results show that window is more detailed in this method, and the proposed method can effectively remove impulse noise, especially may have advantage in protecting details of phase, and may reduce Root Mean Squared Error (RMSE) less than 0.06 cm in the actual measurement experiments.

Key words: three-dimensional measurement, phase shifting, Stoilov algorithm, short distance priority, weighted mean

中图分类号: