An Introduction to Graph-Cut: Algorithm for Image Segmentation and Minimum-Cut, Study notes of Computer Science

An introduction to graph-cut, an algorithm used for finding globally optimal segmentation solutions, also known as min-cut or normalized-cut. The concept of cuts in graphs, the problem with min-cut, and the solution with normalized-cut. Applications of graph-cut include image segmentation, stereo, 3d reconstruction, and more. The document also discusses the labeling problem and the energy minimization concept.

Typology: Study notes

Pre 2010

Uploaded on 02/25/2010

koofers-user-5eh
koofers-user-5eh 🇺🇸

10 documents

1 / 15

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
An Introduction to Graph-Cut
By: Paul Scovanner
An Introduction to Graph-Cut
Overview
Min-cut
Normalized-Cut
Applications
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download An Introduction to Graph-Cut: Algorithm for Image Segmentation and Minimum-Cut and more Study notes Computer Science in PDF only on Docsity!

An Introduction to Graph-Cut

By: Paul Scovanner

An Introduction to Graph-Cut

ƒ Overview ƒ Min-cut ƒ Normalized-Cut ƒ Applications

An Introduction to Graph-Cut

ƒ Graph-cut is an algorithm that finds a globally optimal segmentation solution. ƒ Also know as Min-cut. ƒ Equivalent to Max-flow. [1]

[1] Wu and Leahy: An Optimal Graph Theoretic Approach to Data Clustering:…

What is a “cut”?

A graph G = (V,E) can be partitioned into two disjoint sets, by simply removing edges connecting the two parts.

The degree of dissimilarity between these two pieces can be computed as total weight of the edges that have been removed. In graph theoretic language it is called the cut : [2].

A , B , A ∪ B = V , A ∩ B = 0

∑ ∈ ∈

u AvB

cut AB wu v

,

[2] Shi and Malik: Normalized cuts and image segmentation.

Finding the Minimum-cut

Finding the Minimum-cut

Finding the Minimum-cut

Finding the Minimum-cut

Normalized-cut

ƒ Instead use normalized cut (Ncut).

assoc BV

cut AB

assoc AV

cut AB

Ncut AB = +

∑ ∈ ∈

u AtV

assoc AV wut

,

= ⎛^ +

assocBV

assocB B assoc AV

Nassoc AB assoc AA

Normalized-cut

assocBV

cut AB assocAV

Ncut AB = cut AB +

( , )

( , ) ( , ) ( , )

( , ) ( , ) assocB V

assocBV assocBB assocAV

= assoc^ AVassocAA + −

= −⎛^ +

assocBV

assocB B assocAV

assocA A

= 2 − Nassoc ( A , B )

Given

2 5 1 (^3 )

Pixel labeling problem

Assignment cost for giving a particular label to a particular node. Written as D_._

Separation cost for assigning a particular pair of labels to neighboring nodes. Written as V_._

Find

Labeling f = (f 1 ,…,fn )

5 1

2

3 4

Such that the sum of the assignment costs and separation costs (the energy E) is small

Energy Minimization

ƒ Optimizing the labeling problem can be thought

of as minimizing some energy function.

measure of image discrepancy

measure of smoothness or

other visual constraints

What do graph cuts provide?

ƒ For less interesting V , polynomial

algorithm for global minimum!

ƒ For a particularly interesting V ,

approximation algorithm

ƒ Proof of NP hardness

ƒ For many choices of V , algorithms that find

a “strong” local minimum

ƒ Very strong experimental results

Graph Cut based Segmentation

Graph Cut based Segmentation

n-links

s

hard t^ a cut

constraint

hard constraint

User Guided Segmentation; Specifies hard constraints.

3D Applications

2D and Time

[3] Wang et al.: Interactive Video Cutout

Some Results

[5] Rother, Kolmogorov and Blake: “GrabCut“ - Interactive Foreground Extraction using Iterated Graph Cuts

Some Results

Some Results

Some Results