畸变图像的目标区域自动提取及校正算法研究
2019-06-07江磊张仁杰
江磊 张仁杰



摘 要:研究畸变图像处理的方法较多,这些方法提高了算法可靠性、完善了算法可行性,但如何提取畸变图像的有用信息进行再校正的理论和方法却不多。为此提出一个新的算法,结合Hough变换和透视变换,在畸变图像中自动选取有用的目标图像区域并提取出来,最后通过透视变换将其进行图像校正与还原。MATLAB仿真实验结果表明,该方法精度高、容错性高、稳定性好,可广泛应用到模式识别等领域。
关键词:Hough变换;透视变换;目标图像;图像校正;模式识别
DOI:10. 11907/rjdk. 181675
中图分类号:TP312文献标识码:A文章编号:1672-7800(2019)001-0099-05
Abstract: The research on the algorithms of perspective distortion is increasing, which not only improves the reliability of the algorithms, but also improves the feasibility of the experiment. However, there are not many researches on how to extract the useful information of a distorted image. In this paper, a new algorithm is proposed to combine Hough transform and perspective transform. A useful target image region can be automatically selected and extracted from the distorted image, and the image is corrected and restored by perspective transformation. MATLAB simulation results show that this method has high precision, high fault tolerance and good stability, and can be widely used in pattern recognition.
0 引言
目前对透视投影产生畸变现象的图像校正研究方法主要分为角度检测法、控制点变换法和射影几何法3大类[1-3]。在图像处理过程中,由于受限于镜头的精度、成像系统的非线性以及在获取图像拍摄过程中所采用的角度和距离等因素,获得的图像都存在透视畸变。介炫惠[4]在进行透视变换时使用开源图像库 OpenCV,根据摄像机参数直接由程序计算得到变换矩阵。金美玉[5]则使用 DSP进行透视变换计算,但实时性问题导致不能得到完整的透视变换图像。李建华[6]在处理二维条码运算时,其 VLSI 实现中包括有透视变换功能,存储机制使用的是片外 sram,在片上使用 sram 控制器进行访问。史忠科[7]等设计的透视变换FPGA实现方案采用外部的ram存储图像。这些透视变换研究均是作用于整个畸变图像,在实际应用中往往需要提取畸变图像中的有用信息,再进一步校正得到其正视图,这样不仅有利于边缘检测和轮廓提取等操作,还有利于直观解读所需要的图像信息,所以畸变图像校正受到关注。……
