Rank: 11779 based on 0 downloads (last 30 days) and 0 files submitted
photo

Ravi Prakash

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Ravi
Updated File Comments Rating
25 Nov 2008 Particle Filter Color Tracker Tracking an object in a video with a Color Particle Filter Author: Sebastien Paris

For all those laymen like me who couldn't get it to work in the first attempt. Type inside the MATLAB command window

> mex ellipse.c
> mex rgb2hsv_mex.c
> mex pdfcolor_ellipserand.c

In both files part_moment.c and particle_resampling.c at the top add the line
#define max(a,b) ( (a) >= (b) ? (a) : (b) )

Then
> mex part_moment.c
> mex particle_resampling.c

Finally to run
> test_pf_colortracker

Thanks Sebastien. FIGHT ON!!

Contact us at files@mathworks.com