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

GShockFilter Class Reference

#include <GShockFilter.hpp>

Inheritance diagram for GShockFilter:

Inheritance graph
[legend]
Collaboration diagram for GShockFilter:

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

 GShockFilter (AbsRImageFlow *ashock, int n=30, double ralpha=0.05)
virtual ~GShockFilter ()
virtual void setLimiter (AbsLimiter *alimiter=0)
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 operations (RImage &result)
virtual void operations (AnImage &mask, RImage &result)

Protected Attributes

RImageI0
RImageI
int niterations
double alpha
AbsRImageFlowshock


Member Function Documentation

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