Applied Mathematics
Vol.05 No.18(2014), Article ID:51052,10 pages
10.4236/am.2014.518275

Soft image segmentation based on the mixture of Gaussians and the phase-transition theory

Celia A. Z. Barcelos1*, Yunmei Chen2, Fuhua Chen3

1Faculty of Mathematics, Federal University of Uberlândia, Uberlândia, MG, Brazil

2Department of Mathematics, University of Florida, Gainesville, FL, USA

3Department of Natural Science & Mathematics, West Liberty University, West Liberty, WV, USA

Email: *celiazb@ufu.br, yun@math.ufl.edu, fuhua.chen@westliberty.edu

Copyright © 2014 by authors and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY).

http://creativecommons.org/licenses/by/4.0/

Received 24 July 2014; revised 28 August 2014; accepted 15 September 2014

ABSTRACT

In this paper, we propose a new soft multi-phase segmentation model where it is assumed that the pixel intensities are distributed as a Gaussian mixture. The model is formulated as a minimization problem through the use of the maximum likelihood estimator and phase-transition theory. The mixture coefficients, which are estimated using a spatially varying mean and variance procedure, are used for image segmentation. The experimental results indicate the effectiveness of the method.

Keywords:

Image Segmentation, Variational Model, Gaussian Mixture

1. Introduction

Image segmentation is one of the most extensively studied problems in image processing and computer vision. Many different approaches have been proposed for the partitioning of images based on a variety of criteria including brightness (intensity), color, or texture. In general the partitioning of an image or detection of edges is under the assumption that an image consists of several patterns, and each point on the image domain belongs exclusively to only one pattern. Finding boundaries separating the different patterns in this sense is called a hard segmentation. Different to hard segmentation, soft segmentation assumes that each point may belong to more than one pattern. The goal of soft segmentation is to find all the probabilities that each pixel can belong to each pattern. This probability is also called membership (or ownership) in the literature.

One of the most extensively studied approaches for hard segmentation is the variational method. Many effective variational models have been developed, for instance, the Mumford-Shah model [1] , geodesic active contour [2] , geodesic active region [3] , and region competition [4] . Level set technique [5] has been proven to be powerful in the implementation of variational models. In two-phase segmentation the composition of the Heaviside function with the level set function is used to represent the regions of the object and background. In [6] [7] , the authors extended the level set method to multiphase segmentation by using multiple level set functions, while in [8] [9] , the authors proposed another means to extend the level set method by using multiple layers for each level set function. Through the act of carefully choosing the initial values, these methods can work very well. However, the non-convexity of the energy functional in the level set formulation is an inherent drawback of the level set method. As a result, many level set based variational segmentation models are sensitive to initial values and may converge to an undesirable local minimum. This problem is more difficult to deal with for multiphase segmentation.

To overcome the non-convexity problem mentioned above, one approach is to replace the composition of the heaviside function with the level set function in level set formulation by use of a weight/membership function. Through the implementation of this modification the energy is convex with respect to the membership function. For example, Chan et al. [10] and Bresson et al. [11] stated certain non-convex minimization problems for image segmentation and denosing as equivalent convex minimization problems by using membership functions to replace characteristic functions. These new models allow for the finding of global minimizers via standard convex minimization schemes. In particular in [11] efficient and fast numerical schemes to globally minimize the variational segmentation models were proposed. These algorithms are based on a dual formulation of the TV norm proposed and developed in [12] -[16] .

Soft segmentation is also motivated by its applications to real world problems. In medical imaging, due to limited spacial resolution of the equipment, not all the voxels in a segmented region contain the same tissue type, especially near the boundary of two subregions. A typical example is the partial volume effect in MRI brain image segmentation. Instead of labeling each image voxel with a unique tissue type [17] , partial volume segmentation aims at estimating the percentage of each voxel belonging to each tissue, which can be viewed as the probability of the voxel belonging to the tissue. Since soft segmentation allows each pixel to belong to several patterns with certain probabilities, it provides a more flexible mechanism, and thereby keeps more options available for post-processing steps.

