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

24BMP256ColorGray

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

  • 平台基于visual studio2015 bilateralFilter
    平台基于visual studio2015,使用opencv函数实现双边滤波,进行图像处理(bilateral Filter based on opencv)
    2020-06-20 05:00:01下载
    积分:1
  • dctembed
    先对图像进行DCT变化再进行水印嵌入,用于图像加密,保护版权,在版权保护方面有较大的用途。(Digital Watermarking DCTembed)
    2010-11-04 22:33:42下载
    积分:1
  • 20061014182431864
    分割视图 希望大家多多批评指正 多多交流(segmentation View I hope Members can interact more criticism correction)
    2006-12-27 00:32:21下载
    积分:1
  • SIFT_area_match
    说明:  SIFT算法的区域匹配,比原有的SIFT+KD树匹配更加高效、准确。(different area SIFT algorithm which is better than the original SIFT and KD tree match.)
    2021-04-22 15:18:48下载
    积分:1
  • Chapter3
    图形处理,Visual C++图形编程技巧与实例源代码3(Graphics Visual C++ graphics programming techniques and source code examples 3)
    2012-02-29 11:16:21下载
    积分:1
  • detectline
    包含滤波模板,形态学运算,边缘检测结合经自己修改过的hough变换编写的vc程序,成功检测机场跑道和任何图像中最明显的现状特征,经测试,检测精度高。对学习vc编程用于图像处理有帮助。(hough transform based image processing package which is useful for detecting airfield like straight line features.)
    2009-07-16 15:27:30下载
    积分:1
  • ostu
    ostu二值化算法vc实现,基于MIL图像处理软件包将图像解析,通过ostu求取二值化阈值,实现二值化算法(ostu binarization algorithm to achieve vc, MIL image processing software package based on the image resolution, strike through ostu binarization threshold binarization algorithm to achieve)
    2013-07-26 14:02:37下载
    积分:1
  • PicMatch
    本程序实现了对影像特征点自动提取,利用Morevac、Forstner、Harris3个经典算子。在此基础上利用相关系数法实现影像自动匹配,并且引入最小二乘平差,使匹配点精度有所提高。 在搜索点过程中,利用了核线影像特性,对二维影像搜索使用了爬山法启发式搜索。对大数据量影像采用影像金字塔结构处理。 1、使用GDAL库读取影片,支持TIFF、PNG、JPEG、JPG、BMP、GIF、IMG格式读取。使用GDI绘图。 2、防止大数据量绘图视图闪烁,图片显示采用双缓存技术。 3、保存视图数据为图片文件,支持TIFF、PNG、JPEG、JPG、BMP、GIF格式保存。 4、TreeCtrl控件、ListCtrl控件的基本操作。 5、MFC单文档程序视图通讯、更换视图、视图分割。(This program of image features automatic extraction point, use Morevac, Forstner, Harris3 a classic operator. Based on the correlation coefficient method using the image matching, realization and introducing least squares adjustment, the matching point to improve precision. In the search process, the use of the image characteristics of nuclear line, 2d image search using the heuristic method of climbing. For large quantity of data using image processing image pyramid structure. 1, using film, read GDAL repository support JPEG, TIFF, PNG, GIF, BMP, JPG, read IMG format. Use GDI drawing. 2 and prevent large amount of data, drawing view pictures showed adopt double caching techniques. 3, save for the image file, views data support JPEG, TIFF, JPG, PNG, GIF, BMP format. 4 and TreeCtrl controls, the basic operation ListCtrl controls. 5 and MFC single document procedure view communication, replace view, view.)
    2010-05-22 00:46:30下载
    积分:1
  • SAR-blur-analysis
    分析了合成孔径雷达的模糊度问题及其对图像质量的影响, 详细描述了模糊度的 表达式, 分析了不同系统参数对模糊度的影响, 对所谓的重影现象作了定量分析(Analysis of synthetic aperture radar ambiguity problems and their impact on image quality, a detailed description of the fuzzy degree of expression of the different system parameters on the degree of influence on the so-called ghost phenomenon analyzed quantitatively)
    2010-07-07 14:16:46下载
    积分:1
  • Lee
    Lee的经典的多分辨率B样条拟合方法(multi-level B-spline fitting)的VC源代码。广泛应用于图形图像处理,CAD等领域。(Lee s classic multi-resolution B-spline fitting method (multi-level B-spline fitting) of the VC source code. Widely used in graphic image processing, CAD and other fields.)
    2007-11-07 16:11:02下载
    积分:1
  • 696518资源总数
  • 106010会员总数
  • 4今日下载