当前位置:网站首页>深度学习热力图可视化的方式
深度学习热力图可视化的方式
2022-07-28 05:17:00 【一知半解百晓生】
heatmap:是你要叠加在原始图像的热力图
img :是你的原始图片
- 首先将heatmap的最大值缩放到0-255之间的unit8类型
- 然后再将heatmap转化成彩色图像
可以使用从cv2中的函数
heatmap = cv2.applyColorMap(heatmap,cv2.COLORMAP_JET)
- 将heatmap 和 img加权
superimposed_img = (heatmap*0.3+img*0.7).astype(np.uint8)
对superimposed_img就可以可视化了
边栏推荐
- 类和对象【中】
- mysql的日期与时间函数,varchar与date相互转换
- 多线程进阶:volatile的作用以及实现原理
- First acquaintance with C language (1)
- What are the methods of array objects in Es5 and what are the new methods in ES6
- Personal summary of restful interface use
- Mybats foreach multi select query, index loop, and cancel the and/or tag
- MySQL date and time function, varchar and date are mutually converted
- (dark horse) MySQL beginner advanced notes (blogger lazy dog)
- Redis 之布隆过滤器
猜你喜欢
随机推荐
动态卷积的本质
block yandex bot
【idea插件神器】教你如何使用IDEA一键set实体类中所有属性
There is no crossover in the time period within 24 hours
SSM project quick build project configuration file
Thinking on multi system architecture design
Antd setfieldsvalue warning problem cannot use 'setfieldsvalue' until you use 'getfielddecorator' or
(黑马)MYSQL初级-高级笔记(博主懒狗)
How should programmers keep warm when winter is coming
SimpleDateFormat线程不安全和DateTimeFormatter线程安全
多线程进阶:锁的策略
正则表达式
FeignClient 调用GET 方法报错 ResultVO{result=未知异常,异常详情:Request method ‘POST‘ not supported
Flask Development & get/post request
Invalid bound statement (not found): com.exam.mapper.UserMapper.findbyid
项目中问题合集
First acquaintance with C language (1)
多系统架构设计思考
What are the methods of array objects in Es5 and what are the new methods in ES6
Advanced assignment method of ES6 -- Deconstruction assignment






![Classes and objects [medium]](/img/0a/955d00d63f06e7e15e946599628edf.png)

