#include <RgaussJacobiROF.hpp>
Inheritance diagram for RgaussJacobiROF:


Purpose: Test preservation of 2nd order in TV norme restoration.
Paper: "Mathematical models for Local Deterministic Inpaintings.",
page 15 to 23
Tony Chan & Jianhong Shen , Report 1999, UCLA.
Purpose: Second order filter like the Rudin/Osher/Fatemi filter are very
good denoiser. But is some application, to much details are destroyed.
Also, second order filters introduce a staircase effect in images.
(like linear steps). Higher order filters can better maintain
non-linear information and details, this happens at the cost of
maintaining some noise. This is a tradeoff, your choice, or perhaps
we may need a kind of "linearity" indicator to decide what type of local restoration
should be used.
Compute the divergent on a 1/2,1/2 stencil from 1,1 stencil
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
| RgaussJacobiROF (int n, double alambda0=1.0) | |
| virtual | ~RgaussJacobiROF () |
| virtual RImage * | filter (RImage *src, RImage *dest=0) |
| Local full image filtering. | |
| virtual RImage * | selectedFilter (AnImage *mask, RImage *src, RImage *dest=0) |
| Local filtering in a mask area. | |
| virtual void | report (FILE *file) |
Protected Methods | |
| virtual void | computeStencil (RImage *im, int x, int y) |
| virtual double | operation (RImage *im, int x, int y) |
| virtual void | operations (RImage *result) |
| virtual void | operations (AnImage &mask, RImage *result) |
Protected Attributes | |
| RImage * | I0 |
| RImage * | I |
| double | u [5] |
| double | h [5] |
| double | w [5] |
| double | g2 [5] |
| double | lambda0 |
| double | epsilon2 |
| int | niterations |
|
||||||||||||
|
Local full image filtering.
Implements AbsRImageFilter. |
|
||||||||||||||||
|
Local filtering in a mask area.
Reimplemented from AbsRImageFilter. |
![]() |
