Next Article in Journal
Geometric Average Asian Option Pricing with Paying Dividend Yield under Non-Extensive Statistical Mechanics for Time-Varying Model
Previous Article in Journal
Probability Mass Exclusions and the Directed Components of Mutual Information
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Nonlocal Means Two Dimensional Histogram-Based Image Segmentation via Minimizing Relative Entropy

1
College of Electrical and Information Engineering, Quzhou University, Quzhou 324000, China
2
Logistic Engineering College, Shanghai Maritime University, Shanghai 200135, China
3
State GRID Quzhou Power Supply Company, No.6, XinHe Road, Quzhou 324000, China
4
Institute of Electrical Engineering, Yanshan University, Qinhuangdao 066004, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Entropy 2018, 20(11), 827; https://doi.org/10.3390/e20110827
Submission received: 1 October 2018 / Revised: 22 October 2018 / Accepted: 24 October 2018 / Published: 28 October 2018
(This article belongs to the Section Information Theory, Probability and Statistics)

Abstract

:
Spatial correlation information between pixels is considered to be very important in thresholding methods. However, it is often ignored and thus unsatisfied segmentation results maybe obtained. To overcome this shortcoming, we propose a new image segmentation approach by taking not only pixels’ spatial information but also pixels’s gray level into account. First, a non-local mean filter is imposed on the image. Then the filtered image and the original image together are adopted to build a two dimensional histogram, it is called non-local mean two dimensional histogram. Finally, a minimum relative entropy criteria is used to select the ideal thresholding vector. Since the non-local mean filter process is performed in a neighborhood of current pixel, it carries out the spatial information of current pixel. Segmentation results on several images illustrate the effectiveness of the proposed thresholding method, whose segmentation accuracy are greatly improved compared to most existing thresholding methods.

1. Introduction

In the area of computer vision, image segmentation is a primary pre-processing step. The primary goal of image segmentation is to partition the image into several regions. In each region, image characteristic such as brightness, color, and texture are similar to some extend, while between different regions, these characteristics are obviously different. Image segmentation techniques had widely been adopted by different practical application task such as cell segmentation [1], object detection in SAR image [2], defect detection [3,4], etc.
To deal with image segmentation, many approaches and strategies had been developed. For example, turbopixel/superpixel segmentation methods [5,6], watershed segmentation methods [7,8],active contour models [9,10], clustering based methods [11,12], deep learning-based methods [13,14], thresholding methods [15,16],and so on. The advantages and disadvantages of these methods are summarized in Table 1.
Thresholding is very popular because it is relatively simple and can be implemented more easy. Thresholding methods assume that the gray level histogram of an image has distinct peaks and valleys and therefore the objects could be distinguished from background via a threshold. Usually, an ideal threshold is determined by maximizing or minimizing an objective function constructed from gray level histogram to select an ideal threshold. For example, Otsu proposed to maximize between-class variance to select threshold value [17], Kittler proposed to minimize classification error to select threshold [18]. Pun first introduced entropy as an objective function for image thresholding segmentation [19], in which the posteriori entropy of the object and background was firstly calculated, and then the upper bound of them were maximized. After this, Wong et al. present an improved version of Pun’s approach by imposing some inequality constraints on posteriori entropy, which characterizes the regions’ uniformity and shape [20]. Kapur proposed another entropy based thresholding method called maximum entropy thresholding algorithm. The maximum entropy method calculated the entropy of objects and background, then the sum of them is maximized [21]. In [22], Li et al. suggested to minimize the difference between original image and segmented image to selected threshold. To achieve this, the concept of cross-entropy was used as the criteria.
The above classical thresholding methods use only gray information of images, while the spatial information between pixels is ignored. Therefore, they often produce some segmentation error. For instance, an identical threshold may not suitable to two different images with the same gray level histogram, and possibly cannot correctly segment the two images. To overcome this shortcoming, the spatial information between pixels should be taken into account in the segmentation process. To achieve this goal, Abutaleb proposed a novel concept, i.e., two dimensional histogram. Two dimensional histogram is a L × L matrix, each elements of it represents the occurrence probability of gray level pair ( i , j ) , where i denotes the gray level of pixel in the original image and j the neighborhood smoothed image of original image [23]. Since the neighborhood smoothed image contains the spatial information among pixels, and thus, the spatial information was integrated into the selection of threshold. After Abutaleb’s work, several authors extend the classical thresholding methods to two dimensional thresholding methods by adopting two dimensional histogram. For example, two-dimensional Reny’s entropy thresholding method [24], two dimensional Otsu thresholding method [25] and two dimensional Tsallis entropy thresholding method [26]. Inspired by Abutaleb’s idea, many researchers constructed different two dimensional histograms using other spatial information between pixels. Xiao suggested to use similarity of a pixel with its neighborhood pixels as the spatial information to build two dimensional histogram, which is named as gray level spatial correlation (GLSC) histogram [27]. In [28], Adiljan adopted edge information and gray level of pixels to construct two dimensional histogram [28]. In Adiljan’s method, the gradient of original image was firstly computed, and then, the orientation histogram of the gradient image was calculated and used as edge information. The resulted two dimensional histogram is called 2D direction histogram. Also, Xiao presented another method to construct two dimensional histogram by combining original images’s gray level and gradient magnitude, the obtained histogram is called GLGM histogram [29].
As far as the two dimensional histograms mentioned above is concerned, the core idea is to apply a certain filter to the original image to obtain the spatial information between pixels. Abutaleb used a mean filter, which is restricted in a local neighborhood of a size 3 × 3. However, in some situation the local mean may lost fine details, for example, points, lines and edges, of an image. Observing these facts, a non-local mean filter [30] is adopted in this paper. Compared with local mean filter, non-local mean filter computes the weighted mean of all possible pixels in the image which is similar to the target pixel. The non-local filtered image and the original image together are used to constructed two dimensional histogram. The ideal two dimensional threshold vector is obtained by minimizing the relative entropy.
The rest of this paper is organized as follows. In Section 2, the non-local mean filter is briefly reviewed and then non-local mean two dimensional histogram is constructed. In Section 3, the threshold selection process by minimizing relative entropy is described. In Section 4, experimental results and discussion are presented in details. Lastly, the conclusion are conducted in Section 5.

2. Non-Local Mean Two Dimensional Histogram (NLMTDH)

2.1. Non-Local Mean Filter

Let X ( i ) denote the gray level of pixel i in image I. In non-local mean filter, the estimated value of pixel i is the weighted average of other pixels’s in image I, which is calculated as
Y ( i ) = j I w ( i , j ) X ( j ) ,
where w ( i , j ) are the weights reflecting the similarity between pixel i and j, which is calculated as
w ( i , j ) = 1 Z ( i ) e X ( N i ) X ( N j ) 2 h 2 σ 2 ,
where N k denotes a square neighborhood with a fixed size, whose center locates at pixel k, X ( N i ) the gray level vector inside the square neighborhood N i . σ is the standard deviation of the Gaussian kernel, and h represent the filtering degree. Z ( i ) is a normalizing constant as
Z ( i ) = j e X ( N i ) X ( N j ) 2 h 2 σ 2 .
The non-local means compares the grey level in a geometrical configuration in a whole neighborhood as well as in a single point.

2.2. Construction of NLMTDH

Let J be the non-local filtered image of original image I. The size of the two images is M × N , their gray level belongs to set { 0 , 1 , , L 1 } . I ( x , y ) and J ( x , y ) be the gray level of the pixel at ( x , y ) , where x = 1 , 2 , , M and y = 1 , 2 , , N . Let n i j be the total number of pixels such that I ( x , y ) = i and J ( x , y ) = j , NLMTDH is defined as
p i j = n i j M × N .
NLMTDH P = { p i j ; i , j = 0 , 1 , , L 1 } is a L × L matrix, and is shown in Figure 1.
Assume a two dimensional (2D) threshold vector ( s , t ) divides NLMTDH into four regions, where s represents the threshold of original image and t the non-local means filtered image. Since the pixels in the interior of objects or background are similar each other, therefore, region 1 and 3 contain the information of objects and background, respectively. Region 2 and 4 contain the information of edges and noise.

3. Image Thresholding Based on NLMTDH Using Relative Entropy

3.1. Relative Entropy

