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

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

[Octave-bug-tracker] [bug #51769] [octave forge] (image) imresize biline


From: Christof Kaufmann
Subject: [Octave-bug-tracker] [bug #51769] [octave forge] (image) imresize bilinear interpolation inaccurate
Date: Wed, 16 Aug 2017 17:15:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #1, bug #51769 (project octave):

So I made a patch for that:
https://bitbucket.org/ChristofKaufmann/octave-image/commits/branch/imresize-fix
(If you like to have a patch as attached file rather, please tell me.)

The problem in the original code were mainly the indices. These were quite
wrong. I fixed the indices, which changes the behaviour of all methods;
'bilinear' works now, 'nearest' was working and is still working, 'bicubic'
was not passing the test and is still not. So 'bicubic' might have to be
fixed. Also, anti-aliasing is not implemented yet.

The patch also updates the matlab reference outputs and adds and modifies a
few tests. It is split into two commits, since the first just makes a few
coding style changes, but does not change any behaviour. The second commit has
the real content.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51769>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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