markov nets

30
Markov Nets Dhruv Batra, 10-708 Recitation 10/30/2008

Upload: nuri

Post on 15-Feb-2016

73 views

Category:

Documents


0 download

DESCRIPTION

Markov Nets. Dhruv Batra , 10-708 Recitation 10 /30/ 2008. Contents. MRFs Semantics / Comparisons with BNs Applications to vision HW4 implementation. Semantics. Bayes Nets. Semantics. Markov Nets. Semantics. Decomposition Bayes Nets Markov Nets. Semantics. Factorization - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Markov Nets

Markov Nets

Dhruv Batra,10-708 Recitation

10/30/2008

Page 2: Markov Nets

Contents• MRFs

– Semantics / Comparisons with BNs– Applications to vision– HW4 implementation

Page 3: Markov Nets

Semantics• Bayes Nets

Page 4: Markov Nets

Semantics• Markov Nets

Page 5: Markov Nets

Semantics• Decomposition

– Bayes Nets

– Markov Nets

Page 6: Markov Nets

Semantics• Factorization

• What happens in BNs?

Page 7: Markov Nets
Page 8: Markov Nets

Semantics• Active Trails in MNs

• What happens in BNs?

Page 9: Markov Nets

Semantics• Independence Assumptions

Markov Nets Bayes Nets

Global Ind Assumption, d-sep

Local Ind Assumptions

MarkovBlanket

Page 10: Markov Nets

10-708 – Carlos Guestrin 2006-2008 10

Representation Theorem for Markov Networks

If H is an I-map for P

and

P is a positive distribution

Then

Then H is an I-map for PIf joint probability

distribution P:

joint probability distribution P:

Page 11: Markov Nets

Semantics• Factorization

• Energy functions

• Equivalent representation

Page 12: Markov Nets

Semantics• Log Linear Models

Page 13: Markov Nets

Semantics• Energies in pairwise MRFs

• What is encoded on nodes and edges?

Page 14: Markov Nets

Semantics• Priors on edges

– Ising Prior / Potts Model– Metric MRFs

Page 15: Markov Nets
Page 16: Markov Nets

Metric MRFs• Energies in pairwise MRFs

Page 17: Markov Nets

Applications in Vision• Image Labelling tasks

– Denoising– Stereo– Segmentation, Object Recognition– Geometry Estimation

Page 18: Markov Nets

MRF nodes as pixels

Winkler, 1995, p. 32

Page 19: Markov Nets

MRF nodes as patches

image patches

F(xi, yi)

Y(xi, xj)

image

scene

scene patches

Page 20: Markov Nets

Network joint probability

sceneimage

Scene-scene

compatibility

function neighboring

scene nodes

local

observations

Image-scene

compatibility

function

ÕÕ FY=i

iiji

ji yxxxZ

yxP ),(),(1),(,

Page 21: Markov Nets

Application• Motion Estimation

Page 22: Markov Nets

Stereo

Page 23: Markov Nets

Geometry Estimation

Page 24: Markov Nets

Geometry Estimation

Page 25: Markov Nets

HW4• Interactive Image Segmentation

Page 26: Markov Nets

HW4• Pairwise MRF

Page 27: Markov Nets

HW4

Page 28: Markov Nets

HW4• Step 1: GMMs

• Step 2: Adjacency matrix / MRF Structure

• Step 3: MRF parameters

• Step 4: Loopy BP

• Step 5: Segmentation Masks

Page 29: Markov Nets

Slide Credits• Bill Freeman, Fredo Durand, Lecture at MIT

– http://groups.csail.mit.edu/graphics/classes/CompPhoto06/html/lecturenotes/2006March21MRF.ppt

• Charles A. Bouman– https://engineering.purdue.edu/~bouman/ece641/mrf_tutorial/view.pd

f

• Fast Approximate Energy Minimization via Graph Cuts, Yuri Boykov, Olga Veksler and Ramin Zabih. IEEE PAMI 23(11), November 2001.

• Make3D: Learning 3-D Scene Structure from a Single Still Image, Ashutosh Saxena, Min Sun, Andrew Y. Ng, To appear in IEEE PAMI 2008

Page 30: Markov Nets

Questions?