Parametric Max-Flow Algorithms for Total Variation Minimization W.Yin (Rice University) joint with D.Goldfarb (Columbia), Y.Zhang (Rice), Y.Wang (Rice)

Slides:



Advertisements
Similar presentations
Primal-dual Algorithm for Convex Markov Random Fields Vladimir Kolmogorov University College London GDR (Optimisation Discrète, Graph Cuts et Analyse d'Images)
Advertisements

Lecture 7. Network Flows We consider a network with directed edges. Every edge has a capacity. If there is an edge from i to j, there is an edge from.
Outline LP formulation of minimal cost flow problem
Graph Partitioning Problems Lecture 18: March 14 s1 s3 s4 s2 T1 T4 T2 T3 s1 s4 s2 s3 t3 t1 t2 t4 A region R1 R2 C1 C2.
Approximation Algoirthms: Graph Partitioning Problems Lecture 17: March 16 s1 s3 s4 s2 T1 T4 T2 T3.
Max Flow Problem Given network N=(V,A), two nodes s,t of V, and capacities on the arcs: uij is the capacity on arc (i,j). Find non-negative flow fij for.
~1~ Infocom’04 Mar. 10th On Finding Disjoint Paths in Single and Dual Link Cost Networks Chunming Qiao* LANDER, CSE Department SUNY at Buffalo *Collaborators:
Introduction to Markov Random Fields and Graph Cuts Simon Prince
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
EMIS 8374 Vertex Connectivity Updated 20 March 2008.
Chapter 6 Maximum Flow Problems Flows and Cuts Augmenting Path Algorithm.
Global Flow Optimization (GFO) in Automatic Logic Design “ TCAD91 ” by C. Leonard Berman & Louise H. Trevillyan CAD Group Meeting Prepared by Ray Cheung.
Online Social Networks and Media. Graph partitioning The general problem – Input: a graph G=(V,E) edge (u,v) denotes similarity between u and v weighted.
Piyush Kumar (Lecture 6: MaxFlow MinCut Applications)
1 s-t Graph Cuts for Binary Energy Minimization  Now that we have an energy function, the big question is how do we minimize it? n Exhaustive search is.
1 Maximum Flow Networks Suppose G = (V, E) is a directed network. Each edge (i,j) in E has an associated ‘capacity’ u ij. Goal: Determine the maximum amount.
1 COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf.
1 Minimum Ratio Contours For Meshes Andrew Clements Hao Zhang gruvi graphics + usability + visualization.
Corp. Research Princeton, NJ Computing geodesics and minimal surfaces via graph cuts Yuri Boykov, Siemens Research, Princeton, NJ joint work with Vladimir.
CS448f: Image Processing For Photography and Vision Graph Cuts.
2010/5/171 Overview of graph cuts. 2010/5/172 Outline Introduction S-t Graph cuts Extension to multi-label problems Compare simulated annealing and alpha-
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
Maximum Flows Lecture 4: Jan 19. Network transmission Given a directed graph G A source node s A sink node t Goal: To send as much information from s.
Comp 775: Graph Cuts and Continuous Maximal Flows Marc Niethammer, Stephen Pizer Department of Computer Science University of North Carolina, Chapel Hill.
Graph-Cut Algorithm with Application to Computer Vision Presented by Yongsub Lim Applied Algorithm Laboratory.
Network Flow & Linear Programming Jeff Edmonds York University Adapted from NetworkFlow.ppt.
CSE 421 Algorithms Richard Anderson Lecture 22 Network Flow.
1 Ford-Fulkerson method Ford-Fulkerson(G) f = 0 while( 9 simple path p from s to t in G f ) f := f + f p output f Runs in time O(|f max | |E|) where f.
On the Construction of Data Aggregation Tree with Minimum Energy Cost in Wireless Sensor Networks: NP-Completeness and Approximation Algorithms National.
Section 2.9 Maximum Flow Problems Minimum Cost Network Flows Shortest Path Problems.
Advanced Algorithms Piyush Kumar (Lecture 4: MaxFlow MinCut Applications) Welcome to COT5405.
Graph Cut 韋弘 2010/2/22. Outline Background Graph cut Ford–Fulkerson algorithm Application Extended reading.
CS774. Markov Random Field : Theory and Application Lecture 13 Kyomin Jung KAIST Oct
Applications of the Max-Flow Min-Cut Theorem. S-T Cuts SF D H C A NY S = {SF, D, H}, T={C,A,NY} [S,T] = {(D,A),(D,C),(H,A)}, Cap [S,T] =
Maximization of Network Survivability against Intelligent and Malicious Attacks (Cont’d) Presented by Erion Lin.
JJE: INEX XML Competition Bryan Clevenger James Reed Jon McElroy.
Graph Cuts Marc Niethammer. Segmentation by Graph-Cuts A way to compute solutions to the optimization problems we looked at before. Example: Binary Segmentation.
CS 4487/6587 Algorithms for Image Analysis
Models in I.E. Lectures Introduction to Optimization Models: Shortest Paths.
Network Flow. Network flow formulation A network G = (V, E). Capacity c(u, v)  0 for edge (u, v). Assume c(u, v) = 0 if (u, v)  E. Source s and sink.
Maximum Flow Algorithms —— ACM 黄宇翔. 目录 Max-flow min-cut theorem 12 Augmenting path algorithms 3 Push-relabel maximum flow algorithm.
Max flows in O(nm) time, and sometimes less. by James B. Orlin MIT Sloan School.
A deterministic near-linear time algorithm for finding minimum cuts in planar graphs Thank you, Steve, for presenting it for us!!! Parinya Chalermsook.
Maximum Flow Problem (Thanks to Jim Orlin & MIT OCW)
15.082J & 6.855J & ESD.78J October 7, 2010 Introduction to Maximum Flows.
15.082J and 6.855J March 4, 2003 Introduction to Maximum Flows.
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 25.
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
A global approach Finding correspondence between a pair of epipolar lines for all pixels simultaneously Local method: no guarantee we will have one to.
Network Analysis Maxflow. What is a Network? Directed connected graph Source node Sink (destination node) Arcs are weighted (costs) Represent a system.
CSE 421 Algorithms Richard Anderson Lecture 22 Network Flow.
Markov Random Fields in Vision
Approximation Algorithms Duality My T. UF.
-excesses are pushed towards the sink (T) -deficits are pulled towards the source (S) Active Graph Cuts O. Juan CERTIS, ENPC Marne-La-Vallée, France
1 Maximum Flows CONTENTS Introduction to Maximum Flows (Section 6.1) Introduction to Minimum Cuts (Section 6.1) Applications of Maximum Flows (Section.
Network Flow & Linear Programming Jeff Edmonds York University COSC 6111 Lecture 3 Network Flow Linear Programming.
Minimum Cost Flow Algorithms and Networks. Algorithms and Networks: Minimum Cost Flow2 This lecture The minimum cost flow problem: statement and applications.
Minimal Surfaces using Watershed and Graph-Cuts Jean Stawiaski, Etienne Decencière 8 th International Symposium on Mathematical Morphology.
Algorithms and Networks Hans Bodlaender
Algorithms and Networks
CSCI 3160 Design and Analysis of Algorithms Tutorial 8
Lecture 10 Network flow Max-flow and Min-cut Ford-Fulkerson method
Lecture 19-Problem Solving 4 Incremental Method
Applications of parametric max-flow problem in computer vision
Algorithms and Networks
Min Global Cut Animation
Network Flow.
Network Flow.
EMIS 8374 Max-Flow in Undirected Networks Updated 18 March 2008
EMIS The Maximum Flow Problem: Flows and Cuts Updated 6 March 2008
Presentation transcript:

Parametric Max-Flow Algorithms for Total Variation Minimization W.Yin (Rice University) joint with D.Goldfarb (Columbia), Y.Zhang (Rice), Y.Wang (Rice) , UCLA Math, Host: S.Osher TexPoint fonts used in EMF:

2 Various Optimization Approaches for Imaging Problems Image Processing filter black box

3 Various Optimization Approaches for Imaging Problems

4 Noise removal filter

5 Various Optimization Approaches for Imaging Problems Texture removal filter

6 Various Optimization Approaches for Imaging Problems Variational image processing Treat an image f as a function

7 Various Optimization Approaches for Imaging Problems Output u as a minimizer of certain functional

8 Various Optimization Approaches for Imaging Problems Computational methods 1. PDE-based Gradient descent: low memory usage slow convergence 2. SOCP / interior-point method: high memory usage better convergence SOCP: Goldfarb-Yin 05’

9 Various Optimization Approaches for Imaging Problems 3. Network flows methods: low memory usage very fast not as general

10 Various Optimization Approaches for Imaging Problems Max flow approach outline: 1.Decompose f into K level sets applicable to anisotropic TV(u) – i.e., l 1 norm

11 Various Optimization Approaches for Imaging Problems Max flow approach outline: 1.Decompose f into K level sets 2.For each F l, obtain U l by solving a max-flow prob 3.Construct a minimizer u from the minimizers U l applicable to anisotropic TV(u) – i.e., l 1 norm Chan-Esedoglu 05’, Yin-Goldfarb-Osher 06’

12 Various Optimization Approaches for Imaging Problems

13 Various Optimization Approaches for Imaging Problems Requires monotonicity of Yin-Goldfarb-Osher 05’, Darbon-Sigelle 05’, Allard 06’

14 Various Optimization Approaches for Imaging Problems Questions: 1.How do we solve the binary problems? 2.How many binary problems do we solve? Next, a short introduction to the max-flow/min-cut problem…

15 Various Optimization Approaches for Imaging Problems A Network is a graph G with nodes and edges: Special nodes s (source) and t (sink) Edges carry flow Each edge (i,j) has a maximum capacity c i,j A capacitated network t s

16 Various Optimization Approaches for Imaging Problems A Network is a graph G with nodes and edges: Special nodes s (source) and t (sink) Edges carry flow Each edge (i,j) has a maximum capacity c i,j An s-t cut (S,T) is a 2-partition of V such that s in S, t in T A capacitated network t s Cut value: the total s-t cap. across the cut=3+7+11=21

17 Various Optimization Approaches for Imaging Problems A Network is a graph G with nodes and edges: Special nodes s (source) and t (sink) Edges carry flow Each edge (i,j) has a maximum capacity c i,j An s-t cut (S,T) is a 2-partition of V such that s in S, t in T A min s-t cut is one that gives the minimum cut value A capacitated network t s Cut value: the total s-t cap. across the cut=15+3=18

18 Various Optimization Approaches for Imaging Problems A Network is a graph G with nodes and edges: Special nodes s (source) and t (sink) Edges carry flow Each edge (i,j) has a maximum capacity c i,j An s-t cut (S,T) is a 2-partition of V such that s in S, t in T A min s-t cut is one that gives the minimum cut value Important fact: Finding a min-cut = finding a max-flow A capacitated network t s Cut value: the total s-t cap. across the cut=15+3=18

19 Various Optimization Approaches for Imaging Problems Max flow problem

20 Various Optimization Approaches for Imaging Problems Max flow problem Min cut problem (dual of above)

21 Various Optimization Approaches for Imaging Problems

22 Various Optimization Approaches for Imaging Problems

23 Various Optimization Approaches for Imaging Problems

24 Various Optimization Approaches for Imaging Problems s

25 Various Optimization Approaches for Imaging Problems s t Combining 1,2,3 gives a min cut formulation!

26 Various Optimization Approaches for Imaging Problems

27 Various Optimization Approaches for Imaging Problems t s

28 Various Optimization Approaches for Imaging Problems t s

29 Various Optimization Approaches for Imaging Problems t s

30 Various Optimization Approaches for Imaging Problems t s

31 Various Optimization Approaches for Imaging Problems t s

32 Various Optimization Approaches for Imaging Problems

33 Various Optimization Approaches for Imaging Problems Isotropic TV v.s. Anisotropic TV Watersnake: Nguyen-Worring-van den Boomgaard 03’

34 Various Optimization Approaches for Imaging Problems

35 Various Optimization Approaches for Imaging Problems Questions: 1.How to minimize the binary energy? Answered. 2.How many binary problems do we solve?

36 Various Optimization Approaches for Imaging Problems Is it good to work with each level instead of the entire cake? = finding a minimum cut of a capacitated network For a 8-bit image, there are 2 8 =256 levels For a 16-bit image, there are 2 16 =65536 levels Answer depends on 1.how fast we can solve each 2.how many we do need to solve

37 Various Optimization Approaches for Imaging Problems Outline: Further steps 1.Decompose f into K level sets F i 2.For each F i, obtain U i 1. U i min-cut of a network (Graph-Cut) 2. min-cut max-flow 3.(For TV/L 1 ) Combine K networks (para. max flow) 4.(For ROF) Reduce K max-flows to log K max-flows (e.g., K=2 16 =65536, logK=16) 3.Construct a minimizer u from the minimizers U i

38 Various Optimization Approaches for Imaging Problems Divide and conquer (Darbon & Sigelle) G1G1 G1G1 G2G2 G1G1 G1G1 G2G2 G0G0 G1G1 G2G2 Divide and Conquer: Darbon-Sigelle 06’

39 Various Optimization Approaches for Imaging Problems Max flow / min cut algorithms Preflow push (Goldberg-Tarjan) –Best complexity: O(nmlog(n 2 /m)) Boykov-Kolmogrov, push on path –Uses approximate shortest path –Not strongly polynomial –Very fast on graph with small neighborhoods Parametric max flow (Gallo et al.) –Complexity same as preflow push: O(nmlog(n 2 /m)), if # of levels is O(n) –Arcs out of source have increasing capacities –Arcs into sink have decreasing capacities s t network Preflow: Goldberg-Tarjan, B-K: Boykov-Kolmogrov 04’ Parametric: Gallo, Grigoriadis, Tarjan 89’, Hochbaum 01’

40 Various Optimization Approaches for Imaging Problems ModelNameSizebest λtotal time TV/L 1 Barbara (8-bit) 512× TV/L 1 Barbara (8-bit) 1024× ROFBarbara (8-bit) 512× ROFBarbara (8-bit) 1024× ROFBarbara (16-bit) 1024× Max-flow (Matlab/C++) numerical results Laptop - CPU: Pentium Duo 2.0GHz, Memory: 1.5 GB

41 Various Optimization Approaches for Imaging Problems Important questions left out 1.How many functions can be minimized on network? Answers: –# is limited, but much more than it appears to be –Theory is related to pseudo-boolean polynomials, but is not complete –Approach can be combined with others.

42 Various Optimization Approaches for Imaging Problems Important questions left out 2.What are the applications of the imaging models Answers: 1.Applications found in Face recognition, image registration, medical imaging 2.Theories and computations extended to high-dimensional and higher-codimensional data analysis

43 Various Optimization Approaches for Imaging Problems Thank you. Questions? S T u v Network flow no leaks!