eecs 442 computer vision conversation hour · conversation hour . 2 hw: transformation and...

21
Review of linear algebra HW 0.4 discussion DLT algorithm EECS 442 – Computer vision Conversation hour

Upload: others

Post on 17-May-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

• Review of linear algebra

• HW 0.4 discussion

• DLT algorithm

EECS 442 – Computer vision Conversation hour

2

HW: Transformation and eigenvalues

Illustration from wikipedia

Removing perspective distortion

Hp

(rectification)

Computing Hp

- 8 DOF - how many points do I need to estimate Hp?

At least 4 points! (8 equations)

- There are several algorithms…

DLT algorithm (Direct Linear Transformation)

ixix

H

ii xHx

DLT algorithm (direct Linear Transformation)

0xHx ii

9x1

0A i h

Function of

measurements

Unknown [9x1]

[2x9]

2 independent equations

9

2

1

h

h

h

h

DLT algorithm (direct Linear Transformation)

0hA i

9x2A

0hA1 0hA 2

0hA N

0hA 199N2

1x9h

Over determined

Homogenous system

ixix

H

DLT algorithm (direct Linear Transformation)

0hA 199N2 How to solve ?

Singular Value Decomposition (SVD)!

DLT algorithm (direct Linear Transformation)

0hA 199N2

999992 T

n VU

Last column of V gives h! H!

How to solve ?

Singular Value Decomposition (SVD)!

Why? See pag 593 of AZ

11

DLT algorithm (direct Linear Transformation)

How to solve ? 0hA 199N2

Clarification about SVM

T

nnnnnmnm VDUP

T

nnnmmmnm VDUP

Has n orthogonal

columns

Orthogonal

matrix

• This is one of the possible SVD decompositions

• This is typically used for efficiency

• The classic SVD is actually:

orthogonal Orthogonal

Appendix: Properties of SVD

Appendix: DLT algorithm (direct Linear Transformation) From:

Multiple View Geometry in Computer Vision, by R. Hartley and A. Zisserman, Academic Press, 2002