三维对象重构技术的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着我国计算机技术和社会经济的发展,人们对服装的质量、合体性、个性化的要求越来越高,现有的二维服装CAD技术已经不能满足纺织服装业的CAD应用要求,服装CAD迫切需要由目前的平面设计发展到立体三维设计。其中,如何根据模特的照片序列重建出模特的三维模型将具有重要的研究意义。本课题来源于国家重点学科“服装设计与工程”服装CAD与美化服饰等方面的研究,在应用计算机图像图形处理、CAD、人工智能、图形学与显示等方面的新技术、新成果的基础上,研究三维对象重构这一新兴、交叉领域中关键性的理论、应用问题及其有效解决方法。
     三维对象重构的方法有许多种,由于视觉外壳的重构方法速度快,且只需要知道重构对象的轮廓,所以本文将在研究中将此种方法作为讨论基础。通过对彩色图像序列的二值化操作,提取对象轮廓。利用镜面反射多角度几何关系计算相机内外参数。最后借助OpenGL函数库开发模型浏览器,对重构模型进行可视化验证。
     本文就物体轮廓提取提出了一系列解决方案。通过对常用彩色图像处理时使用的色彩空间的介绍,以及颜色空间结合颜色相似度处理的结果进行对比从而确定颜色空间的选择。针对以往颜色相似度计算方法的不足,提出了新的颜色相似度的计算方法。根据颜色相似度定义,以及对典型差影法的详细研究,提出了基于颜色相似度的差影法。通过分析二维Otsu动态阈值算法,给出了适合本文二值化方法——基于颜色相似度的动态阈值算法。针对二值化处理结果,提出了对噪声处理的方案:采用数学形态学分离了与对象连接的噪声;内轮廓填充修补了对象内部存在的空洞;区域填充算法则以面积为阈值对图像整体进行了噪声的消除。
     通过比较各种相机标定方法,本文结合基于镜面拍摄场景方法,提出了利用成像图像各个对象之间的几何关系推导出相机内外部参数,并且通过视角的交点的一致性确定了图像中对象轮廓顺序。这些都为三维对象的模型重构起到了决定性的作用。
     重构后的对象模型以网格(Mesh)数据结构储存,保留了对象点在空间的相对位置关系,以及点与点的三角关系。借助OpenGL函数库对重构模型进行旋转,平移,放大等可视化操作。同时验证了重构模型的准确性。
With computer technology and socio-economic development, apparel's quality, fit, and individuality for human are needed strongly requirements. The extant Two-Dimensional apparel CAD technology has been unable to meet the textile and apparel industry CAD application requirements. CAD technology for apparel should evolve from thecurrent Two-Dimensional graphic design to theThree-Dimensional design. Thus, to reconstruct the 3D model from 2D images will be a significantresearch interest. This project is originated from the national key disciplines-Apparel Design and Project which is researched on apparel CAD and garment decoration. Based on the image processing, CAD, artificial intelligence, and computer graphics technology, this project is researched on 3D object reconstruction.
     Visual Hull algorithm is chosen from many 3D reconstruction methods, because of its higher algorithm efficiency and less parameter's requirements (only needs the object's contours). Thus, this research contents are found on Visual Hull algorithm. In order to extract objects' contours, color images are needed binarization. Camera's inner and exterior parameters are calculated from geometrical relation which is formed by mirrors'reflection. An OpenGL model browser is developed to test and verify the reconstructed model.
     This paper proposed a series of contour extraction solutions. Color similarity processing results in different color spaces are determined the final color space. A new color similarity algorithm is presented to nake up the former algorithm's deficiency. According to the definition of color similarity and the typical method of background subtraction algorithm, a new background subtraction method based on color similarity is presented The two-dimensional Otsu dynamic threshold algorithm is used in our new background subtraction algorithm.In order to obtain a better binary result, morphological method separate connected noise on the objects; inner outline filling method repair the holes inside the objects;Flood Fill algorithm is used to filter the image noise.
     Compared several camera's calibration methods and based on the mirrors scene, a geometrical calculated camera's parameters is presented. Through the consistency of the viewpoint, the contours sequence can be determined. These do important function for the 3D reconstruction.
     After reconstructed, all the information, such as the points position, the relation between each triangle, are saved in the Mesh data structure. The reconstructed 3D model can be rotated, transferred and zoomed in the OpenGL model browser. The model accuracy can be easily found in this browser.
