Multi-phase image segmentation by the Allen–Cahn Chan–Vese model
Abstract
This paper proposes an Allen–Cahn Chan–Vese model to settle the multi-phase image segmentation. We first integrate the Allen–Cahn term and the Chan–Vese fitting energy term to establish an energy functional, whose minimum locates the segmentation contour. The subsequent minimization process can be attributed to variational calculation on fitting intensities and the solution approximation of several Allen–Cahn equations, wherein Allen–Cahn equations are enough to partition segments. The derived Allen–Cahn equations are solved by efficient numerical solvers with exponential time integrations and finite difference space discretization. The discrete maximum bound principle and energy stability of the proposed numerical schemes are proved. Finally, the capability of our segmentation method is verified in various experiments for different types of images.
Key Words: Multi-phase image segmentation, Allen–Cahn Chan–Vese model, graph Laplacian, maximum principle, energy stability
1 Introduction
Image segmentation aims to partition a given image into several disjoint regions with uniform characteristics such as colors, intensities, and textures. Benefitting from image segmentation, many critical subsequent image applications can be well addressed, for instance, recognition, labeling, and detection. Compared with two-phase image segmentation that only needs to divide the given image into two disjoint parts, multi-phase image segmentation is more practical and challenging [28].
There exist many multi-phase image segmentation methods from different perspectives, e.g., region growing methods, graph cut methods, clustering methods, and active contour models. Wherein active contour models have been studied extensively and achieved great success in the last two decades. For image segmentation with active contour models, it can be attributed to a minimization process of the objective energy functional, and then it follows the evolution of the segmentation curve to get the desired segmentation result ultimately. The key in the extension from two-phase to multi-phase image segmentation is how to give the characteristic representation for each segment. Samsons et al. extended the work in [24] and adopted level set functions to represent phases. Under this circumstance, the model generates overlap or vacuum issues for which an extra constraint is added [17, 18]. Then Chan et al. proposed a multi-phase level set method [3, 29] based on two-phase segmentation and multi-phase motion [2, 37], in which level set functions can represent disjoint partitions. This method reduces the number of the level set functions and fixes the issue of overlap or vacuum without constraints. However, the level set method is always trapped in the limit of computation efficiency and re-initialization. In [21, 30, 31], characteristic functions are adopted to depict each phase and a concave functional is used to approximate the contour length, which can be generalized to many active contour models and applied to binary and multi-phase segmentations. Then an iterative convolution-thresholding method (ICTM) is proposed in this framework to solve active contour models in an efficient and energy stable way. But for images with noise, the segmentation results of ICTM are not so satisfying when it is applied to some noise-sensitive active contour models.
In active contour models, the objective energy functional consists of a regularization term and a fitting term. The regularization term is used to minimize the perimeter of the closed curve. Because convergence theory [1, 12] links the perimeter of the closed curve with the phase transition model (Modica–Mortola) [9], we proposed the Allen–Cahn equation, known as the phase-field model, in conjunction with the Chan–Vese fitting term [2] to handle two-phase image segmentation in [23]. The corresponding energy functional is given by
(1.1) |
where
An alternating direction minimization method (ADMM) was used to update the phase variable , the two-phase average intensities and iteratively. For the derived Allen–Cahn equation, the phase variable eventually evolves into two phases, 0 and 1. In this way, one phase variable can partition the given image into two phases. In this paper, we extend (1.1) to a multi-phase image segmentation model. If there are phases to be separated, we need at least phase variables. Then, by adopting the ADMM for the minimization process, we need to solve Allen–Cahn equations.
Energy stability is an intrinsic property of the Allen–Cahn equation. Many energy stable numerical schemes have been developed in the simulation of the Allen–Cahn equation, such as the convex splitting schemes [25], stabilized schemes [16, 27], invariant energy quadratization schemes [35], scalar auxiliary variable schemes [26], and so on. The maximum bound principle is another vital character of the Allen–Cahn equation. In this paper, we employ the exponential time differencing (ETD) method to solve the derived Allen–Cahn equations. The proposed ETD schemes are proved to be unconditional energy stability and maximum bound principle preserving following the ideas in [7, 8, 10]. It guarantees the stability of our ADMM-ETD algorithm and locates the phase variables in a given range. Moreover, the application of the 2D Fast Fourier transform (FFT) for solving the ETD schemes accelerates the computation notably. For more details about higher-order ETD schemes, please refer to [11, 13, 38] and the references therein.
It is worth noting that the initial contour significantly influences the final segmentation results due to the non-convexity of the objective energy functional. A feasible solution for this initialization issue is to relax the energy functional into a convex functional [4, 5, 32, 33]. However, convex relaxation deprives all the non-convex parts of the original energy functional, and hence it may entail the loss of non-convex information of the segments and reduce models’ capability of preserving the sharpness and neatness of edges [6]. In [19, 23], an inhomogeneous graph Laplacian initialization method (IGLIM) was proposed, where an edge detection result was chosen to be the initial contour. This method can alleviate the sensitivity of initialization. For multi-phase image segmentation, a generalized initialization method of IGLIM, called the multi-phase inhomogeneous graph Laplacian initialization method (Multi-IGLIM) [20], will be employed to select the initial contours for the whole iterative process.
The rest of this paper is organized as follows. In Section 2, the four-phase image segmentation is utilized as an example to illustrate our model. Section 3 is devoted to giving the numerical method, including the choice of initial contour and the energy minimization process. The Allen–Cahn equations derived by ADMM will be solved by the ETD schemes for temporal discretization, and the central finite difference scheme for spatial discretization. The discrete maximum bound principle and energy stability of the ETD schemes are proved in this section. Section 4 contains numerical experiments for various images. We shown the effectiveness of the proposed model by comparing it with other state-of-the-art segmentation methods. The theoretical results proved in Section 3 are validated numerically. The paper ends with some conclusions in Section 5.
2 The Allen–Cahn Chan–Vese model
Referring to the work in [19, 23, 36], we give the energy functional based on the Allen–Cahn Chan–Vese (ACCV) model for the multi-phase image segmentation as follows,
(2.1) |
Here is the number of phase variables, by which we can segment phases [29]. is a double-well potential function. is a fitting term involving and the original image . Each phase variable eventually evolves to two phases 0 and 1. We assume the interface, i.e., the edge, lies at the contour of . In Figure 2.1, we can see the segmentation of 4 and 8 phases.


