English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-06-23 09:43:31 · 4 answers · asked by Andreas C 1 in Science & Mathematics Other - Science

4 answers

Thresholding is the simplest method of image segmentation. Individual pixels in a grayscale image are marked as 'object' pixels if their value is greater than some threshold value (assuming an object to be brighter than the background) and as 'background' pixels otherwise. Typically, an object pixel is given a value of '1' while a background pixel is given a value of '0'.

The key parameter in threholding is obviously the choice of the threshold. Several different methods for choosing a threshold exist. The simplest method would be to choose the mean or median value, the rationale being that if the object pixels are brighter than the background, they should also be brighter than the average. In a noiseless image with uniform background and object values, the mean or median will work beautifully as the threshold, however generally speaking, this will not be the case. A more sophisticated approach might be to create a histogram of the image pixel intensities and use the valley point as the threshold. The histogram approach assumes that there is some average value for the background and object pixels, but that the actual pixel values have some variation around these average values. However, computationally this is not as simple as we'd like, and many image histograms do not have clearly defined valley points. Ideally we're looking for a method for choosing the threshold which is simple, does not require too much prior knowledge of the image, and works well for noisy images. A good such approach is an iterative method, as follows:

1. An initial threshold (T) is chosen, this can be done randomly or according to any other method desired.
2. The image is segmented into object and background pixels as described above, creating two sets:
1. G1 = {f(m,n):f(m,n)>T} (object pixels)
2. G2 = {f(m,n):f(m,n)\leT} (background pixels) (note, f(m,n) is the value of the pixel located in the mth column, nth row)
3. The average of each set is computed.
1. m1 = average value of G1
2. m2 = average value of G2
4. A new threshold is created that is the average of m1 and m2
1. T' = (m1 + m2)/2
5. Go back to step two, now using the new threshold computed in step 4, keep repeating until the new threshold matches the one before it (i.e. until convergence has been reached).

Another approach is to calculate the new threshold in step 4 using the weighted average of m1 and m2: T' = (||G1||*m1 + ||G2||*m2)/(||G1||+||G2||), where ||Gn|| is the number of pixels in Gn. This approach often gives a more accurate result.

This iterative algorithm is a special one-dimensional case of the k-means clustering algorithm, which has been proven to converge at a local minimum - meaning that a different initial threshold may result in a different final result.
[edit]

List of Methods

* Entropy based methods.
* Cluster based methods.
* A priori assumptions about the background population distribution (e.g. 'it is a Gaussian').
* Local methods.

2006-06-23 09:45:15 · answer #1 · answered by Eternity 6 · 0 0

Treshold

* creates high-contrast black-and-white versions
* slider represents the brightness level at which tones the image will become either white or black

2006-06-23 16:49:36 · answer #2 · answered by Spock 6 · 0 0

You could check out the Wikipedia article on the subject, from which the previous answer was blatently plagiarized.

2006-06-23 16:59:15 · answer #3 · answered by John M 2 · 0 0

www.cs.yorku.ca/visor/pdf/Tabet_PhD_thesis.pdf
rvl1.ecn.purdue.edu/RVL/ Publications/Gao99Interactive.pdf
ieeexplore.ieee.org/iel2/ 3154/8972/00395722.pdf?arnumber=395722

2006-06-23 16:48:57 · answer #4 · answered by pink l 2 · 0 0

fedest.com, questions and answers