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

GammaOp Class Reference

#include <GammaOp.hpp>

Inheritance diagram for GammaOp:

Inheritance graph
[legend]
Collaboration diagram for GammaOp:

Collaboration graph
[legend]
List of all members.

Detailed Description

Gamma Filter.

Author:
Bernard De Cuyper
Version:
0.05
Date:
26/08/2002
 
Purpose:        make dark/light details visible in the central range.
            dynamic range modifier
                

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


Public Methods

 GammaOp (double agamma=1.0)
virtual ~GammaOp ()
void setGamma (double agamma=1.0)
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)

Private Attributes

double gamma


Member Function Documentation

AnImage * GammaOp::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,

Implements AnImageOp.

AnImage * GammaOp::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