#include <imextrema.h>
Inheritance diagram for iptk::ImExtrema:
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::Point > | getExtrema (void) |
Returns a List of extremum pixels. | |
tutk::List< gutk::Point > | getMaxima (void) |
Returns a List of maximum pixels. | |
tutk::List< gutk::Point > | getMinima (void) |
Returns a List of minimum pixels. |
|
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. |
|
Do nothing destructor. Destructor does nothing at all as the default destructor would have been sufficient. |
|
Returns a List of extremum pixels. For a valid result, this function should be called only after a call to the process member function. |
|
Returns a List of maximum pixels. For a valid result, this function should be called only after a call to the process member function. |
|
Returns the spotted maxima image. For a valid result, this function should be called only after a call to the process member function. |
|
Returns a List of minimum pixels. For a valid result, this function should be called only after a call to the process member function. |
|
Returns the spotted minima image. For a valid result, this function should be called only after a call to the process member function. |
|
The function which does the actual extraction of the extrema. The extrema are extracted only at the call to this function. Implements iptk::NeighbourhoodStatisticsFilter. |