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, 3 Mar 2021 03:28:28 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0

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

Thanks for the checks. I fixed the issue with multi-channel images and added a
corresponding test, for 1 to 3 channels and for "nearest", "bilinear" and
"bicubic". It just checks that resizing a multi-channel image is equivalent to
resizing the channels separately.

Regarding the gray level difference: The tests have a tolerance of 1. It might
be a rounding issue (tie break), I forgot. Should we investigate this or use
tolerances only at tie breaks in the test?

(file #50977, file #50978)
    _______________________________________________________

Additional Item Attachment:

File name: imresize.diff                  Size:18 KB
    <https://file.savannah.gnu.org/file/imresize.diff?file_id=50977>

File name: imresize.m                     Size:15 KB
    <https://file.savannah.gnu.org/file/imresize.m?file_id=50978>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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