For a clear description, we take to do the illustration in the follow parts. All derivations can be easily extended to the case with larger . We need to minimize the following energy functional
(2.2) |
where and
(2.3) |
with the Heaviside function given by
In the above description, we assume that the original image is a color image in space . Compared with the grayscale image with only one channel , the color image has three channels (R, G, B), which gives . Therefore, the intensity averages are constant vectors in space .
3 The numerical method
In this section, we propose efficient numerical schemes to solve the ACCV model. An alternating direction minimization method is used to minimize the energy functional (2.1).
3.1 Initialization
As mentioned in [19, 20, 23], initialization is a vital step for the image segmentation. Here, we use the Multi-IGLIM proposed in [20] to generate the initial contour for the multi-phase image segmentation. Multi-IGLIM comprises three stages: finding the zero-cross points of the generalized inhomogeneous graph Laplacian operator, the K-means clustering, and denoising based on the diagonal connectivity. For the sake of the completeness of this paper, we restate the essential part of the Multi-IGLIM. The readers can refer to [20] for more detailed descriptions.
3.1.1 Generalized inhomogeneous graph Laplacian operator
In [19], we give the definition of the inhomogeneous graph Laplacian operator for a grayscale image, which can be easily extended to a color image by summation of information on different channels.
Let be a 2D discrete image domain, and be an image defined on it with pixels. For pixel , the generalized inhomogeneous graph Laplacian operator for a color image is given by
(3.1) |
where is intensity value of the -th neighbour point of in the -th channel. The relevant 8 neighbors are
and the weighted coefficient
(3.2) |
which is between and . in (3.2) is a given non-negative parameter.
Subsequently, we choose a threshold value to locate the zero-cross points of the generalized inhomogeneous Laplacian operator by condition . Finally, all zero-cross points are collected in the set to represent rough initial edges.
3.1.2 The K-means clustering
This part is devoted to dividing the rough initial edges obtained in the last stage into different phases. We utilize the K-means clustering algorithm proposed in [22], minimizing the sum of distances from each object to its cluster centroid for all clusters. The edges of each phase have different intensities as well as the interior region. Consequently, the K-means clustering algorithm can help segment the rough initial edges into phases.
3.1.3 A denoising method based on the connectivity of edge points
Due to the influence of noise, the denoising process is necessary. Similar to [19], the diagonal connectivity is used as a guiding principle to remove most noise points from the rough initial color contours. The edge of an objective should have connectivity, which means that points of edges connect with each other, while the noise doesn’t possess this property.
Definition 3.1.
[19] The diagonally connected points for are defined as follows:
We call a diagonally connected point if both and or both and have at least one pixel that also belongs to the detected edge.
To eliminate noise in the rough initial color contours, we keep all the diagonally connected points and remove the other points. The denoising process needs to be repeated times where is a pre-setting small integer.
Now combining all above treatments, we restate the Multi-IGLIM as follows.
3.2 Energy minimization
The situation of two phase variables, i.e., four phases image segmentation, is also taken as an instance to explain the energy minimization process. We will introduce the adopted minimization method, numerical schemes for the derived Allen–Cahn equations, and prove the discrete maximum bound principle and energy stability.
3.2.1 The transition from phases to phase-field variables
From the Multi-IGLIM in Algorithm 1, we get the denoising edge detection results for phases. However, the number of the initial values for the minimization process for the ACCV model (2.1) is . In this part, . We first sort the results of the Multi-IGLIM, , in ascending order by the perimeter for each phase. Then the initial contours for two phase variables are
(3.3) | |||
(3.4) |
In the case of overlapped edges, will be beyond somewhere, for which we will force them to equal to directly. The integration method (3.3)-(3.4) is not unique, and other reasonable treatment can also be considered.
3.2.2 The alternating direction minimization method
This part introduces the alternating direction minimization method (ADMM) to minimize the energy functional (2.2). The minimization procedure can be written as
(3.5) | |||
(3.6) |
with
Since the Heaviside function in (2.3) is discontinuous, we give as a regularization of the Heaviside function in practice
Here, the value of is requested to be less than . The derivative of is an approximation of Dirac function given by [15]
For a fixed and , the variational calculation gives
(3.7a) | |||
(3.7b) | |||
(3.7c) | |||
(3.7d) |
For (3.5), we only need to solve the following two Allen–Cahn equations to the steady state,
(3.8) | |||
(3.9) |
with the homogeneous Neumann boundary condition. Here,
The function is the derivative of with respect to .
Considering the properties of maximum boundedness and energy decay for the classical Allen–Cahn equation, we would next explore the relevant properties for the proposed Allen–Cahn equations (3.8) and (3.9). According to the criterion in [8], we can verify that the proposed Allen–Cahn equations (3.8) and (3.9) satisfy the following maximum bound principle
for homogeneous Neumann boundary condition. Besides, the energy decay property for (2.2) holds obviously. In the following part, we will design efficient numerical schemes preserving the corresponding properties, which are stable and reliable to get the steady state solution. In [7, 10], it is shown that the ETD method can maintain the maximum bound principle and energy stability for the Allen–Cahn equation. As a consequence, we will utilize the ETD method as temporal discretization to construct the numerical schemes for the proposed Allen–Cahn equations (3.8) and (3.9).
3.2.3 Exponential time differencing methods
Using the central finite difference method to discretize (3.8) and (3.9) in space, we obtain the following ODE system for numerical solution ,
(3.10) |
where
Here, is a 2D discrete Laplacian matrix under the homogeneous Neumann boundary condition,
where is an identity matrix and
is an identity matrix. The positive constant is called the stabilizer.
Multiplying (3.10) with an integrating factor , and integrating from to give
Then two approximations for the nonlinear term are proposed.
-
•
ETD1 : Approximating by , we have a first-order scheme
(3.11) -
•
ETDRK2: Approximating with , wherein is a first-order approximation obtained from ETD1. As a consequence, the ETDRK2 scheme is given by
(3.12)
In (3.11) and (3.12), are defined as
The calculation process of can be simplified by 2D discrete cosine transform (DCT) efficiently. The time complexity is per time step. For more detailed illustrations, please refer to [11, 14].
We summarize the algorithm described above as follows.
3.2.4 Discrete maximum bound principle
In this part, we characterize the stabilizer such that the discrete maximum bound principle holds for the proposed ETD scheme (3.11) (or (3.12)). We assume the phase variable in the interval , and project to by the operator
(3.13) |
Therefore the original image and the average intensity are also rescaled in and denoted by , correspondingly. Substituted into the Allen–Cahn equation (3.8) and (3.9), the equations become
(3.14) | |||
(3.15) |
where . Then the ODE system (3.10) turns to
(3.16) |
with
Following the idea in [23], we turn to the proof of discrete maximum bound principle for the ETD numerical schemes of (3.16).
Lemma 3.1.
There holds the following bound for nonlinear term , i = 1,2
(3.17) |
provided that
Here, is the number of channel of image .
Proof.
To estimate the boundedness of nonlinear term ,
the first-order derivative is considered as
(3.18) |
Simplifying the second term, we have , and the boundedness for the above second term in is deduced as
(3.19) |
Then we rewrite the third term
Since the original image and intensity averages is in interval , it holds
Considering the fact that lies in the interval , we have
(3.20) |
Substituting (3.19) and (3.20) into (3.18), it follows that
If , we have , which shows that is a monotonically increasing function. Provided that
(3.21) |
the following equalities
can be easily derived. Considering the monotonicity of , we can derive . The proof for follows the same line, we just omit it. ∎
With the estimate in Lemma 3.1, we can deduce the discrete maximum bound principle for ETD1 and ETDRK2 schemes of (3.16) under , referring to Theorems 3.4 and 3.5 in [7]. That is, the numerical solution satisfies if the initial value have . and also satisfy the projection relations in (3.13). Thus, the numerical solution of the ETD scheme (3.11) (or (3.12)) for equations (3.10) preserves the discrete maximum bound principle, as shown in the following theorem.
Theorem 3.2.
3.2.5 Discrete energy stability
For given , the Allen–Cahn equations (3.8) and (3.9) are energy stable based on (2.2), viz.,
(3.23) |
Subsequently, we will prove that the ETD scheme (3.11) or (3.12) for (3.10) has discrete energy stability in the sense that the following discrete energy is non-increase in time:
(3.24) |
Lemma 3.3.
The proof for the ETD1 scheme (3.11) can be obtained with a similar argument in [7]. For the ETDRK2 scheme (3.12), the proof in [7] is not optimal, and we can adopt a similar proof in [10] to get the unconditional energy stability in Lemma 3.3. In both proofs, the vital step lies in the boundedness of in (3.24), which can be proved by the boundedness of numerical solutions guaranteed by Theorem 3.2 and estimates on the regularized Heaviside function and the regularized Dirac function . The proofs are quite similar to those in [7] and [10]. So we omit the proof of Lemma 3.3.
Theorem 3.4.
Proof.
Remark 3.1.
The maximum bound principle in Theorem 3.2 and unconditional energy stability in Theorem 3.4 are both based on two phase variables, four-phase segmentation. For the case of more than two phase variables, Theorems 3.2 and 3.4 can be derived without any special treatments; only in Lemma 3.1 needs to be re-evaluated.
4 Numerical experiments
Through a variety of experiments, this section exhibits the capability and efficiency of the proposed ACCV model and the developed ADMM-ETD solver in the multi-phase image segmentation. The discrete maximum bound of the solution and energy stability of ETD1 and ETDRK2 schemes are presented, which are consistent with the theoretical results in Theorems 3.2 and 3.4. The comparisons between the state-of-the-art segmentation methods and our proposed method are stated to display the effectiveness of our ACCV model for the multi-phase segmentation. All experiments in this part were performed on a Windows laptop system with an Intel Core i5 processor, 2.11-GHz CPU and 16GB RAM, and were programmed in MATLAB R2019a.
4.1 Comparison between the ETD1 and ETDRK2 schemes
This subsection is devoted to testing a synthetic grayscale image whose size is . Without affecting the final segmentation results, we rescale this image into to speed up the process of segmentation. The edge detection by the Multi-IGLIM gives the initial contours of in the first row of Figure 4.2. The second row shows the final contour results at interfaces and the color segmentation results, respectively. Wherein the contour result uses the original image as the background, and then we plot the interface of and by green and red to distinguish. The color segmentation result is obtained by marking the disjoint regions by different colors. More specifically, the green curve recognizes the “circle” and “heart”, and the red one identifies the “heart” and “arch” in contour results (c). It assumed that holds inside the green curve, otherwise , similar case for and the red one.
Table 4.1 contains the comparison for ETD1 and ETDRK2 schemes, from which we verify that the second-order scheme is more efficient. As a result, we will adopt the ETDRK2 to do the multi-phase segmentation in what follows. In view of stability, the discrete maximum bound principle holds for variables and . The energy evolution of the two temporal discretizations sketched in Figure 4.3 reveals the energy stability. The relevant parameters are given by .
Scheme | Time step | Iteration | CPU time(s) | 1-Max | Min | ||
---|---|---|---|---|---|---|---|
ETD1 | 65 | 6.35 | 1.88e-2 | 3.64e-3 | 1.47e-2 | 4.51e-3 | |
ETDRK2 | 36 | 4.76 | 1.54e-2 | 3.20e-3 | 1.29e-2 | 4.14e-3 |


