help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fresh install, bwmorph running into Index exceeds matrix dimension


From: Søren Hauberg
Subject: Re: fresh install, bwmorph running into Index exceeds matrix dimension
Date: Wed, 04 Nov 2009 19:30:34 +0100

ons, 04 11 2009 kl. 13:14 -0500, skrev Charlton Galvarino:
> octave:2> BW = imread('/home/cpurvis/Temp/20091002fronts.gif');
> octave:3> BW2 = bwmorph(BW,'thin');
> error: A(I): Index exceeds matrix dimension.
> error: called from:
> error:   /usr/local/octave/share/octave/packages/image-1.0.10/applylut.m at 
> line 44, column 4
> error: evaluating argument list element number 1
> error: evaluating argument list element number 1
> error:   /usr/local/octave/share/octave/packages/image-1.0.10/bwmorph.m at 
> line 551, column 5
> octave:3>

I cannot replicate this problem. Can you send the image to me or make it
available somewhere on the internet so I can try?

One problem might be that your image is not binary. What do you get when
you run

  class (BW)

you should get 'logical' if your image is indeed binary.

Søren



reply via email to

[Prev in Thread] Current Thread [Next in Thread]