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

iptk::VoronoiEnvelope Class Reference

#include <voronoiEnvelope.h>

Inheritance diagram for iptk::VoronoiEnvelope:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Class to compute 2d envelope using the nearest extremum value.

The envelope is stored in a different memory location and the image is left intact. The algorithm is two pass. First pass locates all the intensity extrema in the image. Next pass assigns each pixel the value of its nearest extremum. The working of the algorithm assumes a dense occurance of extremum locations.


Public Member Functions

 VoronoiEnvelope (void)
 Default constructor.

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

 VoronoiEnvelope (const VoronoiEnvelope &ve)
 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 ~VoronoiEnvelope ()
 Destructor.

virtual void process (void)
 The actual function which does the processing(or envelope extraction).

virtual iptk::Image getResult (void)
 Returns the envelope.


Constructor & Destructor Documentation

iptk::VoronoiEnvelope::VoronoiEnvelope void   ) 
 

Default constructor.

An object created using the default constructor should set the image by using the setImage member function.

iptk::VoronoiEnvelope::VoronoiEnvelope const iptk::Image im  ) 
 

Image registering constructor.

The image is autmatically registered at the construction stage.

virtual iptk::VoronoiEnvelope::~VoronoiEnvelope  )  [virtual]
 

Destructor.

Does nothing.


Member Function Documentation

virtual iptk::Image iptk::VoronoiEnvelope::getResult void   )  [virtual]
 

Returns the envelope.

The returned image is different from the image registered in terms of the memory space used.

Reimplemented from iptk::IP_Function.

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

The actual function which does the processing(or envelope extraction).

The processed image(or the image envelope) can be accessed using the getResult member function.

Implements iptk::IP_Function.


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