Meanshift

Helps in segmenting or clustering the given RGB image
2.1K Downloads
Updated 21 Nov 2013

View License

Helps in segmenting or clustering the given RGB image. The user had to specify the spatial bandwidth and the color range. The Centroid is estimated as

Centroid = sum(m(i)p(i))/sum(p(i));
Where m(i) is the bin number and p(i) is gives the probability of pixel being in that bin, which is nothing but the bin value.

In the code, the number of bins is specified to be 10. So the maximum value of m(i)is 10.

Cite As

suraj vantigodi (2024). Meanshift (https://www.mathworks.com/matlabcentral/fileexchange/44401-meanshift), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
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.1.0.0

Description of the file is updated

1.0.0.0