746
Views
3
CrossRef citations to date
0
Altmetric
Research Article

A novel fuzzy energy based level set method for medical image segmentation

ORCID Icon & | (Reviewing editor)
Article: 1475032 | Received 13 Jan 2018, Accepted 08 May 2018, Published online: 29 Jun 2018

Abstract

Segmentation is a very important step in the field of image processing. Noise and intensity inhomogeneity make challenging the segmentation of images, especially for medical images. Fuzzy C-means (FCM) clustering is one of the most widely used methods in medical image segmentation, but it can not deal effectively with noise and intensity inhomogeneity. Accurate segmentation capability of level set-based active contour models make them attractive in medical image analysis but they also fail to perform better when medical images are corrupted by noise. To deal with Gaussian noise and intensity inhomogeneity, a new region-based level set model is proposed by integrating active contour and FCM clustering. In this method, FCM-based energy function is used with level set method to overcome local minimum problem of active contour modal. Distance Regularized Level Set Evolution (DRLSE) is used in proposed method to deal with re-initialization problem of traditional level set method. These two modifications in level set modal effectively deal with intensity inhomogeneity of medical image. A mean filter-like spatial term is also utilized with the proposed energy function, which makes this method advantageous for segmenting noisy images. The planned scheme is verified on diverse real medical images and synthetic images, which contain noise as well as intensity inhomogeneity. The proposed method is compared with other state-of-the-art methods in terms of Segmentation Accuracy, Precision, and Recall. Results show that the proposed method offers better performance compared to other latest methods for segmentation of noisy images.

PUBLIC INTEREST STATEMENT

Image segmentation is the division of an image into its elements/regions and it is a very important aspect of medical image processing used for pathological diagnosis. Segmentation Accuracy is commonly used parameter for performance analysis of any techniques used for image segmentation. Intensity inhomogeneity and noise are the prime hurdles for precise segmentation of medical images. Proposed method deals efficiently with noise and intensity inhomogeneity of medical images.

1. Introduction

For medical images, active contour models are very efficient in distinguishing the boundaries. Active contours, referred as snakes, are the models which are used to extract the objects by making curves evolve by minimizing a defined energy. The energies used in these models are such that they are minimized when the curves evolve at the borders of the required object. Usually, these energies have two main components; internal energy and external energy. Internal energy makes the evolving curve smooth regularizing it, and external energy guides the motion of the curve toward its optimal position. The commonly used external energies are edge based (Caselles & Kimmel, Citation1997; Kichenassamy, Kumar, Olver, Tannenbaum, & Yezzi, Citation1995; Malladi, Sethian, & Vemuri, Citation1995) and region based (Chan & Vese, Citation2001; Li et al., Citation2011; Mumford & Shah, Citation1989; Vese & Chan, Citation2002). The active contour models make an automatic search for their minimum energy positions, but sometimes they may settle at a local minimum which makes them less effective. Integration of level sets approaches with edge-based active contour models and then applying them to image processing application was pioneered by Malladi et al. (Citation1995). Until then, Snake models were implemented based on parameterized approaches which face a lot of complexities. Their proposed method includes an energy term based on edge information into a level set model which normally utilizes curvature motion. A similar approach based on level sets was proposed by Caselles, Catte, Coll, and Dibos (Citation1993). After several years, Caselles and Kimmel (Citation1997) propose one more approach based on edge information called as Geodesic Active Contours. A gradient flow-based model which is similar to Caselles and Kimmel (Citation1997) was planned by Kichenassamy (Citation1995) in the same year.

Mumford and Shah (Citation1989) proposed a region-based approach to approximate an image using a piecewise smooth model of it. In this approach, energy term is minimized when the approximation contains smooth regions as well as a sufficient number of edges that can model the given image. The implementation approach for a particular solution of the Mumford–Shah model is given by Chan and Vese (Citation2001). In this model, a piecewise constant approximation of an image is obtained instead of piecewise smooth. The required approximation of the image is achieved by using a level set model developed by Osher and Sethian (Citation1988). The multiphase extension of (Chan & Vese, Citation2001) is proposed in (Vese & Chan, Citation2002) by Vese et al. In the recent years, many advance models are made based on the Chan and Vese (Citation2001) model. One of such is proposed by C. Li et al. (Citation2011) to overcome the intensity inhomogeneity. An energy function based on K-means clustering model is used in the suggested technique. The intensity is modeled using a multiplicative bias field term, and a local intensity clustering property is utilized to deal efficiently with inhomogeneity. Chen, Zhang, and Macione (Citation2009) also suggested a method to deal with intensity inhomogeneity almost with the similar approach as in (Li et al., Citation2011) but using an additive bias field. The region-based model depends less on initial level set but edge-based models commonly suffer from the problem of level set initialization. B.N. Li, Chui, Chang, and Ong (Citation2011) have used Fuzzy C-means (FCM) clustering’s membership function to initialize level set to overcome this problem. They also used the membership function to select the parameters required in the level set model. Cui, Wang, Fan, Feng, and Lei (Citation2013) have utilized the local intensity clustering property in forming a new FCM-based clustering. L. Tang (Citation2014) has utilized the concept of introducing fuzziness into the level set approach. They suggested an energy function by integrating FCM_S1&S2 model proposed by Chen and Zhang (Citation2004) and level set model proposed by Samson, Blanc-F´eraud, Aubert, and Zerubia (Citation2000). This model successfully segments out images with high noise, but most of the methods fail to perform better when medical images have noise and intensity inhomogeneity; so in proposed work, a novel fuzzy energy-based level set method along with Distance Regularized Level Set Evolution (DRLSC) and mean filter-based spatial term is proposed for medical image segmentation. The main contributions of the paper are as follows:

  1. Proposed method effectively deals with intensity inhomogeneity of medical image using FCM-based energy function and DRLSC.

  2. FCM membership function with multiplicative bias field term is used to overcome the problem of local minimum and DRLSC is used to deal with irregularities, developed due to re-initialization during level set evolution.

  3. Proposed mean filter-based spatial term along with FCM-based energy function is used to minimize noise effect.

  4. Proposed method provides superior segmentation results for medical images with intensity inhomogeneity as well as noise, and results are compared with other state-of-the-art methods in terms of Segmentation Accuracy (SA), Precision, and Recall.

