当前位置:网站首页>Saving db4i depth camera pictures with MATLAB
Saving db4i depth camera pictures with MATLAB
2022-07-01 07:35:00 【XXXX chasing the wind】
matlab preservation DB4i Depth camera picture
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' Used to remove edges
image_name = [num2str(i-1,'%04d'),'.jpg'];
saveas(i,fullfile('D:\bbbimage',image_name));
pause(0.2);
close(i);
end
Reference resources :https://blog.csdn.net/hanmoge/article/details/123077809
边栏推荐
- [lingo] solve quadratic programming
- 【编程强训】删除公共字符(哈希映射)+组队竞赛(贪心)
- Stepsister becomes stepmother, son breaks off relationship with himself, and musk, the world's richest man, why is it so miserable?
- 2022 operation of refrigeration and air conditioning equipment operation of national question bank simulated examination platform
- Paging in servlets and JSPS
- How do the top ten securities firms open accounts? In addition, is it safe to open a mobile account?
- Alibaba OSS postman invalid according to policy: policy condition failed: ["starts with", "key", "test/"]
- Félicitations pour l'inscription réussie de wuxinghe
- 【编程强训2】排序子序列+倒置字符串
- Redisson uses the complete solution - redisson official documents + Notes (Part 1)
猜你喜欢

atguigu----脚手架--02-使用脚手架(2)

C # read and write customized config file

ctfshow-web352,353(SSRF)

如何制作专属的VS Code主题

运维管理系统,人性化操作体验

Apple account password auto fill

I bet on performance and won the CTO of the company. I want to build Devops platform!

继妹变继母,儿子与自己断绝关系,世界首富马斯克,为何这么惨?

redisson使用全解——redisson官方文檔+注釋(上篇)

Browser local storage
随机推荐
十大劵商如何开户?另外,手机开户安全么?
2022年流动式起重机司机考试练习题及在线模拟考试
Système de gestion de l'exploitation et de l'entretien, expérience d'exploitation humanisée
redisson使用全解——redisson官方文檔+注釋(上篇)
[Shenzhen IO] precise Food Scale (some understanding of assembly language)
iNFTnews | 从《雪崩》到百度“希壤”,元宇宙30年的16件大事
Kdtree notes
1286_ Implementation analysis of task priority setting in FreeRTOS
【R语言】两个/N个数据合并merge函数
【mysql学习笔记28】存储函数
Redisson uses the complete solution - redisson official documents + Notes (Part 1)
【Flutter 问题系列第 72 篇】在 Flutter 中使用 Camera 插件拍的图片被拉伸问题的解决方案
【R语言】年龄性别频数匹配 挑选样本 病例对照研究,对年龄性别进行频数匹配
The computer has a network, but all browser pages can't be opened. What's the matter?
[microservice openfeign] feign's log record
Inftnews | from "avalanche" to Baidu "xirang", 16 major events of the meta universe in 30 years
go-etcd
[software] phantomjs screenshot
PWN攻防世界int_overflow
2022危险化学品经营单位主要负责人试题及模拟考试