Download Convex optimisation matlab toolbox: user guide
Transcript
6
LTS2 - EPFL
EXAMPLES
2
with x ∈ RM . The reconstructed image is I = f −1 (s).
This problem is solved with DR algorithm. To apply this algorithm, 13 is split into two subfunctions f1 and f2 .
f1 is the TV norm
f1 = kt−1 (x)kT V = kXkT V .
(14)
f2 is the indicator function of the convex set S = {x : kAx − bk 6 } ( i.e. B2-ball of radius centred in b ). It is defined by
(
0, if kAx − bk2 6 (15)
f2 (x) = ic2 (x) =
∞, otherwise.
Note that the proximal operator of f2 is a projection onto the set S.
The solution of the problem is shown on figure 1. See the code "Example_douglas_rachford.m"
for more details.
Figure 1: Inpainting demonstration with Douglas-Rachford. 50 percent of the pixels have been
removed. = 10−1
6.2
Example 2: denoising
Here the goal is to remove a Gaussian noise on the image. Tree assumptions have been made.
The image is not very different from the measurement. It has a small TV-norm and its Haar
wavelet’s decomposition is sparse.
Definition are the same as in example 1 with a difference: b = t(I ∗ + Gn (σ)) with Gn (σ) a
M × M matrix made of σ variance random Gaussian noise.
The problem can be expressed with this equation:
s = min kx − bk2 + τ1 · kXkT V + τ2 · kt(H(X))k1 ,
x
(16)
where H(Image) decompose the image in Haar wavelet and X = t−1 (x). The denoised image is
I = f −1 (s).
As there are three functions in this problem, it’s not possible to apply directly the forwardbackward algorithm which require only two functions. But, this problem can be solve with a
generalized forward-backward algorithm [?].
Two functions are be defined: g1 = τ1 · kXkT V and g2 = τ2 · kH(X)k1 .
Solving (16) is equivalent as searching the solution of the proximal operator on (g1 + g2 )(x).
The function sum_proxG in the toolbox find the solution of the proximal operator of a sum of
function. Thus it is called to solve (16).
The solution is shown on figure 2. For more details see "Example_prox_multi_function.m".
July 2012
11/16