Relative entropy, also called Kullback–Leibler (KL) divergence, is a measure to reflect the difference between two probability distribution P and Q. Let P = { p 1 , p 2 , , p n } and Q = { q 1 , q 2 , , q n } and satisfy i = 1 n p i = i = 1 n q i = 1 . The relative entropy between P and Q is defined as
D ( P , Q ) = i = 1 n p i log p i q i .
Li and Lee [22] adopted relative entropy for thresholding selection. In image thresholding, P represents the original image distribution and Q the segmented image.

3.2. Threshold Selection Based on NLMTDH Using Relative Entropy

Consider the cast that there are only two classes in the image, let C 0 represent the background and C 1 object. As stated before, in Figure 1, region 1 and 3 contain the information of background and object, respectively. Let P 0 and P 1 be the occurrence probability of object and background at threshold vector ( s , t ) . They are computed as
P 0 ( s , t ) = i = 0 s j = 0 t p i j ,
and
P 1 ( s , t ) = i = s + 1 L 1 j = t + 1 L 1 p i j .
The mean vector of the two classes are
μ 0 = ( μ 0 i , μ 0 j ) = i = 0 s j = 0 t i p i j P 0 ( s , t ) , i = 0 s j = 0 t j p i j P 0 ( s , t )
and
μ 1 = ( μ 1 i , μ 1 j ) = i = s + 1 L 1 j = t + 1 L 1 i p i j P 0 ( s , t ) , i = s + 1 L 1 j = t + 1 L 1 j p i j P 0 ( s , t ) ,
respectively. Similar to [22], the relative entropy between the original image and the segmented image in NLMTDH at the threshold vector ( s , t ) is defined as
D ( P , Q | , s , t ) = i = 0 s j = 0 t i p i j log i μ 0 i + j p i j log j μ 0 j + i = s + 1 L 1 j = t + 1 L 1 i p i j log i μ 1 i + j p i j log j μ 1 j .
More details about how Equation (10) is defined, one can see Appendix A. Substituting Equations (8) and (9) into Equation (10) and after some manipulations, one can get
D ( P , Q | , s , t ) = M P 0 ( s , t ) ( μ 0 i log μ 0 i + μ 0 j log μ 0 j ) P 1 ( s , t ) ( μ 1 i log μ 1 i + μ 1 j log μ 1 j ) ,
where M = i = 0 L 1 j = 0 L 1 ( i p i j log i + j p i j log p j ) , which is a constant for the entire image. An ideal threshold vector ( s * , t * ) should be one that minimizes D ( P , Q | , s , t ) , i.e.,
( s * , t * ) = arg min D ( P , Q | , s , t ) .

4. Experimental Results and Discussion

4.1. Results

To demonstrate the effectiveness of the proposed method, several real images are used to test the algorithm. The proposed method is compared with other methods including Otsu method, Kapur method, Minimum cross entropy (MCE) method, 2D histogram-based minimum cross entropy (2DMCE) method. These methods are implemented on an Intel Core(TM) i5-4200U 2.3GB platform with 8GB RAM using Matlab. The test images include Ant, Bacteria, Block, geometric, Junk, Mask, and two casting images.
In this paper, the misclassification error (ME) is adopted as objective criteria to evaluate the performance of the referenced methods. ME [31] is defined as
ME = 1 | B o B T | + | F o F T | | B o | + | F o | ,
for two classes segmentation, where B o and F o represent the background and foreground pixel set of ground-truth image, while B T and F T are the corresponding parts in the thresholded images, | . | represents the element number of a set. The value of ME lies in [ 0 , 1 ] , where 0 implies a perfect segmentation and 1 for a completely wrong segmentation. A smaller ME value indicates a better segmentation quality.
Figure 2 shows all the testing images and corresponding ground-truth images, and Figure 3 exhibits the binary segmentation results through the referenced methods. As is shown in Figure 3, for the Ant image, the proposed method produces the best segmentation result, while Kapur’s method fails to give correct segmentation result. Otsu and MCE methods result in over-segmentation in some region and under-segmentation in other regions. 2DMCE method has some under-segmentation in the Leg part. For Bacteria image, Otsu and MCE method produce incorrect segmentation result. In the segmentation result of Kapur method, there are many background pixels are classified into foreground pixels. As for 2DMCE, there exits under-segmentation phenomenon. Our proposed method produces the best segmentation result with less segmentation error. For Block image, Otsu and Kapur method cannot fully extract the objects from background, while MCE and 2DMCE method has some segmentation error. Only our proposed method gives the correct segmentation result. For geometric image, the Otsu and Kapur method cannot separate the object from background correctly. The other three methods give satisfactory segmentation results. As far as Junk is considered, the Otsu, Kapur and MCE method can extract the object but there are much noises in the segmentation results. 2DMCE and our proposed method give satisfactory segmentation results, while our method gives more accurate result. As for Mask image, Otsu and Kapur method give poor segmentation results. MCE, 2DMCE and our method obtains acceptable segmentation results. For the two casting images, it can be seen that our method produces the best result.
Table 2 lists the obtained thresholds or threshold vectors for two dimensional histogram-based segmentation method and the ME performance index for different referenced methods. It is obvious that the ME of our proposed method is the smallest, indicating the best segmentation results are obtained by our method.
Table 3 lists the execution time of every method. It can be seen that one histogram-based thresholding methods including MCE, Otsu and Kapur expend less time than two dimensional histogram-based thresholding methods. The reason lies in two aspects. One is that it should filter the original image and then formulate two dimensional histogram. The other is that the threshold search range of two dimensional histogram is L × L , while L for one dimensional histogram. The larger the search range, the more time it needs.

