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

ILargeTopHatOp Class Reference

#include <ILargeTopHatOp.hpp>

Inheritance diagram for ILargeTopHatOp:

Inheritance graph
[legend]
Collaboration diagram for ILargeTopHatOp:

Collaboration graph
[legend]
List of all members.

Detailed Description

TopHat with a Strutured Element.

Author:
Bernard De Cuyper
Version:
0.05
Date:
17/07/2002
 
Purpose:        TopHat with a Structured Element.
                        Black TopHat uses openings to enhance dark spots under varying light
                        White TopHat uses closings to enhance light spots under varying light
                

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


Public Methods

 ILargeTopHatOp (int iter=1, bool aBlackHatTop=true)
 ILargeTopHatOp (StructuredElement *aStructuredElement, int iter=5, bool aBlackHatTop=true)
virtual ~ILargeTopHatOp ()
virtual void setMask (bool flag)
virtual void setThreshold (int th1, int th2)
virtual int getLowThreshold ()
virtual int getUpperThreshold ()
virtual void setBackground (bool value)
virtual void setCrackArea (bool value)
virtual void setIterations (int iter)
virtual void setStructuredElement (StructuredElement *aStructuredElement)
virtual AnImagefilter (AnImage *src, AnImage *dest=0)
 Local full image filtering.

virtual void report (FILE *file)

Protected Methods

virtual int operation (AnImage *src, int channel, int i, int j)

Protected Attributes

bool blackHatTop
bool maskFlag
int threshold1
int threshold2
bool background
bool crackArea
ILargeMorphologicalOpop


Member Function Documentation

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

Reimplemented from ILargeMorphologicalOp.


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