An Efficient Multi-Scale Local Binary Fitting-Based Level Set Method for Inhomogeneous Image Segmentation

An efficient level set model based on multiscale local binary fitting (MLBF) is proposed for image segmentation. By introducing multiscale idea into the LBF model, the proposed MLBF model can effectively and efficiently segment images with intensity inhomogeneity. In addition, by adding a reaction diffusion term into the level set evolution (LSE) equation, the regularization of the level set function (LSF) can be achieved, thus completely eliminating the time-consuming reinitialization process. In the implementation phase, in order to greatly improve the efficiency of the numerical solution of the level set segmentation model, we introduce three strategies: The first is the additive operator splitting (AOS) solver which is used for breaking the restrictions on time step; the second is the salient target detection mechanism which is used to achieve full automatic initialization of the LSE process; the third is the sparse filed method (SFM) which is used to restrict the groups of pixels that need to be updated in a small strip region. Under the combined effect of these three strategies, the proposed model achieves very high execution efficiency in the following aspects: contour location accuracy, speed of evolution convergence, robustness against initial contour position, and robustness against noise interference.


Introduction
In the process of researching and applying images, people tend to be interested only in certain parts of the image, often referred to as target or foreground; they generally correspond to specific regions of the image that have unique properties.
In order to identify and analyze the target, these areas need to be separated and extracted, and then it is possible to make further use of the target, such as feature extraction and measurement.Image segmentation is the technique and process of segmenting an image into distinct regions and extracting interesting objects.Image segmentation is the key step from image processing to image analysis, and it is also a basic computer vision technology.Image segmentation has been paid great attention for many years; so far, a lot of image segmentation algorithms [1][2][3][4][5] have been proposed.In particular, the active contour models [6][7] have been widely used because they are able to provide smooth and closed boundary contours as segmentation results.The level set method [8] is an implicit representation of active contours.Compared to explicit active contour models [6,9] which utilize parametric equations to represent evolving contours, level set methods represent the evolving contours as the zero level set of a higher-dimensional function, thus making them numerically stable and easily able to handle topological changes.Without loss of generality, we can classify the level set-based active contour models into two categories: the edge-based models [7,[9][10][11] and the regionbased models [12][13][14][15][16].The edge-based model uses the gradient information of the image to construct the driving force required for the evolution process.Such models are not only sensitive to noise interference but also difficult to detect weak target boundaries.In addition, the final output is heavily dependent on the initial position of the contour.The region-based model constructs the driving force needed for the evolution process based on the regional statistical information of the image.Compared with the edge-based methods, such methods have the following advantages: (1) They do not rely on the gradient information of the image, so they can segment the weak edges, and (2) because the region information adopted is global, it is usually robust to noise.One of the most successful region-based models is the Chan-Vese (CV) model [12], which has been widely used in binary phase segmentation with the assumption that each image region is statistically homogeneous.However, the homogeneity assumption cannot precisely describe the intensity distribution of region with intensity inhomogeneity.Thus, it often fails to segment the images with intensity inhomogeneity.
In order to overcome the segmentation difficulty caused by the intensity inhomogeneity, the researchers have proposed some local region-based segmentation models: they are the local binary fitting (LBF) model [17], the local Gaussian distribution fitting (LGDF) model [18], the local image fitting (LIF) model [19], and so on.These methods generally believe that the images with intensity inhomogeneity satisfy the assumption of homogeneity within a very small local region; that is, within a sufficiently small local image region, we can assume that the intensity of the image is approximately statistically uniform.Thus, by fitting the given image in the sense of local region rather than global region, they can segment the images with slight inhomogeneity.
In practical implementation, they generally use a statistical function with a fixed scale to measure the characteristic parameters of the local region centered at the current sampling point.However, the degree of inhomogeneity between different local regions is usually inconsistent; that is to say, the nonlinear phenomenon of inhomogeneity is very common.Therefore, the practice of fixing the scale for all local regions does not apply to the images with severe inhomogeneity.In view of the universality of the aforementioned issues, to improve the segmentation performance of severe inhomogeneous images, we need to introduce multiscale idea into our model framework.
In this paper, we propose a level set model based on MLBF by introducing the idea of multiscale modeling into the original LBF model and apply it to the practice of inhomogeneous image segmentation.Firstly, an implicit scheme called AOS [20] is utilized to break the time-step limitation of traditional explicit schemes.Under this numerical implementation strategy, the iterative process can take a larger time step, so the evolution curve can quickly converge to the real target contour.Secondly, an automatic initialization strategy driven by a salient target detection mechanism is adopted.By performing a CV [12] model-based segmentation operation on the output of the salient object detection algorithm, we can get the initial curve required for the evolution process.This process is completely automated and does not require any form of human involvement.Thirdly, a level set function update strategy called SFM [21] is used to minimize the number of pixels of the level set function that need to be updated in each iteration.Under the SFM framework, the object to be updated for each iteration is only one-pixel width; thus, the SFM is an extreme narrowband [22,23] strategy.Obviously, this strategy can further accelerate the evolution of the level set function.Fourthly, to further control the smoothness of the evolving curve and avoid the oversegmentation phenomenon, the regularization term is included in the energy functional.Finally, the multiscale segmentation is performed by minimizing the new formed level set energy functional.
The remainder of this paper is organized as follows.Section 2 is a brief description of the background.Section 3 presents the proposed model.Section 4 gives the three implementation strategies adopted in this paper.Section 5 validates the proposed model by extensive experiments and discussions on a lot of images.Last, conclusions are drawn in Section 6.

Background
The variable t in the expression ϕ x, y, t indicates that the level set function changes with time, and its evolutionary process can be expressed by the following equation: where "∇" represents the gradient operator, V is the speed function of the evolutionary process, and ϕ is the LSF.The variational LSF considers LSE as a problem of minimization of certain energy functional E ϕ , that is, By using different energy terms to express the information components related to the evolutionary process, the active contours will be freely changed for different application purposes.Thus, the variational level set methods are convenient for developing new segmentation models and have received great attention in recent years.
The core idea of the level set method is as follows: when dealing with the evolution of the plane contour, the level set method does not directly track the position of the active contour, but updates the LSF through the evolution equation shown in (1) and then achieves the purpose of updating the active contour hidden in the LSF [8].The biggest advantage of this curve evolution style is that the LSF remains a valid function even if the topological change (splitting or merging) occurs in the closed curve which is hidden in the LSF. Figure 1 shows an example of the LSE; the first row represents the three states in the LSE process, and the second is the zero level set curve corresponding to the first row.From this diagram, we can find that the topological structure changes of the evolving curve can be well handled (the topological change here is splitting type) by using the level set expression.
2.2.LBF Model.Li et al. [17] proposed a novel region-based active contour model which takes full account of the local information of the image, and some good segmentation 2 Journal of Sensors results are obtained on the nonhomogeneous images.The energy functional is defined as follows: where I is the input image, Ω is the integration region corresponding to the image plane, μ 1 and μ 2 are control parameters, K σ is a Gaussian kernel function with standard deviation equals to σ, and f 1 and f 2 are two fitting functions which approximate the local image pixel values inside and outside contour C, respectively.Similar to other segmentation models based on level set, we still describe the LBF model in the level set framework and use ϕ to represent the LSF.Minimizing the energy functional E LBF with respect to ϕ by using the calculus of variation and the steepest descent method [24], we can easily deduce the corresponding gradient descent flow as e 1 and e 2 in (4) are defined as where Ω is the integration region corresponding to the entire image, and In the above equations, we actually use the regularized versions of Heaviside function H and Dirac function δ which are expressed as follows: The parameter ε affects the profile of δ ε ϕ .A bigger ε will cause a broader profile, which will expand the capture scope but decrease the accuracy of the final contour.
In actual calculation, the construction process of the local binary image μ 1 e 1 − μ 2 e 2 is based on all the pixels in a local Gaussian window; this localization property is the real reason for the LBF model to be able to segment nonhomogenous images.However, when the contour is located at a certain location where μ 1 e 1 = μ 2 e 2 , the local image fitting force will be zero, which leads to the evolution process to be trapped into certain local minima; thus, the segmentation result has a strong correlation with the initial position of the curve.

The Proposed Segmentation Model
The energy functional corresponding to the proposed level set segmentation model is composed of two parts: local term E L and regularization term E R .

Local Term.
The LBF model has achieved good results on the problem of inhomogeneous image segmentation; however, when the inhomogeneity of the image is severe, the segmentation performance of this model is drastically reduced.The reason is that for a given input image, the model's scale parameter has only one single value.In the real world, more cases are such that the degree of inhomogeneity within different image areas may be different; thus, the scale parameter of the model should not take only one value.In view of this, we introduce multiscale idea into the LBF model to improve the adaptability of the model to severe where Ω is the image region, N is the total number of Gaussian kernel functions, f 1,n x and f 2,n x are the values of f 1 x and f 2 x of the LBF model on the nth scale, respectively, w n is the weight factor of the nth fitting energy term, x is the central sampling point, and x has the following expression: where Ω in and Ω out correspond to the image regions inside and outside the active contour, respectively, and λ 1 and λ 2 are two positive constant coefficients.
The MLBF model uses a series of Gaussian kernel functions with different scale parameters to deal with the image data with scale nonuniformity (corresponding to intensity inhomogeneity).By using the LBF model as our theoretical basis and introducing multiscale information, the MLBF model can express the global properties of the input image.Because the LBF model is the ideological foundation of the MLBF model, the model of this paper inherits the segmentation ability of the LBF model completely in terms of handling inhomogeneous images.At the same time, the MLBF model is more robust to the position of the initial contour and the noise of Gaussian type.
As mentioned above, it is inappropriate to use the same scale over all local regions when segmenting images that have serious intensity inhomogeneity.Here, we give an example to verify this conclusion.
In Figure 2, we apply the LBF model to segment the images with slight and severe inhomogeneity.Figure 2(a) shows a sample image with slight inhomogeneity (the grayscale range of the target area is 44, 193 ).We make two markers (P 1 and P 2 ) on this image, where the x-shaped mark is the position where the current pixel is; the circular mark is the local region (its scale is equals 15 pixels) corresponding to the current pixel.From the two grayscale histograms shown in Figures 2(b) and 2(c), we can see that the histograms of the local regions corresponding to center points P 1 and P 2 have similar grayscale distribution ranges.In these two distributions, one of them ranges from 41 to 64, and the other ranges from 157 to 181; the grayscale spans of these two distributions are approximately equal to 13; that is to say, the inhomogeneity of the image does not change greatly when the image data goes from top to bottom.Therefore, when we apply the LBF model to this image, we can get the correct segmentation result shown in Figure 2(d).
Figure 2(e) shows another example image, which differs from Figure 2(a) in that it has severe inhomogeneity (the grayscale range of the target area is 25, 229 ).Similar to the aforementioned approach, we also mark two sampling points on this image; they are P 3 and P 4 .From the distribution histograms shown in Figures 2(f) and 2(g), we find that the inhomogeneity of this image is much stronger than that shown in Figures 2(b) and 2(c), and the local region corresponding to center point P 4 has a higher inhomogeneity than P 3 .As we expected, the LBF model outputs the wrong segmentation result (as shown in Figure 2(h)) on this image.Thus, in order to accurately segment this type of image, the scales at the local areas indicated by the two circles should take different values.

Regularization Term.
When implementing the traditional level set segmentation models, the upwind schemes are often used to keep numerical stability [24], and the LSF is initialized to be a signed distance function (SDF).Since the LSF is usually very flat or steep near the zero level set in the LSE evolution, this will affect the numerical stability; a remedy procedure called reinitialization is applied periodically to enforce the degraded LSF being an SDF.The researchers have developed a number of computational strategies [22,[25][26][27][28] for the problem of reinitializing LSF.Although these methods have achieved some success, the following problems exist: (1) preventing new zero contours from emerging, which may cause undesirable results for image segmentation, such as failures to detecting the interior boundary, and (2) the reinitialization process which requires a lot of CPU time, resulting in an extension of the LSE process.
In order to solve the aforementioned problems, in recent years, some variational level set formulations [28][29][30][31][32] have been proposed to regularize the LSF during evolution, and hence the reinitialization procedure can be eliminated.Among these methods, we choose Zhang et al.'s [32] method as our regularization strategy; the reason is that their method can completely eliminate the reinitialization process and has a strict theoretical derivation.
Under the variational level set framework, the LSE equation can be formulated as where E ϕ ϕ denotes the Gateaux derivative of the energy functional E ϕ , δ ϕ is the Dirac functional, F is the force function, and ϕ 0 x is the initial LSF.By adding a diffusion term "εVϕ" into (10), we have the following reaction diffusion (RD) equation for LSM: where ε is a small positive constant and Δ is the Laplacian operator.Equation (11) has two dynamic processes: the diffusion term "εΔϕ" gradually regularizes the LSF to be  Journal of Sensors piecewise constant in each segment domain Ω i , and the reaction term "1 − 1/ε −Fδ ϕ " forces the final stable solution of (11) to "−Fδ ϕ = 0," which determines Ω i .Due to the absence of the diffusion term, the traditional LSMs have to regularize the LSF by an extra procedure, that is, reinitialization.That is to say, the gradient descent flow corresponding to the regularization term E R ϕ can be expressed as follows: where κ is a control parameter.
From (12), we can deduce the expression of E R ϕ : In summary, by adding a RD term into the LSE equation, the regularization of the LSF can be achieved, thus completely eliminating the time-consuming reinitialization process.

Level Set Formulation.
With the level set representation, the total energy functional E total ϕ can be reformulated as follows: where Ω is the entire image region to be segmented, λ 1 and λ 2 are positive constants, and Keeping the multiscale fitting energy function f 1,n and f 2,n fixed, and minimizing the energy functional E total ϕ with respect to ϕ, we obtain the following gradient descent flow equation: where κ is the same control parameter as (12), and In order to solve the partial differential equation shown in (17), in this paper, three special strategies are adopted to improve its computational efficiency; the details related to these three strategies are shown in Section 3.

Implementation Strategies
4.1.AOS Solver.An explicit scheme is the most popular method for solving (17) [33], but due to the limitations of the Courant-Friedreichs-Lewy (CFL) [24] condition, which asserts that the advancing speed of numerical waves cannot exceed the evolution speed of physical waves.Thus, the active contour can move only a small distance in each iteration; this means that we can only take a small time step.If the active contour is not near the target edge, the evolution process will take a long time to reach its convergence state.In order to remove the restriction on the time step and obtain fast convergence, we introduce the fast AOS [34] scheme to solve the terms which are marked by operator div in (17); however, the existence of δ ϕ leads some differences between our terms and the processing objects of AOS.Fortunately, Chan et al. [12] indicate that δ ε ϕ can be replaced by ∇ϕ ; moreover, in the restriction on signed distance function, we have ∇ϕ = 1, so our equation will be an appropriate object that can be handled by AOS.The first term on the right side of (17) has no relation with the gradient of the LSF, so it can be treated as a constant.In our previous paper about the AOS scheme, we have given the AOS scheme for the terms which are marked by operator div (for more details, please refer to [20]).

Salient Target Detection Mechanism-Based Automatic
Initialization of Level Set.Since the evolution equation of the level set is carried out in the form of iterations in the concrete execution, we need to set an initial value for the LSF so that our time iteration process has a reference point; the setting method of the initial value is usually divided into two forms: (1) Man-made type.For example, a curve is specified by hand drawing (by sliding the mouse over the image area to complete the interactive design of the curve) or by parameterizing (giving all the associated parameters of the curve), and then the signed distance function corresponding to this curve is taken as the initial value of the level set.(2) Algorithm automatically generated type.For example, the third-party presegmentation algorithm is used to output the rough foreground region of the image, and then the contour of the foreground region is extracted and taken as our initial curve.Finally, the signed distance function corresponding to this curve is taken as the initial value of the LSF.Under different application scenarios, we are free to use these two types of initial curve setting strategies; their convenience is of no doubt, but their respective shortcomings are obvious: The shortcomings of the first approach are people's strong subjectivity, so it usually unconsciously places the initial curve within the neighborhood of the target of interest.As a result, for the execution process, it is impossible to make an objective evaluation of the overall performance of the level set segmentation algorithm.The shortcomings of the second approach are that the output of the presegmentation algorithm cannot be predicted; when the presegmentation effect is poor, the corresponding initial curve must be very disturbing, and there is no doubt that additional interference is added to our level set segmentation task.
It is true that the targets we intend to segment usually have some form of saliency; therefore, we may achieve a predetection of the target area through a salient target detection mechanism, and the outer contour of the output is taken as our initial curve.
Figure 3 shows the performance of some classic salient target detection algorithms on several sample images (the 7 Journal of Sensors experimental results section also uses this set of images), where the first and last columns are the input images and ground truth, respectively, and the second to the sixth columns are the saliency maps by using the graph-based (GB) algorithm [35], frequency-tuned (FT) algorithm [36], spectral residual (SR) algorithm [37], context-aware (CA) algorithm [38], and region covariance-based (COV) algorithm [39], respectively.In the saliency map, the greater the gray value of these results, the greater the significance of the corresponding position in the input image, and vice versa.
From the saliency target output results shown in Figure 3, we found that the GB model outputs the optimal saliency map; the reason is that its results have the following two characteristics: (1) The pixels in the background area are less salient, and (2) the pixels in the target area typically have a higher saliency value.In view of this, in the experimental part of this paper, we choose the GB model to achieve the detection of salient targets.In addition, we also found a common phenomenon that the output of a significant target detection algorithm is usually a nonbinarized image with a suspected target area; it cannot directly give the external contour of the suspected target area, thus we need to further segment the output of the salient detection algorithm in order to get the initial curve of the level set.
Because the output of the salient target detection algorithm has a high degree of fuzzy characteristics, the external contour of the suspected target area is not obvious; therefore, the traditional threshold segmentation algorithms cannot get the ideal segmentation results on this kind of images.However, the CV model based on the theory of 8 Journal of Sensors level set has excellent segmentation performance for such edgeless images.Therefore, this paper uses the CV model to segment the suspected target areas of the salient target detection algorithms.Figure 4 shows the segmentation results of the CV model on the saliency map shown in the second column of Figure 3; in order to demonstrate the initialization performance of this processing mode, the final contour curve is superimposed on the original input image shown in Figure 3.In initializing the LSE of the CV model, we take the simplest way to draw a rectangle directly above the image, which is 5 pixels from each edge of the input image.

Sparse Field Method for Fast Local Computation.
In traditional level set methods, it is needed to update the LSF value in the whole image plane, which greatly increases the CPU time consumption of the operation process.In order to overcome this drawback, a narrow band approach which was initially proposed in [22] and extensively analyzed and optimized in [23] is proposed; its key idea is to deal only with pixels which are close to the latest position of the zero level set in both directions (inwards and outwards), and the SFM [21] takes this strategy to the extreme since it computes the updates on a band of the grid points that is only one point wide.Therefore, the calculated amount increases with the size of the curve length, rather than the resolution of the grid.
The SFM uses lists of points that represent the zero level set as well as points adjacent to the zero level set.By using these lists and carefully moving points to and from the appropriate list, a very efficient representation of ϕ can be maintained.
These lists are implemented as doubly linked lists.These lists have the properties that elements can be added dynamically and that elements can be removed from the middle of the list.This type of data structure is available in most programming languages (e.g., the vector class in C++).
Five lists are used in the SFM to represent five different levels: Each list holds the x, y, and z location of pixels in the image.In addition to the lists, two arrays are used.The first is the ϕ array.It is the same size as the image domain and should be maintained at full floating point precision.The second array is a label map the same size as ϕ.This label map is used to record the status of each point and provides a way to look up which list a point belongs to.The label map will only contain the values −3, −2, −1, 0, 1, 2, 3 .
The procedure of SFM can be divided into two stages: initialization and contour evolution.
Figure 5 shows an instance of the initialization of SFM.In the LSF evolution stage, the updated status of L 0 is determined by the level set iteration.Then, by fusing the neighborhood information, the updated status of points around L 0 can be deduced and stored in the following five new lists: Finally, points in the above new lists update their status and one movement of the contour is finished.This process is repeated until convergence is reached.
It should be noted here that the input of the SFM is the updated LSF corresponding to the pixels in L 0 which is only one pixel wide; by using the AOS strategy to solve ϕ n+1 shown in (17), we can get the updated LSF.
In addition, from the implementation of SFM, we see that the input LSF can be processed in parallel fashion; thus, we can use GPU or other parallel architectures to obtain further acceleration.

Experimental Results and Discussions
In this section, we will carry out a series of experiments on some synthetic and real images with slight and severe intensity inhomogeneity to verify the validity of the model presented in this paper.The experiments were implemented by Matlab R2012a on a computer with Intel Core i7 2.3 GHz CPU, 8 G RAM, and Windows 7 operating system.The CPU time in this paper starts from the time when the salient target detection mechanism-based automatic initialization is completed.Here, we configure the common parameters in the experiments according to the following values: The time step Δt for the evolution process of LSF is set to 15; the parameters  11 Journal of Sensors λ 1 , λ 2 , and κ are all set to 1; and the parameter N (the total number of Gaussian kernel functions) is set to 7.
In order to test the generalization ability of the proposed model, we adopted a method of randomly selecting the test images.Some of these images come from the literatures on image segmentation, and some come from the Internet.These images are weakly related to each other.
In the following, we will evaluate the performance of the proposed algorithm from three aspects: accuracy, fastness, and stability; they are represented by contour location accuracy, speed of evolution convergence, robustness against initial contour position, and noise interference, respectively.
The contour location accuracy of the MLBF model is evaluated by applying it to the real images shown in the first column of Figure 3.In this group of experiments, we also give the segmentation results of several other classical models, in which the level set-based segmentation methods have a CV model [12] and geodesic active contours (GAC) model [1], and the traditional segmentation methods include expectation maximization (EM) algorithm [40], Nobuyuki Otsu's (OTSU) algorithm [41], and pulse-coupled neural network (PCNN) algorithm [42].In order to facilitate the subsequent description, we give each input image a number; the digital numbers corresponding to the input images of Figure 3 are 1 to 6. Figure 6 shows the results of this set of comparison experiments, where the first row is the input images and the initial contours required for the level set-based segmentation methods, and the second to the seventh rows are the segmentation results by using the CV, GAC, EM, OTSU, PCNN, and our MLBF models, respectively.Figures 6(a) and 6(b) follow the same image layout.In order to be consistent with the expression form of ground truth, we use two valued images to represent the segmentation results corresponding to the final evolution curve of the level set.
From this set of real image segmentation experiments (as shown in Figure 6), we found that the traditional segmentation methods are difficult to obtain ideal segmentation results, and they all have different degrees of defects; however, our method outputs accurate segmentation results.The following analysis gives the general cause of the aforementioned phenomenon: (1) The logical basis of the CV model is that the gray value of the target area is uniform.In most cases, this condition cannot be satisfied; for example, on the inhomogeneous images shown in this experiment, the model outputs wrong segmentation results.(2) The GAC model is a level set model based solely on image gradient information, so the model is powerless for weak target edges.(3) Because only the intensity information can be used, the statistical modeling ability of the EM algorithm will be affected, and then its final segmentation performance will be affected.(4) The segmentation process of the OTSU algorithm is based on the histogram; therefore, the spatial information of the image is sacrificed.When the target area of the input image is not uniform, the segmentation result is inevitably deviated.(5) When the PCNN algorithm performs the segmentation task, it searches pixels with similar gray levels only within the neighborhood of the internal connection matrix; in the absence of constraints, some small spurious information will enter into the segmentation results.(6) On the contrary, the proposed method is established within the framework of level set; as a result, we can impose various constraints to filter out the information that does not belong to the target.This is an important safeguard mechanism for accurate segmentation.This is the reason why the output of this paper is the best.
In the subjective visual level of the human eye, our method does output the best results, in order to increase the objectivity of the comparison behavior.Next, we will use four region overlap metrics to compare the where " ∩ " and "∪" represent the intersection and union of two regions, respectively; S test , S ref erence , and S common are the output region of the segmentation algorithm, the ground truth, and the common part of two regions, respectively; and N ⋅ represents the number of pixels in the enclosed set.Obviously, the closer the JS and DSC values to 1, and the FPR and FNR values to 0, the better the segmentation results.Table 1 presents the evaluation results using the four region overlap metrics; it can be seen that the proposed MLBF model has the optimal performance indicators.
The speed of evolution convergence of the MLBF model can be reflected by the number of iterations required to obtain the final target contour and the CPU time required   Journal of Sensors to complete the entire segmentation process.In this group of experiments, we compare it with three other level set models which are also aimed at inhomogeneous images: LBF [17], LGDF [18], and LIF [19].The detailed performance indicators for this set of experiments are shown in Table 2; the initial curves and the input images here are the same as those shown in Figure 6.
It can be seen from the statistical data in Table 2 that the proposed model which combines the two strategies of AOS and SFM has the least number of iterations and the CPU time consumption under the premise of outputting the accurate segmentation results, and it can decrease the iterations from hundreds of times to dozens of times compared with the level set methods without these two strategies and the total CPU time from dozens of seconds to hundreds of milliseconds.Although the methods involved in the comparison have reached the final state of convergence, their segmentation results all have different degrees of error; Figure 7 shows the final evolution curves and corresponding two valued images.
In order to validate the KL-MLBF's robustness against initial contour position, we compare it with three classic inhomogeneous image segmentation models which have already appeared in the previous comparative experiments.Figure 8 shows the results of this set of comparison experiments, where the first row is the input images and the initial contours of the LSE process, and the second to the fifth rows are the segmentation results by using the LBF, LGDF, LIF, and our MLBF models, respectively; here, we use the usual form of the level set method to express the final segmentation results.By simply assigning the area inside the curve to white and the area outside the curve to black, we can get the binary image corresponding to the segmentation curve.From this set of comparison results, we found that the results of the three methods involved in the comparison are related to the position of the initial contour, while the model in this paper outputs the same correct result under different initialization forms.
In order to verify the proposed model's robustness against noise interference, we carried out the experiments on a set of images with different noise levels.By superimposing different levels of Gaussian noise into a clean original image, we can easily build the experimental data needed here.In the specific implementation, we adopt the imnoise function from Matlab, whose call syntax is "output = imnoise (input, 'gaussian', m, v)," and the precise control of the noise level can be achieved by changing the values of m and v.In this experiment, we use the data shown in Figure 9 as the original pure image; the

Conclusion
In this paper, we propose a level set segmentation model called MLBF.By introducing multiscale ideas into the classical LBF model, the MLBF model in this paper achieves excellent segmentation performance in the segmentation experiments of inhomogeneous images.The introduction of the reactive diffusion energy term makes it possible to ensure the validity of the LSF without the need for reinitialization.In the numerical implementation, we have introduced three strategies to improve the overall performance of the proposed model: (1) the AOS strategy to break the time step limit, (2) the SFM strategy to achieve minimal pixel update range, and (3) the salient region localization strategy to achieve fully automatic initialization.Under the combined effect of the above strategies, the model of this paper has achieved excellent performance in the following aspects: contour location accuracy, speed of evolution convergence, robustness against initial contour position, and robustness against noise interference.In the future study, we intend to further strengthen our model, for example, the introduction of a probabilistic graphical model and other ideas, in order to further enhance its adaptability in natural image segmentation.

Figure 2 :K
Figure 2: An example of inhomogeneous image segmentation based on the LBF model.(a) Sample image with slight inhomogeneity.(b) The histogram of gray level distribution of the local region corresponding to center point P 1 .(c) The histogram of gray level distribution of the local region corresponding to center point P 2 .(d) Correct segmentation results.(e) Another sample image with severe inhomogeneity.(f) The histogram of gray level distribution of the local region corresponding to center point P 3 .(g) The histogram of gray level distribution of the local region corresponding to center point P 4 .(h) Wrong segmentation result.

Figure 3 :
Figure 3: The results of different salient target detection algorithms.

Figure 4 :
Figure 4: Examples of the initial curve determination based on the salient target detection mechanism.The first column: saliency map.The middle column: the convergence result of the CV model.The third column: the visual effect after the contour curve is superimposed on the original image.

Figure 5 :
Figure 5: One example of the initialization in SFM.

Figure 7 :
Figure 7: The error segmentation results corresponding to the convergence state.

Figure 8 :
Figure 8: A set of comparative experiments used for verifying the robustness of the model against the initial curve.

Figure 9 :
Figure 9: The pure input image of the noise suitability test.
2.1.Level Set Method.The level set methods implicitly represent the planar closed curve C by the zero level set of a Lipschitz function ϕ x, y, t : Ω

Table 1 :
Region overlap metrics of different algorithms, where "image number 1" to "image number 6" are the serial numbers of the images shown in the first column of Figure3with the same order.

Table 2 :
Comparison of the speed of evolution convergence.