Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

RgaussJacobiROF Class Reference

#include <RgaussJacobiROF.hpp>

Inheritance diagram for RgaussJacobiROF:

Inheritance graph
[legend]
Collaboration diagram for RgaussJacobiROF:

Collaboration graph
[legend]
List of all members.

Detailed Description

Rudin/Osher/Fatemi TV restoration (Gauss Jacobi iteration).

Author:
Bernard De Cuyper
Version:
0.06
Date:
12/08/2002
 
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 RImagefilter (RImage *src, RImage *dest=0)
 Local full image filtering.

virtual RImageselectedFilter (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

RImageI0
RImageI
double u [5]
double h [5]
double w [5]
double g2 [5]
double lambda0
double epsilon2
int niterations


Member Function Documentation

RImage * RgaussJacobiROF::filter RImage   src,
RImage   dest = 0
[virtual]
 

Local full image filtering.

Parameters:
src  is RImage* is RImage source channel
dest  is RImage* is RImage result/placeholder
Returns :
RImage* as result,

Implements AbsRImageFilter.

RImage * RgaussJacobiROF::selectedFilter AnImage   mask,
RImage   src,
RImage   dest = 0
[virtual]
 

Local filtering in a mask area.

Parameters:
mask  is AnImage* is a ByteImage
src  is RImage* is RImage source channel
dest  is RImage* is RImage result/placeholder
Returns :
RImage* as result,

Reimplemented from AbsRImageFilter.


The documentation for this class was generated from the following files:
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com