[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #9730] [octave forge] (image) new function
From: |
Avinoam Kalma |
Subject: |
[Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse |
Date: |
Tue, 9 Feb 2021 01:45:25 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36 |
Follow-up Comment #16, patch #9730 (project octave):
I have checked the first failure.
There are two problems:
The first problem is in checkerboard_mask.
Actually, the problem is in imresize, and it seems to be bug#51769 &
bug#57504.
A workaround, until we fix imresize, can be to change the line
c = logical (imresize (v, [m, n], "nearest"));
to:
xi = (0.5:n-0.5)*16/n + 0.5;
yi = (0.5:m-0.5)*16/m + 0.5;
[XI, YI] = meshgrid (xi, yi);
c = logical (imremap (v, XI, YI, "nearest"));
The 2nd problem is that
%! d = repmat ([black_tile, white_tile
%! white_tile, black_tile], [16, 16]);
%! d = d (1:50, 1:50);
Is not the correct result.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?9730>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Hartmut, 2021/02/01
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Martin Janda, 2021/02/01
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Avinoam Kalma, 2021/02/02
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Martin Janda, 2021/02/04
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Martin Janda, 2021/02/05
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Avinoam Kalma, 2021/02/05
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Martin Janda, 2021/02/05
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Avinoam Kalma, 2021/02/07
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Martin Janda, 2021/02/07
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Martin Janda, 2021/02/07
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse,
Avinoam Kalma <=
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Martin Janda, 2021/02/10
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Avinoam Kalma, 2021/02/28
- [Octave-patch-tracker] [patch #9730] [octave forge] (image) new function imfuse, Hartmut, 2021/02/28