首页 | 本学科首页   官方微博 | 高级检索  
     

利用VC实现真彩色位图到灰度图的转换
引用本文:周雪芹,刘晓红.利用VC实现真彩色位图到灰度图的转换[J].自动化技术与应用,2005,24(3):25-27.
作者姓名:周雪芹  刘晓红
作者单位:山东理工大学,计算机学院,山东,淄博,255049;山东理工大学,计算机学院,山东,淄博,255049
摘    要:给出了一种真彩色位图到灰度位图的转换方法 ,该方法采用创建好灰度图像调色板 ,让系统自动按照最接近的调色板颜色去转换 2 4位真彩色位图。结果表明 ,转换后的图像能保留原图像的除去颜色以外的所有信息 ,且磁盘存储容量缩小了 2 /3。

关 键 词:24位真彩色位图  灰度图  调色板
文章编号:1003-7241(2005)03-0025-03
修稿时间:2004年8月28日

Transformation of a Color Bitmap to a Gray Scale Image in VC
ZHOU Xue-qin,LIU Xiao-hong.Transformation of a Color Bitmap to a Gray Scale Image in VC[J].Techniques of Automation and Applications,2005,24(3):25-27.
Authors:ZHOU Xue-qin  LIU Xiao-hong
Abstract:A transformation from true color bitmap to gray scale image is presented.The tra nsformation is based on a palette , and automatically converts a 24-bit true col or bitmap by picking for each pixel the closest color from the palette .Test sho ws that the transformed image contains all the information in the original bitma p except color, and that the image file size is reduced by 2/3.
Keywords:bit true color bitmap  Gray scale image  Palette  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号