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

RMarquinaTVFilter Class Reference

#include <RMarquinaTVFilter.hpp>

Inheritance diagram for RMarquinaTVFilter:

Inheritance graph
[legend]
Collaboration diagram for RMarquinaTVFilter:

Collaboration graph
[legend]
List of all members.

Detailed Description

Marquina TV restoration filter.

Author:
Bernard De Cuyper
Version:
0.05
Date:
10/06/2002
 
Purpose:        Fast explicit TV norme restoration.

Paper:          "Explicit algorithms for a new time dependent model based 
                        on level set motion for nonlinear deblurring an noise removal.", 
                        Marquina & S. Osher , Report 1999, UCLA.
                

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


Public Methods

 RMarquinaTVFilter (int n, double ralpha, double alambda=1.5, double beta=0.05)
virtual ~RMarquinaTVFilter ()
virtual void setMask (int n, int *xp, int *yp)
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 operation (RImage &im, int x, int y)
virtual void operations (RImage &result)
virtual void operations (AnImage &mask, RImage &result)

Protected Attributes

RImageI
RImagev0
RImagewik
double lambda
double beta
int niterations
double alpha
AbsRImageFlowmeanCurvature
AbsRImageFilterlaplacian


Member Function Documentation

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