Code covered by the BSD License  

Highlights from
Efficient Graph based image Segmentation

4.75

4.8 | 4 ratings Rate this file 94 Downloads (last 30 days) File Size: 1.13 MB File ID: #25866
image thumbnail

Efficient Graph based image Segmentation

by Su Dongcai

 

17 Nov 2009 (Updated 24 Nov 2009)

A simple and efficient graph based image segmentation algorithm

| Watch this File

File Information
Description

This file is an implementation of an image segmentation algorithm described in reference[1], the result of segmentation was proven to be neither too fine nor too coarse. A toolbox regarding to the algorithm was also avalible in reference[2], however, a toolbox in matlab environment is excluded, this file is intended to fill this gap.

To duplicate the result of the screenshot, please run:
test_GraphSeg

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

Acknowledgement:
The Author want to thanks:
[1] Yan Zhang
      2D/3D image segmentation toolbox
      http://www.mathworks.com/matlabcentral/fileexchange/24998-2d3d-image-segmentation-toolbox
For his "binaryHeap.h" class in cpp
[2] Dirk-Jan Kroon
      Image Edge Enhancing Coherence Filter Toolbox
      http://www.mathworks.com/matlabcentral/fileexchange/25449-image-edge-enhancing-coherence-filter-toolbox
For the "Coherence Filter Toolbox" he provided
And
[3] Luigi Giaccari
      FAST K-NEAREST NEIGHBOURS SEARCH 3D VERSION
      http://www.mathworks.com/matlabcentral/fileexchange/24607-fast-k-nearest-neighbours-search-3d-version
For the fast implementation of K-NEAREST NEIGHBORS SEARCH in 3D.

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (13)
29 Nov 2009 zaheer ahmad

I thin it would be better if you convert all the code into Matlab as stil main code is in C++.

29 Nov 2009 Su Dongcai

Hi zaheer ahmad:
   Thanks for your comment, you are right, the main routine "GraphSeg.h" was still written in C++. Sorry to disappoint you, I'm not familiar of working with pointers in matlab, I'm a c programer before a matlab coder. However, I'll be very happy if you or someone else could fill this gap:).

18 Jan 2010 piji li

很好很强大 正在找呢

Perfect!

24 Feb 2010 aber zhao

if the input is the 3 D range image, how can i make this work? thx

26 Feb 2010 Su Dongcai

Hi zhao:
  Good question. According to paper [1], the segmented result of multi-channel image is done by intersection of single-channel image segmentation result. I will update this vision and make it work for color image segmentation later soon. Thanks for your comment.

04 Sep 2010 nivitha

i'm new to matlab.pls temme how to run all those program...
pls help me soon
thid id ma id (niviadmires@gmail.com)

09 Sep 2010 Chao Zeng

Good work!

One problem. The following information appears on the command window when I try to run test_GraphSeg.m.
"COMPILING:
Error: Could not detect a compiler on local system
which can compile the specified input file(s) at C:\Program Files\MATLAB71/bin/mexsetup.pm line 501.
??? Error using ==> mex
Unable to complete successfully

Error in ==> test_GraphSeg at 30
mex GraphSeg_mex.cpp"

What's wrong? Thank you

20 Sep 2010 Pindi Mani

Please.... As i'm new to matlab.... please tell me how to run this program....

Can u give all the commands to run this program in matlab.....
Soon....
My email id is linda_mgnl@hotmail.com

Thank you

21 Sep 2010 Pindi Mani

Hi...
Please tell me how to run this code..... As i am new to MatLab i do not know....
Please tell me the commands and which file to run....
plz tell me soon......
My email_id is linda_mgnl@hotmail.com
Expecting a reply soon....
Thank you

06 Oct 2011 bailjung

Can input another image??

24 Oct 2011 woon cho  
21 Nov 2011 Green amy

want to download it

14 Dec 2011 reena

sir can u please tell how u have loaded image of the clown, i want to try this with different images please tell me the steps....

Please login to add a comment or rating.
Updates
24 Nov 2009

Make the name of the title, tags, and reference more accurate

Tag Activity for this File
Tag Applied By Date/Time
image processing Su Dongcai 17 Nov 2009 10:44:07
kruskal Su Dongcai 17 Nov 2009 10:44:07
minimum span tree Su Dongcai 17 Nov 2009 10:44:07
fine Su Dongcai 17 Nov 2009 10:44:07
image segmentation Su Dongcai 17 Nov 2009 10:44:07
graph Su Dongcai 17 Nov 2009 10:44:07
coarse Su Dongcai 17 Nov 2009 10:44:07
image segmentation Nataraj K S 24 Sep 2011 06:04:32

Contact us at files@mathworks.com