Version française

The Image Processing Corner


Region-based segmentation
Next 

Introduction

Segmenting an image into regions consists in creating a partition of the image with constrained and connex components...
More seriously, the result of a segmentation into regions is a classification of the image into several areas so that "similar" pixels are grouped together.

As talking about image is easier with images, let's give an example: the "pentagon" image below has been segmented into 53 regions, or pieces of image.
The right image is a region image each with random color.

Click to enlarge. Click to kill. Click to enlarge. Click to kill.
Initial imageRegion image (53 regions)

Interest

There are multiple applications:

Limits

If applications are multiple, the use of regions is not widespread however.

The first reason is how characterize a "good" segmentation ?
For a given image, there is an infinity of possible segmentations. The human eye segments image not only thanks to the pixel intensities but also thanks to a recognition of the objects of the scene, which is unlikely with computers.

The second reason is the difficulty to control the segmentation: segmentation algorithms are seldom stable. Every algorithm gives specific results, and even more, they are often extremely sensitive to parameter variations.
The major problem is that the result is often oversegmented (too much regions) or undersegmented (too few regions) and that it is difficult to automatically obtain a good compromise.

The last reason is the increased algorithmic complexity. Working with regions is much more complex than working with pixels. Their high information content has a price:

The example below shows different results of segmentation into regions of the same image, with the same algorithm, but with different parameters.

The first row displays images with special colors to enhance contrasts.
The second row displays images with random colors for each area. The region color is the average color.
The first parameter of the used algorithm is the noise intensity in the image, the second parameter is the minimum size of a region (see next sections for further details).

Click to enlarge. Click to kill.
Initial image
Click to enlarge. Click to kill. Click to enlarge. Click to kill. Click to enlarge. Click to kill. Click to enlarge. Click to kill.
Click to enlarge. Click to kill. Click to enlarge. Click to kill. Click to enlarge. Click to kill. Click to enlarge. Click to kill.
Initial imageparam 10-100 266 regionsparam 31-50 269 regionsparam 30-150 133 regions

First remark: for a similar region quantity, segmentations may be very different, even if the same algorithm is used.

It is also clear that "simplifying" an image leads to undesirable pixel associations, especially here between the table and the background. The human eye perceives this like an "error" as it analyzes and separates objects of the scene, but computers only see colored pixels side by side.


The next section deals with some types of current algorithms.


Next 

visiteurs
Generated with webSitePP.py tool
Last updated on October 20, 2004