Loading [MathJax]/jax/output/CommonHTML/jax.js

ABOUT ME

학습한 것을 정리하는 공간입니다. csw3575@snu.ac.kr

Today
Yesterday
Total
  • [11] 2D Homography Estimation (1)
    Multiple View Geometry 2021. 4. 10. 15:10

    본 포스트는 학습한 것을 정리할 목적으로 작성되었습니다.

     

    해당 포스트의 내용 및 그림, 수식 등은 'Multiple View Geometry in Computer Vision' 책을 참고하였습니다. 

     

     

    (1) 2D homograpy estimation

     

    P2 에 존재하는 point xi들의 집합과 같은 공간에서 그에 대응되는 다른 point xi들의 집합이 주어지면 두 이미지 간의 projective transform(homography)를 추정할 수 있다. 

     

    (2) Geometric and algebric distance

     

    Homography를 추정할 때 xiHxi 두 점군 집합들 간의 차이는 geometric 혹은 algebric distance로 정의된다. 

     

    Algebric distance : ||x×Hx||2

    Geometric distance : ||xHx||2

     

    (3) The direct linear transfomation (DLT) algorithm

     

    DLT 알고리즘은 가장 simple한 homography estimation algorithm이다. 이 algorithm은 다음을 만족하는 H를 찾는다.

     

    xi×Hxi=0

     

    xi=[xiyiwi]T, H=[h1Th2Th3T]라고 할 때, 위 식은 다음과 같이 계산된다.

     

    xi×Hxi=[yih3Txiwih2Txiwih1Txixih3Txixih2Txiyih2Txi]

     

    위 식에서 hjTxi=xTihj 이므로 다음과 같이 정리할 수 있다.

     

    [0TwixTiyixTiwixTi0TxixTiyixTixixTi0T][h1h2h3]=Aih=0

     

    위 식에서 h는 9-vector 이며 이 vector의 element들은 homography H들의 element들 이다.

     

    h=[h1h2h3]  H=[h1h2h3h4h5h6h7h8h9]

     

    또한 위 식의 rank는 2 이므로(up to scale) 마지막 row는 다른 row들에 대해 linearly dependent하고 따라서 위 두 row에 의한 식으로만 문제를 풀게 된다.

     

    [0TwixTiyixTiwixTi0TxixTi][h1h2h3]=Aih=0

     

    왼쪽의 행렬 식은 2 x 9 matrix이고 오른쪽의 벡터는 9-vector 이므로 dof 는 8이고 따라서 최소 4개의 point pair가 요구된다. 

    'Multiple View Geometry' 카테고리의 다른 글

Designed by Tistory.