计算机工程与应用 ›› 2017, Vol. 53 ›› Issue (8): 159-164.DOI: 10.3778/j.issn.1002-8331.1510-0032

• 图形图像处理 • 上一篇    下一篇

一种基于矩不变的深度获取计算方法

马正华,范文韬,黄海卫   

  1. 常州大学 信息科学与工程学院,江苏 常州 213164
  • 出版日期:2017-04-15 发布日期:2017-04-28

Calculation method of depth acquisition based on moment-preserving

MA Zhenghua, FAN Wentao, HUANG Haiwei   

  1. College of Information Science and Engineering, Changzhou Uniwersity, Changzhou, Jiangsu 213164, China
  • Online:2017-04-15 Published:2017-04-28

摘要: 针对传统矩不变深度信息获取方法在实际应用中普适性不足,且边缘检测效果不理想的问题,提出一种改进的矩不变深度信息获取方法。首先通过改变像距和光圈参数来获取不同位置的两幅图像,然后用基于图像梯度和灰度标准差相结合的方法检测出每幅图像的边缘,最后根据梯度图像占整幅图像的比值来计算深度信息。实验结果表明该算法提升了边缘检测的效果,减少了计算量,提高了距离估测的准确性和实时性。

关键词: 矩不变, 像距, 图像梯度, 灰度标准差

Abstract: Aiming at the problem that depth information acquisition method for the traditional moment-preserving universality is insufficient and edge is not ideal in practical applications, an improved moment-preserving depth information acquisition method is proposed. First, it gets the two images at different positions by changing the image distance and aperture parameters. Then it uses the method which is based on a combination of the image gradient and gray-scale standard deviation for detecting the edge of each image. Finally, according to the gradient image representing the ratio of the whole image, it calculates depth information. Experimental results show that the algorithm improves edge detection effect, reducing the amount of computation to improve the distance estimation accuracy and real-time.

Key words: moment-preserving, image distance, image gradient, gray-scale standard deviation