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

iptk::ImExtrema Class Reference

#include <imextrema.h>

Inheritance diagram for iptk::ImExtrema:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Class to extract local extrema in the image.

The extrema can either be accessed as a List of points in the image where they occur or as an Image with the extrema marked with single pixel dots of intensity value 255. The image registered with this class stays un-modified during and after the extraction.


Public Member Functions

 ImExtrema (void)
 Default constructor.

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

 ImExtrema (const ImExtrema &ip)
 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 ~ImExtrema ()
 Do nothing destructor.

virtual void process (void)
 The function which does the actual extraction of the extrema.

iptk::Image getMaxImage (void)
 Returns the spotted maxima image.

iptk::Image getMinImage (void)
 Returns the spotted minima image.

tutk::List< gutk::PointgetExtrema (void)
 Returns a List of extremum pixels.

tutk::List< gutk::PointgetMaxima (void)
 Returns a List of maximum pixels.

tutk::List< gutk::PointgetMinima (void)
 Returns a List of minimum pixels.


Constructor & Destructor Documentation

iptk::ImExtrema::ImExtrema void   ) 
 

Default constructor.

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

iptk::ImExtrema::ImExtrema const iptk::Image im  ) 
 

Image registering constructor.

The image is autmatically registered at the construction stage.

virtual iptk::ImExtrema::~ImExtrema  )  [virtual]
 

Do nothing destructor.

Destructor does nothing at all as the default destructor would have been sufficient.


Member Function Documentation

tutk::List< gutk::Point > iptk::ImExtrema::getExtrema void   ) 
 

Returns a List of extremum pixels.

For a valid result, this function should be called only after a call to the process member function.

tutk::List< gutk::Point > iptk::ImExtrema::getMaxima void   ) 
 

Returns a List of maximum pixels.

For a valid result, this function should be called only after a call to the process member function.

iptk::Image iptk::ImExtrema::getMaxImage void   ) 
 

Returns the spotted maxima image.

For a valid result, this function should be called only after a call to the process member function.

tutk::List< gutk::Point > iptk::ImExtrema::getMinima void   ) 
 

Returns a List of minimum pixels.

For a valid result, this function should be called only after a call to the process member function.

iptk::Image iptk::ImExtrema::getMinImage void   ) 
 

Returns the spotted minima image.

For a valid result, this function should be called only after a call to the process member function.

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

The function which does the actual extraction of the extrema.

The extrema are extracted only at the call to this function.

Implements iptk::NeighbourhoodStatisticsFilter.


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