• Keine Ergebnisse gefunden

An Augmented Lagrangian Model for Signal Segmentation

N/A
N/A
Protected

Academic year: 2022

Aktie "An Augmented Lagrangian Model for Signal Segmentation"

Copied!
20
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

c The Author(s) 2022

An Augmented Lagrangian Model for Signal Segmentation

Salvador Moll and Vicent Pallard´o

Abstract.In this paper, we provide a new insight to the two-phase sig- nal segmentation problem. We propose an augmented Lagrangian vari- ational model based on Chan–Vese’s original one. Using both energy methods and PDE methods, we show, in the one-dimensional case, that the set of minimizers to the proposed functional contains only binary functions and it coincides with the set of minimizers to Chan–Vese’s one.

This fact allows us to obtain two important features of the minimizers as a by-product of our analysis. First of all, for a piecewise constant initial signal, the jump set of any minimizer is a subset of the jump set of the given signal. Second, all of the jump points of the minimizer belong to the same level set of the signal, in a multivalued sense. This last property permits to design a trivial algorithm for computing the minimizers.

Mathematics Subject Classification. 35G60, 35Q68, 35J92, 49J10.

Keywords. Segmentation, signal processing, total variation, minimizers, one dimensional.

1. Introduction

Segmentation is the task of partitioning an object into its constituent parts.

In signal or image processing, it consists in decomposing the domain Ω of a given input: a signal (an interval in which case Ω = [a, b] R) or an image (ΩR2) into some regions of interest. In the particular case of two- phase segmentation, the aim is to find an optimal partition into two disjoint subsets, the foreground domain ΩF and the background domain ΩB, such that Ω = ΩF ΩB.

After the seminal work by Mumford and Shah [17], in which the authors introduced a celebrated variational model for image segmentation, Chan and

Salvador Moll has been partially supported by the Spanish Ministerio de Ciencia e Inno- vaci´on, and FEDER, Project PGC2018-094775-B-I00.

0123456789().: V,-vol

(2)

Vese rewrote it in the two–phase framework [7]. They propose to obtain the optimal partition by minimizing the following energy functional:

E,cmin1,c2Per(E; Ω) +λ1

E(c1−f)2dx+λ2

Ω\E(c2−f)2dx (1.1) among all sets of finite perimeter E Ω and all constants c1, c2 [0,1], for some given parametersλ1, λ2 0. From now on, we do not distinguish between the weights of the foreground and background, and thus, we take λ1 = λ2 = λ. A minimizer E Ω can be considered as the foreground domain and Ω\E as the background domain. In this case, the constants c1

andc2turn out to be the average off inE and the average in Ω\E, respec- tively. The authors proposed in [7] an iterative two-step algorithm for finding the minimizers of the energy based on the level-set formulation developed by Osher and Sethian [18]. Basically, after initialization of the constants, the first step consists in finding the corresponding minimizing set with fixed con- stants as a steady-state solution of the correspondentL2-gradient flow of the functional associated with the level-set formulation. Then, one recomputes the constants and comes back to the first step until convergence has been reached.

The main problem with this algorithm is that the energy functional is not convex. Therefore, the gradient descent scheme is prone to get stuck at critical points other than global minima. This issue was fixed by Chan–

Esedoglou and Nikolova, who proved that minimizers to Chan–Vese’s level-set functional with fixed constants (i.e., solutions to Step 2) are solutions to the following constraint convex energy minimization problem (and vice versa):

{0≤u≤1}min |Du|(Ω) +λ

Ω

u(c1−f)2+ (1−u)(c2−f)2

dx. (1.2) Observe that, if the solutionuis the characteristic function of a set with finite perimeter;u=χE, then, the energy in (1.2) coincides with that in (1.1).

There are still two main problems: the main one remains at the noncon- vex nature of the original energy functional, i.e., convergence of the algorithm to a global minima is not ensured, and it heavily depends on the initialization.

Moreover, it is not known if Chan–Vese’s algorithm (with Chan–Esedoglu–

Nikolova modification) could lead to non-binary solutions (see [9]).

