Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members

iptk::Mask Class Reference

#include <mask.h>

Inheritance diagram for iptk::Mask:

Inheritance graph
[legend]
Collaboration diagram for iptk::Mask:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class to create masks of different kind.

The masks generated will have a rectangular shape of size specified by the user. Mask is derived from Matrix.


Public Member Functions

 Mask (void)
 Default Constructor.

 Mask (int w, int h)
 Constructs a mask of width w and hieght h.

 Mask (int w, int h, MaskType mt, double sd=1)
 Constructs a mask of width w and hieght h.

 Mask (gutk::Size s, MaskType mt, double sd=1)
 Constructs a mask of size s.

virtual ~Mask ()
 Destructor.


Constructor & Destructor Documentation

iptk::Mask::Mask void   ) 
 

Default Constructor.

Does nothing but initialise a null Mask object.

iptk::Mask::Mask int  w,
int  h
 

Constructs a mask of width w and hieght h.

The contents 0f the mask are not initialised. The user of this class should do the proper initialisation.

iptk::Mask::Mask int  w,
int  h,
MaskType  mt,
double  sd = 1
 

Constructs a mask of width w and hieght h.

The type of the mask is passed by mt. The parameters mean and sd are used only by those Mask types which require them. Like for example GAUSSIAN type requires them and would use them but a RECTANGULAR type does not require them and hence will not use them.

iptk::Mask::Mask gutk::Size  s,
MaskType  mt,
double  sd = 1
 

Constructs a mask of size s.

The type of the mask is passed by mt. The parameters mean and sd are used only by those Mask types which require them. Like for example GAUSSIAN type requires them and would use them but a RECTANGULAR type does not require them and hence will not use them.

virtual iptk::Mask::~Mask  )  [virtual]
 

Destructor.

Does nothing.


The documentation for this class was generated from the following file:
Generated on Mon Nov 22 11:12:42 2004 for ImprolaLib by doxygen 1.3.7