摘要
通过分析黑白图像如何在LCD液晶上显示的数据格式,对代表图像中连续的空白或者黑色的数据进行压缩,其他的数据则不压缩而直接保留。以压缩相反的方法对数据进行解压缩,以扫描方式在给定时间内送入LCD显示一组图像,实现了单片机控制LCD上的动画显示。这种压缩及解压缩方法,简单实用,可获得较大的压缩率,节省大量内存,丰富动画图像。.这种装置适于欲显示动画的小型黑白显示仪器仪表。
By analyzing the black-and-white image how to work in the data format,the data as the continual blank or the black image was compressed and the other data was saved.While LCD displaying a group of image which of data was sent to LCD RAM in the given time in the way of scanning,and which of the data was uncompressed with the opposite method of the compressing it,the animation demonstration on LCD display was realized under the control of MCU.It is very simple and practical on the animation demonstration with the way of compressing and uncompressing data,which can reach more large compression rate,not only saving the large ROM,but also enriching the animation image.Moreover,this device is suitable for the small black and white demonstration instruments and meters on animation demonstration.
出处
《三明学院学报》
2010年第6期525-528,共4页
Journal of Sanming University
基金
福建省教育厅资助项目(JB09098)
福建农林大学校教改项目(01jg04090)
关键词
单片机
液晶显示
图像压缩
动画显示
MCU
LCD display
image compression
animation demonstration