Hi, thank you for sharing your code.I executed it and it worked very well. For my project I need a real-time motion detection for the video from my webcam. Is it possible for you to send me the code or to guide me on how to change the code? I thank you in advance.
my email is " firstname.lastname@example.org "
There is an error when I try to make a change to cpcorr which is "Error writing cpcorr.m Check if directory is read-only, or has been renamed or deleted." Did anybody know to solve this problem? Thank you in advance.
After running 3D mesh plot of displacement, and deleting markers I then use the 'save validx and valid y' button in the menu. I can save the .dat files, however I get the same error every time I try to open them:
Undefined function 'sum' for input arguments of type 'cell'.
Error in mean (line 30)
y = sum(x,dim)/size(x,dim);
Error in displacement (line 52)
I don't get this error with the original validx and y files. But then I need to re-delete badly tracked markers. Has anyone encountered this?
Thanks for the code