finding glass

48
Finding Glass Kenton McHenry Jean Ponce David Forsyth

Upload: harley

Post on 23-Jan-2016

44 views

Category:

Documents


0 download

DESCRIPTION

Kenton McHenry Jean Ponce David Forsyth. Finding Glass. Background. Layer Seperation (Szleski, Avidan, and Aniandan, CVPR'00), (Levin, Zomet, and Weiss, CVPR'04). - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Finding Glass

Finding Glass

Kenton McHenry

Jean Ponce

David Forsyth

Page 2: Finding Glass

Background

Layer Seperation (Szleski, Avidan, and Aniandan, CVPR'00),

(Levin, Zomet, and Weiss, CVPR'04)

3D Structure (Hata, Saitoh, Kumamura and Kaida, ICPR'96)

(Ben-Ezra and Nayar, ICCV'03)

(Miyazaki, Kagesawa and Ikeuchi, ICCV'03)

(Murase, ICCV'90)

Recognition (Osadchy, Jacobs, and Ramamoorthi, ICCV'03)

Segmentation (Singh and Huang, CVPR'03)

Page 3: Finding Glass

(Adelson and Anandan, AAAI'90)

I = IB+ e

0 < ≤ 1e ≥ 0

Page 4: Finding Glass

Classifying Junctions

Non-Reversing: transparency, ambiguous depth ordering

Double-Reversing: no transparency

Single-Reversing: transparency

Page 5: Finding Glass

(Singh and Huang, CVPR'03)

Page 6: Finding Glass

(Singh and Huang, CVPR'03)

Page 7: Finding Glass

Our Goal

Page 8: Finding Glass

The Background

The appearance of a glass object changes with

the background (i.e. the scene w/o any

transparent objects)We have seen how knowledge of the

background can be extremeley useful in

reconstructing transparent surfacesIdeal situation: know the background, use

background subtraction

Page 9: Finding Glass

Glass Objects and their Edges

Why?HighlightsMirrorsHysteresis

Page 10: Finding Glass

Adelson et al Revisited

Though they focus on junctions they are

classifying edgesThe proposed rules are binary cues between a

transparent object and its background

Page 11: Finding Glass

Proposed Method

Break edges into small segments and classify them

based on the information from the two sidesProperties of glass: transparency, refraction and

reflection

Page 12: Finding Glass

Cues

Transparency Color Similarity Overlay Consistency

Refraction Texture Distortion Blurring

Reflection Highlights

Page 13: Finding Glass

Color Similarity

(HSV) Hue(HSV) Saturation

Page 14: Finding Glass

Overlay Consistency

Page 15: Finding Glass

Texture Distortion

Filer Bank: 2

scales, 6

orientations (0,)

Page 16: Finding Glass

Blurring

DCTShift in mean in

frequency space

Page 17: Finding Glass

Highlights

Highlights on smooth

shiny surfaces tend to

have a profile with a

sharp spike (Healey and Binford, '87),

(Nayar, Ikeuchi and Kanade, '91)

Page 18: Finding Glass

Highlights

Iteratively fit a line to

perimeter (starting

from threshold of 1.0)Plot line fit errors

Page 19: Finding Glass

Highlights

Page 20: Finding Glass

Single Classifier

5 cues provide 6 valuesSVM with Gaussian kernelMust be conservative with false positives

Classifier can achieve high accuracy on training

data Move hyperplane until true positives < 30%

Page 21: Finding Glass

Multiple Classifiers

glass ⇐ similar_color ∧ high_alpha ∧ (low_emmission ∨ highlight ∨ smoother ∨ distortion)

If we were to consider the 6 values as logical

propositions we could write:

Page 22: Finding Glass

glass ⇐ similar_color ∧ high_alpha ∧ low_emmission

glass ⇐ similar_color ∧ high_alpha ∧highlight

glass ⇐ similar_color ∧ high_alpha ∧smoother

glass ⇐ similar_color ∧ high_alpha ∧distortion

Multiple Classifiers

We can re-write the previous statement as four

different statements of three propositions:

Page 23: Finding Glass

Multiple Classifiers

Each proposition is a seperatley trained

classifier of lower dimensionCombining the sub-classifiers

Logical OR Weighted Sum Exponential Model

Page 24: Finding Glass

Global Integration

Due to conservativeley built classifiers we will

have few positivesHysteresis: connect positves along a common

edgeSnakes

(Kass, Witkin, Terzopoulos, '87)

Page 25: Finding Glass

Experiments

Training Set: 15 images, 6 with glass objects in

front of various backgrounds, 9 with no glass

objects 333 positive examples 4581 negative examples

Test Set: 50 images, 35 with glass objects, 15

with no glass objects at all

Page 26: Finding Glass

Experiments

Single SVM

Multiple SVM's + OR

Multiple SVM's + Weighted Sum

Multiple SVM's + Exponential Model

Multiple SVM's + Weighted Sum (sampled)

Precision

68.76%

56.04%

58.78%

56.04%

73.70%

Page 27: Finding Glass

Results

Page 28: Finding Glass

Results

Page 29: Finding Glass

Results

Page 30: Finding Glass

Results

Page 31: Finding Glass

Classifying Regions as Glass

We need not restrict ourselves to regions

around edgesGiven two regions we ask the question “is one

region a glass covered version of the other?”

Page 32: Finding Glass

Over Segmentation

We want regions of similar material (Felzenszwalb and Huttenlocher, '04)

Can adjust size of super-pixels (degree of over-

segmentation) with smaller k valuesUse color, texture, and edgels to set weights

Page 33: Finding Glass

Discrepency

We use our previous classifier as a measure of

how much two regions don't belong two the

same material (i.e. glass and not glass) Use distance from seperating hyperplane (Platt, '00)

Large values: far on the postive glass side Small values (negative): far on the not glass side Reasonable if data takes a normal distribution

Drop blur cue since DCT can't be done on non-

rectangular regions.

Page 34: Finding Glass

Ambiguities

Discrepency is high for a material and a glass

covered version of that material, but also for two

completley different materialsAbove example has two possible segmentations

Page 35: Finding Glass

Affinity

Aij = 1 – a

ij /

Page 36: Finding Glass

Affinity

Because of refraction most straight background

edges that pass through the glass will appear

brokenEdges from glass contour ussually the longest

smoothest edges in the area

Page 37: Finding Glass

Affinity

Page 38: Finding Glass

Certainty of Discrepency/Affinity

High discrepency: likely different materialsLow discrepency: cannot ascertain whether

one regions is glass and the other is

backgroundHigh affinity: likely same materialLow affinity: not very informative, edge path

may just have been broken

Page 39: Finding Glass

Objective Function

We wish to maximize our measuresFirst term: maximize discrepency between

glass and other stuffSecond term: maximize affinity in the glassThird term: minimize affinities between glass

and otherCombinatorial problem!

Page 40: Finding Glass

Relaxed Objective Function

Relax region constraints Treat pixels as a sampling of an underlying

continuous function

Page 41: Finding Glass

Geodesic Active Contours

Page 42: Finding Glass

Curve Evolution

Page 43: Finding Glass

Experiments

Single SVM

Multiple SVM's + OR

Multiple SVM's + Weighted Sum

Multiple SVM's + Exponential Model

Multiple SVM's + Weighted Sum (sampled)

Proposed Method

Precision

68.76%

56.04%

58.78%

56.04%

73.70%

77.03%

Page 44: Finding Glass

Results

Page 45: Finding Glass

Results

Page 46: Finding Glass

Results

Page 47: Finding Glass

Results

Page 48: Finding Glass

Results