引文
[1]徐光佑.计算机视觉.清华大学出版社,1999
    [2]刘勇.基于图像的空间三维数据获取及建模.武汉大学,2004:2
    [3]A. Laurentini, "The Visual Hull Concept for Silhouette-Based Image Understanding," IEEE Trans. Pattern Analysis and Machine Intelligence, vol. 16, no.2,pp.150-162, Feb.1994.
    [4]S.M. Seitz and C.R. Dyer, "Photorealistic Scene Reconstruction by Voxel Coloring," Proc. Computer Vision and Pattern Recognition Conf., pp. 1067-1073,1997.
    [5]S. Osher and J.A. Sethian, "Fronts Propagating with Curvature-Dependent Speed:Algorithms Based on Hamilton-Jacobi Formulations," J. Computational Physics, vol.79, pp.12-49,1988.
    [6]S. Roy and I.J. Cox, "A Maximum-Flow Formulation of the n-Camera Stereo Correspondence Problem," Proc. IEEE Int'l Conf. Computer Vision, pp. 492-499, Jan.1998.
    [7]王宇,陈殿仁,朴燕,陈玉群.利用匹配区域的纹理特征改善重构三维图像的视觉质量,光子学报,2009,38(10):2717-2721
    [8]师帅,付冬梅.基于红外图像的遮挡标准几何体重构方法的研究,红外技术,2008,30(11):655-659
    [9]范利勤,金施群,廖素引.三维重构视觉系统的标定,工业计量,2007,1:5-8
    [10]张可,许斌,唐立新,师汉民.基于立体视觉的自由曲面三维重构,华中科技大学学报:自然科学版,2006,34(4):76-78
    [11]Gang Zeng, Sylvain Paris, Long Quan, and Franc, "Sillion Accurate and Scalable Surface Representationand Reconstruction from Images," IEEE Trans. Pattern Analysis and Machine Intelligence, vol.29 no.1, pp.141-158, Jan.2007
    [12]L. Shure, Loren on the Art of MATLAB:Carving a dinosaur,2009, http://blogs.mathworks.com/loren/2009/12/16/carving-a-dinosaur
    [13]Cowlishaw, M. F. Fundamental Requirements for Picture Presentation. Proc. Society for Information Display,26(2):101-107
    [14]Raphael Gonzalez, Richard E. Woods (2002) Digital Image Processing,2nd ed. Prentice Hall Press, ISBN 0-201-18075-8, p.295
    [15]International Color Consortium, Specification ICC.1:2004-10 (Profile version 4.2.0.0) Image Technology Colour Management-Architecture, Profile Format, and Data Structure
    [16]Jain A K, Vailaya A. Image Retrieval Using Color and Shape Patten Recognitiont,1997,29(8):1233-1244
    [17]Swain M J, Ballard D H. Color Indexing International Journal Computer Vision, 1991,7(1):11-32
    [18]李弼程,柳葆芳.基于二维直方图的模糊门限分割方法[J].数据采集与处理,2000,15(3):324-329
    [19]刘建庄,栗文清.灰度图像的二维Otsu自动阈值分割法.自动化学报,1993,19(1): 101-105
    [20]郭景峰,蔺旭东.数学形态学中结构元素的分析研究[J].计算机科学,2002,29(7):113-115
    [21]冈萨雷斯.数字图像处理(第二版)[M].北京:电子工业出版社,2003
    [22]王科俊,熊新炎,任桢.高效均值滤波算法.计算机应用研究,2010,2:434-438
    [23]张正峰,马少飞,李玮.新的种子点区域填充算法[J].计算机工程与应用,2009,6
    [24]霍龙,刘伟军,于光平.考虑径向畸变的摄像机标定及在三维重建中的应用[J].机械设计与制造,2005,1:1-3
    [25]中国科学院自动化研究所模式识别国家重点实验室.摄相机标定[R].
    [26]杨敏.多视几何和基于未标定影像的三维重建[D].南京:南京航空航天大学2004.
    [27]Z. Y. Zhang. Camera Calibration with One-Dimensional Objects [R].2002: 279-282.
    [28]R. Hartley. Estimation of Relative cCamera Positions for Uncalibrate Cameras [J]. Proc European Conference on Computer Vision, Santa Margherita Ligure, Italy,1992:579-587.
    [29]R. Tsai. A Versatile Camera Calibration Technique for High Accuracy 3D Machine Vision Metrology Using off the-Shelf TV Cameras and lenses. IEEE Journal of robotics and automation,1987.8, RA-3(4):323-344.
    [30]J. Weng, P. Cohen, M. Herniou. Camera Calibration with Distortion Models and Accuracy Evaluation. IEEE Transactions on Pattern Analysis and Machine Intelligence,1992.10,14(10):965-980
    [31]B. K. P. Horn. Closed-form solution of absolute orientation using quite quarter-nion. Jounal Optical of Soeiety Ameriean A,1987,4(4):629-642
    [32]王新华,李宇光.图像分析与测量技术.武汉:武汉测绘科技大学,内部教 材
    [33]Z. Y. Zhang. A Flexible New Technique for Camera Calibration. Technical Report, MSR-TR-98-71
    [34]J. Heikkila,O. Silven. A Four-step Camera Calibration Procedure with Implicit Image Correction. Computer Vision and Pattern Recognition,1997.6, 1106-1112
    [35]H. Bakstein, R. Halir. Camera Calibration with a Simulated Three Dimensional Calibration Object. Czech Pattern Recognition Workshop 2000, Tomas Svoboda(Ed),2000.2:1231-1238
    [36]K. Forbes, Anthon. V, and N. Bodika. Visual Hulls from Single Uncalibrated Snap-Shots Using Two Planar Mirrors. In Proceedings of the Fifeenth Annual South African Workshop on Pattern Recognition,2004.
    [37]K. Forbes, F. Nicolls, G. Jager, A. Voigt. Shape-from-Silhouette with Two Mirrors and An Uncalibrated Camera. In Proceedings of the 9th European Conference on Computer Vision, Graz, Austria, May 2006.
    [38]A. Bottino, A. Laurentini. Introducing a New Problem:Shape from Silhouette When the Relative Positions of the Viewpoints is Unknown. IEEE Transactions on Pattern Analysis and Machine Intelligence,25(11), November 200