Labeling Problem & Graph-Based Solution

Similar documents
Image Modeling & Segmentation

Jonathan Turner Exam 2-10/28/03

Mathcad Lecture #4 In-class Worksheet Vectors and Matrices 1 (Basics)

CSC 373: Algorithm Design and Analysis Lecture 9

Combinatorial Optimization

Graphs: Paths, trees and flows

CS 541 Algorithms and Programs. Exam 2 Solutions. Jonathan Turner 11/8/01

Shortest Paths. CSE 421 Algorithms. Bottleneck Shortest Path. Negative Cost Edge Preview. Compute the bottleneck shortest paths

Library Support. Netlist Conditioning. Observe Point Assessment. Vector Generation/Simulation. Vector Compression. Vector Writing

Design and Analysis of Algorithms (Autumn 2017)

Final Exam : Solutions

Maximum Flow. Flow Graph

Jonathan Turner Exam 2-12/4/03

CSE 421 Algorithms. Warmup. Dijkstra s Algorithm. Single Source Shortest Path Problem. Construct Shortest Path Tree from s

Instructors Solution for Assignment 3 Chapter 3: Time Domain Analysis of LTIC Systems

Graduate Algorithms CS F-18 Flow Networks

Solutions to assignment 3

Pupil / Class Record We can assume a word has been learned when it has been either tested or used correctly at least three times.

Statistics Assessing Normality Gary W. Oehlert School of Statistics 313B Ford Hall

P a g e 5 1 of R e p o r t P B 4 / 0 9

Ma/CS 6a Class 15: Flows and Bipartite Graphs

FL/VAL ~RA1::1. Professor INTERVI of. Professor It Fr recru. sor Social,, first of all, was. Sys SDC? Yes, as a. was a. assumee.

Advanced Engineering Mathematics, K.A. Stroud, Dexter J. Booth Engineering Mathematics, H.K. Dass Higher Engineering Mathematics, Dr. B.S.

EE Control Systems LECTURE 11

CSE 373: More on graphs; DFS and BFS. Michael Lee Wednesday, Feb 14, 2018

1 Finite Automata and Regular Expressions

Global Solutions of the SKT Model in Population Dynamics

Right Angle Trigonometry

Single Correct Type. cos z + k, then the value of k equals. dx = 2 dz. (a) 1 (b) 0 (c)1 (d) 2 (code-v2t3paq10) l (c) ( l ) x.

Weighted graphs -- reminder. Data Structures LECTURE 15. Shortest paths algorithms. Example: weighted graph. Two basic properties of shortest paths

CS3510 Design & Analysis of Algorithms Fall 2017 Section A. Test 3 Solutions. Instructor: Richard Peng In class, Wednesday, Nov 15, 2017

1 The Network Flow Problem

