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

iptk::LaplacianFilter Class Reference

#include <laplacianFilter.h>

Inheritance diagram for iptk::LaplacianFilter:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

A class to perform mask based filtering operation using a rectangular mask.

It is inherited from iptk::MaskFilter. The user can vary the size (as in width and height) of the mask using the setParams function.


Public Member Functions

 LaplacianFilter (void)
 Default constructor.

 LaplacianFilter (const iptk::Image &im)
 Image registration Constructor.

 LaplacianFilter (const LaplacianFilter &mf)
 Copy constructor.

virtual ~LaplacianFilter ()
 Do nothing destructor.

virtual void setParams (double params[])
 Sets the kind of the mask to be used.


Constructor & Destructor Documentation

iptk::LaplacianFilter::LaplacianFilter void   ) 
 

Default constructor.

Initialises the private member image to a null image. You will have to follow the initialisation by a defualt constructor by a call to the inherited setImage function.

iptk::LaplacianFilter::LaplacianFilter const iptk::Image im  ) 
 

Image registration Constructor.

Initialises the member image with the parameter im and hence registers it as the image.

iptk::LaplacianFilter::LaplacianFilter const LaplacianFilter mf  ) 
 

Copy constructor.

The image data is shared between the passed object(i.e the parameter to the copy constructor) and the new object.

virtual iptk::LaplacianFilter::~LaplacianFilter  )  [virtual]
 

Do nothing destructor.

Destructor does nothing at all as the default destructor would have been sufficient.


Member Function Documentation

virtual void iptk::LaplacianFilter::setParams double  params[]  )  [virtual]
 

Sets the kind of the mask to be used.

The argument params should be a one element array containing the information on wether a 4-connected laplacian or an 8-connected laplacian has to be used. A value of 4 for the element indicates a 4-connected laplacian and a value of 8 indicates an 8-connected laplacian.

Reimplemented from iptk::IP_Function.


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