There have been many soft segmentation methods. Mory and Ardon extended the original region competition model [4] to a fuzzy region competition method [18] [19] . The technique generalizes some existing supervised and unsupervised region-based model. The proposed functional is convex, which guarantees the global solution in the supervised case. Unfortunately, this method only applies to two-phase segmentation and is difficult to extend to multiphase segmentation. The fuzzy C-mean (FCM) [17] [20] [21] is a method developed for pattern classification and recognition. Hence it is also applicable to image segmentation. The standard FCM model

partitions a data set into clusters by the following objective function [22] [23]

(1)

where is the membership value of datum for class with, and stands for the

cluster centers. The original FCM method is very sensitive to noise. An adaptive fuzzy c-means (AFCM) was proposed by Pham et al. [21] , where the constant cluster centers used in the FCM model are substituted by spatially varying functions. The energy functional can be written as

(2)

where is the bias field and is the regularization term for the bias field. AFCM is more robust to noise than the standard FCM. The soft segmentation model developed in [17] used a different similarity measure to that in [21] . Their objective functional reads as

(3)

where

(4)

stands for the set of neighbors falling into a window around, and is its cardinality. The parame-

ter in the second term controls the effect of the penalty.

Another class of soft segmentation is based on stochastic approaches. It considers that pixel intensities are independent samples from one or several distributions. The likelihood functions have been widely used in soft segmentation. In [24] the maximum-likelihood (ML) is used to find the optimal parameters in the joint pdf such that the likelihood function is maximized. An expectation-maximization (EM) algorithm is used to solve the problem when we are dealing with incomplete data. However, simply using likelihood to model an image is not enough since it ignored the prior knowledge of an image. In [25] the authors proposed an adaptive segmentation method that uses the knowledge of tissue properties and intensity inhomogeneities to correct and segment MR images. The EM algorithm was used to iteratively estimate the posterior tissue class probabilities when the bias field is known, and having a maximum a posteriori principle (MAP) estimator of the bias field, when tissue class probabilities are known.

In [20] , a segmentation framework based on the MAP principle was proposed for partial volume (PV) segmentation of magnetic resonance brain images. A mixture of the probability density functions is considered to address the PV effect. A Markov Random Field (MRF) model is used to define the prior distribution of the mixture coefficient field imposing a smoothness on the mixture coefficients (ownerships). The fuzzy c-means model is extended to define the likelihood function of the observed image.

The phase transition theory in material sciences and fluid mechanics have inspired people to borrow ideas from contemporary material sciences, e.g., the diffuse interface model of Cahn-Hilliard [26] , and its rigorous mathematical analysis in the framework of -convergence approximation by Modica and Mortola [27] [28] into image segmentation. The phase field relaxation consists of approximating the perimeter of the interface using a Cahn-Hilliard type penalization functional [26] , with the form

(5)

where is a scalar function with exactly two minimizers at 0 and 1 satisfying

. The second term of the penalty functional ensures that the values of the material density

converges to 0 or 1 as, while the first term controls the perimeter. The parameter can be interpreted as the width of the diffused edge representation in. The phase field approach has been used in topological optimization problems [29] -[31] . In [32] , the authors used the phase field to approximate sharp edges and a variational phase field model is derived to compute a shape average of a given number of shapes. In [30] , the authors used the phase transition theory in a Cahn-Hilliard impainting model. The authors in [33] and [34] presented a models for image segmentation based upon the phase transition theory of Modica and Mortola and discussed theirs connections to the Mumford-Shah segmentation model and some related works.

In paper [35] , J. Shen proposed a general multiphase stochastic variational fuzzy segmentation model combining the stochastic principle and the Modica-Mortola’s phase-transition theory. The image is defined on an open bounded domain and is assumed that it can be composed of unknown patterns. Let

be the pattern label variable,. At each voxel, both and are

viewed as independent random variables indexed by. The probability that belongs to the i-th pattern, i.e.

, is represented by the ownership functions,.

Denote by the probability density function (pdf) of the random variable

belonging to the i-th pattern. Then the pdf of the image at each is a mixed distribution given by

(6)

Under the assumption that all random variables are independent, we have the following joint pdf

(7)

