An implementation of , it works in follows:
1. Compute the Jmap.
2. Compute the valleys of Jmap.
3. Valleys growing as the oversegmentation.
4. Region merging.
%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
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
The author wish to thank Sebastien Paris for his detailly comments on compling and his useful suggestions to improve the code.