ObjectDetector Class Reference

List of all members.

Detailed Description

Base class for the detector object.

A "detector" is not necessarily a full detection algorithm; it may just be a constraint checker. So this takes in some list of regions with probabilities that there is a face-- to the best knowledge of the previous filter. So initially we'll have every region in the image with probability 1, and will cut that down in each stage based on the detector/constraint set.

Definition at line 50 of file ConstrainedDetector.H.

Public Member Functions

virtual ObjectDetector (std::string operatorName)=0
virtual ~ObjectDetector ()=0
virtual std::vector< ProbabilityRegionfilterRegions (std::vector< ProbabilityRegion > &regions, RoleImage *image)=0
 This function will take in a vector of possible image regions and check for possible target objects.
std::vector< RobotObjects::RobotObject * > * getConsumers ()

Private Attributes

std::string m_operatorName
std::vector< RobotObjects::RobotObject * > m_consumers

Constructor & Destructor Documentation

virtual ObjectDetector ( std::string  operatorName  )  [explicit, pure virtual]

virtual ~ObjectDetector (  )  [pure virtual]

Member Function Documentation

virtual std::vector<ProbabilityRegion> filterRegions ( std::vector< ProbabilityRegion > &  regions,
RoleImage *  image 
) [pure virtual]

This function will take in a vector of possible image regions and check for possible target objects.

Note that a probability of 1 does not mean there is definitely a face there-- it just means that there could be a face in a region, as best as this detector can tell. We don't expect to have a reasonable value until late in the chain when we run real detectors rather than constraints.

std::vector<RobotObjects::RobotObject *>* getConsumers (  )  [inline]

Definition at line 65 of file ConstrainedDetector.H.

References ObjectDetector::m_consumers.

Member Data Documentation

std::string m_operatorName [private]

Definition at line 67 of file ConstrainedDetector.H.

std::vector<RobotObjects::RobotObject *> m_consumers [private]

Definition at line 68 of file ConstrainedDetector.H.

Referenced by ObjectDetector::getConsumers().

The documentation for this class was generated from the following file:
Generated on Thu Feb 1 15:31:55 2007 for WURDE by  doxygen 1.5.1