基于H-S直方图的苹果着色率检测算法研究  被引量:1

Study of Apple Coloration Detection Algorithm Based on H-S Histogram

在线阅读下载全文

作  者:杨凌霄[1] 王振营 刘群坡[1] 王高伟 杨彦超 YANG Lingxiao;WANG Zhenying;LIU Qunpo;WANG Gaowei;YANG Yanchao(School of Electrical Engineering and Automation,Henan Polytechnic University,Jiaozuo 454003,China)

机构地区:[1]河南理工大学电气工程与自动化学院,河南焦作454000

出  处:《电子科技》2021年第5期13-17,共5页Electronic Science and Technology

基  金:国家重点研发计划专项(2016YFC0600906);河南省高校科技创新团队(20IRTSTHN019);河南省创新型科技人才队伍建设工程(CXTD2016054);河南理工大学博士基金(722103/001/070)。

摘  要:针对用机器视觉的方法检测苹果着色率时检测结果容易受图片亮度影响的问题,文中提出了一种基于H-S直方图的苹果表皮着色率检测算法。该算法用红绿黄3种不同颜色的少量样本图片生成不同的H-S直方图。检测着色率时,提取图像中每个像素的色度值与饱和度值,用H-S直方图分析苹果表面红色区域所占的比例得出苹果表面的着色率。试验结果显示,该方法可以有效地检测出苹果表面的着色率,得到的检测结果与人眼观测的结果基本一致,平均误差小于8.3%,且检测结果不易受图片亮度的影响。In order to solve the problem that the detection result of apple color by machine vision is easily affected by the brightness of the picture,an algorithm of apple skin color rate detection based on H-S histogram is proposed in this study.The algorithm use a small number of samples of red,green and yellow colors to generate different H-S histograms.When detecting the coloring rate,the hue value and saturation value of each pixel in the image are extracted,and the H-S histogram is used to analyze the proportion of the red area on the surface of the apple to obtain the coloring rate of the apple surface.The test results prove that this method can effectively detect the coloring rate of the apple surface.The detection results obtained are basically consistent with those observed by human eyes.The average error is less than 8.3%,and the detection results are not easily affected by the brightness of the picture.

关 键 词:机器视觉 HSV RGB 色度 饱和度 颜色空间转换 H-S直方图 色泽检测 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象