Monocular Visual Odmetry
2022. 1. 6.๋ค์ ๋ธ๋ก๊ทธ ํฌ์คํธ์ ๊ธ์ ์ ๋ฆฌํ ๊ฒ ์
๋๋ค. Link
์ด ๊ธ์ ๋ณด๊ธฐ ์ ์ ์ด์ ๊ธ์ ๋ณด์๋ ๊ฒ์ ์ถ์ฒํฉ๋๋ค.
Demo
๋ฌธ์ Formulation
input
๋ ์ด๋ฏธ์ง
์ ์ฒจ์ ์ ์๊ฐ
output
ํ์ Matrix
์ด๋ vector
์๊ณ ๋ฆฌ์ฆ ๊ฐ์
- ์ด๋ฏธ์ง ์บก์ฒ: .
- camera calibration.
- ์์ feature๋ฅผ ์ฐพ๊ณ ๊ทธ๊ฒ๋ค์ ์์ tracking. ๋ง์ฝ feature์ ์๊ฐ ์ผ์ threshold๋ณด๋ค ์๋๋ก ๋จ์ด์ง๋ฉด ๋ค์ detect
- RANSAC๊ณผ Nister์ 5 point algorithm์ ์ด์ฉํ์ฌ essential matrix ๊ณ์ฐ
- (4)์์ ๊ตฌํ essential matrix๋ฅผ ์ด์ฉํด ๋ฅผ ๊ตฌํจ
- scale ์ ๋ณด๋ฅผ ์ธ๋ถ์ ์ ๋ณด(ex. ์๋๊ณ)๋ก ๋ถํฐ ๊ตฌํจ, ์ด๋ฅผ matrix์ ํฉ์นจ
Undistortion
์๋ต
Feature detection
FAST ์๊ณ ๋ฆฌ์ฆ ์ฌ์ฉ
(์ด์ ๊ธ์ ์ค๋ช ์์)
Feature Tracking
KLT Tracker ์ฌ์ฉ
(์ด์ ๊ธ์ ์ค๋ช ์์)
Feature Re-Detection
detection์ ํ ๋ ๊ฒฐ๊ตญ ์์ง์ด๊ธฐ ๋๋ฌธ์ ํฌ์ธํธ์ ์๊ฐ ์ค์ด๋ค ์ ๋ฐ์ ์์
๋ฐ๋ผ์ ํน์ ํ threshold๊ฐ๋ณด๋ค feature๊ฐ ์ ์ด์ง๋ฉด ๋ค์ detectํ๋๋ก ํจ (์์์ ์ฝ๋์์๋ 2000๊ฐ)
Essential Matrix Estimation
esseential matrix๋ ๋ค์๊ณผ ๊ฐ์ด ์ ์๋ ์ ์์
: homogeneous normalized image coordinates
๊ฐ๋จํ ์๊ณ ๋ฆฌ์ฆ์ด 8๊ฐ์ point correspondences ์๊ตฌํ์ง๋ง, ์ต๊ทผ์ 5๊ฐ์ point ์๊ณ ๋ฆฌ์ฆ์ด ๋ ์ข์ ๊ฒฐ๊ณผ๋ฅผ ๋ณด์ฌ์ค๋ค๊ณ ํ๋ค.
RANSAC
๋ง์ฝ์ ๋ชจ๋ correspondence๊ฐ ์๋ฒฝํ๋ค๋ฉด 5 point ์๊ณ ๋ฆฌ์ฆ์ผ๋ก frame๊ณผ frame์ฌ์ด์ ์์ง์์ ์๋ฒฝํ๊ฒ ๊ตฌํ ์ ์๋ค. ํ์ง๋ง ํ์ค์ ์๋ฒฝํ์ง ์๊ธฐ ๋๋ฌธ์ RANSAC๊ณผ ๊ฐ์ ๋ฐฉ๋ฒ์ ์ด์ฉํด outlier๋ฅผ ์ ๊ฑฐํจ
๊ตฌํ๊ธฐ
Essetial matrix๋ ๋ค์๊ณผ ๊ฐ์ด ํํ ๊ฐ๋ฅ
: ํ์ ํ๋ ฌ
: ์์ cross product
์ SVD๋ฅผ ์ ์ฉํ๋ฉด
Constructing Trajectory
์ฐ๋ฆฌ๋ ๊ฒฝ๋ก๋ฅผ ๋ค์๊ณผ ๊ฐ์ ๊ณต์์ ํตํด ๊ตฌํ ์ ์๋ค.
Heuristics
๋๋ถ๋ถ์ ์ปดํจํฐ ๋น์ ์๊ณ ๋ฆฌ์ฆ์ ๊ฒฝํ์ ์ธ ๋ถ๋ถ์ ํฌํจํ์ฌ ์ข ๋ ์๋ฒฝํด์ง๋ค.
Monocular Visual Odometry ์์๋ Dominant Motion is Forward๋ผ๋ ์์น์ ๊ฐ์ง๋ค.