提出一种改进的图割立体匹配算法,利用RGB颜色空间模型,采用色彩相似性约束进行立体匹配.在匹配算法中,采用色彩差的平方作为原始匹配代价,建立能量函数.构建图网络,利用图的网络流理论得到能量函数的最小值,进而获得匹配的视差数据,从而实现对彩色图像的直接匹配.实验表明:本文算法可以生成精度较高的视差图,是一种有效的立体匹配算法.
An improved graph cut stereo matching algorithm is presented,using RGB color space model and color similarity.In the matching algorithm,the color squared intensity difference is the original matching cost establishing the energy function.After constructing a network,the minimization of energy function is obtained by network-flow theory,and then the disparity data are obtained in order to achieve directly matching of color images.Experimental results show that the algorithm can obtain more precise disparity map,which demonstrates the practical value of the algorithm.