摘要
为实现正常辣椒和缺陷辣椒(黑斑、虫蚀和花皮)的快速检测,通过图像采集,利用中值滤波去噪;提取样本图像24个颜色特征值,20个纹理特征值,利用Otsu算法阈值分割,提取2个形态特征值;选用连续投影法(Successive Projections Algorithm,SPA)优选14个特征值,结合最小二乘支持向量机(Least Squares Support Vector Machine,LS-SVM)方法进行建模,SPA-LS-SVM模型检测结果为98.67%,模型最优。
To realize the rapid detection of normal peppers and defective peppers(dark spots,insect marks and stripe skin),image acquisition and median filtering were used for denoising.24 color feature variables and 20 texture feature variables of sample images were extracted.Threshold segmentation in the Otsu algorithm was used to extract two morphological feature variables.The Successive Projections Algorithm(SPA) was used to optimize 14 feature variables.Modeling was done based on the Least Squares Support Vector Machine(LS-SVM)method.The detection result of SPA-LS-SVM model is 98.67%,which is the best.
作者
任锐
张淑娟
赵华民
孙海霞
李成吉
廉孟茹
REN Rui;ZHANG Shu-juan;ZHAO Hua-min;SUN Hai-xia;LI Cheng-ji;LIAN Meng-ru(College of Engineering,Shanxi Agriculture University,Jingzhong,Shanxi 030800,China)
出处
《食品与机械》
北大核心
2021年第1期165-168,共4页
Food and Machinery
基金
山西省自然科学基金项目(编号:201801D121252)
山西省高校科技创新项目(编号:2019L0402)。
关键词
辣椒
品质检测
机器视觉
连续投影法
最小二乘支持向量机
pepper
quality detection
machine vision
successive projections algorithm
least squares support vector machine