File Exchange

image thumbnail

image segmentation using iterative watersheding plus ridge detection

version 1.5 (694 KB) by

image segmentation for grid-pattern

3.33333
6 Ratings

17 Downloads

Updated

View License

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

Comments and Ratings (16)

Seth

Seth (view profile)

Jonathan

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

Suggest you comment out:-
L1 = RemovePseudoContour(L1)
in test.m, line 85

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 :(

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!

kunshan

Very good

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.

wang

wang (view profile)

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."

Good work, but unable to read HD images

Ben

Ben (view profile)

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

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

Li CHEN

Li CHEN (view profile)

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

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

Li CHEN

Li CHEN (view profile)

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

shashi tomar

there is not proper information abt the topic,,

jichao zhao

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

Updates

1.5

paper draft expain the algorithm in detail

MATLAB Release
MATLAB 7.6 (R2008a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video