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

RMinMaxBinaryFlow Class Reference

#include <RMinMaxBinaryFlow.hpp>

Inheritance diagram for RMinMaxBinaryFlow:

Inheritance graph
[legend]
Collaboration diagram for RMinMaxBinaryFlow:

Collaboration graph
[legend]
List of all members.

Detailed Description

Min/Max Flow restoration filter.

Author:
Bernard De Cuyper
Version:
0.05
Date:
10/06/2002
 
Purpose:        Speckle noise denoiser

Paper:          "Level Set methods for curvature flow, 
                        Image enhancement and shape recovery in medical imaging.", 
                        R. Malladi & J.A. Sethian, proceeding berlin 1995 , UCLA. 
                

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


Public Methods

 RMinMaxBinaryFlow (int n, double ralpha, double athreshold=0.0, int stencil=0)
virtual ~RMinMaxBinaryFlow ()
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 double average (RImage &im, int x, int y)
virtual double operation (RImage &image, int x, int y)
virtual void operations (RImage &result, RImage &image)
virtual void operations (AnImage &mask, RImage &result, RImage &image)

Protected Attributes

int niterations
double alpha
double threshold
int widthStencil


Member Function Documentation

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