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

iptk::Erode Class Reference

#include <erode.h>

Inheritance diagram for iptk::Erode:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Class to perform a morphological erosion operation.

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.


Constructor & Destructor Documentation

iptk::Erode::Erode void   ) 
 

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.

iptk::Erode::Erode const iptk::Image im  ) 
 

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.

virtual iptk::Erode::~Erode  )  [virtual]
 

Do nothing destructor.

Destructor does nothing at all as the default destructor would have been sufficient.


Member Function Documentation

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

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.


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