Kinect_NITE_PointViewer_matlab
This zip-file provides a matlab interface for the NITE PointViewer example, with some c++ wrapper functions written for the Microfost Kinect, OpenNI and NITE library.
The work is based on Dirk-Jan Kroon's contribution(http://www.mathworks.com/matlabcentral/fileexchange/30242-kinect-matlab), description of modifications of related files are:
./Mex/
PointDrawer.h -- from NITE PointViewer example, functions to draw by glut are deleted.
mxNiCreateContext.cpp -- add session manager, flow control, point control, callbacks for session manager, code from NITE PointViewer example
mxNiDeleteContext.cpp -- unchange
mxNiDepth.cpp -- the index of pointer is updated
mxNiInfrared.cpp -- the index of pointer is updated
mxNiUpdateContext.cpp -- add update of session manager
mxNiHandPosition.cpp -- created, motivated by Dirk-Jan Kroon's work
the detail of the usage of each fucntion can be found in cooresponding .m file.
./Config/Sample-Tracking.xml
Since I use another camera which is similiar to Kinect except that it has no RGB sensor, there's no 'image' node in my xml file. you can modify it if you are interested, and make use of functions provided by Dirk-Jan Kroon.
./ExampleHand.m -- script for testing the PointViewer example.
The code is tested on:
Windows XP professional 32bit
matlab R2009a
compiler: Microsoft Visual C++ 2008 SP1
OpenNI 1.0.0.27
NITE 1.3.0.17
Sensor Driver 5.0.0.27
You need to firstly run compile_cpp_files.m to compile .cpp to mex files, check the OpenNI and NITE paths if there are errors.
when you successfully get all mex files, run ExampleHand.m to test.
-------------
Specifical thanks to Dirk-Jan Kroon for his code.
http://www.mathworks.com/matlabcentral/fileexchange/30242-kinect-matlab
-------------
ZHU HONGMIN (Herman)
contact: zhu.herman@gmail.com
University of Macau, Macau SAR, China
引用格式
HONGMIN ZHU (2024). Kinect_NITE_PointViewer_matlab (https://www.mathworks.com/matlabcentral/fileexchange/31195-kinect_nite_pointviewer_matlab), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Test and Measurement > Image Acquisition Toolbox > Image Acquisition Toolbox Supported Hardware > Kinect For Windows Sensor >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Acquisition Toolbox Supported Hardware > Kinect For Windows Sensor >
- Test and Measurement > Image Acquisition Toolbox > Image Data Acquisition > Acquisition Using Kinect for Windows Hardware >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Data Acquisition > Acquisition Using Kinect for Windows Hardware >
标签
致谢
参考作品: Kinect Matlab
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Mex/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |