#include <regionExtractor.h>
Inheritance diagram for iptk::RegionExtractor:
A derived class should ideally make use of the protected data members.
Public Member Functions | |
RegionExtractor (void) | |
Default constructor. | |
RegionExtractor (const Image &im) | |
Image registering constructor. | |
RegionExtractor (const RegionExtractor &re) | |
Copy Constructor. | |
~RegionExtractor () | |
Destructor. | |
virtual void | setParams (double params[]) |
This function has to overidden in the derived class if there any parameters to be set. | |
virtual void | process (void)=0 |
Pure virtual function which should be defined in the derived classes. | |
iptk::RegionMap | getRegionMap (void) |
Returns the iptk::RegionMap of the extarcted regions. | |
tutk::List< gutk::Region * > | getRegionList (void) |
Returns a list of regions extracted. | |
virtual iptk::Image | getResult (void) |
Returns the result of the region extraction operation. | |
Protected Attributes | |
iptk::RegionMap | REGION_MAP |
Protected data member to store the RegionMap of the extracted regions. | |
tutk::List< gutk::Region * > | REGION_LIST |
Protected data member to store the tutk::List of regions extracted. | |
iptk::Image | RESULT |
Protected data member to store the result of the region extraction operation. |
|
Returns a list of regions extracted.
The returned region list is meaningful only after a call to the |
|
Returns the iptk::RegionMap of the extarcted regions.
The returned region map is meaningful only after a call to the |
|
Returns the result of the region extraction operation.
The returned image will be meaningful only after a call to the Reimplemented from iptk::IP_Function. |
|
Pure virtual function which should be defined in the derived classes. This function should ideally do all the processing required to extract the regions. Implements iptk::IP_Function. Implemented in iptk::RainfallingWatershed. |
|
Protected data member to store the tutk::List of regions extracted. As with other protected members, a derived class should ideally use this member to store the extracted regions. |
|
Protected data member to store the RegionMap of the extracted regions. A derive class should ideally make use of this data member in that, it should store the extracted region map in this variable. |
|
Protected data member to store the result of the region extraction operation. It is upto the derived class to store an image of its choice. |