Improve the Nonparametric Image Segmentation with Narrowband Levelset and Fast Gauss Transformation *

Nonparametric method based on the mutual information is an efficient technique for the image segmentation. In this method, the image is divided into the internal and external labeled regions, and the segmentation problem constrained by the total length of the region boundaries will be changed into the maximization of the mutual information between the region labels and the image pixel intensities. The maximization problem can be solved by deriving the associated gradient flows and the curve evolutions. One of the advantages for this method does not need to choose the segmentation parameter; another is not sensitive to the noise. By employing the narrowband levelset and Fast Gauss Transformation, the computation time is reduced clearly and the algorithm efficiency is greatly improved.


Introduction
In recent years, the image segmentation technology has been made the great progress with many mathematical analytic methods like Partial Differential Equation widely used in it.Among these methods, the non-edge profile model (short as CV model) raised by Chan and Vese [1] is the most famous curve evolution combing with Mumford-Shah function and the levelset method.In addition, Caselles and Catte et al. [2] discussed geometric model based on the geodetic active contours, it can extract the smooth shape target and test a few outlines at the same time.Caselles, Kimmel et al. [3] and N. Paragios, R. Deriche et al. [4] promoted the geodetic active contour model based on the active contours can evolve the outline splitting and merging naturally along with the time changes and detect the internal and external boundaries for many objects according to the image internal geometry measures.These methods are efficiently, but there still exist some difficulties in the computation.The main reason is the parameter selection.For the different style image, choosing the different parameters will obtain the different qualities, and the parameter should be computed for many times in order to get the needed result, and the suitable parameter values usually depend on someone's experiences.There are some researches using the information theory into the curve evolution.For example, Unal [5] used the information theoretic active polygons to produce the texture segmentation, the carve evolution is based on the image region information with simply statistics such as the mean or the variance.Sun Da et al. [6] estimated the probability density gradient to detect the image edge according to the field edge point's gradient located in the opposite directions.F. Liu [7] improved the traditional segmentation method with combining the largest mutual information theory and the image histogram.
In this paper, we focus on the implementation of the nonparametric method based on the mutual information developed by J. Kim et al. [8].In this method, the segmentation problem is developed as the maximization of the mutual information between the region label and the image pixel intensities, subject to a constraint on the total length of the region boundaries.During the iterations, the segmentation result is approached by deriving the associated gradient flow and the curve evolution techniques, extract the target without any parameter given first.But estimating the mutual information between the whole region labels and all the image pixel values in each iteration leads a large amount of calculation.Therefore, we use the narrowband levelset to reduce the computation pixels and use the Fast Gauss Transformation to reduce the time consumption for estimating the mutual information.Compared with some popular methods include boundary-based, region-based segmentation, this method does not have the parameter selection problem, and it is also not sensitive to the noise in the image.The algorithm efficiency is greatly improved, and it is more suitable to be used in solving the practical problem.

Mutual Information between the Image Intensity and the Label
We review the mutual information between the image intensity and the label which provided by J. Kim et al. [8].
Given an image  , x , 1 and 2 denote the two regions which are unknown.Assume that the pixel intensities in each region are independent, identically and distributed (i.i.d), the associated densities if where are also unknown.Given an initial evolution curve , then may divide the image into two regions, is the region inside the curve and is the region outside the curve.Suppose that corresponds to 1 (object region) and corresponds to 2 (background region), then the segmentation problem is to move the curve such that and converge to and respectively (see Figure 1).
where R  denotes the area of the region R  and R  the area of the region R  .Therefore, the more accurately the label where   h Z is the differential entropy of a continuous random variable Z with support defined by where is the kernel and  is given.The two conditional distributions are given by Since the mutual information describes the correlation between and , then C is the correct segmentation, and is the maximized.

Energy Functional and Its Computation
In order to compute the maximum we use the energy functional given as [8]  where ds   C is the length of the curve , C  is a sca- lar parameter.Therefore, the maximization problem of the mutual information subject to a constraint on the total length of the region boundaries may be changed into the minimization of the energy functional .
denotes the curve evolution at time , rewrite the energy functional where is the region inside the curve By using the variation principle and employing Equations ( 3) and ( 4), we have the gradient flow equation for as [8] where is the curvature of the curve, is the outward unit normal vector,  N   N is the gradient flow for the curve length penalty, and is the density estimate at pixel x inside the curve .C We compute the gradient flow Equation (8) with the levelset method.The steps are shown as following: Step 1. Input an image I and set the initialize curve according to the image size.C Step 2. Compute the signed distance function  as the levelset function with Step 4. Compute the second term noted as and the third term noted as with where is the pixel number of Step 5. Compute the first term , and Step 7. Calculate the curvature and save it in . 1

L
Step 8. Renew the levelset function  with holds, then stop the computation, else return to Step 3.
Figure 2 shows the result for the noisy image segmentation implemented on Matlab2009a.

