Advances in Mathematical Physics

Volume 2016, Article ID 8745706, 7 pages

http://dx.doi.org/10.1155/2016/8745706

## A New Nonlinear Diffusion Equation Model for Noisy Image Segmentation

^{1}College of Mathematics and Statistics, Shenzhen University, Shenzhen 518060, China^{2}Shenzhen Key Laboratory of Media Security, Shenzhen University, Shenzhen 518060, China^{3}School of Mechanical Engineering and Automation, Fuzhou University, Fuzhou 350116, China^{4}College of Computer Science and Technology, Beijing University of Technology, Beijing 100124, China

Received 3 September 2015; Revised 21 December 2015; Accepted 3 January 2016

Academic Editor: Ricardo Weder

Copyright © 2016 Bo Chen et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Image segmentation and image denoising are two important and fundamental topics in the field of image processing. Geometric active contour model based on level set method can deal with the problem of image segmentation, but it does not consider the problem of image denoising. In this paper, a new diffusion equation model for noisy image segmentation is proposed by incorporating some classical diffusion equation denoising models into the segmental process. An assumption about the connection between the image intensity and level set function is given firstly. Some classical denoising models are employed to describe the evolution of level set function secondly. The final nonlinear diffusion equation model for noisy image segmentation is built thirdly. Then image segmentation and image denoising are combined in a united framework. The segmental results can be presented by level set function. Experimental results show that the new model has the advantage of noise resistance and is superior to traditional segmentation model.

#### 1. Introduction

Image segmentation and image denoising are basic topics in the fields of image processing. The results of image segmentation and denoising can influence the following image processing directly. They also play an important role in the fields of computer vision, target tracking, and so forth.

The target of image denoising is to recover the true image from the noisy one. Because noise and boundary of image both share high frequency, it is difficult to reduce the noise while containing the boundary of image. For the sake of solving this difficulty, a series of nonlinear denoising models [1–5] are proposed and total variation (TV) model [1] is an excellent one among them. TV model is a famous denoising model proposed by Rudin et al. and it has the ability to preserve image boundary. At the same time, the target of image segmentation is to find a curve which coincides with the true boundary of image object. Thousands of segmentation methods were proposed before. Active contour model (ACM) is the focus recently. ACM can be categorized as two classes. One is parameterized model [6, 7] and another is geometrical model [8–12]. Geometric active contour model also has two classes, gradient-based model and region-based model. Chan-Vese (CV) model [10] is a famous region-based geometric active contour model. It is more flexible for initial curve and can deal with images which have weak boundaries because it does not rely on the gradient information.

Image segmentation and image denoising are independent most of the time. In this paper, a new diffusion equation model for noisy image segmentation is proposed by incorporating some classical diffusion equation denoising models into the segmental process. An assumption about the connection between the image intensity and level set function is given firstly. Some classical denoising models are employed to describe the evolution of level set function secondly. The final nonlinear diffusion equation model for noisy image segmentation is built thirdly. Then image segmentation and image denoising are combined in a united framework. The segmental results can be presented by level set function. Experimental results show that the new model is available for noisy image segmentation.

This paper is organized as follows. The next section will introduce the related models. The new nonlinear diffusion equation model for noisy image segmentation is described in the third section. Experimental results are shown in the fourth section and we draw a conclusion in the fifth section.

#### 2. Related Models

Four models will be introduced in this section. One is segmentation model and the other is denoising models.

##### 2.1. CV Model

CV model is an important segmentation model and it is suitable for the image with intensity homogeneity. CV model assumes that the image is homogeneous and different objects in the image have different intensities. The corresponding energy function is as follows:where is the nonnegative weight for length of curve , is the image intensity, and , are the weights of external energy term. and are the mean of gray values inside and outside the moving contour. In order to solve the topological changes of the curve easily, we introduce the level set function into (1):

Then (1) also can be represented as follows:where denotes the field of image. is the Heaviside function. For making Heaviside function differentiable, we replace by as follows: Then (3) can be written as follows:By taking partial derivations for and in (5), we can get the expressions of and as follows:The corresponding Euler-Lagrange equation of (5) is as follows:The final level set evolution equation can be written as follows:

##### 2.2. TV Model

TV model is a classical model for image denoising and it utilizes norm of image gradient magnitude to replace norm of image gradient magnitude as the smooth term of image. TV model can protect the boundary of image while reducing the noise. The energy function of TV model is established as follows:where the first term is the smooth term of image and the second term is the fidelity term of image. denotes the denoising image. denotes the field of image. is the gradient magnitude of image. is the coefficient of fidelity term.

