首页> 中文期刊> 《湖北工程学院学报》 >基于形态学边缘检测的枸杞外部缺陷识别方法

基于形态学边缘检测的枸杞外部缺陷识别方法

         

摘要

In the recognition of the wolfberry appearance defects based on the technology of machine vi‐sion ,samples are excessive and intensive ,which causes a mutual confusion between border shadow and defect region and accordingly affects the recognition accuracy .To solve this problem ,this paper puts forward a recognition method for wolfberry appearance defects by edge detection of morphology . Firstly ,the binarization is applied to segment the background and extract the fruit region with bound‐ary shadow .Secondly ,a modified adaptive morphological gradient operator is used to obtain the pre‐cise boundaries of fruit .Thirdly ,different operation is performed between the filled image and the sample image to extract precise fruit image for removing the boundary shadow .Finally ,the resultant image is denoised and enhanced to improve its contrast .And the binarization is used to locate the ap‐pearance defects region for its recognition .The experiment results indicated that the correct rate is a‐bove 90% .The proposed method meets the practical demand of the recognition of wolfberry appear‐ance defects and offers favorable conditions for its further quality evaluation .%在基于机器视觉技术的枸杞外部缺陷识别过程中,样品数量过多且摆放密集,导致边界阴影与外部缺陷相互混淆,从而影响了识别的准确性。针对此问题,提出一种基于形态学边缘检测的枸杞外部缺陷识别方法。首先,通过二值化进行背景分割,提取存在边界阴影的果实图像。然后,以改进的自适应形态学梯度算子提取精确果实边界,进而对其填充并与样本图像做差运算,去除边界阴影。最后,对图像去噪并增强对比度,通过二值化筛选缺陷部位完成识别。实验结果表明,提出的方法正确率达到90%以上。该方法满足枸杞外部缺陷识别的实际需求,为进一步进行枸杞质量评价提供了有利条件。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号