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

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

[Octave-bug-tracker] [bug #60322] [octave forge] (image) imresize bicubi


From: Christof Kaufmann
Subject: [Octave-bug-tracker] [bug #60322] [octave forge] (image) imresize bicubic interpolation inaccurate
Date: Sat, 10 Apr 2021 17:31:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

Follow-up Comment #9, bug #60322 (project octave):

Thanks for your comments.

* So, I found a quite recent thread
<https://octave.1599824.n4.nabble.com/Unit-tests-td4691577.html> about unit
testing local functions. So it is not really possible.

* I seem to have tested everything (partially implicitly) except the padding
function. I checked it manually, but I have to add a unit test for it.
Actually I can test it indirectly. I haven't thought about it before. So there
is no need for making it global.

* I will revert the demo changes. However, I think that RGB images are indeed
interpolated channel-wise. Just out of curiosity, what is the alternative from
your experience?

I prepared an updated patch (appended), so Avinoam does not need to look at
outdated code.

(file #51235)
    _______________________________________________________

Additional Item Attachment:

File name: bicubicpatch2.diff             Size:15 KB
    <https://file.savannah.gnu.org/file/bicubicpatch2.diff?file_id=51235>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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