66
1 Symmetry Detection Competition Evaluation Details PART I: Reflection and Rotation Symmetries

(Technical Overview & Results) – Part 1

Embed Size (px)

Citation preview

Page 1: (Technical Overview & Results) – Part 1

1

Symmetry Detection Competition

Evaluation DetailsPART I: Reflection and Rotation Symmetries

Page 2: (Technical Overview & Results) – Part 1

Our Team

– Ingmar Rauschert (PSU)Summary

– Kyle Brockelhurst (PSU) Translation symmetry

– Jingchen Liu (PSU) Reflection symmetry

– Somesh Kashyap (BBT) Rotation symmetry

– Yanxi LiuLead

Page 3: (Technical Overview & Results) – Part 1

Tasks

• Image Collection

• Image Annotation

• Algorithm Execution

• Algorithm Evaluation

• Presentation

Page 4: (Technical Overview & Results) – Part 1

Image Collection

• WWW & Flicker • Personal Images

Page 5: (Technical Overview & Results) – Part 1

5

Image Data Set

Page 6: (Technical Overview & Results) – Part 1

Image Annotation

• Number of training sets: 4• Number of test sets: 6• Number of images: 124• Number of annotated reflection and

rotation symmetries: 167• Number of wallpaper tiles: >2000

Page 7: (Technical Overview & Results) – Part 1

Algorithm Evaluation

• Algorithms evaluated (Total: 11)– Reflection: 3 (submitted) + 1 (baseline)– Rotation: 3 (submitted) + 1 (baseline)– Translation: 2 (submitted) + 1 (baseline)

• Quantitative evaluation metrics

• Automatic processing

Page 8: (Technical Overview & Results) – Part 1

8

Algorithm Execution

• Submitted Code– Matlab– Windows Executables

• Running Code– Some had GUI

• Nice, but difficult to automate for batch processing

– Some had single point of entry• result = symDetect(image);

– Some had complicated pipelines• imgPP1 = doPreProcessing(image, params1)• imgPP2 = doOtherProcessing(imgPP1, params2)• ….• Result = finallyDoSymDetect(imgPPN, paramsN)

– Some code did not work at all• Only after communication with authors resolved

– Some code still crashes on some images

Very nice!

Not sonice!

Page 9: (Technical Overview & Results) – Part 1

9

Top Contesters

• Reflection Symmetry– Mo and Draper, Colorado State, USA– Kondra and Petrosino, Uniparthenope, Napoli, Italy

• Rotation Symmetry– Kondra and Petrosino, Uniparthenope, Napoli, Italy– Kim, Cho and Lee, Seoul National University, South

Korea

• Translation Symmetry– Cai, Polytechnic, Hongkong, China– Wu, University of North Carolina, USA

Page 10: (Technical Overview & Results) – Part 1

10

Algorithm Evaluation: Baseline Algorithms

• Baseline Algorithms (code/executable publicly available) :

• Reflection Symmetry and Rotation Symmetry Detection

– Loy,G. and Eklundh,J. (2006), Detecting symmetry and symmetric constellations of features, ECCV 2006.

• Translation Symmetry Detection

– M. Park, K. Brocklehurst, R. T. Collins, and Yanxi Liu (2009), Deformed Lattice Detection in Real-World Images using Mean-Shift Belief Propagation, IEEE Transaction on Pattern Analysis and Machine Intelligence (TPAMI). Vol. 31, No. 10.

Page 11: (Technical Overview & Results) – Part 1
Page 12: (Technical Overview & Results) – Part 1

12

Reflection Symmetry Detection

Page 13: (Technical Overview & Results) – Part 1

13

Reflection Symmetry Detection

Page 14: (Technical Overview & Results) – Part 1

14

Reflection Symmetry Detection

Page 15: (Technical Overview & Results) – Part 1

15

Single & Synthetic Multiple & Synthetic

Single & Real Multiple & Real

Reflection Symmetry Detection

Page 16: (Technical Overview & Results) – Part 1

16

Reflection Symmetry: Test Image Categories

Single Multiple Total

