• 検索結果がありません。

エピポーラ幾何

ドキュメント内 Mthesis_yamazaki.dvi (ページ 88-97)

第 6 章 統合に向けて

A.5 エピポーラ幾何

付 録 B カメラキャリブレーション

カメラのキャリブレーションには、Camera Calibration Toolbox for Matlabを用いた。このツー ルは 、指定された格子模様を様々な角度から撮影した画像を数十枚準備し 、簡単なマウス操 作により、焦点距離、画像中心、画像素子の歪みと、画像の収差歪みパラメータを求めるこ とができる。図B.1に流れを示す。(1)は、キャリブレーションのために準備した20枚の画 像である。撮影している格子は、1辺3cmであった。(2)は、各画像から格子のコーナーを手 動で抽出している例である。(3)は、手動で抽出した長方形の内部の格子を自動で抽出した例 である。(2)、(3)の処理を画像の枚数分だけおこなう。(4)は 、復元した20枚分のカメラ姿 勢であり、(5)が算出された値である、本研究で利用したカメラは画像の歪みが少なかったた め、これらのうち利用する値は 、焦点距離fcのみである。

(2) (3) (1)

(4)

(5)

図B.1:キャリブレーションツール

付 録 C KLT-Tracker の特徴点追跡・抽出方法

本研究で特徴点の抽出・追跡に用いているKLT-Trackerは、以下の式に基づき画像間で特徴の 類似度を算出する。

e=

w[J(u+z)−I(u)]2du (C.1) 解法

まず、式(C.26)を以下のように書き換える。

e=

w[J(u+z

2)−I(u z

2)]2du (C.2)

関数JIをそれぞれテイラー展開する。

J(u+ z

2) =J(u) +∂J(u)

∂u (u+z 2 u)

=J(u) +1

2(gu gv) zu

zv

=J(u) +1

2gTI(u)z

I(uz

2) =I(u) +∂J(u)

∂u (uz 2u)

=I(u)1

2(gu gv) zu

zv

=I(u)1

2gTJ(u)z

(C.3)

これより、式(7.26)を以下のように変形する。

e =

w[J(u) +1

2gTJ(u)z−I(u) +1

2gTI(u)z ]2du

= w[J(u)−I(u) +1

2(gTJ(u) +gTI(u))z ]2du

(C.4)

dについて微分し 、関係式を導く。

∂e

∂z =

w[J(u)−I(u) +1

2gT(u)z ]g(u) du= 0 (C.5)

w[J(u)−I(u) ]g(u) du =1

2 wgT(u)zg(u)du

=1

2 wg(u)gT(u)du z

(C.6)

これらをまとめ、以下の式をNewton-Raphson法により解くことで、画素の移動量zを 算出する。

e=D z

z=D−1 e (C.7)

付 録 D L*a*b* 表色系の変換式

カメラから取得する画像は、RGB表色系で表されている。RGBからL∗a∗b∗表色系への変 換式を示す。

まず、RGBの値を以下の変換式に従いXY Z表色系の値に線形変換する。

X Y Z

=

0.61 0.17 0.20 0.30 0.59 0.11 0.00 0.07 1.12

R G B

(D.1)

L∗a∗b∗表色系は、以下の式により求める。

L∗= 116f(Y /Yn)16

a∗= 500{f(X/Xn)−f(Y /Yn)}

b∗= 200{f(Y /Yn)−f(Z/Zn)}

(D.2)

ただし 、X/Xn>0.008856 のとき f(X/Xn) = (X/Xn)13

X/Xn0.008856 のとき f(X/Xn) = 7.787(X/Xn) + 16/116

YZについても同様の式で表される。

XY Z表色系において、Yが明度を、XZが色を表す情報である。また、XnYnZnは、

完全拡散面の3刺激値、すなわち白色のXY Z値である。L∗a∗b∗表色系では 、L∗が明度 に、a∗b∗が色相と彩度に相当する位置を示す。

参考文献

[1] Bruces D. Lucas and Takeo Kanade: “An Iterative Image Registration Technique with an Ap-plication to Stereo Vision”, International Joint Conference on Artificial Intelligence, pages 674-679, 1981.

[2] C. Tomasi , T. Kanade: “Shape and Motion from Image Streams under Orthgraphy: a Factor-ization Method”, IJCV,9(2), pp.137–154, 1992.

[3] C. Tomasi and T. Kanade: “Detection and Tracking of Point Features”, Carnegie Mellon University Technical Report CMU-CS-91-132, April 1991.

[4] David G. Lowe: “Object Recognition from Local Scale Invariant Features”, Proc. of the International Conference on Computer Vision ( ICCV ), pp.1150–1157, 1999.

[5] 出口: 「 多視点からの透視投影画像による3次元形状復元」, 計測自動制御学会論文 誌, pp.1321–1328, 1998.

[6] 出口:「ロボットビジョンの基礎」,コロナ社, 2000.

[7] 出口:「画像認識論講義」, 昭光堂, 2002.

[8] 土井,千葉:「3次元CGの基礎と応用」, サイエンス社, 1997.

[9] Eberst, C., Andersson, M., and Christensen, H. I.: “Vision-Based Door-Traversal for Au-tonomous Mobile Robots,”, Proc. of IROS2000, 2000.

[10] 江口、油田:「移動系の自由度も用いて物体を操作する小型移動マニピュレータ」, 第6 回ロボティクスシンポジア,pp.267-273, 2000.

[11] Frank Dellaert, Steven M. Seitz, Charls E. Thorpe and Sebastian Thrun: “Structure from Motion without Correspondence”, IEEE Computer Society Conference on Computer Vision and Pattern Recognition ( CVPR’00 ), 2000.

[12] Hartley, Gupta and Chang: ”Stereo from Uncalibrated Cameras”, CVPR, pp.761–764, 1992.

