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

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

[Octave-bug-tracker] [bug #61760] [octave forge] (image) imresize - anti


From: Christof Kaufmann
Subject: [Octave-bug-tracker] [bug #61760] [octave forge] (image) imresize - antialiasing is not implemented
Date: Wed, 19 Jan 2022 22:44:19 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0

Follow-up Comment #5, bug #61760 (project octave):

This is an update with the following improvements:
* The coding style is now more consistent.
* The type cast of the input image is now optimized. For 8 and 16 bit types
single precision is enough. A performance test is commented out at the
bottom.
* The implementation had issues when the resulting image gave a single row,
single column or single pixel. There are now new tests for that and the issue
is fixed of course.

Note: Lanczos2 and Lanczos3 are still not fixed. So, consider this still as
work in progress.

BTW: I attached the full file again. Are you OK with this or should I rather
attach a diff to the current tip? I did not reattach interp_method.m, since it
is unchanged from comment #4.

(file #52695)
    _______________________________________________________

Additional Item Attachment:

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



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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