当前位置:网站首页>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
边栏推荐
- Kdtree notes
- 2022 test questions and mock examinations for main principals of hazardous chemicals business units
- Redisson uses the complete solution - redisson official documents + Notes (Part 1)
- Mysql与Redis一致性解决方案
- LeetCode+ 71 - 75
- 【深圳IO】精确食品称(汇编语言的一些理解)
- ctfshow-web352,353(SSRF)
- Microsoft announces open source (Godel) language model chat robot
- Solution to the problem that objects in unity2021 scene view cannot be directly selected
- Operation and maintenance management system, humanized operation experience
猜你喜欢

Minecraft 1.16.5 module development (51) tile entity

ctfshow-web351(SSRF)

We found a huge hole in MySQL: do not judge the number of rows affected by update!!!

ONES 创始人王颖奇对话《财富》(中文版):中国有没有优秀的软件?

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

Will Internet talents be scarce in the future? Which technology directions are popular?

ctfshow-web352,353(SSRF)

TodoList经典案例①
![[image processing] image histogram equalization system with GUI interface](/img/3b/52c241c48c91dd58300af58478129e.png)
[image processing] image histogram equalization system with GUI interface

继妹变继母,儿子与自己断绝关系,世界首富马斯克,为何这么惨?
随机推荐
How to choose a product manager course when changing to a product manager?
The programmer of Beipiao posted a post for help late at night: I am lonely when my girlfriend is gone
C# Newtonsoft. Use of job in JSON
2022年茶艺师(中级)复训题库及答案
Is it suitable for girls to study product manager? What are the advantages?
C language implementation [minesweeping game] full version (implementation source code)
2022 mobile crane driver test exercises and online simulation test
Is it safe to do fund fixed investment on Great Wall Securities?
ctfshow-web352,353(SSRF)
H5 页面设置了字体的粗细样式,但是在华为手机里微信打开访问样式不生效?
关于图灵测试和中文屋Chinese room的理解
Unity2021-Scene视图中物体无法直接选中的解决办法
redisson使用全解——redisson官方文檔+注釋(上篇)
ctfshow-web351(SSRF)
TodoList经典案例①
Are there any practical skills for operation and maintenance management
Oracle创建自增id
運維管理系統,人性化操作體驗
[software] phantomjs screenshot
C# Newtonsoft.Json中JObject的使用