DESCRIPTION
The downloadable code sample demonstrates the basics of acquiring raw camera streams from Intel® RealSense™ cameras (R200 and F200) in the MATLAB® workspace using the Intel® RealSense™ SDK for Windows* and MATLAB’s Image Acquisition Toolbox™ Adaptor Kit. This code sample creates possibilities for MATLAB developers to develop Intel® RealSense™ applications for Intel® platforms and has the following features:
- Multi-stream synchronization. Color stream and depth stream can be acquired simultaneously.
- Multi-camera support. Raw streams can be acquired from multiple cameras simultaneously.
- User adjustable properties. This adaptor supports video input with different camera-specific properties.
NOTE
To set up the code sample:
- The MATLAB installation path I used was C:\MATLAB and the SDK installation path was C:\Program Files (x86)\Intel\RSSDK. Note that the include directories and library directories will need to be changed if your SDK and MATLAB installation paths are different.
- The file location I use to put the entire code sample RealSenseImaq was C:\My_Adaptor\RealSenseImaq.
- You will also need to set an environment variable MATLAB in system variables that contains the name of your MATLAB installation folder.
To build the DLL from this code sample:
- First run Microsoft Visual Studio* as administrator and open the RealSenseImaq solution. You must ensure that “x64” is specified under the platform setting in the project properties.
- To build this code sample, right-click the project name RealSenseImaq in the solution explorer, then select it as the startup project from the menu option and build it.
- For users who are MATLAB developers and not interested in the source code, pre-build DLL can be found in the C:\My_Adaptor\RealSenseImaq\x64\Debug\folder. Note that the DLL directory will need to be changed if you put the code sample in a different location.
To register the DLL in the MATLAB:
- You must inform the image acquisition toolbox software of DLL’s existence by registering it with the Imaqregister function. The DLL can be registered by using the following MATLAB code:
Imaqregister (‘<your_directory>\RealSenseImaq.dll’);
- Start MATLAB and call the imaqhwinfo function. You should be able to see the RealSenseImaq adaptor included in the adaptors listed in the InstalledAdaptors field.
To run the DLL in the MATLAB:
Three MATLAB scripts that I created have been put under the code sample directory C:\My_Adaptor\RealSenseImaq\matlab.
To start to run the DLL in MATLAB, use the scripts as follows:
- MATLAB script “test1” can be used to acquire raw F200 color streams in MATLAB.
- Raw color and depth streams from the Intel RealSense camera (F200) can be acquired simultaneously by using the MATLAB script “test2”.
- You can also use this adaptor to adjust the camera-specific property and retrieve the current value of the property. For example, the MATLAB script “test3” in the code sample file can be used to retrieve the current value of color brightness and adjust its value.
Prepared by: Jing Huang
*Third Party trademarks are the property of their respective owners
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论































收起资源包目录









































































共 63 条
- 1
资源评论


matlab大师
- 粉丝: 2968
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 浅议“互联网-”在工程项目招标采购中的运用.doc
- 2022年GIS应用领域‘.ppt
- 毕业论文答辩材料-河套酒业集团网络营销策略研究.doc
- 数据库基础与应用.doc
- flash-第三四课.ppt
- 网络工程毕业设计外文翻译---什么叫光纤与光纤应用领域.doc
- 数据采集器-型号:DP-VIB-35--用途.docx
- 电路CAD课程设计实施方案红外线报警器.docx
- 本科毕业论文---基于单片机的火灾报警器正文.doc
- 2013年信息系统项目管理师考试大纲.doc
- 智能化会议室预约管理系统-基于SpringMVC和MyBatis的企业级会议室资源调度平台-实现会议室在线预约-状态实时监控-预约冲突检测-使用记录统计-多角色权限管理-可视化报表.zip
- 工商管理案例教学网络平台研究的论文.doc
- 中国物流产业与电子商务.ppt
- 网络营销执行方案.doc
- 国家级无公害蔬菜基地及配送网络建设工程研究报告.doc
- 【财务会计论文】林业会计信息化建构的意义分析(共1409字).doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
