|
Darwin
1.10(beta)
|
Pre-processed per-pixel features stored in files. More...
Public Member Functions | |
| drwnSegImageFilePixelFeatures (const drwnSegImageFilePixelFeatures &pf) | |
| drwnSegImageFilePixelFeatures * | clone () 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 | |
Pre-processed per-pixel features stored in files.
1.8.13