Outline

28
Topology Based Method of Segmentation of Gray Scale Images Peter Saveliev Marshall University, USA

description

Topology Based Method of Segmentation of Gray Scale Images Peter Saveliev Marshall University , USA. Outline. Goal: a graph representation of the topology of a gray scale image. The graph represents the hierarchy of the lower and upper level sets of the gray level function. - PowerPoint PPT Presentation

Transcript of Outline

Page 1: Outline

Topology Based Method of Segmentation of Gray Scale Images   Peter SavelievMarshall University, USA

Page 2: Outline

Goal: a graph representation of the topology of a gray scale image.

The graph represents the hierarchy of the lower and upper level sets of the gray level function.

This graph contains the inclusion trees, but it is not a tree.

The topological tools:◦ cell decomposition: the image is represented as a

combination of pixels as well as edges and vertices. ◦ cycles: both upper and lower level sets are captured

by circular sequences of edges.

Outline

Page 3: Outline

Topological analysis of binary images

Page 4: Outline

Gray scale function

Segmentation: capturing upper and lower level sets of the gray level function of the image.

Rationale: the connected components of these sets are building blocks of real items depicted in the image.

Page 5: Outline

The connected components of the lower level sets have a clear hierarchy based on inclusion. This hierarchy provides a graph representation of the topology of the image.

Inclusion tree

Page 6: Outline

The lower inclusion tree

Page 7: Outline

.

The lower inclusion tree and the upper inclusion tree

Page 8: Outline

The inclusion trees for upper and lower level sets, if considered separately, do not help in finding out which object has which hole.

Therefore, in order to capture the topology of the image, the two trees have to be combined in some way.

Inclusion trees

Page 9: Outline

P. Monasse and F. Guichard, Fast computation of a contrast invariant image representation. IEEE Transactions on Image Processing, 9(5), pp. 860–872, 2000.

Jordan Theorem: A component of a level set encircles or is encircled by components of other level sets.

Combined inclusion tree

Page 10: Outline

+ =

Combined inclusion tree

The lower level sets are mixed with the upper level sets.

The gray levels are also mixed.

Page 11: Outline

An alternative way to combine the inclusion trees

+ =

The topology graph of the image

Page 12: Outline

The lower and upper inclusion trees remain intact within the graph.

The graph breaks into layers that coincide with the topology graphs of the corresponding binary images.

The topology graph is not a tree in general.

Topology graph

Page 13: Outline

Our goal is to capture the topological features present in the image: connected components and their holes.

We think of black objects as connected components and white objects as holes in the dark objects.

The topology of a binary image

Page 14: Outline

A binary image is a rectangle covered by black and white pixels arranged in a grid.

A pixel is a square, or a tile: [n, n + 1] × [m, m + 1].

Cell decomposition

Page 15: Outline

a vertex {n}×{m} is a 0-cell, an edge {n}×(m, m + 1) is a 1-cell, and a face (n, n + 1)×(m, m + 1) is a 2-cell.

Cell decomposition

Page 16: Outline

Two adjacent edges are 1-cells and they share a vertex, a 0-cell;

Two adjacent faces are 2-cells and they share an edge, a 1-cell.

Cell decomposition

Page 17: Outline

Cycles are used as a tool of image segmentation.

Cycles

Both connected components and holes are captured by cycles:

a 0-cycle as a sequence of vertices that follows the outer boundary of a connected component;

a 1-cycle as a sequence of edges that follows the outer boundary of a hole.

Page 18: Outline

Cycles partition the image

Page 19: Outline

The nodes of the topology graph are the cycles in the image and there is an arrow from node A to node B if:

0-cycle B has 0-cycle A inside, provided A and B correspond to consecutive gray levels.

0-cycle B has 1-cycle A inside, provided A and B correspond to the same gray level.

And vice versa.

Topology graph

Page 20: Outline

All pixels in the image are ordered in such a way that all black pixels come before white ones.

Following this order, each pixel is processed: ◦ add its vertices, unless those are already present as parts

of other pixels; ◦ add its edges, unless those are already present as parts of

other pixels;◦ add the face of the pixel.

At every step, the graph is given a new node and arrows that connect the nodes in order to represent the merging and the splitting of the cycles:◦ adding a new vertex creates a new component;◦ adding a new edge may connect two components, or

create, or split a hole;◦ adding the face to the hole eliminates the hole.

Outline of the algorithm

Page 21: Outline

Adding an edge

Page 22: Outline

Suppose N is the number of pixels in the image. Then

The memory usage is O(N). The complexity of the algorithm is O(N2).

Performance

Page 23: Outline

Intel Core 2 Dual CPU T7500 2.2GHz

Processing time

Page 24: Outline

If a 0-cycle is an ancestor of another, only one of them is taken into account.

Filtering cycles

Page 25: Outline

Filtering cycles

If a 0-cycle is an ancestor of another, only one of them is taken into account.

Page 26: Outline

The approach and the method are justified by appealing to classical mathematics.

The new representation of the topology of a gray scale image is a graph that isn’t a tree in general.

This data structure allows components and holes to be treated simultaneously but kept separate.

The algorithm and its interpretation are intuitive. The algorithm is fast enough to be practical. The analysis produces meaningful results for

various gray scale images.

Summary

Page 27: Outline

Thank you

Page 28: Outline

Combined inclusion tree vs. topology graph