当前位置:网站首页>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
边栏推荐
- redisson使用全解——redisson官方文档+注释(中篇)
- LeetCode+ 71 - 75
- 在券商账户上买基金安全吗
- How to enter the Internet industry and become a product manager? How to become a product manager without project experience?
- 【R语言】两个/N个数据合并merge函数
- 2022 test question bank and simulation test of tea master (primary) operation certificate
- Stepsister becomes stepmother, son breaks off relationship with himself, and musk, the world's richest man, why is it so miserable?
- redisson使用全解——redisson官方文档+注释(下篇)
- 5G Massive MIMO的概念和优点总结
- 热烈祝贺五行和合酒成功挂牌
猜你喜欢

ctfshow-web354(SSRF)

Atguigu---- scaffold --02- use scaffold (2)

Operation and maintenance management system, humanized operation experience

【目标检测】目标检测界的扛把子YOLOv5(原理详解+修炼指南)

Is it suitable for girls to study product manager? What are the advantages?

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

【剑指offer&牛客101】中那些高频笔试,面试题——链表篇

2022广东省安全员A证第三批(主要负责人)特种作业证考试题库模拟考试平台操作

C语言实现【扫雷游戏】完整版(实现源码)

2022 tea master (intermediate) recurrent training question bank and answers
随机推荐
Browser local storage
[R language] two /n data merge functions
Eigen矩阵运算库快速上手
运维管理系统,人性化操作体验
atguigu----脚手架--02-使用脚手架(2)
Microsoft announces open source (Godel) language model chat robot
MATLAB之基础知识
[R language] age sex frequency matching select samples for case-control study, and perform frequency matching on age and sex
ctfhub-端口扫描(SSRF)
熱烈祝賀五行和合酒成功掛牌
良心安利万向轮 SolidWorks模型素材网站
We found a huge hole in MySQL: do not judge the number of rows affected by update!!!
Redisson watchdog mechanism, redisson watchdog performance problems, redisson source code analysis
Summary of the concept and advantages of 5g massive MIMO
I bet on performance and won the CTO of the company. I want to build Devops platform!
Do securities account opening affect the security of account opening
Cadence OrCAD capture "network name" is the same, but it is not connected or connected incorrectly. The usage of nodeName of liberation scheme
Image style migration cyclegan principle
The game is real! China software cup releases a new industrial innovation competition, and schools and enterprises can participate in it jointly
Will Internet talents be scarce in the future? Which technology directions are popular?