#include <ridge.h>
Inheritance diagram for iptk::Ridge:
A class which extracts ridges in intensity profiles of gray-scale images.
Public Member Functions | |
Ridge (void) | |
Default Constructor. An object created using the default constructor should set the image by using the setImage member function. | |
Ridge (const iptk::Image &im) | |
Image registering constructor. The image is automatically registered at the construction stage. | |
Ridge (const Ridge &r) | |
Copy constructor. This constructor is only a reference copier. | |
virtual | ~Ridge () |
Destructor. Does nothing. | |
virtual void | setParams (double params[]) |
Sets the parameters required for proper function of the ridge extraction process. The parameter passed should be an array of elements of type double . | |
virtual void | process (void) |
The function which does the extraction operation. The processing will be meaningfull only after a valid iptk::Image is registered with an object of this class, and after valid parameters are set using the setParams member function. | |
virtual iptk::Image | getResult (void) |
Returns the image containing the extracted ridges. Returns a meaning result only after a call to the process function. |
|
Copy constructor. The new object and the old object share the same data space in memory. |
|
Sets the parameters required for proper function of the ridge extraction process.
The first element of the array should contain a threshold parameter in the range [0, 1]. Say this threshold value is Reimplemented from iptk::IP_Function. |