#include <dilate.h>
Inheritance diagram for iptk::Dilate:
A binary image is dilated 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 | |
Dilate (void) | |
Default constructor. | |
Dilate (const iptk::Image &im) | |
Image registering constructor. | |
Dilate (const Dilate &d) | |
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 | ~Dilate () |
Do nothing destructor. | |
virtual void | process (void) |
The function which does the actual dilation 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 dilation 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 dilation operation. A new image with the dilated result is produced. This resulting image can be accessed by a call to the getResult member function. Implements iptk::MorphologicalOperationUsingStrel. |