The composition of the research paper is in this way. Section-2 of the research paper deals with background work in this field. The proposed method is discussed in section-3. Section-4 includes results/performance analysis with algorithm and implementation issues. Conclusion, which is followed by references, is explained in section-5.

2. Background

The proposed method is based on Mumford–Shah Model (Citation1989) and Two-Phase Chan–Vese Model (Citation2001) for image segmentation so these methods are explained in this section with the implementation of Chan–Vese Model for two-level Sets.

2.1. Mumford–Shah model

Mumford and Shah (Citation1989) proposed a piecewise smooth model to segment the image, based on the following assumptions:

  1. The image varies smoothly in the region

  2. The image varies discontinuously across the boundaries between regions.

Let us assume that I: ΩR is a gray-level image, where Ω represents the image domain. Segmentation of the image is achieved by dividing Ω into different regions Ω1, Ω2,, ΩN, those are separated by a contour C and represented as:

(1) Ω=UiΩiC(1)

To achieve piecewise smooth approximation of the image I, the energy function proposed by Mumford–Shah model should be minimized, which is given by:

(2) FMS=Ω1u2dx+μΩ/Cu2dx+v|C|(2)

where μand v are fixed parameters. u signifies the piecewise soft approximation of the observed image I. Value of u is such that it contains smoothly varying values in a region Ω and varies rapidly across the boundaries. The first and second terms in the above model ensure that u follows the above-described properties of the image. The first term makes sure that u is close to the image, I. Smoothness of uis controlled by the second term. Term C gives the length of the curve to regularize the contour.

2.2. Two-phase Chan–Vese model

The implementation approach for Mumford–Shah (Citation1989) model was proposed by Chan&Vese (Citation2001) by taking a special case of the piecewise constant model, where the piecewise smooth model uis replaced by a piecewise constant approximation of it. In this case, energy function given by Equation (2) is represented like:

(3) FMCΩ1,Ω2..ΩN=i=1NΩiIui2dx+Ωiui2dx+v|Ci|(3)

For two-phase Chan–Vese model, two separate regions Ω1 and Ω2 in the image are achieved by minimization of abovementioned Chan–Vese model. Regions Ω1 and Ω2 are separated by a contour C and Ω1, Ω2 are inside and outside regions, respectively, with reference to contour C. It is assumed that the intensities inside these two regions are approximately constant. The fitting energy function used for this purpose is given by:

(4) EC= E1C+E2C= Ω1 Ic12dx+Ω2 Ic22dx(4)

where c1 and c2 represent the average intensity of an image in the regions Ω1, Ω2, respectively.

The fitting function has value as per contour C like:

E(C) = \,\left\{ \matrix{ {E\left({{C_0}} \right) = 0;{\rm{ If\ }}C{\rm{\ is\ exactly\ at\ boundary}}}  \cr \cr {{E_1}\left(C \right)\ \gt\ 0,\ {E_2}\left(C \right)\ \lt\ 0;{\rm{If\ }}C{\rm{\ is\ inside\ of\ boundary}}}  \cr \cr {{E_1}\left(C \right)\ \lt\ 0,{E_2}\left(C \right)\ \gt\ 0;{\rm{If\ }}C{\rm{\ is\ outside\ of\ boundary}}}}}\right.

By adding regularization terms to the fitting function given by Equation (4), energy function given by Chan&Vese becomes:

(5) Fc1,c2,C=μ LengthC+v AreaΩ+λ1Ω1 Ic12dx+λ2Ω2 Ic22dx(5)

where μ and vare constant parameters whose values can be positive or zero. Values of λ1,λ2 affect the weight given to the regions, most of the cases they are taken as unity. Length (C) is the length of curve/contour and Area (Ω) is the area of the image, I. This model will be equivalent to the Mumford–Shah model if v=0, λ1=λ2=λ  and the constant approximations c1,c2 are replaced by piecewise smooth approximations.

