Meanshift
Version 1.1.0.0 (2.3 KB) by
suraj vantigodi
Helps in segmenting or clustering the given RGB image
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 (2026). 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 LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Color Segmentation >
Find more on Color Segmentation in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
