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

Pre-processed per-pixel features stored in files. More...

Inheritance diagram for drwnSegImageFilePixelFeatures:
drwnSegImagePixelFeatures drwnCloneable

Public Member Functions

 drwnSegImageFilePixelFeatures (const drwnSegImageFilePixelFeatures &pf)
drwnSegImageFilePixelFeaturesclone () const
 returns a copy of the class usually implemented as virtual Foo* clone() { return new Foo(*this); }
void cacheInstanceData (const drwnSegImageInstance &instance)
 caches data for a given drwnSegImageInstance
void clearInstanceData ()
 clears any cached data
int numFeatures () const
 return feature vector size
void appendPixelFeatures (int x, int y, vector< double > &phi) const
 append features to phi for pixel (x,y) in the cached instance
- Public Member Functions inherited from drwnSegImagePixelFeatures
 drwnSegImagePixelFeatures (const drwnSegImagePixelFeatures &pf)
virtual void appendAllPixelFeatures (vector< vector< double > > &phi) const
 append features to for all pixels in the cached instance

Public Attributes

string featuresDir
 directory containing feature files
list< string > featuresExt
 feature file extensions

Protected Attributes

vector< vector< double > > _features
 cached loaded features
- Protected Attributes inherited from drwnSegImagePixelFeatures
string _instanceName
 name of the chached instance (for error reporting)
int _instanceWidth
 height of the cached instance
int _instanceHeight
 width of the cached instance

Detailed Description

Pre-processed per-pixel features stored in files.

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