[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46570] Image package: wrong result with edge
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #46570] Image package: wrong result with edge |
Date: |
Sun, 31 Jul 2016 17:27:30 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #11, bug #46570 (project octave):
So after this change, there's no difference between the sobel, prewitt, and
kirsch methods? Or am I missing something?
A small performance fix. In place operators reduce memory usage, so instead
of:
h1 = h1 ./ sum (sum (abs (h1)))
use:
h1 ./= sum (sum (abs (h1)))
Also, use `sum (abs (x(:)))` (unless you really are coding for ND and want to
normalize each plane by the sum of that plane, and on which case specify the
dimension number as part of the call to sum).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46570>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #46570] Image package: wrong result with edge, Carnë Draug, 2016/07/14
- [Octave-bug-tracker] [bug #46570] Image package: wrong result with edge, Hartmut, 2016/07/15
- [Octave-bug-tracker] [bug #46570] Image package: wrong result with edge, Carnë Draug, 2016/07/15
- [Octave-bug-tracker] [bug #46570] Image package: wrong result with edge, Carnë Draug, 2016/07/27
- [Octave-bug-tracker] [bug #46570] Image package: wrong result with edge, Hartmut, 2016/07/31
- [Octave-bug-tracker] [bug #46570] Image package: wrong result with edge,
Carnë Draug <=
- [Octave-bug-tracker] [bug #46570] Image package: wrong result with edge, Hartmut, 2016/07/31
- [Octave-bug-tracker] [bug #46570] Image package: wrong result with edge, Carnë Draug, 2016/07/31
- [Octave-bug-tracker] [bug #46570] Image package: wrong result with edge, Hartmut, 2016/07/31
- [Octave-bug-tracker] [bug #46570] Image package: wrong result with edge, Carnë Draug, 2016/07/31