Leaper Vision Toolkit
中文 / English 2.x
LClassifier Class Reference
Inheritance diagram for LClassifier:
ILClassifier ILObject

Additional Inherited Members

- Public Member Functions inherited from ILClassifier
void AddClass (LString classLabel, ILSampleDatabase *sampleDB)
 
int AddFeature (ILFeature *feature)
 
int AddModel (ILModel *model)
 
int CountFeature ()
 
int CountModel ()
 
void CreateClass (LString classLabel, LString sampleDBDir)
 
ILSampleDatabaseGetClassSampleDb (LString classLabel)
 
ILFeatureGetFeature (int idx)
 
ILModelGetModel (int idx)
 
BOOL IsTrained ()
 
LPVErrorCode Predict (ILImage *img, ILRegion *predictRegion, LString *classLabel, double *confidence)
 
void RemoveAllClass (BOOL deleteSampleDb)
 
void RemoveAllFeatures ()
 
void RemoveAllModels ()
 
void RemoveClass (LString classLabel, BOOL deleteSampleDb)
 
void RemoveFeature (int idx)
 
void RemoveModel (int idx)
 
LPVErrorCode Train ()
 
- Public Member Functions inherited from ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 
- Properties inherited from ILClassifier
int PrimaryModelIndex [get, set]
 The index of the primary model which is used for prediction. By default, we use the first model.
 
LString WorkingDir [get, set]
 The working directory, used as the default root path for the database of the created class labels.
 

Detailed Description

This class implements the interface ILClassifier, and is used to create an instance of machine learning based image classification tool.