7.2. Chan-Vese model#
To overcome the discussed numerical challenges of the Mumford-Shah model we will discuss a better model for segmentation by [CV01]. Regarding the asymptotic behaviour of the Mumford-Shah model for \(\alpha \to +\infty\) yields the Chan-Vese segmentation model, which we discuss in the following.
We can reformulate the approximation of \(f\) with a piecewise constant function \(u_c \in H^1(\Omega \setminus \Gamma)\) by finding optimal constants \(c_1, \dots , c_n \in \R\) for each subregion \(\Omega_i \subset \Omega\). This leads to the following simplified energy functional:
Again, for a fixed segmentation boundary \(\Gamma\) we can compute the optimality condition for one of the optimal constants \(c_j \in \R\) via:
Since we have assumed \(\Omega_j \neq \emptyset\) we can reformulate this optimality condition to
which is the mean value of the image \(f\) in the respective subregion \(\Omega_j\).
Since it is cumbersome to optimize the Chan-Vese energy functional with respect to the segmentation boundary \(\Gamma\) (which is a set), we introduce an indicator function \(\chi\) (for the case of \(m=2\) subregions) via:
The optimal piecewise constant approximation \(\hat{u}_c\) then becomes:
Furthermore, the Chan-Vese segmentation model can now be written with integrals over the full domain \(\Omega\) as:
Note, that since \(\chi\) is a discrete function taking only values in \(\{0, 1\}\) it is not differentiable (in a strong sense) and the optimization in the function space \(BV(\Omega; \{0,1\})\) is nonconvex. This problem can be alleviated by the following convex relaxation proposed by [CEN06].
Theorem 7.1 (Convex relaxation)
For any fixed \(c_1, c_2 \R\) a global minimum of the problem above can be found by computing:
and then setting for any \(\Omega_1 = \{x \in \Omega : \overline{\chi} \geq \mu \}\) for any \(\mu \in [0,1]\)
Now the relaxed Chan-Vese segmentation model can be minimized alternatingly with an initial indicator function \(\chi_0\) (which can be computed for example with thresholing) via:
The last step for computing the current segmentation via the indicator function \(\chi\) can be interpreted as minimal surface problem. Luckily, there is a helpful connection to the already discussed ROF denoising model shown by [CCN07] that allows us to perform segmentation using the primal-dual optimization approach from Primal-dual optimization.
Theorem 7.2 (Connection to ROF model)
Let \(\beta > 0, g \in L^2 (\Omega)\) and let \(\hat{u}\) be the unique solution of the ROF denoising problem. Then for almost any \(t \in \R\), the indicator function:
is a solution to the minimal surface problem:
With the help of Theorem 7.2 we can perform the segmentation step of the alternating Chan-Vese minimization method by setting
and thresholding the resulting approximation via the ROF denoising method with \(t=0\).