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

24BMP256ColorGray

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

  • Digital-Image(201008)
    计算机图形学图像处理学习内容,附带PPT教程里面的代码。(the ppt for Digital Image)
    2012-02-18 15:17:52下载
    积分:1
  • SANBAN
    数字散斑相关程序,能够计算2副图片的位移,简单的例子,对初学者也许有用。(Digital speckle correlation program can calculate the displacement of two images, a simple example, may be useful for beginners.)
    2020-11-25 17:39:32下载
    积分:1
  • Common-standard-pics
    数字图像处理中常用的标准图像,包括大家所共知的lena等图片的高分辨率版本,推荐大家下载(Commonly used in digital image processing standard images, including all the known to the lena and other high-resolution version of the picture, we recommend downloading)
    2011-05-27 19:05:02下载
    积分:1
  • Video-Demo
    该源码为目标检测和跟踪算法 包括: 1. 静态背景下的背景预测法目标检测 2. 静态背景下帧间差分法目标检测 3. Mean Shift目标跟踪方法 4. 重心多目标跟踪方法 (The source code for target detection and tracking algorithm include: 1 Static background background prediction target detection 2 Static background frame difference method for target detection 3. Mean Shift tracking method 4 multi-target tracking methods focus)
    2013-08-11 20:39:39下载
    积分:1
  • 1234
    图像处理中图像几何畸变校正程序,用于图像的广角畸变的校正。(Image processing procedures for image geometric distortion correction for images of wide-angle distortion correction.)
    2010-06-01 16:01:47下载
    积分:1
  • VCPP-image-processing-chapter05
    VisualC++数字图像处理技术详解第2版光盘-第五章(VisualC++ digital image processing technology Detailed Version 2 CD- Chapter V)
    2016-04-16 13:33:13下载
    积分:1
  • CUDA_image-denoising
    用CUDA并行处理方法改写的图像降噪算法,包括KNN,NLM,以及改进的NLM方法。配置环境适合VS2010+CUDA5.0,对使用CUDA的同学来说是很好的教材。(Image denoising algorithms including KNN,NLM and refined NLM run on CUDA, useful demo for who learns CUDA based parallel programming.)
    2014-09-15 20:55:52下载
    积分: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
  • ITKbrain
    ITK的脑室图像分割,可以对脑部的图像用itk进行分割,用VTK来进行显示。(the segration of brain of ITK )
    2009-03-20 17:42:08下载
    积分:1
  • VisualSFM_windows_cuda_64bit
    很好用的三维重建软件,VisualSFM软件允许上传一系列图像,它从这些图像中找到每一个图像的特定特征,利用这些特征信息重建出3D模型的稀疏点云,而后还可进行稠密点云重建。(The VisualSFM software, a good 3D reconstruction software, allows uploading a series of images. It finds the specific features of each image from these images, and USES these feature information to reconstruct the sparse point cloud of the 3D model, and then it can reconstruct the dense point cloud.)
    2019-05-16 16:00:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载