摘要
介绍了RGB色彩空间及利用颜色传感器TCS230进行颜色识别的主要特点。TCS230在RGB色彩空间下对颜色分量进行测量,并将信号输入PIC16F877单片机进行数据处理,LCD显示出颜色识别的结果与RGB值。本系统通过白平衡算法解决了被测颜色在不同光线下识别结果有差异的问题。最后通过对透明、非透明物体颜色的检测,给出了实验结果及分析,并针对环境影响提出了改进方案。
The paper introduces the RGB color space and the main features of color recognition with TCS230.TCS230 measures color components in the RGB color space and transfers the signal to PIC16F877 for processing.Then,the results of measurements and the RGB values are shown on the LCD.The problem is solved that the color of the experimental objects are different in different light through the white balance algorithm.Finally,the experimental results and analysis are given about the color detection of transparent and non-transparent objects,and some improved solutions are put forward in view of the impact of environment.
出处
《微计算机信息》
2010年第14期46-47,36,共3页
Control & Automation