登录
首页 » Visual C++ » 24BMP256ColorGray

24BMP256ColorGray

于 2020-07-01 发布 文件大小:3KB
0 235
下载积分: 1 下载次数: 154

代码说明:

  本代码实现的功能: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.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Pyramid-methods-in-image-processing
    Pyramid methods in image processing
    2013-12-05 20:08:18下载
    积分:1
  • VIBE
    VIBE用于视频背景建模,经典算法,C++和matlab代码都有,文件是全的。(VIBE for video background modeling, classical algorithms, C++ and matlab code has a file is complete.)
    2020-09-20 16:27:53下载
    积分:1
  • Kkkllt134L
    非常好的klt算法的事例程序源码,大大家多多下在亚,谢谢大家乐 (Very good klt algorithm example program source code, large lot next in Asia, and thank you for music)
    2012-08-29 22:42:49下载
    积分:1
  • Visualc++Imageexample(XuHui)
    Visual C++数字图像实用工程案例光盘代码(Visual C++ Digital image utility works case CD-ROM code)
    2007-10-19 16:59:22下载
    积分:1
  • Hyperspectralterrain-classfic
    高光谱图像的地物分类技术,对光谱分析并对比检测出地景的算法(Fifth hyperspectral image classification techniques, algorithms for spectral analysis and contrast detect landscapes)
    2013-11-29 11:06:20下载
    积分:1
  • IVS
    打开一个图像或者视频文件,相应的轮廓检测功能,视频运动物体的跟踪功能(applications on image,tracking objects in the video)
    2010-11-22 21:46:29下载
    积分:1
  • Saliency
    显著图计算算法FT, SR, LC, HC, RC,以及saliency cut 的合集。(an windows msi for install saliency detection software, which includes the implementation for FT, SR, LC, our HC, RC and saliency cut method.)
    2011-09-25 21:13:22下载
    积分:1
  • ch2_ex2_4
    载入一副图像并进行平滑处理与高斯或其他核函数进行卷积有效的减少图像信息内容(Loading an image and smoothed with a Gaussian or other nuclear convolution function effectively reduce the information content of the image)
    2016-08-23 16:01:08下载
    积分:1
  • Fourier
    实现了读取一个bmp图片的傅里叶变换 使用C语言实现 读取一个 24位 图 转换为8位灰度图后,进行傅里叶变换处理(二维) 采用快速傅里叶变换——蝶形算法 北航图像处理作业~需要进一步交流 请联系qq 422563357(Reads a bmp image to achieve a Fourier transform using C language Northern image processing operations)
    2020-10-27 21:20:03下载
    积分:1
  • avisample
    生成avi视频截图序列。设置截图时长,截图频率,截图类型的参数。(Generate avi video sampling sequence.Screenshot duration, frequency and types of parameters are allowed to set freedom.)
    2013-07-10 17:18:11下载
    积分:1
  • 696516资源总数
  • 106648会员总数
  • 8今日下载