|
From: | Avinoam Kalma |
Subject: | [Octave-bug-tracker] [bug #51769] [octave forge] (image) imresize bilinear interpolation inaccurate |
Date: | Tue, 9 Mar 2021 16:53:37 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36 |
Follow-up Comment #18, bug #51769 (project octave): @Christof: You are right. When using a double image, Matlab result and your result are almost the same. In uint8 images there are differences. It seems that Matlab does not do round(double image). Since the difference is at most 1 gray level, this is acceptable. Now to bicubic interpolation: There are big differences bwtween Octave result (yours) and Matlab result at the borders. The size of the borders with error depends on the scale change. Is there a simple way to fix this? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?51769> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |