[Top][All Lists]

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

[Octave-bug-tracker] [bug #51884] [octave forge] (image) bwmorph(blackNw

From: anonymous
Subject: [Octave-bug-tracker] [bug #51884] [octave forge] (image) bwmorph(blackNwhiteMatrix, "thicken", 1) returns negated result (+ strange behavior at border)
Date: Mon, 3 Dec 2018 04:05:09 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #12, bug #51884 (project octave):

The Patch (by HG2 in file #41737; see comment#11) looks fine to

I would suggest to append to the very last test case:

   %! bw = false (3, 3); 
   %! bw(3, 1) = true;
   %! out = bwmorph(bw, "thicken", 4);
   %! assert (out, true (3, 3));

the assert statement:

   %! assert (out, true (1, 3));

as another important relation in the corresponding context. (For
bwmorph(bw, "thicken", 3) the upper right corner would be 'false'; since we
are thickening with '4' the corner gets filled,  too).

Vielen Dank, dass Sie sich um die Einpflegung des Verbesserungsvorschlages zu
bwmorph() kümmern!


hans messner


Reply to this item at:


  Message sent via Savannah

reply via email to

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