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

PeronaFabFilter Class Reference

#include <PeronaFabFilter.hpp>

Inheritance diagram for PeronaFabFilter:

Inheritance graph
[legend]
Collaboration diagram for PeronaFabFilter:

Collaboration graph
[legend]
List of all members.

Detailed Description

Forward/backward Perona restoration filter.

Author:
Bernard De Cuyper
Version:
0.05
Date:
9/10/2003
 
Purpose:        Perona 1990 restoration enhanced with Forward/backward diffusion

                "Forward and Backward Diffusion Processes for Adaptive Image Enhancement and Denoising.",
                        Guy Gilboa, Nir Sochen and Yehoshua Y. Zeevi, IEEE Trans. on Image Processing, vol ?, no ? 2002
                

@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, 2003, Eggs & Pictures. MIT/Open BSD copyright model.


Public Methods

 PeronaFabFilter (int n=16, double dt=0.1, int nf=4, int nb=2, double gSigma=3.0, double rkf=0.1, double rkb=6.0, double rw=2.0)
virtual ~PeronaFabFilter ()
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 double g (int i, int j, double s)
virtual void precompute ()
virtual void precompute (AnImage &mask)
virtual double divergentJ (int x, int y)
virtual void operations (RImage &result)
virtual void operations (AnImage &mask, RImage &result)

Protected Attributes

RImageI0
RImageI
double gsigma
RImagegradI0
int nf
double kf
int nb
double alpha
double kb
double wb
int niterations
double tau
RImagej1
RImagej2


Member Function Documentation

RImage * PeronaFabFilter::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 * PeronaFabFilter::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