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

24BMP256ColorGray

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

  • colouredgedetection
    对灰度和真彩色位图实现了多种边缘提取算法(Of gray-scale and true color bitmaps to achieve a variety of edge detection algorithm)
    2007-09-09 21:53:10下载
    积分:1
  • Feature-point-extraction
    使用GDAL库,用于遥感影像的特征点提取(Using the GDAL library, used for remote sensing image feature point extraction)
    2011-12-25 15:11:45下载
    积分:1
  • ex26aview1
    基于最小二乘法的相位解缠VC++算法 (least squares method based on the VC Phase Unwrapping Algorithms)
    2020-06-28 19:00:01下载
    积分:1
  • files
    数字图像隐藏及提取研究分析论文、文献等。主要研究算法为LSB算法和DCT奇偶量化、DCT均值量化。(Digital Image Information Hiding and Extraction of analytical papers, literature. The main algorithm for the LSB algorithm and DCT parity quantization, DCT mean quantization.)
    2012-04-27 14:06:39下载
    积分:1
  • BmpBtnTest
    说明:  自己写的位图三态按钮还添加了按钮声音,对自己制作图形界面有很大帮助(Write your own bitmap three-state buttons to add the button sounds right to produce their own graphical interface helps a lot)
    2010-03-27 09:58:15下载
    积分:1
  • Wave-equation-forward-modeling
    1、参数初始化; 2、形成边界削波数据; 3、波场初始化; 4、Zmax层波场延拓到深度Zmax-1; 5、Zi+1层波场延拓到深度Zi; 6、重复5,从Iz Nz-1开始,直到Iz 1,得测线上的频率—空间域波场; 7、频率-空间域波场对频率做反傅里叶变换,得时间-空间波场; (1, parameter initialization 2, the formation of boundary clipping data 3, wave field initialization 4, Zmax layer wave field extended to the depth of Zmax-1 5, Zi+1 layer wave field extended to the depth of Zi 6, repeat 5, starting Iz Nz-1 until Iz 1, the frequency of the test line- spatial domain wave field 7, frequency space domain wave field to frequency inverse Fourier transform, time- space field )
    2021-03-07 16:59:29下载
    积分:1
  • PC_grid
    通过点云数据的格网化,建立格网分块索引,这是一种有效的点云数据存储方式。( Through the point cloud data grid , the establishment of a grid block index, which is a valid point cloud data storage. )
    2014-02-20 10:55:46下载
    积分:1
  • CAGD_NURBS
    施法中新版《计算几何与计算机图形学》,书中所带光盘,包含书中源码和其团队开发的软件,能够实现曲线曲面拟合和编辑(The new cast of Computational Geometry and Computer Graphics , the book brought the disc that contains the source code in the book and his team developed software enables curve and surface fitting and edit)
    2016-02-15 09:40:33下载
    积分:1
  • mitk
    实现了三维超声PNN算法的GPU加速;实现GPU加速的CT圆轨道平板探测器FDK重建算法;提供对canny边缘检测算法的支持;提供交互式graph cut分割方法;实现OSTU分割算法;(Three dimensional ultrasound PNN algorithm GPU acceleration to achieve GPU accelerated CT reconstruction algorithm for circular orbits FDK flat panel detector provide support for canny edge detection algorithm provide interactive graph cut segmentation achieve OSTU segmentation )
    2010-05-13 09:40:30下载
    积分:1
  • Motion-system-identification
    《精通Visual C++数字图像处理技术与工程案例》中第10章运动系统识别 (Motion system identification )
    2012-08-29 20:46:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载