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

24BMP256ColorGray

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

  • kmeans-image-segmentation
    多类 kmeans 图像分割,基于灰度的图像分割。(Kmeans image segmentation, segmentation based on gray-scale images.)
    2013-04-30 04:19:34下载
    积分:1
  • 基于opencv的Kinect深度的去噪,滤波
    基于opencv的Kinect深度图像的去噪,滤波(Opencv based Kinect depth image denoising, filtering)
    2021-03-23 08:59:15下载
    积分:1
  • 37
    说明:  对3D数据运用gpu实现八叉树,完成分割并进行渲染。(The use of 3D data on the GPU octree to achieve complete segmentation and rendering.)
    2007-12-05 08:56:34下载
    积分:1
  • Retinex
    本文实现了Retinex算法,支持对图像的去雾灯操作,是一种图像增强的方法。(this paper present a new image strength method-Retinex impliment by opencv)
    2012-03-13 11:30:39下载
    积分:1
  • jpegIO
    实现原始的JPEG图片编解码,不借助任何的第三方库,纯C++。(To achieve the original JPEG image decoding, without using any third-party libraries, pure C++.)
    2011-10-06 13:50:13下载
    积分:1
  • gaosi
    二维图形图像处理,高斯平滑的源代码,图像预处理(Two-dimensional graphic image processing, Gaussian smoothing of the source code, image preprocessing)
    2009-11-18 15:32:39下载
    积分:1
  • VC-tu-xiang-chu-li
    图形图像处理算法大全,包含各种算法的源码,只要经过简单修改就可变为程序(Daquan graphic image processing algorithms, including the source code for various algorithms, as long as you can into a program after a simple modification )
    2011-05-20 16:45:34下载
    积分:1
  • CODE
    说明:  数字图像处理的常用算法总结,比如,直方图,直方图均衡化,均值滤波,中值滤波,平滑滤波等。(Commonly used digital image processing algorithms summarized, for example, histogram, histogram equalization, mean filtering, median filtering, filtering and so on.)
    2011-04-14 21:53:09下载
    积分:1
  • ImageProcess
    c#写的图像处理程序框架,包括打开图片、保存、关闭等功能。图像处理包括图像增强里用到的灰度化、亮度增强、线性非线性平滑、一阶二阶锐化等。(c# write image-processing program framework, including open images, save, close and other functions. Image processing including image enhancement is used inside the gray-oriented, brightness increased, the linear non-linear smoothing, sharpening and so on a first-order second-order.)
    2009-10-22 10:19:21下载
    积分:1
  • GraphCut
    图像分割经典算法GraphCut的实现代码,亲测可用。(An implementation of GraphCut Algorithm, which is a classical method in image segmentation field.)
    2020-09-29 17:27:43下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 31今日下载