4.2 Experiments on multi-phase color images
In this part, we carry out multi-phase image segmentations for some color images, including 4-phase and 6-phase segmentations. The first four images in Figure 4.4 are 4-phase segmentation. The first is a color version of the synthetic grayscale image in the last example. The second one is the image “flowers” with two flowers in red and yellow, stalks in green, sky in blue. The remaining two are extracted from the image dataset “white blood cell”, for which we can segment the white blood cell and its nucleus from the around red blood cell. For the 4-phase image, Figure 4.4 states the original image, the initial contour and , the contour results, and the color segmentation result from left to right column, respectively. For the 6-phase image, we give the original image, the initial contour , and , and the color segmentation result, respectively. Notably, 6-phase segmentation is beyond the capability of two phase variables. Hence we need three phase variables, that is, three Allen–Cahn equations. There will appear some vacuum segments which does not influence the segmented results.
The relevant parameters change along with the images, which are listed in Table 4.2. First, in multi-phase inhomogeneous graph Laplacian operator (3.2) is fixed as 50, an independent parameter which can not change along with the image. The threshold value and the denoising number need to be adjusted through trial and experience. We conclude that in most cases. Actually, the choices for the relevant parameters are selected balancing the segmentation result and cost time. For instance, as long as , an ideal segmentation will be obtained for the image“flowers”. Since the case of costs less time, we call the choice of parameter is optimal and recorded in Table 4.2. On the other hand, the parameters for the Allen–Cahn equations contain the diffusion parameter , the weighted coefficient for the fitting term, the spatial discretization step , and the stabilizer . We notice that are similiar for 4-phase image segmentation. It does not mean that this choice is suitable and optimal for all images. The optimal choice for the relevant parameters varies according to the image. The stabilizer has been proved an upper bound in Lemma 3.1, whereas we can narrow down the range of in practical, as we have done in Table 4.2.
Image | Multi-IGLIM | ACCV | |||||
---|---|---|---|---|---|---|---|
Synthetic | 50 | 5 | 6 | 40 | 0.3 | 120 | |
Flowers | 50 | 10 | 6 | 40 | 0.3 | 120 | |
WBC1 | 50 | 1 | 8 | 40 | 0.3 | 70 | |
WBC2 | 50 | 1 | 8 | 40 | 0.3 | 70 | |
6-phases | 50 | 1 | 8 | 40 | 0.5 | 80 |
4.3 Experiments on segmentation comparison
For illustrating the capability of our ACCV model, we will make comparisons with several prominent image segmentation models, including the Cahn-Hilliard model (CH) [36]; Smoothing, Lifting and Thresholding model (SLaT) [5]; Iterative convolution-thresholding method (ICTM) [30], and convex K-means approach (CKA) [34]. 4-phase and 6-phase image segmentations will be tested in Figure 4.5. From top to bottom, the images “flowers”, “4colors”, “WBC1”, “WBC2”, “6phases” are segmented respectively.
Before the illustration of the segmentation, we need to do some explanations as follows. The segmentation results of SLaT and CKA keep the same color as the original image so that some segmentation results look like the original images, such as the image “4colors” and “6phases”. For the remaining models, we have filled the segmentation results with other colors after the segmentation to distinguish. The recorded CPU time in Table 4.3 is obtained by the average of 10 times segmentations. Since the chosen models also have some crucial parameters which will directly determine the behavior of the segmentation method, we have tried our best to find the optimal parameters to balance the segmentation result and the CPU time, as we did for our ACCV model.
Considering the segmentation result and the CPU time, it can be seen that the CH model takes much longer than the other models. Since the Cahn-Hilliard equation is a fourth-order PDE, the simulation will be more time-consuming. And for segmentation of more than four phases, it is not satisfactory. Except for the image “flowers”, the SLaT model finishes the segmentation in the least time among all models. For the image of white blood cells, the segmentation shows double edges around the cell membrane of the red blood cell due to the low resolution. Since the image “ flowers ” has texture in each partition rather than a homogeneous color block, it is the reason that the SLaT model needs more time for “flowers ” than the other images. ICTM achieves satisfactory segmentations for all images, although it costs a little longer in the images of the white blood cell. The CKA fails to separate the images “WBC1” and “WBC2”, compared with our ACCV model. Through experiments, we summarize that the ACCV model is generally applicable for various images except for the image with many details. And the efficiency of the ACCV model is comparable to the above prominent models.






