4.2. Discussion

Constructing two dimensional histogram by combining the original image and its filtered version is a popular strategy to integrate the spatial information between pixels into the thresholding process, which had been proven to result in higher segmentation performance than a one dimensional histogram. Abutaleb’s method was the first and a successful try [23]. In [23], local mean filter was adopted. From theoretic viewpoint, local mean filter belongs to Gaussian filter, which can smooth edges and details of image. Since Abutaleb’s method assumed that the pixels inside objects or background are similar, while the pixels located at edge or border are different from those in objects or background. If local mean filter smoothed the edges, it is possible that some pixels at edge or noise will be classified into background or objects if Abutaleb’s method is used, and thus higher segmentation error maybe occur. Research results in [30] showed that non-local mean filter is superior to local mean filter. Non-local mean filter can preserve more edges and details than local mean filter in that it finds pixels that are similar to the current pixel in the entire image instead of a local neighborhood and then use the weighted mean of these pixels as the filtered value of current pixel. Therefore, our method can enhance the performance of Abutaleb’s method by reducing segmentation error. This enhancement has been demonstrated by experimental results. Of course, since non-local mean filter is not so effective for pepper and salt noise, if an image is corrupted by pepper and salt noise, its performance improvement will be limited. This is the limitation of our proposed method. In the future, one can develop combined filters to filter the original image if it is corrupted by complex noise. This will be our future effort.
Our proposed method belongs to thresholding method. Usually, its performance is not as good as other sophisticated methods, such as CNN-based method [13]. The main reason is that it uses less information of the image.

5. Conclusions

In this paper, a new thresholding method is proposed based on non-local mean two dimensional histogram. First, the proposed method adopts non-local mean filter to filter the original image. This process can incorporate spatial information between pixels into the filtered image. Then, a non-local mean two dimensional histogram is constructed according the original image and the filtered image. Finally, the minimum relative entropy of the objects and background is calculated based on non-local mean two dimensional histogram, and the optimal threshold vector is determined by minimizing the relative entropy of the objects and background. In experiments, the proposed method is used to segment several real images and compared to some existing thresholding methods. It is shown that the proposed method can obtain better segmentation performance.

Author Contributions

C.J. and Y.T. conceive the idea of the whole paper, and C.J. implements the construction of non-local mean two dimensional histogram. W.Y. and F.W. collect the materials. Y.G. implements the relative entropy and design the whole experiment. Y.G. and Y.T. fulfill the writing of the paper. All authors have read and approved the final manuscript.

Acknowledgments

This work was partially supported by Zhejiang province public welfare project(2017C31126) and Quzhou science and technology projects(2016Y015 and H2018007).

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Derivation of Equation (10)

