#include <voronoiEnvelope.h>
Inheritance diagram for iptk::VoronoiEnvelope:
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. |
|
Default constructor. An object created using the default constructor should set the image by using the setImage member function. |
|
Image registering constructor. The image is autmatically registered at the construction stage. |
|
Destructor. Does nothing. |
|
Returns the envelope. The returned image is different from the image registered in terms of the memory space used. Reimplemented from iptk::IP_Function. |
|
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. |