Abstract
Automatic segmentation in the variational framework is a challenging task within the field of imaging sciences. Achieving robustness is a major problem, particularly for images with high levels of intensity inhomogeneity. The two-phase piecewise-constant case of the Mumford-Shah formulation is most suitable for images with simple and homogeneous features where the intensity variation is limited. However, it has been applied to many different types of synthetic and real images after some adjustments to the formulation. Recent work has incorporated bias field estimation to allow for intensity inhomogeneity, with great success in terms of segmentation quality. However, the framework and assumptions involved lead to inconsistencies in the method that can adversely affect results. In this paper we address the task of generalising the piecewise-constant formulation, to approximate minimisers of the original Mumford-Shah formulation. We first review existing methods for treating inhomogeneity, and demonstrate the inconsistencies with the bias field estimation framework. We propose a modified variational model to account for these problems by introducing an additional constraint, and detail how the exact minimiser can be approximated in the context of this new formulation. We extend this concept to selective segmentation with the introduction of a distance selection term. These models are minimised with convex relaxation methods, where the global minimiser can be found for a fixed fitting term. Finally, we present numerical results that demonstrate an improvement to existing methods in terms of reliability and parameter dependence, and results for selective segmentation in the case of intensity inhomogeneity.
Keywords
Introduction
The task of partitioning an image into multiple regions each sharing certain characteristics – such as texture, intensity, shape or colour – is called segmentation, and is an important aspect of image processing. Given an image z(x) in a bounded domain
We consider the variational approach to this problem, and in particular region-based active contour models (ACMs). These are based on the introduction of the minimisation of the Mumford-Shah functional,
3
given by
The Chan-Vese model (CV) has been widely used in segmentation applications since its introduction in 2001. Its framework has been generalised by the introduction of new fitting terms to incorporate extensive intensity inhomogeneity, such as Li et al.8,9 who introduced a region scalable fitting energy and local cluster method. Jung et al.10,11 introduced a nonlocal ACM utilising distance functions. Brox and Cremers 12 and Lanktona and Tannenbaum 13 introduced new local models, incorporating Gaussian kernel functions. Recent work related to this area includes the work of Ali et al., 14 who form fitting terms using multiplicative and difference image data, and L0 regularisation for simultaneous bias correction and segmentation by Duan et al. 15
A drawback of the CV approach is a lack of convexity in the level-set-based minimisation. The method is based on using the Heaviside function to represent the two regions Ω1 and Ω2 with respect to a level set function, φ, and computing the Euler-Lagrange equation. The solution of the corresponding partial differential equation is often a local minimum, which reduces the reliability of the results. The introduction of the idea of convex relaxation by Chan et al. 1 demonstrated that a global minimum of equation (2) with respect to Γ, and consequently the regions Ω1 and Ω2, can be found. The idea is to represent the two regions by an indicator function, and relax the constraint such that both the functional and the constraint sets are convex. Further work has been done by Bresson et al. 16 and Chambolle et al. 17 and extended to the multiphase framework, i.e. N > 2, by Lellmann et al., 18 Bae et al. 19 and Gu et al. 20
The recent work of Chen et al.,23 combines the idea of convex relaxation and segmentation with intensity inhomogneity, and our work focuses on aiming to improve their formulation. The ‘true’ image data are formulated22,23 as
The paper is organised as follows. In “VMS model” we detail the Variant Mumford-Shah (VMS) model, 21 briefly introduced above, and discuss the problems with recovering the ‘true’ image, in particular the lack of convergence of c1 and c2 due to the formulation. In “Stabilised bias field” we detail the introduction of a constraint to the work of Chen et al. 21 in order to automatically establish feasible intensity constants and ensure the convergence of all variables being minimised. We discuss how this alters the minimisation of the bias field, how the functional is iteratively minimised, and details of the numerical implementation. We also highlight the link the proposed method provides between Mumford-Shah 3 and Chan-Vese. 2 In “Results” we include experimental results that measure the accuracy of the proposed method compared to VMS by using the Tanimoto Coefficient, 24 and demonstrate the convergence of the intensity constants for examples used in Chen et al. 21 We extend this idea to selective segmentation in “Selective segmentation with SBF”. We consider incorporating a distance selection term from a recent selection model, 25 and include experimental results for one challenging case. We discuss the benefits of the proposed method in “Conclusions”.
VMS model
The VMS model by Chen et al.
21
is formulated as follows
The functional equation (5) is minimised iteratively by the following steps. Step (1): For fixed characteristic functions χ1 and χ2, and intensity constants c1 and c2, minimise equation (5) with respect to bias field estimator B. Based on the work of Nielsen et al.
26
and Brox and Cremers,
12
the exact minimiser can be well approximated. Step (2): For fixed characteristic functions χ1 and χ2, and bias field estimator B, minimise equation (5) with respect to intensity constants c1 and c2. These can be computed precisely. Step (3): For fixed intensity constants c1 and c2, and bias field estimator B, minimise equation (5) with respect to
Convergence behaviour of VMS
In Figure 1, we demonstrate a result for VMS that is also used in Chen et al.,
21
and is of comparable quality. However, the question remains: based on the image model described above (equation (3)), what is the ‘true’ image? Whilst the joint minimisation of equation (5) with respect to c1, c2, B and Γ is nonconvex, and therefore we cannot determine the correct c1 and c2 precisely, there is a problem with the current framework, which we will now discuss. In Figure 1 (after 1000 iterations), we show that the values of the intensity constants continually rise, such that Convergence behaviour. The first row, from left to right, shows the lack of convergence for the intensity constants, giving 
To explain this phenomenon let us examine the VMS functional equation (5). The smoothness penalty included, which we denote EB, is similar to the penalty enforced in the Mumford-Shah functional (equation (1)), except that it applies throughout the domain. We denote the fitting energy EF, and it is again similar to the Mumford-Shah fitting energy
However, crucially, the Mumford-Shah fitting term only involves one variable, w. The VMS fitting term involves the products Bc1 and Bc2. This means that a change in one variable does not necessarily alter the energy, as long as the other variable changes accordingly. In practice that means that the minimum of the VMS functional is attained when
Stabilised bias field
VMS produces a piecewise-smooth approximation of the image (in the Mumford-Shah sense 3 ), given by wVMS (equation (6)). However, it does not give values for c1 and c2 that are consistent with the observed image. It is possible to manually rescale these without changing wVMS, but this is not a sensible approach as these values are unknown by definition. The immediate question is: is it possible to incorporate constraints into the formulation in a reliable way, i.e. can we use information in the image to automatically restrict the scale of B,c1 and c2? There are two obvious approaches. The first is to constrain the values of c1 or c2. The situation when the optimal intensity constants are not known a priori has been studied by Brown et al. 27 in the piecewise-constant case, but not in cases of intensity inhomogeneity. It is worth considering how this method could be incorporated in the presence of a bias field function; however, we do not discuss this here. The second is to control the scale of the bias field, B. We therefore consider how to introduce a constraint in such a way that it provides a link between the piecewise-constant and piecewsie-smooth approximations of z that are consistent with the image, which we will return to later.
With VMS, B is encouraged to be close to 0, which leads to the lack of convergence for c1 and c2. To prevent this we propose a new model we call stabilised bias field (SBF), with the introduction of an additional constraint that encourages B to be close to a positive constant. However, this alters the minimisation step for the bias field from Chen et al.
21
We now consider how to obtain this with the addition of this constraint. To distinguish between the two methods we refer to the bias field in SBF as
In the same way as VMS,
21
we can approximate the exact minimiser of equation (9) with a Gaussian G
Relationship to Chan-Vese and Mumford-Shah
We now discuss how the proposed model relates to the two important works discussed in the Introduction. The SBF functional is given as
It relates to Mumford-Shah in the same sense that VMS does. That is, we can compute a piecewise-smooth approximation of the image
Iterative minimisation of SBF formulation
We now detail how to minimise the functional equation (8), in line with the method of Chen et al.,
21
in order to effectively compare our proposed method against VMS. The SBF model is given as follows
This is minimised iteratively (e.g. the iterative process method, Li et al.
9
) by the following steps:
For fixed characteristic functions χ1 and χ2, and intensity constants c1 and c2, minimise equation (11) with respect to bias field estimator For fixed characteristic functions χ1 and χ2, and bias field estimator For fixed intensity constants c1 and c2, and bias field estimator
We provide a summary of how each step is minimised in the following:
Minimising two characteristic functions can be achieved by using an indicator function, u(x), which is allowed to take intermediate values. This is based on the work of Chan et al.
1
Numerical implementation
We now provide details of implementing the three steps above. We follow the work of Chen at al.,
21
who use slight variations on the formulation, in order to be consistent and ensure a fair comparison between VMS and SBF. The intensity constants are computed using smooth region descriptors
The variable
The Gaussian kernel,
The primary motivation of this model is to have convergence of the intensity constants c1 and c2. The value of
Algorithm 1 Stabilised Bias Field:
Results
This section is in two parts. First we will test SBF using images from the VMS tests in Chen et al.,
21
intending to show that the proposed method retains the segmentation quality of VMS, whilst demonstrating the convergence of the intensity constants. Another aspect of the success of SBF is what
Set 1: Convergence behaviour
We test four examples (Images 1–4) in Figure 2, all used in Chen et al.
21
In Figure 3, we present the results for each case. We set Images tested with SBF and compared to results of Chen et al.
21
Set 1 Results. SBF convergence behaviour Rows 1–4 are for Images 1–4, respectively. From left to right: z(x) and 