Let I be an image with N pixels, its gray level lies in F = { f 1 , f 2 , , f N } . Suppose a threshold t separates the image into two classes, i.e., object and background. The gray level of the segmented image is G = { g 1 , g 2 , , g N } . The mean gray level of the two parts are
μ 1 ( t ) = f i < t f i N 1 , μ 2 ( t ) = f i > t f i N 2 ,
respectively, where N 1 and N 2 are the number of pixels that f i < t and f i t , respectively. In [22], the relative entropy between the original image and the segmented image is defined as
D ( F , G | t ) = f i < t f i log f i μ 1 ( t ) + f i t f i log f i μ 2 ( t ) .
By using the concept of histogram, Equation (A2) can be formulated in another way. Let { h 1 , h 2 , , h L } be the histogram of the original image. Each elements h j represents the occurrence number or possibility of gray level j in the image. Using the concept of histogram, Equation (A2) can be equivalently formulated as
D ( F , G | t ) = j = 1 t 1 j h j log j μ 1 ( t ) + j = t L j h j log j μ 2 ( t ) ,
where the mean μ 1 ( t ) and μ 2 ( t ) can be calculated using histogram as
μ 1 ( t ) = j = 1 t 1 j h j j = 1 t 1 h j , μ 2 ( t ) = j = t L j h j j = t L h j .
By extending the definition of relative entropy-based on one dimensional histogram to two dimensional case, one can get Equation (10), i.e.,
D ( P , Q | , s , t ) = i = 0 s j = 0 t i p i j log i μ 0 i + j p i j log j μ 0 j + i = s + 1 L 1 j = t + 1 L 1 i p i j log i μ 1 i + j p i j log j μ 1 j .
In Equation (A5), the term i p i j is similar to the term j h j in (A3), which represents the product of gray level j and its occurrence number.

