Hardware-Accelerated Silhouette Matching
Hardware-Accelerated Silhouette Matching
复制标题
硬件加速轮廓匹配
DOI:
--
复制
发表时间:
2000
期刊:
影响因子:
--
通讯作者:
H. Seidel
中科院分区:
文献类型:
--
作者:
H. Lensch;W. Heidrich;H. Seidel
A hardware-accelerated algorithm is presented to compute the error between a silhouette in an image and the silhouette of a projected 3D model to estimate the camera position. Since rendering algorithms have become more sophisticated in the last years also the demand for realistic models has been increased, especially for models of real world objects. Hereby, not only the 3D shape but also the surface color or reflectance is of major interest. The 3D model is commonly obtained by a scanning device producing for example a triangle mesh. Color information is frequently collected during a second process using a camera. Generating the entire model then requires to combine the 3D shape and the 2D images/textures. The camera position and orientation relative to the 3D mesh must be computed for each image in order to stitch the textures onto the 3D surface. In previous work [1, 2] the camera settings are determined by minimizing the error between the outline of the object in the 2D image and the outline of the projected 3D model. In contrast to previous algorithms where the error is estimated by a sum of pixel to outline distances, our approach directly measures the area enclosed by the two outlines. Since the projection of the 3D model can be computed using graphics hardware it is very easy and efficient to obtain this area measurement: as a preprocessing step the 2D image is segmented into pixels belonging to the background (black) and those covered by the object (white). For each camera position at first the 3D model is rendered colored white in front of a black background and the result is combined with the segmented image using a per pixel XOR-operation. Now, exactly the pixel between the outlines remain white and their number can be counted by simply evaluating a histogram. Since all these steps can be executed in hardware the non-linear optimization for the camera parameters is significantly accelerated. Further, the optimization is done hierarchically on different image resolutions to decrease the rendering effort. Given the focal length of the camera and a rough estimate for the object distance it is even possible to obtain the camera position and rotation without any user interaction in a few minutes.