额外继承的成员函数 | |
![]() | |
void | AddClass (LString classLabel, ILSampleDatabase *sampleDB) |
int | AddFeature (ILFeature *feature) |
int | AddModel (ILModel *model) |
int | CountFeature () |
int | CountModel () |
void | CreateClass (LString classLabel, LString sampleDBDir) |
ILSampleDatabase * | GetClassSampleDb (LString classLabel) |
ILFeature * | GetFeature (int idx) |
ILModel * | GetModel (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 () |
![]() | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
![]() | |
int | PrimaryModelIndex [get, set] |
主模型的索引,主模型将用于分类预测。默认使用第一个模型。 | |
LString | WorkingDir [get, set] |
工作目录,作为新建类别标签的默认样本数据库的根路径 | |
![]() | |
LString | Name [get, set] |
对象的名称,默认为空。 大多数情况下,LPV 算法类并不使用这个名称。 若 ILDrawable::SetDrawName() 启用,该名称将被绘制在对象的附近 更多... | |
该类实现了 ILClassifier 接口, 用于创建基于机器学习的图像分类工具的实例