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

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

[Octave-bug-tracker] [bug #44396] image package: bwmorph shrink does not


From: Cory Bloor
Subject: [Octave-bug-tracker] [bug #44396] image package: bwmorph shrink does not preserve Euler number
Date: Mon, 02 Mar 2015 01:37:14 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

Follow-up Comment #5, bug #44396 (project octave):

I was working from the 3rd edition of Digital Image Processing myself. After
noticing that this connectivity break would be prevented by the 'thin-only' L
Cluster pattern in Table 14.3-2, I examined the text in more detail. On page
416, it states 'The shrink and thin unconditional patterns are identical, as
shown in Table 14.3-2.' which is a bit contradictory.

Sure enough, in the 4th edition of Digital Image Processing, the 'L Cluster
(thin-only)' label in Table 14.3-2 was changed to just 'L Cluster'.

I'm afraid I haven't tested it in octave-image, but I've attached my attempt
at a fix.

Additionally, I noticed that the Skeletonize Unconditional Mark Patterns in
Table 14.3-3 also appear different in the 4th edition (p.440, 4th edition.
p.420, 3rd edition). That may be worth looking into.

(file #33224)
    _______________________________________________________

Additional Item Attachment:

File name: shrink-fix.diff                Size:1 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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