12
Markov Random Fields for Edge Classification Grant Schindler CS 7636 Final Project

Markov Random Fields for Edge Classification

  • Upload
    terrel

  • View
    61

  • Download
    0

Embed Size (px)

DESCRIPTION

Markov Random Fields for Edge Classification. Grant Schindler CS 7636 Final Project. Problem: Edge Classification. Given vanishing points of a scene, classify each pixel according to vanishing direction. MAP Edge Classifications. Red: VP1 Green: VP2 Blue: VP3 Gray: Other White: Off. - PowerPoint PPT Presentation

Citation preview

Page 1: Markov Random Fields for Edge Classification

Markov Random Fields for Edge Classification

Grant Schindler

CS 7636 Final Project

Page 2: Markov Random Fields for Edge Classification

Problem: Edge Classification

Given vanishing points of a scene, classify each pixel according to vanishing direction

Page 3: Markov Random Fields for Edge Classification

MAP Edge Classifications

Red: VP1 Green: VP2 Blue: VP3 Gray: Other White: Off

Page 4: Markov Random Fields for Edge Classification

Bayesian Model

p(M | G,V) = p(G | M,V) p(M) / ZM = classifications, G = gradient magnitude/direction, V = vanishing points

Prior: p(m)

Likelihood: p(g | m,V)

Independent Prior MRF Prior

m

g

Page 5: Markov Random Fields for Edge Classification

Classifications w/MRF Prior

Gibbs sampling over 4-neighbor lattice w/ clique potentials defined as: A if i=j, B if i <> j

Page 6: Markov Random Fields for Edge Classification

Gibbs Sampling & MRFs

Gibbs sampling approximates posterior distribution over classifications at each site (by iterating and accumulating statistics)

Sample from distribution over labels for one site conditioned on all other sites in its Markov blanket

Page 7: Markov Random Fields for Edge Classification

Directional MRF

Give more weight to potentials of neighbors which lie along the vanishing direction of current model

vp

Page 8: Markov Random Fields for Edge Classification

Original Image

Page 9: Markov Random Fields for Edge Classification

Independent Prior

Page 10: Markov Random Fields for Edge Classification

MRF Prior

Page 11: Markov Random Fields for Edge Classification

Directional MRF Prior

Page 12: Markov Random Fields for Edge Classification

Conclusion, Discussion

• This is really the E-Step of an EM process that alternates between edge classification and vanishing point estimation - will MRFs improve the vanishing point estimates?

• Questions?