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

Standard per-pixel filterbank features with option to read auxiliary features from a file. More...

Inheritance diagram for drwnSegImageStdPixelFeatures:
drwnSegImagePixelFeatures drwnCloneable

Public Member Functions

 drwnSegImageStdPixelFeatures (const drwnSegImageStdPixelFeatures &pf)
 
drwnSegImageStdPixelFeaturesclone () 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
 

Detailed Description

Standard per-pixel filterbank features with option to read auxiliary features from a file.


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