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

iptk::MedianFilter Class Reference

#include <medianFilter.h>

Inheritance diagram for iptk::MedianFilter:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Class to perform median filtering.

An image has to be registered with an object of class MedianFilter before any filtering is done. The filtering is done out of place. i.e, the registered image is not modified after the filtering process.


Public Member Functions

 MedianFilter (void)
 Default Constructor.

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

 MedianFilter (const MedianFilter &mf)
 Though this constructor does not look like a reference copier, the image data is shared between the passed object(i.e the parameter to the copy constructor) and the new object.

virtual void process (void)
 The actual filtering function.


Constructor & Destructor Documentation

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

Image registration Constructor.

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


Member Function Documentation

virtual void iptk::MedianFilter::process void   )  [virtual]
 

The actual filtering function.

If the mask size has been previously set, then it processes the image. Else, does nothing. A repeated call to this function would mean succesive processing of the registered image in place.

Implements iptk::NeighbourhoodStatisticsFilter.


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