Mean-Field Theory and Its Applications In Computer Vision2
1
Problem Formulation
2
Grid CRF
construction
Grid CRF leads to over smoothing around boundariesDense CRF is able to recover fine boundaries
Dense CRF construction
Long Range Interaction
3
• Able to recover proper flow for objects• Teddy arms recovered using Global interaction
image Local interaction Global interaction Ground truth
Optical flow
Marginal Update
4
• Marginal Update for large neighbourhood:
Very Expensive Step (O(n2))
Inference in Dense CRF
5
• Time complexity increases• Neighbourhood size• MCMC takes 36 hours on 50K variables• Graph-cuts based algorithm takes hours
Inference in Dense CRF
6
• Time complexity increases• Neighbourhood size• MCMC takes 36 hours on 50K variables• Graph-cuts based algorithm takes hours
• Not practical for vision applications
Inference in Dense CRF
7
• Time complexity increases• Neighbourhood size• MCMC takes 36 hours on 50K variables• Graph-cuts based algorithm takes hours• Filter-based Mean-field Inference takes 0.2 secs
• Possibility of development of many exciting vision applications
Efficient inference
8
• Assume Gaussian pairwise weight
Label compatibility function
Efficient inference
9
• Assume Gaussian pairwise weight
Mixture of Gaussians
Bilateral Spatial
Bilateral filter
10
pp
output input
pp
reproducedfrom [Durand 02]
S
IIIGGW
IBFq
qqpp
p qp ||||||1
][rs
output input
Marginal update
11
• Assume Gaussian pairwise weight
How does it work
12
Very Expensive Step (O(n2))
Message passing from all Xj to all Xi
13
Accumulates weights from all other pixels except itself
Message passing from all Xj to all Xi
14
Convert as Gaussian filtering step: Accumulate weights from all other pixels except itself
Message passing from all Xj to all Xi
15
Convert as Gaussian filtering step: Accumulate weights from all other pixels except itself
Efficient filtering steps
16
Now discuss how to do efficient filtering step
Top Related