首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Delphi 提高图像的亮度和对比度

Delphi 提高图像的亮度和对比度

  • 资源大小:400.10 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Delphi源码

资 源 简 介

Delphi 提高图像的亮度,每次只能提升一点高度,用着比较麻烦,不过解析图像部分可以借鉴下。以下代码可参考,不过我没发现哪里是调节图片亮度的:   PByte := ImageBmp.scanline[y];   for x:=0 to ImageBmp.Width-1 do   begin    if (PByte[x*3]<215) and (PByte[x*3+1]<215) and (PByte[x*3+2]<215) then    begin    PByte[x*3] := PByte[x*3]+40;    PByte[x*3+1] := PByte[x*3+1]+40;    PByte[x*3+2] := PByte[x*3+2]+40;    end;   end;

文 件 列 表

codesc.net
亮度
Project1.cfg
亮度
亮度
Image
图片1.bmp
codesc.net
VIP VIP
0.256057s