Code covered by the BSD License  

Highlights from
image segmentation using iterative watersheding plus ridge detection

3.8

3.8 | 5 ratings Rate this file 80 Downloads (last 30 days) File Size: 696 KB File ID: #21559
image thumbnail

image segmentation using iterative watersheding plus ridge detection

by

 

24 Sep 2008 (Updated )

image segmentation for grid-pattern

| Watch this File

File Information
Description

A demo for image segmentation using iterative watersheding plus ridge detection.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (14)
25 Feb 2014 Fahad Ahmed

i'm running your matlab code, when i run it on MATLAB R2011 i get the following error:

Error using .*
Integers can only be combined with integers of the same class, or scalar doubles.

Error in RemovePseudoContour (line 7)
Lmin = ordfilt2(L+bwbound.*(LABELNUM+1),1,ones(3,3)); %3-by-3 minimum filter

Error in test (line 81)
L1 = RemovePseudoContour(L1);
kindly tell me where the problem is, i'm also working on the same kind of problem, kindly get me out of it :(

06 Aug 2011 Thomas Cooke

Hi,
I am also seeing the error:
??? Attempted to access sval(34); index out of bounds because numel(sval)=33.

Error in ==> MarkPseudoBlob at 20
if( sval(i)<MERGETHRESH )

Error in ==> test at 77
L1 = MarkPseudoBlob( L1, bwridge, NUMTHRESH, MERGETHRESH );

I can send a copy of the image I'm using if you would like to try and reproduce the error. Thanks!

18 Jun 2011 kunshan

Very good

14 Jan 2011 ge kaile

hi,i want to use this code in my experiment,but when i use the code,matlab will show "can't find mode "in ModifyWaterShed M-file.

24 Aug 2010 wang

Hi,it's really a nice code,but it looks that a little error occurs in the 'dspimcat' function,
Is 'I2 = label2rgb(I2, 'summer', 'k', 'shuffle')' should be 'I2 = label2rgb(I1, 'summer', 'k', 'shuffle');'
and there is also a error ,it shows "CAT arguments dimensions are not consistent."

12 Jun 2010 Muhammad Nawaz

Good work, but unable to read HD images

30 Nov 2009 Ben

I sent you a email about my problem related to ridge detection. Please kindly reply my email. Thanks.

20 Nov 2009 Alireza Saberi  
06 Feb 2009 ucd puri

Hi, This seems very nice piece of code, but it is giving some error...
??? Attempted to access sval(3); index out of bounds because numel(sval)=2.

Error in ==> MarkPseudoBlob at 20
if( sval(i)<MERGETHRESH )

Error in ==> test at 78
L1 = MarkPseudoBlob( L1, bwridge, NUMTHRESH, MERGETHRESH );

i dont know why? plz help
Regards
tanuj

31 Jan 2009 Li CHEN

I have uploaded a paper to explain the method, hope this could be of some help to understant. Also, need several days for the website screening. 2009/2/1

23 Jan 2009 k sreenath

i am working on image segmentation by using growcut cellular automata method. i need the code regarding that one so please give some infiormation about my problem

14 Dec 2008 Li CHEN

I strongly suggest using MATLAB R2008a as some errors in earlier matlab version

21 Oct 2008 shashi tomar

there is not proper information abt the topic,,

01 Oct 2008 jichao zhao

Thank you very much, your codes are very helpful. I am working on a similar problem.

Updates
31 Jan 2009

paper draft expain the algorithm in detail

Contact us