Image | CH[36] | SLaT[5] | ICTM[30] | CKA[34] | ACCV |
---|---|---|---|---|---|
Flowers | 28.48 | 5.93 | 3.33 | 4.56 | 3.11 |
4colors | 3.97 | 2.56 | 3.11 | 4.37 | 6.12 |
WBC1 | 16.14 | 2.08 | 13.76 | 13.51 | 6.87 |
WBC2 | 15.92 | 2.13 | 10.25 | 6.21 | 4.65 |
6phases | 17.37 | 0.75 | 3.74 | 6.15 | 4.76 |
4.4 Experiments on the capability for noise images
Through two corrupted image “4blocks-1” and “4blocks-2” by different levels of Gaussian noise, this subsection exhibits the robustness of our model for noise. For the sake of illustration, three celebrated and effective segmentation methods are adopted for comparison, including SLaT [5], ICTM [30], and CKA[34]. In this example, we set for the Multi-IGLIM, and for the ACCV model.
We first display the segmentation results of the polluted “4blocks-1” in Figure 4.6. The difficulty of the segmentation lies in the intersection of four grayscale squares as well as the intersecting edge with inhomogeneous intensity. Moreover, the close intensities lead that some segmentation methods regard the white and light gray blocks as one segment. From the first row to the fourth row, we gradually increase the Gaussian noise level by taking the variance from 0.01,0.02,0.03,0.04, respectively. ICTM shows not only the four desired objects but also all the noise points, which shows its sensitivity to noise. In spite of the fact that the cost CPU time of SLaT is the least for this image, the segmentation results of SLaT and CKA have blurry edges, which cause inaccurate partition.
Then a collection of corrupted images “4blocks-2” are devoted to doing the multi-phase segmentation in Figure 4.7. The added Gaussian noise has zero average with variances 0.01,0.03 and 0.05 from top to bottom. The results show that there exists an extra part on the top-right block of the result of SLaT, compared with the ideal segmentation. The behavior of ICTM is still limited by the noise points. For CKA, the segmented edges of four blocks are covered by some blur. By contrast, our model provides a relatively satisfactory segmentation. The CPU time for this part is recorded in Table 4.4, which also illustrates the efficiency of our ACCV model.






























