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

iptk::Open Class Reference

#include <mopen.h>

Inheritance diagram for iptk::Open:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Class to perform a morphological opening operation on a binary image.

The resulting binary image is different from the original image in terms of the memory space.


Public Member Functions

 Open (void)
 Default constructor.

 Open (const iptk::Image &im)
 Image registering constructor.

 Open (const Open &c)
 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.

 ~Open ()
 Do nothing destructor.

virtual void process (void)
 The function which does the actual opening operation.


Constructor & Destructor Documentation

iptk::Open::Open 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::Open::Open 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 open operation is un-defined for other images.

iptk::Open::~Open  ) 
 

Do nothing destructor.

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


Member Function Documentation

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

The function which does the actual opening operation.

A new image with the 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