摘要
利用计算机视觉技术对香蕉在贮藏过程中颜色和纹理的变化进行研究。以第1阶段的青香蕉为研究对象,在贮藏过程中每天获取其图像,并将图像二值化,以其为模板分别与灰度、R、G和B分量图像点乘进行背景分割,提取彩色分量的均值作为颜色指标;预处理后灰度图像的共生矩阵由不规则的生成方式提取,并获取其纹理二阶矩、对比度和均匀度3个纹理指标。实验结果表明,结合R和G均值的变化曲线可对香蕉在第6阶段之前的表面状况进行描述,采用基于灰度共生矩阵的对比度和均匀度的变化曲线对香蕉在第6阶段之后的表面状况进行描述。
The variation of color and texture during banana storage was studied based on computer vision.The images of green banana in first mature stage were acquired everyday during storage.After the binary operation,RGB and gray images were masked by the binary images to eliminate the background.Then,R,G and B average values were extracted from pre-processed color images as color indexes.The graylevel co-occurrence matrix generating rule of the irregular image was used to obtain these matrixes of preprocessed gray images.Three texture descriptors were extracted as texture indexes from these matrixes,namely energy,contrast and homogeneity,respectively.Results showed that the change curve of R average values in combination with that of G could describe banana surface condition before the sixth mature stage,and the curve of contrast and homogeneity could do that after the sixth mature stage.
出处
《农业机械学报》
EI
CAS
CSCD
北大核心
2013年第8期180-184,共5页
Transactions of the Chinese Society for Agricultural Machinery
基金
国家自然科学基金资助项目(31271896
30800864)
上海市自然科学基金资助项目(12ZR1420500)
关键词
香蕉
计算机视觉
颜色
纹理
灰度共生矩阵
监测
Banana Computer vision Color Texture Gray-level co-occurrence matrix Monitoring