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

CoherenceEnhancementDiff55 Class Reference

#include <CoherenceEnhancementDiff55.hpp>

Inheritance diagram for CoherenceEnhancementDiff55:

Inheritance graph
[legend]
Collaboration diagram for CoherenceEnhancementDiff55:

Collaboration graph
[legend]
List of all members.

Detailed Description

Coherence Enhancement Diffusion restoration filter.

Author:
Bernard De Cuyper
Version:
0.05
Date:
10/06/2002, 8/10/2003
 
Purpose:        5 stencil Coherence Enhancement Diffusion restoration produce smooth images.
                        Should get more details.

Paper:          "A Scheme for Coherence-Enhancing Diffusion Filtering with Optimize Rotation Invariance.", 
                        Joachim Weickert & H. Scharr, Computer Vision 2000.
                        "Flame Front analysis in turbulent combustion." Hanno Scharr, & al, University of Heidelberg,2000.
                

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


Public Methods

 CoherenceEnhancementDiff55 (int n=100, double dt=0.2, double sig=0.5, double arho=5.0, double ac1=0.001, double ac2=1.0)
virtual ~CoherenceEnhancementDiff55 ()
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

virtual void precompute ()
virtual void operations (RImage &result)
virtual void operations (AnImage &mask, RImage &result)

Protected Attributes

RImageI0
RImageI
int niterations
double tau
AbsRImageFilteropX
AbsRImageFilteropY
AbsRImageFilterlargeBlurrer
RImageux
RImageuy
double a
double b
double c
double sigma
double c1
double c2
double lambda1
double lambda2
double cosAlpha
double sinAlpha
double rho
RImagejtmp
RImagej11
RImagej12
RImagej22
double mu1
double mu2
RImagej1
RImagej2
RImagej1x
RImagej2y


Member Function Documentation

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