A Research for Three Dimensional Object Reconstruction
|Course||Communication and Information System|
|Keywords||3D reconstruction color similarity binarization camera self-calibration 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.