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

CGradientOp Class Reference

#include <CGradientOp.hpp>

Inheritance diagram for CGradientOp:

Inheritance graph
[legend]
Collaboration diagram for CGradientOp:

Collaboration graph
[legend]
List of all members.

Detailed Description

Float Gradient.

Direction of the gradient Xdir= Ix Ydir= Iy Norme2= sqrt( Ix*Ix + Iy*Iy )


Public Methods

 CGradientOp (Direction dir=Norme2)
virtual ~CGradientOp ()
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)

Private Attributes

Direction direction


Member Function Documentation

CImage * CGradientOp::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 * CGradientOp::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