Existence of Minimizers for the Gaussian Mumford-Shah Model via Covariance Floors on the Value Distribution
Faian Conrad
FABIAN CONRAD †
Abstract. The Gaussian Mumford–Shah model segments an image into regions by minimizing a continuous multivariate Gaussian negative log-likelihood term plus a perimeter penalty. It is used for scalar- and vector-valued images, in particular hyperspectral images, but the existence of a minimizer in general is not guaranteed. The energy is unbounded below whenever the covariance of a single region degenerates, regardless of the perimeter of the regions. A quantitative covariance floor on the covariances of all regions, or equivalently uniform Hölder continuity with exponent at most one of all one-dimensional marginals of the histogram, guarantees a lower bound on the energy and the existence of a minimizer. Our approach therefore shows that existence follows from a property of the histogram of the image, and we furthermore argue that scale-independent covariance floors cannot exist. Admitting a quantitative covariance floor is generic: it holds almost surely for all images with suitable noise. As applications of our theory, we show the convergence of regularized models used in practice and of numerical methods.
Key words. Mumford–Shah functional, variational image segmentation, Gaussian models, covariance degeneracy, existence of minimizers
MSC codes. 49J45, 49Q20, 68U10, 94A08, 62H35
Introduction. Region competition with multivariate Gaussian statistics [1], which we will refer to as the Gaussian Mumford–Shah model, and versions of it are used in the context of image segmentation [2, 3, 4, 5], providing, for example, competitive results on benchmark hyperspectral datasets. The multivariate case has full covariance matrices, which capture the high correlation between bands in hyperspectral imaging. Let g∈L∞((0,1)2,RN) be a bounded measurable image. For a fixed number of segments k∈N, we consider a partition O=(O1,…,Ok) of (0,1)2 with Ol⊂(0,1)2 having finite perimeter in (0,1)2, denoted by Per(Ol,(0,1)2), such that
l∈{1,…,k}⋃Ol=(0,1)2∧∀l=l′:Ol∩Ol′=∅.
We denote the set of all such partitions by Pk. Let S++(N) denote the set of symmetric positive definite matrices in RN×N. For any S∈S++(N), we define the Mahalanobis norm of z∈RN by
∣z∣S2:=zTS−1z.
Then, we define the Gaussian Mumford–Shah model (GMS) by
*Funding: Fabian Conrad was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – 333849990/GRK2379 (IRTG Modern Inverse Problems).
is the indicator function given by the negative log-likelihood of a multivariate Gaussian N(μl,Σl) and λ>0 is a fixed length parameter. If we set Σ=(Σ1,…,Σk)=(I,…,I) to be the identity matrix I in every component, we recover the classical piecewise constant Mumford–Shah model [6] up to an additive constant, for which existence and even regularity theory is well-known [7]. However, the existence of a minimizer of the GMS (1.1), and by extension the region competition model [1], has not been addressed so far to our knowledge. When applying the direct method of the calculus of variations, the main obstructions are the unboundedness from below, which prevents the extraction of a minimizing sequence converging to a finite infimum, the fact that S++(N) is not closed and hence might not contain the limit of such a sequence, and the lack of lower semi-continuity. Following the arguments of [8], if g(O) is contained in some affine hyperplane H⊂RN for some O⊂(0,1)2 with positive measure ∣O∣>0 and finite perimeter, we can find a sequence of statistical variables (μ(n),Σ(n))n∈N⊂(RN)k×S++(N)k such that for the fixed partition (O,(0,1)2∖O,∅,…,∅)∈Pk, which in particular has a fixed perimeter contribution, the energy diverges to −∞, i.e.
n→∞limE[(O,(0,1)2∖O,∅,…,∅),μ(n),Σ(n)]=−∞.
Let us introduce the (continuous) sample mean and sample covariance for any O⊂(0,1)2 with ∣O∣>0 by
For the case ∣O∣=0, this definition is vacuous. We introduce the covariance floor condition (CFC) on g∈L∞((0,1)2,RN), which means there exist C>0 and p>0 such that
(1.3)
yTCOy≥C∣O∣p
for all y∈SN−1:={y∈RN∣∣y∣=1} and O⊂(0,1)2 with ∣O∣>0. Equivalently, CO⪰C∣O∣pI, where ⪰ denotes the Loewner order on symmetric matrices, i.e. A⪰B means that A−B is positive semi-definite for symmetric matrices A,B∈RN×N. We show that for g∈L∞((0,1)2,RN), this condition can only hold if p≥2. In particular, a uniform (scale-independent) covariance floor CO⪰CI for all O⊂(0,1)2 with ∣O∣>0 cannot exist. The CFC (1.3) is a property of the pushforward measure g♯L2. Thus, it is intrinsic to the data. We also prove that the CFC is equivalent to a uniform Hölder bound on the cumulative distributions of the pushforward measure g♯L2. In research and literature, this concept is related to the Frostman lemma [9], occupation densities [10] and Lévy concentration functions [11], and we will refer to these at the respective points. Most notably, none of these three concepts requires uniformity in y∈SN−1, which the CFC does. The discrete sample means and covariance matrices are studied at a fixed scale, whereas the continuum sample covariances need lower bounds at every scale. Non-degeneracy of the sample covariance in the discrete case depends on having at least N+1 affinely independent samples, while in the continuous case, the question is how fast CO may degenerate as ∣O∣→0.
Moreover, we show that adding suitable noise to any image yields a covariance floor almost surely. For σ>0 and a suitable fractional Gaussian field (restricted from R2 to (0,1)2) W, the noisy image
g+σW
satisfies the CFC almost surely and any image can be approximated by an image satisfying the CFC arbitrarily well in the L∞((0,1)2,RN) topology. Hence, the CFC is not vacuous and feasible.
We show that imposing the CFC on g implies both the existence of an entropy expression as a lower bound for the GMS and the existence of a uniform lower bound for the Gaussian Mumford–Shah model. As the first application of the CFC (and the existence of lower bounds for the GMS), we show the convergence of minimizers, including convergence rates for the energies, of the perturbed Gaussian Mumford–Shah model (pGMS)
(1.4)
E(ϵ)[O,μ,Σ]:=E[O,μ,Σ]+2ϵl=1∑k∣Ol∣trΣl−1
to minimizers of the GMS by using Γ-convergence of reduced, partition-only based versions of E(ϵ) and E(0):=E as ϵ→0. The pGMS is the variational formulation of regularizing the sample covariance matrices by COl←COl+ϵI⪰ϵI ( l=1,…,k), a common way to enforce positive definiteness in practice. A closely related regularization, clipping the eigenvalues of COl from below, corresponds to the constraint Σl⪰ϵI and was used in [3] for a model with a non-squared Mahalanobis data term. For that model, [8] showed existence for all g∈L∞((0,1)2,RN) as long as ϵ>0 and Γ-convergence as ϵ→0, but not necessarily convergence of minimizers. Without the CFC, the GMS itself can be unbounded from below, and the regularization does not remove this singularity in the limit ϵ→0. For images satisfying the CFC, this singularity does not occur. Consequently, the GMS (1.1) admits a minimizer for every g satisfying the CFC (1.3). As the second application, we show that after replacing the labels O in the GMS (1.1) with a convex relaxation u, and alternately updating the labels u and the statistical variables (μ,Σ), we have convergence of a subsequence. The second application highlights that commonly applied numerical approaches to these models also converge, at least along a subsequence. In both of these applications, a lower bound was the biggest missing ingredient so far.
This paper starts by discussing the theoretical aspects of the CFC. In particular, we show that satisfying the CFC is equivalent to the marginal distributions of g being Hölder continuous uniformly in y∈SN−1 and that p≥2 is necessary. It is then argued that the pushforward measure of g, the continuous version of the histogram, is the correct invariant for the existence of covariance floors. Using techniques from Fourier analysis, we prove that a noisy image will almost surely satisfy the CFC. This section is independent of the Gaussian Mumford–Shah context. In the following section, we use information theory to show that the GMS admits a lower bound for images satisfying the CFC. With this lower bound at hand, we turn to our applications, which cover the existence of minimizers of the GMS and the convergence of the alternating minimization. The final section contains some numerical experiments illustrating our main theorems.
2. Covariance floors for images
DEFINITION 1 (Covariance floor condition). Let g∈L∞((0,1)2,RN). We say g satisfies the covariance floor condition (CFC) with exponent p>0 if there exists C>0 such that
CO⪰C∣O∣pI
for all measurable O⊂(0,1)2 with ∣O∣>0.
We also introduce the pushforward measure of g, which we denote by ν without reference to g since g is fixed,
ν(A):=g♯(L2(0,1)2)(A)=∣{x∈(0,1)2∣g(x)∈A}∣
for any Borel set A⊂RN. Similarly, we define for any y∈SN−1 the projected pushforward measure
for any Borel set B⊂R. By the Cramér–Wold theorem [12], the marginals νy completely determine ν and vice versa. Closely related is the following definition:
DEFINITION 2 (Regular distribution condition). Let g∈L∞((0,1)2,RN). We say g satisfies the regular distribution condition (RDC) with exponent p>0, if for all y∈SN−1, the cumulative distributions
Fy:R→[0,1],t↦νy((−∞,t])
are p2-Hölder continuous with uniform Hölder constant, i.e. there exists C>0 independent of y∈SN−1 such that
y∈SN−1sup∥Fy∥C0,p2(R)≤C.
We will now state the main theorem of this section, which gives an equivalent characterization of the CFC.
THEOREM 1 (Equivalence of conditions). Let g∈L∞((0,1)2,RN) and let p>0. Then the following are equivalent:
• g satisfies the CFC with exponent p.
• g satisfies the RDC with exponent p.
Neither condition can be satisfied by any g∈L∞((0,1)2,RN) if p<2.
REMARK 1 (Dependence on the histogram). Theorem 1 shows that whether g admits a covariance floor depends only on its value distribution and not on its spatial arrangement. In the language of imaging sciences, the CFC only depends on the (continuous) histogram of the image g, which is the pushforward measure ν. Furthermore, the requirement p≥2 shows us that on small scales ∣O∣≪1, the continuous sample covariance matrix CO cannot shrink arbitrarily slowly. In particular, demanding a universal lower bound for all scales,
CO⪰CI
for all O⊂(0,1)2 with ∣O∣>0, can never be achieved.
Furthermore, the sample covariance matrix does not even have to shrink at all and hence pinching the covariance matrix becomes impossible:
Let g∈L∞((0,1)2,RN) have two Lebesgue points x1=x2 such that g(x1)=v1=v2=g(x2). Let us set Or=Br(x1)∪Br(x2) with Br(xi):={x∈(0,1)2∣∣x−xi∣≤r} ( i=1,2). Let r>0 be so small that Br(x1) and Br(x2) are disjoint and contained in (0,1)2. Then each ball satisfies ∣Br(x1)∣=∣Br(x2)∣=2∣Or∣, and since x1,x2 are also Lebesgue points of g⊗g (as g∈L∞((0,1)2,RN)), we obtain
for which 4∣v1−v2∣2 is a non-zero eigenvalue and hence no bound of the form C_{O_r} \preceq C|O_r|^p' I can hold for any p′>0.
We will now prove Theorem 1:
Proof. ( ⟹): Let the CFC hold with exponent p>0, constant C>0 and let y∈SN−1 be arbitrary. Let B⊂R be any Borel set and set O=(yTg)−1(B) with ∣O∣>0. By definition of the pushforward measure, we have νy(B)=∣O∣. The CFC with constant C>0 and exponent p>0 then implies
since yTg takes values only in B⊂[infB,supB] on O, and by Popoviciu's inequality [13] the variance of a real random variable with values in an interval of length ℓ is at most ℓ2/4, where supB−infB=diam(B) for B⊂R. For ∣O∣=0 or infinite diameter diam(B)=∞, the inequality becomes trivial. Re-arranging this inequality and taking the supremum yields
y∈SN−1supνy(B)≤(4C)p11diam(B)p2.
Let t1<t2 be two distinct real numbers. In particular, the inequality above holds for B=[t1,t2] and hence we have for the cumulative distribution
which directly implies the RDC with exponent p and constant (4C)p11.
( ⟺): Conversely, let the RDC hold with exponent p>0, constant C>0 and let y∈SN−1 be arbitrary. Let O⊂(0,1)2 with ∣O∣>0 be arbitrary. For any Borel set B⊂R, we set IB:=[infB,supB] (possibly infinite). Since Fy is continuous by the RDC, νy has no atoms, i.e., νy({t})=0 for all t∈R, and hence νy(IB)=νy((infB,supB])=Fy(supB)−Fy(infB). Therefore,
since B⊂IB and the RDC holds. Consequently, the restricted pushforward measure
νy,O(B):=O∩(yTg)−1(B)
satisfies
(2.1)
νy,O(B)≤νy(B)≤Cdiam(B)p2
for any Borel set B⊂R and
(2.2)
νy,O(R)=∣O∣.
We will now execute a bathtub principle style argument [14] to show that
∫R(t−tˉ)2dνy,O(t)
for tˉ=νy,O(R)1∫Rtdνy,O(t) is bounded below by a positive constant independent of y. For r=(2C∣O∣)2p>0 and the interval I=[tˉ−2r,tˉ+2r], we have by
which by the Courant–Fischer–Weyl principle for eigenvalues [15] implies the CFC with exponent p and constant 2p+3Cp1.
(p≥2): Lastly, we show that p≥2 is required and we will show that the marginals are closely related to Frostman measures [9] uniformly in SN−1. Let B⊂R be any Borel set. For δ>0, let B⊂⋃i∈IUi be a countable covering of B by sets with supi∈Idiam(Ui)<δ. Assuming the CFC holds with exponent p>0 and constant C>0, we have by the previous arguments for any y∈SN−1
νy(B)≤i∈I∑νy(Ui)≤Ci∈I∑diam(Ui)p2.
Taking the infimum over all such covers and sending δ→0 yields
νy(B)≤CHp2(B)
for the p2-dimensional Hausdorff measure Hp2. In particular, we must have
1=νy(R)≤CHp2(R),
which is a contradiction for p<2, since Hα(R)=0 for α>1.
Provided νy comes from a density hy, i.e.
νy(B)=∫(0,1)21B(yTg(x))dx=∫Bhy(t)dt
holds for all Borel sets B⊂R, we see that if the (marginal) densities hy satisfy supy∈SN−1∥hy∥Lp−2p≤C<∞, with the convention 0p=∞, we immediately get
by Hölder's inequality. Taking the supremum over y∈SN−1 yields the RDC with exponent p≥2. If g is smooth with ∣{∇yTg=0}∣=0, an application of the co-area formula [16] reveals that for any y∈SN−1 and Borel set B⊂R we have
While spatial regularity is not needed for a map g∈L∞((0,1)2,RN) to satisfy the RDC, one can impose regularity conditions on g which imply supy∈SN−1∥hy∥Lp−2p≤C<∞.
EXAMPLE 1 (Affine maps in R2). As an immediate application, we see that affine maps to R2
g(x)=Ax+b
with A∈GL(2) and b∈R2 satisfy the CFC. In this case, we see that
where σmin(A) is the smallest singular value of A. This implies supy∈SN−1∥hy∥L∞≤σmin(A)2 and by the same argument as above (2.3), affine maps to R2 satisfy the RDC with exponent p=2.
Our analysis so far motivates the following definition:
DEFINITION 3 (Non-degenerate images). For p≥2, we define the space of non-degenerate images with exponent p as
We record some properties and invariances of A(p):
LEMMA 1 (Structure of A(p)). Let g∈A(p) for p≥2. Then we have
• Ag+b∈A(p) for A∈GL(N),b∈RN,
• g∘τ∈A(p) for
τ∈T:={t:(0,1)2→(0,1)2∣tpreservesL2},
• and A(p)⊂A(p′) for all 2≤p≤p′.
Proof. Let g∈A(p) be arbitrary.
For any b∈RN, we note that g and g+b have the same covariance matrix and g satisfies the CFC. Let A∈GL(N) and O⊂(0,1)2 be arbitrary with ∣O∣>0. For any y∈SN−1, the covariance matrix C~O of Ag satisfies
where again σmin(A) is the smallest singular value of A and C>0 is the constant coming from the CFC. Hence Ag satisfies the CFC with the same exponent p and constant Cσmin(A)2>0. Combining these facts, we have Ag+b∈A(p).
For the invariance under measure-preserving maps, it suffices to note that for all y∈SN−1, yTg and (yTg)∘τ have the same cumulative distribution and therefore both satisfy the RDC with the same constant and exponent p.
Since 0≤∣O∣≤1, we have |O|^p \geq |O|^p' and hence
CO⪰C∣O∣pI⪰C∣O∣p′I
for all O⊂(0,1)2 with ∣O∣>0 and hence g∈A(p′).
We would like to note that A(p) is not a convex cone, since
0=21g+21(−g)∈/A(p)
for any p≥2. It is therefore also not a vector space.
In the imaging sciences, in particular for motif extraction [17], we often have repeated patterns. To check the CFC on the whole image, it is sufficient to check it on every tile:
be a partition (up to null sets) of (0,1)2 into squares. Let τh,w:((0,1)2,L2)→(Qh,w,M2L2) be any measure-preserving map. If g∣Qh,w∘τh,w∈A(ph,w) for all 1≤h,w≤M, then g∈A(p) for p=maxh,wph,w.
FIG. 2.1. Illustration of the tiling lemma.
Proof. Set p=maxh,wph,w and let B⊂R be any Borel set with the associated interval IB=[infB,supB]. Let y∈SN−1 be arbitrary. Then, consider the set
O:={x∈(0,1)2∣yTg(x)∈IB}
and we have
O=h,w=1⋃M(O∩Qh,w)
and since Qh,w∩Qh′,w′ is a null set for (h,w)=(h′,w′), we have
where for ∣IB∣≤1 we used ∣IB∣ph,w2≤∣IB∣p2, while for ∣IB∣>1 the bound ∣O∣≤1≤∣IB∣p2 is trivial. Noting that ∣IB∣p2=diam(B)p2 and using the same techniques as in the ( ⟺) direction of the proof of Theorem 1, we see that g satisfies the RDC with exponent p=maxh,wph,w and constant C~:=(1+∑h,w=1MCh,w).
Our analysis, and in particular Theorem 1, reveals that the pushforward measure ν of g, equivalently all its marginals νy, is the only invariant relevant for admitting a CFC. Furthermore, the equivalence
νy(B)=∫(0,1)21B(yTg(x))dx
reveals that the marginals are occupation measures [10]. However, in contrast to the theory of occupation measures, we do not require νy to come from a density hy, i.e. to only have an absolutely continuous part with respect to L1 and no jump or Cantor part. For N=1 and p=ln22ln3>2, taking F to be the Cantor function yields an image whose pushforward measure ν consists exclusively of a Cantor part. The Fourier transform, denoted by the hat ^, is a widely used technique – not just in the theory of occupation measures – to study the pushforward measure ν as a measure on RN. To generate an abundance of images g∈A(p), we can add suitable noise to any image and then use the Fourier transform of the pushforward measure of the noisy image to show that it must actually come from a density. Our noise model will be a fractional Gaussian field, which injects noise at every scale into our image g.
DEFINITION 4 (Fractional Gaussian field). Let 0<H<1. The fractional Gaussian field W=(W1,…,WN) with Hurst index H is the RN-valued centered Gaussian field on R2 whose components are i.i.d. with
Wi(0)=0,E[∣Wi(x)−Wi(x′)∣2]=∣x−x′∣2H
for all x,x′∈R2.
The theory surrounding these fields, including existence, can be found in [18]. In particular, we have W:=W∣(0,1)2∈L∞((0,1)2,RN) almost surely.
THEOREM 2 (Noisy images are in A(2)). Let g∈L∞((0,1)2,RN) and W be the fractional Gaussian field (restricted to (0,1)2) with Hurst index H satisfying NH<1. Then, for every σ>0, we have almost surely
g+σW∈A(2).
Proof. Let us set g~=g+σW and we have g~∈L∞((0,1)2,RN) almost surely. We define the Fourier transform of the pushforward measure of g~ by
ν^(ξ)=∫(0,1)2eiξ⋅g~(x)dx.
Recall that the characteristic function of a Gaussian random vector Z∼N(μ,Σ) satisfies
E[eiξ⋅Z]=eiξ⋅μe−21ξTΣξ,
that the increments of g~ satisfy
g~(x)−g~(x′)∼N(g(x)−g(x′),σ2∣x−x′∣2HI),
for x,x′∈(0,1)2 and that
Ms,N:=∫RN∣u∣se−21∣u∣2du<∞.
Using these three facts and the change of variables u=σ∣x−x′∣Hξ, we have
for some constant C(s,σ,H)>0. In the last step, we have used that the singular integral converges for (s+N)H<2, which we can achieve by setting
s∈(N,H2−N),
which is non-empty for NH<1. Since ∣ν^(ξ)∣≤1, we have that
∫∣ξ∣≤1(1+∣ξ∣2)2s∣ν^(ξ)∣2dξ
is bounded by a constant depending only on s and N, and (1+∣ξ∣2)2s≤22s∣ξ∣s for ∣ξ∣≥1. We therefore have a bound on the full Sobolev H2s-norm, and Markov's inequality gives
E[∥ν∥H2s(RN)2]<∞⟹∥ν∥H2s(RN)<∞
almost surely. In particular, the tempered distribution ν is represented by a function h∈H2s(RN), i.e.
⟨ν,φ⟩=∫RNhφdxforallφ∈S(RN).
Equivalently, ν is absolutely continuous with respect to the Lebesgue measure with density h, for which we write ν=hdx. Since s>N, i.e. 2s>2N, the Sobolev embedding then yields for some constant C>0
∥h∥L∞(RN)≤C∥h∥H2s(RN)<∞.
Then, we have almost surely that
• W is bounded and
• the pushforward measure of g~ admits a bounded density h.
Consequently, the marginal densities hy of νy satisfy, for every y∈SN−1 and almost every t∈R,
where BR~(0):={x∈RN∣∣x∣≤R~} is chosen such that g~((0,1)2)⊂BR~(0). Since the bound is independent of y∈SN−1, we can take the supremum and applying the inequality chain (2.3) gives the RDC with exponent p=2.
The only properties of the Gaussian field W that the proof uses are boundedness and the increments E[∣Wi(x)−Wi(x′)∣2]=η(∣x−x′∣), which enters as e−21σ2η(∣x−x′∣)∣ξ∣2. After the change of variables u=ση(∣x−x′∣)21ξ, the argument goes through verbatim for any positive η (of course provided that the associated Gaussian field exists) such that
∫(0,1)2∫(0,1)2η(∣x−x′∣)−2s+Ndxdx′<∞
for some s>N. For η(α)=α2H this is precisely NH<1, so the restriction on the Hurst index is a consequence of our specific noise model and avoids more complicated integral evaluations, such as for the Matérn covariance.
As a corollary of the previous theorem, we get that images satisfying the CFC are dense in L∞((0,1)2,RN). In particular, the set is non-empty.
COROLLARY 1 (Density of non-degenerate images). We have
A(2)L∞=L∞((0,1)2,RN),
where A(2)L∞ denotes the closure of A(2) in L∞((0,1)2,RN).
Proof. Take any fractional Gaussian field W with Hurst index H satisfying NH<1. By the previous Theorem 2, we have
P(g+n1W∈A(2))=1
for every n∈N. Hence
P(n∈N⋂{g+n1W∈A(2)})=1.
Fix any such ω∈Ω in the underlying probability space Ω. Hence,
as n→∞. This gives us A(2)L∞⊃L∞((0,1)2,RN), while the other inclusion is covered by the definition of A(2).
The corollary above also shows that A(p) is not closed in the L∞ topology for any p≥2, as we can approximate any constant function arbitrarily well, but it does not contain any open set in the L∞ topology.
We would like to close this section by noting that if we take X∼U((0,1)2) to be a uniformly distributed random variable on (0,1)2, we can adopt a probabilistic viewpoint of the CFC/RDC by studying the random variable Z=g(X) via a quantitative growth bound on its Lévy concentration function [11]Q(yTZ,r):=supt∈RP(yTZ∈[t,t+r]) for r>0, i.e.
y∈SN−1supQ(yTZ,r)≤Crp2
for some constant C>0. As in [19], we use this as a condition on g, but we actually show that any image g with suitable noise has a quantitative (depending on the scale) covariance floor and hence satisfies this condition. However, images are not random variables in spectral space and the underlying spatial-spectral structure of g∈L∞((0,1)2,RN) matters when we use the Gaussian Mumford–Shah model to find a segmentation of the image. While the data term is invariant under spatial re-arrangements, the perimeter term is not. None of the three similar concepts – Frostman’s lemma, occupation measures and Lévy concentration – requires uniformity over all directions y∈SN−1 for N>1.
Lower bounds for the Gaussian Mumford–Shah model. For this section, we consider the set
X:=Pk×(RN)k×S++(N)k.
We equip Pk with the L1-topology, i.e. for each 1≤l≤k, we identify each Ol⊂(0,1)2 (up to null sets) with its characteristic function 1Ol. We endow Pk with the metric
We equip S++(N) with the metric coming from the Frobenius norm ∣⋅∣F and RN with the standard Euclidean metric. Furthermore, we note that if ∣Ol∣=0, we can set (μl,Σl) to any value without changing the energy of the Gaussian Mumford–Shah model E(1.1). We choose mOl=0 and COl=I in this case.
In order to find lower bounds for the GMS, we would like to use the fact that the indicator functions f(g(x)∣μl,Σl)(1≤l≤k) of the Gaussian Mumford–Shah model are negative log-likelihoods of multivariate Gaussians N(μl,Σl) instead of arguing from a purely optimization/multivariable calculus perspective. As a consequence, we need the following subset of the space P(RN) of probability distributions on RN coming from a positive density
P++(RN):={Q∈P(RN)dLNdQ∈C0(RN,(0,∞))},
i.e. having a strictly positive Radon–Nikodym derivative.
DEFINITION 5 (Information theoretic quantities). For Q∈P++(RN) with density q=dLNdQ and R∈P(RN), we define the entropy by
H(Q):=−∫RNq(z)lnq(z)dz,
the cross entropy by
H(R,Q):=−∫RNlnq(z)dR(z),
and if in addition we have R∈P++(RN) with density r=dLNdR, the Kullback–Leibler divergence by
KL(R∣Q):=H(R,Q)−H(R)=∫RNr(z)lnq(z)r(z)dz.
The following proposition relates lower bounds of the Gaussian Mumford–Shah model cleanly to information theoretic quantities:
PROPOSITION 1 (Information theoretic lower bound). Let g∈A(p) for p≥2. Then, for the Gaussian Mumford–Shah model (1.1), we have
for all (O,μ,Σ)∈X with equality if μ=(mO1,…,mOk) and Σ=(CO1,…,COk).
Proof. Let (O,μ,Σ)∈X be arbitrary and consider all Ol⊂(0,1)2 with ∣Ol∣>0. We note that the normalized pushforward measures Pl=∣Ol∣1g♯(L2Ol) are probability measures with finite mean mOl and finite positive definite covariance COl≻0, where positive definiteness is guaranteed by g∈A(p). Let q(z∣μl,Σl)=(2π)2N1(detΣl)211e−21∣z−μl∣Σl2 denote the density of a multivariate Gaussian. Since −lnq(z∣μl,Σl) is a quadratic polynomial, the cross entropy H(Pl,N(μl,Σl))=−∫RNlnq(z∣μl,Σl)dPl(z) depends on Pl only through its mean and covariance. Therefore, we have
We note that KL(N(mOl,COl)∣N(μl,Σl)) vanishes exactly if μl=mOl and Σl=COl. Recalling that f(z∣μl,Σl)=−lnq(z∣μl,Σl), we can rewrite the energy E (1.1) using the weighted pushforward measure Pl
Note that in the lower bound (3.1), we have profiled out the statistical variables (μ,Σ), and we are therefore left with a lower bound only depending on the partition. The inequality in (3.1) shows that the energy of the Gaussian Mumford–Shah model is always bounded from below by a sum of entropies times segment size. In fact, if we choose μl=mOl and Σl=COl for 1≤l≤k as a default, the inequality in (3.1) becomes sharp as KL(N(mOl,COl)∣N(mOl,COl))=0 and minimizing the Gaussian Mumford–Shah model is equivalent to minimizing entropy times segment size per segment plus a regularizer. However, even though these two forms have the same minimizing partition O, computing this minimizing partition with (μl,Σl)=(mOl,COl) for 1≤l≤k tied to the partition blocks us from using convex relaxations [20] to approximate minimizing partitions numerically.
THEOREM 3 (Lower bounds). Let g∈A(p) for p≥2. Then, there exists a constant K0>0 such that the energy E(1.1) of the Gaussian Mumford–Shah model is bounded below, i.e.
(3.2)
E[O,μ,Σ]≥−K0+λl=1∑kPer(Ol,(0,1)2)≥−K0
for all (O,μ,Σ)∈X.
Proof. Let g∈A(p) for p≥2. Let us introduce the function
(3.3)
ψ:[0,1]→R,t↦{tlnt0for0<t≤1fort=0,
which is continuous on [0,1] and bounded below by −e1. We then use the information theoretic lower bound from the previous Proposition 1 and, since g∈A(p), there exists C>0 such that COl⪰C∣Ol∣pI for all 1≤l≤k, and we estimate
for K0=2N∣ln(2πeC)∣+k2epN>0, since ψ(∣Ol∣)=∣Ol∣ln∣Ol∣≥−e1 and ∑l=1k∣Ol∣=1 by virtue of being a partition.
The proof consumes the covariance floor C∣O∣pI only through the term ∣Ol∣ln∣Ol∣. Any non-decreasing ϕ:(0,1]→(0,∞) with CO⪰ϕ(∣O∣)I for all measurable O⊂(0,1)2 with ∣O∣>0 and
0<s≤1infslnϕ(s)>−∞
ensures the existence of a lower bound. In Theorem 1, this would translate to a modulus of continuity condition on the cumulative distributions.
We will postpone the existence proof to the next section, namely, Theorem 4, to use “unified” technical lemmas and propositions for both E(ϵ) and E, even though we could now apply the direct method of the calculus of variations [21].
Applications. We can now use non-trivial but standard analysis to prove powerful theorems, where the biggest missing ingredient was the lower bound given by Theorem 3.
4.1. Existence theory and convergence rates. For any O∈Pk, let us consider the set of active labels
A(O):={l∈{1,…,k}∣∣Ol∣>0}.
We also use the shorthand notation S:=(RN)k×S++(N)k for the domain of the statistical variables. It is now convenient to profile out the statistical variables, as we are mainly interested in the minimizing partitions of the GMS and pGMS.
LEMMA 3 (Closed forms for partition dependent energy). Let g∈A(p) for p≥2 and ϵ∈[0,1]. Then, the reduced energies E~(ϵ) satisfy
which is minimized precisely at μl=mOl and Σl=COl+ϵI≻0 using the same arguments as for the log-likelihood of a multivariate Gaussian [22]. This holds trivially for ϵ>0, and for ϵ=0 we use g∈A(p). For l∈/A(O), the l-th summand of E(ϵ) vanishes for every (μl,Σl). We also have ∣Ol∣=0⟹Per(Ol,(0,1)2)=0. Substituting this into E(ϵ) yields the desired identity and the equality of the infima follows, since the infimum over the statistical variables (μ,Σ)∈S is actually attained, uniquely so in the variables of the active labels.
We state the main theorem of this section, with E(0):=E, which is of course closely related to Γ-convergence, denoted by Γ-lim. We refer to [23] for all the necessary definitions, lemmas and background.
THEOREM 4 (Convergence of minima). Let g∈A(p) for p≥2. For the energies (1.4) with E(0):=E the following holds:
(i) (Existence of minimizers) For every ϵ∈[0,1], there exists a minimizer x^(ϵ)=(O^(ϵ),μ^(ϵ),Σ^(ϵ))∈X, i.e.
(4.1)
x∈XinfE(ϵ)[x]=E(ϵ)[x^(ϵ)].
(ii) (Convergence rate) For all ϵ∈(0,1] and all O∈Pk, we have
(4.2)
E~(ϵ)[O]−E~[O]≤∣A(O)∣Lϵp1→0
and
O∈PkminE~(ϵ)[O]−O∈PkminE~[O]≤kLϵp1→0
as ϵ→0 with constant L>0 independent of ϵ and O.
(iii) (Convergence of minimizers) Every family of minimizers (x^(ϵ))ϵ∈(0,1] has a subsequence ϵj→0 such that for a minimizer x^=(O^,μ^,Σ^)∈X of E we have
One may alternatively extend E to positive semi-definite Σl on empty segments (i.e. ∣Ol∣=0). After a further extraction of a subsequence, the minimizers then converge in all components of the extended space, with respect to the same topology. Since the limiting statistical variables of vanishing segments are arbitrary and energetically irrelevant, we prefer the formulation above.
Lower semi-continuity of the energies is also a property tied to g having a covariance floor:
LEMMA 4 (Lower semi-continuity). Let g∈A(p). Then, for ϵ∈[0,1], the energies E~(ϵ) are lower semi-continuous on (Pk,dPk).
Proof. Let dPk(O(j),O)→0 and write, for a single label,
and analogously for g⊗g and the measures, which gives mOl(j)→mOl and COl(j)→COl⪰C∣Ol∣pI≻0. Since det is continuous and the limit is non-singular, we get Dl(ϵ)[O(j)]j→∞Dl(ϵ)[O].
Case 2 ( l∈/A(O)): We can use the inequality
C∣Ol(j)∣pI⪯COl(j)+ϵI⪯(4∥g∥L∞2+1)I,
the function ψ (3.3) and the monotonicity of ln det with respect to the Loewner order to deduce that
We note that both sides tend to 0 as ∣Ol(j)∣→∣Ol∣=0 and neither depends on ϵ. Hence Dl(ϵ)[O(j)]→0, which is the contribution of the label l in the limit.
The two previous cases combined give that the data term ∑lDl(ϵ)[⋅] is continuous for all ϵ∈[0,1] with respect to (Pk,dPk). The perimeter term is lower semi-continuous with respect to the L1-topology [24] and hence it is also lower semi-continuous on (Pk,dPk). As a result, E~(ϵ) is lower semi-continuous.
We immediately get
PROPOSITION 2 (Γ-convergence of the pGMS). Let g∈A(p). We have
Γϵ→0limE~(ϵ)=E~
on (Pk,dPk).
Proof. Let ϵj→0 be any sequence.
Step 1 (lim inf-inequality): Take any sequence {O(j)}⊂Pk with dPk(O(j),O)→0. By monotonicity of lndet with respect to the Loewner order, we have E~(ϵj)≥E~ pointwise, and hence
j→∞liminfE~(ϵj)[O(j)]≥j→∞liminfE~[O(j)]≥E~[O],
due to the previous Lemma 4, which proves the lim inf-inequality.
Step 2 (recovery sequence): For any O∈Pk, the constant sequence O(j):=O serves as a recovery sequence: labels l∈/A(O) contribute zero to both E~(ϵj)[O] and E~[O], while for l∈A(O) we have COl≻0 and hence the (pointwise) convergence of
ϵ→0limlndet(COl+ϵI)=lndetCOl.
Summing over l=1,…,k gives limj→∞E~(ϵj)[O]=E~[O].
These two conditions imply Γ-convergence [23], i.e. Γ-lim ϵ→0E~(ϵ)=E~.
We are now ready to prove the main Theorem 4:
Proof. Let Ob=((0,1)2,∅,…,∅) and E~b:=∣E~(1)[Ob]∣ and K0>0 the constant from Theorem 3. Then, we set
(4.4)
K:={O∈Pkl=1∑kPer(Ol,(0,1)2)≤λE~♭+K0+1},
which is compact in (Pk,dPk) because of the compact embedding BV((0,1)2)⊂⊂L1((0,1)2) [24]. The partition constraints are also preserved by L1-convergence and the perimeter bound is preserved by the lower semi-continuity of the perimeter under L1-convergence. Using E~(ϵ)≥E~ for ϵ>0 together with Theorem 3, i.e. E~(ϵ)[O]≥−K0+λ∑l=1kPer(Ol,(0,1)2), we obtain
{O∈PkE~(ϵ)[O]≤E~(ϵ)[O♭]+1}⊂K
and K does not depend on ϵ. For every ϵ∈[0,1], we can therefore choose a minimizing sequence (O(ϵ,n))n∈N⊂K of E~(ϵ), which, by compactness, has a subsequence with limit O^(ϵ)∈K. Using the lower semi-continuity of E~(ϵ), i.e. E~(ϵ)[O^(ϵ)]≤liminfn→∞E~(ϵ)[O(ϵ,n)]=infO∈PkE~(ϵ)[O], and the statistical variables (μ^(ϵ),Σ^(ϵ)) as in Lemma 3, we infer that
Substituting ul=C∣Ol∣pϵ, we have φϵ(∣Ol∣)=2Cp1Nϵp1ulp1ln(1+ul). Since p>1, we have 0<Mp=supu>0up1ln(1+u)<∞, and hence for L=Mp2Cp1N>0
E~(ϵ)[O]−E~[O]≤l∈A(O)∑φϵ(∣Ol∣)≤∣A(O)∣Lϵp1,
which is precisely (4.2).
Lastly, we see that the compact set K is independent of ϵ∈[0,1] and satisfies
O∈PkminE~(ϵ)[O]=O∈KminE~(ϵ)[O],
which makes the family E~(ϵ) equi-coercive. Together with Γ-limϵ→0E~(ϵ)=E~ from Proposition 2 and Theorem 1.21 from [23], we get the existence of a convergent subsequence O^(ϵj) (not relabeled) with limit O^∈K, i.e. dPk(O^(ϵj),O^)→0 as j→∞, and that O^ is a minimizer of E~. The statistical variables (μ^,Σ^)∈S are again reintroduced via Lemma 3 (with ϵ=0), which yields a minimizer x^=(O^,μ^,Σ^)∈X of E. This is the first part of (4.3). For the second part, note that for any l∈A(O^), we have ∣O^l(ϵj)∣≥2∣O^l∣>0 for j large, and by Lemma 3, the unique statistical variables are given by μ^l(ϵj)=mO^l(ϵj) and Σ^l(ϵj)=CO^l(ϵj)+ϵjI, which converge by continuity w.r.t. the partitions O^(ϵj) as in Lemma 4. The conclusion then follows from the same arguments as in Case 1 of the proof of Lemma 4. Now that we have proven the existence of minimizers, the second part of (4.2) follows from the first part of (4.2) and ∣A(⋅)∣≤k.
We would like to close out this section by remarking that for 0<ϵ≤1, the existence of minimizers for E(ϵ) only requires g∈L∞((0,1)2,RN). We can apply the direct method and note that
holds for all (O,μ,Σ)∈X and replaces the lower bound from Theorem 3. The CFC becomes obsolete for ϵ>0 and is replaced by the fact that COl+ϵI⪰ϵI≻0 (see Lemma 3). The rest of the argument is similar to the proof of Theorem 4.
4.2. Convergence of alternating minimization. In order to compute minimizers of E(1.1) and E(ϵ)(1.4) numerically, we need to use a convex relaxation, in our case Zach's convexification [25]. As mentioned before, this is also the main reason why we do not substitute the closed form for (μ,Σ)∈S right away, as it would make the convexification impossible or ill-defined.
For the Zach convexification, we need the unit simplex
Δk:={z∈Rkzl≥0forall1≤l≤k,l=1∑kzl=1}.
We denote by ∥f∥TV((0,1)2) the total variation (denoted by V(f,(0,1)2) in [24]) of a function f∈Lloc1((0,1)2). We then define the set of soft labels by
with (u,μ,Σ)∈U×(RN)k×S++(N)k. Our update scheme is as follows:
DEFINITION 6 (Alternating minimization). Let g∈A(p) for p≥2 and ϵ∈[0,1]. Let (u(0),μ(0),Σ(0))∈U×(RN)k×S++(N)k. Then we define the alternating minimization scheme by
for ∥ul∥L1>0. For numerical purposes, the specific choice for inactive labels l∈/A(u) matters, as we will see in this section's main theorem.
The CFC transfers to the soft covariance matrix:
LEMMA 5 (CFC for soft labels). Let g∈A(p) with constant C>0 and let u:(0,1)2→[0,1] be measurable with ∥u∥L1>0. Then
Cu⪰C∥u∥L1pI.
Proof. Let y∈SN−1 be arbitrary. Set Ot:={x∈(0,1)2∣u(x)>t} for t∈[0,1), so that u(x)=∫011Ot(x)dt and ∥u∥L1=∫01∣Ot∣dt by Fubini. Since the mean minimizes the quadratic deviation, we have for every t with ∣Ot∣>0,
and dividing by ∥u∥L1=∫01∣Ot∣dt yields yTCuy≥C∥u∥L1p.
We record another lemma for the sake of completeness:
LEMMA 6 (Closed forms for label dependent energy). Let g∈A(p) for p≥2 and ϵ∈[0,1]. Then, for any u∈U, min(μ,Σ)∈SEconv(ϵ)[u,μ,Σ] is uniquely attained by
μ^l(ϵ)=mulandΣ^l(ϵ)=Cul+ϵI
for l∈A(u) and any (μ^l(ϵ),Σ^l(ϵ))∈RN×S++(N) for l∈/A(u). The energy at this minimum is given by
The proof is essentially the same as that of Lemma 3 and is therefore omitted. With this, we can show that alternately updating the labels yields a convergent (sub)sequence, at which our update scheme (4.7) comes to a halt:
THEOREM 5 (Convergence of alternating minimization). Let g∈A(p) for p≥2 and ϵ∈[0,1] and (u(0),μ(0),Σ(0))∈U×(RN)k×S++(N)k. Let (u(n),μ(n),Σ(n)) be the sequence generated by Definition 6. This sequence is well-defined and there exist (u,μ,Σ)∈U×(RN)k×S++(N)k and a subsequence (not relabeled) such that
u(n)→uinL1((0,1)2,Rk)
and
∣μl(n+1)−μl∣+∣Σl(n+1)−Σl∣F→0foralll∈A(u).
Furthermore, if for l∈/A(u), we set (μl,Σl)=(μl∗,Σl∗) for some l∗∈A(u), we have
with the same K0>0 as in Theorem 3, in particular independent of ϵ>0. By the direct method, using that bounded sets in BV((0,1)2) are pre-compact in L1((0,1)2), each u(n) is well-defined, since the arg min is non-empty. The limit lies in U because Δk is closed and ∥⋅∥TV((0,1)2) is lower semi-continuous with respect to L1-convergence [24]. In addition, we have f(g(⋅)∣μl,Σl)+2ϵtrΣl−1∈L∞((0,1)2) for fixed (μ,Σ)∈S, which makes the data terms continuous. Moreover, the update steps do not increase the energy, and hence we have
As a direct consequence, invoking again the pre-compactness of bounded sets of BV((0,1)2) in L1((0,1)2), we get a subsequence (not relabeled) u(n)→u∈U in L1((0,1)2,Rk). By the same arguments as in Lemma 4, the soft mean and soft covariance converge for l∈A(u). Indeed, for l∈A(u) we have ∥ul(n)∥L1≥2∥ul∥L1>0 for n large, so that l∈A(u(n)) and, by Lemma 6, (μl(n+1),Σl(n+1))=(mul(n),Cul(n)+ϵI)→(mul,Cul+ϵI)=:(μl,Σl) as in Case 1 of the proof of Lemma 4. Note that the sequence index is shifted, since these are the statistical variables generated from u(n). For the last part, we note that minimality of (μ,Σ)∈S is given by Lemma 6, since for inactive labels l∈/A(u), we can in particular choose (μl,Σl)=(μl∗,Σl∗). This is the first part of (4.8). For the second part, let v∈U be arbitrary and define the re-arrangement
by the triangle inequality. Hence we have ∑l=1k∥v~l∥TV((0,1)2)≤∑l=1k∥vl∥TV((0,1)2) and our re-arrangement does not increase the perimeter terms. For the data terms, setting ϕ(ϵ)(x∣μl,Σl):=f(g(x)∣μl,Σl)+2ϵtrΣl−1, we compute
and hence this re-arrangement leaves the data terms invariant. It remains to compare the energies of u and v~. Since the update steps do not increase the energy and the energies are bounded below, they converge to some E∞∈R. By the lower semi-continuity of ∥⋅∥TV((0,1)2), the convergence of the data terms of the labels l∈A(u) and the fact that the data terms of the labels l∈/A(u) are, by Lemma 6, of the form 2∥ul(n)∥L1ln((2πe)Ndet(Cul(n)+ϵI))→0 by Case 2 of the proof of Lemma 4, we get
We would like to close out this section by noting that extracting any further properties of the sequence (u(n),μ(n),Σ(n)), such as convergence of the full sequence or convergence to a critical point/minimum, is beyond the scope of this paper and would require extensive analysis [26].
Numerical experiments. We would like to present numerical evidence for our main theorems. As our canonical example, we choose the chessboard, which is given in analytical form by
(5.1)
g(x)=21(1−sgn(sin(8πx1)sin(8πx2)))∈L∞((0,1)2),
where sgn denotes the signum function with sgn(0)=0. We note that the essential range of g is {0,1} and that the pushforward measure is given by ν=21δ0+21δ1. Note that on any (subset of a) level set O1 of g with positive measure and finite perimeter, we get CO1=0 and we can make the energy of the GMS (1.1) arbitrarily low by setting Σ1=CO1+ϵI and sending ϵ→0. In practice, one would of course regularize such an expression by considering CO1+ϵI for a fixed ϵ>0, which is exactly what the pGMS (1.4) enforces automatically. By Theorem 2, we can add (a wavelet-based approximation [18] of a) fractional Gaussian field W of Hurst index 0.9 (restricted to (0,1)2) to get the noisy image g+0.1⋅W.
FIG. 5.1. Illustration of the image g, the noise W and the noisy image g+0.1⋅W.
Theorem 2 applied with g≡0 tells us that the noise W itself satisfies the CFC. By Theorem 1 applied for p=2, the CFC is equivalent to our image having a Lipschitz continuous cumulative distribution function F(t). We see that the cumulative distribution of g has a jump type discontinuity at {0,1} and hence would violate the RDC and therefore, we have g∈/⋃p≥2A(p).
FIG. 5.2. Cumulative distributions of the image g, the noise W and the noisy image g+0.1⋅W.
We also plot the modulus of continuity ω(r)=supt∈R(F(t+r)−F(t)) to see that it also matches our theoretical prediction ω(r)≤Cr coming from the RDC.
FIG. 5.3. Modulus of continuity of the image g, the noise W and the noisy image g+0.1⋅W plotted on logarithmic scales.
g+0.1⋅W is represented as a 1024×1024 grayscale image and we refer to [4] for further implementation and discretization details, but we sketch it here for completeness. To find (or rather approximate) a minimizer (O^,μ^,Σ^) of E numerically, we use the convex relaxation (4.6). To solve the relaxed problem, we use the alternating minimization (AM) from Definition 6 with a random initialization and update the labels u∈U with the Primal-Dual Hybrid Gradient (PDHG) algorithm [27] and the statistical variables (μ,Σ)∈S in closed form given by Lemma 6. In this case, Theorem 5 tells us that a (sub)sequence generated by the alternating minimization converges to a point (u^,μ^,Σ^)∈U×(RN)k×S++(N)k minimizing the convexified energy coordinatewise.
We use the following parameters for our numerical segmentation:
TABLE 5.1 Parameters used for the segmentation.
Parameter
Value
k
2
λ
10−4
AM loops
4
PDHG steps
250
From u^∈U, we recover a partition O^∈Pk by setting
ℓ(x)[u^]:=min(l∈{1,2}argmaxu^l(x))
and
O^l={x∈(0,1)2∣ℓ(x)[u^]=l}(l=1,2).
The resulting partition O^=(O^1,O^2) is of course an acceptable segmentation for our example, matching exactly the original chessboard g.
FIG. 5.4. Segmentation (ϵ=0) of the noisy image g+0.1⋅W.
To see that the hypothesis g∈A(p) cannot be dropped for the existence of a lower bound in Theorem 3, we examine the energy E~(ϵ)[O^] as ϵ→0 for the (clean) chessboard g∈L∞((0,1)2)∖⋃p≥2A(p). The pGMS has according to (4.5) an ϵ-dependent lower bound, which goes to −∞ as ϵ→0, and it turns out that this lower bound is exact for our test image:
FIG. 5.5. pGMS energy of the chessboard image g as ϵ→0.
To test the convergence rate of E~(ϵ)[O^]−E~[O^]≤∣A(O^)∣Lϵ21 from Theorem 4 for the noisy chessboard g+0.1⋅W, we approximate the constant from the CFC by
C≈l∈A(O^)min∣O^l∣2CO^l
and using M2=supu>0uln(1+u)≈0.8045, we get L≈0.80452C1. The convergence rate holds uniformly over O∈Pk and can only be attained if the segments shrink with ϵ: equality in φϵ(∣Ol∣)≤Lϵp1 requires C∣Ol∣pϵ=u∗, where u∗≈3.92 maximizes u↦uln(1+u). For the fixed partition O^, the eigenvalues κl=CO^l≈10−2 are bounded away from zero, so the exact difference ∑l2∣O^l∣ln(1+κlϵ) is of order ϵ compared to our bound of order ϵ21 as ϵ→0.
FIG. 5.6. Convergence of the reduced pGMS energy to the reduced GMS energy of the image g+0.1⋅W for the chessboard partition.
To perform experiments for RGB/HSI images (N>1), one has to study all projections yTg for y∈SN−1, and they are studied like grayscale images, and one also has to ensure that all numerical experiments, tests and results hold uniformly in y∈SN−1. The choice of N=1 sidesteps this difficulty. The choice of a synthetic test image was also deliberate for the following reasons. First, the mode of failure is unambiguous: the pushforward measure of g is purely atomic, so g violates the CFC for every C>0 and p>0, regardless of discretization. A real image may already possess a Hölder continuous cumulative distribution, in which case the experiment of adding noise would demonstrate nothing. Second, we have applied this model to hyperspectral images [4], where N≈10 after dimensionality reduction, but there are often segments with fewer than N+1 pixels. Recall that the discrete sample covariance matrix needs at least N+1 affinely independent pixels to be strictly positive definite. In these cases, the degeneracy of COl is a discretization effect rather than a property of the continuum image; it is the latter that we examine here. Third, the chessboard has no questionable ground truth, with only two natural choices for the number of segments (k=2 or k=64), so our experiments involve minimal methodological choices and test our theorems rather than the accuracy of the segmentation pipeline.
Conclusion. We have identified the pushforward measure ν of an image g∈L∞((0,1)2,RN) as the only invariant relevant for the existence of covariance floors. Theorem 1 shows that, for an image, admitting covariance floors is equivalent to having a uniform Hölder norm bound on the marginal cumulative distributions Fy, and the condition is therefore invariant under measure-preserving re-arrangements of the domain (0,1)2. In particular, spatial regularity of g is irrelevant to the CFC. The condition p≥2 rules out any scale-independent bound CO⪰CI for C>0. g satisfying the CFC is generic in practice, as the noisy images satisfy g+σW∈A(2) and these noisy images are actually dense in L∞((0,1)2,RN). For images g∈A(p), the
Gaussian Mumford–Shah model admits a lower bound given by the segment volumes ∣Ol∣ and entropies H(N(mOl,COl)). As it turns out, this lower bound combined with standard analysis yields existence of minimizers for the GMS, convergence of minimizers of the pGMS with convergence rates for the energies and convergence of a subsequence generated by the alternating minimization. The continuous setting requires different methods than the discrete setting, as the discrete setting has a prescribed minimum scale and only finitely many possible segments, but also requires each segment to have a minimum number of pixels. In the continuous setting, the CFC constrains ν alone and is insensitive to resolution, whereas a discrete segment containing fewer than N+1 affinely independent pixels has singular sample covariance for reasons unrelated to the value distribution ν. We isolate the mechanism in the continuous setting in our numerical experiments; however, in the hyperspectral image segmentation setting with N≫1, both the discrete and continuous obstructions are present. It remains open how to deal with all images g∈L∞((0,1)2,RN), in particular piecewise constant images, without falling back to perturbations (such as the pGMS) or restricting the set of possible Σ.
References
[1] Song Chun Zhu and A. Yuille. “Region competition: unifying snakes, region growing, and Bayes/MDL for multiband image segmentation”. In: IEEE Transactions on Pattern Analysis and Machine Intelligence 18.9 (1996), pp. 884–900. DOI: 10.1109/34.537343.
[2] M. Rousson and R. Deriche. “A variational framework for active and adaptive segmentation of vector valued images”. In: Workshop on Motion and Video Computing, 2002. Proceedings. 2002, pp. 56–61. DOI: 10.1109/MOTION.2002.1182214.
[3] Jan-Christopher Cohrs, Chandrajit Bajaj, and Benjamin Berkels. “A Distribution-Dependent Mumford–Shah Model for Unsupervised Hyperspectral Image Segmentation”. In: IEEE Transactions on Geoscience and Remote Sensing 60 (2022), pp. 1–21. ISSN: 1558-0644. DOI: 10.1109/TGRS.2022.3227061.
[4] Fabian Conrad and Benjamin Berkels. From Proper Scoring Rules and Edge Biases to Mumford-Shah Models: Robust Unsupervised Hyperspectral Image Segmentation. 2026. arXiv: 2610.27958 [cs.CV]. URL: https://arxiv.org/abs/2610.27958.
[5] Jan-Christopher Cohrs, Ekaterina Kim, and Benjamin Berkels. “Sea-ice states: unsupervised segmentation from multispectral data based on Mumford–Shah functional”. In: Book of proceedings: 27th IAHR International Symposium on Ice. Gdansk, Poland, 2024, pp. 43–57. DOI: 10.5281/zenodo.14541868.
[6] David Mumford and Jayant Shah. “Optimal approximations by piecewise smooth functions and associated variational problems”. In: Communications on Pure and Applied Mathematics 42.5 (1989), pp. 577–685. DOI: 10.1002/cpa.3160420503.
[7] Francesco Maggi. Sets of finite perimeter and geometric variational problems: an introduction to geometric measure theory. Cambridge studies in advanced mathematics 135. Cambridge: Cambridge Univ. Pr., 2012. ISBN: 9781107021037.
[8] Jan-Christopher Cohrs and Benjamin Berkels. “On the importance of the ε-regularization of the distribution-dependent Mumford–Shah model for hyperspectral image segmentation”. In: Multiscale, Nonlinear and Adaptive Approximation II. Springer Nature Switzerland, 2024, pp. 201–222. ISBN: 9783031758027. DOI: 10.1007/978-3-031-75802-7_10.
[9] Pertti Mattila. Geometry of Sets and Measures in Euclidean Spaces: Fractals and Rectifiability. Vol. 44. Cambridge Studies in Advanced Mathematics. Cambridge: Cambridge University Press, 1995. ISBN: 9780521655958.
[10] Donald Geman and Joseph Horowitz. “Occupation Densities”. In: The Annals of Probability 8.1 (1980), pp. 1–67. ISSN: 00911798, 2168894X. URL: http://www.jstor.org/stable/2243059 (visited on 02/16/2026).
[11] Walter Hengartner and Radu Theodorescu. Concentration Functions. Vol. 27. Probability and Mathematical Statistics. New York: Academic Press, 1973. ISBN: 0123410509.
[12] Patrick Billingsley. Probability and measure. 3. ed. A Wiley-Interscience publication. New York [u.a.]: Wiley, 1995. XII, 593. ISBN: 0471007102.
[13] Rajendra Bhatia and Chandler Davis. “A Better Bound on the Variance”. In: The American Mathematical Monthly 107.4 (2000), pp. 353–357.
[14] Elliott H. Lieb and Michael Loss. Analysis, Second edition. Vol. 14. Graduate Studies in Mathematics. American Mathematical Society, 2001.
[15] Parvaneh Joharinad and Jürgen Jost. Mathematical Principles of Topological and Geometric Data Analysis. Vol. 2. Mathematics of Data. Springer Cham, 2023. ISBN: 978-3-031-33439-9. DOI: 10.1007/978-3-031-33440-5.
[16] Lawrence C. Evans and Ronald F. Gariepy. Measure Theory and Fine Properties of Functions, Revised Edition. Textbooks in Mathematics. Boca Raton, FL: CRC Press, 2015. ISBN: 9781482242386.
[17] Amel Shamseldeen Ali Alhassan, Siyuan Zhang, and Benjamin Berkels. “Direct motif extraction from high resolution crystalline STEM images”. In: Ultramicroscopy 254 (2023), p. 113827. ISSN: 0304-3991. DOI: 10.1016/j.ultramic.2023.113827.
[18] Serge Cohen and Jacques Istas. Fractional Fields and Applications. Mathématiques et Applications. volume 76. Springer, 2013, p. 270. DOI: 10.1007/978-3-642-36739-7.
[19] Jaouad Mourtada. “Exact minimax risk for linear least squares, and the lower tail of sample covariance matrices”. In: The Annals of Statistics 50.4 (Aug. 2022). ISSN: 0090-5364. DOI: 10.1214/22-AOS2181.
[20] Jan Lellmann and Christoph Schnörr. “Continuous Multiclass Labeling Approaches and Algorithms”. In: SIAM Journal on Imaging Sciences 4.4 (2011), pp. 1049–1096. DOI: 10.1137/100805844.
[21] Filip Rindler. Calculus of Variations. Universitext. Springer Cham, 2018. ISBN: 978-3-319-77637-8.
[22] Theodore W. Anderson. An Introduction to Multivariate Statistical Analysis. 3rd. Hoboken, NJ: John Wiley & Sons, 2003. ISBN: 978-0-471-36091-9.
[23] Andrea Braides. Gamma-Convergence for Beginners. Oxford University Press, July 2002. ISBN: 9780198507840. DOI: 10.1093/acprof:oso/9780198507840.002.0006.
[24] Luigi Ambrosio, Nicola Fusco, and Diego Pallara. Functions of Bounded Variation and Free Discontinuity Problems. Oxford Mathematical Monographs. Oxford University Press, 2000. ISBN: 9780198502456.
[25] Christopher Zach, David Gallup, Jan-Michael Frahm, and Marc Niethammer. "Fast Global Labeling for Real-Time Stereo Using Multiple Plane Sweeps". In: Proceedings of the Vision, Modeling, and Visualization Conference (VMV 2008). Jan. 2008, pp. 243–252.
[26] Hedy Attouch, Jérôme Bolte, and Benar Svaiter. “Convergence of descent methods for semi-algebraic and tame problems: proximal algorithms,
[27]
forward–backward splitting, and regularized Gauss–Seidel methods". In: Mathematical Programming 137 (2013), pp. 91–129. DOI: 10.1007/s10107-011-0484-9.
Antonin Chambolle and Thomas Pock. "A First-Order Primal-Dual Algorithm for Convex Problems with Applications to Imaging". In: Journal of Mathematical Imaging and Vision 40.1 (May 2011), pp. 120–145. DOI: 10.1007/s10851-010-0251-1.