3+<6,&6([DP. September 29, SID (last 5 digits): --

RUTH. land_of_israel: the *country *which God gave to his people in the *Old_Testament. [*map # 2]

Optimality of Myopic Policy for a Class of Monotone Affine Restless Multi-Armed Bandit

, each of which is a tree, and whose roots r 1. , respectively, are children of r. Data Structures & File Management

Trigonometric Formula

UNIT I FOURIER SERIES T

CSE 245: Computer Aided Circuit Simulation and Verification

Math 266, Practice Midterm Exam 2

Overview. Splay trees. Balanced binary search trees. Inge Li Gørtz. Self-adjusting BST (Sleator-Tarjan 1983).

Seven-Segment Display Driver

Bipartite Matching. Matching. Bipartite Matching. Maxflow Formulation

T h e C S E T I P r o j e c t

Why the Junction Tree Algorithm? The Junction Tree Algorithm. Clique Potential Representation. Overview. Chris Williams 1.

Solutions for HW11. Exercise 34. (a) Use the recurrence relation t(g) = t(g e) + t(g/e) to count the number of spanning trees of v 1

Opening. Monster Guard. Grades 1-3. Teacher s Guide

Digital Signal Processing. Digital Signal Processing READING ASSIGNMENTS. License Info for SPFirst Slides. Fourier Transform LECTURE OBJECTIVES

1. Introduction and notations.

ALG 5.3 Flow Algorithms:

CSC Design and Analysis of Algorithms. Example: Change-Making Problem

Minimum Squared Error

COMP108 Algorithmic Foundations

CHAPTER 9 Compressible Flow

16.512, Rocket Propulsion Prof. Manuel Martinez-Sanchez Lecture 3: Ideal Nozzle Fluid Mechanics

0 for t < 0 1 for t > 0

x, x, e are not periodic. Properties of periodic function: 1. For any integer n,

Shortest Path With Negative Weights

P a g e 3 6 of R e p o r t P B 4 / 0 9

A Study of the Solutions of the Lotka Volterra. Prey Predator System Using Perturbation. Technique

Math 3301 Homework Set 6 Solutions 10 Points. = +. The guess for the particular P ( ) ( ) ( ) ( ) ( ) ( ) ( ) cos 2 t : 4D= 2

1 Introduction to Modulo 7 Arithmetic

Constructive Geometric Constraint Solving

Minimum Squared Error

Erlkönig. t t.! t t. t t t tj "tt. tj t tj ttt!t t. e t Jt e t t t e t Jt

learning objectives learn what graphs are in mathematical terms learn how to represent graphs in computers learn about typical graph algorithms

A L A BA M A L A W R E V IE W

CSE 373. Graphs 1: Concepts, Depth/Breadth-First Search reading: Weiss Ch. 9. slides created by Marty Stepp

Algorithmic and NP-Completeness Aspects of a Total Lict Domination Number of a Graph

Section 3: Antiderivatives of Formulas

A Kalman filtering simulation

where: u: input y: output x: state vector A, B, C, D are const matrices

Distributed Algorithms for Secure Multipath Routing in Attack-Resistant Networks

Graphs. Graphs. Graphs: Basic Terminology. Directed Graphs. Dr Papalaskari 1

Flow Networks Alon Efrat Slides courtesy of Charles Leiserson with small changes by Carola Wenk. Flow networks. Flow networks CS 445

Laplace Transform. National Chiao Tung University Chun-Jen Tsai 10/19/2011

3.4 Repeated Roots; Reduction of Order

The Licking County Health Department 675 Price Rd., Newark, OH (740)

(A) 1 (B) 1 + (sin 1) (C) 1 (sin 1) (D) (sin 1) 1 (C) and g be the inverse of f. Then the value of g'(0) is. (C) a. dx (a > 0) is

OpenMx Matrices and Operators

Chapter4 Time Domain Analysis of Control System

More on FT. Lecture 10 4CT.5 3CT.3-5,7,8. BME 333 Biomedical Signals and Systems - J.Schesser

Inverse Fourier Transform. Properties of Continuous time Fourier Transform. Review. Linearity. Reading Assignment Oppenheim Sec pp.289.

Chapter 2: Evaluative Feedback

The Procedure Abstraction Part II: Symbol Tables and Activation Records

Overview. Splay trees. Balanced binary search trees. Inge Li Gørtz. Self-adjusting BST (Sleator-Tarjan 1983).

b. How many ternary words of length 23 with eight 0 s, nine 1 s and six 2 s?

ENJOY ALL OF YOUR SWEET MOMENTS NATURALLY

rank Additionally system of equation only independent atfect Gawp (A) possible ( Alb ) easily process form rang A. Proposition with Definition

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely

". :'=: "t',.4 :; :::-':7'- --,r. "c:"" --; : I :. \ 1 :;,'I ~,:-._._'.:.:1... ~~ \..,i ... ~.. ~--~ ( L ;...3L-. ' f.':... I. -.1;':'.

BASE MAP ZONING APPLICATION ENGLER TRACT KELLER, TEXAS

Outline. Circuits. Euler paths/circuits 4/25/12. Part 10. Graphs. Euler s bridge problem (Bridges of Konigsberg Problem)

LAPLACE TRANSFORMS. 1. Basic transforms

LINEAR 2 nd ORDER DIFFERENTIAL EQUATIONS WITH CONSTANT COEFFICIENTS

Trade Patterns, Production networks, and Trade and employment in the Asia-US region

Graphs. CSC 1300 Discrete Structures Villanova University. Villanova CSC Dr Papalaskari

EXERCISE - 01 CHECK YOUR GRASP

Copyright A.Milenin, 2017, AGH University of Science and Technology

Dec. 3rd Fall 2012 Dec. 31st Dec. 16th UVC International Jan 6th 2013 Dec. 22nd-Jan 6th VDP Cancun News

Transcription:

Lling Prolm & Grph-B Soluion Am M. Ali

Lling Prolm In lling Prolm w hv o i P n o ll L : rprn img ur {.g. pixl, g, img gmn,.}. Fur my hv om nurl ruur pixl r rrng in 2D rry. : rprn innii, iprii,. P L Lling prolm i mpping. W no h lling y P = 1;2;:::;ng L = l 1 ;l 2 ;:::;l k g = 1 ; 2 ;:::; n g S o ll lling i no y Simpl Exmpl: L n P L F P = 1;2;3;4g L = 5; ; 15g = ; 5; 5; 15g = 5; 5; 5; 15g = ; 5; ; 15g Th o ll lling oni o F=L 4 3 4 =81 lling 2

Lling prolm onp giv ommon noion or ivr viion prolm, uh : P = 1;2;:::;R Cg Img Sgmnion L=;255g inpu oupu Img Rorion P = 1;2;:::;R Cg L = (;;);:::;(255;255;255)g inpu oupu 3

Lling prolm onp giv ommon noion or ivr viion prolm, uh : Sro Mhing 4

Lling prolm onp giv ommon noion or ivr viion prolm, uh : Sro Mhing 5

Lling prolm onp giv ommon noion or ivr viion prolm, uh : Sro Mhing x (x, y) (x +, y) y L img Righ img P = 1;2;:::;R Cg L= min : mx g Dipriy rng Dph/ipriy mp 6

Lling prolm onp giv ommon noion or ivr viion prolm, uh : Img Mhing Shkhovov, l CVPR 7 (x, y) (x+δx, y + δy) P = 1;2;:::;R Cg inpu L=(±x min ;±y min ):(±x mx ;±y mx )g Diplmn rng Oupu Digil Tpry (Rohr l CVPR 5) inpu oupu P = 1;2;:::;n Blok g L=I S 7

Prolm Formulion Img h nurl ruur in whih pixl r rrng in 2D rry. P = 1;2;:::;ng o img pixl Nighorhoo ym N in P i h o ll nighoring pirp;qg p; q 2 P Exmpl up o h 5 h orr 5 4 3 4 5 4 2 1 2 4 3 1 p 1 3 4 2 1 2 4 5 4 3 4 5 Th nighorhoo ym ii ) p62n p ) i p2 N q hn q2 N p 1 orr nighorhoo ym N p =;;;qg N q =z;p;y;xg N r =;g z p q x y r 3 x 5 img 8

Prolm Formulion Orv Img I Ll Img L = 1;2;:::;Kg o ll. K # ll/l (.g., K=2) I=I 1 ;I 2 ;:::;I n g orv img. = 1 ; 2 ;:::; n g ll img. :P! L F o ll lling L n (.g., in hi 2 36 irn lling ) F=F 1 ;F 2 ;:::;F n g o rnom vril in on P, n i onigurion o h il F 9

Prolm Formulion F i Mrkov Rnom Fil (MRF) w.r. N i i proiliy m union P(F = ) rvi y P() ii 1. P (F = ) > or ll 2 F, 2. P (F p = p jf P pg = P pg )= P(F p = p jf N p = N p ), 3. P (F p = p jf N p = N p )ihmorllip, Poiiviy Mrkov Propry Homogniy Mrkov propry lih h lol mol? q GRF ri h propri o n img in rm o h join iriuion o ll or ll pixl, n provi glol mol or h img.

Prolm Formulion GRF provi glol mol or n img y piying h (join) proiliy iriuion P() = Z 1 xp( X V ( )); 2 C Z V C normlizing onn ll h priion union, ponil union, liqu union, ummion ovr liqu Gi nrgy o ll liqu. A liqu i o pixl in whih ll pir o pixl r muul nighor. ingl-i ponil β wo-i ponil γ 1 wo-i ponil γ 2 wo-i ponil γ 3 wo-i ponil γ 4 hr-i ponil η 1 hr-i ponil η 2 hr-i ponil η 3 hr-i ponil η 4 our-i ponil ξ 11

Prolm Formulion In h pirwi inrion mol, Gi nrgy i in in rm o liqu o iz 2 Th img i rprn y MRF wih join iriuion: X P( ) = Z 1 xp( V( p ; q )) (A) Mximum-A-Poriori (MAP) Eimion p;qg2n Th inpu img I n h ll img r ri y join Mrkov- Gi rnom il (MGRF) MGRF mol i i wihin h Byin rmwork o MAP imion o im =rgmx P(Ij)P(): 2F Th porior iriuion P(I j ) i MRF y uming h noi h pixl i inpnn (Du n Jin 89) P(I j ) = Y p2 P P(I p j p ) (B) 12

Prolm Formulion Mximum-A-Poriori (MAP) Eimion From (A) & (B) h MAP imor =rgmx 2F xp(x p2 P log(p(i p j p )) X p;qg2n V( p ; q )): Equivln o minimiz h nrgy X E() = V( p ; q ) p;qg2n X p2 P log(p(i p j p )): Fir rm xpr moohing onrin on lling. Ll vri moohly vrywhr xp h oj ounri ioninuiy. Son rm mur how muh igning ll o pixl p igr wih h orvion I p p 13

Prolm Soluion Morn nrgy minimizion mho uh : Grph u (Zih PAMI 1) Loopy Bli Propgion (LBP) (Flznzwl CVPR 4) Tr-RWigh mg ping (TRW) (Winwrigh Ino Thory 5) Quri Puo-Booln Opimizion (QPBOP) (Kolmogorov CVPR 7) Clil mho uh : Ir Coniionl Mo (ICM) (Bg 74) Simul Annling (Gmn & Gmn 84) 14

Prolm Soluion F Approxim Enrgy Minimizion vi Grph Cu Boykov, Olg, n Zih, PAMI 1 GC SA A Compriv Suy o Enrgy Minimizion Mho or Mrkov Rnom Fil Szliki, Zih, Shrin, Olg, Kolmogorov, Agrwl, Tppn, n Rohr, ECCV 6 Sro Sgmnion 15

Prolm Soluion Comprion o Enrgy Minimizion Algorihm or Highly Conn Grph, Kolmogorov n Rohr, ECCV 6 Opimizing Binry MRF vi Exn Roo Duliy Rohr, Kolmogorov, Lmpiky, Szummr, CVPR 7 16

Grph Cu 17

Grph Cu Grph Cu Bi Diniion & Noion Th wigh grph G= hv;ei V i h o vri in grph orrpon o pixl, or ohr ur. ;g (ink & our) r wo iinguih vri ll rminl. E u o pir (p;q) o lmn rom V Eg A ph i qun o g. N-link: onn pir o nighoring vri. Co/wigh: pnly or ioninuii wn vri T-link: onn vrx wih rminl. Co/wigh : pnly or igning h orrponing ll o h vrx 18

19 CVIP L Min-Cu & Mx-Flow A u i o g uh h rminl r pr in h inu grph No propr u o pr h rminl in Co o h u, no, h um o i g wigh Min-u i o in h u wih minimum o mong ll u. Min-Cu n olv y ompuing Mx-Flow wn rminl For& Fulkron 62 C½E G(C) = hv; E Ci C G(C) C j Cj g h i Cu No Cu g h i g h i g h i g h i Grph Cu g h i

Grph Cu Min-Cu =Min Cpiy= Mx-Flow 2 5 2 5 Cu Co = 7 2 5 Cu Co = 2 2 5 Cu Co =3 2

21 CVIP L Grph Cu Min-Cu & Mx-Flow Exmpl Mx low =4 3 2 1 7 5 9 8 4 8 5 3 2 1 7 5 9 8 4 8 5 Th Grph 6 3 2 1 7 5 9 4 8 1 Nw Grph 6 3 2 1 7 5 9 4 8 1 Mx low =1 5 3 2 7 4 8 4 7 1 Nw Grph 5 3 2 7 4 8 4 7 1 Mx Flow=2 3 3 7 4 6 2 5 1 Nw Grph 3 3 7 4 6 2 5 1 Mx Flow=3 3 7 1 3 2 2 1 Nw Grph 3 2 1 7 5 9 8 4 8 5 Min Cu= - Min-Cu/Mx-Flow lgorihm o Boykov & Kolmogorov 4

Grph Cu Grph u minimizion hniqu E() = X V( p ; q ) X log(p(i p j p )): p;qg2n p2 P Evry pixl rprn vrx in h grph. N-link (p;q) wigh V( p j q ) T-link (;p);(;p) wigh logp(i p j p ) Compu - MinCu 22

Grph Cu Grph u minimizion hniqu (Exmpl) On row img 5 2 5 Orv img 14 4 22 8 17 19 8 3 Thrhol img Piwi Conn Prior Po mol ½ =5 i V( p ; q )= p 6= q ; i p = q D pnly rm P(I p j p )/ xp( ji p p j) N-link wigh T-link wigh ji p p j 23

Grph Cu Grph u minimizion hniqu (Exmpl) 2 E() = X p;qg2n 5 ±( p 6= q )+ X p2 P ji p p j: 5 14 4 22 8 17 19 8 3 B lling Thrhol lling E = 5 + 5 + 9 + + 4 + 2 + 12 + 3 + + 3 + 2 + 5 = 52 E = 5 + 5 + 5 + 5 + 5 + 6 + + 4 + 2 + 3 + 3 + + 3 + 2 + 5 = 55 24

Grph Cu Grph u minimizion hniqu (Exmpl) 6 15 15 16 2 9 9 15 5 14 5 4 5 22 5 8 5 17 19 5 8 3 9 3 15 9 13 5 Mx-Flow =6 3 7 25

Grph Cu Grph u minimizion hniqu (Exmpl) 2 15 12 15 4 9 9 15 5 4 14 2 5 4 5 22 5 8 5 17 19 5 8 3 5 15 9 5 13 6 3 5 Mx-Flow = 3 33 43 52 38 47 5 2 5 26

Grph Cu Muli wy Grph-u lgorihm α-xpnion lgorihm (Boykov l. 1): Minimiz n nrgy union wih non inry vril y rply minimizing n nrgy union wih inry vril uing Mx- low/ min- u mho n Whih union n minimiz y α-xpnion Algorihm? α-xpnion lgorihm n ppli o pir-wi inrion h r mri on h p o ll V pq (l;l) = V pq (l 1 ;l 2 )> i l 1 6=l 2 V pq (l 1 ;l 2 )= V pq (l 2 ;l 1 ) V pq (l 1 ;l 2 )+ V pq (l 2 ;l 3 ) V pq (l 1 ;l 3 ) 27

α-xpnion Algorihm Grph Cu Algorihm 1. Sr wih ny rirry lling µ 2. S u = 3. For h ll 2 L (rnom orr) Irion () in ^ = rg min E( ) mong wihin on α-xpnion 1 o µ yl () i E( )> µ E(^ ) µ = ^ & u = 1 4. I u = 1 goo 2 5. Rurn 2 µ ------------------------------------------------------ 1- Evry pixl ihr kp i ol ll or wih o α 2- Thr i no α-xpnion mov, or ny ll α, wih lowr nrgy. α 28

Som Rul 29 Rorion Sgmnion Sro Mhing Diplmn

Thnk You

Mximum-A-Poriori (MAP) Eimion Prolm Formulion & Img Lling Iriv rrh o MAP im ohi (.g., imul nnling) or rminii (.g., ir oniionl mo) Simul Annling (Gmn & Gmn 84) Simul pro in mllurgy whih rmin h low nrgy o mril y grully lowring h nrgy Fin MAP imor or ll pixl imulnouly Fin h glol oluion wih rin mprur hul Compuionlly xpniv; h hul h l o h glol r vry low in pri. Ir Coniionl Mo (ICM) (Bg 74) Pixl r pro qunilly, n or h pixl h lgorihm l h ll h mximiz P(I P j p )P( p j ^ N p ) Fr hn imul Annling Vry niiv o h iniil lling Lol nrgy opimizion hniqu 31