The regularization is made using a double well potential borrowed from the phase-transition theory. By assuming that all patterns are Gaussian distributions with mean fields , and a fixed variance, the pdf of the mixed Gaussian is given by

(8)

where

(9)

defines the Gaussian probability density function, and

The model is to solve the following minimization problem:

(10)

with constraints

(11)

where are the ownerships and are called patterns. Unlike the original Mumford Shah model, the energy of each channel is defined on the entire domain instead of on a specific subregion. In [36] the authors introduced a functional with a variable exponent into the Shen's model which provides a more accurate model for image segmentation and denoising.

In this paper, we propose a new multiphase soft segmentation model that integrates phase-transition theory into a mixture of Gaussian model for image intensities. The proposed model is an extension of the paper [35] .

The difference between this work and [35] lies in the facts: i) the data fidelity term in the proposed model is a Gaussian mixture model, while the model in [35] is only an approximation of Gaussian mixture model due to simplification. Although this simplification facilitates the numerical computation it does not reflect upon the real behavior of the data; ii) paper [35] assumed that all the variances of different phases are the same and fixed, while in the proposed model each phase could have a different variance which will also be optimized, making the model more flexible and more robust.

This paper is organized as follows: Section 2 addresses the proposed model development. Section 3 presents the implementation details and experimental results. Finally, the conclusion is given in section 4.

2. Proposed Model

In this section, we develop a soft multiphase segmentation model under the assumption that the intensity of the image is distributed as a mixture of Gaussians.

We assume the intensity at each point is an independent sample from a mixed Gaussian distribution with probability. Considering the Equations (6, 7, 8 and 9) the goal of the soft segmentation

is to estimate the optimal vectorial pair of ownerships and patterns,

(12)

Through the Bayesian formula, the posterior given is obtained by

(13)

assuming that the mixture patterns and the mixture rules are independent. Since is given, is constant. So, the Bayesian based optimal problem becomes

(14)

By taking the logarithmic likelihood, we have

(15)

As assumed, all the samples are independently Gaussian distributed. So, we have

(16)

where

(17)

For energies, we use the general variational form, and assume that all pattern channels are inde- pendent to each other. For functions whose gradients are square integrable, we may consider:

(18)

Finally, for energy, we borrow the expression from paper [35] based on material science and -

convergence theory.

(19)

where. Since, the second term will force approximate either 1 or 0. The first term is the regularity condition on each. The advantage of this expression is that it contains the boundary information. By -convergence theory, the term converges to the length of the boundary in the sense of -convergence [37] [38] as goes to zero.

Now, in combination of (15), (16), (18) and (19), the final proposed segmentation model is the minimization of:

(20)

where and are weights balancing the effects of the three terms.

3. Implementation and Experimental Results

Since the energy functional contains three group parameters, in order to minimize the energy, we use the alternating iteration scheme:

Each group parameter can be iterated with its Euler-Lagrange equation. The Euler-Lagrange equation for patterns, ownerships and are as follows:

(21)

(22)

(23)

where is defined as

(24)

Considering that

and since and so.

We can solve the equations (21)-(23) using the flow from their associated Euler-Lagrange equations. The flow equation for is given by:

(25)

The flow equations for and are obtained similarly.

The numerical solution was obtained using finite differences to discretize the flow equations. For the numerical implementation it is supposed that the images are represented by matrices of intensity values. Let denote the value of the image at pixel with and. The flow equations obtain images at scales, or times, with is the step size for equation (25).

We denote by.

(26)

Following the same procedure for and, we have:

(27)

(28)

where and are the step sizes for Equations (27) and (28), respectively,

and, and are given by:

(29)

(30)

(31)

To start the iteration process, we need to choose the initial values for the ownership functions, the patterns and the standard deviations. We also need to choose suitable parameters and. The

adopted procedures is: given, , we take if and

if,.

