Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
drwnObjectList Class Reference

List of objects for the same image (see drwnObject) More...

Inheritance diagram for drwnObjectList:
drwnWriteable drwnTypeable

Public Member Functions

const char * type () const
 returns object type as a string (e.g., Foo::type() { return "Foo"; })
 
bool save (drwnXMLNode &xml) const
 write object to XML node (see also write)
 
bool load (drwnXMLNode &xml)
 read object from XML node (see also read)
 
void sort ()
 sort all objects in the list by their score
 
int removeNonMatching (const string &name)
 remove all objects whose name does not match name
 
int removeMatching (const string &name)
 remove all objects whose name matches name
 
int nonMaximalSuppression (double threshold=0.5, bool bByName=true)
 perform non-maximal neighborhood suppression on the list of objects
 
int keepHighestScoring (int nKeep)
 keep only the nKeep highest scoring objects in the list
 
int keepAboveScore (double threshold)
 keep all objects in the list with score above threshold
 
- Public Member Functions inherited from drwnWriteable
bool write (const char *filename) const
 write object to file (calls save)
 
bool read (const char *filename)
 read object from file (calls load)
 
void dump () const
 print object's current state to standard output (for debugging)
 

Detailed Description

List of objects for the same image (see drwnObject)


The documentation for this class was generated from the following files: