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

Class for generating composite per-pixel feature vectors. More...

Inheritance diagram for drwnSegImageCompositePixelFeatures:
drwnSegImagePixelFeatures drwnCloneable

Public Member Functions

 drwnSegImageCompositePixelFeatures (const drwnSegImageCompositePixelFeatures &pf)
drwnSegImageCompositePixelFeaturesclone () 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
void appendAllPixelFeatures (vector< vector< double > > &phi) const
 append features to for all pixels in the cached instance
void clearFeatureGenerators ()
 clears all feature generators
void addFeatureGenerator (drwnSegImagePixelFeatures *generator)
 add feature generator (caller gives up ownership)
void copyFeatureGenerator (const drwnSegImagePixelFeatures *generator)
 copy feature generator (caller must free)
- Public Member Functions inherited from drwnSegImagePixelFeatures
 drwnSegImagePixelFeatures (const drwnSegImagePixelFeatures &pf)

Protected Attributes

int _numFeatures
< drwnSegImagePixelFeatures * > 
- 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

Class for generating composite per-pixel feature vectors.

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