电子科技 ›› 2019, Vol. 32 ›› Issue (11): 12-18.doi: 10.16180/j.cnki.issn1007-7820.2019.11.003

• • 上一篇    下一篇

基于视差与灰度双层支持窗的立体匹配算法

李小林,李文国,李浩   

  1. 昆明理工大学 机电工程学院,云南 昆明 650500
  • 收稿日期:2018-11-12 出版日期:2019-11-15 发布日期:2019-11-15
  • 作者简介:李小林(1993-),男,硕士研究生。研究方向:机器视觉。|李文国(1973-),男,博士,副教授。研究方向:光学精密测量技术、机器视觉与图像处理技术、微型计算机测控技术、机器人视觉测量与控制技术。|李浩(1992-),男,硕士研究生。研究方向:光学精密测量技术、机器视觉。
  • 基金资助:
    昆明理工大学自然bepaly手机下载基金(KKSY201301070)

A Stereo Matching Using Double Layer Support Windows Based on RGB Map and Disparity Map

LI Xiaolin,LI Wenguo,LI Hao   

  1. Faculty of Mechanical and Electrical Engineering,Kunming University of Science and Technology,Kunming 650500,China
  • Received:2018-11-12 Online:2019-11-15 Published:2019-11-15
  • Supported by:
    Natural Science Research Foundation of Kunming University of Science and Technology(KKSY201301070)

摘要:

针对传统局部匹配支持窗难以利用空间、灰度距离远的像素信息的问题,提出一种基于视差和灰度的双层支持窗立体匹配算法。该算法根据视差图获得第一层视差支持窗,在视差支持窗内配合参考图RGB颜色灰度值获得灰度相似子支持窗;随后以视差窗、灰度窗、中心像素为优化路径,通过类动态规划算法优化聚合匹配代价;最后采用WTA策略选取最佳视差,更新所有视差,并不断迭代优化视差图直到视差收敛。经过Middlebury 平台的测评,新算法的平均误匹配率为5.15%。

关键词: 视差图, 灰度图, 双层支持窗, 动态规划, 迭代

Abstract:

Aiming at the problem that traditional local matching support window is difficult to use pixel information with long distance and gray distance, a stereoscopic matching algorithm using double layer support windows based on disparity map and RGB map was proposed in this study. The algorithm obtained the first layer disparity support window according to the disparity map, and obtained the gray scale similar sub-support window by matching the RGB color gray value of the reference picture in the disparity support window. The aggregation matching cost was optimized by class dynamic programming algorithm with parallax window, gray window and central pixel as optimized paths. Finally, the WTA strategy was used to select the best disparity, update all disparities and iteratively optimize the disparity map until convergence of the disparity map was achieved. After evaluation by the Middlebury platform, the average mismatch rate of the new algorithm was 5.15%.

Key words: the disparity map, the grey map, double layer support windows, dynamic programming, iterative

中图分类号: 

  • TN911.73