octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45142] image package: strel disk does not wor


From: H. G.
Subject: [Octave-bug-tracker] [bug #45142] image package: strel disk does not work any more
Date: Tue, 19 May 2015 15:47:21 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

Follow-up Comment #2, bug #45142 (project octave):

In my documentation I read

 
 -- Function File: strel ("disk", RADIUS)
 -- Function File: strel ("disk", RADIUS, N)
     Create disk shaped flat structuring element.  RADIUS must be a
     positive integer.

     The optional N argument *must* have a value of zero but the default
     value is 4.  This is to prevent future backwards incompatibilty
     since MATLAB default is also 4 but at the moment only 0 has been
     implemented.



And I am trying to set the FIRST parameter RADIUS to 4 (which is a positive
integer) and leave the SECOND parameter N empty. This is valid syntax
according to the above quote. But strel only works if I also explicitly set
the second parameter N to something (and the only implemented choice is 0). So
this does still work:

 
disk = strel('disk', 4, 0); 


...

!! And now I have just realised that this totally what the doc says!! So just
close this bug report please.

This new behavior makes my current scripts not work anymore :( But seems that
I need to wait until N=4 (which is the default Matlab, and image-2.4.0 values)
will be implemented at some time in the future.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45142>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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