当前位置:网站首页>matlab保存DB4i深度相机图片
matlab保存DB4i深度相机图片
2022-07-01 07:29:00 【xxxx追风】
matlab保存DB4i深度相机图片
bag = rosbag(fullfile('D:\','2022-06-22-16-54-08.bag'));
bSel_depth = select(bag,'Topic','/camera/color/image_raw');
depth_message=select(bSel_depth,'MessageType','sensor_msgs/Image');
data_depth=readMessages(depth_message);
L = length(data_depth);
for i=1:L
single_image = data_depth{
i,1};
single_image_matlab =readImage(single_image);
figure(i);
imshow(single_image_matlab,[],'Border','tight'); % 'Border','tight'用来去除边缘
image_name = [num2str(i-1,'%04d'),'.jpg'];
saveas(i,fullfile('D:\bbbimage',image_name));
pause(0.2);
close(i);
end
参考:https://blog.csdn.net/hanmoge/article/details/123077809
边栏推荐
- 【深圳IO】精确食品称(汇编语言的一些理解)
- How to choose a product manager course when changing to a product manager?
- redisson使用全解——redisson官方文档+注释(中篇)
- Paging in servlets and JSPS
- 【R语言】两个/N个数据合并merge函数
- Stepsister becomes stepmother, son breaks off relationship with himself, and musk, the world's richest man, why is it so miserable?
- The computer has a network, but all browser pages can't be opened. What's the matter?
- 2022 tea master (intermediate) recurrent training question bank and answers
- 【Flutter 问题系列第 72 篇】在 Flutter 中使用 Camera 插件拍的图片被拉伸问题的解决方案
- kubernetes资源对象介绍及常用命令(二)
猜你喜欢

2022危险化学品经营单位主要负责人试题及模拟考试

Browser local storage
![[programming training] delete public characters (hash mapping) + team competition (greedy)](/img/cd/63eb9da1e8956df0763797f079b67f.png)
[programming training] delete public characters (hash mapping) + team competition (greedy)

华为ModelArts训练Alexnet模型

LeetCode+ 71 - 75
![[lingo] solve quadratic programming](/img/4d/3f7de69943f29a71c4039299c547f7.png)
[lingo] solve quadratic programming

Are there any practical skills for operation and maintenance management

Ctfhub port scan (SSRF)
![[chapter 72 of the flutter problem series] a solution to the problem that pictures taken in the flutter using the camera plug-in are stretched](/img/8d/cf259b9bb8574aa1842280c9661d1e.jpg)
[chapter 72 of the flutter problem series] a solution to the problem that pictures taken in the flutter using the camera plug-in are stretched

【目标检测】目标检测界的扛把子YOLOv5(原理详解+修炼指南)
随机推荐
2022年茶艺师(中级)复训题库及答案
电脑有网络,但所有浏览器网页都打不开,是怎么回事?
未来互联网人才还稀缺吗?哪些技术方向热门?
【推荐系统】美团外卖推荐场景的深度位置交互网络DPIN的突破与畅想
如何让两融交易更极速
Atguigu---- scaffold --02- use scaffold (2)
【深圳IO】精确食品称(汇编语言的一些理解)
ONES 创始人王颖奇对话《财富》(中文版):中国有没有优秀的软件?
[software] phantomjs screenshot
Warm congratulations on the successful listing of five elements hehe liquor
redisson使用全解——redisson官方文档+注释(下篇)
Inftnews | from "avalanche" to Baidu "xirang", 16 major events of the meta universe in 30 years
How to choose a product manager course when changing to a product manager?
ctfhub-端口扫描(SSRF)
Why are so many people turning to product managers? What is the development prospect of product manager?
Apple账号密码自动填充
go-etcd
Inventory the six second level capabilities of Huawei cloud gaussdb (for redis)
[R language] two /n data merge functions
ctfshow-web351(SSRF)