shape co-analysisdcor/graphics/pdf.slides/co-analysis.pdf · siggraph asia 2012. active co-analysis...

96
Shape Co-analysis Daniel Cohen-Or Tel-Aviv University 1

Upload: others

Post on 16-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Shape Co-analysis

Daniel Cohen-Or

Tel-Aviv University

1

Page 2: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

High-level Shape analysis

2

Shape abstraction

[Mitra et al. 10]

[Mehra et al. 08] [Fu et al. 08]

Upright orientation

Illustrating assemblies

[Wang et al. 11]

Symmetry hierarchy

Learning segmentation

[Kalograkis et al. 10]

Exploration of shape

collections

[Kim et al. 12]

Page 3: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Segmentation and Correspondence

3

Segmentation Correspondence

Page 4: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Individual vs. Co-segmentation

4

Page 5: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Individual vs. Co-segmentation

5

Page 6: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Challenge

6

Similar geometries can be associated with different semantics

Page 7: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Challenge

7

Similar semantics can be represented by different geometries

Page 8: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Large set are more challenging

8

Methods do not give perfect results

Page 9: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Related works

• Supervised segmentation

9

Labeled shape

Head

Nec

k Torso

Leg

Tail

Ear

Input

shape

Training shapes

[Kalogerakis et al.10, van Kaick et al. 11]

Page 10: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

[Xu et al.10]

[Golovinskiy and Funkhouser 09]

Related Work • Geometry-based unsupervised co-segmentation

10

Page 11: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

11

[Sidi et al.11]

Descriptor-based unsupervised co-

segmentation

Page 12: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features

• Semi-Supervised (constrained) Clustering

• How to incorporate user-given constraints in order to improve the results of a clustering algorithm?

• Embed constraints into the data as “extra features”

Page 13: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering (basic stuff)

• Clustering:

– Takes a set of points:

Page 14: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Clustering:

– Takes a set of points,

– And groups them into several separate clusters:

Page 15: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Difficulties in Clustering:

– Clean separation to groups not always possible

– Must make “hard splitting” decisions

– Number of groups not always known, or can be very difficult to determine from data

Page 16: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Example of difficulties:

– Given a set of points

Page 17: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Example of difficulties:

– Hard to determine number of clusters

Page 18: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Example of difficulties:

– Hard to determine number of clusters

Page 19: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Example of difficulties:

– Hard to decide where to split clusters

Page 20: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Example of difficulties:

– Hard to decide where to split clusters

Page 21: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Two general types of input for Clustering:

– Spatial Coordinates (points, feature space), or

– Inter-object Distance matrix

Page 22: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Two general types of input for Clustering:

– Spatial Coordinates (points, feature space), or

– Inter-object Distance matrix

Page 23: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Easy to extract distance matrices from feature spaces:

– Just calculate distances between points

Page 24: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Much harder to extract a feature space from a distance matrix:

– Requires embedding method (like MDS)

?

Page 25: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Popular clustering algorithms:

– K-Means, EM, Mean-Shift

Page 26: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Popular clustering algorithms:

– Linkage, DBSCAN, Spectral Clustering

Page 27: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Underlying assumptions behind all clustering algorithms:

– Points represent some kind of objects.

Page 28: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Underlying assumptions behind all clustering algorithms:

– Neighboring points imply similar objects.

Page 29: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Underlying assumptions behind all clustering algorithms:

– Distant points imply dissimilar objects.

Page 30: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• When these assumptions hold, clustering algorithms are expected to work well:

– Clustering makes sense, objects grouped properly

Page 31: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• When assumptions fail, result is not useful:

– Similar objects are distant in feature space

Page 32: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• When assumptions fail, result is not useful:

– Dissimilar objects are close in feature space

Page 33: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Clustering

• Assumptions might fail because:

– Data is difficult to analyze

– Similarity/Dissimilarity of data not well defined

– Feature space is insufficient or distorted

Page 34: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Supervised Clustering

• Supervised clustering used to improve clustering results.

– Takes training set of labeled data (pre-clustered)

Page 35: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Supervised Clustering

• Supervised clustering used to improve clustering results.

– Infer from learned information to a test set of unlabelled data.

• (Hopefully, overcoming possible failures of unsupervised clustering)

Page 36: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Supervised Clustering

• Some supervised clustering methods:

– SVM (Support Vector Machine) and variants

– Distance Metric Learning (many algorithms)

Page 37: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Semi-Supervised Clustering

• Supervision as pair-wise constraints:

– Must Link and Cannot-Link

Can’t Link

Must Link

Page 38: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Semi-Supervised Clustering

• Cluster data while respecting constraints

Page 39: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Semi-Supervised Clustering

• Many Semi-Supervised methods:

– Modifications to clustering methods

– Distance Metric Learning

– Data/Affinity Modification

Page 40: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Learning from labeled

and unlabeled data

44

Page 41: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Supervised learning

45

Page 42: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Unsupervised learning

46

Page 43: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Semi-supervised learning

47

Page 44: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constrained clustering

48

Cannot Link Must Link

Page 45: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Active Co-Analysis of a Set of Shapes

(Yunhai Wang, Oliver van Kaick, Baoquan Chen, Hao Zhang, Shmuel Asafi, Danny Cohen-Or)

)

Page 46: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Active Co-analysis of a Set of Shapes SIGGRAPH ASIA 2012

Page 47: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Active Co-Analysis

• A semi-supervised method for co-segmentation with minimal user input

51

Page 48: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Automatically suggest the user which constraints can be effective

Initial Co-

segmentation

Constrained Clustering

Final result Active Learning

52

Page 49: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Initial co-segmentation • Over-segmentation mapped to a descriptor

space (geodesic distance, shape diameter function, normal histogram)

53 High-dimensional feature space

Page 50: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Initial co-segmentation

• Diffusion map clustering [Sidi et al. 2011]

54

Page 51: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constrained clustering

Initial Co-segmentation Constrained Clustering

Final result Active Learning

55

Page 52: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Cannot Link

Must Link

Constrained Clustering

59

Page 53: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constrained Clustering

Spring embedding K-mean clustering

60

Page 54: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constrained Clustering

• Employ a Spring System to modify data according to Must-Link & Cannot-Link constraints.

Can’t Link

Must Link

Page 55: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Spring System

• A spring system is used to re-embed all the points in the feature space, so the result of clustering will satisfy constraints.

Page 56: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Spring System

• Result of clustering after re-embedding (mistakes marked with circle):

Result of Spring Re-embedding and Clustering Ground Truth

Page 57: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Spring System

• The Spring System models a set of springs attached to the nodes in the feature space.

• When a spring is stretched or squeezed it exerts force on the nodes it’s attached to.

• When it’s relaxed – it exerts no force.

Hooke’s Law

Page 58: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Spring System

Neighbor Spring

Must-Link Can’t Link

Random Springs

Page 59: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically
Page 60: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

70

Constrained clustering &

Co-segmentation

Page 61: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Defining Constraints

Page 62: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

72

Page 63: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Active Learning

Initial Co-segmentation Constrained Clustering

Final result Active Learning

73

Page 64: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Uncertain points • “Uncertain” points are located using the

Silhouette Index:

Darker points have lower confidence

74

Page 65: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Silhouette Index

• Silhouette Index of node x:

75

Page 66: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraint Suggestion

• Pick super-faces with lowest confidence

?

• Pick the highest confidence super-faces

• Ask the user to add constraints between such pairs

76

Page 67: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

77

Page 68: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Results

• Eleven sets of shapes

78

Page 69: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Candelabra: 28 shapes, 164

super-faces,24 constraints

79

Page 70: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Fourleg: 20 shapes, 264

super-faces,69 constraints

80

Page 71: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Tele-alien: 200 shapes, 1869

super-faces,106 constraints

81

Page 72: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Vase: 300 shapes, 1527

super-faces,44 constraints

82

Page 73: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Second Work

Page 74: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Cannot-Link Springs

Page 75: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features

• Goal: Modify data so distances fit constraints

• Basic idea: – Convert constraints into extra-features that are

added to the data (augmentation)

– Recalculate the distances

– Unconstrained clustering of the modified data

– Clustering result more likely to satisfy constraints

• Apply this idea to Cannot-Link constraints

• Must-Link constraints handled differently

Page 76: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Must-Link Constraints

Must Link

Modify distance to small value, and restore triangle-inequality by updating all other distances to make all distances consistent.

Page 77: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Cannot-link Constraints

• Points should be distant.

• What value should be given: D(c1, c2) = X ?

– Should relate to max(D(x, y)), but how?

• If modified, how to restore triangle-inequality?

Page 78: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features

• Solution:

– Add extra-dimension, where Cannot-Link pair is far away (±1):

Page 79: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features

• Solution:

– Add extra-dimension, where Cannot-Link pair is far away (±1):

– What values should other points be given?

Page 80: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features

• Values of other points:

– Points closer to c1 should have values closer to +1,

– Points closer to c2 should have values closer to -1

• Formulation:

• Simple distance does not convey real closeness.

Page 81: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features

• Point A should be “closer” to c1, despite smaller Euclidean distance.

A

c1

c2

A

Page 82: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features

• Use a Diffusion Map, where this holds true.

A

c1

c2

A

Page 83: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features

• Diffusion Maps related to random walk process on a graph

• Affinity Matrix:

• Eigen-Analysis of normalized A forms a Diffusion Map:

Page 84: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features

• Use Diffusion Map distances:

• Calculate value of each point in new dimension:

Page 85: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features

• Create new distance matrix, of distances in the new extra dimension:

• Add distance matrix per Cannot-Link:

• Cluster data by modified distance matrix

Page 86: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features

Original Springs Features

Page 87: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Constraints as Features!!!

Unconstrained clustering of the modified data

Page 88: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Results – UCI (CVPR 2013)

Page 89: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Results – Image Segmentation

• We tested our method on ALL the 117 images from the Berkeley Segmentation Dataset (BSD) that have 4 or less separate segments.

• Each image over-segmented to 300 super-pixels.

• Feature space is naïve and simple: – 5 dimensions

– (X, Y, R, G, B)

– Average super-pixel color

Page 90: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Results – Image Segmentation

Page 91: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Results – Image Segmentation

Page 92: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Results – Image Segmentation

Page 93: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Summary

• A new semi-supervised clustering method.

• Constraints are embedded into the data, reducing the problem to an unconstrained setting.

• Constraints are not guaranteed to be satisfied.

• Optimal weighting of constraints relative to original data remains an open problem.

Page 94: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Limitations

• Convergence

• The active learning is limited to silhouette

indices

• Prior errors introduced by the selected

descriptors

108

Page 95: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Future Work

• Constrained clustering

• Design of new types of constraints

109

• Constraints suggestion

Page 96: Shape Co-analysisdcor/Graphics/pdf.slides/co-analysis.pdf · SIGGRAPH ASIA 2012. Active Co-Analysis •A semi-supervised method for co-segmentation with minimal user input 51 . Automatically

Thank you!

110