#include <medianFilter.h>
Inheritance diagram for iptk::MedianFilter:
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. |
|
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. |
|
Image registration Constructor. Initialises the member image with the parameter im and hence registers im as the image. |
|
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. |