2.3. Implementation of Chan–Vese model for two-level set

If curve/contour C is represented by zero-level set ϕ0x of level set function ϕx: ΩR, two-level sets function is defined (Osher & Sethian, Citation1988) as:

(6) ϕx=xC;ϕx=0 xΩ1;ϕx > 0 xΩ2;ϕx < 0  (6)

and Length (C) and Area (Ω) are given by:

(7) Length C=Length ϕ=0=Ω  Hϕxdx= Ω δ0ϕxϕxdx(7)
(8) Area Ω=Areaϕ0=Ω Hϕxdx(8)

where H(ϕx represents Heaviside function and δ0ϕx represents Dirac delta function. They are defined as:

(9) Hz=1, if z00, if z < 0(9)
(10) δ0z=dHzdz(10)

The fitting energy terms for two-level sets function become:

(11) E1C=Ω1 Ic12dx=ϕ>0 Ic12dx=Ω Ic12Hϕxdx(11)

and

(12) E2C=Ω2 Ic12dx=ϕ<0 Ic22dx=Ω Ic22(1Hϕxdx(12)

The Chan–Vese energy function for two level sets become:

Fcvc1,c2,C=μΩ δ0ϕxϕxdx+vΩ Hϕxdx+λ1Ω Ic12Hϕxdx+λ2Ω Ic22(1Hϕxdx

3. Proposed method

To deal with noise and intensity inhomogeneity of medical image, FCM-based energy function is used in the level set method to overcome the local minimum problem of active contour modal. Distance Regularized Level Set Evolution (DRLSE) is used in the proposed method to deal with the re-initialization problem of traditional level set method. These two modifications in level set modal effectively deal with intensity inhomogeneity of medical image by solving local minimum and re-initialization problems of active contour modal. A mean filter-like spatial term is also utilized with the proposed energy function to minimize noise effect, which makes this method advantageous for segmenting noisy images. Important characteristics of the proposed method are:

  1. It is implemented using the level set method.

  2. A fuzzy-based energy function is derived with consideration of region information and multiplied by a weight factor.

  3. The intensity of the image is assumed to be modeled by original intensity multiplied by a biased field. The estimation of the biased field is carried out parallel to the evolution of level set using DRLSE, which makes it helpful to deal with inhomogeneity of medical image.

  4. An improvement to membership of updating function is done by considering the spatial information and second update of membership values by using a spatial term, which results in de-noising of the medical image.

The workflow diagram of proposed method is depicted in Figure as

Figure 1. Workflow diagram of proposed method.

Figure 1. Workflow diagram of proposed method.

The proposed method is explained and implemented using following steps:

  1. Image preprocessing

  2. Calculation of local region-based energy function for image by using the FCM concept

  3. Two-phase level set formulation

  4. Multiphase level set formulation

  5. Equations updation

  6. Spatial term for reducing noise effect

3.1. Image preprocessing

Edge preserving filtering is used to preserve edge information in images. In the proposed research work, the median filter is used for edge-preserving smoothing of medical images. The median filter is a sliding-window spatial filter which replaces the center value with the median of all the pixel values in the window. Usually, the square kernel is used in case of the median filter but other shapes can be also used. A 3 × 3 window is used in proposed research work for edge-preserving smoothing of medical images.

3.2. Local region-based energy function

The Local region-based model is used to define energy function of proposed model by using the FCM concept. This fuzzy factor assigns each pixel to a particular region based on its membership function. For the medical image, this arrangement of pixel assignment is more suitable instead of hard assignment (Chen & Zhang, Citation2004) and this membership function is also utilized to decrease the result of noise. There are two purposes to be achieved using energy function, one is segmentation of image and other is to estimate the bias field. Real-world images can be modeled as a multiplicative field, added by noise. This can be represented as:

(14) I=bJ+n(14)

where I is the observed image, J is the true image, b represents bias filed term, which represents intensity inhomogeneity, and n is the additive noise. Salt and Pepper noise, Speckles noise, Blurred noise, Gaussian noise, and Poisson noise are commonly affected noises in medical images. Additive Gaussian noise with zero mean and constant variance is targeted in this research work. It is the most common type of noise in medical images results from the contributions of many independent signals (Gravel, Beaudoin, & De Guise, Citation2004).

The assumptions made in this model are:

  1. The true image J is assumed as a piecewise constant. i.e. in a given region Ωi, it takes a constant value ci.

  2. Bias field b varying very slowly which implies that in a small neighborhood, b is constant.

In given image, I which is modeled using the Equation (14) and based on the above assumptions, the value of bias field, b in a local neighborhood region is considered as constant. i.e. for a circular region, Oyx:|xy|r of the image, shown in Figure , where r represents the radius of circular region and yΩ, the value of bias field is:

Figure 2. Representation of local region O y .

Figure 2. Representation of local region O y .
(15) bxby for xOy(15)

By using Equations (14) and (15), intensity in the local region is modeled as:

(16) Ix= byJx+nx for xOy(16)

By using the first postulation aboutJ(x), I(x) given by Equation (16) is expressed as:

(17) Ix= byCi+nx for xOyΩi(17)

The additive Gaussian noise term can be eliminated if pixels in a region Ωi, are considered to be part of a Gaussian distribution with mean mi=byci

The local region Oy can be divided into N clusters, having centers at mibyci, i varying from 1 to N. In this case, energy term of local region by using the FCM is given by:

(18) Fy=i=1NOyΩiuimxIxmi2dx(18)

The fuzzy factor mdecides the fuzziness and its value is normally taken as 2. In a local region Oy, center of the cluster mi can be replaced by byci and a window function is characterized as:

(19) WyxWyx=0,x Oy(19)

By using Equations (18) and (19) energy can be written in term of window function as:

(20) Fy= i=1N Ωi uimxWyx Ibyci2dx(20)

The overall energy by considering the total image domain Ω is given by:

(21) F\left({b,c,u,{{\rm{\Omega }}_{1}},{{\rm{\Omega }}_{2}} \ldots {{\rm{\Omega }}_N}} \right) \buildrel \Delta \over = {\mathop \int ^ ^}\left\{ {\mathop \sum \limits_{i = 1}^{N} \,\,\mathop \int \limits_{{{\rm{\Omega }}_i}}^{\ } u_i^{m}\left(x \right)W\left({y - x} \right)\, \, {{\left({I - b\left(y \right){c_i}} \right)}^{2}}dx} \right\}dy\quad\quad\quad\quad\quad\quad\quad\quad\quad\,(21)

where c=c1,  c2.cN  represents the constants. The selection of Kernel W is flexible. It should take null values outside the local region i.e. (z) = 0 for z>r and inside the region, it should have a sum of unity i.e. Wz=1.

W (z) used in this model is:

(22) Wz=1aeu2/2σ2, for ur0, otherwise  (22)

Selection of the parameter a will depend on the value of σ (standard deviation) such that relation {\mathop \int \nolimits{^} {^}}W\left(z \right) = 1 is satisfied. The selection of r is one of the crucial factors and the assumptions made on bias field are valid only when the neighborhood is small. The bias field varies faster so the value of r should be small.

3.3. Two-phase level set formulation

In the two-phase level set model of the proposed model, the image is divided into two regions Ω1 and Ω2 using a single-level set ϕ. The two regions are defined using the level set as:

  1. In the region Ω1, M1ϕ=Hϕ

  2. In Ω2, M2ϕ=1Hϕ

Energy function is rewritten using these definitions and Equation (21) as:

(23) F\left({b,c,u,\phi } \right) \buildrel \Delta \over = {\mathop \int \nolimits^ ^}\left\{ {\mathop \sum \limits_{i = 1}^{2} {{\mathop \int \nolimits^ }^}u_i^{m}\left(x \right)W\left({y - x} \right){\ }{{\left({I - b\left(y \right){c_i}} \right)}^{2}}{M_i}\left({\phi \left(x \right)} \right)dx} \right\}dy\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\(23)

By exchanging order of integration, Equation (23) becomes:

(24) F\left({b,c,u,\phi } \right) \buildrel \Delta \over = {\mathop \int \nolimits^ ^}\mathop \sum \limits_{i = 1}^2 u_i^m\left(x \right){\ }{e_i}\left(x \right){\ }{M_i}\left({\phi \left(x \right)} \right)dx\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\(24)

where ei(x) is defined as:

(25) {e_i}\left(x \right) = {\ }{\mathop \int \nolimits^ ^}W\left({y - x} \right){\left({I - b\left(y \right){c_i}} \right)^2}dy\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\ \ \ \ \,(25)

eix can be rearranged in matrix form as:

(26) eix= I21K2ciIbK+ci2b2K(26)

where * represents the convolution and

(27) {1_K} = {\ }{\mathop \int \nolimits^ ^}W\left({y - x} \right)dy{\ }\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\ \(27)

The energy used for level set model is given by

(28) Fb,c,u,ϕ=Fb,c,u,ϕ+vLϕ+μRpϕ(28)

In this equation, Fb,c,u,ϕ is used as data term. Lϕ and Rϕ act as regularizing terms which are defined as:

(29) Lϕ=Ω  Hϕdx(29)

and

(30) {R_p}\left(\phi \right) = {\rm{ }}{\mathop \int \nolimits^ ^}p\nabla \left(\phi \right)dx\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\,(30)

Lϕ represents length of contour or zero-level set of ϕ, which serves purpose of keeping the curve smooth by punishing length of it, and term  Rpϕ is used to avoid re-initialization in level set evolution. Re-initialization is one of the disadvantages of the traditional level set model. During level set evolution, they develop irregularities and leads to numerical errors (Caselles & Kimmel, Citation1997). To overcome this, formal approach is to stop the evolution by using a signed distance function to redesign it. It is quite tricky to predict suitable time to apply re-initialization. To overcome this conflict, Li, Xu, Gui, and Fox (Citation2010) planned a term called DRLSC. In level set functions signed, distance is maintained by this term. The gradient descent form for evolution of level set function is specified as

(31) ϕt=Fϕ(31)

when energy term Fb,c,u,ϕ is minimized with reference to ϕ(b, c as constants), Equation (31) results in

(32) ϕt=δϕ(u1me1u2me2+v divϕϕ μ divdpϕϕ(32)

where

(33) dpz=Δpss(33)

To achieve optimal solution using energy function along with level sets function, values of bias field b and constants c are also updated in a repetitive manner.

3.4. Multiphase level set formulation

The two-phase model can be extended to multiphase model, which is utilized for image segmentation using proposed energy function. In this case, k ≥ log2N-level sets are required to solve the N-Phase problem. Ω can be divided into N regions, which are represented by Miϕ1x,ϕ2xϕkx and are defined as

(34) {M_i}\left\{ {{\phi _1}\left(x \right),{\phi _2}\left(x \right) \ldots \ldots \ldots {\phi _k}\left(x \right)} \right\} = \left\{ \matrix{ {1,{\ }if{\ }x \in {\ }{{\rm{\Omega }}_i}{\ }} \cr {0,{\ }Otherwise}}\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\ \,right.(34)

Energy function for multiphase is given by

(35) F\left({b,c,u,\phi } \right) \buildrel \Delta \over = {\mathop \int \nolimits^ ^}\mathop \sum \limits_{i = 1}^N u_i^m\left(x \right){\ }{e_i}\left(x \right){\ }{M_i}\left({\phi \left(x \right)} \right)dy\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\(35)

where ϕ=ϕ1,ϕ2ϕk represents the level set vector.

The final energy function with regularizing terms is given by:

(36) Fb,c,u,ϕ=Fb,c,u,ϕ+vi=1kLϕi+μi=1k Rpϕi(36)

The gradient descent equations are obtained by minimizing Fb,c,u, ϕ with respect to ϕ(b, c as constants) as:

(37) ϕjt=i=1NMiϕϕj uimxeix+δ(ϕj) v divϕjϕjμ divdpϕjϕj(37)

where j = 1, 2,………k

3.5. Equations updation

The updating equations for the bias field b, member ship function u, and constants c are obtained by minimizing Fb,c,u,ϕ with respect to b, u, or c by keeping other variables constant. To get the update equation for c, Fb,c,u,ϕ is minimized with reference to c by keeping b, u and ϕ as constants. For derivative of Fb,c,u,ϕ with respect to cj by taking b, u and ϕ as constant, all other terms of the summation in Equation (35) are independent of cj , except the jth term so by putting derivative of Fb,c,u,ϕ equal to zero, following relation is obtained:

(38) {{\partial F\left({b,c,u,\phi } \right)} \over {\partial {c_j}}} = {\ }{\mathop \int \nolimits^ ^}u_j^m\left(x \right){{\partial {e_j}\left(x \right)} \over {\partial {c_j}}}{M_j}\phi dx = 0\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\(38)

And by taking derivative of eix (given by Equation (25)) with respect to cj with taking b, u and ϕ as constant:

(39) {{\partial {e_j}\left(x \right)} \over {\partial {c_j}}} = - 2{\mathop \int \nolimits^ ^}W\left({y - x} \right)\left({I\left(x \right) - b\left(y \right){c_j}} \right)b\left(y \right)\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad(39)

By using Equations (38) and (39):

(40) {{\partial F\left({b,c,u,\phi } \right)} \over {\partial {c_j}}} = {\mathop \int \nolimits^ ^}u_j^m\left(x \right){\mathop \int \nolimits^ ^}W\left({y - x} \right)\left({I\left(x \right) - b\left(y \right){c_j}} \right)b\left(y \right){M_j}\left(\phi \right)dx = 0\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad(40)

or

(41) {\mathop \int \nolimits^ }u_j^m\left(x \right)I\left(x \right){M_j}\left(\phi \right)\left({{{\mathop \int \nolimits^ }^}W\left({y - x} \right)b\left(y \right)dy)} \right)dx = {c_j}{\ }{\mathop \int \nolimits^ ^}u_j^m\left(x \right){M_j}\left(\phi \right)({\mathop \int \nolimits^ ^}W\left({y - x} \right){b^2}\left(y \right)dy)dx{\ }\quad\quad\quad\ \ \ \(41)

so,

(42) {C_j} = {{{{\mathop \int \nolimits^ }^}\left({b*W} \right)I{M_j}{\ }\left(\phi \right)dx} \over {{{\mathop \int \nolimits^ }^}\left({b*W} \right){M_j}\left(\phi \right)dx}}(42)

where j=1,2..N

The equation for bias field is updated by minimizing Fb,c,u,ϕ with respect to b by keeping c,u,ϕ as constants. To minimize Fb,c,u,ϕ, derivative of Fb,c,u,ϕ(given by Equation (35)) with respect to b is set equal to zero, which results in the following relation:

(43) Fb,c,u,ϕby= i=1kuimxeixbMiϕdx=0(43)

And by taking derivative of eix (given by Equation (25)) with respect to b by taking c, u and ϕ as constant:

(44) eixby=2WyxIxbycici(44)

By using Equations (43) and (44):

(45) Fb,c,u,ϕby=i=1kuimxWyxIxbycici Miϕdx=0(45)

or

(46) {\int}W\left({y - x} \right)\left\{{ {\mathop \sum \limits_{i = 1}^{k} u_{i}^{m}I\left(x \right){M_{i}}\left(\phi \right){c_{i}}} \right\}dx = b\left(y \right)\left\{{{{\int }W\left({y - x} \right)(\mathop \sum \limits_{i = 1}^k u_{i}^{m}{M_{i}}\left(\phi \right)c_{i}^{2})dx}} \right\}\quad\quad\quad\quad\quad\quad\quad\ \,(46)

so

(47) bˆ=IJ1WJ2W(47)

where

(48) J1=i=1NMiϕciuim(48)

and

(49) J2=i=1NMiϕci2uim(49)

To get updating equation for uj, energy term is solved using Lagrange multiplier as

(50) Fm=F+λ1i=1kuimx(50)

and

(51) i=1muimx=1,x(51)

These equations are updated by considering derivative of Fm with reference to uj (with c,b, ϕ as constants) and equating it to zero. The estimated value of uj can be found as:

(52) Fmujx=mujm1xejxλ=0(52)
(53) \^uj=λ/mujm1xejx1m1(53)

and

(54) i=1kuimx=1,x(54)

By using Equations (53) and (54):

(55) i=1kλ/muim1x eixm/m1=1(55)

so

(56) λ=i=1kmuim1xeix1/m1m1(56)

By substituting value of λ in Equation (53) gives:

(57) \^uj=ujm1xejx1/m1i=1kuim1xeix1/m1(57)

3.6. Spatial term for reducing noise effect

A spatial term for fuzzy clustering using membership function is used in the level set formulation of the proposed method to subjugate noise effect. At every step along with bias filed, constants, and membership functions, the spatial term is also calculated. In the proposed method, spatial term is average of membership values of neighboring pixels and given as:

(58) hix=xrNRxuixr(58)

By taking this extra spatial term into consideration, a pixel membership value is decided by the neighboring pixels. i.e. even if the center pixel is noisy, its effect can be truncated. Using this spatial term, the membership function is updated as:

(59) {u_{i}}\left(x \right) = {\ }{{u_{i}^{p}\left(x \right)h_{i}^{q}\left(x \right)} \over {\sum \nolimits{^{k}_{j = 1}u_{j}^{p}\left(x \right)h_{j}^{q}\left(x \right)}}(59)

where p and q represent the weight given to each term. If noisy is heavy, more weight is given to the spatial term by considering large values for q. Median filter, Wiener filter, and Gaussian filter are also tested in the proposed method in place of mean filter-based spatial term. The median filter performs better for removing Salt and Pepper noise and Poisson noise, Wiener filter performs for removing Speckles noise and Gaussian filter for the Blurred noise. But in case of additive Gaussian noise with zero mean and constant variance, mean filter-based spatial term gives best results.

4. Results

The proposed method is verified with numerous synthetic images and real medical images, and results are compared with some of the states-of-the-art techniques. A CT scan image of the heart is taken from Cornell university database (www.via.cornell.edu/database) and MRI images are taken from database (www.humanconnectome.org) of Connectome Coordination Facility (CCF). Figure displays corresponding results against evaluation of proposed method on a CT scan image of heart as:

Figure 3. Contour evaluation using different types of initialization.

Figure 3. Contour evaluation using different types of initialization.

Initial contour in Figure ) and Figure ) is inside of the region of interest and in Figure ), it is completely outside of the region. In all cases, the final contour is same and results are independent of initialization of initial contour. Here, proposed method is used without the spatial term. If the spatial term is also included in the proposed method, results are same since these images are without noise.

The original CT scan image, final segmented image, and bias field and corrected image using the bias filed are given in Figure as:

Figure 4. (a) Original CT scan image (b) Final segmented image (c) Bias field (d) Corrected image using the bias filed.

Figure 4. (a) Original CT scan image (b) Final segmented image (c) Bias field (d) Corrected image using the bias filed.

In Figures , Brain MRI images obtained from web data set of CCF are used. The MRI data used are T1 normal MRI of 1 mm thickness with noise density of 9% and intensity non-uniformity of 40%.

Figure 5. Results of the proposed method and C. Li et al. (Citation2011) on a noisy MRI image. (a, b) Bias field & final contour using Li’s method (c, d) Bias field & final contour using the proposed method.

Figure 5. Results of the proposed method and C. Li et al. (Citation2011) on a noisy MRI image. (a, b) Bias field & final contour using Li’s method (c, d) Bias field & final contour using the proposed method.

Figure 6. Results of the proposed method and B.N. Li et al. (Citation2011) on a noisy MRI image. (a, b) Bias field & final contour using B.N Li’s method (c, d) Bias field & final contour using the proposed method.

Figure 6. Results of the proposed method and B.N. Li et al. (Citation2011) on a noisy MRI image. (a, b) Bias field & final contour using B.N Li’s method (c, d) Bias field & final contour using the proposed method.

Figure 7. Results of the proposed method and W. Cui et al. (Citation2013) on a noisy MRI image. (a, b) Bias field & final contour using W. Cui method (c, d) Bias field & final contour using the proposed method.

Figure 7. Results of the proposed method and W. Cui et al. (Citation2013) on a noisy MRI image. (a, b) Bias field & final contour using W. Cui method (c, d) Bias field & final contour using the proposed method.

It can be observed from the images that final contour obtained by other methods is affected by the noise, and in case of the proposed method, the noise effect is either almost zero or very less. The proposed method gives superior results both in terms of bias field and final contour.

Results of the proposed method are compared with results of other methods for many synthesis images corrupted by different Gaussian noise (noise density,σ=0 to 0.1) and corresponding results of a synthesis image, added with Gaussian noise density (σ) of 0.02, are publicized in Figure .

Figure 8. (a) Noisy Image with Gaussian Noise Density of σ = 0.02. Results using (b) C. Li et al. (Citation2011) (c) W. Cui et al. (Citation2013) (d) Y. Chen et al. (Citation2009) (e) B.N. Li et al. (Citation2011) (f) proposed method.

Figure 8. (a) Noisy Image with Gaussian Noise Density of σ = 0.02. Results using (b) C. Li et al. (Citation2011) (c) W. Cui et al. (Citation2013) (d) Y. Chen et al. (Citation2009) (e) B.N. Li et al. (Citation2011) (f) proposed method.

The proposed method is compared with other latest methods on the basis of SA for same synthetic image corrupted by different Gaussian noise (noise density,σ=0 to 0.1). The values obtained by experimental evaluation are shown in Table . SA is defined as (Ahmed, Yamany, Mohamed, Farag, & Moriarty, Citation2002)

(60) SA=Number of Correctly Classified PixelsTotal Number of Pixels(60)

Table 1. Segmentation Accuracy (SA) for synthetic image corrupted by Gaussian noise

It can be observed that in case of segmentation of synthesis image, the proposed method has the minimum effect of noise compared to other methods. Precision and Recall curves are also commonly used for quantitative evaluation of image segmentation methods. In case of classification, Precision and Recall are referred as Positive Predictive Value (PPV) and True Positive Rate (TPR) or sensitivity, respectively. Precision and Recall are defined as

(61) Precision=TPTP+FP(61)
(62) Recall=TPTP+FN(62)

where TP, FP, TN and FN are True Positive, False Positive, True Negative and False Negative, respectively, as per Figure (Confusion Matrix)

Figure 9. Confusion matrix.

Figure 9. Confusion matrix.

Precision and Recall curves of the proposed method along with state-of-the-art methods are plotted in Figure for synthesis image corrupted with Gaussian noise (σ) of 0.02.

Figure 10. Precision and Recall curves for synthesis image with Gaussian noise density of 0.02.

Figure 10. Precision and Recall curves for synthesis image with Gaussian noise density of 0.02.

The Precision and Recall curves also verify that proposed method produces better segmentation. Larger Recall and Precision values in case of other methods come at the cost of undesirable over segmentation or under segmentation.

The proposed method is verified with different types of medical images like CT scan images of heart and brain MRI images. The results show that proposed method efficiently deals with noise as well as intensity inhomogeneity problem of synthesis and real-time medical images.

5. Conclusion

Results show that, in the proposed method, contour evaluation results are independent of the initialization of initial contour and final contour obtained by the proposed method is less affected by noise in comparison to other methods. Proposed method results in smooth contour even in existence of noise and non-uniformity. When the proposed method is compared with other methods in terms of SA of synthesis image corrupted by Gaussian Noise along with Precision and Recall curves, it shows better results. Median filter, Wiener filter, and Gaussian filter are also tested in the proposed method in place of mean filter-based spatial term. In case of additive Gaussian noise with zero mean and constant variance, mean filter-based spatial term gives best results. The proposed method has the better segmentation of medical images corrupted by both intensity inhomogeneity as well as noise, so proposed method can be utilized for medical applications, where high quality and precise segmentation are required. The proposed method is computationally complex since multiple similar convolutions are used repeatedly. As a future work, complexity can be reduced by using different types of level set methods for implementation of active contours and energy function using different FCM variations Choudhry and Kapoor (Citation2016).

Acknowledgements

The authors thank Dr. Dinesh Kumar Vishwakarma for his valuable comments and support. http://www.dtu.ac.in/Web/Departments/Electronics/faculty/dkvishwakarma.php

Additional information

Funding

Not received any funding for this research.

Notes on contributors

Mahipal Singh Choudhry

Sh Mahipal Singh Choudhry is an Associate Professor in Department of Electronics & Communication Engineering, Delhi Technological University, India. He received both Bachelor and Master degrees in the field of Electronics & Communication Engineering from Malviya Regional Engineering College, now Malviya National Institute of Technology, India. His area of interest includes digital image processing and biomedical signal processing.

Rajiv Kapoor

Professor Rajiv Kapoor is Professor at Department of Electronics & Communication Engineering, Delhi Technological University, Delhi, India. Presently he is working as Principal at Ambedkar Institute of Advanced Communication Technologies & Research, Delhi, India. His areas of interest includes Signal Processing, Image Processing, Computer Vision and Robotics.

References

  • Ahmed, M. N. , Yamany, S. M. , Mohamed, N. , Farag, A. A. , & Moriarty, T. (2002). A modified Fuzzy C-means algorithm for bias field estimation and segmentation of MRI data. IEEE Transactions on Medical Imaging , 21(3). doi:10.1109/42.996338
  • Caselles, V. , Catte, F. , Coll, T. , & Dibos, F. (1993). A geometric model for active contours in image processing. Numerical Mathematical , 66(1), 1–31. doi:10.1007/BF01385685
  • Caselles, V. , & Kimmel, R. (1997). Geodesic active contours. International Journal of Computer Vision , 22(1), 61–79. doi:10.1023/A:1007979827043
  • Chan, T. , & Vese, L. (2001). Active contours without edges. IEEE Transactions on Image Processing , 10(2), 266–277. doi:10.1109/83.902291
  • Chen, S. , & Zhang, D. (2004). Robust image segmentation using FCM with spatial constraints based on new kernel-induced distance measure. IEEE Transaction on System, Man and Cybernetics—Part B: Cybernetics , 34(4). doi:10.1109/TSMCB.2004.831165
  • Chen, Y. , Zhang, J. , & Macione, J. (2009). An improved level set method for brain MR images segmentation and bias correction. Computerized Medical Imaging and Graphics , 33(7), 510–519. doi:10.1016/j.compmedimag.2009.04.009
  • Choudhry, M. S. , & Kapoor, R. (2016). Performance analysis of Fuzzy C-means clustering methods for MR image segmentation. Procedia Computer Science , 89, 749–758. doi:10.1016/j.proces.2016.06.052
  • Cui, W. , Wang, Y. , Fan, Y. , Feng, Y. , & Lei, T. (2013). Localized FCM clustering with spatial information for medical image segmentation and bias field estimation. International Journal of Biomedical Imaging , 2013, 1–8. Article ID 930301. doi:10.1155/2013/930301
  • Gravel, P. , Beaudoin, G. , & De Guise, J. A. (2004). A method for modeling noise in medical images. IEEE Transactions on Medical Imaging , 23(10). doi:10.1109/10.1109
  • Kichenassamy, S. , Kumar, A. , Olver, P. , Tannenbaum, A. , & Yezzi, A. (1995). Gradient flows and geometric active contour models. Proceeding, 5th International Conference Computer Vision , 810–815. doi:10.1109/ICCV.1995.466855
  • Li, B. N. , Chui, C. , Chang, S. , & Ong, S. H. (2011). Integrating spatial fuzzy clustering with level set methods for automated medical image segmentation. Computers in Biology and Medicine , 41(1), 1–10. doi:10.1016/j.compbiomed.2010.10.007
  • Li, C. , Huang, R. , Ding, Z. , Gatenby, J. C. , Metaxas, D. N. , & Gore, J. C. (2011). A level set method for image segmentation in the presence of intensity inhomogeneities with application to MRI. IEEE Transactions on Image Processing , 20(7). doi:10.1109/TIP.2011.2146190
  • Li, C. , Xu, C. , Gui, C. , & Fox, M. D. (2010). Distance regularized level set evolution and its application to image segmentation. IEEE Transactions on Image Processing , 19, 12. doi:10.1109/TIP.2010.2069690
  • Malladi, R. , Sethian, J. A. , & Vemuri, B. C. (1995). Shape modeling with front propagation: A level set approach. IEEE Transactions on Pattern Analysis and Machine Intelligence , 17(2), 158–175. doi:10.1109/34.368173
  • Mumford, D. , & Shah, J. (1989). Optimal approximations by piecewise smooth functions and associated variational problems. Communications on Pure and Applied Mathematics , XLII, 577–685. doi:10.1002/cpa.3160420503
  • Osher, S. , & Sethian, J. (1988). Fronts propagating with curvature-dependent speed: Algorithms based on Hamilton-Jacobi formulations. Journal of Computational Physics , 79(1), 12–49. doi:10.1016/0021-9991(88)90002-2
  • Samson, C. , Blanc-F´eraud, L. , Aubert, G. , & Zerubia, J. (2000). Level set modal for image classification. International Journal of Computer Vision , 40(3), 187–197. doi:10.1023/A:1008183109594
  • Tang, L. (2014). A variational level set model combined with FCMS for image clustering segmentation. Mathematical Problems in Engineering , 2014, 1–24. Article ID 145780. doi:10.1155/2014/145780
  • Vese, L. A. , & Chan, T. F. (2002). A multiphase level set framework for image segmentation using the Mumford and Shah model. International Journal of Computer Vision , 40(3), 271–293. doi:10.1023/A:1020874308076