GISdevelopment.net ---> Technology ---> Image Processing

Multi-Threshold Technique for Segmentation of Satellite Imagery for Feature Extraction

Shattri Mansor, Teoh Chin Chuang, Abdul Rashid Mohamed Shariff, Noordin Ahmad
Spatial & Numerical Modeling Laboratory, Institute of Advanced Technology
Universiti Putra Malaysia, 43400, Serdang, Selangor, Malaysia
shattri@putra.upm.edu.my



Segmentation
The purpose of segmentation is to separate an image into regions corresponding to objects; i.e. to divide the image into regions, which are identifying common properties. Image regions are expected to have homogeneous characteristics (e.g. grey level, or colour), which may indicate that they belong to the same object or facet of an object. Mathematically, segmentation can be defined by the following rules. An image I must be separate or segmented in several different regions Ri, i = 1, 2,…., n



The first property states that the entire image I must be covered by the regions Ri, i = 1, 2,…., n and the second property states that regions are disjoint sets. The logical predicate P(Ri) in the third property must be true(1) over each regions Ri to ensure distinguish one region from another. Finally, the fourth property states that the predicate P(R) must be false (0) in the union of two image regions to ensure every region is distinct from other regions.

Thresholding
How can we divide an image into homogeneous regions? One of the simplest methods and natural way to segment is through thresholding. Thresholding is one of the powerful methods for image segmentation; it is useful in discriminating objects from the background in many classes of scenes. For example, an image contains an object, which is made up of pixel, which has homogeneous grey level and a background with a different grey level. Such an image usually possesses a bimodal histogram is shown in figure 1. This image can be segmented into two different regions by simple thresholding, which classifies all pixels with grey level values greater than T as object pixels and pixels with grey level values smaller than T as background pixels. Most thresholding techniques indirectly utilize the shape information of an image histogram. The ideal case is a bimodal shape of histogram because of grey level at the valley can be direct selected as threshold value for segmentation, but such bimodality histogram is usually unavailable in the real application (Tseng et al., 1993). In general, an image grey level can be divided into several sub-ranges to perform thresholding but these ranges usually overlap one with another and make thresholding difficult. In this experiment we need to separate the test image into four sub-ranges.

Segmentation by thresholding started many years ago from simple beginnings, and in recent years has been refined into a set of mature procedures and the outstanding problem is how to devise an automatic procedure for determining the optimal threshold (Papamarkos et al., 1999). Sato et al, (1999) used threshold operation to extract mangrove forest with TM data of Landsat 5. This method involve two steps, firstly decided provisional range of threshold selection on the histogram for band 4 and 5 and secondly applied Otsu’s automatic threshold selection method to the range as an automatic searching threshold. Chang et al, (1997) proposed a new wavelet-based automatic multi-level thresholding technique for segmentation of thermal images and Tseng et al, (1993) used an automatic thresholding method based on aspects of the human visual system for segmentation.



Methodology and Results
Figure 2 shows the basic procedure for this study. First step, we selected classes have been through analysis to the land use map representing training site. Second step, an automatic threshold selection program is used to determine the optimal threshold values of each feature. Final step, thresholding based on that threshold values to perform segmentation.

Training Site Selection
Training site selection has been defined as process of searching a subset of the original set or areas representing each known land cover classes that appear fairly homogeneous characteristics on the image. For the selection of the training sites, two different ways have been used to collect training site data for this study. Firstly, by using polygons covered the representing pixels of the selected classes. Secondly, by doing on-screen seeding which is selecting pixels one by one from different areas. Four land cover classes of training site data had been identified; they are urban, clear land, forest and water. In this paper, purpose of training site selection is to determine the minimum (Min) and maximum (Max) grey level for each class (feature) from different band of the test image. Table 1 shows all the Min and Max grey level values that is extracted from the test image. Min(i, k) and Max(i, k) is minimum and maximum grey level values of features i in band k, i = 1, 2,…, n = 4, where, 1 is for urban feature, 2 is for clear land feature, 3 is for forest feature and 4 is for water feature. k is number of band, k = 1, 2,…, m = 6.

Automatic Threshold Selection Program
In this program, are divided into two stages. They are pair features overlapping analysis and optimal threshold values selection.

