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

ICShockOp Class Reference

#include <ICShockOp.hpp>

Inheritance diagram for ICShockOp:

Inheritance graph
[legend]
Collaboration diagram for ICShockOp:

Collaboration graph
[legend]
List of all members.

Detailed Description

shock filter

Author:
Bernard De Cuyper
Version:
0.05
Date:
28/10/2003
 
Purpose:        Use shock enhancement filters

Paper:          "Constrained and unconstrained PDE's for vector image restoration.", 
                        D. Tchumperlé & Rachid Deriche, Inria 2001.
                

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


Public Methods

 ICShockOp (int iter, double anAlpha=0.03, int atype=0, double rlambda=0.2, double atheta=0.001, double ax=1.0, double lambdaTg=1.0, bool colorFlag=false)
virtual ~ICShockOp ()
virtual AnImagefilter (AnImage *src, AnImage *dest=0)
 Local full image filtering.

virtual AnImageselectedFilter (AnImage *mask, AnImage *src, AnImage *dest=0)
 Local filtering in a mask area.

virtual void report (FILE *file)

Protected Methods

virtual AnImagegreyFilter (AnImage *src, AnImage *dest=0)
virtual AnImagegreySelectedFilter (AnImage *mask, AnImage *src, AnImage *dest=0)
virtual C3CImagescolorFilter (C3CImage *src, C3CImage *dest=0)
virtual C3CImagescolorSelectedFilter (AnImage *mask, C3CImage *src, C3CImage *dest=0)
virtual C3CImagefcolorFilter (C3CImage *src, C3CImage *dest=0)
virtual C3CImagefcolorSelectedFilter (AnImage *mask, C3CImage *src, C3CImage *dest=0)

Private Attributes

int type
double alpha
double lambda
double theta
double lambdaT
double a


Member Function Documentation

AnImage * ICShockOp::filter AnImage   src,
AnImage   dest = 0
[virtual]
 

Local full image filtering.

Parameters:
src  is AnImage* is AnImage source channel
dest  is AnImage* is AnImage result/placeholder
Returns :
AnImage* as result,

Reimplemented from ICMultiImageOp.

AnImage * ICShockOp::selectedFilter AnImage   mask,
AnImage   src,
AnImage   dest = 0
[virtual]
 

Local filtering in a mask area.

Parameters:
mask  is AnImage* is a ByteImage
src  is AnImage* is AnImage source channel
dest  is AnImage* is AnImage result/placeholder
Returns :
AnImage* as result,

Reimplemented from ICMultiImageOp.


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