Rudin-Osher-Fatemi Total Variation Denoising using Split Bregman
|
z-subproblem solvers for restoration with non-Gaussian noise models More...
Go to the source code of this file.
Functions | |
static void | ZSolveL1 (tvregsolver *S) |
Solve the z-subproblem with a Laplace (L1) noise model. More... | |
static void | ZSolveL2 (tvregsolver *S) |
Solve the z-subproblem with a Gaussian (L2) noise model. More... | |
static void | ZSolvePoisson (tvregsolver *S) |
Solve the z-subproblem with a Poisson noise model. More... | |
z-subproblem solvers for restoration with non-Gaussian noise models
This file has routines for solving the z subproblem. These routines are used only when either
Otherwise, the restoration problem is solved with a simpler d,u splitting. The variable tvregsolver::UseZ indicates whether the restoration includes a z subproblem.
The general form of the z subproblem is
where F depends on the noise model and the second term is a penalty to encourage the constraint z = u. The optimal z is the solution of
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 zsolve_inc.c.
|
static |
Solve the z-subproblem with a Laplace (L1) noise model.
S | tvregsolver state |
This routine solves the z-subproblem with Laplace noise model to update z,
The auxiliary variable is also updated according to
Instead of representing directly, we use , which is algebraically equivalent but requires less arithmetic.
|
static |
Solve the z-subproblem with a Gaussian (L2) noise model.
S | tvregsolver state |
Solves the z-subproblem with Gaussian noise model to update z,
The auxiliary variable is also updated according to through ztilde.
|
static |
Solve the z-subproblem with a Poisson noise model.
S | tvregsolver state |
Solves the z-subproblem with Poisson noise model to update z,
The auxiliary variable is also updated according to through ztilde.