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

iptk::Ridge Class Reference

#include <ridge.h>

Inheritance diagram for iptk::Ridge:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Ridge Finder.


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.


Constructor & Destructor Documentation

iptk::Ridge::Ridge const Ridge r  ) 
 

Copy constructor.
This constructor is only a reference copier.

The new object and the old object share the same data space in memory.


Member Function Documentation

virtual void iptk::Ridge::setParams double  params[]  )  [virtual]
 

Sets the parameters required for proper function of the ridge extraction process.
The parameter passed should be an array of elements of type double.

The first element of the array should contain a threshold parameter in the range [0, 1]. Say this threshold value is t. Then the extracted ridges would be those occuring at locations where the gradient strength is greater than or equal to t times the maximum gradient value in the image.

Reimplemented from 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