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

24BMP256ColorGray

于 2020-07-01 发布 文件大小:3KB
0 256
下载积分: 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 个回复

  • zhongzhilvboprograme
    中值滤波程序 对图象选定区域进行排列中值 滤波(median filtering of images selected procedures region with median filtering)
    2007-05-11 10:09:59下载
    积分:1
  • GrayShow
    visual c++ 工具 c语言 实现的灰度共生矩阵。(visual c++ tool c language GLCM.)
    2013-06-02 01:34:37下载
    积分:1
  • MedianFilter_GPU
    该VC++程序是基于CUDA架构的中值滤波程序,GPU加速,并且使用了opencv函数库(The VC++ program is based on the CUDA architecture median filtering program, GPU acceleration, and use the opencv library)
    2014-10-27 18:29:32下载
    积分:1
  • gray
    读取图像,将RGB图像转化为灰度图像,显示并保存(The RGB image is transformed into gray image)
    2017-07-12 14:53:14下载
    积分:1
  • MyPolyStock
    实现凸多边形排样,使用临界多边形NFP判断两个凸多边形是否相交,使用启发式算法提高效率(It s a good implement of convex polygon stock.)
    2021-04-19 23:08:50下载
    积分:1
  • SCU_S082167
    《基于计算机视觉的普适性三维重建方法研究》源代码,实现了一种将二维图像重建成三维场景的方法。(Source code of <General Sense Three-Dimension Reconstruction Research Based on Computer Vision>, a technique which can convert 2D images into 3D sence.)
    2020-11-30 10:59:28下载
    积分:1
  • Triangle_Renderer_Project
    老外写的程序,可对三角形进行渲染,有详细的算法介绍。非常棒(A good Triangle Renderer Project,with detailed introduction.)
    2011-04-22 09:18:28下载
    积分:1
  • geotifflib
    说明:  处理geotiff图像文件格式的开源库,含VC工程文件,编译时需tiff库(libtiff)的支持(handling GeoTIFF image file format open source, containing VC engineering documents, compiled take tiff library (libtiff) support)
    2006-02-28 10:25:05下载
    积分:1
  • openvc2.4.10配置方法
    针对opencv的配制方法总结,适合初学者来配置开发环境(For the preparation of opencv summary, suitable for beginners to configure the development environment)
    2017-07-18 17:14:19下载
    积分:1
  • cdaaima-pca
    说明:  实现pca主成分分析算法的c语言代码,希望能帮到大家。(Pca principal component analysis algorithm to achieve the c language code, hope to help you.)
    2021-04-22 14:48:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载