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

24BMP256ColorGray

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

  • wavelettrans
    文件包提供小波变换的vc实现,包含基于小波变换的图像小波域分析,为后续处理提供参考(Package provided by wavelet transform vc realize that contains the image based on wavelet transform wavelet-domain analysis, provide a reference for follow-up treatment)
    2008-05-06 17:00:40下载
    积分:1
  • PCNN(lateralinhibition)
    基于侧抑制的图像分割,在PCNN分割的基础上实现(failed to translate)
    2021-03-24 20:39:14下载
    积分:1
  • ChaosImageCode
    一个用VC编的混沌图像加密程序,演示了如何读写图像,如何用混沌算法加密解密。(a program for encrypting image by chaos algorithm,based on VC.)
    2017-11-03 09:36:54下载
    积分:1
  • FKFilter
    FK滤波分析,设计窗口!!!!!!!!!!!(FK filtering analysis, design window! ! ! ! ! ! ! ! ! ! !)
    2013-01-21 20:24:37下载
    积分:1
  • 1
    说明:  这是一个在vc6.0基于OpenCV的控制台程序,本例给出一个椭圆曲线拟合的例子,程序首先发现图像的轮廓,然后用椭圆逼近它。(This is a vc6.0 console based on the OpenCV procedures, in this case gives an example of elliptic curve fitting, the program first to discover the outline of the image, and then close it with an oval.)
    2008-05-13 15:21:14下载
    积分:1
  • pjbz
    图像质量评价,计算两幅图像的保真性,鲁棒性 ,结构相似性 (Image quality assessment,calculate the fidelity ,robust and structural similarity of the image,)
    2017-03-16 15:09:32下载
    积分:1
  • 雷达目标高分辨距离的特征提取及识别方法
    合成孔径雷达目标的特征提取及其识别技术。国防科大写的!(synthetic aperture radar target feature extraction and recognition technology. Written by which this university!)
    2005-07-29 20:31:31下载
    积分:1
  • applepeo
    苹果在线检测系统,实时性比较好,可用性更好,很好很好(Apple' s online testing system, real-time is better)
    2009-02-19 15:42:10下载
    积分:1
  • MyFFT1
    VC和MATLAB混合编程实现快速傅立叶变换(VC and MATLAB programming Fast Fourier Transform Mixed)
    2021-03-04 19:09:32下载
    积分:1
  • ImageDevelop_source
    vc++图像开发的附书光盘,包括众多的实例程序,每个程序都可以是功能完备的工具软件.(visual c++ image develop source code and instances)
    2010-09-25 10:53:59下载
    积分:1
  • 696518资源总数
  • 105714会员总数
  • 27今日下载