登录
首页 » c++ » 加载位图和保存,实现设备无关位图,实现灰度图像到彩色图像的转换,

加载位图和保存,实现设备无关位图,实现灰度图像到彩色图像的转换,

于 2022-08-17 发布 文件大小:4.83 kB
0 105
下载积分: 2 下载次数: 1

代码说明:

(1)位图的加载与保存;  (2)判断位图是否有效、获取位图的文件名; (3)获取位图的长、宽、大小等信息 (4)判断位图是否含有颜色表、获取位图颜色表、根据颜色表生成调 色板、使用颜色数、每个像素所占位数、每行像素所占位数; (5)获取位图数据; (6)显示位图; (7)将彩色位图转换成灰度位图; (8)将灰度位图转换成彩色位图;

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • serial-communication
    利用C语言实现RS232串口上下位机通信的设计(Using C language to realize RS232 serial port communication up and down a machine design )
    2013-12-12 10:18:29下载
    积分:1
  • szpGauss
    用C++实现的高斯混合模型的算法类,方差矩阵是对角矩阵(C++ Gaussian mixture model algorithm category, variance matrix is diagonal matrix)
    2005-08-09 16:32:03下载
    积分:1
  • solar
    VC++和OPENGL所做的太阳系行星运行模拟,有九个行星及其卫星,行星轨道,纹理等一律俱全,是学习相关知识的很好的材料(VC++ and OPENGL run simulations done planets, there are nine planets and their satellites, planetary orbits, texture and taste of all, is to learn the knowledge of good material)
    2013-07-08 13:54:35下载
    积分:1
  • freemodbus
    freemodbus可移植........................................................................................................
    2022-08-15 18:33:10下载
    积分:1
  • rt-thread2.1.0_stm32f407
    Rtthread STM32F407 spi_flash/SDIO_SD/tft_gui移植(Rtthread STM32F407 spi_flash/SDIO_SD/tft_gui transplant)
    2020-10-24 00:27:22下载
    积分:1
  • 新建文件夹
    说明:  ◎ 为所有socket函数调用添加错误处理代码; ◎ 范例中服务器地址和端口是固定值,请你将它们改成——允许用户以参数形式从命令行输入; ◎ 范例中客户机发送的是固定文本”Hello Network!”,请改成——允许用户输入字符串,按回车发送;实现循环,直至客户机输入“bye”退出; ◎ 服务器迭代地处理客户机:一个客户机退出后、才接受下一个,按Ctrl+C可以终止服务器程序。(Add error handling code for all socket function calls; In the example, the server address and port are fixed values. Please change them to - allow users to input from the command line in the form of parameters; In the example, the client sends the fixed text "Hello network!", please change it to -- allow the user to input the string and press enter to send; realize the loop until the client enters "Bye" to exit; Server processes clients iteratively: one client exits before accepting the next. Press Ctrl + C to terminate the server program.)
    2020-11-28 22:43:54下载
    积分:1
  • fft
    这是一个关于数字信号处理中的快速傅里叶算法的实现(This is a digital signal processing algorithms to achieve fast Fourier)
    2011-11-21 19:48:17下载
    积分:1
  • Matlab
    matlab入门教程,M AT L A B是一个可视化的计算程序,被广泛地使用于从个人计算机到超级计算机范围内 的各种计算机上(matlab introductory tutorial, M AT LAB is a calculation program visualization, are widely used in a variety of computers from personal computers to supercomputers within)
    2012-11-01 10:31:31下载
    积分:1
  • 趋势对冲M15-EA
    说明:  A hedge ea, return curve for 15min is perfect.
    2020-06-19 13:00:02下载
    积分:1
  • srf222
    Windows下的输入法源码 (The sourcecode for an IME on windows)
    2020-06-26 11:00:02下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载