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

REulerElasticaInpainter Class Reference

#include <REulerElasticaInpainter.hpp>

Inheritance diagram for REulerElasticaInpainter:

Inheritance graph
[legend]
Collaboration diagram for REulerElasticaInpainter:

Collaboration graph
[legend]
List of all members.

Detailed Description

EulerElastica Inpainting.

Author:
Bernard De Cuyper
Version:
0.05
Date:
10/06/2002
 
Purpose:        EulerElastica Inpainting.
                        A combined model inpainting used to fill image gaps, or
                        to scale op the image.

Paper:          "Processing of Flat and non-flat image information on arbitrary
                        manifolds using Partial Differential Equations.", 
                        Marcelo Bertalmio, Thesis March 2001, University of Minnesota.
                

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


Public Methods

 REulerElasticaInpainter (bool optimised=false, double deltaT=1.0, double av=0.2, double bv=0.2, double lambdav=0.0)
virtual ~REulerElasticaInpainter ()
virtual void prepare (RImage *src)
 used to globally maintain subimages avoiding cons

virtual void clear ()
 used to globally destroy subimages avoiding decons

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

void precompute (AnImage *mask)
void computeGradient (int x, int y, int idx, int idy)
void computeCurvature (int x, int y, int idx, int idy)
double getV (int x, int y, int idx, int idy)
double divergentV (int x, int y)
double operation (int x, int y)

Private Attributes

bool optimisation
double a
double b
double dt
RImageI0
RImageI
double lambda
RImagekDu
RImagek
double kDu_x2
double kDu_y2
double k_2
double ux2
double uy2
double gu2Norme
double ux2Norme
double uy2Norme


Member Function Documentation

virtual RImage* REulerElasticaInpainter::filter RImage   src,
RImage   dest = 0
[inline, 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 * REulerElasticaInpainter::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