Figures | Rows | SLaT[5] | ICTM[30] | CKA[34] | ACCV |
---|---|---|---|---|---|
Row 1 | 0.99 | 8.17 | 8.38 | 3.00 | |
Figure 4.6 | Row 2 | 0.98 | 17.57 | 8.11 | 3.61 |
Row 3 | 0.98 | 31.04 | 8.25 | 3.77 | |
Row 1 | 1.34 | 2.35 | 4.33 | 1.52 | |
Figure 4.7 | Row 2 | 1.32 | 2.25 | 4.34 | 1.78 |
Row 3 | 1.34 | 2.82 | 4.36 | 1.59 |
5 Conclusion
This paper develops the phase-field model in conjunction with the Chan–Vese fitting term, i.e., the ACCV model, to deal with the multi-phase image segmentation problems. An ADMM has been applied to minimize the objective energy functional. In the minimization process, an initialization method, Multi-IGLIM, is employed to give the initial contours. Variational calculus results in Allen–Cahn equations if there are phases to be partitioned. For Allen–Cahn equations, the ETD1 and ETDRK2 schemes are adopted and analyzed for temporal discretization. Theoretically, we prove that our proposed method satisfies the discrete maximum bound principle and energy decay for ETD1 and ETDRK2 schemes, which are validated in the numerical experiments. Comparisons with other models show the effectiveness of our phase-field approach and the efficiency of the ADMM-ETD solver for segmenting various images and the robustness for handling noise.
Acknowledgments
References
- [1] L. Ambrosio and V. M. Tortorelli. Approximation of functional depending on jumps by elliptic functional via t-convergence. Communications on Pure and Applied mathematics, 1990, 43(8): 999-1036.
- [2] T.F. Chan and L.A. Vese. Active contours without edges. IEEE Transactions on Image Processing, 2001, 10(2): 266-277.
- [3] T.F. Chan, J. Shen and L. Vese. Variational PDE models in image processing. Notices AMS, 2003, 50(1): 14-26.
- [4] X. Cai, R. Chan R and T. Zeng. A two-stage image segmentation method using a convex variant of the mumford-shah model and thresholding. SIAM Journal on Imaging Sciences, 2013, 6(1).
- [5] X. Cai, R. Chan and M. Nikolova, et al. A three-stage approach for segmenting degraded color images: smoothing, lifting and thresholding (SLaT). Journal of Scientific Computing, 2015, 5(7):1-20.
- [6] R. Chan, A. Lanza and S. Morigi, et al. Convex non-convex image segmentation. Numerische Mathematik, 2018, 138(3):635-680.
- [7] Q. Du, L. Ju, X. Li and Z. Qiao. Maximum principle preserving exponential time differencing schemes for the nonlocal Allen–Cahn equation. SIAM Journal on Numerical Analysis, 2019, 57 (2): 875-898.
- [8] Q. Du, L. Ju, X. Li and Z. Qiao. Maximum bound principles for a class of semilinear parabolic equations and exponential time differencing schemes. SIAM Review, 2021, 63: 317–359
- [9] S. Esedog̃lu and Y.H.R. Tsai. Threshold dynamics for the piecewise constant Mumford-Shah functional. Journal of Computational Physics, 2006, 211(1):367-384.
- [10] Z. Fu and J. Yang. Energy-decreasing exponential time differencing Runge-Kutta methods for phase-field models. Journal of Computational Physics, 2022, 454: 110943.
- [11] M. Hochbruck and A. Ostermann. Exponential integrators. Acta Numerica, 2010,19: 209-286.
- [12] Y. Jung, S. Kang and J. Shen. Multiphase image segmentation via Modica-Mortola phase transition. SIAM Applied Mathematics, 2007, 67, 1213-1232.
- [13] L. Ju, J. Zhang and Q. Du. Fast and accurate algorithms for simulating coarsening dynamics of Cahn-Hilliard equations. Computational Materials Science, 2015, 108: 272-282.
- [14] L. Ju, J. Zhang, L. Zhu and Q. Du. Fast explicit integration factor methods for semilinear parabolic equations. Journal of Scientific Computing, 2015, 62(2): 431-455.
- [15] C. Li, C. Xu and C. Gui, et al. Level set evolution without re-initialization: A new variational formulation. IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2005.
- [16] D. Li, Z. Qiao and T. Tang. Characterizing the stabilization size for semi-implicit Fourier-spectral method to phase field equations. SIAM Journal on Numerical Analysis, 2016, 54(3): 1653-1681.
- [17] J. Lie, M. Lysaker and X.C Tai. A variant of the level set method and applications to image segmentation. Mathematics of Computation, 2006, 75(255): 1155-1174.
- [18] J. Lie, M. Lysaker and X.C Tai. A binary level set model and some applications to Mumford-Shah image segmentation. IEEE transactions on image processing, 2006, 15(5): 1171-1181.
- [19] C. Liu, Z. Qiao and Q. Zhang. Two-phase segmentation for intensity inhomogeneous images by the Allen–Cahn Local Binary Fitting Model. SIAM Journal on Scientific Computing, 2022, 44(1): B177–B196.
- [20] C. Liu, Z. Qiao and Q. Zhang. An active contour model with local variance force term and its efficient minimization solver for multi-phase image segmentation. arXiv:2203.09036 [cs.CV].
- [21] J. Ma, D. Wang, X.P. Wang, and X. Yang. A characteristic function-based algorithm for geodesic active contours, SIAM Journal on Imaging Sciences, 14 (2021): 1184-1205.
- [22] J.B. Macqueen. Some methods for classification and analysis of multivariate observations. Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, 1967 University of California Press, 1967.
- [23] Z. Qiao and Q. Zhang. Two-phase image segmentation by the Allen–Cahn equation and a nonlocal edge detection operator. Numerical Mathematics: Theory, Methods and Applications, 2022, Accepted. arXiv: 2104.08992.
- [24] C. Samson, L. Blanc-Féraud and G. Aubert, et al. A level set model for image classification. International Journal of Computer Vision, 2000, 40(3): 187-197.
- [25] J. Shen, T. Tang and J. Yang. On the maximum principle preserving schemes for the generalized Allen–Cahn equation. Communications in Mathematical Sciences, 2016, 14(6): 1517-1534.
- [26] J. Shen, J. Xu and J. Yang. A new class of efficient and robust energy stable schemes for gradient ows. SIAM Rev, 2019, 61: 474-506.
- [27] J. Shen and X. Yang. Numerical approximations of Allen–Cahn and Cahn-Hilliard equations. Discrete and Continuous Dynamical Systems, 2010, 28(4): 1669.
- [28] X.C. Tai, L.J. Deng and K. Yin. A multigrid algorithm for maxflow and min-cut problems with applications to multiphase image segmentation. Journal of Scientific Computing, 2021, 87(3): 1-22.
- [29] L.A. Vese and T.F. Chan. A multiphase level set framework for image segmentation using the Mumford and Shah model. International Journal of Computer Vision, 2002, 50(3): 271-293.
- [30] D. Wang, H. Li and X. Wei and X. Wang. An efficient iterative thresholding method for image segmentation. Journal of Computational Physics, 2017, 350: 657-667.
- [31] D. Wang and X.P. Wang. The iterative convolution-thresholding method (ICTM) for image segmentation. arXiv preprint arXiv:1904.10917, 2019.
- [32] T. Wu and J. Shao. Non-convex and convex coupling image segmentation via TGpV regularization and thresholding. Advances in Applied Mathematics and Mechanics, 2020, 12(3):849-878.
- [33] T. Wu, X. Gu and Y. Wang, et al. Adaptive total variation based image segmentation with semi-proximal alternating minimization. Signal Processing, 2021, 183(1):108017.
- [34] T. Wu, X.Gu and J. Shao, et al. Color image segmentation based on a convex K-means approach. IET Image Process, 2021, 15: 1596–1606.
- [35] X. Yang. Linear, first and second-order, unconditionally energy stable numerical schemes for the phase field model of homopolymer blends. Journal of Computational Physics, 2016, 327: 294-316.
- [36] W. Yang, Z. Huang and W. Zhu. Image segmentation using the Cahn-Hilliard equation. Journal of Scientific Computing, 2019, 79(2):1057-1077.
- [37] H.K. Zhao, T. Chan and B. Merriman, et al. A variational level set approach to multiphase motion. Journal of Computational Physics, 1996, 127(1): 179-195.
- [38] L. Zhu, L. Ju and W. Zhao. Fast high-order compact exponential time differencing Runge–Kutta methods for second-order semilinear parabolic equations. Journal of Scientific Computing, 2016, 67(3): 1043-1065.