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

BeltramiFilter Class Reference

#include <BeltramiFilter.hpp>

Inheritance diagram for BeltramiFilter:

Inheritance graph
[legend]
Collaboration diagram for BeltramiFilter:

Collaboration graph
[legend]
List of all members.

Detailed Description

Beltrami restoration filter.

Author:
Bernard De Cuyper
Version:
0.05
Date:
10/06/2002
 
Purpose:        Beltrami restoration produce smooth images.

Paper:          "Image processing via beltrami operator.", 
                        Ron Kimmel, R. Malladi & all, report 1998 , UCLA/Technion.
                

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


Public Methods

 BeltramiFilter (int n=100, double ralpha=0.2)
 constructor

virtual ~BeltramiFilter ()
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 operations (RImage &result)
 full one step image operation

virtual void operations (AnImage &mask, RImage &result)
 full one step image operation in a selected mask


Protected Attributes

RImageI0
RImageI
double lambda
int niterations
double alpha
BeltramiFlow beltrami


Constructor & Destructor Documentation

BeltramiFilter::BeltramiFilter int    n = 100,
double    ralpha = 0.2
 

constructor

Parameters:
n  is the number of iteration usually between 20 and 200
ralpha  is the time step > 0 and which must be < 0.25(to avoid intabilities)


Member Function Documentation

RImage * BeltramiFilter::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.

Reimplemented in TVBeltramiFilter.

void BeltramiFilter::operations AnImage   mask,
RImage   result
[protected, virtual]
 

full one step image operation in a selected mask

Parameters:
mask  is a AnImage mask
result  is a RImage&

Reimplemented in GeodesicBeltramiFilter, and TVBeltramiFilter.

void BeltramiFilter::operations RImage   result [protected, virtual]
 

full one step image operation

Parameters:
result  is a RImage&

Reimplemented in GeodesicBeltramiFilter, and TVBeltramiFilter.

RImage * BeltramiFilter::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.

Reimplemented in TVBeltramiFilter.


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