I'm having the same problem reported above by Sue C (16 Feb 2010). A similar problem was found for the 1-d version of this code and, apparently, was only fixed there: http://www.mathworks.com/matlabcentral/fileexchange/14034-kernel-density-estimator
Hi Ujwal. I did not find a solution for that problem yet. I have been working on a different project in the past few weeks though. I was hoping the problem would have been fixed in the recent versions of this OpenNI wrapper. But it seems most people here are using Windows.
Matt, I'm using freenect as well but then we are on our own finding calibration and skeletonization code. So I would like to make this OpenNI wrapper work with Matlab in Linux.
I see you are now having problems linking to the openNI library. I believe you can fix this issue by correctly setting your LD_LIBRARY_PATH environment variable BEFORE running Matlab (I've tried using Matlab's setenv() function but it didn't work for me).
i am using OpenNI version 2 , i am compiling correctly compile_cpp_files , but when i compile Example.m
this error appear ;
SimpleViewer: Device open failed:
DeviceOpen using default: no devices found
you can help me
thank you very much
I am running the code perfectly on sets of 45 points (each has a X and Y coordinate). But when I try to only use a subset of those 45 points I get:
Error using fzero (line 274)
The function values at the interval endpoints must differ in sign.
Error in kde2d (line 101)
Is code not able to handle the low sample size? Not sure what is happening. It seems to not be able to find a bandwidth.