References

  1. Cao, F.; Cai, M.; Chu, J.; Zhao, J.; Zhou, Z. A novel segmentation algorithm for nucleus in white blood cells based on low-rank representation. Neural Comput. Appl. 2017, 28, 503–511. [Google Scholar] [CrossRef]
  2. Gao, G. A parzen-window-kernel-based CFAR algorithm for ship detection in SAR Images. IEEE Geosci. Remote Sens. Lett. 2011, 8, 557–561. [Google Scholar] [CrossRef]
  3. Malarvel, M.; Sethumadhavan, G.; Bhagi, P.C.R.; Kar, S.; Thangavel, S. An improved version of Otsu’s method for segmentation of weld defects on X-radiography images. Opt. Int. J. Light Electron Opt. 2017, 109, 109–118. [Google Scholar] [CrossRef]
  4. Yuan, X.C.; Wu, L.S.; Peng, Q. An improved Otsu method using the weighted object variance for defect detection. Appl. Surf. Sci. 2015, 349, 472–484. [Google Scholar] [CrossRef] [Green Version]
  5. Stutz, D.; Hermans, A.; Leibe, B. Superpixels: An Evaluation of the State-of-the-Art. Comput. Vis. Image Underst. 2017, 166, 1–27. [Google Scholar] [CrossRef]
  6. Levinshtein, A.; Stere, A.; Kutulakos, K.N.; Fleet, D.J.; Dickinson, S.J.; Siddiqi, K. TurboPixels: Fast superpixels using geometric flows. IEEE Trans. Pattern Anal. Mach. Intell. 2009, 31, 2290–2297. [Google Scholar] [CrossRef] [PubMed]
  7. Ciecholewski, M. River channel segmentation in polarimetric SAR images: Watershed transform combined with average contrast maximisation. Expert Syst. Appl. 2017, 82, 196–215. [Google Scholar] [CrossRef]
  8. Cousty, J.; Bertrand, G.; Najman, L.; Couprie, M. Watershed cuts: Thinnings, shortest path forests, and topological watersheds. IEEE Trans. Pattern Anal. Mach. Intell. 2010, 32, 925–939. [Google Scholar] [CrossRef] [PubMed]
  9. Ding, K.; Xiao, L.; Weng, G. Active contours driven by region-scalable fitting and optimized Laplacian of Gaussian energy for image segmentation. Signal Process. 2017, 134, 224–233. [Google Scholar] [CrossRef]
  10. Balla-Arabé, S.; Gao, X. Geometric active curve for selective entropy optimization. Neurocomputing 2014, 139, 65–76. [Google Scholar] [CrossRef]
  11. Qureshi, M.N.; Ahamad, M.V. An improved method for image segmentation using K-means clustering with neutrosophic logic. Procedia Comput. Sci. 2018, 132, 534–540. [Google Scholar] [CrossRef]
  12. Parida, P.; Bhoi, N. Fuzzy clustering based transition region extraction for image segmentation. Eng. Sci. Technol. Int. J. 2018, 21, 547–563. [Google Scholar] [CrossRef]
  13. Zhao, X.; Wu, Y.; Song, G.; Li, Z.; Zhang, Y.; Fan, Y. A deep learning model integrating FCNNs and CRFs for brain tumor segmentation. Med. Image Anal. 2018, 43, 98–111. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  14. Milletari, F.; Ahmadi, S.A.; Kroll, C.; Plate, A.; Rozanski, V.; Maiostre, J.; Levin, J.; Dietrich, O.; Ertl-Wagner, B.; Bötzel, K.; et al. Hough-CNN: Deep learning for segmentation of deep brain regions in MRI and ultrasound. Comput. Vis. Image Underst. 2017, 164, 92–102. [Google Scholar] [CrossRef] [Green Version]
  15. Khairuzzaman, A.K.M.; Chaudhury, S. Multilevel thresholding using grey wolf optimizer for image segmentation. Expert Syst. Appl. 2017, 86, 64–76. [Google Scholar] [CrossRef]
  16. Wang, B.; Chen, L.; Cheng, J. New result on maximum entropy threshold image segmentation based on P system. Optik 2018, 163, 81–85. [Google Scholar] [CrossRef]
  17. Otsu, N. A threshold selection method from gray-level histogram. IEEE Trans. Syst. Man Cybern. 1979, 9, 62–66. [Google Scholar] [CrossRef]
  18. Kittler, J.; Illingworth, J. Minimum error thresholding. Pattern Recognit. 1986, 19, 41–47. [Google Scholar] [CrossRef]
  19. Pun, T. A new method for gray-level picture thresholding using the entropy of the histogram. Comput. Vis. Graph. Image Process. 1980, 2, 223–227. [Google Scholar]
  20. Wong, K.C.; Sahoo, P.K. A gray-level threshold selection method based on maximum entropy principle. IEEE Trans. Syst. Man Cybern. 1989, 19, 866–871. [Google Scholar] [CrossRef]
  21. Kapur, J.N.; Sahoo, P.K.; Wong, A.K.C. A new method for gray-level picture thresholding using the entropy of the histogram. Comput. Vis. Graph. Image Process. 1985, 29, 273–285. [Google Scholar] [CrossRef]
  22. Li, C.H.; Lee, C.K. Minimum cross entropy thresholding. Pattern Recognit. 1993, 26, 617–625. [Google Scholar] [CrossRef]
  23. Abutaleb, A. Automatic thresholding of gray-level pictures using two-dimensional entropy. Comput. Vis. Graph. Image Process. 1989, 47, 22–32. [Google Scholar] [CrossRef]
  24. Sahoo, P.K.; Arora, G. A thrsholding methd based on two-dimensional Renyi’s entropy. Pattern Recognit. 2004, 37, 1149–1161. [Google Scholar] [CrossRef]
  25. Liu, J.Z.; Li, W.Q. The automatic threshold of gray 2 level pictures via two 2 dimensional otsu method. Autom. Sin. 1993, 19, 101–105. (In Chinese) [Google Scholar]
  26. Sahoo, P.K.; Arora, G. Image thresholding using two-dimensional Tsallis-Havrda-Charvat entropy. Pattern Recognit. Lett. 2006, 27, 520–528. [Google Scholar] [CrossRef]
  27. Xiao, Y.; Cao, Z.; Zhang, T. Entropic thresholding based on gray-level spatial correlation histogram. In Proceedings of the 19th International Conference on Pattern Recognition, Tampa, FL, USA, 8–11 December 2008. [Google Scholar]
  28. Yimit, A.; Hagihara, Y.; Miyoshi, T.; Hagihara, Y. 2-D direction histogram based entropic thresholding. Neurocomputing 2013, 120, 287–297. [Google Scholar] [CrossRef]
  29. Xiao, Y.; Cao, Z.; Yuan, J. Entropic image thresholding based on GLGM histogram. Pattern Recognit. Lett. 2014, 40, 47–55. [Google Scholar] [CrossRef]
  30. Buades, A.; Coll, B.; Morel, J.M. A non-local algorithm for image denoising. In Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), San Diego, CA, USA, 20–25 June 2005; pp. 60–65. [Google Scholar]
  31. Li, Z.; Liu, C.; Liu, G.; Cheng, Y.; Yang, X.; Zhao, C. A novel statistical image thresholding method. Int. J. Electron. Commun. 2010, 64, 1137–1147. [Google Scholar] [CrossRef]
