This program segments a color image into different regions.
The steps followed for segmentation in this program is as follows:
1. The input color image will be coarsely represented using 25 bins.
2. Coarse representation uses the spatial information from a Histogram based windowing process.
3. K-Means is used to cluster the coarse image data.
Those who are new to Matlab Programming can see the "SampleUsage.m" file for the usage of the script "colImgSeg.m".
Those who are already familiar with Matlab Programming can directly use the script "colImgSeg.m".
Athi (2022). color Image Segmentation (https://www.mathworks.com/matlabcentral/fileexchange/25257-color-image-segmentation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!