The main objective of this work is to give another approach to original Chan–Vese’s minimizers in the easiest possible case, the one-dimensional case, which corresponds to signal segmentation. In the context of signal segmenta- tion, Chan–Vese’s algorithm was already proposed in [8] and has been used in some works (see [15] or [16]). Our starting point is the functional appearing in Problem (1.2). We aim at minimizing, simultaneously the functionuand the constantsc1, c2. To do that, we introduce an augmented Lagrangian version of the functional, coupled with the constraint 0≤u≤1. In this new func- tional, we replace the constants by BV functions while highly penalizing their variation. For anyε >0, we define the functionalFε: (L2(0,1))3[0,+∞[

by letting

(3)

Fε(u, v1, v2) = |Du|(Ω) +1

ε(|Dv1|(Ω) +|Dv2|(Ω)) +λ

Ω

u(v1−f)2 dx +λ

Ω

(1−u) (v2−f)2dx+

Ω

I[0,1](u) dx, (1.3) whereI[0,1](·) denotes the indicator function of the interval [0,1], that is

I[0,1](x) =

0 if x∈[0,1]

+∞ otherwise.

The second term is implemented for penalizing the variation of the pair of functions (v1, v2). Observe that, letting ε 0, we are forcing v1, v2 to become constants. With this addition, the functionalFε fails to be convex.

However, we can use standard PDE methods to obtain some features of the set of minimizers via its correspondent system of Euler–Lagrange equations.

In particular, we prove the following results in the case that Ω is an interval ofR:

Theorem 1.1. Letε < 41λ. Then, if(u, v1, v2)is a minimizer ofFε, thenv1, v2

are constants.

To characterize the first component of the minimizer, we need to assume further that the datum is not too oscillatory in the following sense:

(H)f ∈BV(0,1) satisfies that for everyc∈(0,1) L1(∂{x∈(0,1)\Jf :f(x) =c}) = 0.

Observe that with this assumption, we exclude some pathologies on the data such as having a fat Cantor set as a level set.

Theorem 1.2. Given ε < 1 , forf ∈BV(Ω) satisfying(H), any minimizer (u, v1, v2) of Fε is independent of ε and it satisfies that either uis constant oru(Ω)⊂ {0,1}, i.e., uis a binary function inBV(Ω).

With this last result, we can show that the set of minimizers of Chan–

Vese’s problem (1.1) coincides with the set of minimizers ofFε (independent ofεunder the size condition above expressed). As a by-product of our anal- ysis, we obtain two important properties of solutions to (1.1)

(a) The jump set of any solution is concentrated in the topological boundary of a sole level set (in a multivalued sense, see (4.2) for the proper statement).

(b) Iff is piecewise constant, then the jump set of any solution is contained in the jump set off.

These two properties, though quite intuitive in the one-dimensional setting, were not known in the literature, to the best of our knowledge. Moreover, property (a) allows to build a trivial algorithm to find the minimizers of Chan–Vese’s problem in the one-dimensional case.

The plan of the paper is the following one: In Sect. 2, we obtain the system of PDE’s that minimizers toFεsatisfy, i.e., the corresponding Euler–

Lagrange equations in this non-smooth case. In Sect. 3, we prove Theo- rems 1.1 and 1.2. Section 4 is devoted to the proof of properties (a) and

(4)

(b). In Sect. 4.2, we explain the trivial algorithm to compute the minimiz- ers. We finish the paper with some conclusions and with an Appendix, in which we collect the existence of minimizers toFε as well as the proof of an auxiliary result we need.

Notations. Throughout the paper, Ω denotes an open bounded set in RN with Lipschitz boundary andLN denotes the Lebesgue measure in RN. We denote by Lp(Ω), 1 p ≤ ∞ the Lebesgue space of functions which are integrable with power p with respect to LN. We use the notation ·,· to denote the scalar product between two L2 functions. We denote by H1(Ω) the Hilbert spaceW1,2(Ω) and byH01(Ω) the completion inH1(Ω) of smooth functions with compact support in Ω. We use standard notation for functions of bounded variation (BV functions) as in [2]. In particular, givenu∈BV(Ω), we writeux,DcuandDjufor the absolutely continuous part of the measure Duwith respect toLN, for the Cantor part ofDu and for the jump part of Du, respectively. We use the notationu±(x) for the left and right approximate limits ofuatx∈Ω (we use only this convention for the case of Ω = (a, b)R, a b R), Ju for its jump set and νu will denote the Radon–Nikodym derivative of Du with respect to |Du|. Given a set E Ω, we say that it is a set of finite perimeter in Ω if χE BV(Ω), where χE denotes the characteristic function of the setE. In this case, its perimeter is defined as P er(E; Ω) :=|DχE|. Finally, unless otherwise specified, we always identify a function (inH01(0,1) or inBV(Ω)) by its precise representative.

2. System of Euler–Lagrange Equations

In this section, we derive the system of equations that minimizers ofFεmust satisfy. Although Fε is not a convex functional in (L2(Ω))3, it is a convex functional in each of their coordinates when one fixes the other two ones.

Therefore, by standard results in convex analysis, we obtain that the Euler–

Lagrange system of PDE’s is the following one:

⎧⎪

⎪⎩ λ

(v1−f)2(v2−f)2

+∂(Φ + Ψ)(u)0 2ελu(v1−f) +∂Φ(v1)0 2ελ(1−u)(v2−f) +∂Φ(v2)0,

(2.1)

where the symbol denotes the subdifferential (in L2(Ω)) of the following two extended real-valued convex functions:

Φ(g) :=

|Dg|(Ω) if g∈L2(Ω)∩BV(Ω) +∞ if g∈L2(Ω)\BV(Ω) , and

Ψ(g) =

Ω

I[0,1](g) dx.

We easily note that a.e. ∂Ψ(g) = ∂I[0,1](g), for any g L2(Ω). Next result is crucial and permits to reformulate∂(Φ + Ψ)

(5)

Theorem 2.1. Let g∈L2(Ω). Then,

(Φ + Ψ) (g) =∂Φ(g) +∂Ψ(g).

Proof. We point out that standard results to decompose the subdifferential of the sum, such as those in [6], cannot be applied, since the interior of the domains of both functionals is empty. We follow the strategy of [19, Thm.

3.1], consisting in an ad-hoc proof by approximating the subdifferential of the indicator function by its Yoshida’s regularization. First of all, we state the following claim, whose proof we postpone to the Appendix.

Claim. Leth:RRbe a Lipschitz non decreasing function. Then, it holds v, h(u)=|Dh(u)|(Ω), ∀v∈∂Φ(u).

Since we know that the inclusion

(Φ + Ψ) (u)⊇∂Φ(u) +∂Ψ(u), ∀u∈L2(Ω)

is satisfied, it is sufficient to show the converse inclusion. Letu∈L2(Ω) be such that∂(Φ + Ψ)(u)=∅, and letv∈∂(Φ + Ψ)(u). We defineϕu:L2(Ω) R∪ {+∞}by

ϕu(w) = (Φ + Ψ)(w) +1

2w22− v+u, w.

We note thatϕuis coercive, strictly convex and lower semicontinuous. Then, it is easy to see thatuis the unique minimizer ofϕu.

Now, for any 0 < η < 1, let βη be the Yoshida regularization of ∂I[0,1], that is

βη(t) = (t1)+−t

η , ∀t∈R;

here, subindexes±represent, respectively, the positive and the negative part of the function. We next considerγ:L2(Ω)R+∞defined by

γ(w) = Φ(w) +1

2w22− v+u, w+

Ω

βη(w) dx ,

whereβηis a primitive ofβη. We note thatγis coercive, strictly convex over Dom(Φ + Ψ) and lower semicontinuous. Thus,γhas a unique minimizer uη which satisfies the corresponding Euler–Lagrange equation

−βη(uη)−uη+ (v+u)∈∂Φ(uη).

In consequence, we know that the following equation has a unique solution:

vη+βη(uη) +uη=v+u , wherevη ∈∂Φ(uη).

Multiplying byβη(uη) both sides of the previous equation, we have, for any 0< η <1

vη, βη(uη)+βη(uη)22+ uη, βη(uη)= v+u, βη(uη).

Here, sinceη(t)0 for anyt∈R, we note that uη, βη(uη)0. Moreover, by the previous Claim, we have that

vη, βη(uη) ≥0.

(6)

Then, we see thatη(uη)}η and{vη}η are bounded in L2(Ω) and {uη}η is bounded inL2(Ω) andBV(Ω). Therefore, there is a sequencen}n(0,1), such thatηn0 and there exists a functionu0∈L2(Ω), such that

