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: Hartmut
Subject: [Octave-bug-tracker] [bug #46099] image package: edge(I, 'canny') gives very bad quality results
Date: Mon, 07 Dec 2015 19:33:47 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

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

Nice to hear my patch made it :)

Some comments:
* I intentionally made the filtering along the two dimensions seperatly,
because this should execute significantly FASTER. The gaussian filter become
quite big in size for the Canny detector (default is already 16x16). The
results of your 2D-gaussian filter will probably be 100% the same. But please
double check the run time (also with bigger values of sigma) before pushing
your 2D-filter patch. Even sigma values of several hundreds (e.g. 300) are a
reasonable use case! This is because this parameter determines the size of the
edges you are looking for.
* Nice to hear that even the THRESHOLD values are Matlab compatible for my two
tests.
* About the AUTOMATIC THRESHOLDS not always being Matlab compatible: I think I
have seen this happen. But I do not have a (failing) test at hand for this,
sorry. (Yes, I meant the thresholds that are used by edge.m, when the user
does not give any explicit threshold values.)
* About the CONNECTIVITY of the Canny edge results: You are right, when I look
at some results with my input images, then all contours are 8-connected,
meaning they sometimes do have only a diagonal connection. This means the
background is only separated into two separate regions, if you use
4-connectivity for the background. But I have no insight what this means for
your tested implementation with imreconstruct.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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