octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61754] Bicubic interpolation in interp2() inc


From: Rik
Subject: [Octave-bug-tracker] [bug #61754] Bicubic interpolation in interp2() incompatible with Matlab
Date: Sun, 6 Feb 2022 19:15:23 -0500 (EST)

Follow-up Comment #13, bug #61754 (project octave):

I made a few small changes to follow Octave coding conventions here
(http://hg.savannah.gnu.org/hgweb/octave/rev/95ee9b9605cc).

I did a minimal check on performance with


z = rand (1e3, 1e3);
tic; zi = interp2 (z, 2, "cubic"); toc


Result was 0.8 seconds.  Seems fine for me, but I don't know what size
datasets people usually use.  I think I did notice a for loop which might be
slow.  Since there is a kernel being applied would conv2() or filter2() be
faster alternatives?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61754>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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