Medical Image Segmentation Based on Wavelet Analysis and Gradient Vector Flow

Medical image segmentation is one of the key technologies in computer aided diagnosis. Due to the complexity and diversity of medical images, the wavelet multi-scale analysis is introduced into GVF (gradient vector flow) snake model. The modulus values of each scale and phase angle values are calculated using wavelet transform, and the local maximum points of modulus values, which are the contours of the object edges, are obtained along phase angle direction at each scale. Then, location of the edges of the object and segmentation is implemented by GVF snake model. The experiments on some medical images show that the improved algorithm has small amount of computation, fast convergence and good robustness to noise.


Introduction
Image segmentation is used widely in medical fields, such as medical research, clinical diagnosis and treatment, efficacy evaluation, image information processing, surgical planning, computer-assisted surgery, pathological analysis, image-guided surgery and surgical simulation [1]- [3]. In these applications, the most important and essential aspect is the image segmentation whose application is usually located in a bottleneck situation, consequently the work of medical image segmentation is very difficult, especially to complex image with much noise and the fuzzy boundary images.
At present, the common methods used in the perspective of medical applications include region-based me-thods, edge-based approach, combination of theoretical tool-specific methods (such as artificial neural networks and deformable model method), the methods based on statistical theory, fractal-based methods and methods based on mathematical morphology [4]. But the different medical image processing methods have different emphasis. As a result of the complexity and diversity of medical images, it is rather difficult to use only one of these methods to extract the edges correctly and accurately. So we should combine a number of ways to take advantage of different methods for learning from each other to make the medical image segmentation more accurate. Currently, there are some novel methods which are the combination of different methods, and the traditional methods are examined by assessing their advantages and disadvantages. The present paper proposes an improved mechanism in which deformable models that have been extensively researched and used in the field of medical image segmentation has far-reaching prospects. In this paper, the improved algorithm is based on the deformable model called gradient vector flow method combined with wavelet analysis.

GVF Deformable Model
The earliest deformable model was presented in 1987 in the creative thesis "Snakes: Active Contour Models" of Kass [5]. It is applied to the object-segmentation and the video track detection and is a relatively good image analysis method. According to the theoretical background to solve problems, the Active Contour Models include two types of models. One is parametric deformable model [6]- [8], and the other is geometric deformable model [9]- [11]. Although the two methods are essentially different, their basic principle is similar [12]. In this paper, we focus on parametric deformable models, which synthesize parametric curves or surfaces within an image domain and allow them to move toward desired features, usually edges. Typically, the models are drawn toward the edges by potential forces, which are defined to be the negative gradient of potential functions.
In the parametric deformable models, the images segmentation process is to find the parameters that minimize the sum of internal and external energy which have been weighted. Usually, the minimum value is obtained in the image boundary which is the required image region. The energy minimization process is a joint decision of the internal forces and external forces. The internal forces include elastic force and bending force, whose primary role is to prevent excessive bending curve. The main role of the external force is to move the curve toward the boundaries of the image. They both make the curve gradually arrive at the image characteristics region which is the edges of the image. A traditional 2-D parametric deformable model or deformable contour is a curve where E int is a scalar potential function. The external potential function E ext is derived from the image, so that it takes on its smaller values at the features of interest, such as boundaries. A deformable contour that minimizes must satisfy the Euler equation To find a solution to Equation (2), the deformable contour is made dynamic by treating x as function of time t as well as s, i.e.