[13] H. I. Christensen, N. O. Kirkeby, S. Kristensen, L. Knudsen, and E. Granum: “Model-driven vision for in-door navigation”, Robotics and Autonomous Systems 12 199-207., 1994.

[14] 藤木,蔵田:「計量アフィン射影モデルの逐次型因子分解法」,電子情報通信学会誌, Vol.J84–

D–II, No.8, pp.1663–1673, 2001.

[15] J. J. Leonald and H. F. Durrant-Whyte: “Simultaneous Map Building and Localization for an Autonomous Mobile Robot”, Proc of IROS’91, pp.1442–1447, 1991.

[16] 徐:「写真から作る3次元CG-イメージ・ベースド・モデリング&レンダ リング- 7章,8 章」, 近代科学社, 2002.

[17] 徐,辻:「3次元ビジョン 」, 共立出版, 2001.

[18] Gang Xu and Noriko Sugimoto: “”A linear algorithm for motion from three weak perspective images using Euler angles”, Proc of 3rd Asian Conference on Computer Vision, as Lecture Notes in Computer Science, No. 1352, Springer-Verlag, pp.543–550, 1998.

[19] J. Shi , C. Tomasi: “Good Features to Track”, CVPR, 1994.

[20] Jose R.A. Torreao: “3D Shape Estimation in Computer Vision, Revista Controle & Automacao Vol.10 no.02 pp118–123, 1999.

[21] 金出, Poelman,森田:「因子分解法による物体形状とカメラ運動の復元」, 電子情報通信

学会誌  D-II, Vol.J76-D-II, No.8, pp.1497–1505, 1993.

[22] K. Nagatani and S. Yuta: “Autonomous Mobile Robot Navigation Including Door Opening Behabior-System Integration of Mobile Manipulator to Adapt Real Environment-”, Interna-tional Conference on Field and Service Robotics (FSR’97) ,,pp.208-215, 1997.

[23] 木 下, 出 口: 「 能 動 視 覚に よ る 3 次 元 形 状 認 識 」, 計 測 自 動 制 御 学 会 論 文 集, Vol.28, No.1, pp.144–153, 1993.

[24] 木村,斉藤:「射影幾何学に基づく多視点画像からの自由視点映像生成」, 情報処理学会 CVIM研究会論文誌, 2002.

[25] Kosaka, A. and Pan, J.: “Purdue Experiments in Model-Based Vision for Hallway Naviga-tion,”, Proc. of Workshop on Vision for Robots in IROS’95, pp. 87-96, 1995.

[26] 黄, 坂本,西田: 「 多視点画像からの3次元情報抽出, Ricoh Technical Report No.24, 1998-11.

[27] Kutulakos K. and Seitz S.: “A Theory of Shape by Space Carving”, IJCV, 38(3), pp.198–218, 2000.

[28] 黒澤, 金谷: 「アフィン空間分離法による運動物体の分離」, 情報処理学会研究報告, 2001-CVIM-125-3 (2001-1), pp.25–32, 2001.

[29] L. Iocchi, D. Mastrantuono, D. Nardi: “Visually Realistic Mapping of a Planar Environment with Stereo”, ISER 2000.

[30] M. Okutomi. and T. Kanade: “A Multiple-Baseline Stereo”, PAMI, VOL15,NO.4, pp.353–

363, 1993.

[31] M. Lustig, R. Kimmel and I.Yavne: “Robust Optical Flow Feature Tracker”, www.stanford.edu/ mlustig/.

[32] Myron Z.Brown, Darius Burschka and Gregory D. Hager: “Advances in Computational Stereo”, PAMI, VOL.25, No.8, pp.993–1008, 2003.

[33] 西川,大西,松本,泉,福永: 「 カメラの位置姿勢制御を用いたモデルベース物体認識」, IEEJ,vol.118-c,No.2, pp.210–216, 1998.

[34] 延原,和田,松山:「弾性メッシュモデルを用いた多視点画像からの高精度3次元復元」, CVIM Vol.43 No.SIG11 - 007, 2003.

[35] Okuma, Sakaue, Takemura and Yokoya: “Real-Time Camera Parameter Estimation from Images for a Mixed Reality System, ICPR, pp.4482–4486, 2000.

[36] Poelman C.J and Kanade T.: “A Paraperspective Factorization Method Shape and Motion Recovery”, tech. report CMU–CS–93–219, Computer Science Department, Carnegie Mellon University, 1993.

[37] Sainz M., Bagherzadeh N. and Susin A.: “Carving 3D Models from Uncalibrated Views.”, CGIM 2002, pp.144–149., 2002.

[38] Seitz M. and Dyer C.: “Photometrealitic Scene Reconstruction by Voxel Coloring”, IJCV, 35(2), pp.1063–1073, 1999.

[39] 佐藤「コンピュータビジョン  –視覚の幾何学–」, コロナ社1999.

[40] Stan Birchfield: “Derivation of Kanade-Lucas-Tomasi Tracking Equation”, Unpublished, 1997.

[41] T. Tsubouchi and S. Yuta: “Map Assisted Vision System of Mobile Robots for Reckoning in a Building Environment”, Proc. of ICRA’87, pp. 1978–1984, 1987.

[42] 粒崎: 移動ロボットによる椅子の片付け作業に関する研究, 筑波大学博士課程システム情 報工学研究科修士論文, 2001.

[43] T. Sato , M. Kanbara, N. Yokoya and H. Takemura: “Dense 3-D Reconstruction of an Outdoor Scene by Handhelds-baseline Stereo using a Hand-held Video Camera”, IJCV,Vol 47, No.1-3, 2002.

ドキュメント内 Mthesis_yamazaki.dvi (ページ 88-97)