[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61845] [octave forge] (image) speed of imrota
From: |
Christof Kaufmann |
Subject: |
[Octave-bug-tracker] [bug #61845] [octave forge] (image) speed of imrotate with bicubic interpolation increased |
Date: |
Wed, 19 Jan 2022 11:56:41 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0 |
Follow-up Comment #3, bug #61845 (project octave):
Meanwhile I implemented also the other methods including "nearest" and
"bilinear" using convolutions to support anti-aliasing in imresize, see bug
#61760 (not yet pushed, but I already have to submit an update soon). I could
see a large speedup in bilinear interpolation as well. So I guess the approach
is more efficient.
I just submitted a patch for interp2.m in bug #61754, which implements bicubic
interpolation there. This could be extended to bilinear interpolation with
only a few lines of code, if the performance improvement can be confirmed.
This would lead to a performance improvement of imremap as well.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61845>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/