File Exchange

image thumbnail

color image segmentation

version 1.3.0.0 (259 KB) by Su Dongcai
segment color image robust to texture

6.7K Downloads

Updated 06 Dec 2010

View License

An implementation of [1], it works in follows:
1. Compute the Jmap.
2. Compute the valleys of Jmap.
3. Valleys growing as the oversegmentation.
4. Region merging.
Example usage:
%labels = colorImgSeg('images\sflowg.jpg', 12, 5, 10,0.35, 0.02, 0.88);
To run the code, you have to firstly generate the necessary dlls in
"local_min", "Jmap", "seededRegionGrowing" and "Region_merging"
in each folder, run the corresponding compling m-file to generate dlls, which are:
local_min_complie, Jmap_complie, seededRegionGrowing_complie, and RegionMerging_complie respectively.And then copy the corresponding dlls to the parent directory
reference:
[1]Yining Deng, B.S. Manjunath, Hyundoo Shin, "Color Image Segmentation,"
cvpr, vol. 2, pp.2446, 1999 IEEE Computer Society Conference on Computer
Vision and Pattern Recognition (CVPR'99)- Volume 2, 1999

Acknowledgement:
The author wish to thank Sebastien Paris for his detailly comments on compling and his useful suggestions to improve the code.

Cite As

Su Dongcai (2021). color image segmentation (https://www.mathworks.com/matlabcentral/fileexchange/29512-color-image-segmentation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
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!