|
golib
0.5
|
TV-regularised L1-norm approximation of an image after [1]. More...
#include <godenoise.h>
Public Member Functions | |
| TVL1 (goAutoPtr< goSignal3DBase< void > > f, goDouble lambda) | |
| void | setLambda (goDouble l) |
| Set weight lambda for the data term. More... | |
| goDouble | getLambda () const |
| Get weight lambda for the data term. More... | |
| void | setAutoTimeStep (bool t) |
| Set if the time step should be determined automatically. More... | |
| goAutoPtr< goSignal3DBase< void > > | getU () |
| Get the current regularised image u. More... | |
| bool | evolve (goDouble dt) |
| Do one step of evolution. More... | |
Protected Member Functions | |
| TVL1 (const TVL1 &) | |
| TVL1 & | operator= (const TVL1 &) |
TV-regularised L1-norm approximation of an image after [1].
| bool NAMESPACE::TVL1::evolve | ( | goDouble | dt | ) |
Do one step of evolution.
Updates u_n to u_{n+1}.
| dt | Discrete time step. |
| goDouble NAMESPACE::TVL1::getLambda | ( | ) | const |
Get weight lambda for the data term.
| goAutoPtr< goSignal3DBase< void > > NAMESPACE::TVL1::getU | ( | ) |
Get the current regularised image u.
| void NAMESPACE::TVL1::setAutoTimeStep | ( | bool | t | ) |
Set if the time step should be determined automatically.
By default, this is true.
| t | Flag for automatic time step determination. |
| void NAMESPACE::TVL1::setLambda | ( | goDouble | l | ) |
Set weight lambda for the data term.
| l | Weight. |