#include <erode.h>
Inheritance diagram for iptk::Erode:
A binary image is eroded and the resulting image is stored in a different location as compared to the original image. This result can be accessed by a call to the getResult member function.
Public Member Functions | |
Erode (void) | |
Default constructor. | |
Erode (const iptk::Image &im) | |
Image registering constructor. | |
Erode (const Erode &e) | |
Copy constructor 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 | ~Erode () |
Do nothing destructor. | |
virtual void | process (void) |
The function which does the actual erosion operation. |
|
Default constructor. An object created using the default constructor should set the image by using the setImage member function. The registered image should be a binary image with intensity values 0 or 255. |
|
Image registering constructor. The image is autmatically registered at the construction stage. The image registered should be a binary image with intesity levels of 0 or 255. The erosion operation is un-defined for other images. |
|
Do nothing destructor. Destructor does nothing at all as the default destructor would have been sufficient. |
|
The function which does the actual erosion operation. A new image with the eroded result is produced. This resulting image can be accessed by a call to the getResult member function. Implements iptk::MorphologicalOperationUsingStrel. |