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

24BMP256ColorGray

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

  • speech-emotion-recognition
    过特定人语音情感数据库的建立;语音情感特征提取;语音情感分类器的设计,完成了一个特定人语音情感识别的初步系统。对于单个特定人,可以识别平静、悲伤、愤怒、惊讶、高兴5种情感,除愤怒和高兴之间混淆程度相对较大之外,各类之间区分特性良好,平均分类正确率为93.7 。对于三个特定人组成的特定人群,可以识别平静、愤怒、悲伤3种情感,各类之间区分特性良好,平均分类正确率为94.4 。其中分类器采用混合高斯分布模型。(The system of speech emotion recognition)
    2014-04-21 20:08:42下载
    积分:1
  • binocular_stereo_measuring
    通过两台相机拍摄的立体像对完成对目标的快速实时测量,用于构建道路交通等数据快速采集系统。(Through two three-dimensional camera for the completion of the goal as fast real-time measurement, used to build road traffic, such as rapid data acquisition system.)
    2007-09-27 22:36:56下载
    积分:1
  • median-filtering
    中值滤波,取出奇数个数据进行排序,用排序后的中值取代要处理的数据即可(median filtering.rar)
    2013-12-05 17:24:42下载
    积分:1
  • KMeans-with-opencv
    k均值分类在遥感影像中的应用,完整的c++代码,注释详细易懂,并且已经验证过(k-means classification in remote sensing images in the application, complete c++ code, comments, detailed and easy to understand, and have been verified)
    2021-01-24 20:28:37下载
    积分:1
  • files
    数字图像隐藏及提取研究分析论文、文献等。主要研究算法为LSB算法和DCT奇偶量化、DCT均值量化。(Digital Image Information Hiding and Extraction of analytical papers, literature. The main algorithm for the LSB algorithm and DCT parity quantization, DCT mean quantization.)
    2012-04-27 14:06:39下载
    积分:1
  • erzhihua
    图像的二值化处理程序,用于Visual c++中(Binary image processing program for Visual c++ in)
    2010-08-13 08:50:24下载
    积分:1
  • 3dwatershed
    用分水岭算法对三维模型进行分割处理。可以实现对三维模型的有意义分割。(Using three-dimensional model of the watershed algorithm to be dealt with separately. Three-dimensional model can achieve meaningful partition.)
    2009-01-13 20:29:26下载
    积分:1
  • processing5
    图像基础处理——透视矫正的程序代码,把图像还原(Image basic processing- perspective correction code to restore image)
    2013-04-10 11:29:49下载
    积分:1
  • DDBOpen-show-save
    DDB 图像编程 实现图像的打开,保存,显示,一般处理等功能(DDB image programming to achieve the image open, save, display, general processing and other functions)
    2013-09-15 11:34:36下载
    积分:1
  • ORB-and-FREAK-experiments-
    ORB和FREAK局部特征对比实验ORB_FREAK(ORB and FREAK local features of comparative experiments ORB_FREAK)
    2013-05-07 15:21:25下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载