Synthetic

#Imgs #Syms #Imgs #Syms #Imgs #Syms

8 8 7 30 15 38

Real 6 6 9 22 15 28

Total 14 14 16 52 30 66

– 30 images (synthetic and real world)– Avg. image size (600x400 pixels)– 66 reflection axis– 4 categories (synthetic/real x single/multiple axis)

Page 17: (Technical Overview & Results) – Part 1

Reflection Symmetry: Groundtruth Labeling

17

Single Symmetry Axis

MultipleSymmetry Axes

HierarchicalSymmetry Axes

Page 18: (Technical Overview & Results) – Part 1

18

Reflection Symmetry: Groundtruth Labeling

• Total number of axis annotations: 66

• Manual annotation– ~10 human annotators– Images with dissagrement

not included

• Axis defined as line with start and end point– [p1, p2]

Page 19: (Technical Overview & Results) – Part 1

19

Reflection Symmetry: Groundtruth Labeling

• Groundtruth labeling can be ambiguous

– What constitutes a valid groundtruth?• Application/Intend• Individual Annotator

– What causes ambiguity?• Scale/Hierarchy• Tolerance for shape similarity• Many other factors

Page 20: (Technical Overview & Results) – Part 1

20

Groundtruth Labeling Ambiguity

• Hierarchical reflection symmetries– Local versus global reflection symmetry

• Reflection symmetry is defined wrt a set of points S, normally S = all image pixels

Page 21: (Technical Overview & Results) – Part 1

21

Groundtruth Labeling Ambiguity

• Hierarchical reflection symmetries– Local versus global reflection symmetry

• Reflection symmetry is defined wrt a set of points S, normally S = all image pixels

• In practice, only subsets S’ of S are considered

Page 22: (Technical Overview & Results) – Part 1

22

Groundtruth Labeling Ambiguity

• Hierarchical reflection symmetries– Local versus global reflection symmetry

• Depends on support region• By definition should extend to infinity• In practice, some tolerance is expected

Page 23: (Technical Overview & Results) – Part 1

24

Groundtruth Labeling Ambiguity

• Shape Ambiguity

???

Page 24: (Technical Overview & Results) – Part 1

26

Groundtruth Labeling

• Current treatment of ambiguous groundtruth– Not all scales/hierarchies labeled as groundtruth

• Subjective• Needs more investigation

– Some local reflection symmetries labeled as “dismissed groundtruth”

• Support region smaller than main object• Ignored in this round (neither TP nor FP)• Helps to not penalize algorithms that

detect many local reflection symmetries

Page 25: (Technical Overview & Results) – Part 1

How to Evaluate Quantitatively

Page 26: (Technical Overview & Results) – Part 1

28

Reflection Symmetry: Evaluation Metric

– For each detection result R measure• angle θ with ground-truth axis GT, • distance d to ground-truth axis GT

(from center to center)

– Correct detection if• |θ| < 10°• d < 20% of ground-truth-axis-length.

– Multiple valid detection results (R1,R2) can be clustered

• avoids over-counting of false positives

– Support Region not considered

θ

d

GT

R

Page 27: (Technical Overview & Results) – Part 1

29

Reflection Symmetry: Evaluation Metric

• Example:– 2 true reflection axis (GT1 and GT2 in red)– 3 detection results (R1, R2, R3 in blue)

– GT=2; – TP=1 (R1+R2 -> GT1)– FP=1 (R3)– FN=1 (GT2)

Page 28: (Technical Overview & Results) – Part 1

30

Reflection Symmetry: Evaluation Score

• We use precision and recall to judge algorithm performance

• In terms of Type I and Type II errors

TP = True Positives, FN = False NegativesFP = False Positives

Precision = TP / (TP + FP)

Recall = TP / (TP + FN)

Page 29: (Technical Overview & Results) – Part 1

Reflection Symmetry: Results & Comparison

Page 30: (Technical Overview & Results) – Part 1

Reflection Symmetry: Results & Comparison

• Algorithms:– Mo and Draper– Kondra and Petrosino– Gareth Loy and Jan-Olof Eklundh

