Global Thresholding image segmentation Techniques
Abstract: Image thresholding is used to provide a representation of an image in a simplest form which requires less space. This representation is called segmented image and the process is image segmentation. This paper presents an extensive review of global thresholding techniques for image segmentation. It includes the various methods used for global threshold selection of grey level images. In this survey, global thresholding methods are divided into two categories: histogram modification and methods that computes threshold. The study found that the histogram improvement methods are sensitive to noise whereas threshold computing methods are robust to noise and give effective results. The threshold computing method includes the review of Otsu and Entropic method. Both of these methods are well known global thresholding methods.
To understand an image, it has to be divided into different meaningful parts called objects which can be easily identified and depicts some information. This division process is called image segmentation and thresholding is one of the popular techniques for image segmentation. It has low computational cost when compared to other algorithms Image thresholding works on the principle of pixel classification. It divides an image into segments depending upon the pixel attributes. This techniques applies on each pixel and by comparing it to a specific threshold value decides whether the picture belongs to an object or background. For gray images, the segmentation is carry out on the basis of image gray levels where the brighter part of an image is object and darker is background. The objects and background of gray level images can be easily identified, but the process becomes more complicated for color or textured images. So, for color and textured images requires much more attention and processing to get segmented . The thresholding is also affected by the noise and artefacts present in image. Usually some preprocessing steps are applied to reduce the noise and artefacts effects.
Thresholding is mainly classified into three local, global and dynamic categories depending upon the functional dependencies of the threshold operator T. When T depends only on the gray value of pixel, it will be global. When T depends upon the gray value as well as the local property of pixel, then the threshold value is called local threshold. Whereas, if threshold value depends on pixel grey value, local property and on its position also, then the threshold is called dynamic threshold . Weszka (1978) presented a survey on threshold techniques which concluded that many different threshold approaches are possible and the more sophisticated threshold selection methods can be developed .
This study includes only the grey level or bi-level global thresholding techniques and divided into histogram modification and threshold computing methods. This paper consists of section 2 about global thresholding technique, section 3 reviews histogram improvement methods whereas section 4 includes threshold computing methods and section 5 consists of conclusions drawn from the study.
- Global Threshold technique
Earlier, only few types of segmentation techniques were known and most commonly used were preprocessing and thresholding or combination of both . Thresholding is the most simple method and having least computation cost. Global threshold is totally dependent on the histogram of the image. The histograms of images may be affected with noise, contrast, hue, saturation, shadow etc. So, the global threshold selection has been aid with the use of local properties of image. Values of local property can be used to improve the histogram as well as to directly compute the global threshold. Thus, global threshold selection techniques based on local properties are divided into two categories: histogram improvement methods and threshold computing methods. The histogram improvement methods tried to improve the histograms of the images so that the threshold selection process can be made easy whereas the threshold computing methods tried to include a local property of image to compute the optimal threshold value.
- Histogram improvement
An image having one object and background or having only two grey levels can be easily classified or segmented using histogram. This type of images have bimodal histograms where two peaks are separated by a deep valley, which results into a threshold value. But the threshold selection becomes a difficult task when there is noise or peaks and valleys are not well defined. The global threshold value totally depends upon the histogram of the image. Hence, many methods are introduced to improve the histograms, so that the threshold value can be computed easily and efficiently. Some of the methods were reviewed by Weszka and Rosenfeld(1977) .
Doyle(1962) proposed a “p-tile” global threshold technique for segmenting images having dark objects and light background . The threshold value of the proposed method depending upon the area of object and not suitable for the images having unknown object areas. To overcome this drawback a histogram based threshold selection technique was proposed. Prewitt and Mendelson called it mode method . This method involves smoothing of histogram, finding modes and then select the threshold at the minima between the modes. This method is suitable for gray level images but does not work well where the object and background are not clearly separated by a deep valley. Weszka, Nagel and Rosenfeld (1974) overcomes the problems of locating valleys in images having multiple peaks of unequal sizes. They described a method which selects a threshold value from a histogram of only those points which take on high values under a digital Laplacian operation . Mason et al. (1975) described a method which computed weighted histogram that makes valleys deeper and peaks sharper and higher. This method facilitates the use of mode method to select the threshold value easily . Ahuja and Rosenfeld (1978) used concurrences matrices alternative to histogram modification for threshold selection. In this method elements near the diagonal corresponds to pairs of neighboring elements which have almost similar grey levels and such elements are likely to be interior of the objects.. Thus histogram of these elements have deep valleys which makes threshold selection easy . Wu et al. (1982) demonstrated a quad-tree method to improve the histogram of grey images. This method yields histograms having sharper peaks and deep valleys which makes the threshold selection easy  . Rosenfeld and Torre (1983) depicted that the histogram’s concavity structure make threshold selection for the images having unclear peaks and valleys in histogram. Concavity structure can be extracted using convex hull. This method gives good results but sensitive to noise . This method fails to detect small objects and background of different intensities. To overcome these problems Whatmough (1991) presented a new exponential method to modify the histogram so that the effects of contrast stretching or compression and thresholds that separate small numbers of objects can be eliminated .
Sezan (1990) presented a peak detection method to detect the peaks of histograms that can be further used to select threshold. It is simple but effective method . Tsai (1995) gave a Gaussian curvature analysis method to improve the histogram of the image. The proposed method is efficient and effective method and appropriate even for the real time applications . Ramesh et al. (1995) proposed two automatic threshold selection methods based on functional approximation of histogram. First method is based on the minimizing the sum of squares whereas other is based on minimizing the variance. The second performs better than first . Cai and Liu (1998) presented an all pole model method to estimate the optimal threshold value. Although, this method does not require prior knowledge but the mumber of classes to be segmented should be known .
The histogram modification methods are sensitive to noise and fails when there are more objects or complex background in an image. These methods are insensitive to small objects present in the image and the local properties of the image affect the threshold estimation process. So, to make the threshold selection an easy task the local properties are also considered for the determination of global threshold value in threshold computing methods.
- Threshold computing methods
For the images having multiple objects and complex background, the threshold computing method are proposed. These methods used local property as well grey level information for threshold selection and works well even in noisy images. This study includes only Otsu and Entropy methods because Otsu method is suitable for
Otsu (1979) found that till that time no threshold evaluating method has been proposed so that the optimal threshold value can be selected. So, an automatic optimal threshold selection method was proposed based on the global property of histogram. It maximizes separability of zeroth and first order cumulative moments of histogram . Reddi et al. (1984) used the Otsu’s method  and presented a fast search scheme for finding single and multiple threshold value. A continuous probability function was introduced to calculate maximum interclass variance for threshold selection. The proposed method gives better results than Otsu’ method . Jianzhuang et al. (1991) enhanced the 1-D Otsu method to 2-D otsu method. This method used grey level information of the image along with the spatial information of its neighborhood. The proposed method is robust to noise and give better results than 1-D Otsu method. But, requires more computational time . Gong et al. (1998) gave a recursive algorithm for 2-D thresholding. A recursive algorithm used in this method reduces the computational complexity of algorithm and give satisfactory results . This recursive algorithm can be used with 2-D Otsu method to decrease its computational cost. Cheriet et al. (1998) presented recursive approach an extension of Otsu’s method to segment only the document images. This is a recursive approach that segments the lowest intensity object at each iteration leaving the darkest object in digitized image. Results of the images depicts that the proposed method is very effective and efficient . Liao et al. (2001) proposed a fast and efficient algorithm along with look up table for 1-d image thresholding which is improvement over Otsu’s method. The proposed method requires less computational time and provides good segmentation results . Zhang and Hu (2008) presented a 2D Otsu thresholding method which works much better than 1D Otsu method when the difference of grey-level distribution is unremarkable. However, 2D Otsu gives rise to the exponential increment of computation time . Lang et.al. (2008) utilized integral image to speed up the computation of 2D Otsu, but the method still had to search the entire 2D space . Fengji et al. (2009) gave a solution to the problem of high computation cost. It reduced the computation time by using improved genetic algorithm to search the optimal threshold value . Zhu et al. (2009) presented a fast two dimensional Otsu method. This algorithm used two dimensional histogram projected into one and uses three look up tables to reduce the computational cost . But it increases the space complexity. Chen et al. (2012) presented a fast modified 2-D Otsu method. In this method the probabilities of diagonal quadrants are calculated separately and avoid unnecessary calculations .
Thus it has much higher segmentation precision and robustness to low contrast images. However, its speed is much slower, which is a fatal drawback in the on-line monitoring system.. Although 2-D searching speed was faster, but they demanded more memory capacity.
Entropy Based Method
Pun (1980) defined a new global function based on entropy of the histogram for threshold selection. This method automatically selects the threshold from histogram disrespect to the picture that is not depend upon the small variations in picture. The selected threshold performs a priori maximization of the posteriori known entropy of the resulting picture . Pun (1981) used the derivation of entropic threshold and defined a new threshold selection method for images having irregular and various kinds of histograms. This method extracts the anisotropy coefficients from grey level histogram and then selects the threshold value . Kapur (1985) found that there are some drawbacks in the algorithms suggested by Pun. It stated that there is some algebraic mistake in and second algorithm  does not give always satisfactory results. So, to overcome these shortcomings a new entropy based algorithm is introduced. This algorithm derived two probability distributions from original grey level distribution of the image. The total entropy of the image is then maximized to give threshold value and good segmentation results . The definition of entropy does not include the spatial information. So, the images with similar histograms results in same entropic value and same threshold, which is not acceptable. Pal and Pal (1989) introduced two new definitions of entropy called entropy of order and the conditional entropy. Two algorithms are proposed, one consists of entropy of order and probability of co-occurrence of pixel intensities which takes into consideration spatial information of image whereas another algorithm based on conditional entropy. The proposed algorithms good results but the study does not include the effect of noise . Wong and Sahoo (1989) presented a threshold selection algorithm based on the maximum entropy principle. This method uses both spatial as well as grey level information of an image. It does not require prior information about the image. The optimal threshold value is determined by maximizing a posterior entropy according to some features of image. This method provides good results but cannot applied to color images . Brink (1992) proposed a new method, which is refinement of  that extends the . Abutaleb (1989) extends the one dimensional entropy concept of Kapur et al. (1985) into 2-dimensional concept. Then Brink refines this concept by maximizing the smaller two entropies instead of maximizing the sum of the two entropies of the object class and background class. The proposed method gives good results but fails when there is uneven illumination . Li and Lee (1993) proposed a minimum cross entropy method for segmenting an image. This method selects the threshold which minimizes the cross entropy between the threshold image and original image. For the image having no prior information, the minimum cross entropy method gives the most unbiased results . Chen et al. (1994) proposed a fast 2-d entropic method for threshold selection. The computation complexity can be reduced to O(L8/3) for an image with L gray levels . Then, Gong et al. (1998) proposed a recursive algorithm for 2D entropic thresholding to reduce the computation complexity from O (L4) to O (L2). However, it is still inefficient to apply this algorithm to 1D multilevel thresholding selection, due to their computation of threshold without taking advantage of the recursive structure of entropy measures . Sahoo and Arora (2004) proposed a two-dimensional threshold selection method based on Renyi’s entropy of order and uses two-dimensional histogram to choose an optimal threshold value. This method of thresholding comprises global thresholding method of  and the two-dimensional version of the entropic correlation method introduced in . Experimental results shows that proposed method gives good results but suffers from high computational cost . Xie et al. (2008) presented an undistorted fast recursion method and a distorted optimal search strategy for low signal to noise ratio images. The search strategy uses entropy function proposed in , it calculates 2-D maximum entropy threshold by using subtraction which utilizes less computational time. The search strategy is distorted therefore; the method gives good results only if the pixels of a region are homogeneous . Xiao et al. (2008) tried to use pixel similarity to describe the edge, and extended Kapur’s method, based on the gray level spatial correla-tion (GLSC) histogram. The GLSC histogram takes into account the local property of the image by using the gray value of the pixels and their similarity with neighboring pixels . Yimit et al. (2013) gave an entropic thresholding approach which involves the local features along with the conventional entropic method. The proposed method gives better thresholding results . Nie et al. (2017) presented a novel generalized entropic method that can handle the additive information present in physical system. The proposed method works well in real time applications .
Entropy method is one of the most popularly known global thresholding methods. Earlier 1-D entropic methods were introduced which have a shortcoming that different images with same histogram calculates the same threshold value. Because they do not consider the spatial information. So, to overcome this shortcoming 2-D methods are proposed. But these 2-D methods are suffer from high computational cost and when tried to reduce this cost the space complexity get increased. In spite of these disadvantages it is useful in segmentation because of its real time performance.
Various factors, such as noise, ambient illumination, complexity of gray levels within the object and its background, contrast, and object size not appropriate with the scene, complicate the thresholding operation. The histogram improvement methods are sensitive to noise but gives accurate results for simple grey level images. The study of computing threshold techniques found that the entropy and Otsu methods are reasonably good thresholding methods when concerns about uniformity and better shape of the object. These methods give high precision and real time performance. This study can be further enhanced to the experimental comparison of these two techniques.
 L. Jianzhuang, L. Wenqing, and T. Yupeng, “Automatic thresholding of gray-level pictures using two-dimension Otsu method,” in Circuits and Systems, 1991. Conference Proceedings, China., 1991 International Conference on, 1991, pp. 325-327: IEEE.
 Q. Chen, L. Zhao, J. Lu, G. Kuang, N. Wang, and Y. Jiang, “Modified two-dimensional Otsu image segmentation algorithm and fast realisation,” IET Image Processing, vol. 6, no. 4, pp. 426-433, June 2012.
 J. Zhang and J. Hu, “Image segmentation based on 2D Otsu method with histogram analysis,” in Computer Science and Software Engineering, 2008 International Conference on, 2008, vol. 6, pp. 105-108: IEEE.
 X. Lang, F. Zhu, Y. Hao, and J. Ou, “Integral image based fast algorithm for two-dimensional Otsu thresholding,” in Image and Signal Processing, 2008. CISP’08. Congress on, 2008, vol. 3, pp. 677-681: IEEE.
 S. Fengjie, W. He, and F. Jieqing, “2D Otsu segmentation algorithm based on simulated annealing genetic algorithm for iced-cable images,” in Information Technology and Applications, 2009. IFITA’09. International Forum on, 2009, vol. 2, pp. 600-602: IEEE.
 J. N. Kapur, P. K. Sahoo, and A. K. Wong, “A new method for gray-level picture thresholding using the entropy of the histogram,” Computer vision, graphics, and image processing, vol. 29, no. 3, pp. 273-285, March 1985.
 A. K. Wong and P. K. Sahoo, “A gray-level threshold selection method based on maximum entropy principle,” IEEE Transactions on Systems, Man, and Cybernetics, vol. 19, no. 4, pp. 866-871, August 1989.
 J. Xie, T. Liu, J. Wang, and Y. He, “A fast two-dimensional entropic thresholding algorithm,” in Information and Automation, 2008. ICIA 2008. International Conference on, 2008, pp. 275-278: IEEE.
 Y. Xiao, Z. Cao, and T. Zhang, “Entropic thresholding based on gray-level spatial correlation histogram,” in Pattern Recognition, 2008. ICPR 2008. 19th International Conference on, 2008, pp. 1-4: IEEE.