首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于OpenCV的视频图像梯形畸变实时校正方法
引用本文:张宇,张春燕,陈笋.基于OpenCV的视频图像梯形畸变实时校正方法[J].合肥联合大学学报,2013(3):43-47.
作者姓名:张宇  张春燕  陈笋
作者单位:安徽大学数学科学学院,合肥230601
摘    要:在拍摄视频时,由于拍摄位置、方向等因素的限制,拍摄的图像常常会出现梯形畸变.通过分析数字图像梯形畸变产生的机制并考虑到实际环境的复杂度对校正效果的影响,提出一种在VC++环境下调用OpenCV库函数实现实时校正视频图像梯形畸变的方法.该方法首先利用人工标定的方式提取梯形畸变图像的边缘轮廓:然后利用轮廓顶点坐标,计算各顶点在校正后图像上对应顶点坐标,再通过顶点坐标求得畸变校正矩阵;最后对畸变图像进行校正.实验表明,该方法能够快速有效地进行实时校正,具有较强的鲁棒性.

关 键 词:梯形畸变  校正矩阵  OpenCV  边缘提取  实时校正

The Real-time Trapezoidal Distortion Correction Method for Video Images Based on OpenCV
Authors:ZHANG Yu  ZHANG Chun-yan  CHEN Sun
Institution:(School of Mathematical Sciences, Anhui University, Hefei 230601, China)
Abstract:When shooting video, due to the limitations of the shooting location, direction and other factors, the captured image will often appear trapezoidal distortion. By analyzing the digital image trapezoidal distortion mechanism and taking into account the complexity of the physical environment proposed a call in VC++ environment OpenCV library functions to achieve real-time correction video image trapezoidal distortion correction effect. Firstly, the use of artificial calibration edge contour extraction trapezoidal distortion image; outline the coordinates of the vertices, and then calculate the corresponding vertex coordinates of each vertex in the corrected image, distortion correction matrix obtained by the vertex coordinates. Finally, the distorted image correction. Experimental results show that this method can quickly and efficiently to achieve real-time correction, and has strong robustness.
Keywords:trapezoidal distortion  correction matrix  OpenCV  edge extraction  real-time correction
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号