For Image 1
Set 2: Comparison to VMS
With Result Set 1, we have successfully demonstrated that SBF achieves the intended goal: the convergence of the intensity constants within a feasible range, and the computation of a stabilised bias field. However, we now intend to examine the success of the proposed method in another way: how does the method affect the accuracy of the final segmentation. With this in mind, we can quantifiably measure the solution of each model (VMS and SBF) against this using the Tanimoto Coefficient
24
Set 2 Results. SBF compared to VMS (a) Successful segmentation of the image, z(x), given by contour 
Selective segmentation with SBF
Selective segmentation is the task of extracting one particular object of interest, from a foreground with similar characteristics. We now consider the problem of selecting objects in images that contain significant intensity inhomogeneity, which is beyond recent work on selective segmentation.30,31 By incorporating the proposed SBF idea into a current selective segmentation model we aim to demonstrate the flexibility of SBF as a fitting term. We recently proposed a selection method in a piecewise-constant framework using a polygon formed by user input, called convex distance selective segmentation (CDSS),
25
which we now introduce briefly. The formulation is given as follows
We minimise this functional equation (24) as outlined in “Iterative minimisation of SBF formulation” and “Numerical implementation” above, except that for Step (3) we use an improved additive operator splitting method from CDSS. 25
Results
For selective SBF we test one image that involves significant intensity inhomogeneity in the foreground and background, shown in Figure 5. The foreground consists of a series of distinct objects that could conceivably be of interest, and was chosen as it is clearly beyond the scope of the piecewise-constant framework used in CDSS.
25
By using just four markers to loosely define the shape of the target object, as well as its location and size, we define a distance selection term Pd that is capable of excluding unwanted artefacts. We demonstrate that we get a successful result for this example, both in terms of the computed contour Selective SBF Results (a) Successful selective segmentation of the image, z(x), given by contour 
It is worth considering two alternatives for this example, which we now briefly discuss. Firstly, what would the performance of CDSS be like for the image in Figure 5? For brevity, we do not include those results here. As might be expected for a model that relies on a piecewise-constant framework, the results for this image are inadequate as the segmentation favours exterior artefacts to the target object that are of a similar intensity value. Secondly, what does SBF contribute here, i.e. what would Selective VMS (γ = 0 in equation (24)) results be like? Again, we do not include results here, but Selective VMS is capable of achieving a successful segmentation, although as expected c1 and c2 do not converge. However, we observe a similar effect as observed in Results Set 2 given by Figure 4. That is, with all other parameters fixed and varying the selection parameter θ, there is a successful result for a wider range of values. We do not know the ground truth for this case, which makes quantifying differences between methods difficult, but we aim to further investigate this phenomenon with different examples.
Conclusions
We have proposed the introduction of a constraint to the VMS model, 21 although it applies to any model using bias field correction in this way. It is a framework that provides a link between the Mumford-Shah functional 3 and the piecewise-constant functional of Chan and Vese. 2 This constraint does not affect the computation time as we have shown how the exact minimiser can be well approximated in a similar way to Chen et al. 21 It is an improvement over current methods in the sense that the intensity constants reliably converge and are feasible in relation to the image. This allows for a meaningful representation of the data by the definition of the image model (equation (3)). We also observe possible advantages with this framework in terms of the quality of the piecewsie-smooth approximation of the image, and a model less reliant on the fitting parameter. We have successfully extended the proposed method to a selective segmentation model, 25 to allow for selection in the presence of intensity inhomogeneity, and have again observed an improvement in terms of parameter dependence. This is a potentially important finding, as this ‘stabilisation’ of the bias field appears to allow for more parameter variation thus improving the reliability of the models. We will investigate this idea further in the future, and attempt to accurately quantify an improvement.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: Supported by the UK EPSRC grant (number EP/K036939/1).