uηnn→∞−→ u0 in L1(Ω).

Moreover, we can assume that there existv0, ξ L2(Ω), such that uηn, vηn andβηn(uηn) converge weakly inL2(Ω) tou0, v0 andξ, respectively.

In addition, we note that 1

η(uη1)+≤ |βη(uη)| and 1

η(uη) ≤ |βη(uη)|, for any 0< η <1, and thus, we have

(uη1)+0 and (uη)0 inL2(Ω) asη→0. Hence, we can show thatu0(x)[0,1] a.e. in Ω. We conclude that

ξ∈∂I[0,1](u0) a.e. in Ω,

v0∈∂Φ(u0) and v0+ξ+u0=v+uinL2(Ω).

This implies that u0 is a minimizer of ϕu. Then, u0 = u, and conse- quently,v=ξ+v0 in L2(Ω), which finishes the proof.

Up to this point, we have worked without imposing any restriction in the dimension of the domain. Now, we introduce the characterization of the subdifferential of the total variation inL2(Ω), proposed by Andreu, Ballester, Caselles, and Maz´on in [3] (see also [4]), in the specific case of the domain being an interval in 1D, which we take as (0,1) without loose of generality (see [10] for a proof).

Theorem 2.2. (TV characterization in 1D) Let u be in BV(0,1), such that

∂Φ(u)=∅. Then, v∈∂Φ(u) if and only if there existszu ∈H01(0,1), such that a.e.|zu| ≤1and

v=(zu)x, |Du|=zu·Du, where the measurezu·Du∈ M(0,1) is defined as

(zu·Du)(U) :=

Uzu·uxdx+

Uzu·νud|Dcu|

+

xJu∩U

(u+(x)−u(x))zu(x)·νu(x), for any Borel setU (0,1).

With this characterization in mind, the system of Euler–Lagrange equa- tions can be rephrased in the following way:

Proposition 2.3. Let (u, v1, v2) be a minimizer of Fε. Then, there exist zu, zv1,zv2∈H01(0,1), corresponding to∂Φ(u),∂Φ(v1)and∂Φ(v2), respectively,

(7)

as given by Theorem2.2, andg∈∂I[0,1](u), such that

⎧⎪

⎪⎩

(zu)x=λ

(v1−f)2(v2−f)2 +g (zv1)x= 2ελu(v1−f) (zv2)x= 2ελ(1−u)(v2−f).

(2.2)

3. Proofs of the Main Results

3.1. Proof of Theorem1.1

We need to show first the following auxiliary result.

Lemma 3.1. (Behaviour of zu) Let u∈BV(0,1) and zu ∈H01(0,1), corre- sponding to∂Φ(u)as provided by Theorem 2.2. Then

|zu|= 1, |Du| − a.e.

Proof. We decompose both measures|Du|andzu·Duin the following way:

zu·Du= (zu·ux)L1+zu·Dju+zu·Dcu

|Du|=|ux|L1+|Dju|+|Dcu|.

Since both decompositions are mutually singular, we have

zu =

⎧⎪

⎪⎪

⎪⎪

⎪⎪

⎪⎪

⎪⎩ ux

|ux|, |ux|L1 -a.e u+−u

|u+−u|, |Dju|-a.e Dcu

|Dcu|, |Dcu|-a.e,

and thus, we have|zu|= 1, |Du| −a.e.

Proof of Thm.1.1. First, we note that if (u, v1, v2) is a minimizer ofFε, then it is easy to see that all variables take values in [0,1] a.e in (0,1) as shown in LemmaA.1in the Appendix. Suppose that there exists a Borel setU (0,1), such thatDv1(U)= 0. By Lemma 3.1, we know that there is x1 ∈U, such that zv1(x1) ∈ {−1,+1}, where zv1 is given by Proposition 2.3. Then, by (2.2)2, we have the next inequality

