Rank: 149558 based on 0 downloads (last 30 days) and 0 file submitted
photo

Adam Hartshorne

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Adam View all
Updated File Comments Rating
18 Apr 2011 Kinect Matlab Microsoft Kinect, OpenNI wrapper, Skeleton, Depth Author: Dirk-Jan Kroon

When I run for instance ExampleSK with,

KinectHandles=mxNiCreateContext(SAMPLE_XML_PATH);

active.

I get,

Image Node : Found
Depth Node : Found
Infrared Node :Not found
User Node : Found

I assume IR node should also be found. I have tried restarting / clearing / deleting handle.

Any ideas? I am using the OpenNI drivers that came out a few days ago, could that be the problem?

01 Mar 2011 mex_sepsq Fast, dedicated, code to compute Euclidean separation between sets of points in N-dimensional space. Author: Ben Mitch

When I try and compile this on a Win 7, 64-bit machine using c++ Visual Studio 2008, get the a long list of the following type of errors,

mex_sepsq compile
mex_sepsq.cpp
c:\users\adam\documents\matlab\mex_sepsq\mex_sepsq_asm.cpp(57) : error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture
c:\users\adam\documents\matlab\mex_sepsq\mex_sepsq_asm.cpp(61) : error C2065: 'push' : undeclared identifier
c:\users\adam\documents\matlab\mex_sepsq\mex_sepsq_asm.cpp(61) : error C2146: syntax error : missing ';' before identifier 'eax'
c:\users\adam\documents\matlab\mex_sepsq\mex_sepsq_asm.cpp(61) : error C2065: 'eax' : undeclared identifier

01 Mar 2011 mex_sepsq Fast, dedicated, code to compute Euclidean separation between sets of points in N-dimensional space. Author: Ben Mitch

Forgot to add c++ compiler is Visual Studio 2008.

05 Mar 2010 mpgwrite The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file. Author: David Foti

Using Windows 7, Matlab 7.9.0 and Visual Studio 2008, manage to get compiled using -v hack, although end of compile get strange error,

??? Attempt to reference field of non-structure array.

but file gets made.

Try test run as follows,

fig1 = figure(1) ;
movegui(fig1) ;
winsize = get(fig1,'Position');
numframes=16;
A=moviein(numframes,fig1,winsize);
set(gca,'NextPlot','replacechildren')
axis equal % fix the axes
for i=1:numframes
plot(fft(eye(i+16)));
A(:,i)=getframe;
end

mpgwrite(A,jet,'movie.mpg');

and I get following error,

??? Error using ==> mpgwrite
All movie frames must have the same size

Any ideas?

Contact us