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

24BMP256ColorGray

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

  • c_code_2d_3d
    说明:  打包的二维三维图形图像处理源代码 稀有资源(packed 2D and 3D graphics processing source of scarce resources)
    2006-05-05 08:09:19下载
    积分:1
  • CT_simulation
    CT模型仿真,里面有C还有Matlab文件,均可以使用(CT model simulation with C and Matlab)
    2012-10-15 16:28:26下载
    积分:1
  • 相机采集、控制、、坐标计算、坐标显示等功能的小软件 WProject
    做项目时写的关于相机图像采集、控制、图像处理、坐标计算、坐标显示等功能的小软件(Do item written on the camera image acquisition, control, image processing, coordinates of the calculation, the coordinates show features such as small software)
    2020-07-08 11:28:57下载
    积分:1
  • btp2
    一个很好用的bmp图像转protelPCB封装库,如果有需要在pcb中插入图像,汉字的朋友可以下载(bmp to protel99,it s a good tool,welcom to download)
    2011-01-17 10:11:04下载
    积分:1
  • MatchLSM
    1.打开左右两张影像2.Harris算法提取同名点3.显示提取同名点(若要进行下一步匹配则不建议显示,这里只是用于查看是否提取出)4.相关系数匹配(只在找出的同名点内匹配)5.LSM最小二乘匹配(先进行粗匹配,再精匹配)(1 Open the left and right images 2.Harris algorithm to extract two tie points 3 shows the extraction of corresponding points (not recommended to proceed to the next match show, here is used to see if extracted) 4. Correlation coefficient matching (just looking match within a point of the same name) 5.LSM least squares matching (rough first match, then fine match))
    2013-08-28 15:45:57下载
    积分:1
  • YUV_DCT
    YUV Quantization using VS2010
    2013-07-14 19:12:13下载
    积分:1
  • DE
    说明:   最简单的差分格式有向前、向后和中心3种。 向前差分:f (n)=f(n+1)-f(n) 向后差分:f (n)=f(n)-f(n-1) 中心差分:f (n)=[f(n+1)-f(n-1)]/2(The easiest difference format forward, backward, and three kinds of centers. Forward differencing: f (n) = f (n+ 1)-f (n) Backward difference: f (n) = f (n)-f (n-1) Central difference: f (n) = [f (n+ 1)-f (n-1)]/2)
    2016-05-17 21:08:01下载
    积分:1
  • tuxiangchuli
    Visual C++ 数字图像处理 光盘源码(Visual C++ Digital image processing, CD-ROM source)
    2009-01-12 20:23:19下载
    积分:1
  • c
    说明:  缺陷检测,定位缺陷位置。主要用于工业之中螺帽的螺纹线的检测(Defect detection, location of defect location. Detection of screw thread for nuts in industry)
    2018-03-08 16:41:35下载
    积分:1
  • bilateralFilter
    说明:  平台基于visual studio2015,使用opencv函数实现双边滤波,进行图像处理(bilateral Filter based on opencv)
    2020-06-20 05:00:01下载
    积分:1
  • 696518资源总数
  • 106245会员总数
  • 18今日下载