[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48942] Process image take long time
From: |
Andreas Weber |
Subject: |
[Octave-bug-tracker] [bug #48942] Process image take long time |
Date: |
Mon, 29 Aug 2016 18:28:06 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #1, bug #48942 (project octave):
It is known that for loops are slow in Octave. You should vectorize your code
(which is easy, there is no reason to use for loops here) or just use imadd
from the image package:
pkg load image
c = imadd (a, b, "uint8");
Closing as invalid because this isn't a bug.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48942>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/