HALCON12里的example,classify_pills_auto_select_features.hdev.
执行流程:
1.选取相关特征(本例选取color和region组的所有特征)
(本例用get_feature_names( : : GroupNames : Names),根据特征组名得到一系列特征
2.创建训练数据,添加样本的相关特征至训练数据结构中。
(本例用calculate_features(Region, Image : : FeatureNames : Features)),根据特征名计算特征
3.自动选择最适合特征
(本例用sele