Leaper Vision Toolkit
中文 / English 2.x
Properties
ILFeature Interface Reference

This interface provide functionalities of the image features, which is used for feature extraction from image in machine learning technology. More...

Inheritance diagram for ILFeature:
ILParameterized ILObject LFeature

Properties

BOOL Enabled [get, set]
 Whether the feature is enabled. The disabled feature is skipped in feature extraction.
 
LPVFeatureType Type [get, set]
 The type of the feature. Changing the type will reset the feature to default.
 
- Properties inherited from ILParameterized
BOOL ParamBool (LString paramName) [get, set]
 The boolean parameter.
 
double ParamF (LString paramName) [get, set]
 The floating double parameter.
 
int ParamI (LString paramName) [get, set]
 The integer parameter.
 
LSize ParamSize (LString paramName) [get, set]
 The size parameter.
 

Additional Inherited Members

- Public Member Functions inherited from ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 

Detailed Description

This interface provide functionalities of the image features, which is used for feature extraction from image in machine learning technology.

You should firstly create the image feature with specified type via Create(), then adjust its parameters via ILParameterized interface.
Currently, we support following features:

FeatureUsage and Parameters
ORBOriented FAST and Rotated BRIEF
Parameter NameUsageTypeRangeDefault
"count"Count of vocabulary in Bag-of-WordsInteger8 ~ 204864
"patch size"Size of each patchInteger4 ~ 25632
"scale factor"Scale factor for the pyramidDouble1 ~ 21.2
"scale-down level"Total level count of the scale-down pyramidInteger> 0 5
"random point pair count"The number of points that produce each element of ORBInteger2 ~ 42
HOGHistogram of Oriented Gradients
Parameter NameUsageTypeRangeDefault
"cell size"Size of a cell that build the histogramSize@math_eq{2 \times 2} ~ @math_eq{128 \times 128}
must be @math_eq{2^x}
@math_eq{4 \times 4}
"bin size"Bins of histogram, should be factor of 360 or 180, depending on whether gradient is signedInteger1 ~ 609
"cell in block"Count of cells in a blockSize@math_eq{1 \times 1} ~ @math_eq{64 \times 64} @math_eq{2 \times 2}
"cell in block stride"Count of cells in a block strideSize@math_eq{1 \times 1} ~ @math_eq{64 \times 64} @math_eq{1 \times 1}
"block stride step"Count of stride blockSize@math_eq{1 \times 1}
"signed gradient"Use signed gradient or not, directions are analyzed in 360 or 180 degreeBoolfalse
AKAZEAccelerated-KAZE
Parameter NameUsageTypeRangeDefault
"count"Count of vocabulary in Bag-of-WordsInteger8 ~ 204864
"rotation invariant"Whether this feature is rotation-invariantBooltrue
"accept threshold"Threshold to accept key pointDouble> 0 10
"octave"Maximum octave evolutionInteger1 ~ 53
"sub-level"Number of sub-levels per scale level(octave)Integer> 0 4
"conductivity"Conductivity coefficientIntegersee LPVConductivityG2

Example Code