new geometric interpretation and analytic solution for quadrilateral reconstruction (icpr-2014...

1
d s 0 s 2 q 0 y 2 y 0 u 0 u 2 v 0 v 2 v m p c l 0 l 2 m 0 m 2 Coupled Line Cameras a special pin-hole camera model (1) For an unknown scene quad, a set of image quads Q g from uncalibrated cameras is given. (2) Find a centered proxy quad Q by perspectively translating off-centered quad Q. A vanishing line should be available for each image. Contribution #3 (3) Find the diagonal parameters m i of the scene quad using numerical optimization. Contribution #4 (4) We can reconstruct the scene quad G in a metric sense using the analytic solution based on generalized coupled line cameras (GCLC). Contribution #2 (5) We can also calibrate unknown camera parameters for each image: - focal length: f - external params: [R|T] Contribution #1 Given: (1) An unknown scene quad G g ; (2) A set of image quad Q g ; (3) A vanishing line in each image; (4) A simple camera model with unknown parameter values: intrinsic (focal length), extrinsic (position and orientation) Problem: (1) To reconstruct the scene quad from given images and a prior knowledge; (2) To calibrate unknown camera parameters for each image Contributions: 1. Basically, we generalize the solution based on coupled line cameras (CLC) of [Lee:2012:ICPR, LEE:2012:ETRIJ] developed for a single-view reconstruction of a unknown scene rectangle. 2. An analytic solution based on generalized coupled line cameras (GCLC) is given for single-view reconstruction of a quad when diagonal parameters of the scene quad is known and its center is projected to the image center. 3. A geometric method for perspective translation is given to handle the case of an off-centered quad assuming a vanishing line is available. 4. A numeric solution is given for a completely unknown scene quad when sufficient number (i.e., at least for for a genera quad) of images are given. Summary Illustrative Example what we can do New Geometric Interpretation and Analytic Solution for Quadrilateral Reconstruction Joo-Haeng Lee [email protected] Intelligent & Cognitive Systems Dept., ETRI, KOREA Poster #7, Session ThCT1p, ICPR 2014 Line Camera a special linear camera model Given: (1) 1D image of a scene line denoted by l 0 and l 2; (2) The principal axis passes through the scene line v 0 v 2 with the division ratio m 0 and m 2 . Problem: Can we estimate the pose of a line camera when l 0 , l 2 , m 0 and m 2 are given? Solution: An analytic solution exists. Given: (1) A centered quad Q; (2) The principal axis passes through the center of a scene quad G; (3) Known diagonal parameters m i of G; and (4) Unknown diagonal angle of G. Formulation: (1) For each diagonal of Q, a line camera can be defined; (2) Two line cameras should share the principal axis; (3) Three unknowns in three equations. Problem: Can we estimate the pose of a camera when l i and m i are given? Solution: An analytic solution exists. Off-Centered Quad: (1) Using a vanishing line, perspectively translate the off-centered quad Q g to get the centered proxy quad Q. (2) Then, apply CLC reconstruction to Q. n-View Reconstruction: (1) We need to know m i to apply CLC; (2) With n views, the unknown m i can be approximated by optimization: (3) Then, we can apply CLC. Quadrilateral Reconstruction handling a real-world problem Q g φ arg m i { } min cos φ j cos φ j + 1 j = 0 n1 c v 0 v 2 v m cos θ i = α g, i d α g, i = m i + 2 l i m i l i + 2 m i m i + 2 l i + l i + 2 ( ) where u 0 u 1 u 2 u 3 r u m Q d = cos θ 0 α g ,0 = cos θ 1 α g ,1 = F ( m i , θ i , β ) d = A g ,0 / A g ,1 = F d l {0,1,2,3} , m {0,1,2,3} ( ) cos θ i = α g , i d cos φ = cos ρ sinθ 0 sinθ 1 + cos θ 0 cos θ 1 p c = d sin φ (sin φ cos θ 0 ,cos θ 1 cos φ cos θ 0 ,sin ρ sin θ 0 sin θ 1 ) Q g Q o m u g,0 u g,1 u g,2 u g,3 u m u 0 u 1 u 2 u 3 w 0 w 1 w d,0 w d,1 w m Joo-Haeng n Views Scene Quad G known l i and r of Q inferred m i of G G-CLC d = A g ,0 / A g ,1 A g ,0 = l 0 2 l 2 2 ( m 0 + m 2 ) 2 m 1 2 m 3 2 l 1 2 l 3 2 m 0 2 m 2 2 ( m 1 + m 3 ) 2 A g ,1 = l 0 2 l 2 2 ( m 0 + m 2 ) 2 ( l 1 m 3 + l 3 m 1 ) 2 l 1 2 l 3 2 ( l 0 m 2 + l 2 m 0 ) 2 ( m 1 + m 3 ) 2 Joo-Haeng ? View 0 Scene Quad G known l i and r of Q unknown m i of G G-CLC d = A g ,0 / A g ,1 A g ,0 = l 0 2 l 2 2 ( m 0 + m 2 ) 2 m 1 2 m 3 2 l 1 2 l 3 2 m 0 2 m 2 2 ( m 1 + m 3 ) 2 A g ,1 = l 0 2 l 2 2 ( m 0 + m 2 ) 2 ( l 1 m 3 + l 3 m 1 ) 2 l 1 2 l 3 2 ( l 0 m 2 + l 2 m 0 ) 2 ( m 1 + m 3 ) 2 cos φ 0 = cos φ 1 = cos φ 2 = cos φ 3 φ i = F φ l i ,{0,1,2,3} , m {0,1,2,3} ( ) where m 0 = 1 arg m i { } min cos φ j cos φ j + 1 j = 0 n1

Upload: joo-haeng-lee

Post on 25-May-2015

127 views

Category:

Technology


0 download

DESCRIPTION

Poster presentation for ICPR 2014 paper. Title: New geometric interpretation and analytic solution for quadrilateral reconstruction Author: Joo-Haeng Lee (ETRI)

TRANSCRIPT

Page 1: New geometric interpretation and analytic solution for quadrilateral reconstruction (ICPR-2014 Poster)

ds0

s2q0

y2 y0

u0

u2

v0v2 vm

pc

l0

l2

m0m2

Coupled Line Cameras a special pin-hole camera model

(1) For an unknown scene quad, a set of image quads Qg from uncalibrated cameras is given.

(2) Find a centered proxy quad Q by perspectively translating off-centered quad Q. A vanishing line should be available for each image.���à Contribution #3

(3) Find the diagonal parameters mi of the scene quad using numerical optimization. à Contribution #4  

(4) We can reconstruct the scene quad G in a metric sense using the analytic solution based on generalized coupled line cameras (GCLC).���à Contribution #2

(5) We can also calibrate unknown camera parameters for each image: -  focal length: f -  external params: [R|T] à Contribution #1

Given: (1) An unknown scene quad Gg ; (2) A set of image quad Qg ; (3) A vanishing line in each image; (4) A simple camera model with unknown parameter values: intrinsic (focal length), extrinsic (position and orientation)

Problem: (1) To reconstruct the scene quad from given images and a prior knowledge; (2) To calibrate unknown camera parameters for each image

Contributions:

1.  Basically, we generalize the solution based on coupled line cameras (CLC) of [Lee:2012:ICPR, LEE:2012:ETRIJ] developed for a single-view reconstruction of a unknown scene rectangle.

2.  An analytic solution based on generalized coupled line cameras (GCLC) is given for single-view reconstruction of a quad when diagonal parameters of the scene quad is known and its center is projected to the image center.

3.  A geometric method for perspective translation is given to handle the case of an off-centered quad assuming a vanishing line is available.

4.  A numeric solution is given for a completely unknown scene quad when sufficient number (i.e., at least for for a genera quad) of images are given.

Summary

Illustrative Example what we can do

New Geometric Interpretation and Analytic Solution for Quadrilateral Reconstruction

Joo-Haeng Lee [email protected] Intelligent & Cognitive Systems Dept., ETRI, KOREA

Poster #7, Session ThCT1p, ICPR 2014

Line Camera a special linear camera model

Given: (1) 1D image of a scene line denoted by l0 and l2; (2) The principal axis passes through the scene line v0v2 with the division ratio m0 and m2.

Problem: Can we estimate the pose of a line camera when l0, l2, m0 and m2 are given?

Solution: An analytic solution exists.

 

Given: (1) A centered quad Q; (2) The principal axis passes through the center of a scene quad G; (3) Known diagonal parameters mi of G; and (4) Unknown diagonal angle of G.

Formulation: (1) For each diagonal of Q, a line camera can be defined; (2) Two line cameras should share the principal axis; (3) Three unknowns in three equations.

Problem: Can we estimate the pose of a camera when li and mi are given?

Solution: An analytic solution exists.

Off-Centered Quad: (1) Using a vanishing line, perspectively translate the off-centered quad Qg to get the centered proxy quad Q. (2) Then, apply CLC reconstruction to Q.

n-View Reconstruction: (1) We need to know mi to apply CLC; (2) With n views, the unknown mi can be approximated by optimization:

(3) Then, we can apply CLC.

Quadrilateral Reconstruction handling a real-world problem

Qg

φ

arg

mi{ }min cosφ

j− cosφ

j+1j=0

n−1

cv0v2 vm

cosθ

i= α

g ,id

αg ,i=

mi+2

li− m

ili+2

mim

i+2li+ l

i+2( )where  

u0

u1 u2

u3r um

Q

d =cosθ

0

αg ,0

=cosθ

1

αg ,1

= F(mi,θ

i,β )

d = Ag ,0

/ Ag ,1

= Fd

l{0,1,2,3}

,m{0,1,2,3}( )

cosθi= α

g ,id

cosφ = cosρ sinθ0sinθ

1+ cosθ

0cosθ

1

p

c=

d

sinφ(sinφ cosθ

0,cosθ

1− cosφ cosθ

0,sinρ sinθ

0sinθ

1)

QgQ

omug,0 ug,1

ug,2ug,3 um

u0 u1

u2u3

w0w1

wd,0

wd,1

wm

Joo-Haeng Lee ([email protected])

• When the diagonal ratios mi of a scene quadrilateral are known, we can find the diagonal angle j using G-CLC.

Known mi’s

known mi of Gd = A

g ,0/ A

g ,1

Ag ,0

= l02l22(m

0+m

2)2m

12m

32 − l

12l32m

02m

22(m

1+m

3)2

Ag ,1= l

02l22(m

0+m

2)2(l

1m

3+ l

3m

1)2 − l

12l32(l

0m

2+ l

2m

0)2(m

1+m

3)2

known li and r of Q

G-CLC

View 0 Scene Quad G

φ

Joo-Haeng Lee ([email protected])

• First, find mi from n views!• Then, apply G-CLC for each view

n-View Reconstruction

n Views Scene Quad G

known li and r of Q

inferred mi of G

G-CLC

d = Ag ,0

/ Ag ,1

Ag ,0

= l02l22(m

0+m

2)2m

12m

32 − l

12l32m

02m

22(m

1+m

3)2

Ag ,1= l

02l22(m

0+m

2)2(l

1m

3+ l

3m

1)2 − l

12l32(l

0m

2+ l

2m

0)2(m

1+m

3)2

Joo-Haeng Lee ([email protected])

• In practice, the diagonal ratios mi of a scene quadrilateral is unknown as well as the angle j.

Unknown mi’s

?View 0 Scene Quad G

known li and r of Q

unknown mi of G

G-CLC

d = Ag ,0

/ Ag ,1

Ag ,0

= l02l22(m

0+m

2)2m

12m

32 − l

12l32m

02m

22(m

1+m

3)2

Ag ,1= l

02l22(m

0+m

2)2(l

1m

3+ l

3m

1)2 − l

12l32(l

0m

2+ l

2m

0)2(m

1+m

3)2

cosφ

0= cosφ

1= cosφ

2= cosφ

3

φ

i= Fφ l

i ,{0,1,2,3}, m

{0,1,2,3}( ) where m0= 1

arg

mi{ }min cosφ

j− cosφ

j+1j=0

n−1