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

iptk::GaussianFilter Class Reference

#include <gaussianFilter.h>

Inheritance diagram for iptk::GaussianFilter:

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

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

 GaussianFilter (void)
 Default constructor.

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

 GaussianFilter (const GaussianFilter &mf)
 Copy constructor.

virtual ~GaussianFilter ()
 Do nothing destructor.

virtual void setParams (double params[])
 Sets the size of the mask to be used and the standard deviation of the gaussian profile.


Constructor & Destructor Documentation

iptk::GaussianFilter::GaussianFilter 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::GaussianFilter::GaussianFilter const iptk::Image im  ) 
 

Image registration Constructor.

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

iptk::GaussianFilter::GaussianFilter const GaussianFilter 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::GaussianFilter::~GaussianFilter  )  [virtual]
 

Do nothing destructor.

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


Member Function Documentation

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

Sets the size of the mask to be used and the standard deviation of the gaussian profile.

The first element of the parameter params should specify the width of the mask and the second element should specify the height of the mask. The third element should specify the standard deviation of the Gaussian profile.

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