( )
, X s t . Then, the partial derivative of x with respect to t is set as follows: In 1998, Xu proposed a new model, which is called gradient vector flow (GVF) field [13] [14]. This external force is computed as a diffusion of the gradient vectors of a gray-level or binary edge map derived from the image. The GVF deformable model's initializations can be inside, outside, or across the object's boundary. Unlike deformable models that use pressure forces, a GVF deformable model does not need prior knowledge about whether to shrink or expand toward the boundary, which is also one of the reasons that we choose GVF model as the segmentation algorithm.
Compared with traditional snake model, the GVF model has made significant improvements, and is widely used in medical image segmentation [15]- [18]. But the GVF model has certain requirements for the initial contour for the complex images. Therefore, further improvement is necessary, especially to improve the ability of capture range, which will help the process of convergence of the deformable model. For the fuzzy, noisy, dumbbell-shaped and other special images, the GVF convergence is more difficult. At the same time, calculating the entire image gradient vector flow needs a large amount of computation, which limits its application. Therefore, we propose a novel algorithm that the wavelet analysis theory is introduced into the GVF model to greatly improve the accuracy and speed of edge extraction.

Wavelet Multi-Scale Edge Detection Principle
Edge detection plays an important role in image analysis and computer vision. Edges characterize object boundary on the basis of the properties of intensity and texture, which can provide valuable information for further image processing such as image segmentation, image enhancement and image compression. In early years, many edge detection algorithms have been developed [19].
The application of wavelet transform in image processing has received significant attention and some very efficient wavelet-based multi-scale edge detection algorithms have been proposed [20]. This is due to the fact that wavelet transform can provide a multi-resolution representation for an image with flexible localization in both time and frequency domains [21] [22].
In 1992, Mallat and Zhong conducted some research on sudden changes in signals and their characteristics under wavelet transforms. They also studied the properties of multi-scale edges through the wavelet theory and showed that the evolution of wavelet, local maxima across scales would characterize the local shape of irregular structure.
The image often is the two-dimensional signal. Suppose ( ) , 0 x y x y θ →∞ = , and in the X and Y direction, the partial derivatives of twodimensional wavelet function are defined as follows: The wavelet transform of ( ) Since Dyadic Wavelet has "zoom" function on analysis of the signal, we only need to increase the magnification by reducing the value of j if we want to watch the details of the signal. The wavelet transform of f at scale 2 j is a vector with two components ( ) The Dyadic Wavelet transform of two-dimensional image is  The comparison of the experimental results shows that the edges extracted using the traditional operator is very wide, more obscure, and has lost a lot of image details. And when the smoothness of the edge is poor, more non-linear noise is retained. However, the wavelet transform modulus maxima approach can accurately position the edges affected by noise and the edge is one pixel wide. On a large scale, the wavelet transform modulus maxima method obtains major edge information. On the small scale, it obtains the details of the edge information. This feature is suitable for us to identify and locate objects from coarse to fine. The experimental results show that wavelet transform can detect weak edge which is not detected by the other algorithms, and has good continuity and smoothness. In short, the image edge detection method based on wavelet transform has a good application in medical image. Figure 2 shows the different effects of edge detection by wavelet transform modulus maxima algorithm with different threshold values and scaling factors. The experimental results show that the larger scaling factor is suitable for extraction of the main outline; on the contrary, the smaller scaling factor is suitable for the extraction of image details. The appropriate threshold can not only get rid of the pseudo-edge of the image, but also remove some noise, while too big threshold may filter out the useful edge information.

Experimental Results and Analysis
First, the edge points of the interested field are detected by using the wavelet transform, and then the Gradient Vector Flow field is constructed on the basis of edge detection results. Then the target segmentation is realized by using the GVF parameter deformable model. We adopt the wavelet transform and the GVF contour model combination algorithm and apply it to a variety of medical image object segmentation and obtain good results. In this paper, the experimental algorithm works on the environment of CPU: Celeron 1.1 GHz, Memory: 256 M, Operating System: Windows Xp and Simulation Software: Matlab 2010a.
In the experiment, we selected five different characteristic of the pictures as the experimental data whose size is 256 × 256. As indicated in Figure 3, Figure 3(a) is a high-resolution human brain skull picture by magnetic resonance; Figure 3(b) is an edge fuzzy chest CT picture; Figure 3(c) is a picture of a head with concavity by CT on ventricle level; Figure 3(d) is a head picture added noise by magnetic resonance at eye level, and Figure  3(e) is the homogeneous gray liver picture by magnetic resonance. Respectively, we will apply GVF method and our proposed combination algorithm with wavelet transform, and the GVF model whose parameters are The GVF model has a much larger capture range and better concavity convergence on simple images. In our experiment, however, the results demonstrate that the GVF model has a poor performance on medical images as shown in Figure 4 and Figure 5. Figure 4 and Figure 5 show the initialization, the convergence of a deformable contour and the final results using GVF external forces. The initial contour position is inside the desirable region in Figure 4(c), and outside or across the desirable region in Figure 5(c) with same parameters. Clearly, the merits of the GVF deformable contour, which has a broad capture range and superior convergence, are not demonstrated. Another reason is that the GVF forces field of medical image is more complex than the simple image. The evolution of the GVF contour will deviate from the correct direction due to the interference of other force field, which is generated by noise or other objects of the image, and finally lead to segmentation failure.  In this paper, we introduce the wavelet modulus maxima method to improve the implementation of the GVF model. Figure 6(a) is the close-up of the edge gradient map with ( ) 2 G I σ ∇ * for Figure 3(a). The close-up of gradient vector flow external force field of Figure 3(a) is shown in Figure 6(b). As we can see, the gradient vector flow field is confusing. In our proposed method, to compute the gradient vector flow for gray-level images, the edge-map must first be calculated by wavelet transform, which can remove noise and the undesirable details on different scale. Figure 6(c) shows the edge-map calculated by wavelet modulus maxima method, on the basis of which we then calculate the gradient vector flow in Figure 6(d). It is evident that the desirable gradient vector flow field is retained, while the undesirable that is smoothed out.   Figure 7(c) is the edge maps of Figure 7(b). The identical initialization, initial contour position inside the interested region (Figure 7(d)) and outside or across the interested region (Figure 8(d)) is done. The configuration of convergence of the deformable contour using GVF external forces after the wavelet transform is shown in Figure 7(e) and Figure 8(e). Figure 7(f) and Figure 8(f) are the final segmentation results. As we can see, the results show that the new algorithm has an excellent convergence to the boundary, despite the far initialization, noise, and the boundary concavity. The comparison between traditional GVF model and the new algorithms on effectiveness of the implementation is shown in Table 1.
Respectively, Table 2 and Table 3 list the number of iterations and running time using the GVF model or the proposed algorithm on the five different characteristic of medical images. The experimental results show that the proposed algorithm can use fewer numbers of iterations and running time to achieve better segmentation results. Figure 9 compares the running time using the GVF algorithm and the proposed algorithm. It can be seen from Figure 9 that the running time of the proposed algorithm is less than that of the GVF model under the same experimental environment and algorithm parameters. The reason is that the GVF model requires a lot of time to calculate the gradient vector flow field of the image domain. The new algorithm saves the running time by removing the noise and the undesirable details which might interfere with performance of the evolution curve.       In the future, some investigations into the features and uses of the improved GVF model would be warranted. It would also been done to understand the interplay between the GVF parameters and the wavelet transform parameters and select the parameters adaptively. Likewise, the novel algorithm framework might be useful in defining new improved parametric and geometric deformable models. Finally, making relationship between improved GVF model with other applications in image processing, computer vision, and medical imaging might provide some new insights or even new solutions to existing problems (Figure 9).

Conclusion
Related to the traditional parameters deformable model, the GVF deformable model has been greatly improved, but certain requirements of the initial contour position and more computation time are still needed. Since the wavelet transform has the features of edge detection and noise removal, in this paper, the wavelet transform modulus maxima is introduced into the GVF model to detect the edge of the image and remove the noise and the undesirable details. Experimental results show that the novel algorithm can use less running time to obtain better segmentation results. The dynamic behavior of the GVF model in the energy minimization process manifests that the new algorithm has a wide range of applications, especially in medical image analysis and disease diagnosis.