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

24BMP256ColorGray

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

  • KMP
    图像处理的KMP算法源程序,KMP算法是一种基本的、实用的字符串比较算法,广泛应用于图像处理和模式识别。(Image processing algorithms source KMP, KMP algorithm is a basic, practical string comparison algorithm, widely used in image processing and pattern recognition.)
    2011-09-23 19:46:43下载
    积分:1
  • GrayShow
    visual c++ 工具 c语言 实现的灰度共生矩阵。(visual c++ tool c language GLCM.)
    2013-06-02 01:34:37下载
    积分:1
  • example
    使用C++和CUDA编写的双边滤波器。在平滑图像的同时可以保持边界(Using bilateral filter the C++ and CUDA written. Boundary can be kept in the smooth image while)
    2013-01-09 19:06:43下载
    积分:1
  • LSM_Match
    最小二乘匹配,图像匹配算法,需要初始匹配坐标,可以达到亚像素精度(least squares matching, image matching algorithm, the initial need to match coordinates, can reach sub-pixel accuracy)
    2006-10-26 14:25:05下载
    积分:1
  • IPLib2.0
    一套基于VC++的遥感影象处理系统,可以实现空间域,频率域以及光谱的处理(yi tao ji yu VC++ de yaohan yingxiang chuli xitong)
    2021-01-05 09:48:54下载
    积分:1
  • GreyTrans
    VC++图像处理程序设计(杨淑莹)第四章_灰度变换源码(VC++ image processing program design (Yang Shuying) Chapter _ gray transform source)
    2013-03-19 23:52:43下载
    积分:1
  • OnlineForest-0.11.tar
    online random forest 在线随机森林做跟踪和分类的代码(online random forest-line tracking and classification random forest to do the code)
    2020-06-29 22:40:02下载
    积分:1
  • YUV_DCT
    YUV Quantization using VS2010
    2013-07-14 19:12:13下载
    积分:1
  • hongwaileida
    针对粒子概率假设密度(PH D)滤波算法在虚警、漏检情况下,b标状态估计不稳定和b标可观测性车弱的问题,提出了一种基于序贯融合的粒子PH D滤波方法,利用雷达和红外传感器多目标进行融合跟踪杏基本思想是先对红外传感器进行粒子PH D滤波,丙将红外传感器滤波结果作为雷达的预测值,然后利用P达观测的数据进行更新,这样通过雷达和红外传感器交替上作保证目标状态的可观测性,从滤波器输出结身即可得到目标的状态信息仿真结果表明,在虚警、漏检和密集目标环境下,该方法是有效的和稳健的(The problem of target state estimation instability and observability weakerin the presence offalse alarms and missed detection was deal with. On the basis of sequential fusion, a particleprobabil- ity hypothesis density(PHD) filter for multrsensor multrtarget tracking was proposed. Observed da to collected from the infrared sensor was estimated with the particle PHD filter. Then the results from the filter were set as the radar predicted value by the radar observations. The multrtarget state can be updated to guarantee observing the target state. In this way, the global state is updated at the fusion center. Simulation results show that the proposed algorithm is effective and robust under the false warning, omission and concentrated target environment. )
    2012-03-06 16:27:41下载
    积分:1
  • tuxiangpingjie
    图像拼接及柱面全景图生成算法研究 图像拼接及柱面全景图生成算法研究(Image mosaicing and cylinder panorama generation algorithm is studied)
    2012-01-14 19:37:10下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载