In Figure 1, a comparison was made between Shen’s model and the proposed model using synthetic images. Figure 1(a) is the original image, which is a piecewise constant image added with constant Gaussian noise. Figure 1(b) and Figure 1(c) are the reconstructed images using the proposed model after 10 iterations and 50 iterations resp., while Figure 1(d) to Figure 1(f) are the images reconstructed using Shen’s model after 50 iterations, 100 iterations and 500 iterations, respectively. We see that the result was improved using the pro- posed model with few iterations. However, when Shen’s model is used very little differences is perceived even when the number of iterations are increased.

In Figure 2, we present a comparison between variances updated and not updated. The original image Figure 2(a) is a piecewise constant image added with different Gaussian noise for different phases. Figure 2(b) is the reconstructed image when variances are not updated, and Figure 2(c) is the reconstructed image when variances are updated. Figure 2(d), Figure 2(f) are three membership functions obtained with variances not updated, while Figures 2(g)-(i) are three membership functions obtained with variances updated.

Figure 3 shows the bias correction in the proposed model when bias is evident prior to correction in an image. Figure 3(a) is the original image. This image was firstly used by X. Bresson and T.F. Chan in their non-local Chan-Vese model [6] . It is clear that the object (disk) in Figure 3(a) is biased. Figure 3(b) and Figure 3(c) are the membership functions obtained using Shen’s model, while Figure 3(d) and Figure 3(e) are the corre- sponding membership functions obtained using the proposed model by setting different variances in the implementation.

In the following experiments, we tested our model on real images. In Figure 4, we carried out the experiment on the MRI brain image. Figure 4(a) presents the original brain image; Figures 4(b)-(d) are ownerships of white matter, gray matter and CSF, respectively. Figure 4(e) is the reconstructed image; Figures 4(f)-(h) are patterns of the three matters. Figure 5 shows a similar result but with natural scene image.

Finally, we take the experiment on a color image, as shown in Figure 6, where Figure 6(a) is the original image; Figures 6(b)-(d) are three phases.

(a) (b) (c) (d) (e) (f)

Figure 1. Comparison between Shen’s model and proposed model using synthetic image.

Figure 2. Comparison between variances updated and not updated.

Figure 3. Comparison between Shen’s model and proposed model using biased image.

Figure 4. (a) Original brain image; (b)-(d) Ownerships of white matter, gray matter and CSF; (e) Reconstructed image; (f)-(h) Patterns of white matter, gray matter and CSF.

Figure 5. (a) Original natural image; (b)-(d) Ownerships of different phases; (e) Recon-structed image; (f)-(h) Patterns of different phases.

Figure 6. Experimental result on color image after 300 iterations.

4. Conclusion

In this paper, we extended the idea in paper [35] and developed a soft multiphase segmentation model. The model is a pure Gaussian mixture model. It allows for the choosing of different means and different variances, which leads to a more flexible model. The experiments show that the model is more robust to noise compared with the previous model. Moreover, with the experiment on MRI brain image, we see the advantage of soft segmentation where we can find and calculate partial volume which is very important for brain image segmen- tation.

Acknowledgements

C.A.Z. Barcelos is partially supported by CNPq-Conselho Nacional de Desenvolvimento Científico e Tec- nológico; Y. Chen is partially supported by NSF grants IIP-1237814 and DMS-1319050.