Figure 1. Non-local means two dimensional histogram.
Figure 1. Non-local means two dimensional histogram.
Entropy 20 00827 g001
Figure 2. The testing images and their ground-truth images.
Figure 2. The testing images and their ground-truth images.
Entropy 20 00827 g002
Figure 3. Thresholding results of test image using different methods. From left to right, the results are obtained by Otsu, Kapur, MCE,2DMCE and the proposed method.
Figure 3. Thresholding results of test image using different methods. From left to right, the results are obtained by Otsu, Kapur, MCE,2DMCE and the proposed method.
Entropy 20 00827 g003
Table 1. Comparison of several segmentation methods.
Table 1. Comparison of several segmentation methods.
MethodsAdvantagesDisadvantages
superpixel [5,6]reduce redundant information; less complexitycannot locate the edges accurately
watershed [7,8]simple and intuitionusually result in over segmention
active contour models [9,10]rigorous mathematical base;sensitive noise; high computation complexity
clustering [11,12]intensive value is enough; simplethe number of cluster cannot be determined automatically; spatial information is ignored;
deep learning [13,14]high segmentation accuracylarge computation burden
thresholding [15,16]simple, easy to be implementedignore spatial information
Table 2. The threshold and ME of different methods.
Table 2. The threshold and ME of different methods.
Image The Proposed2DMCEMCEOTSUKAPUR
antthreshold52 5244 456984183
ME0.03440.03790.04810.08290.8852
bacteriathreshold65 6544 45989970
ME0.01010.06050.42660.43980.0221
blockthreshold26 2636 363812088
ME0.01830.06210.06790.28610.2613
geometricthreshold36 3636 364170126
ME0.03240.03470.03810.09860.2323
junkthreshold187 186209 206129134158
ME0.00720.00900.06330.04920.0166
maskthreshold23 2428 303057116
ME0.00160.01290.01360.11340.2860
casting13threshold144 144134 1277480114
ME0.01150.01280.10460.07950.0170
casting18threshold154 153158 15492138114
ME0.00500.00630.22000.00740.0611
Table 3. The computation time of every method (second).
Table 3. The computation time of every method (second).
ImageThe Propsed2DMCEMCEOtsuKapur
ant170.312321.18120.03170.00320.0067
bacteria163.792123.96480.00970.00310.0081
block94.410821.38980.00790.00270.0077
casting1356.51799.28320.00660.00230.0043
casting1456.669110.26390.00680.00270.0051
geometric62.021918.11870.00730.00200.0059
junk116.429514.05630.00610.00190.0045
mask99.111222.32980.00880.00230.0057

Share and Cite

MDPI and ACS Style

Jiang, C.; Yang, W.; Guo, Y.; Wu, F.; Tang, Y. Nonlocal Means Two Dimensional Histogram-Based Image Segmentation via Minimizing Relative Entropy. Entropy 2018, 20, 827. https://doi.org/10.3390/e20110827

AMA Style

Jiang C, Yang W, Guo Y, Wu F, Tang Y. Nonlocal Means Two Dimensional Histogram-Based Image Segmentation via Minimizing Relative Entropy. Entropy. 2018; 20(11):827. https://doi.org/10.3390/e20110827

Chicago/Turabian Style

Jiang, Chundi, Wei Yang, Yu Guo, Fei Wu, and Yinggan Tang. 2018. "Nonlocal Means Two Dimensional Histogram-Based Image Segmentation via Minimizing Relative Entropy" Entropy 20, no. 11: 827. https://doi.org/10.3390/e20110827

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop