安徽农业科学2024,Vol.52Issue(19) :232-237.DOI:10.3969/j.issn.0517-6611.2024.19.047

基于K-means聚类算法的烘烤烟叶图像分割研究

Research on Curing Tobacco Image Segmentation Based on K-means Clustering Algorithm

周任虎 席家新 丁以纾 段积有 起必建 姚铁 董绍昆 刘羿男 丁从凯 杨国富 马国林
安徽农业科学2024,Vol.52Issue(19) :232-237.DOI:10.3969/j.issn.0517-6611.2024.19.047

基于K-means聚类算法的烘烤烟叶图像分割研究

Research on Curing Tobacco Image Segmentation Based on K-means Clustering Algorithm

周任虎 1席家新 1丁以纾 1段积有 1起必建 1姚铁 1董绍昆 1刘羿男 1丁从凯 1杨国富 1马国林1
扫码查看

作者信息

  • 1. 云南省烟草公司楚雄州公司,云南楚雄 675000
  • 折叠

摘要

目前我国烟叶烘烤过程主要依赖人工监测,存在主观性、模糊性和高成本等问题,使用机器视觉方法对烘烤过程烟叶质量变化进行实时监测与判断的研究逐渐增多,实时监测需建立在高效且准确的烘烤烟叶图像分割之上,因此烘烤烟叶图像分割的研究变得尤其重要.提出了基于K-means聚类算法的烘烤烟叶图像分割方法,首先读取图像并将RGB转换为CYMK颜色空间,然后提取CYMK颜色空间下的K通道灰度化图像,再对此单通道图像进行聚类,根据聚类中心确定图像分割阈值,最后利用图像处理方法对图像进行分割.研究比较了K-means、模糊C均值聚类(FCM)和高斯混合聚类(GMM)3种聚类方法,结果表明K-means算法的像素准确率为97.8%、交并比为96.43%、Dice系数为98.2%,均优于其他2种方法.K-means算法能够更好地提取烤烟的烟叶轮廓,去除冗余信息,使得分割结果更清晰.

Abstract

At present,the tobacco baking process in China mainly relies on manual monitoring,which has problems of subjectivity,fuzziness and high cost.Research on using machine vision methods to monitor and judge real-time changes in tobacco quality during the baking process is gradually increasing.Real time monitoring needs to be based on efficient and accurate segmentation of roasted tobacco leaf images,so the re-search on segmentation of roasted tobacco leaf images has become particularly important.A segmentation method for roasted tobacco leaf images based on K-means clustering algorithm was proposed.Firstly,the image was read and RGB was converted to the CYMK color space.Then,the grayscale image of the K-channel in the CYMK color space was extracted.We clustered the single channel image again,determined the image segmentation threshold based on the cluster center,and finally used image processing methods to segment the image.We compared three cluste-ring methods of K-means,fuzzy C-means clustering (FCM) and Gaussian mixture clustering (GMM).The results showed that the pixel accura-cy of the K-means algorithm was 97.8%,the intersection to union ratio was 96.43%,and the Dice coefficient was 98.2%,all of which were better than the other two methods.The K-means algorithm could better extract the contour of tobacco leaves,remove redundant information and make the segmentation results clearer.

关键词

烟叶烘烤/图像分割/K-means/阈值

Key words

Tobacco curing/Image segmentation/K-means/Threshold value

引用本文复制引用

基金项目

中国烟草总公司云南省公司科技项目(2022530000241034)

出版年

2024
安徽农业科学
安徽省农业科学院

安徽农业科学

影响因子:0.413
ISSN:0517-6611
参考文献量20
段落导航相关论文