(baseline)

Page 31: (Technical Overview & Results) – Part 1

33

GroundtruthKondra and Petrosino

Mo and Draper Loy and Eklundh

Sample Results: Synthetic Images

Page 32: (Technical Overview & Results) – Part 1

34

Sample Results: Real Images

GroundtruthKondra and Petrosino

Mo and Draper Loy and Eklundh

Page 33: (Technical Overview & Results) – Part 1

35

Sample Results: Single Reflection Axis & Synthetic Images

GroundtruthKondra and Petrosino

Mo and Draper Loy and Eklundh

Page 34: (Technical Overview & Results) – Part 1

36

Sample Results: Single Reflection Axis & Synthetic Images

GroundtruthKondra and Petrosino

Mo and Draper Loy and Eklundh

Page 35: (Technical Overview & Results) – Part 1

37

Sample Results: Multiple Reflection Axis & Synthetic Images

GroundtruthKondra and Petrosino

Mo and Draper Loy and Eklundh

Page 36: (Technical Overview & Results) – Part 1

38

Sample Results: Multiple Reflection Axis & Real Images

GroundtruthKondra and Petrosino

Mo and Draper Loy and Eklundh

Page 37: (Technical Overview & Results) – Part 1

39

Reflection Symmetry: Performance by Category

Page 38: (Technical Overview & Results) – Part 1

Reflection Symmetry: Computational Performance

Average Execution Time

15.6

3.8

0.97

0

2

4

6

8

10

12

14

16

18

seconds / image

Kondra and Petrosino

Mo and Draper

Loy and Eklundh

performed on a Windows Vista 64bit machine with an i7, 2.67G cpu (8 core), 6GB ram and used Matlab R2008b

Page 39: (Technical Overview & Results) – Part 1

44

Page 40: (Technical Overview & Results) – Part 1

45

Rotation Symmetry

Page 41: (Technical Overview & Results) – Part 1

46

Rotation Symmetry - Dataset

Page 42: (Technical Overview & Results) – Part 1

47

Rotation Symmetry - Dataset

Page 43: (Technical Overview & Results) – Part 1

48

Single & Discrete Single & Continuous Single & Deformed

Multiple & Discrete Single & Continuous Multiple & Deformed

Rotation Symmetry - Dataset

Page 44: (Technical Overview & Results) – Part 1

49

Rotation Symmetry: Test Categories

Single Multiple Total

Discrete

#Imgs #Syms #Imgs #Syms #Imgs #Syms

11 11 3 16 14 27

Continuous 10 10 5 25 15 35

Deformed 7 7 4 12 11 19

Total 28 28 12 53 40 81

• Number of Images: 40• Avg. image size: (200x180)

Page 45: (Technical Overview & Results) – Part 1

50

Rotation Symmetry: Groundtruth Labeling

– Symmetry center• Object Center (x,y)• As perceived by a human annotator

– Support Region• Maximum, encompassing ellipse • Length of major & minor axis (a,b)• Orientation to x-axis (θ)

Page 46: (Technical Overview & Results) – Part 1

51

Rotation Symmetry: Groundtruth Labeling

• Groundtruth labeling can be ambiguous– What constitutes a valid groundtruth?

• Application/Intend• Individual Annotator

• Examples– Where is the symmetry center?– What is the radius?– M symmetries at the same place?– A symmetry has to recover a real object?

Page 47: (Technical Overview & Results) – Part 1

52

Rotation Symmetry: Ambiguous Groundtruth

• Where is the symmetry center?– Circular rot symmetries: Unique!– Distorted symmetries (affine or perspective):

Ambiguous!

Page 48: (Technical Overview & Results) – Part 1

53

Rotation Symmetry: Ambiguous Groundtruth• What is the radius of a rotation symmetry?• Can we have multiple radii per center?• How to differentiate multiple symmetries at same

center?– Type of symmetry – Number of folds

#Folds: 10

#Folds: 5

Type: continuous

Type: discrete

Page 49: (Technical Overview & Results) – Part 1

