golib  0.5
goSignal::TVL1 Class Reference

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 &)
 
TVL1operator= (const TVL1 &)
 

Detailed Description

TV-regularised L1-norm approximation of an image after [1].

References
[1] Chan, T. F. & Esedoglu, S.: Aspects of Total Variation Regularized $L^1$ Function Approximation. SIAM Journal on Applied Mathematics, 2005, 65, 1817-1837

Member Function Documentation

◆ evolve()

bool NAMESPACE::TVL1::evolve ( goDouble  dt)

Do one step of evolution.

Updates u_n to u_{n+1}.

Parameters
dtDiscrete time step.
Returns
True if successful, false otherwise.

◆ getLambda()

goDouble NAMESPACE::TVL1::getLambda ( ) const

Get weight lambda for the data term.

Returns
Weight of the data term.

◆ getU()

goAutoPtr< goSignal3DBase< void > > NAMESPACE::TVL1::getU ( )

Get the current regularised image u.

Returns
goAutoPtr to the current estimate of the image, u.

◆ setAutoTimeStep()

void NAMESPACE::TVL1::setAutoTimeStep ( bool  t)

Set if the time step should be determined automatically.

By default, this is true.

Parameters
tFlag for automatic time step determination.

◆ setLambda()

void NAMESPACE::TVL1::setLambda ( goDouble  l)

Set weight lambda for the data term.

Parameters
lWeight.

The documentation for this class was generated from the following files: