Thresholding

[Laboratory]

Image segmentation is the process of dividing an image into regions. This process is problem-oriented. Examples of segmentation are illustrated using two types of images of the heart, cineangiocardiographic and a nuclear medicine images. In the first case, the challenge is to separate the blood (light) area from the rest. In the second case, the problem is to separare the live tissue (light) area from the rest.

The simplest and most widely used segmentation method is thresholding. It consists of setting background values for pixels below a threshold value T and a different set values for the foreground. If the input image is f(x,y) and thresholded image is g(x,y), the equation of the thresholding operator is given by:

displaymath102

Experiment

In the experiment below, the variation on the threshold value causes a large variation on the area of the foreground pixels. This is a difficult problem to solve.

Shown below are the original image and the results after applying different thresholds values (118, 128, 138) to it.

a)Original image; b)Thresholded at 118
a) b)

a)Thresholded at 128; b)Thresholded at 138
a) b)

The areas of each thresholded image are depicted below.

Level    Area
118     19,670 pixels
128     16,969 pixels
138     14,462 pixels





Main DIP Menu
DIP Feedback Form
Copyright © 1997-1995 KRI, ISTEC, Ramiro Jordán, Roberto Lotufo. All Rights Reserved