References

  1. Mumford, D. and Shah, J. (1989) Optimal Approximations by Piecewise Smooth Functions and Associated Variational Problems. Communications on Pure and Applied Mathematics, 42, 577-685. http://dx.doi.org/10.1002/cpa.3160420503
  2. Caselles, V., Kimmel, R. and Sapiro, G. (1997) Geodesic Active Contours. International Journal of Computer Vision, 1, 61-79. http://dx.doi.org/10.1023/A:1007979827043
  3. Paragios, N. and Deriche, R. (2002) Geodesic Active Regions and Level Set Methods for Supervised Texture Segmentation. International Journal of Computer Vision, 46, 223-247. http://dx.doi.org/10.1023/A:1014080923068
  4. Zhu, S.C. and Yuille, A. (1996) Region Competition: Unifying Snakes, Region Growing, and Bayes/mdl for Multiband Image Segmentation. IEEE Transaction on Pattern Analysis and Machine Intelligence, 18, 884-900. http://dx.doi.org/10.1109/34.537343
  5. Osher, S. and Sethian, J.A. (1988) Fronts Propagation with Curvature Dependent Speed: Algorithms Based on Hamilton Jacobi Formulations. Journal of Computational Physics, 79, 12-49. http://dx.doi.org/10.1016/0021-9991(88)90002-2
  6. Vese, L. and Chan. T. (2002) A Multiphase Level Set Framework for Image Segmentation Using the Mumford and Shah Model. International Journal of Computer Vision, 50, 271-293. http://dx.doi.org/10.1023/A:1020874308076
  7. Zhao, B.M.H.-K., Chan, T. and Osher, S. (1996) A Variational Level Set Approach to Multiphase Motion. Journal of Computational Physics, 127, 179-195. http://dx.doi.org/10.1006/jcph.1996.0167
  8. Chung, G. and Vese, L. (2005) Energy Minimization Based Segmentation and Denoising Using a Multilayer Level Set Approach. Energy Minimization Methods in Computer Vision and Pattern Recognition, 3757, 439-455. http://dx.doi.org/10.1007/11585978_29
  9. Lie, M.L.J. and Tai, X.C. (2006) A Variant of the Level Set Method and Applications to Image Segmentation. AMS Mathematics of Computations, 75, 1155-1174. http://dx.doi.org/10.1090/S0025-5718-06-01835-7
  10. Chan, T.F., Esedoglu, S. and Nikolova, M. (2006) Algorithms for Finding Global Minimizers of Image Segmentation and Denoising Models. SIAM Journal on Applied Mathematics, 66, 1632-1648. http://dx.doi.org/10.1137/040615286
  11. Bresson, X., Esedoglu, S., Vandergheynst, P., Thiran, J.P. and Osher, S. (2007) Fast Global Minimization of the Active Contour/Snake Model. Journal of Mathematical Imaging and Vision, 28, 151-167. http://dx.doi.org/10.1007/s10851-007-0002-0
  12. Aujol, J.F. and Chambolle, A. (2005) Dual Norms and Image Decomposition Models. International Journal of Compu- ter Vision, 63, 85-104. http://dx.doi.org/10.1007/s11263-005-4948-3
  13. Aujol, J.F., Gilboa, G., Chan, T. and Osher, S. (2006) Structure-Texture Image Decomposition Modeling Algorithms and Parameter Selection. International Journal of Computer Vision, 67, 111-136. http://dx.doi.org/10.1007/s11263-006-4331-z
  14. Carter, J. (2001) Dual Methods for Total Variation-Based Image Restoration. Ph.D. Thesis, University of California, Los Angeles.
  15. Chambolle, A. (2004) An Algorithm for Total Variation Minimization and Applications. Journal of Mathematical Imaging and Vision, 20, 89-97.
  16. Chan, T., Golub, G. and Mulet, P. (1999) A Nonlinear Primal-Dual Method for Total Variation-Based Image Restoration. SIAM Journal on Scientific Computing, 20, 1964-1977. http://dx.doi.org/10.1137/S1064827596299767
  17. Chen, S. and Zhang, D. (2004) Robust Image Segmentation Using FCM with Spatial Constraints Based on New Kernel-Induced Distance Measure. IEEE Transactions on Systems Man and Cybernetics, 34, 1907-1916. http://dx.doi.org/10.1109/TSMCB.2004.831165
  18. Mory, B. and Ardon, R. (2007) Fuzzy Region Competition: A Convex Two-Phase Segmentation Framework. International Conference on Scale-Space and Variational Methods in Computer Vision, Ischia, 30 May-2 June 2007, 214- 226.
  19. Mory, B., Ardon, R. and Thiran, J.P. (2007) Variational Segmentation Using Fuzzy Region Competition and Local Non-Parametric Probability Density Functions. ICCV 2007, 1-8.
  20. Li, L., Li, X., Lu, H. and Liang, Z. (2005) Partial Volume Segmentation of Brain Magnetic Resonance Images Based on Maximum a Posteriori Probability. Medical Physics, 32, 2337-2345. http://dx.doi.org/10.1118/1.1944912
  21. Pham, D.L. and Prince, J.L. (1998) An Adaptive Fuzzy C-Means Algorithm for the Image Segmentation in the Presence of Intensity Inhomogeneities. Pattern Recognition Letters, 20, 57-68. http://dx.doi.org/10.1016/S0167-8655(98)00121-4
  22. Bezdek, J.C. (1980) A Convergence Theorem for the Fuzzy ISODATA Clustering Algorithm. IEEE Transactions on Pattern Analysis and Machine Intelligence, PAMI-2, 1-8. http://dx.doi.org/10.1109/TPAMI.1980.4766964
  23. Dunn, J.C. (1973) A Fuzzy Relative of the ISODATA Process and Its Use in Detecting Compact Well-Separated Clusters. Journal of Cybernetics, 3, 32-57. http://dx.doi.org/10.1080/01969727308546046
  24. Dempster, A., Laird, N. and Rubin, D. (1977) Maximum Likelihood from Incomplete Data via the EM Algorithm. Journal of the Royal Statistical Society, Series B, 39, 1-8.
  25. Wells, W., Grimson, E., Kikinis, R. and Jolesz, F. (1996) Adaptive Segmentation of MRI Data. IEEE Transactions on Medical Imaging, 15, 429-442. http://dx.doi.org/10.1109/42.511747
  26. Cahn, J. and Hilliard, J. (1958) Free Anergy of a Non-Uniform System. I. Interfacial Free Energy. The Journal of Che- mical Physics, 28, 258-267. http://dx.doi.org/10.1063/1.1744102
  27. Modica, L. (1987) The Gradient Theory of Phase Transitions and the Minimal Interface Criterion. Archive for Rational Mechanics and Analysis, 98, 123-142.
  28. Modica, L. and Mortola, S. (1977) Un esempio di Gamma-convergenza. Bollettino della Unione Matematica Italiana B, 14, 285-299.
  29. Bourdin, B. and Chambolle, A. (2003) Design-Dependent Loads in Topology Optimization. ESAIM: Control, Optimisation and Calculus of Variations, 9, 19-48. http://dx.doi.org/10.1051/cocv:2002070
  30. Burger, M. and Stainko, R. (2006) Phase-Field Relaxation of Topology Optimization with Local Stress Constraints. SIAM Journal on Control and Optimization, 45, 1447-1466. http://dx.doi.org/10.1137/05062723X
  31. Wang, M.Y. and Zhou, S. (2004) A Variational Method for Structural Topology Optimization. CMES, 6, 547-566.
  32. Rumpf, M. and Wirth, B. (2009) A Nonlinear Elastic Shape Averaging Approach. SIAM Journal on Imaging Sciences, 2, 800-833. http://dx.doi.org/10.1137/080738337
  33. Jung, Y., Kang, S. and Shen, J. (2007) Multiphase Image Segmentation via Modica-Mortola Phase Transition. SIAM Applied Mathematics, 67, 1213-1232. http://dx.doi.org/10.1137/060662708
  34. Li, Y. and Kim, J. (2011) Multiphase Image Segmentation Using a Phase-Field Model. Computers and Mathematics with Applications, 62, 737-745. http://dx.doi.org/10.1016/j.jmaa.2011.05.043
  35. Shen, J. (2006) A Stochastic Variational Model for Soft Mumford-Shah Segmentation. International Journal of Biome- dical Imaging. Published Online.
  36. Posirca, I., Chen, Y. and Barcelos, C.Z. (2011) A New Stochastic Variational PDE Model for Soft Mumford-Shah Seg- mentation. Journal of Mathematical Analysis and Applications, 384, 104-114. http://dx.doi.org/10.1016/j.jmaa.2011.05.043
  37. Ambrosio, L. and Tortorelli, V.M. (1990) Approximation of Functional Depending on Jumps by Elliptic Functional via t-Convergence. Communications on Pure and Applied Mathematics, 43, 999-1036. http://dx.doi.org/10.1002/cpa.3160430805
  38. Ambrosio, L. and Tortorelli, V.M. (1992) On the Approximation of Free Discontinuity Problems. Bollettino della Unione Matematica Italiana, 6, 105-123.

NOTES

*Corresponding author.