J4 ›› 2015, Vol. 32 ›› Issue (2): 150-155.

• 图像与信息处理 • 上一篇    下一篇

融合色度模型和半径大小的苹果分级算法

陈彩霞,王玉德,周福鹏   

  1. 曲阜师范大学物理工程学院,山东 曲阜,273165
  • 收稿日期:2014-07-03 修回日期:2014-07-28 出版日期:2015-03-28 发布日期:2015-03-17
  • 通讯作者: 王玉德(1970-)山东人,硕士生导师,副教授,主要研究方向为模式识别、多媒体信息处理。 E-mail:wyude-01@163.com。
  • 作者简介:陈彩霞(1990-),女,山西人,研究生,现主要研究方向为智能信息处理。 E-mail:chencaixia_1990@163.com

An apple classification algorithm coalesce chromaticity model and the fruit radius

Chen Cai-xia,Wang Yu-de,Zhou Fu-peng   

  1. College of physical science and Engineering, QuFu Normal University, QuFu  273165, China
  • Received:2014-07-03 Revised:2014-07-28 Published:2015-03-28 Online:2015-03-17

摘要:

为了提高苹果分级技术,采用了一种融合色度模型和半径大小的苹果分级算法。首先对样本图像进行灰度处理,然后运用自适应阈值分割法得到样本的二值图,从而可以计算出苹果果实的像素半径,根据果实像素半径与苹果实际半径的关系即得到实际半径;同时,通过样本图片RGB图像到HSV空间的转换,提取出包含色彩信息的H分量,并计算出红色比例;最后按照苹果半径大小和红色色度值对苹果进行分级。通过算法分级结果与现场人工分级结果的比较,表明本算法对苹果的分级是有效的,且分级准确率高达96%。

关键词: 图像处理, HSV模型, 二值化, 半径大小, 分级

Abstract:

In order to improve the apple grading technology, a fruit classification algorithm that coalesce the color model and the apple fruit radius are presented. By using the adaptive threshold method, the binary image can be obtained after graying the sample image. Then, the pixels radius of apple fruits are calculated to get the actual ones based on the relationship between the radius of the fruit pixel radius and the true ones. Meanwhile, the H component, containing the color information, is extracted and the red proportion is calculated by converting the RGB image of sample images to HSV space. Finally, the apples can be classified via apple radius and the proportion of red. Compared with manual classification results, the simulation results show that the algorithm is effective for apple grading, and has higher classification rate reached 96%.

Key words: image processing, HSV model, binary, radius size, classification

中图分类号: