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

[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: Sun, 7 Feb 2021 11:59:00 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #14, patch #9730 (project octave):

Testing the new version, I got:


>> test imfuse
***** xtest
 a = 0.1 * ones (50, 50);
 b = 0.2 * ones (50, 50);
 c = imfuse (a, b, "checkerboard", "Scaling", "none");
 d = repmat ([26 * ones (3), 51 * ones (3)
              51 * ones (3), 26 * ones (3)], [16, 16])(1:50, 1:50);
 assert (sum (c(:) == d(:)), 1412);
!!!!! known failure
index (50,_): out of bound 32 (dimensions are 32x64)
....


because the result of

d = repmat ([26 * ones (3), 51 * ones (3)
              51 * ones (3), 26 * ones (3)], [16, 16]);


is a 32x64 matrix

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9730>

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




reply via email to

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