Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio...

32
Indexing with Unknown Illumination and Pose Ira Kemelmacher Ronen Basri Weizmann Institute of Science

Transcript of Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio...

Page 1: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Indexing with Unknown Illumination and Pose

Ira Kemelmacher Ronen BasriWeizmann Institute of Science

Page 2: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

The task – Shape Indexing1. Recognize 2. Recover pose+lighting

Camel

Hippo

Dino

Page 3: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Why is it hard?

•Unknown pose•Unknown lighting

•Clutter

•Occlusion

Page 4: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Assumptions

• Weak perspective projection

• 3D rigid transformation

• Lambertian model

Page 5: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Previous…

• Identification using alignment Fischler and Bolles, Huttenlocher and Ullman

• “3D to 2D invariants do not exist”Burns etal., Moses etal., Clemens etal.

• Indexing faster than alignment Jacobs, Wolfson etal.

Page 6: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Previous Indexing Methods

• Ignored intensity information

• Need many point or line features

• Restricted to polyhedral objects

Page 7: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Our algorithm…

• Handles both pose and lighting• Uses intensities to filter out

incorrect matches • Still relies on point features but

only very few are needed• General objects

Page 8: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Indexing with pose - Affine model (Jacobs ‘96)

pi = APi + t 8 DOF -> 5 points

(n1,n2,m)

(α3 ,β3)

(α4 ,β4)p0

p1

p2

p3

p4

P0

P1

P3

P4

P2

Page 9: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Representation in two 2D tables

(n1,n2,m)P0

P1

P3

P4

P2

(α3 ,β3)

(α4 ,β4)p0

p1

p2p3

p4

α -space

α 4= α 3

m + n 1

(α3,α4)

β -space

β 4= β 3

m + n 2

(β3, β4)

Offline –preprocessing

Online –matching

Page 10: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Modifications – still two 2D spaces

α –dual-space

(n1,n2,m)P0

P1

P3

P4

P2 r1= α3cos θ+ α4 sinθ

(θ,r1)

β –dual-space

r2= β3cos θ+ β4 sinθ

(θ,r2)

Offline –preprocessing

Online –matching

(α3 ,β3)

(α4 ,β4)p0

p1

p2p3

p4

Page 11: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

One 3D space

(α3 ,β3)

(α4 ,β4)p0

p1

p2p3

p4(n1,n2,m)P0

P1

P3

P4

P2

(θ,r1,r2)

Offline –preprocessing

Online –matching

Page 12: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

False Matches

True match

Page 13: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

How to eliminate the false matches

• Enforce rigidity using inverse Gramian Test - Weinshall, ‘93

εyBx

ByyBxxByx TTT

<−+

• Consistency with lighting NEXT

Page 14: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Harmonic Images – Linear Basis for Lighting(Basri and Jacobs ‘01, Ramamoorthi and Hanrahan ‘01)

znρ

2 2( )x yn nρ −

xnρ ynρ

x yn nρ x zn nρ

ρ

2(3 1)znρ − y zn nρ

Page 15: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Representation by harmonics

I = b * H

Unknown light

Intensities of image point set

Harmonics of model point

set

Page 16: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

The consistency measure

εI

IHHI2

2

+

− +

I = b * H

For corresponding image and model sets this is minimal

Should we apply it on feature points?

Page 17: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

“Smooth points”

Feature points

Smooth points

Page 18: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Voting

• Sets of points that pass the lighting test vote for their respective model

• All models receive scores:• Score = fraction of image sets for

which the model appears min• Once model is selected its

corresponding subsets used to determine its pose and lighting

Page 19: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Experiments• Real 3d objects

acquired using laser scanner

• Feature points collected automatically using Harris corner detector

Page 20: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Results

dino

hippo

camel

shark

pinokio

bear

elephant

face

Page 21: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Results

dino

hippo

camel

shark

pinokio

bear

elephant

face

Page 22: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Results

Page 23: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Results – Indoor scene

dino

hippo

sharkbear camel

pinokioelephant

face

Page 24: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Results – Outdoor scene

dino

camelshark

pinokio

bearelephant

facehippo

Page 25: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Results – Night Scene

dino

camelshark

pinokio

bearelephant

facehippo

Page 26: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Results – Night Scene 2

dino

camelshark

pinokio

bearelephant

facehippo

Page 27: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Filtering out matches

5,940,480

Total

48,815

2D table

1,916

3D table

331

Rigidity

18

Lighting

Page 28: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

How much does lighting help?

Voting based on Affine model

00.10.20.30.40.50.60.70.80.91

Dino

Hippo

Camel

Pinoki

oBea

rEle

phant

Shark Face

Page 29: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

How much does lighting help?

Affine + Rigidity test

00.10.20.30.40.50.60.70.80.91

Dino

Hippo

Camel

Pinoki

oBea

rEle

phant

Shark Face

Page 30: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

How much does lighting help?

00.10.20.30.40.50.60.70.80.91

Dino

Hippo

Camel

Pinoki

oBea

rEle

phant

Shark Face

Affine + Rigidity + Lighting

Page 31: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Conclusion

• Identify 3d objects in 2d scenes• Unknown pose, light• Clutter, occlusions• General, real objects• Fast, efficient

• Combination of intensity cues and geometry

Page 32: Indexing with Unknown Illumination and Posevision/indexing/pres1.pdf · 2007. 8. 29. · pinokio bear elephant hippo face. Results – Night Scene dino camel shark pinokio bear elephant

Thank you!