Efficient Graph based image segmentation

版本 1.1.0.0 (172.1 KB) 作者: Su Dongcai
A new version of previous program, support color image.
6.1K 次下载
更新时间 2010/12/6

查看许可证

This is an implementation of [1]. The result is slightly different from website[1], because we apply adjacent neighborhood rather than K nearest neighborhood. The following is an example usage:
%complie:(only once)
GraphSeg_complie
%Read an image
img = imread('images\rice.jpg');
%segmentation
[L, contour] = graph_segment(img, 1, 3, 100);
%display result
subplot(2, 1, 1), imshow(img), title('original image'); subplot(2, 1, 2), imshow(label2rgb(L)),title('segmented result');

[1]Efficient Graph-Based Image Segmentation
Pedro F. Felzenszwalb and Daniel P. Huttenlocher
International Journal of Computer Vision, Volume 59, Number 2, September 2004
http://people.cs.uchicago.edu/~pff/segment/

引用格式

Su Dongcai (2026). Efficient Graph based image segmentation (https://ww2.mathworks.cn/matlabcentral/fileexchange/29299-efficient-graph-based-image-segmentation), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14SP1
兼容任何版本
平台兼容性
Windows macOS Linux
版本 已发布 发行说明
1.1.0.0

supply compling m-file make it independent to the operating systems

1.0.0.0