Using the Narrowband Levelset and Fast Gauss Transformation to Improve the Computation Efficiency
Direct to compute the gradient flow Equation ( 8) is more expensive.During the iteration, compute  the number of pixels along the curve.Therefore, compute the gradient flow equation to get the mutual information between the whole region labels and all the image pixel values needs a large amount of calculation.Then, we consider about the narrowband levelset which makes the levelset function update only in the narrowband.Similarly, we use the Fast Gauss Transformation to reduce the time consumption.

Narrowband Levelset Method
Narrowband is a ring surrounding the curve .Narrowband levelset [9,10]  C , then the narrowband region is located between the curve 1 and 2 shown as Figure 3.In each iteration, the computation only be produced on the points in the narrowband, the amount for the renew points is reduced, and the computation quantities is also descend obviously.

C C C
Using the narrowband to renew the levelset function is detailed as follows: 1) Initiate the narrowband.Assume the width of the narrowband is  , then initial the label region, assign a larger negative number to the points inside the curve and a larger positive number to the points outside the curve.
2) Iterate to renew the levelset.After one iteration, set the new function  to the curve , check if the curve is exceed the bounds of the narrowband.If is cross out of the bound, then reinitialize the narrowband, and compute the levelset function  such that the evo- lution curve is inside the narrowband.When the computation finished, check whether the terminal condition is satisfied.Once the iteration stops, is the needed segmentation boundary.will lead the different efficiency.If the is too small, the initialization of the narrowband and levelset function need to be replaced many times; and if the width is too large, the number of points will be increased.Both of them will increase the time consumption.Usually, the better width is 7 -10.

Fast Gauss Transformation
Fast Gauss Transformation [11] is using the following weighted Gauss function where j f is the weights, j s , is the center of the Gauss function, are the goal 1 e e where 0 s is the center of the expanding Hermite function.Exchange s and , we also have t Then the Fast Gauss Transformation is n , the computation amount is also reduced obviously.
Table 1 shows the computation time comparison using four methods for the noisy image (see Figure 4).
From Table 1, we see that the time produced by the levelset is the biggest, and the time for the improved algorithm with the narrowband levelset and Fast Gauss Transformation is the lowest, which means the efficiency of the improved algorithm.

Compare with Other Segmentation Methods
Threshold segmentation is a simple but effective solution for most segmentation problems.If the image has some  noise, it is difficulty to choose a suitable threshold, one need to produce many experiments to get a better threshold.Region-based segmentation is also sensitive to the noise.Figure 5 shows the results for the noisy image segmentation by using the threshold, region-based and nonparametric methods.
Obviously, for the noisy image, due to the noises located randomly in the whole region, the threshold method can remove some noise but blur the object, and the region-based method can not find the accurately object boundary, but the nonparametric method can get the needed result, although there are some small noisy points in the result image.

Several Experiments
We present some experiment results on the synthetic images.
First, we perform an experiment on an image sized 128 × 128 with four synthetic objects.It's difficult for the traditional methods to deal with the noisy image, as they have to filter noisy to get smooth image, which will also filter out some useful information, so the errors are inevitable exist.However, seen from experimental result, nonparametric method can get better segmentation result for noisy image.As shown in Figure 6, it costs 170.601 seconds.
Second, we select another noisy image sized 128 × 128.This image is representative for three reasons: first, the noise is on the object boundary; second, there is a narrow concave part in the middle of the object; third, the image contains three dispersive parts.Traditional methods can do little on the image with such features.However, nonparametric method also can get good segmentation results but the time consumption is higher with 2647.57seconds shown in Figure 7.   Furthermore, we carry out another experiment on a noisy image sized 172 × 172 with a narrow gap in the object region.The object likes a character "O" sloped down to the left, and a small break is on the right side.Many traditional methods hardly cross the gap and converge into the inner region.Nonparametric method can separate the object easily, although there are some noisy points left.The segmentation result is better shown in Figure 8.The computation time is 468.495seconds.
Finally, we select a plane image sized 128 × 128, the computation time is 52.6167 seconds (see Figure 9).
From the results shown in Figures 6-9, we see that the improved nonparametric method can process many segmentations with different types, include the larger noisy image, lower contrast gray image, rough boundary image, etc.When the object boundary is smooth, the computing time is shorter; else it will take longer at a reasonable level.

Conclusion
In this paper, we discuss the nonparametric segmentation method based on the mutual information and its implementation.This method can solve a variety of different types of the image segmentation, and it can get very good results for processing the noise image.However, due to the estimation on the whole image probability density, it makes the calculation increasing greatly.Thus, we disuss an improved method by using the narrowband levelset which only update in the narrow-band, and Fast Gauss Transformation to reduce the iterations.Some experiment show that our improvement can reduce the amount of computation and greatly improve the calculation efficiency.Furthermore, if the implementation can be produced by the parallel computing on the multi-core or cluster computers, the improvement will be upgraded more efficiently.

 1 O n and   2 O
at each pixel x on the curve will take   n times, compute the density

CC
It is easy to see that, different width of the narrowband

Figure 5 .
Figure 5. Noisy image segmentation with different methods.