APP下载

基于MatlabGUI的服装颜色特征提取系统设计

2018-05-05江莎莉任琼

现代电子技术 2018年9期
关键词:特征提取

江莎莉 任琼

摘 要: 针对传统服装颜色特征提取系统直观性差,提取结果不可靠等问题,设计了基于Matlab GUI的服装颜色特征提取系统。介绍了系统设计思想,对服装图片进行主成分分析变换,得到主成分分析空间的颜色特征,把测试样本和训练样本依次投影至特征空间,得到相应的识别特征,采用K?means法对颜色进行分类,按照空间一致原则实现服装颜色特征提取。给出GUI界面设计过程,采用Matlab中的uigetfile函数输入服装图片,通过get函数实现颜色提取结果的展示,利用write函数保存服装颜色特征信息,给出系统退出代码。实验结果表明所设计系统能够直观展示服装颜色特征,且颜色特征提取结果可靠。

关键词: 服装颜色; 特征提取; GUI界面; 系统设计; 主成分分析; K?means法

中图分类号: TN911.73?34; TP391.41 文献标识码: A 文章编号: 1004?373X(2018)09?0096?04

Abstract: Since the traditional clothing color feature extraction system has poor intuition, and its extraction result is unreliable, a clothing color feature extraction system based on Matlab GUI is designed. The design thought of the system is introduced. The principal component analysis transform is performed for the clothing images to obtain the color feature of principal component analysis space. The test samples and training samples are projected to the feature space to get the corresponding recognition feature. The K?means method is used to classify the colors, and realize the clothing color feature extraction according to the space consistency principle. The design process of GUI interface is given. In Matlab, the uigetfile function is used to input the clothing images, the get function is used to display the color extraction results, and the write function is used to save the feature information of clothing colors. The system exit code is given. The experimental results show that the system can display the clothing color features intuitively, and its color feature extraction results are reliable.

Keywords: clothing color; feature extraction; GUI interface; system design; principal component analysis; K?means method

当前服装种类众多,数量庞大,需对其进行分类处理。色彩是服装的关键信息,在对服装图像进行处理时,色彩信息被广泛应用于服装图像的分类[1?2]。因此,设计一种有效的服装颜色特征提取系统具有重要意义。传统服装颜色特征提取系统采用正交变换的形式实现颜色特征提取,直观性差,提取结果不可靠,实际应用效果不佳[3]。为此,本文设计了一种新的基于Matlab GUI的服装颜色特征提取系统。

1 Matlab GUI服装颜色特征提取系统

1.1 系统设计思想

Matlab GUI是一种采用图形方式显示的用户界面,属于人机信息交互工具,不但可以嵌入已存在的仿真程序中,还可以将得到的图形化结果通过人机交互的形式直接展现出来,用户只需掌握操作过程就能轻松操作界面,为研究人员提供了巨大便利[4]。……

登录APP查看全文

猜你喜欢

特征提取
特征提取和最小二乘支持向量机的水下目标识别
基于Gazebo仿真环境的ORB特征提取与比对的研究
基于Daubechies(dbN)的飞行器音频特征提取
基于DNN的低资源语音识别特征提取技术
Bagging RCSP脑电特征提取算法
一种基于LBP 特征提取和稀疏表示的肝病识别算法
基于DSP的直线特征提取算法
基于改进WLD的纹理特征提取方法
浅析零件图像的特征提取和识别方法
基于CATIA的橡皮囊成形零件的特征提取