1 = x1

0

(zv1)xdx

= 2ελ x1

0

u(v1−f) dx

2ελ 1

0

|u||v1−f|dx4ελ,

and in consequence,ε≥1/(4λ) and, thus, a contradiction by hypothesis.

To get thatv2 is also constant, we apply the same argument to (2.2)3.

(8)

Under the size condition ε < 41λ, which we assume from now on, we integrate the second and third Eq. (2.2) in (0,1) and we obtain

v1= 1

0

ufdx 1

0

udx

, v2= 1

0

(1−u)fdx 1

0

(1−u) dx

, (3.1)

in the case thatuis not constant with values 0 or 1. Ifu≡0 (resp.u≡1), thenv1 (resp.v2) can be any constant value in (0,1). We finally note that, beingv1, v2constants, the energy functional does not depend onε. From now on, we will assume the size condition ε < 41λ. We rename the constants as c1, c2 for consistency and remove theεdependence by letting

F(u, c1, c2) =|Du|((0,1)) + 1

0

I[0,1](u) dx +λ

1

0

(u(c1−f)2+ (1−u)(c2−f)2) dx . 3.2. Proof of Theorem1.2

This section is devoted to prove that the first coordinate of the minimizer is necessarily a binary BV function. Hereinafter, we assume that the datum f satisfies (H). The proof will be done in two different steps. First of all, we show that if (u, c1, c2) is a minimizer, then there is a “quasi–piecewise constant”competitoruwith lower energy than (or equal to) the corresponding tou. Then, we prove that the competitor cannot be a minimizer in case it is not binary using the PDE system (2.2).

We start by defining our concept of quasi–piecewise constant function.

Definition 3.2. We say thatu∈BV(0,1) is quasi–piecewise constant if there exist a piecewise constant functionus and an a.e binary function ub which fulfill that they are not non-simultaneously and

u(x) =us(x) +ub(x), a.e. x∈(0,1).

Theorem 3.3. Let c1, c2 [0,1]. Given u a minimizer of F(·, c1, c2), there exists a quasi–piecewise constantu∈BV(0,1) satisfying

F(u, c1, c2)≤F(u, c1, c2). (3.2) Proof. Let x0 be in (0,1), such that u(x0) ∈ {0,/ 1} and x0 ∈/ Ju, and let zu ∈H01(0,1) be the vector field associated with∂Φ(u) as given by Theorem 2.2. We distinguish two cases:

(i) The casex0(|zu|)−1({1}): We assume without loss of generality that zu(x0) = 1 (forzu(x0) =−1, the argument is analogous). Under this assumption, we know that u is continuous at x0 (remember that we always identify a BV function with its precise representative) and thus, u /∈ {0,1}in a neighbourhood ofx0denoted byEx0. Hence, using (2.2)1, we know that

(zu)x=λ

(c1−f)2(c2−f)2

inEx0. (3.3)

(9)

Since f BV(0,1), we have by the above expression that (zu)x BV(Ex0), and thus, its lateral traces (zu)+x(x0) and (zu)x(x0) are well defined. In addition, sincezu(x0) = 1 andzuL(Ω)1, this implies that

(zu)+x(x0)0(zu)x(x0), and we have by (3.3) that

f(x0)≤c1+c2

2 ≤f+(x0). Then, we note that the set

{x∈(0,1)\(Ju∪Jf) :|zu(x)|= 1∧u(x)∈(0,1)} is a subset of the following set:

A:=

x∈(0,1)\Jf :u(x)∈(0,1) f(x) =c1+c2

2

.

We note thatA=Ao(∂A∩A) whereAoand∂Aare the (topological) interior and boundary ofA, respectively. Particularly, we note that

Ao=

k=1

Ik,

where {Ik = (ak, bk)}k is a disjoint collection of open intervals; and L1(∂A∩A) = 0 by assumption on f and the fact that ∂A∩A Jf∪∂{f =c1+c2 2}.

Next, we will modifyuin each interval Ik to decrease the energy.

Before doing it, we point out that, for c1, c2 fixed, minimizing F is equivalent to minimize

G(w) :=|Dw|((0,1)) + 1

0

I[0,1](w) dx +λ

1

0

w(c1−c2)(c1+c22f) dx . SinceIk ⊂A, we observe that

G(uχIk) =|Du|((ak, bk)).

Therefore, if we take uk :=u(ak)+χIk+(0,1)\Ik, it is easy to show that

F(uk, c1, c2)≤F(u, c1, c2).

(ii) Ifx0∈/(|zu|)−1({1}): Sincezu ∈H01(0,1)⊂C(0,1), we take the largest interval I containing x0, such that |zu|(I) [0,1). By Lemma 3.1,

|Du|= 0 in this interval, and thus,uis constant inI.

Consequently, we note that (0,1)\(∂A∩A) can be decomposed as (0,1)(u)−1({0,1})

B

(0,1)(u)−1((0,1))

C

,

(10)

such thatCis a subset of

k=1

Ik

C∩(|zu|)1([0,1)) .

Defining

u(x) :=

uk(x) ifx∈Ik for anyk u(x) ifx /∈Ik for allk , we obtain that the inequality (3.2) is clearly satisfied.

Note thatuis a piecewise constant function inCbecause of the reason- ing in (i) and (ii), and thus, we can take

us:=uXC.

Finally, asBandCare disjoint, we obtain thatuis a quasi-piecewise constant

function.

