Particle Filter Color Tracker

Tracking an object in a video with a Color Particle Filter

You are now following this Submission

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 (2026). Particle Filter Color Tracker (https://www.mathworks.com/matlabcentral/fileexchange/17960-particle-filter-color-tracker), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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