摘要
BMP格式位图文件是Windows操作系统中的标准图像文件格式。在此对BMP格式位图文件的结构和内容进行了详细的分析,给出了一种简单通用、易于移植的无操作系统下BMP格式位图文件的显示算法,重点介绍了如何从位图文件中提取必要的图像信息,如何判断位图文件数据存储格式,如何获取每个像素点的颜色值,并以ARM9嵌入式开发板为实验平台实现了无操作系统下BMP格式位图文件在液晶屏上的显示。该算法也可以轻松移植到其他单片机或微处理器开发平台。
The bitmap file(BMP format) is a standard image file format in Microsoft Windows system.The BMP file structure and content is analyzed.The display algorithm of BMP format bitmap file which is in common use and easy to transplant is offered.The extraction of the necessary image information from the bitmap file,distinguishing of the different storage format of the bitmap file,and the achievement of the color value of every pixel are elaborated emphatically.All the algorithms were tested under ARM9 embeded experimental environment and can be transported to other microprocessor environment easily.
出处
《现代电子技术》
2011年第20期5-7,共3页
Modern Electronics Technique
基金
上海市大学生创新性实验计划资助项目(X120709153)
关键词
BMP
位图文件
显示算法
结构分析
BMP
bitmap file
display algorithm
structure analysis