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

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

[Octave-bug-tracker] [bug #46099] image package: edge(I, 'canny') gives


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #46099] image package: edge(I, 'canny') gives very bad quality results
Date: Wed, 02 Dec 2015 18:08:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.4.0

Follow-up Comment #6, bug #46099 (project octave):

While trying to get some tests for canny (we have none at the moment so it
makes it tricky to test anything), I came up with a simplication of the
hysteresis step.  It seems to me that it can be replaced with imreconstruct
(or bwselect), like so:


-      bw = nonmax_supress(Es, Eo, thresh(1), thresh(2));
+      sup = nonmax_supress (Es, Eo);
+      bw = imreconstruct (sup > thresh(2), sup > thresh(1), 8); # hysteresis


My understanding of hysteresis is that this should be equivalent but running
some tests, I do not get the same values.  It may be a mistake on my part or
it may be that part of the bad quality results are also on the hysteresis
step.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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