54

Rotation Symmetry: Ambiguous Groundtruth

• Symmetry Hierarchy– Within object– Single object– Among objects

• What is an object?

Page 50: (Technical Overview & Results) – Part 1

55

Rotation Symmetry: Groundtruth Labeling (contd.)

What do we do?• Annotate ambiguous symmetries to be discounted for

– False Positives– Groundtruth

• Sample Groundtruth– Valid Groundtruth (magenta)– Discounted (cyan)

Same center as real object, support region too small

Different center than real objects

Inner symmetry not a discrete symmetry

Page 51: (Technical Overview & Results) – Part 1

56

Rotation Symmetry: Evaluation Metric

Page 52: (Technical Overview & Results) – Part 1

57

Rotation Symmetry: Evaluation Metric

Correct detection if– Distance between detected center (C) and

groundtruth center (CGT) below some threshold (depended on GT radius)

– Radius (R) within some bounds of GT radius (RGT)

CGT

Cd

RGT

R

C = Detected symmetry center

R = Radius of detected symmetry support region

RGT = Radius of symmetry center (groundtruth)

CGT = Symmetry Center (groundtruth)

d = distance between symmetry centers

Page 53: (Technical Overview & Results) – Part 1

59

Rotation Symmetry: Evaluation Score

• We use precision and recall to judge algorithm performance

• In terms of Type I and Type II errors

TP = True Positives, FN = False NegativesFP = False Positives

Precision = TP / (TP + FP)

Recall = TP / (TP + FN)

Page 54: (Technical Overview & Results) – Part 1

Results and Comparison

Page 55: (Technical Overview & Results) – Part 1

Reflection Symmetry: Results & Comparison

• Algorithms:– Kim, Cho and Lee– Kondra and Petrosino– Gareth Loy and Jan-Olof Eklundh

(baseline)

Page 56: (Technical Overview & Results) – Part 1

62

Rotation Symmetry: Comparison

Groundtruth Kondra and Petrosino Kim, Cho and Lee Loy and Eklundh

Page 57: (Technical Overview & Results) – Part 1

63

Rotation Symmetry: Comparison

Groundtruth Kondra and Petrosino Kim, Cho and Lee Loy and Eklundh

Page 58: (Technical Overview & Results) – Part 1

64

Rotation Symmetry: Comparison

Groundtruth Kondra and Petrosino Kim, Cho and Lee Loy and Eklundh

Page 59: (Technical Overview & Results) – Part 1

65

Rotation Symmetry: Single vs. Multiple Symmetries

Groundtruth Kondra and Petrosino Kim, Cho and Lee Loy and Eklundh

Page 60: (Technical Overview & Results) – Part 1

66

Rotation Symmetry: Single vs. Multiple Symmetries

Groundtruth Kondra and Petrosino Kim, Cho and Lee Loy and Eklundh

Page 61: (Technical Overview & Results) – Part 1

67

Rotation Symmetry: Discrete vs. Continuous

Groundtruth Kondra and Petrosino Kim, Cho and Lee Loy and Eklundh

Page 62: (Technical Overview & Results) – Part 1

68

Groundtruth Kondra and Petrosino Kim, Cho and Lee Loy and Eklundh

Rotation Symmetry: Discrete vs. Continuous

Page 63: (Technical Overview & Results) – Part 1

69

Rotation Symmetry: Overall Results (Recall)

Page 64: (Technical Overview & Results) – Part 1

72

Rotation Symmetry: Quantitative Results

Average Execution Time

6.9

68.2

5.9

01020304050607080

seconds / image

Kondra and PetrosinoKim, Cho and LeeLoy and Eklund

Page 65: (Technical Overview & Results) – Part 1

76

Other Observations

– Kondra and Peterson• Sensitive to affine distortion • Many false positives• 12 test images produced no results

– Kim, Cho and Lee• Difficulties with smooth contours, low contrast

(SIFT keys to blame?)• 6 test images produced abnormal program

termination • 18 test images produced no results

Page 66: (Technical Overview & Results) – Part 1

The End