We introduce now two useful remarks:

Remark 3.4. Let (u, cu1, cu2) be a minimizer ofF, such that cu1 ≤cu2. Defin- ing w := 1 −u, it is easy to show that cw1 = cu2, cw2 = cu1 and that F(w, cw1, cw2) = F(u, cu1, cu2). On account of it, we assume hereinafter that c2≤c1. Furthermore, ifcu1 =cu2, we note that

F(u, cu1, cu2) =|Du|((0,1)) +λ 1

0

(cu2−f)2dx, and thus, to be a minimizer,uis a necessarily a constant function.

Remark 3.5. Let (u, c1, c2) be a minimizer ofF and suppose that there exist a < b Ju, such that u+(a), u(b), u(x) ∈ {0,/ 1}, for any x (a, b). By integrating (2.2)1 on (a, b), we have that

λ b

a

(c1−f)2(c2−f)2

dx=zu(b)zu(a),

wherezu corresponds to∂Φ(u). Note that the right-hand side term is equal to 2, 2 or 0 because of the fact that |zu| = 1 in the jump set Ju as a consequence of Lemma3.1; aszu ∈H01(0,1), ifx0∈Ju, then

zu(x0) =−1 when ujumps toward a lower step inx0.

zu(x0) = 1 whenujumps toward an upper step inx0. After these remarks, we prove the following statement:

Proposition 3.6. Let (u, c1, c2)be a minimizer of F, such that uis a quasi–

piecewise constant function. Then, eitheruis constant oruis an a.e. binary function.

(11)

Proof. This statement is proved by contradiction. We suppose thatuis not an a.e binary function and not constant, i.e., us has some non-binary step (usbeing the piecewise constant part). Leta, b∈Jube such thatus((a, b)) = {β}∈ {0,/ 1}. In addition, letα:=u(a) andγ:=u+(b).

According to the relationα=β =γ, there are three different cases to study:

(i) α < β < γ (orγ < β < α, resp.): We define vτ(x) :=

u(x) ifx /∈(a, b) τ ifx∈(a, b),

where τ (α, β) (or τ (γ, β), resp.). In any case, according to Remarks3.4and3.5, we can suppose thatc1> c2and

λ b

a

(c1−f)2(c2−f)2

dx=λ(c1−c2) b

a (c1+c22f) dx= 0. Sinceλ(c1−c2)>0, we obtain

b

a

fdx=

c1+c2 2

(b−a).

It is clear thatF(u, c1, c2) =F(vτ, c1, c2). Then, (vτ, c1, c2) is a mini- mizer too. Consequently, by (3.1), we have

c1= 1

0

ufdx 1

0

udx

= 1

0

vτfdx 1

0

vτdx

i.e.

Iufdx +βM L

I

udx +βL

=

Iufdx +τ M L

I

udx +τ L ,

where we denoted byI := [0, a)(b,1], M := c1+c2 2 and L := b−a.

Then βM L

Iudx+τ L

Iufdx =τ M L

Iudx+βL

Iufdx Sinceβ=τ andL= 0, we have

M

Iudx =

Iufdx . This yields

M 1

0

u −βL

= 1

0

uf −βM L i.e M = 1

0

ufdx 1

0

udx

=c1,

thus leading toc1=c2, i.e, to a contradiction by Remark3.4.

(12)

(ii) β < α≤γ (orβ < γ≤α, resp.): Similarly as before, we consider vτ(x) :=

u(x) ifx /∈(a, b) τ ifx∈(a, b),

whereτ =α(or τ =γ, resp.). In any case, according to Remarks 3.4 and3.5, we can suppose thatc1> c2 and

λ b

a

(c1−f)2(c2−f)2

dx= 2.

We observe that

b

a fdx=M L−A,

where M and L are the constants defined in the previous case and A:= λ(c1

1−c2). Then, it is easy to check thatF(u, c1, c2) =F(vτ, c1, c2).

Again, (vτ, c1, c2) is a minimizer, and thus, it satisfies (3.1). Repeating the reasoning in the previous case (replacingM L−Ainstead ofM L), we obtain

M−A L =c1,

and if we redo the same computations forc2, we obtain the same equa- tion, thus leading toc1=c2, i.e., to a contradiction as before.

(iii) α≤γ < β (orγ≤α < β, resp.): In this case, we define vτ(x) :=

u(x) ifx /∈(a, b) τ ifx∈(a, b),

whereτ=γ(or τ=α, resp.). Once again, repeating the computations in the previous case, we end up withc1=c2, thus finishing the proof.

We finish this section by pointing out that Theorem 3.3and Proposi- tion3.6already prove Theorem 1.2.

4. Properties of Minimizers

4.1. Proof of Properties(a)and(b)

In this section, we show that the set of minimizers ofF coincides with that of minimizers to Chan–Vese and we prove Properties (a) and (b) of the min- imizers.

Remark 4.1. It is obvious that givenE⊂Ω of finite perimeter F(χE, c1, c2) = Per(E; (0,1))+λ

E(c1−f)2dx+λ

(0,1)\E(c2−f)2dx.

(13)

Then, we note that

u∈L2min(0,1),c1,c2

F(u, c1, c2) min

E,c1,c2

Per(E; Ω) +λ

E(c1−f)2dx +λ

Ω\E(c2−f)2dx. (4.1) On the other hand, by Theorem 1.2, we now that the minimum of F is achieved in a constant or binary BV function u, for the first coordinate.

Then, u = χE (or u = k [0,1])for a set E (0,1) of finite perimeter, which proves the reverse inequality in (4.1). This shows that minimizers of F coincide with Chan–Vese’s minimizers.

We now prove Properties (a) and (b):

Suppose thatx0 ∈Ju and thatu(x0) = 1,u+(x0) = 0. Then, as explained in Remark 3.5, zu(x0) = −1, with zu corresponding to ∂Φ(u) as given by Theorem2.2. Moreover, since∂I[0,1](x) =]− ∞,0]δ0+ [0,+∞[δ1, by (2.2)1, as in the Proof of Theorem3.3that

f+(x0)≤c1+c2

2 ≤f(x0).

If insteadu(x0) = 0,u+(x0) = 1, one gets f+(x0)≥c1+c2

2 ≥f(x0).

Therefore

Ju⊆C1,2:={x∈(0,1) :f(x) c1+c2

2 }, (4.2)

where the image of a jump point is understood in a multivalued sense (i.e., f(x) = [min{f(x), f+(x)},max{f(x), f+(x)}]). Note that this fact almost proves Properties (a) and (b). The only remaining thing to prove is that a jump point cannot exist in the interior ofC1,2. Suppose, by contradiction that x0∈Ju∩C1o,2 and leta < x0 be such thatJu[a, x0[=∅. Without loosing generality, we can suppose thatu= 1 in [a, x0[ and that u+(x0) = 0. Then, considering v := (0,1)\[a,x0[, we easily get that F(v, c1, c2) = F(u, c1, c2) and, therefore, (v, c1, c2) is a minimizer too. Then, repeating the reasoning in Proposition3.6, in case (ii), we arrive at a contradiction, which finishes the proof of Properties (a) and (b).

Remark 4.2. We note that Properties (a) and (b) of the minimizers are only expected to hold in the one-dimensional case. In fact, an easy counterexample in two dimensions is provided byf =χEwithE= [−12,12]2and Ω = [−1,1]2. In this case,Jf is precisely the boundary of the square [12,12]2 while it can be proved that, for any λ > 163 Chan–Vese’s minimizer cannot be either u=χΩ oru=χE , thus showing that (a) and (b) do not hold (Fig.1).

In fact, Chan–Vese’s energy for these two candidates is exactly 34λ(for u=χΩ, c1=14) and 4 (foru=χE, c1= 1,c2= 0). Therefore, for λ > 163, u=χΩis not a minimizer. On the other hand, it is easy to modify the corners of the square by reducing the perimeter and not changing to much the fidelity

(14)

Figure 1. Left:∂E and∂Ω represented by solid and dashed lines, respectively. Right: Chan–Vese segmentation, where black and white colors represent 1 and 0 numerical values, respectively

Figure 2. ∂Eδ, i.e.,Jvδ

term in the energy. We modify E, calling the new set Eδ, by removing the corners through the use of δ-radius circumferential arches tangent to every two contiguous sides of∂E (see Fig.2).

Then, one can check that vδ := χEδ, c1 = 1, c2 = 3+(4(4−π)δ−π)2δ2 for δ satisfying

3 + (4−π)δ2 < 2 λ,

has strictly less energy. This fact is related to the non-calibrability of the set Ewith respect to the isotropic norm in the total variation (see [1]).

Therefore, if one wants to obtain similar results to Properties (a) and (b) in higher dimensions, the total variation term needs to be changed by an anisotropic version of it as in the case of the anisotropic Rudin–Osher–Fatemi

(15)

functional, for which stability of piecewise constant functions on rectangles has been recently shown in [14] and [13]. We will investigate this issue further in a subsequent paper.

4.2. Application of the Properties

In this section, we propose a trivial way to approach the solution of the 1D Chan–Vese problem using properties (a) and (b) of the minimizer. We will also comment on the pros of this trivial algorithm in front of those based on a Gradient Descent (GD) scheme. We remark that those algorithms are applied in an 1D version of alternating scheme proposed by Chan and Vese in [7]. Hereinafter, we will assume that the boundary of each level of the datum f set has a finite number of points.

We start with the general case. In this case, the idea is:

(1) Take a discretization of the range, thus defining the working level sets.

(2) In each level set, compute the binary candidate with the least energy with jumps in the boundary of the level set.

(3) Compare between the solutions and choose one with the smallest energy.

Besides, in the case off being a step function, we can further simplify the previous idea thanks to the implementation of the inclusionJu⊆Jf. This reduction is based on trying all the possible combinations of characteristic solutions whose jump set is a subset ofJf.

In Fig.3, we sketch how to perform Step 2 in the general algorithm for a fixed level set. First, we obtain all possible jump points for the possible min- imizeru, (ai, i∈ {1, ..., m}). Then, we know that the candidate to minimizer takes the form

u=χj∈I[aj,aj+1] where I ⊆ {0, ..., m−1}.

Computing all the possibilities, we keep the candidate with the least energy among them. We compare its energy with that of the candidate obtained from a previous bigger level set and the procedure is repeated until we reach the lowest level set in the discretization.

To show the suitability of this trivial approach in some situations, we present the following example:

Example. Suppose we segment by the 1D Chan–Vese model a signal whose shape is similar to the one of the Weierstrass function. This kind of signals has the property of exhibiting abrupt variations of its slope on the whole domain, which causes problems for GD-based algorithms. This intuitive idea can be seen in Fig. 4, where we compute an approximation to the minimizer using two different approaches: in one of them, we use the alternating Chan–Vese scheme with a GD-based method (ADAGRAD algorithm, see [11]); while on the other one, we use the trivial scheme explained above.

We note how the GD-based approach suffers from the variations of the signal, thus affecting to the performance of the alternating Chan–Vese scheme. In contrast, the trivial approach, based on properties (a) and (b), provides an adequate minimizer approximation. Moreover, we note that even

(16)

Figure 3. Given the level set (illustrated by the dashed blue line), the candidates take a constant (0 or 1) value between each couple of vertical lines

Figure 4. Comparison of different approaches in the segmen- tation of a Weierstrass type function by 1D Chan–Vese (orig- inal signal in black; in colors the result of the segmentation).

Top: GD-based approach. Bottom: Trivial approach. Left:

Result in [0,1].Right: Result zoomed in [0.1,0.23]

if we chose a particular case of an algorithm based on GD, this type of behaviour is a trend in any of these algorithms. Therefore, the use of the

(17)

scheme presented in this paper is beneficial in situations where the applica- tion of GD (or variants) gives a wrong segmentation of the signal, as shown in the figure above.

Funding Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature.

Open Access. This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party mate- rial in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permis- sion directly from the copyright holder. To view a copy of this licence, visithttp://

creativecommons.org/licenses/by/4.0/.

Publisher’s Note Springer Nature remains neutral with regard to jurisdic- tional claims in published maps and institutional affiliations.

Appendix A

In this Appendix, we show that the functional Fε always has a minimizer regardless of the dimension of the domain. Note that, for ε 41λ, in the 1–dimensional case, according to Remark 3, existence of minimizers follows directly from existence of minimizers to Chan–Vese’s functional. Here, we give a direct proof for anyε >0, which, in turn, provides an alternative proof of existence of solutions to (1.1). Existence of minimizers will be shown through the study of the following auxiliary energy:Gε: (L2(0,1))3[0,∞],

Gε(u, v1, v2,) :=Fε(u, v1, v2) +

Ω

I[0,1](v1) +I[0,1](v2) dx .

Existence of minimizers to functionalGε is guaranteed by the Direct Method in the Calculus of Variations, since the functional is easily seen to be lower semicontinuous inL2(Ω) and coercive. Now, we relate both functionals Fε andGε in the following result:

Lemma A.1. Let (u, v1, v2)

L2(Ω)3

. Then

Fε(u, T(v1), T(v2))≤Fε(u, v1, v2), (A.1) whereT is the truncation function in[0,1]; i.e., T(t) := (t−1)+−t. Proof. First, note that we can suppose thatu(Ω)∈[0,1] a.e. (otherwise, both terms in the inequality are equal to +∞). Now, we observe that the following inequality is easily seen to be true (sincef(Ω)[0,1]):

(T(vi))−f)2(vi−f)2, ∀i∈ {1,2}.

(18)

In consequence

Ω

u(T(v1)−f)2+ (1−u) (T(v2)−f)2

dx

Ω

u(v1−f)2+ (1−u) (v2−f)2

dx . (A.2)

Moreover, applying the Chain Rule in the composition of aBV function and a Lipschitz function ([2, Theorem 101]), we have

|D(T(vi))|(Ω)≤ |Dvi|(Ω), ∀i∈ {1,2}. (A.3) Therefore, by (A.2) and (A.3), we conclude (A.1).

Proposition A.2. For any ε > 0, the functional Fε has a minimizer (u, v1, v2)∈BV(Ω)3.

Proof. The proof follows directly from LemmaA.1, since we obtain that (u, v1, v2) is a minimizer ofFε←→ it is a minimizer ofGε. Therefore, by the existence of minimizers toGε, we can conclude that Fε admits (at least) one minimizer [which moreover belongs to (BV(Ω))3].

We finish this Appendix with the proof of the

Claim. Let h : R R be a Lipschitz non decreasing function. Then, the following equality holds:

v, h(u)=|Dh(u)|(Ω), ∀v∈∂Φ(u).

Proof. Since this Claim is stated in the multidimensional case, we need to recall (see [3]) thatv∈∂Φ(u) if, and only if, there exists a vector fieldzwith

||z||L(Ω)1, divz∈L2(Ω), such thatv=−divz, [z, νΩ] = 0 and v, u=|Du|(Ω) =

Ω

d(z, Du) =

Ω

θ(z, Du)d|Du|,

with (z, Du) being the Radon measure defined by (see [5] for precise defini- tions and results here stated)

(z, Du)(ϕ) =

Ω

uϕdivzdx

Ω

uz· ∇ϕdx , forϕ∈ D(Ω), θ(z, Du) being the Radon– Nikodym derivative of (z, Du) over |Du| and [z, νΩ] being the weak normal trace of z on the boundary. Note that this implies, in particular, that

θ(z, Du) = 1, |Du| −a.e. (A.4) Since h is Lipschitz, by Chain’s rule, we have that h(u) BV(Ω).

Suppose now that h C1(R) and h is increasing. By [5, Proposition 2.8], we have that θ(z, Dh(u)) = θ(z, Du), |Du|-a.e. Observe that in this case, the measure |Dh(u)| is absolutely continuous with respect to|Du|and vice

(19)

versa. Then, a property holds|Du|-a.e. iff it holds|Dh(u)|a.e. Therefore, by integration by parts (see [5]), we obtain

v, h(u) =

Ω

h(u)divzdx=

Ω

d(z, Dh(u))

=

Ω

θ(z, Dh(u))d|Dh(u)|=

Ω

θ(z, Du)d|Dh(u)|

(A.4)

= |Dh(u)|(Ω). (A.5)

In the general case, we approximatehby a sequence ofC1increasing functions hn(t) :=h ρ1

n(t) +nt, 0≤ρ1

n being a symmetric mollifier. Therefore, it is easy to check that hn(u) strictly converges toh(u) and we finish the proof

using (A.5).

References

[1] Alter, F., Caselles, V., Chambolle, A.: A characterization of convex calibrable sets inRN. Math. Ann.332, 329–366 (2005)

[2] Ambrosio, L., Fusco, N., Pallara, D.: Functions of bounded variation and free discontinuity problems. Oxford Mathematical Monographs (2000)

[3] Andreu, F., Ballester, C., Caselles, V., Maz´on, J.M.: Minimizing total variation flow. Differ. Integral Equ.14(3), 321–360 (2001)

[4] Andreu, F., Caselles, V., Maz´on, J.M.: Parabolic Quasilinear Equations Minimizing Linear Growth Functionals, Progress in Mathematics, vol. 223.

Birkh¨auser Verlag, Basel (2004)

[5] Anzellotti, G.: Pairings between measures and bounded functionsand com- pensated compactness. Annali di Matematica Pura et Applicata135, 293–318 (1983)

[6] Brezis, H.: Op´erateurs maximaux monotones et semigroupes de contractions dans les espace de Hilbert. North-Holland Publishing Company (1973) [7] Chan, T., Vese, L.: Active contours without edges. IEEE . Image Process.10(2),

130–141 (2001)

[8] Chan, T., Vese, L.: A Multiphase Levet Set Framework for Image Segmentation Using the Mumford and Shah Model International Journal of Computer Vision 50, 271–293 (2002)

[9] Chan, T., Esedoglu, S., Nikolova, M.: Algorithms for finding global minimizers of image segmentation and denoising models. SIAM J. Appl. Math. 66(5), 1632–1648 (2006)

[10] Crasta, G., De Cicco, V.: Anzellotti’s pairing theory and the Gauss–Green theorem. Adv. Math.343, 935–970 (2019)

[11] Duchi, J., Hazan, E., Singer, Y.: Adaptive subgradient methods for online learn- ing and stochastic optimization. J. Mach. Learn. Res.12, 2121–2159 (2011) [12] Evans, L.C., Gariepy, R.F.: Measure Theory and Fine Properties of Functions.

CRC Press, Boca Raton (1992)

(20)

[13] Kirisits, C., Scherzer, O. C.,Setterqvist, E.: Preservation of piecewise constancy under TV regularization with rectilinear anisotropy. In: Scale Space and Vari- ational Methods in Computer Vision , Lecture Notes in Computer Science vol.

11603, Springer , pp 510–521 (2019)

[14] Lasica, M., Moll, S., Mucha, P.: Total variation denoising in l1 anisotropy.

SIAM J. Imaging Sci.10(4), 1691–1723 (2017)

[15] Mahmoodi, S., Sharif, B.S.: Signal Segmentation and denoising algorithm based on energy optimisation. Signal Process.85(6), 1845–1851 (2005)

[16] Mahmoodi, S., Sharif, B.S.: A nonlinear variational method for signal segmen- tation and reconstruction using level set algorithm. Signal Process. 86(11), 3496–3504 (2006)

[17] Mumford, D., Shah, J.: Optimal approximation by piecewise smoothfunctions and associated variational problems. Commum. Pure Appl. Math.42(5), 577–

685 (1989)

[18] Osher, S., Sethian, J.A.: Fronts propagating with curvature-dependent speed:

algorithms based on Hamilton–Jacobi formulation. J. Comput. Phys. 79(1), 12–49 (1988)

[19] Shirakawa, K., Kimura, M.: Stability analysis for Allen–Cahn type equation associated with the total variation energy. Nonlineal Anal. Theory Methods Appl.60(2), 257–282 (2005)

Salvador Moll and Vicent Pallard´o Departament d’An`alisi Matem`atica Universitat de Val`encia

C/ Dr. Moliner, 50 46100 Burjassot Spain

e-mail:j.salvador.moll@uv.es

Vicent Pallard´o

e-mail:vicentpallardojulia@gmail.com

Received: May 13, 2021.

Revised: August 29, 2021.

Accepted: April 5, 2022.

Referenzen

ÄHNLICHE DOKUMENTE

When estimating clinical and cost effectiveness, the reference case specifies the methods considered by NICE to be the most appropriate for the Appraisal Committee's purpose

in a sufBciently strong magnetic field — where the spin- density waves have a gap — or at half-filling — where the Hubbard model is insulating and the charge excitations are massive

In der Beantwortung dieser Fragen kann sicherlich festgehalten werden, dass – nach der Phase der (Wieder-)Entdeckung der qualitativen Forschung mit Fokus auf Methodenentwicklungen

Precipitation and evaporation over the Baltic Sea are calculated for a one-year period from September 1998 to August 1999 by four different tools, the two atmospheric regional

The domain terms extracted from ritual research literature are used as a basis for a common vocabulary and thus help the creation of ritual specific frames.. We applied the tf*idf, χ

Energy plays only a minor role in orthodox theories of economic growth, because standard economic equilibrium conditions say that the output elasticity of a production factor,

To test the behavior of both the scenario and nodal versions of the augmented Lagrangian decomposition algorithm on an actual numerical example, we consider an eight

A general decomposition framework for large convex optimization problems based on augmented Lagrangians is described.. The approach is then applied to multistage