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

iptk::RegionExtractor Class Reference

#include <regionExtractor.h>

Inheritance diagram for iptk::RegionExtractor:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

An abstract base class for classes which perform a segmentation of an image to extract regions.

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.


Member Function Documentation

tutk::List< gutk::Region* > iptk::RegionExtractor::getRegionList void   ) 
 

Returns a list of regions extracted.

The returned region list is meaningful only after a call to the process member function of the derived class. See the documentation of tutk::List for more information.

iptk::RegionMap iptk::RegionExtractor::getRegionMap void   ) 
 

Returns the iptk::RegionMap of the extarcted regions.

The returned region map is meaningful only after a call to the process member function of the derived class. See the documentation of iptk::RegionMap for more information.

virtual iptk::Image iptk::RegionExtractor::getResult void   )  [virtual]
 

Returns the result of the region extraction operation.

The returned image will be meaningful only after a call to the process member function of the derived class.

Reimplemented from iptk::IP_Function.

virtual void iptk::RegionExtractor::process void   )  [pure virtual]
 

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.


Member Data Documentation

tutk::List< gutk::Region* > iptk::RegionExtractor::REGION_LIST [protected]
 

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.

iptk::RegionMap iptk::RegionExtractor::REGION_MAP [protected]
 

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.

iptk::Image iptk::RegionExtractor::RESULT [protected]
 

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.


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