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

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

[Octave-bug-tracker] [bug #56141] [octave forge] (image) bwmorph option


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #56141] [octave forge] (image) bwmorph option 'endpoints' not implemented
Date: Mon, 22 Apr 2019 22:12:20 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299

Follow-up Comment #15, bug #56141 (project octave):

I spent a little time looking at any other algorithms, and haven't found many.
One thing a number of people on stackexchange pointed to was called the 'hit
and miss' algorithm. Even after reading about it I don't get the meaning of
the name, but the description is at:

http://homepages.inf.ed.ac.uk/rbf/HIPR2/hitmiss.htm

according to them, endpoints of a skeleton (1 pixel wide) image is
accomplished by applying all four rotations of the :


X X X
0 1 0
0 0 0 
 

stencil (X indicates you don't care what that cell is, any combination of 1s
and 0s will pass)

This makes perfect sense, and I could code up a quick function to generate a
LUT, but it should give a zero for the first example in Comment #7 and the
second example in Comment #11.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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