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

CShockFilter Class Reference

#include <CShockFilter.hpp>

Inheritance diagram for CShockFilter:

Inheritance graph
[legend]
Collaboration diagram for CShockFilter:

Collaboration graph
[legend]
List of all members.

Detailed Description

General shock filter.

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

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

                "Regularized Shock Filters and Complex Diffusion",
                Guy Gilboa, Zeevi, Sochen, ECCV 2002, Israel Institut of Technology.

                "Experiments in Minimizing Numerical Diffusion across a Material Boundary",
                Cristian Aalburg, Report 1996, University of Michigan.
                

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


Public Methods

 CShockFilter (AbsCImageFlow *shock, int n=30, double ralpha=0.05)
virtual ~CShockFilter ()
virtual void setLimiter (AbsLimiter *alimiter=0)
virtual CImagefilter (CImage *src, CImage *dest=0)
 Local full image filtering.

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

virtual void report (FILE *file)

Protected Methods

virtual void operations (CImage &result)
virtual void operations (AnImage &mask, CImage &result)

Protected Attributes

CImageI0
CImageI
int niterations
double alpha
AbsCImageFlowshock


Member Function Documentation

CImage * CShockFilter::filter CImage   src,
CImage   dest = 0
[virtual]
 

Local full image filtering.

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

Implements AbsCImageFilter.

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

Local filtering in a mask area.

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

Reimplemented from AbsCImageFilter.


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