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

24BMP256ColorGray

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

  • polygon
    一个计算多边形面积和周长的程序, 同时可以把多边形显示出来, 直观展现多边形形状.(A polygon area and perimeter calculation procedures, the polygons can be displayed simultaneously, intuitive show polygonal shape.)
    2020-06-28 18:20:01下载
    积分:1
  • 雷达目标高分辨距离的特征提取及识别方法
    合成孔径雷达目标的特征提取及其识别技术。国防科大写的!(synthetic aperture radar target feature extraction and recognition technology. Written by which this university!)
    2005-07-29 20:31:31下载
    积分:1
  • CameraCalibration
    张正友经典论文,灵活的相机标定法,内附图片+源码,可以直接使用(zhangzhengyou,image+program, A Flexible New Technique for Camera Calibration)
    2017-07-18 17:10:59下载
    积分:1
  • ppbNakagami
    处理Gamma乘性噪声的PPB方法,考虑了非局部patch的相似性,可处理SAR图像去噪。(The PPB method for multicative noise removal, which based on the Probabilistic Patch similarity.)
    2021-04-12 18:18:57下载
    积分:1
  • DSP-digital-Recognition
    天津工业大学课程设计,内容包含vs2010对图像的灰度化,二值化,边缘检测。包含单纯c语言编写的对图像的灰度化,二值化,边缘检测的一个.C文件,可以直接用vc6.0运行,也可以直接在DSP上运行,还包含一份详细的设计报告。(Tianjin Polytechnic University curriculum design, content includes vs2010 grayscale image binarization, edge detection. Contains pure c language for image graying, binarization, edge detection is one. C file that can be run with vc6.0 can also be run directly on a DSP, also contains a detailed design report.)
    2013-12-10 10:51:11下载
    积分:1
  • raw2bmp
    读取RAW格式文件,将其转换为BMP格式文件并存储,主要实现灰度图像的转换(Read the RAW format, convert it to BMP format file and stored, mainly to achieve the conversion of grayscale images)
    2011-11-08 10:36:16下载
    积分:1
  • danmu
    说明:  基于opencv平台编写的单目相机标定程序,使用的张正友的方法,只要准备十二张单目相机拍摄的棋盘格的图片就可以标定出单目相机的焦距等参数,建立单目相机坐标系。可以用于机器视觉测量中,也可以用于双面相机标定的前一步,精度很高。(Based on the monocular camera calibration program compiled by the OpenCV platform, the method of Zhang Zhengyou is used to calibrate the focal length and other parameters of the monocular camera and establish a monocular camera coordinate system as long as 12 pieces of chessboard pictures taken by the monocular camera are prepared. It can be used in machine vision measurement, and it can also be used in the previous step of the calibration of the double-sided camera, with high precision.)
    2020-03-23 10:04:18下载
    积分:1
  • JROI
    Compression of face images impact the performance of face recognition (FR) systems. JPEG Region of Interest (JROI) compression maintains high image quality in facial regions while compressing the background more, with minimal impact on FR performance.(Compression of face images impact the perf ormance of face recognition (FR) systems. JPEG Region of Interest (JROI) compression maintai ns high image quality in facial regions while co mpressing the background more, with minimal impact on FR performance.)
    2007-02-15 22:58:14下载
    积分:1
  • gmm
    EM算法以及混合高斯模型,c++实现,控制台程序,函数调用很简单方便。可以在低版本vc6.0运行。(EM algorithm and hybrid Gauss model, c++ implementation, the console program, function call is very simple and convenient. Can be run at low vc6.0.)
    2015-11-19 16:20:15下载
    积分:1
  • gaues_
    高斯计算程序,高斯计算程序,高斯计算程序,高斯计算程序,高斯计算程序,高斯计算程序,(Gaussian calculation program, Gaussian calculation program, Gaussian calculation program, Gaussian calculation program, Gaussian calculation program, Gaussian calculation program,)
    2013-04-12 09:47:28下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载