基于LabVIEW的工件外径测量与颜色识别软件系统设计  被引量:14

Software System Design of Workpiece Diameter Measurement and Color Recognition Based on LabVIEW

在线阅读下载全文

作  者:陈晓玉[1,2] 谢路生[2] 陈文芗[2] 曾念寅[2] 

机构地区:[1]厦门大学嘉庚学院,福建漳州363105 [2]厦门大学航空航天学院,福建厦门361005

出  处:《实验室研究与探索》2017年第4期114-118,共5页Research and Exploration In Laboratory

基  金:国家自然科学基金项目(61403319)

摘  要:为了能对不同尺寸的工件进行质量检测或分拣,对不同颜色的工件进行颜色识别和分拣;设计了基于LabVIEW的工件外径测量和颜色识别软件系统。应用USB相机采集图像并保存;对所采集到的图像进行一定的处理,包括彩图转灰度图,对比度亮度调整,各种滤波等功能;实现工件外径测量及颜色识别等,可筛选出外径不同于样本的工件;通过分析样本及测试体颜色的红绿蓝直方图,计算综合色差,进行颜色识别。以螺丝为例的工件实验证明,该系统能快速测量工件的外径,精度较高,识别率准确,同时对工农业生产中物体大小和颜色的分拣都具有一定参考价值。In order to test the quality, to sort workpieces depending on their sizes, and to identify the different colors of workpieces and sort them, a software system of workpiece diameter measurement and color recognition based on LabVIEW was designed. Images were collected and saved by the USB camera, the images were processed, the processing methods included image grayscale, contrast and brightness adjustment, various filtering function and so on; the workpiece diameter measurement and color recognition were implemented. Workpieces that the diameters were different from the sample can be filtrated. Through analyzing the colors of red, green and blue histograms of samples and workpieces to calculate comprehensive color difference, color recognition was realized. The screw was taken as an example, experimental results show that the system can quickly measure the workpiece diameters, has accurate

关 键 词:工件 外径测量 颜色识别 软件系统设计 

分 类 号:TP319[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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