Unsupervised Image Segmentation Using Comparative Reasoning and Random Walks
Anuva Kulkarni Carnegie Mellon University Filipe Condessa Carnegie Mellon, IST-University of Lisbon Jelena Kovacevic Carnegie Mellon University
1
Unsupervised Image Segmentation Using Comparative Reasoning and - - PowerPoint PPT Presentation
Unsupervised Image Segmentation Using Comparative Reasoning and Random Walks Anuva Kulkarni Carnegie Mellon University Filipe Condessa Carnegie Mellon, IST-University of Lisbon Carnegie Mellon University Jelena Kovacevic 1 Outline
1
2
3
4
0111 Value Key/ Hash code Hash function
Hash value Data 001 010 011 100 Bird_type1 Bird_type2 Dog_type1 Fox_type1 Hash table
5
Hash code Input data
6
Images from https://upload.wikimedia.org/wikipedia/commons/3/32/House_sparrow04.jpg Wikipedia www.weknowyourdreams.com
1110 0110 0111 0001 Color features
computed Image Similar features hashed into same groups
7
8
2 3 1 1001 1011 1111 0111 0001 0000 1000 0110 0011 0100
9
10
13 4 2 11 5 3 3 1 5 2 6 4 2 13 5 4 3 11 44 1 15 90 6 5 12 5 3 10 4 2
feature 1 feature 2 feature 3
1 90 44 5 15 6 3 12 4 5 2 10
Permute with θ Permutation vector θ Step 1
11
13 4 2 11 5 3 3 1 5 2 6 4 2 13 5 4 3 11 44 1 15 90 6 5 12 5 3 10 4 2
feature 1 feature 2 feature 3
1 90 44 5 15 6 3 12 4 5 2 10
Permute with θ
2 13 5 4 3 11 44 1 15 90 6 5 3 12 4 5 2 10
Choose first K entries Permutation vector θ Step 1 Step 2
12
13 4 2 11 5 3 3 1 5 2 6 4 2 13 5 4 3 11 44 1 15 90 6 5 12 5 3 10 4 2
feature 1 feature 2 feature 3
1 90 44 5 15 6 3 12 4 5 2 10
Permute with θ
2 13 5 4 3 11 44 1 15 90 6 5 3 12 4 5 2 10
Choose first K entries
2 13 5 4 3 11 44 1 15 90 6 5 3 12 4 5 2 10
Hash code is index
h=2 h=2 h=1 Permutation vector θ Step 1 Step 2 Step 3
13
13 4 2 11 5 3 3 1 5 2 6 4 2 13 5 4 3 11 44 1 15 90 6 5 12 5 3 10 4 2
feature 1 feature 2 feature 3
1 90 44 5 15 6 3 12 4 5 2 10
Permute with θ
2 13 5 4 3 11 44 1 15 90 6 5 3 12 4 5 2 10
Choose first K entries
2 13 5 4 3 11 44 1 15 90 6 5 3 12 4 5 2 10
Hash code is index
h=2 h=2 h=1 Permutation vector θ Feature 1 and Feature 2 are similar Step 1 Step 2 Step 3
14
2 2 2 1 1 1 1 +1V
0.05V 0.16V
15
Input image Random projections WTA hash
Transform to
graph with (Nodes, Edges)
Similarity Search Block I Block II
Segmented
selection
Stop?
Probabilities from RW algo. Yes No
RW Algorithm Block III
16
Input image Random projections WTA hash
Transform to
graph with (Nodes, Edges)
Similarity Search Block I Block II
Segmented
selection
Stop?
Probabilities from RW algo. Yes No
RW Algorithm Block III
17
Image = R PQ P Q d PQ d
vectorize Random projections
18
Image = R PQ Each point has R features PQ P Q d PQ d
vectorize Random projections
01 11
Run WTA hash. W for each point in the image K=3 Hence possible values
are 00, 01, 11 Repeat this N times to get PQ x N matrix of hash codes
19
Input image Random projections WTA hash
Transform to
graph with (Nodes, Edges)
Similarity Search Block I Block II
Segmented
selection
Stop?
Probabilities from RW algo. Yes No
RW Algorithm Block III
20
21
Input image Random projections WTA hash
Transform to
graph with (Nodes, Edges)
Similarity Search Block I Block II
Segmented
selection
Stop?
Probabilities from RW algo. Yes No
RW Algorithm Block III
22
=1
=10
=100
23
24
25
26
Automatically Picked seeds
27
28
*C. Fowlkes, D. Martin, and J. Malik, “Learning affinity functions for image segmentation: Combining patch-based and gradient-based approaches,” vol. 2, pp. II–54, IEEE, 2003.
29
Method Human RAD Seed
Learned Affinity Mean Shift Normalized cuts
GCE 0.080 0.205 0.209 0.214 0.260 0.336 **E. Vazquez, J. Van De Weijer, and R. Baldrich, “Image segmentation in the presence of shadows and highlights,”
30
31