基于双目立体视觉的图像面积测量算法与技术
Algorithm and Technology of Image Area Measurement Based on Binocular Stereo Vision

作者: 车娟娟 :南京邮电大学通信与信息工程学院,南京; 张健 :南京工程学院通信工程学院,南京; 曹雪虹 :南京邮电大学通信与信息工程学院,南京、南京工程学院通信工程学院,南京;

关键词: 双目立体视觉摄像机标定模板匹配视差几何关系Binocular Stereo Vision Camera Calibration Template Matching Parallax Geometrical Relationship

摘要:
本文基于双目立体视觉测距原理,用普通的USB摄像头搭建双目立体视觉系统,提出了图像面积的非接触在线测量方法。首先对摄像头进行标定,得到摄像头的内参数,然后根据OpenCV的模板匹配算法,求出两幅图像中对应匹配点的水平视差,得到距离参数,最后根据平行双目视觉的成像原理,求得实际图像与其在成像平面上的图像之间的空间几何关系,进而求出图像的实际面积。该方法实现简单、成本低、实时性好。经过实验验证,该算法在一定测量范围内达到精度要求。
>A binocular stereo vision system with a common USB camera is developed based on the distance measurement principle of binocular stereo vision, and the non-contact and on-line inspection method for the area of image is studied. First, we calibrate the camera and obtain the internal parameters of the camera. Second, horizontal parallax of the cor- responding points in two images is calculated by template matching based on OpenCV, and then the distance parameter is obtained. Finally, we find the spatial geometrical relationship between the image of the imaging plane and the actual image, and then the actual area of image is gotten. This method is easy to realize with low cost and real-time perform- ance. The experiment indicates that the algorithm meets the accuracy requirements within certain range of measurement.

文章引用: 车娟娟 , 张健 , 曹雪虹 (2013) 基于双目立体视觉的图像面积测量算法与技术。 计算机科学与应用, 3, 1-5. doi: 10.12677/CSA.2013.37A001

参考文献

[1] 马颂德, 张正友 (1997) 计算机视觉.科学出版社, 北京.

[2] 阮秋琦 (2001) 数字图像处理学.电子工业出版社, 北京.

[3] 尤路, 付永庆, 王咏胜 (2008) USB摄像头平行双目视觉系统在面积测量中的应用. 应用科技, 2, 1-4.

[4] 高强, 李青, 康丹, 黄霞 (2010) 电力线巡检立体图像的视差估计方法. 计算机应用, S2, 104-106.

[5] Zhang, Z.Y. (2000) A flexible new technique for camera calibra- tion. IEEE Transactions on Pattern Analysis and Machine Intel- ligence, 22, 1330-1334.

[6] Zhang, Z.Y. (1999) Flexible cam-era calibration by viewing a plane from unknown orientations. Pro-ceedings of the Interna- tional Conference on Computer Vision (ICCV’99), Corfu, 21-22 September 1999, 666-673.

[7] Harris, C.G. (1988) A combined corner and edge detector. Pro- ceding of the Fourth Alvey Vision Conference, Manchester, 31st August-2nd September 1988, 147-151.

[8] 梁志敏, 高洪明, 王志江, 吴林 (2006) 摄像机标定中亚像素级角点检测算法. 焊接学报, 2, 102-104.

[9] Bradski, G.R. and Kaehler, A. (2008) Learning OpenCV: Com- puter vision with the OpenCV library. O’Reilly, Sebastopol.

分享
Top