Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

locator_filter Class Reference

#include <locator.h>

Inheritance diagram for locator_filter:

Filter List of all members.

Public Methods

 locator_filter (string FileName)
 locator_filter ()
virtual ~locator_filter ()
virtual bool filter_frame (FrameClass &frame)
virtual void property_changed ()

Private Attributes

string filename
face_locator_networknet
bool set

Detailed Description

locate faces in a frame


Constructor & Destructor Documentation

locator_filter::locator_filter string    FileName
 

create a new class based off of an existing neural network stored in this file

Parameters:
FileName  the file that has the heural network information stored in it

locator_filter::locator_filter  
 

create a new empty class, needs to have a file set for it though

locator_filter::~locator_filter   [virtual]
 

destructor


Member Function Documentation

bool locator_filter::filter_frame FrameClass   frame [virtual]
 

filter the frame to locate faces in the frame

Parameters:
frame  the frame to look in
Returns:
the frame after finding the faces
Precondition:
any frame nothing special yet
Postcondition:
the frames 'FACES' attribute will be set to a BoxArrayAttribute which will have in it boxes corresponding to where faces were located
Todo:
add in a check for skin color boxes

Implements Filter.

void locator_filter::property_changed   [virtual]
 

this method is called after the member properties has been updated, it informs the filter that properties has changed and those changes should take effect

Reimplemented from Filter.


Member Data Documentation

string locator_filter::filename [private]
 

face_locator_network* locator_filter::net [private]
 

bool locator_filter::set [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 10:42:35 2003 for BioFilter by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002