The Euler-Lagrange equation of (9) is as follows:

Utilizing the gradient decent flow, we can get the partial difference equation as follows:

##### 2.3. Adaptive TV Model

Blomgren and Chan present a new norm which is different from the norm in [2]: where the exponent depends on the module value of image gradient and satisfies these constrains as follows:(1)decreasing monotonously,(2) when and when .

Therefore, while lying in the flat region of image; namely, is very small. is very big when the pixel is near the boundary of object. At the same time, when . Therefore, according to (12). That is to say, the new norm would choose norm and norm automatically.

We can define as follows:

The corresponding energy function can be expressed as follows:

Finally, the partial difference equation of image about time parameter can be written as follows: where

Compared with (11), (15) has more computation complexities. For the sake of reducing the computation complexities, we replace in (14) by the term , where denotes that the image is filtered by Gaussian filter of variation . Therefore, we do not need to update every time when updating the denoising image .

##### 2.4. Anisotropic Diffusion Model

Catté et al. propose a denoising model based on anisotropic diffusion [13]. The final partial difference equation is as follows:where where is a nonnegative number. The diffusion term can protect the boundary information and so the anisotropic diffusion model can obtain better results than the denoising model based on Laplace Operation.

#### 3. The New Nonlinear Diffusion Equation Model for Noisy Image Segmentation

Inspired by CV model, we can know that the image with two objects can be described as follows:

From (19), we can establish the connection between the image intensity and the level set function. Therefore, we can introduce the level set function into the energy function of denoising models. Averagely, we establish the energy function of denoising models as follows:where is the smooth term, is the fidelity term, and is the weight of the fidelity term.

Now we introduce (19) into (20) and the corresponding Euler-Lagrange equation can be written as follows:where

Finally, the corresponding level set equation is written as follows:

We will present three examples of segmentation model based on the related denoising models mentioned before.

##### 3.1. TV-Based Segmentation Model

According to (23), we can formulate the level set equation based on TV model. The Euler-Lagrange equation of TV model is as follows:

According to (11), (19), (23), and (24), we can obtain the final level set equation as follows:

##### 3.2. Adaptive TV-Based Segmentation Model

Similar to the TV-based segmentation model, we can find the corresponding partial difference equation of image firstly and it is described in (15). Then utilizing (15), (19), and (23), we can obtain the Euler-Lagrange equation of adaptive TV-based segmentation model as follows:The partial different equation of level set function is written as follows:

##### 3.3. Anisotropic Diffusion-Based Segmentation Model

As described in Section 2.4, we can acquire the corresponding partial difference equation of image described in (17). For preserving the important image information, we introduce the fidelity term to this model and the final partial difference equation of image can be written as follows:

According to (17), (19), (23), and (29), we can obtain the final level set function as follows:

##### 3.4. Reinitialization of Level Set Function

A signed distance penalizing energy functional is presented by Li et al. [14] as follows:The corresponding gradient descent flow of is as follows:

Literatures [15, 16] show that a function with Laplace evolution is equivalent to using a Gaussian filter. Then we filter the initial conditions of the level set function with Gaussian kernel. So we can remove the curvature term .

We can conclude the procedures of the presented model as follows:(1)Initialize the level set function.(2)If necessary, compute , by (16) and (18).(3)Calculate , by (6).(4)Obtain the level set function by (25), (27), or (29).(5)Smooth the level set function with Gaussian filter. If the level set function is not satisfied, return to procedure .

#### 4. Experimental Results

In this section, we compare the segmental results of four models, CV model, TV-based segmentation model, adaptive TV-based segmentation model, and anisotropic diffusion-based segmentation model. In CV model, we set time step as 1, space step as 1, iteration number as 1500, the length parameter as , and the radius of initial circle as different value in different case. In the other models, we set time step and space step the same as CV model, , , and iteration number as 1500. Besides, we choose as 1.5 for all models. Their initial curve is set as blue curves. The parameters of external energy , are set as 1 for all models. The parameter depends on the degree of noise.

Figure 1 shows the segmental results of a noisy image contaminated by Gaussian noise with variation 0.05. (a, e), (b, f), (c, g), and (d, h) represent the segmentation results of CV model, TV-based segmentation model, adaptive TV-based model, and anisotropic diffusion-based segmentation model, respectively. The initial curve of all models is a circle as Figure 1(a) shows and its radius is equal to 20. In TV-based segmentation model, adaptive TV-based model, and anisotropic diffusion-based segmentation model, we choose . Obviously, the new segmentation model incorporating with denoising models is better than the original CV model.