|
Darwin
1.10(beta)
|
Standard per-pixel filterbank features with option to read auxiliary features from a file. More...
Public Member Functions | |
| drwnSegImageStdPixelFeatures (const drwnSegImageStdPixelFeatures &pf) | |
| drwnSegImageStdPixelFeatures * | 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 | |
Static Public Attributes | |
| static double | FILTER_BANDWIDTH = 1.0 |
| bandwidth for filter features | |
| static int | FEATURE_GRID_SPACING = 5 |
| cell size for pixel features | |
| static bool | INCLUDE_RGB = false |
| flag to include RGB colour features | |
| static bool | INCLUDE_HOG = false |
| flag to include HOG features | |
| static bool | INCLUDE_LBP = false |
| flag to include LBP features | |
| static bool | INCLUDE_ROWCOLAGG = false |
| flag to include row and column aggregate features | |
| static bool | INCLUDE_LOCATION = true |
| flag to include location features | |
| static string | AUX_FEATURE_DIR |
| directory for auxiliary features | |
| static vector< string > | AUX_FEATURE_EXT |
| auxiliary feature extensions | |
Protected Attributes | |
| drwnFilterBankResponse | _filters |
| pixel filter responses | |
| vector< vector< double > > | _auxFeatures |
| cached auxiliary 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 | |
Standard per-pixel filterbank features with option to read auxiliary features from a file.
1.8.6