Total Variation Inpainting using Split Bregman
|
u-subproblem Gauss-Seidel solvers for denoising and inpainting More...
Go to the source code of this file.
Functions | |
static num | UGaussSeidelConstantLambda (tvregsolver *S) |
Approximately solve the u-subproblem for constant lambda. More... | |
static num | UGaussSeidelVaryingLambda (tvregsolver *S) |
Approximately solve the u-subproblem for varying lambda. More... | |
u-subproblem Gauss-Seidel solvers for denoising and inpainting
Copyright (c) 2010-2012, Pascal Getreuer All rights reserved.
This program is free software: you can use, modify and/or redistribute it under the terms of the simplified BSD License. You should have received a copy of this license along this program. If not, see http://www.opensource.org/licenses/bsd-license.html.
Definition in file usolve_gs_inc.c.
|
static |
Approximately solve the u-subproblem for constant lambda.
S | tvreg solver state |
Performs one Gauss-Seidel iteration on u to improve the solution in the u-subproblem for denoising problems with constant lambda,
where , is the discrete Laplacian of u, and is the discrete divergence of dtilde.
In the interior domain, the Gauss-Seidel update is
|
static |
Approximately solve the u-subproblem for varying lambda.
S | tvreg solver state |
This function is used for problems where there is no deconvolution and spatially-varying lambda, e.g., pure inpainting problems. It is the same as UGaussSeidelConstantLambda() except that lambda is spatially varying.