节点文献
基于二维图像的三维重构技术的研究与开发
3D Reconstruction Technology Research and Development Based on 2D Image
【作者】 王俊昌;
【导师】 陈立亮;
【作者基本信息】 华中科技大学 , 材料加工工程, 2009, 硕士
【摘要】 三维重构是计算机视觉技术研究的主要内容之一,在工程技术和其它很多领域,一般要对物体进行三维分析,从而得到对研究有用的信息。本文研究的是基于二维图像的三维重构技术,是近年来计算机视觉技术与计算机图形学技术相结合而产生的一门新技术。基于二维图像的三维重构技术的研究具有重要的现实意义,而且具有广阔的应用范围,包括考古学、建筑学、以及材料加工、工业检测以及医疗成像设备等领域。目前,国内外对于大型铸件表面缺陷的监测尚无特别好的办法,几乎都是通过肉眼观察的方式来对缺陷进行判断;这种判断方式不仅费时、费力,而且很难对表面缺陷的所在的具体位置进行三维定位。针对这些问题,本文创造性地提出了一种表面缺陷检测方法:采用计算机视觉的最新技术来对缺陷进行自动检测。本方法的原理是:采用CMOS摄像机对大型铸件表面进行多视角成像,然后对成像得到的照片进行处理,得到需要的信息,最后将三维重构得到的几何实体与大型铸件自身的三维几何实体进行自动对比。这样就可以对大型铸件的表面缺陷准确地进行几何定位以及定量判断。本文在分析了摄像机成像模型及其工作原理的基础上,提出了空间点重构的方案,得到了世界坐标系与像素坐标系之间的转换关系式,为摄像机标定提供了准确的数学模型。特征点的提取是三维重构的前提和基础,在摄像机标定之前,本文采用加权平均值法对图像进行了灰度化处理,并利用Harris角点检测法和高斯滤波函数得到了图像中的角点。在对摄像机进行标定的时候,没有考虑二维图片中的非线性畸变,从图片中选取10个角点,运用OPenCV中对矩阵进行处理的函数,结合VC++编程技术,采取了线性标定的方法得到了摄像机的内部参数和外部参数的综合矩阵——摄像机的投影矩阵,并在文中给出了详细的理论推导过程。最后,本文在VC++平台上初步开发了一个基于两幅图像的空间点的重构系统,实现了图像读取、灰度化处理、角点提取、摄像机的标定和空间点重构的功能。同时用实验验证了该系统的准确性。
【Abstract】 3D Reconstruction is one of the main research content of the computer vision technology. In engineering and many other areas, in order to get useful information for research, we usually analyze the 3D structure of the objects. In this paper, 3D reconstruction is based on 2D images, it is a new technology which comes from the combination of the technology of computer vision and computer graphics.The research on 3D reconstruction has important practical significance and has a broad range of applications, such as archeology、architecture、materials processing、industrial inspection、medical imaging equipment industry.At present, there is no effective method to monitor the surface defects of the large casting, researchers always determine defects by naked eyes; this method wastes time and energy, and it is very hard to locate the location of surface defects. To solve these problems, the paper proposes a creative method to defect the surface detection: using the latest technologies of computer vision to detect defects automatically. The principle of this method is: use CMOS camera to obtain the multi-angle images of the surface of large casting; then, process images to get the useful information; finally, the geometric entities of 3D reconstruction and the original geometric entities casting will be contrasted automatically. In this way, we can get the exact location of the surface defects of large-scale casting.Based on the analysis of the camera imaging model and its working principle, the paper gives a plan for space point reconstruction, the paper also studies the conversion relationship between the world coordinate system and pixel coordinate system. Extraction of feature points is the prerequisite conditions and basis of the camera calibration. Before calibration, this paper uses the weighted average to process the image, uses the Harris corner detection method and the Gaussian filter function to get the corner from the image.The paper does not consider the non-linear distortion of the 2D image during the camera calibration. It selects 10 points from the corner points, and obtains the camera projection matrix by means of OpenCV and VC++ programming techniques. Theory analysis and process design are made detailed in paper.Finally, the paper develops a software system on the VC++ platform. It includes reading images, gray-scale processing, corner extraction, camera calibration and reconstruction of the space point. The validity and practicability of studies has been approved by the experiment in the dissertation.
【Key words】 computer vision; material processing; 3D reconstruction; Projection matrix; camera calibration;
- 【网络出版投稿人】 华中科技大学 【网络出版年期】2012年 02期
- 【分类号】TP391.41
- 【被引频次】6
- 【下载频次】634