Pair Features Overlapping Analysis
The pair features overlapping analysis algorithm can be described in figure 3. In this analysis, 12 logical expressions are used to do the overlapping analysis of the range of Min to Max grey value for a pair of features in one band. The algorithm shown that expression 1 to 8 can be used to extract threshold values and 9 to 12 are no threshold values can be extracted. This algorithm works by overlapping analysis to the one feature ( i, k ) with another feature ( j, k ) in one band k, where, ( i ) ¹ ( j ). After completed analysis in band k, the analysis repeat again for another band k + 1 until running through all bands k = m.

>


Figure 3. Pair features overlapping analysis algorithm


Threshold Values Selection Program
The threshold values selection program is used for optimal threshold values selection after pair features overlapping analysis. The algorithm is shown in figure 4.





This algorithm can be used to automatic selected the optimal threshold values for each features and the results are shows in table 2. The result shows that threshold values for urban feature (i=1) can be extracted from band 1, 2, and 3 excepted bands 4, 5 and 6. But for water feature (i=4) is opposite condition with urban feature band 4, 5 and 6 provided threshold values and band 1, 2 and 3 no threshold values can be selected. Clear land feature (i=2) threshold value can be extracted from band 1 to 6. Finally, band 1, 2, 3, 5 and 6 can be used to select the optimal threshold value for forest feature (i=3).

Segmentation Process
After the entire optimal threshold values are determined then input these values to the automatic segmentation produce program. This program is by using PCI Modeler to implement the automatic segmentation for entire image. The segment feature covers the entire image are urban, clear land, forest and water. All of these segments are fused together to produce a segmentation map as shown in figure 5.

Table 1. Minimum and maximum grey-level
values of each feature in different band

Band (k)  Min(i, k )  Max(i, k )
Blue (1)  Min(1, 1) = 73  Max(1,1) =124
 Min(2, 1) = 80  Max(2, 1) = 149
 Min(3, 1) = 56  Max(3, 1) = 70
 Min(4, 1) = 59  Max(4, 1) = 68
Green (2)  Min(1, 2) = 30  Max(1, 2) = 58
 Min(2, 2) = 43  Max(2, 2) = 96
 Min(3, 2) = 19  Max(3, 2) = 30
 Min(4, 2) = 19  Max(4, 2) = 25
Red (3)  Min(1, 3) = 24  Max(1, 3) = 64
 Min(2, 3) = 58  Max(2, 3) = 160
 Min(3, 3) = 5  Max(3, 3) = 19
 Min(4, 3) = 5  Max(4, 3) = 14
Near-Infrared (4)  Min(1, 4) = 37  Max(1, 4) = 66
 Min(2, 4) = 46  Max(2, 4) = 132
 Min(3, 4) = 24  Max(3, 4) = 108
 Min(4, 4) = 0  Max(4, 4) = 47
Mid-Infrared (5)  Min(1, 5) = 56  Max(1, 5) = 124
 Min(2, 5) = 68  Max(2, 5) = 255
 Min(3, 5) = 11  Max(3, 5) = 102
 Min(4, 5 ) = 0  Max(4, 5 ) = 29
Mid-Infrared (6)  Min(1, 6) = 31  Max(1, 6) = 88
 Min(2, 6) = 24  Max(2, 6) = 148
 Min(3, 6) = 4  Max(3, 6) = 40
 Min(4, 6 ) = 0  Max(4, 6 ) = 12


Table 2. Optimal threshold values of each feature in different band




Conclusion
In this paper, an automatic thresholding technique has been proposed for segmentation the multiband images and successfully tested with a Landsat TM image. The method is based on two important algorithms; pair features overlapping analysis and optimal threshold values selection. The results presented in this paper show the efficiency of the method for image segmentation.

References
  • Chang, J. S., Liao, H. Y. M., Hor, M. K., Hsieh, J. W., and Chern, M. Y., New automatic multi-level threshold technique for segmentation of thermal images. Image and Vision Computing.,15:23-34(1997).
  • Papamarkos, N., Strouthopoulos, C., and Andreadis, I., Multithresholding of color and grey-level images through a neural network technique. Image and Vision Computing.,18: 213-222 (2000).
  • Sato, K., Nakajima, M., and Hoshi, T., Thresholding operation for extraction of mangrove forest with TM data of LANDSAT 5. Proc. Asian. Conf. of the 20th on Remote Sensing. Hong Kong, China, pp 939 –944 (1999).
  • Tseng, D. A., and Huang, M. Y., Automatic thresholding based on human visual perception. Image and Vision Computing.,11:539-548 (1993).
© GISdevelopment.net. All rights reserved.