当前位置:网站首页>深度学习热力图可视化的方式
深度学习热力图可视化的方式
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就可以可视化了
边栏推荐
- Response < t > class
- oracle查看锁表语句、解锁方法
- MySQL adds sequence number to query results
- PC端-bug记录
- Eccv2022 | 29 papers of Tencent Youtu were selected, including face security, image segmentation, target detection and other research directions
- restFul接口使用个人总结
- 子父线程交互
- latex和word之间相互转换
- When SQL queries the list, the data is inconsistent twice, and limit is automatically added
- IO流的使用
猜你喜欢

2022 summer practice (PowerDesigner tutorial learning record) (first week)

Eccv2022 | 29 papers of Tencent Youtu were selected, including face security, image segmentation, target detection and other research directions

BigDecimal rounds and retains two decimal places

MySQL practice 45 lectures

Bean的作用域、执行流程、生命周期

The most detailed installation of windows10 virtual machine, install virtual machine by hand, and solve the problem that the Hyper-V option cannot be found in the home version window
![[slam] lvi-sam analysis - Overview](/img/66/f15f6f574807b9a783e9321c71d422.png)
[slam] lvi-sam analysis - Overview

多线程进阶:synchronized底层原理,锁优化、锁升级的过程

11.< tag-动态规划和子序列, 子数组>lt.115. 不同的子序列 + lt. 583. 两个字符串的删除操作 dbc
Printf function of input and output function in C language
随机推荐
BigDecimal 进行四舍五入 四舍六入和保留两位小数
Video twins: the starting point of informatization upgrading of smart Parks
SimpleDateFormat线程不安全和DateTimeFormatter线程安全
[slam] lvi-sam analysis - Overview
latex和word之间相互转换
IDEA配置 service(Run Dashboard) 服务,多模块同时启动
The solution after the samesite by default cookies of Chrome browser 91 version are removed, and the solution that cross domain post requests in chrome cannot carry cookies
FeignClient 调用GET 方法报错 ResultVO{result=未知异常,异常详情:Request method ‘POST‘ not supported
FusionGAN代码学习(一)
Non functional test
YUV to uiimage
New modularity in ES6
11.< tag-动态规划和子序列, 子数组>lt.115. 不同的子序列 + lt. 583. 两个字符串的删除操作 dbc
解决Oracle使用in语句不能超过1000问题
类和对象【中】
BigDecimal rounds and retains two decimal places
2021CSDN博客之星评选,互投
Long和Integer如何进行比较,为什么报错
First acquaintance with C language (1)
7. < tag string and API trade-offs> supplement: Sword finger offer 05. replace spaces