当前位置:网站首页>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
边栏推荐
- Cadence OrCAD Capture “网络名”相同,但是未连接或连接错误的解放方案之nodename的用法
- Understanding of Turing test and Chinese Room
- Félicitations pour l'inscription réussie de wuxinghe
- Do securities account opening affect the security of account opening
- 【R语言】两个/N个数据合并merge函数
- Vscode automatically formats code according to eslint specification
- C language implementation [Sanzi chess game] (step analysis and implementation source code)
- Jax's deep learning and scientific computing
- DC-4 target
- JSP - paging
猜你喜欢

iNFTnews | 从《雪崩》到百度“希壤”,元宇宙30年的16件大事
![[image processing] image histogram equalization system with GUI interface](/img/3b/52c241c48c91dd58300af58478129e.png)
[image processing] image histogram equalization system with GUI interface

Apple account password auto fill

Jax's deep learning and scientific computing

運維管理系統,人性化操作體驗

热烈祝贺五行和合酒成功挂牌

C# Newtonsoft. Use of job in JSON

ctfshow-web352,353(SSRF)

redisson使用全解——redisson官方文档+注释(上篇)

Paging in servlets and JSPS
随机推荐
C语言实现【三子棋游戏】(步骤分析和实现源码)
Challenges faced by operation and maintenance? Intelligent operation and maintenance management system to help you
[programming training 2] sorting subsequence + inverted string
2022年茶艺师(中级)复训题库及答案
2022 test question bank and simulation test of tea master (primary) operation certificate
2022广东省安全员A证第三批(主要负责人)特种作业证考试题库模拟考试平台操作
Is it reliable to open an account on the compass with your mobile phone? Is there any potential safety hazard
Cadence OrCAD capture "network name" is the same, but it is not connected or connected incorrectly. The usage of nodeName of liberation scheme
奥迪AUDI EDI 项目中供应商需要了解哪些信息?
Why are so many people turning to product managers? What is the development prospect of product manager?
ctfshow-web354(SSRF)
1286_FreeRTOS的任务优先级设置实现分析
赌上了绩效,赢了公司CTO,我要搭DevOps平台!
TodoList经典案例①
[Shenzhen IO] precise Food Scale (some understanding of assembly language)
熱烈祝賀五行和合酒成功掛牌
组件的自定义事件②
Redisson utilise la solution complète - redisson Documents officiels + commentaires (Partie 1)
Oracle创建自增id
Which securities company is better or safer for mobile phone account opening