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: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #56141] [octave forge] (image) bwmorph option 'endpoints' not implemented
Date: Sun, 28 Apr 2019 16:22:02 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

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

The definition of the algorithm is simple: a pixel is not removed if its value
is 1, and he has 0-7 consecutive neighbours, which means, that the ones in the
ring around it are all connected in 4-neigbourhood.

I am attaching:
1. A short program that implements this algorithm
2. A program which created the LUT (endpoints.m)
3. The LUT
4. diff of bwmorph

It is not completed yet, since I need to add some tests. They will be taked
from the comments below.

Please review (nrjank, Hartmut and Carne). Thanks.
 

(file #46847, file #46848, file #46849, file #46850)
    _______________________________________________________

Additional Item Attachment:

File name: bwmorph.diff                   Size:1 KB
    <https://savannah.gnu.org/file/bwmorph.diff?file_id=46847>

File name: endpoints.m                    Size:0 KB
    <https://savannah.gnu.org/file/endpoints.m?file_id=46848>

File name: __endpoints_fun__.m            Size:3 KB
    <https://savannah.gnu.org/file/__endpoints_fun__.m?file_id=46849>

File name: lut.txt                        Size:1 KB
    <https://savannah.gnu.org/file/lut.txt?file_id=46850>



    _______________________________________________________

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]