|
From: | Hartmut |
Subject: | [Octave-bug-tracker] [bug #46547] image package: canny detector in edge() should use LoG as first step |
Date: | Mon, 07 Dec 2015 22:24:41 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
Follow-up Comment #6, bug #46547 (project octave): (This drives me crazy...) Could someone please test, if the script of the original bug post gives a roughly Matlab compatible result, if you do the following change in edge.m? - Es = sqrt ( Jx.^2 + Jy.^2 ); + Es = sqrt ( Jx.^2 + Jy.^2 ); + Es_max = max(Es(:)); + if Es_max > 0 + Es = Es ./ Es_max; + endif (I think I've seen this work fine. But I start mixing up file versions now...) This change is ment to be used additionally to the introduction of some kind of im2double at the beginning of the Canny routine. (see last post) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46547> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |