color image segmentation
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.
Zitieren als
Su Dongcai (2025). color image segmentation (https://de.mathworks.com/matlabcentral/fileexchange/29512-color-image-segmentation), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Color Segmentation >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
ColorImageSegmentation/
ColorImageSegmentation/CoherenceFilter/
ColorImageSegmentation/CoherenceFilter/functions/
ColorImageSegmentation/CoherenceFilter/functions2D/
ColorImageSegmentation/CoherenceFilter/functions3D/
ColorImageSegmentation/Jmap/
ColorImageSegmentation/Region_merging/
ColorImageSegmentation/local_min/
ColorImageSegmentation/seededRegionGrowing/
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.3.0.0 | modify the description make the instruction correctly to the new file |
||
| 1.2.0.0 | replace the kmeans function with rgb2ind, supply the compling m-files |
||
| 1.0.0.0 |
