Mumford and Shah Model and Its Applications to Image Segmentation and Image Restoration

We present in this chapter an overview of the Mumford and Shah model for image segmentation. We discuss its various formulations, some of its properties, the mathematical framework, and several approximations. We also present numerical algorithms and segmentation results using the Ambrosio–Tortorelli phase-field approximations on one hand, and using the level set formulations on the other hand. Several applications of the Mumford–Shah problem to image restoration are also presented. . Introduction: Description of theMumford and Shah Model An important problem in image analysis and computer vision is the segmentation one, that aims to partition a given image into its constituent objects, or to find boundaries of such objects. This chapter is devoted to the description, analysis, approximations, and applications of the classical Mumford and Shah functional proposed for image segmentation. In [–], David Mumford and Jayant Shah have formulated an energy minimization problem that allows to compute optimal piecewise-smooth or piecewise-constant approximations u of a given initial image g. Since then, their model has been analyzed and considered in depth by many authors, by studying properties of minimizers, approximations, and applications to image segmentation, image partition, image restoration, and more generally to image analysis and computer vision. We denote by Ω ⊂ Rd the image domain (an interval if d = , or a rectangle in the plane if d = ). More generally, we assume that Ω is open, bounded, and connected. Let g : Ω → R be a given gray-scale image (a signal in one dimension, a planar image in two dimensions, or a volumetric image in three dimensions). It is natural and without losing any generality to assume that g is a bounded function in Ω, g ∈ L(Ω). As formulated byMumford and Shah [], the segmentation problem in image analysis and computer vision consists in computing a decomposition Ω = Ω ∪Ω ∪ . . . ∪ Ωn ∪ K of the domain of the image g such that (a) The image g varies smoothly and/or slowly within each Ω i . (b) The image g varies discontinuously and/or rapidly across most of the boundary K between different Ω i . From the point of view of approximation theory, the segmentation problem may be restated as seeking ways to define and compute optimal approximations of a general function g(x) by piecewise-smooth functions u(x), i.e., functions u whose restrictions ui to the pieces Ω i of a decomposition of the domain Ω are continuous or differentiable.   Mumford and ShahModel and its Applications to Image Segmentation and Image Restoration In what follows, Ω i will be disjoint connected open subsets of a domain Ω, each one with a piecewise-smooth boundary, and K will be a closed set, as the union of boundaries of Ω i inside Ω, thus Ω = Ω ∪Ω ∪ . . . ∪ Ωn ∪ K, K = Ω ∩ (∂Ω ∪ . . . ∪ ∂Ωn). The functional E to be minimized for image segmentation is defined by [–], E(u,K) = μ ∫ Ω (u − g)dx + ∫ Ω/K ∣∇u∣dx + ∣K∣, (.) where u : Ω → R is continuous or even differentiable inside each Ω i (or u ∈ H(Ω i)) and may be discontinuous across K. Here, ∣K∣ stands for the total surface measure of the hypersurface K (the counting measure if d = , the length measure if d = , the area measure if d = ). Later, we will define ∣K∣ by Hd−(K), the d −  dimensional Hausdorff measure in Rd . As explained by Mumford and Shah, dropping any of these three terms in (> .), inf E = : without the first, take u = , K = /; without the second, take u = g, K = /; without the third, take for example, in the discrete case K to be the boundary of all pixels of the image g, each Ω i be a pixel and u to be the average (value) of g over each pixel. The presence of all three terms leads to nontrivial solutions u, and an optimal pair (u,K) can be seen as a cartoon of the actual image g, providing a simplification of g. An important particular case is obtained when we restrict E to piecewise-constant functions u, i.e., u = constant ci on each open set Ω i . Multiplying E by μ−, we have μ−E(u,K) = ∑ i ∫ Ω i (g − ci)dx + ∣K∣, where  = /μ. It is easy to verify that this is minimized in the variables ci by setting ci = meanΩ i (g) = ∫Ω i g(x)dx ∣Ω i ∣ , where ∣Ω i ∣ denotes here the Lebesgue measure of Ω i (e.g., area if d = , volume if d = ), so it is sufficient to minimize E(K) = ∑ i ∫ Ω i (g −meanΩ i g) dx + ∣K∣. It is possible to interpret E as the limit functional of E as μ →  []. Finally, the Mumford and Shah model can also be seen as a deterministic refinement of Geman and Geman’s image restoration model []. . Background: The First Variation In order to better understand, analyze, and use the minimization problem (> .), it is useful to compute its first variation with respect to each of the unknowns. Mumford and Shah Model and its Applications to Image Segmentation and Image Restoration   We first recall the definition of Sobolev functions u ∈ W ,(U) [], necessary to properly define a minimizer u when K is fixed. Definition  LetU ⊂ Rd be an open set. We denote byW ,(U) (or by H(U)) the set of functions u ∈ L(Ω), whose first-order distributional partial derivatives belong to L(U). This means that there are functions u, . . . ,ud ∈ L(U) such that ∫ U u(x) ∂φ ∂xi (x)dx = − ∫ U ui(x)φ(x)dx for  ≤ i ≤ d and for all functions φ ∈ C∞c (U). We may denote by ∂u ∂xi the distributional derivative ui of u and by∇u = ( ∂u ∂x , . . . , ∂u ∂xd ) its distributional gradient. In what follows, we denote by ∣∇u∣(x) the Euclidean norm of the gradient vector at x. H(U) = W ,(U) becomes a Banach space endowed with the norm ∥u∥W ,(U) = ∫ U udx + d ∑ i= ∫ U ( ∂u ∂xi )  dx] / . .. Minimizing in uwith K Fixed Let us assume first that K is fixed, as a closed subset of the open and bounded set Ω ⊂ Rd , and denote by E(u) = μ ∫ Ω/K (u − g)dx + ∫ Ω/K ∣∇u∣dx, for u ∈ W ,(Ω/K), where Ω/K is open and bounded, and g ∈ L(Ω/K). We have the following classical results obtained as a consequence of the standard method of calculus of variations. Proposition  There is a unique minimizer of the problem inf u∈W ,(Ω/K) E(u). (.) Proof [] First, we note that  ≤ inf E < +∞, since we can choose u ≡  and E(u) = μ ∫Ω/K g  (x)dx < +∞. Thus, we can denote by m = inf u E(u) and let {uj} j≥ ∈ W ,(Ω/K) be a minimizing sequence such that lim j→∞ E(uj) = m. Recall that for u, v ∈ L,

