Particle Filter Color Tracker

Tracking an object in a video with a Color Particle Filter
41.4K Downloads
Updated 24 Jan 2020

View License

A simple example demonstrating how to track an object with particle filter. Likelihood function is based on Bhattacharya distance of color histograms and gradient distributions

Please run mexme_pf_color_tracker to recompile mex-files on your own plateform.

Run the two demo files test_pf_colortracker and test_pf_colortracker2

IMPORTANT. Be sure than you "mex -setup" had been done before compiling sources

Cite As

Sebastien PARIS (2024). Particle Filter Color Tracker (https://www.mathworks.com/matlabcentral/fileexchange/17960-particle-filter-color-tracker), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.9.0.0

Fixed for modern Matlab and OS64

1.8.0.0

Changed int pointers to mwIndex for being 64bits compatible

1.7.0.0

-add #define max & min for LCC compiler

1.6.0.0

-Add likelihood based on gradient distribution
-Use mmreader instead of aviread

1.5.0.0

-Add Linux64 with GCC support

1.2.0.0

-Minor changes

1.0.0.0

Add missing file