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

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

[Octave-bug-tracker] [bug #62452] [octave forge] (image) bwmorph spur pr


From: anonymous
Subject: [Octave-bug-tracker] [bug #62452] [octave forge] (image) bwmorph spur produces wrong result
Date: Tue, 17 May 2022 23:21:29 -0400 (EDT)

Follow-up Comment #7, bug #62452 (project octave):

Thanks!
It seems that the behavior is different on borders. Could you please run this
on MATLAB?


a = {[
  1 0 1
  0 0 0
  1 0 1  
];[
  0 0 1 0 0
  0 0 0 0 0
  1 0 1 0 1
  0 0 0 0 0
  0 0 1 0 0
];[
  1 1 0 1
  0 0 0 1
  1 0 0 0
  1 0 1 1
];[
  1 0 1 1
  1 0 0 0
  0 0 0 1
  1 1 0 1
];[
  0 1 0 0 0
  0 1 0 1 1
  0 0 0 0 0
  1 1 0 1 0
  0 0 0 1 0
];[
  0 1 1 0 0
  0 0 0 0 1
  1 0 0 0 1
  1 0 0 0 0
  0 0 1 1 0
];[
  1 0 0 1 0 0 1 0
  0 1 0 0 1 0 0 1
  0 0 0 0 0 0 0 0
  1 0 0 1 0 0 1 0
  0 1 0 0 1 0 0 1
  0 0 0 0 0 0 0 0
  1 0 0 1 0 0 1 0
  0 1 0 0 1 0 0 1
];[
  0 1 0 0 1 0 0 1
  1 0 0 1 0 0 1 0
  0 0 0 0 0 0 0 0
  0 1 0 0 1 0 0 1
  1 0 0 1 0 0 1 0
  0 0 0 0 0 0 0 0
  0 1 0 0 1 0 0 1
  1 0 0 1 0 0 1 0
]}

b = cellfun (@(x) {bwmorph(x, 'spur')}, a)



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62452>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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