研究生: |
高吉毅 Chi-Yi Kao |
---|---|
論文名稱: |
利用相對長度做相機校正以恢復3D結構 Using relative lengths to camera calibration for 3D structure recovery |
指導教授: |
許文星
Wen-Hsing Hsu |
口試委員: | |
學位類別: |
碩士 Master |
系所名稱: |
電機資訊學院 - 電機工程學系 Department of Electrical Engineering |
論文出版年: | 2004 |
畢業學年度: | 92 |
語文別: | 英文 |
論文頁數: | 58 |
中文關鍵詞: | 3D 重建 、相機校正 |
外文關鍵詞: | camera calibration, 3D reconstruction |
相關次數: | 點閱:1 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
早期,3D重建的研究,最常應用於機器人導引的領域,及地形量測領域。隨著IC設計產業的蓬勃發展,使得原本相當費時的3D視覺處理,可以透過硬體來加快處理速度。如今,3D視覺效果,幾乎已成為個人電腦的標準配備,無論是大型電玩,或是電腦遊戲,都強調以3D視覺呈現為其賣點,甚至醫學影像,也朝往3D的領域邁進,以增加診斷的準確性。這都一再顯示3D視覺的重要性,及大幅度提升其未來的價值。有了後段應用層面的需求,則前段建立3D模型的研究,自然引起各界高度的興趣。如何用最普遍的方法,建出最逼真的3D模型,想必是炙手可熱的問題。
利用相機擷取影像,建立物體3D模型,是最普遍的一種方式。現今,相機自我校正的方法,已有不錯的重建效果,但是假如我們可以從真實世界裡,獲取,得到一些欲重建物的資訊,就可以來幫助我們,更提升重建效果,獲得更逼真的3D結構。
在這篇論文裡,我們對於相機自我校正,以及獲得物體3D結構,提出一套完整的演算法。我們的方法,假設已知欲建3D模型物體相對長度的資訊。相對長度,即是兩線段長度的比例關係。在這個方面,我們不限定任一特定的圖形或物體,所以從影像中獲取相對長度的資訊是比較普遍性的。因為相對長度,是存在於公制階層下的一個不變的特性,我們的方法是利用已知的相對長度,透過恆等式,求出一個唯一的轉換矩陣。經由此轉換矩陣,我們將能提升初步由投影階層重建,轉換到的公制階層重建,再進一步的得到更精確的公制階層重建。在公制階層重建下,和真實物體只存在一個尺寸的差異。這也是在不知道實際物體的絕對長度的情況下,可以做到的最高的層級。由實驗結果可以證實,我們提出的方法的確可以提升由Bougnoux的重建方法,獲得更真實的3D結構。
Some calibration methods can estimate the relative positions of cameras and their intrinsic parameters using 3D coordinates of points on a known calibration target. However, it is nearly impossible to use the same calibration target for the wide range of vision tasks that require cameras with long focal length for magnification as well as short one for a larger field of view. Furthermore, many robotic applications demand cameras to be calibrated on-line, which makes it impossible to put a specific calibration target for different camera setups. Now some methods of self-calibration are reported, these methods have not bad effect [31]. If we know some information from the scene, we can exploit the information to improve reconstruction from the methods of self-calibration. By deeply exploring 3D projective geometry we can know that relative lengths are a very beneficial constraint to metric 3D reconstruction. Relative lengths can be easily acquired from geometrical shape such as circle and cubic.
In this thesis, we presented a camera self-calibration and 3D structure recovery algorithm by using the relative lengths which is an invariant property under the similarity transformation. From the studying of 3D geometry and camera model, it can be shown that there exists a homography matrix with its elements partly depending on the intrinsic parameters to be able to upgrade the projective reconstruction to the metric one. Based on the particular form of homography matrix, we can formulate an error function according to the invariance of relative lengths under the similarity transformation and hence camera calibration and 3D structure recovery can be achieved by minimizing this error function. In this way, the recovered structure will automatically satisfy the invariance constraint of metric stratum. Thus, a metric reconstruction of the scene is also achieved. In addition, the proposed method can effectively deal with the case with varying intrinsic parameters of camera for the homography matrix is uniquely determined for every views of the scene.
In this thesis, we have tested the proposed method on some synthetic and real data. The results are encouraging. The reconstructed 3D structures are visually perfect.
[1] O. Faugeras, L. Robert and S. Laveau, “3-D Reconstruction of Urban Scenes from Image Sequences”, Computer Vision and Image Understanding, Vol. 69, No. 3, March, pp. 292-309, 1998.
[2] Marc Pollefeys, Self-Calibration and Metric 3D Reconstruction from Uncalibrated Image Sequence. Ph.D. thesis, 1999.
[3] P. Debevec, C. Taylor and J. Malik, “Modeling and Rendering Architecture from Photographs: A Hybrid Geometry- and Image-Based Approach”, Siggraph, 1996.
[4] R. Deriche, Z. Zhang, Q.T. Luong and O. Faugeras, “Robust Recovery of the Epipolar Geometry for an Uncalibrated Stereo Rig” , Computer Vision - ECCV’94, Lecture Notes in Computer Science, Vol. 801, Springer-Verlag, pp. 567-576, 1994.
[5] C. Schmid, R. Mohr and C. Bauckhage, “Comparing and Evaluating Interest Points”, Proc. International Conference on Computer Vision, Narosa Publishing House, pp. 230-235, 1998.
[6] Z. Zhang, R. Deriche, O. Faugeras and Q.-T. Luong, “A Robust Technique for Matching Two Uncalibrated Images through the Recovery of the Unknown Epipolar Geometry”, Artificial Intelligence Journal, Vol.78, pp.87-119, October 1995.
[7] C.Schmid, R. Mohr and C. Bauckhage, “Comparing and Evaluating Interest Points”, Proc. International Conference on Computer Vision, Narosa Publishing House, pp. 230-235, 1998.
[8] M. Pollefeys and L. Van Gool, “A Stratified Approach to Self-Calibration”,Proc. 1997 Conference on Computer Vision and Pattern Recognition, IEEE Computer Soc. Press, pp. 407-412, 1997.
[9] Z. Zhhang, “A Flexible New Technique for Camera Calibration”, IEEE Trans. on Pattern Analysis and Machine Intelligence, Vol. 22, No. 11, November 2000.
[10] Luc Robert, “Camera Calibration without Feature Extraction”, Computer Vision and Image Understanding, Vol. 63, No. 2, March, pp. 314-325, 1996.
[11] H. Longuet-Higgins, “A Computer Algorithm for Reconstructing a Scene from two Projections”, Nature, 293:133-135, 1981.
[12] R. Hartley, “Estimation of Relative Camera Positions for Uncalibrated Cameras”, Com Computer Vision - ECCV’92, Lecture Notes in Computer Science, Vol. 588, S Springer-Verlag, pp. 579-587, 1992.
[13] Milan Sonka, Vaclav Hlavac and Roger Boyle, Image Processing, Analysis, and Machine Vision, 1998.
[14] M. Pollefeys and L. Van Gool, “A Stratified Approach to Self-Calibration”,Proc. 1997 Conference on Computer Vision and Pattern Recognition, IEEE Computer Soc. Press, pp. 407-412, 1997.
[15] R. Hartley, “Euclidean Reconstruction from Uncalibrated Views”, in : J.L. Mundy, A. Zisserman, and D. Forsyth (eds.), Applications of Invariance in Computer Vision, Lecture Notes in Computer Science, Vol. 825, Springer-Verlag, pp. 237-256, 1994.
[16] Z. Zhang and C. Loop, “Estimation the Fundamental Matrix by Transforming Image Points in Projective Space”, Computer Vision and Image Understanding, Vol. 82, pp. 174-180, 2001.
[17] L. Finschi, An Implementation of the Levenberg-Marquardt Algorithm, April 1996.
[18] S. Kopparapu and P. Corke, “The Effect of Noise on Camera Calibration Parameters”, Graphical Models, Vol. 63, pp. 277-303, 2001.
[19] Umesh R. Dhond and J. K. Aggarwal, “Structure from Stereo – A Review”, IEEE Transactions on Systems, Man, And Cybernetics, Vol. 19, No. 6, November 1989.
[20] Changming Sun, “Fast Stereo Machine Using Rectangular Subregioning and 3D Maximum – Surface Techniques”, International Journal of Computer Vision 47, pp. 99-117, 2002.
[21] R Horaud, R Mohr, F Dornaika, and B Boufama. The advantage of mounting a camera onto a robot arm. In Proceedings of the Europe- China Workshop on Geometrical Modelling and Invariants for Computer Vision, Xian, China, pages 206-213, 1995.
[22] R I Hartley. Self-calibration from multiple views with a rotating camera. In J-O Eklundh, editor, 3rd European Conference on Computer Vision, Stockholm, Sweden, pages A:471-478, Springer Verlag, Berlin, 1994.
[23] Tomas Pajdla and Vaclav Hlavac. Camera calibration and Euclidean reconstruction from known translations. Presented at the workshop Computer Vision and Applied Geometry, Nordfjordeid, Norway, August 1-7, 1995.
[24] S J Maybank and O D Faugeras. A theory of self-calibration of a moving camera. International Journal of Computer Vision, 8(2):123-151, 1992.
[25] Xavier Armangue and Joaquim Salvi, “Overall View regarding fundamental matrix estimation”, Image and Vision Computing, Vol. 21, Issue 2, pp. 205-220, February 2003.
[26] Z. Zhang, “Determining the Epipolar Geometry and its Uncertainty: A Review”, International Journal of Computer Vision, Vol. 27, pp. 161-195, March 1998.
[27] J-S. Liu, J-H. Chuang, “Self- calibration with varying focal length from two images obtained by a camera with small rotation and general translation”, Pattern Recognition Letters 22 (2001) 1393-1404.
[28] M. Bober, N. Georgis and J. Kittler, “On Accurate and Robust Estimation of Fundamental Matrix”, Computer Vision and Image Understanding, Vol. 72, No. 1, October, pp. 39-53, 1998.
[29] R. Hartley and A. Zisserman, Multiple Views Geometry in Computer Vision, Cambridge University Press. Cambridge. 2000.
[30] O. Faugeras, Three-Dimensional Computer Vision: a Geometric Viewpoint, MIT press, 1993.
[31] S. Bougnoux, From Projective to Euclidean Space under any practical situation a criticism of self-calibration.
[32] P.J. Hubber, Robust Statistics, Wiley, New York, 1981.
[33] E. Mosteller, J. Turkey, Data and Analysis and Regression, Addison Wesley, Reading, MA, 1977.
[34] F. Devernay and O. Faugeras, “From projective to euclidean reconstruction”, Proc. 1997 Conference on Computer Vision and Pattern Recognition, IEEE Computer Soc. Press, pp. 264-269, 1996.
[35] R. Horaud and G. Csurka, “Self-Calibration and Euclidean Reconstruction Using Motions of a Stereo Rig”, Proc. International Conference on Computer Vision, Narosa Publishing House, New Delhi /Madras /Bombay /Calcutta /London, pp. 96-103, 1998,
[36] A. Zisserman, P. Beardsley and I. Reid, “Metric Calibration of a Stereo Rig”, Proceedings IEEE Workshop on Representation of Visual Scenes, Cambridge, pp. 93-100, 1995.
[37] Jong-Eun Ha, In-So Kweon, “3D Structure Recovery and Calibration Under Varying Intrinsic Parameters Using Known Angles“, Pattern Recognition 34 (2001).
[38] Milan Sonka, Vaclav Hlavac and Roger Boyle, Image Processing, Analysis, and Machine Vision, 1998.
[39] Forsyth, Ponce, Computer Vision A Modern Approach, 2003.
[40] O.D. Faugeras, G. Toscani, Camera calibration for 3D computer vision, Proceedings of International Workshop on Machine Vision and Machine Intelligence, Tokyo, Japen, 1987.
[41] R.K. Lenz, R.Y. Tsai, Techniques for calibration of the scale factor and image center for high accuracy 3D machine vision metrology, IEEE Pattern Anal. Mach. Intell. 10(1988) 713-720.
[42] R.Y Tsai, R.K. Lenz, A new technique for fully autonomous and efficient 3D robotics hand/eye calibration, IEEE Trans. Robot. Automat. 5(1989) 345-358.
[43] O. Faugeras, Stratification of 3D vision: projective, affine, and metric representations, J. Opt. Soc. Am. A 12 (1995) 465-484.
[44] O. Faugeras, S. Laveau, L. Robert, G. Csurka, C. Zeller, 3D reconstruction of urban scenes from sequences of images, INRIA RR-2575, 1995.
[45] B. Boufama, R. Mohr, F. Veillon, Euclidean constraints for uncalibrated reconstruction, ICCV 93 (1993) 466-470.