文件名称:24BMP256ColorGray
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- x***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
本代码实现的功能:24位位图(BMP)的灰度化。具体实现过程:打开图像文件,找到数据区(每3个字节代表一个象素的R,G,B值),循环扫描,根据RGB的权重,计算出灰度值. 如果要得到256色灰度图,则要新建一个调色板,修改信息头和文件头.-Realize the function of the code: 24-bit bitmap (BMP) of the gray. Concrete realization of the process: Open the image file, locate the data area (3 bytes per pixel on behalf of a R, G, B values), cyclic scan, according to the weight of RGB, gray value is calculated. If you want to get 256 colors grayscale, would create a new palette, modify the header and file header information.相关搜索: bmp
24
灰度值
bmp
256
256
24
bmp
rgb
create
bmp
image
bitmap
灰度化
BMP
鏁版嵁
24
灰度值
bmp
256
256
24
bmp
rgb
create
bmp
image
bitmap
灰度化
BMP
鏁版嵁
(系统自动生成,下载前可以参看下载内容)
下载文件列表
24BMP256ColorGray.txt