摘要
长方形是机械产品等实体的主要外观形态之一,但由于图像的多样性,针对长方形的自动检测研究较少.长方形在射影变换下为一个四边形,长方形的提取可以转换为单幅图像四边形的提取问题.本文采用计算机视觉技术,给出了一种基于图像的四边形自动检测算法.算法首先针对canny检测出来的拟合直线,进行直线合并、直线删除的预处理;其次根据四边形的几何特征,进行四边形的查找得到初始四边形检测;然后结合高层语义信息,剔除错误的四边形,并形成最终的四边形;最后以VB6.0语言为开发工具,设计与实现了基于图像的四边形自动提取原型系统,并以单对象多角度的图像为对象验证了算法的有效性,检测出的四边形可广泛应用在图像的匹配、分类及检测等领域.
The rectangle is an important shape of mechanical components. However, due to the diversity of the image, few people made studies the automatic detection algorithm of rectangle. As the projective transformation of the rectangle is quadrilateral, rectan- gle extraction can be converted to the extraction of quadrilateral in the image. So, an image based automatic detection quadrilateral al- gorithm was introduced in the paper. The algorithm pretreated the combination and deletion of the lines detected by canny edge detec- tor, and then the initial quadrilateral can be extracted by the geometric characteristics of the quadrilateral. Finally, based on the high. level semantic information, error quadrilateral can be found and deleted. At last, taking VB as the development tool, the automatic extraction system based on quadrilateral has been designed and implemented, and the effectiveness of the proposed algorithm was veri- fied by image single object angles for objects. The proposed algorithm can be used in the matching, classification and detection of the image.
出处
《小型微型计算机系统》
CSCD
北大核心
2014年第8期1911-1915,共5页
Journal of Chinese Computer Systems
基金
国家自然科学基金项目(60773014)资助
校青年基金项目(20100314)资助
关键词
计算机视觉
四边形
逆向工程
直线合并
computer vision
quadrilateral
reverse engineering
line union