当前位置:网站首页>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
边栏推荐
- 她就是那个「别人家的HR」|ONES 人物
- 组件的自定义事件②
- Is it reliable to open an account on the compass with your mobile phone? Is there any potential safety hazard
- [image processing] image histogram equalization system with GUI interface
- [programming training] delete public characters (hash mapping) + team competition (greedy)
- Those high-frequency written tests and interview questions in [Jianzhi offer & Niuke 101] - linked list
- Paging in servlets and JSPS
- 2022年流动式起重机司机考试练习题及在线模拟考试
- Illusory and simple screen raindrop post-processing effect
- TodoList经典案例①
猜你喜欢
![Those high-frequency written tests and interview questions in [Jianzhi offer & Niuke 101] - linked list](/img/9a/44976b5df5567a7aff315e63569f6a.png)
Those high-frequency written tests and interview questions in [Jianzhi offer & Niuke 101] - linked list

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

The computer has a network, but all browser pages can't be opened. What's the matter?

2022 mobile crane driver test exercises and online simulation test

2022 tea master (intermediate) recurrent training question bank and answers

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

2022 test question bank and simulation test of tea master (primary) operation certificate

关于图灵测试和中文屋Chinese room的理解

组件的自定义事件②

The triode is a great invention
随机推荐
[software] phantomjs screenshot
Is it reliable to open an account on the compass with your mobile phone? Is there any potential safety hazard
[image processing] image histogram equalization system with GUI interface
2022年流动式起重机司机考试练习题及在线模拟考试
Autosar 学习记录(1) – EcuM_Init
Is the account opening of GF Securities safe and reliable? How to open GF Securities Account
【Flutter 问题系列第 72 篇】在 Flutter 中使用 Camera 插件拍的图片被拉伸问题的解决方案
C# 读写自定义的Config文件
Cadence OrCAD capture "network name" is the same, but it is not connected or connected incorrectly. The usage of nodeName of liberation scheme
The computer has a network, but all browser pages can't be opened. What's the matter?
[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
Eigen矩阵运算库快速上手
base64
PWN攻防世界int_overflow
Apple account password auto fill
ctfshow-web352,353(SSRF)
[microservice openfeign] feign's log record
Caesar
MATLAB之基础知识
Redisson uses the full solution - redisson official documents + comments (Part 2)