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

Local_Ex2 Class Reference

#include <Local_Ex2.hpp>

Inheritance diagram for Local_Ex2:

Inheritance graph
[legend]
Collaboration diagram for Local_Ex2:

Collaboration graph
[legend]
List of all members.

Detailed Description

Local variance/Standard deviation.

Author:
Bernard De Cuyper
Version:
0.05
Date:
17/04/2004
 
Purpose:        Define a local standard deviation. 

                Can be used to compute local sigma in a window. Useful in many application:
                - front/background
                - noise evaluation
                - meanshift channel space dispersion
                - ...                                           

                

Bug:
last pixel is not selected

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


Public Methods

 Local_Ex2 (int wWindow=3, int hWindow=3, double minVal=0.0, double maxVal=0.0)
virtual ~Local_Ex2 ()
virtual void setMinVal (double minVal=0.0)
virtual void setMaxVal (double maxVal=255.0)
virtual AnImagefilter (AnImage *src, AnImage *dest=0)
 like an image op generate a variant of a distance map or more

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

virtual FImageffilter (AnImage *src, FImage *dest=0, bool dmapFlag=false)
 measures

virtual RImagerfilter (AnImage *src, RImage *dest=0, bool dmapFlag=false)
virtual void report ()

Protected Attributes

int width
int height
int wlocal
int hlocal
double minValue
double maxValue


Member Function Documentation

AnImage * Local_Ex2::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 AnImageOp.


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