Code covered by the BSD License  

Highlights from
Simulink Support for Kinect

image thumbnail

Simulink Support for Kinect

by

 

25 Jul 2011 (Updated )

Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

slnid_depth.m
%% NID Depth
%
% KinectfoCX擾[xf[^Ԃ܂B
%
% Copyright 2011-2012 The MathWorks, Inc.

%% ͐M
%
% * SYNC (uint32): IMAQubNo͂铯pԐM [msec]B

%% o͐M
%
% * Depth (double): esNZ̐[xf[^ [m]B[xf[^ = 0́A[xf[^̌vs‚Ӗ܂B
%
% * XYZ (double): XYZWf[^BẂAReal world/Projectivêꂩɐݒł܂B
%
% * X/Y/Z (double): X, Y, ZƗWf[^ [m]BẂAReal world/Projectivêꂩɐݒł܂B
%
% * Image (uint8): [xf[^RGB24C[WBF͐[xf[^̌vs‚Ӗ܂B

%% ubNp[^
%
% * Output: [xf[^̏o̓[hݒB
%
% * Real world coordinates (Default: Projective): Real world (X, Y, Z [m]) ܂́AProjective (X,Y [pixel], Z [m])WIBXYZX/Y/Z[xf[^o̓[hɂ̂ݗLB
%
% Projective XYZW:
%
% <<ProjectiveXYZ.png>>
%
% Real world XYZW:
%
% <<RealWorldXYZ.png>>
%
% * Image output: [xf[^RGB24C[Wo͂ݒB

Contact us