Unsupervised Image Segmentation Using Comparative Reasoning and Random Walks
Anuva Kulkarni Carnegie Mellon University Filipe Condessa Carnegie Mellon, IST-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-Lisbon Jelena Kovacevic Carnegie Mellon University 1 Outline Motivation
1
2
3
Hash value Data 001 010 011 100 Bird_type1 Bird_type2 Dog_type1 Fox_type1 Hash table
4
Hash code Input data
5
6
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
12 5 1 33 7 15 7 1 5 33 12 15 33 7 15 12 5 1 5 12 7 1 15 33 7 15 12 1 33 5
16
Pick first K entries
7 1 5 33 12 15 33 7 15 12 5 1 5 12 7 1 15 33 7 15 12 1 33 5
Pick first K entries K=3
12 5 1 33 7 15
17
12 5 1 33 7 15
maximum out of the K entries
7 1 5 33 12 15 33 7 15 12 5 1 5 12 7 1 15 33 7 15 12 1 33 5
h=01 h=01 h=10 h=10
18
12 5 1 33 7 15
maximum out of the K entries
7 1 5 33 12 15 33 7 15 12 5 1 5 12 7 1 15 33 7 15 12 1 33 5
h=01 h=01 h=10 h=10
Input image Segmented
Random projections WTA hash
Transform to
graph with (Nodes, Edges)
selection
Stop?
Probabilities from RW algo. Yes No
Similarity Search RW Algorithm Block I Block II Block III
19
20
vectorize Random projections
21
Image = R PQ Each point has R features PQ P Q d PQ d
vectorize Random projections
01 11
are 00, 01, 11 Repeat this N times to get PQ x N matrix of hash codes PQ N
22
dH (i, j) = avg. Hamming distance over all N hash codes of nodes i and j γ = Scaling factor β = Weight parameter for RW algorithm
23
=1
!!, ! =
=10
!!, ! =
=100
24
25
!!
!!! ! !!"!
!!!!!
!! !!!"! !!!!!
!! = number!of!samples!in!!th!class!excluding!the!!th!sample
26
!!
! ! !! = !|!!!!, ! = !! !!!!!,!!!!!!∀!, !! !! > 0
!!"!→!
!
!! = 0
27
28
Automatically Picked seeds
29
30
*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.
31
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,”
32