Skip to content
小飞侠
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
菜单

博客

  1. 首页>
  2. 其他>
  3. matlab练习程序(灰度拉伸)

matlab练习程序(灰度拉伸)

  • Post author:xfxia
  • Post published:2023年8月28日
  • Post category:其他


cl;
img=imread('TestDatabase/1.bmp');
imshow(img);
img=double(img);
figure,imshow(mat2gray(img))
ma=double(max(max(img)));
mi=double(min(min(img)));
img=(255/(ma-mi))*img-(255*mi)/(ma-mi);
img=uint8(img);
figure,imshow(img)

转载于:https://www.cnblogs.com/tiandsp/archive/2012/03/04/2379128.html


你可能也喜欢

qt pixmap.scaled函数无法修改图片的比例

分支策略——Gitflow Workflow(四)

2008年1月8日,完美时空首部战争史诗大作《赤壁》将开启正式内测。

【Cocos新手入门】使用 cocos creator 创建单行文本输入框及多行文本输入框

c++通过管道pipe获取cmd输出的字符

【大数据】Elastic Search入门,看这一篇就够了!

操作系统概念学习笔记 14 死锁(二)

canvas保存到本地图片三种方法

keychron机械键盘使用感受

企业级应用集成的几种方式

shader编程-RayMarching三维场景下模型基本变换旋转、缩放、平移(WebGL-Shader开发基础09)

Django Mode: Cannot delete or update a parent row, a foreign key constraint fails

记录下没有解决的错误(CDH 由于小文件数太多造成的)

CSDN如何导出为pdf文档?

String、StringBuffer、StringBuilder三者的区别

CentOS如何拓展swap分区

毕业设计-基于深度学习的推荐系统研究

useQS

顺序表

Spring进阶(二)之Scope详解

目录

  • APICloud (3)
  • golang (228)
  • java (8,236)
  • linux (4,002)
  • mysql (2,800)
  • php (1,070)
  • python (5,439)
  • solidity (25)
  • uniapp (235)
  • vue (2,463)
  • 其他 (88,233)
  • 小程序 (801)

文章归档

  • 2023年十二月 (1872)
  • 2023年十一月 (477)
  • 2023年十月 (17371)
  • 2023年九月 (44974)
  • 2023年八月 (26399)
  • 2023年七月 (14793)
  • 2023年六月 (1)
  • 2023年五月 (2186)
  • 2023年四月 (3838)
  • 2023年三月 (1544)
  • 2023年二月 (3)
  • 2023年一月 (4)
  • 2022年十二月 (3)
  • 2022年十一月 (36)
  • 2022年十月 (16)
  • 2022年九月 (8)
  • 2021年九月 (1)
  • 2020年九月 (6)
  • 2020年八月 (5)

标签

Aave (1) cosmos (6) defi (255) flag (27) gitee (1) github (1) golang (234) java (8234) linux命令 (82) List (1) map (1115) mysql (3093) npm (237) tendermint (6) uuid (43) vant (64) vmware (270) 区块链 (63) 合约 (37) 小程序版本更新 (3)
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
Copyright xfxia.com 鲁ICP备19024253号-2
关闭菜单