#include <neighbourhoodStatisticsFilter.h>
Inheritance diagram for iptk::NeighbourhoodStatisticsFilter:
Any class derived from this class has to overide the process
member function to enable object initialisation.
Public Member Functions | |
NeighbourhoodStatisticsFilter (void) | |
Default Constructor. An object created using the default constructor should set the image by using the setImage member function. | |
NeighbourhoodStatisticsFilter (const iptk::Image &im) | |
Image registering constructor. The image is autmatically registered at the construction stage. | |
NeighbourhoodStatisticsFilter (const NeighbourhoodStatisticsFilter &nsf) | |
Copy constructor. The image data is shared between the passed object(i.e the parameter to the copy constructor) and the new object. | |
virtual | ~NeighbourhoodStatisticsFilter () |
Destructor. | |
virtual void | process (void)=0 |
A pure virtual function. | |
virtual void | setParams (double params[]) |
Sets the value of the protected member NEIGHBOURHOOD . | |
virtual iptk::Image | getResult (void) |
Returns the protected member RESULT . | |
Protected Attributes | |
int | NEIGHBOURHOOD |
This variable holds the size of the neighbourhood the function should look into. | |
iptk::Image | RESULT |
This iptk::Image object holds the result of the filtering operation. |
|
Returns the protected member The derived classes need to have to re-implement this function. Reimplemented from iptk::IP_Function. |
|
A pure virtual function.
Implements iptk::IP_Function. Implemented in iptk::ImExtrema, iptk::MeanImage, iptk::MedianFilter, iptk::RangeImage, and iptk::SdImage. |
|
Sets the value of the protected member The derived classes need not have to re-implment this function. Reimplemented from iptk::IP_Function. |
|
This variable holds the size of the neighbourhood the function should look into. For example, if it is initialised by a value of 5, then a neighbourhood of size 5 with 2 pixels on all sides of the current pixel, are used to extract the statistics. Classes derived from this class have to make use of this variable to know the neighbourhood size. |
|
This iptk::Image object holds the result of the filtering operation. Classes derived from this class should store the resulting image in this iptk::Image object. |