#include <voronoiEnvelopeUsingMaxima.h>
Inheritance diagram for iptk::VoronoiEnvelopeUsingMaxima:
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 maxima in the image. Next pass assigns each pixel the value of its nearest maximum. The algorithm assumes a dense occurance of maximum values.
Public Member Functions | |
VoronoiEnvelopeUsingMaxima (void) | |
Default constructor. | |
VoronoiEnvelopeUsingMaxima (const iptk::Image &im) | |
Image registering constructor. | |
VoronoiEnvelopeUsingMaxima (const VoronoiEnvelopeUsingMaxima &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 | ~VoronoiEnvelopeUsingMaxima () |
Destructor. | |
void | process (void) |
The actual function which does the processing(or envelope extraction). | |
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. |