Mean Shift is a simple but interesting algorithm for image filtering, which can be treated as the early stage for image segmentation task. My implementation is according to the research work presented in paper [1]. This project was part of my research work when I was a graduate student in Yunnan University, China. The source code (in pure C++) is available. User is also encouraged to contribute to this project.

  • Filtering Example: Tree

  • Filtering Example: Clown

  • Filtering Example: Baboon


[1] Comaniciu, Dorin, Peter Meer (May 2002). "Mean Shift: A Robust Approach Toward Feature Space Analysis". IEEE Transactions on Pattern Analysis and Machine Intelligence (IEEE) 24 (5): 603–619.