[1]  Luminita A. Vese,et al.  Energy Minimization Based Segmentation and Denoising Using a Multilayer Level Set Approach , 2005, EMMCVPR.

[2]  Jayant Shah,et al.  A common framework for curve evolution, segmentation and anisotropic diffusion , 1996, Proceedings CVPR IEEE Computer Society Conference on Computer Vision and Pattern Recognition.

[3]  Franco Tomarelli,et al.  Variational methods for discontinuous structures : applications to image segmentation, continuum mechanics, homogenization : Villa Olmo, Como, 8-10 September 1994 , 1996 .

[4]  Antonin Chambolle,et al.  Image Segmentation by Variational Methods: Mumford and Shah Functional and the Discrete Approximations , 1995, SIAM J. Appl. Math..

[5]  Alan L. Yuille,et al.  Sobolev gradients and joint variational image segmentation, denoising, and deblurring , 2009, Electronic Imaging.

[6]  Curtis R. Vogel,et al.  Ieee Transactions on Image Processing Fast, Robust Total Variation{based Reconstruction of Noisy, Blurred Images , 2022 .

[7]  Anthony J. Yezzi,et al.  Curve evolution implementation of the Mumford-Shah functional for image segmentation, denoising, interpolation, and magnification , 2001, IEEE Trans. Image Process..

[8]  Stanley Osher,et al.  Level Set Methods , 2003 .

[9]  Jean-Michel Morel,et al.  A variational method in image segmentation: Existence and approximation results , 1992 .

[10]  Alan S. Willsky,et al.  A curve evolution-based variational approach to simultaneous image restoration and segmentation , 2002, Proceedings. International Conference on Image Processing.

[11]  Wotao Yin,et al.  An Iterative Regularization Method for Total Variation-Based Image Restoration , 2005, Multiscale Model. Simul..

[12]  Andrea Braides Approximation of Free-Discontinuity Problems , 1998 .

[13]  Ronald Fedkiw,et al.  Level set methods and dynamic implicit surfaces , 2002, Applied mathematical sciences.

[14]  L. Ambrosio,et al.  Approximation of functional depending on jumps by elliptic functional via t-convergence , 1990 .

[15]  Guy Gilboa,et al.  Nonlocal Operators with Applications to Image Processing , 2008, Multiscale Model. Simul..

[16]  Jean-Michel Morel,et al.  Variational methods in image segmentation , 1995 .

[17]  G. Congedo,et al.  Optimal segmentation of unbounded functions , 1996 .

[18]  I. Tamanini,et al.  On minimizing partitions with infinitely many components , 1998, ANNALI DELL UNIVERSITA DI FERRARA.

[19]  G. David,et al.  Singular Sets of Minimizers for the Mumford-Shah Functional , 2005 .

[20]  Guy Gilboa,et al.  Nonlocal Linear Image Regularization and Supervised Segmentation , 2007, Multiscale Model. Simul..

[21]  Deepa Kundur,et al.  Blind image deconvolution revisited , 1996 .

[22]  Mila Nikolova,et al.  Minimizers of Cost-Functions Involving Nonsmooth Data-Fidelity Terms. Application to the Processing of Outliers , 2002, SIAM J. Numer. Anal..

[23]  Gjlles Aubert,et al.  Mathematical problems in image processing , 2001 .

[24]  G. M.,et al.  Partial Differential Equations I , 2023, Applied Mathematical Sciences.

[25]  Peter J. Huber,et al.  Robust Statistics , 2005, Wiley Series in Probability and Statistics.

[26]  Deepa Kundur,et al.  Blind Image Deconvolution , 2001 .

[27]  James A. Sethian,et al.  Level Set Methods and Fast Marching Methods , 1999 .

[28]  Tony F. Chan,et al.  Active contours without edges , 2001, IEEE Trans. Image Process..

[29]  J. Sethian,et al.  Fronts propagating with curvature-dependent speed: algorithms based on Hamilton-Jacobi formulations , 1988 .

[30]  John William Neuberger,et al.  Sobolev gradients and differential equations , 1997 .

[31]  I. Tamanini,et al.  On the finiteness of optimal partitions , 1993, ANNALI DELL UNIVERSITA DI FERRARA.

[32]  Luigi Ambrosio,et al.  ON THE APPROXIMATION OF FREE DISCONTINUITY PROBLEMS , 1992 .

[33]  Tony F. Chan,et al.  Total variation blind deconvolution , 1998, IEEE Trans. Image Process..

[34]  J. Sethian Level set methods : evolving interfaces in geometry, fluid mechanics, computer vision, and materials science , 1996 .

[35]  B. Bourdin Image segmentation with a finite element method , 1999 .

[36]  Andrea Braides,et al.  Non-local approximation of the Mumford-Shah functional , 1997 .

[37]  Christopher J. Larsen,et al.  A new proof of regularity for¶two-shaded image segmentations , 1998 .

[38]  Stanley Osher,et al.  Total variation based image restoration with free local constraints , 1994, Proceedings of 1st International Conference on Image Processing.

[39]  Nahum Kiryati,et al.  Variational Pairing of Image Segmentation and Blind Restoration , 2004, ECCV.

[40]  A. Chambolle FINITE-DIFFERENCES DISCRETIZATIONS OF THE MUMFORD-SHAH FUNCTIONAL , 1999 .

[41]  R. Renka A Simple Explanation of the Sobolev Gradient Method , 2006 .

[42]  A. Chambolle,et al.  Inverse problems in image processing and image segmentation : some mathematical and numerical aspects , 2000 .

[43]  Jayant Shah,et al.  Free-discontinuity problems via functionals involving the L1-norm of the gradient and their approximations , 1999 .

[44]  L. Ambrosio,et al.  Functions of Bounded Variation and Free Discontinuity Problems , 2000 .

[45]  Andrew Blake,et al.  Visual Reconstruction , 1987, Deep Learning for EEG-Based Brain–Computer Interfaces.

[46]  A. Chambolle Un théorème de Γ-convergence pour la segmentation des signaux , 1992 .

[47]  L. Rudin,et al.  Nonlinear total variation based noise removal algorithms , 1992 .

[48]  Antonin Chambolle,et al.  Implementation of an adaptive finite-element approximation of the Mumford-Shah functional , 2000, Numerische Mathematik.

[49]  Nahum Kiryati,et al.  Deblurring of Color Images Corrupted by Impulsive Noise , 2007, IEEE Transactions on Image Processing.

[50]  L. Vese,et al.  An efficient variational multiphase motion for the Mumford-Shah segmentation model , 2000, Conference Record of the Thirty-Fourth Asilomar Conference on Signals, Systems and Computers (Cat. No.00CH37154).

[51]  Luminita A. Vese,et al.  Image segmentation using a multilayer level-set approach , 2009 .

[52]  Luminita A. Vese,et al.  Nonlocal Variational Image Deblurring Models in the Presence of Gaussian or Impulse Noise , 2009, SSVM.

[53]  A. N. Tikhonov,et al.  Solutions of ill-posed problems , 1977 .

[54]  L. Vese,et al.  A level set algorithm for minimizing the Mumford-Shah functional in image processing , 2001, Proceedings IEEE Workshop on Variational and Level Set Methods in Computer Vision.

[55]  Tony F. Chan,et al.  An Active Contour Model without Edges , 1999, Scale-Space.

[56]  Tony F. Chan,et al.  Image processing and analysis , 2005 .

[57]  Jean-Michel Morel,et al.  A Review of Image Denoising Algorithms, with a New One , 2005, Multiscale Model. Simul..

[58]  Tony F. Chan,et al.  Image processing and analysis - variational, PDE, wavelet, and stochastic methods , 2005 .

[59]  Nahum Kiryati,et al.  Semi-blind image restoration via Mumford-Shah regularization , 2006, IEEE Transactions on Image Processing.

[60]  Nahum Kiryati,et al.  Image Deblurring in the Presence of Impulsive Noise , 2006, International Journal of Computer Vision.

[61]  L. Modica The gradient theory of phase transitions and the minimal interface criterion , 1987 .

[62]  J. Morel,et al.  A multiscale algorithm for image segmentation by variational method , 1994 .

[63]  Chunming Li,et al.  Implicit Active Contours Driven by Local Binary Fitting Energy , 2007, 2007 IEEE Conference on Computer Vision and Pattern Recognition.

[64]  Donald Geman,et al.  Stochastic Relaxation, Gibbs Distributions, and the Bayesian Restoration of Images , 1984, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[65]  W. Richardson Sobolev gradient preconditioning for image‐processing PDEs , 2006 .

[66]  P. Smereka Spiral crystal growth , 2000 .

[67]  A. Chambolle,et al.  Discrete approximation of the Mumford-Shah functional in dimension two , 1999, ESAIM: Mathematical Modelling and Numerical Analysis.

[68]  Josiane Zerubia,et al.  Multiphase Evolution and Variational Image Classification , 1999 .

[69]  Gianni Dal Maso,et al.  An Introduction to [gamma]-convergence , 1993 .

[70]  M. Nikolova A Variational Approach to Remove Outliers and Impulse Noise , 2004 .

[71]  I. Tamanini Optimal Approximation by Piecewise Constant Functions , 1996 .

[72]  Tony F. Chan,et al.  A Multiphase Level Set Framework for Image Segmentation Using the Mumford and Shah Model , 2002, International Journal of Computer Vision.

[73]  Nahum Kiryati,et al.  Image Deblurring in the Presence of Salt-and-Pepper Noise , 2005, Scale-Space.

[74]  Nahum Kiryati,et al.  Convergence of an Iterative Method for Variational Deconvolution and Impulsive Noise Removal , 2007, Multiscale Model. Simul..

[75]  Mostafa Kaveh,et al.  A regularization approach to joint blur identification and image restoration , 1996, IEEE Trans. Image Process..

[76]  James A. Sethian,et al.  Level Set Methods and Fast Marching Methods: Evolving Interfaces in Computational Geometry, Fluid , 2012 .

[77]  L. Bregman The relaxation method of finding the common point of convex sets and its application to the solution of problems in convex programming , 1967 .

[78]  G. Aubert,et al.  An approximation of the Mumford–Shah energy by a family of discrete edge-preserving functionals , 2006 .

[79]  Nahum Kiryati,et al.  Restoration of Images with Piecewise Space-Variant Blur , 2007, SSVM.

[80]  L. Evans Measure theory and fine properties of functions , 1992 .

[81]  T. Chan,et al.  A Variational Level Set Approach to Multiphase Motion , 1996 .