摘要
针对荔枝果品质检测领域中传统人工方法费时、耗力和精度低等问题,构建了一套单目步进旋转式图像采集平台,研究了单颗荔枝果图像预处理过程中的相关算法,并对部分算法的效果进行了比较.结果表明:灰度线性变换法对于降低背景可见度的效果最好,对比度受限的自适应直方图均衡方法能有效提高目标的亮度与清晰度,线性平均滤波法的效果与Wiener法相当,但运行时间更短;改进型全局阈值法则能剔除由置物台造成的大部分阴影;形态学滤波算法可以将目标以内部全连通的形式完全提取出来;Canny算法能提取出荔枝果的完整外形轮廓.由此证明,在预处理流程中,对裁剪后的目标图像按顺序使用灰度线性变换、自适应直方图均衡、线性平均滤波、形态学滤波和Canny算法进行处理,可基本满足图像预处理的要求.
Litchis usually needs to be classified into different quality tevels by detecting their qualities before being directly sold and reprocessed to be non-staple foodstuff, mainly depending on manual meth- ods currently, which brings about low accuracy rate, time consuming and high costs. A single eye step- rotating image collecting system, consisted of an electronic control subsystem and a mechanical platform, was constructed. The algorithms and processing procedures were studied and tested. According to the re- sults of these experiments : linear grey level transformation algorithm could efficaciously reduce the visibil- ity of background, contrast limited adaptive histogram balanced algorithm was able to enhance the bright- ness and articulation of targets, Linear mean filtering algorithm could decrease the noises in images, im- proved global threshold algorithm had the ability to eliminate shades caused by the rotation platform, mor- phology filtering algorithm could wipe off images' impurities and filling gaps, canny algorithm was able to extract the contour of litchis, which might meet the demands of image pretreatment.
出处
《仲恺农业工程学院学报》
CAS
2016年第2期50-55,共6页
Journal of Zhongkai University of Agriculture and Engineering
基金
广东省公益研究与能力建设专项(2014A020208139
2015A020214021
2015A020209175
2016B020202008)
广东省协同创新与平台环境建设专项(2016A040402044)资助项目