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

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

[Octave-bug-tracker] [bug #62978] [octave forge] (image) applylut is not


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #62978] [octave forge] (image) applylut is not MATLAB compatible
Date: Mon, 29 Aug 2022 11:39:20 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62978>

                 Summary: [octave forge] (image) applylut is not MATLAB
compatible
                 Project: GNU Octave
               Submitter: avinoam
               Submitted: UTC 15:39:19 2022 אוג 29 ב'
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Avinoam
        Originator Email: 
             Open/Closed: Open
                 Release: other
         Discussion Lock: Any
        Operating System: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: UTC 15:39:19 2022 אוג 29 ב' By: Avinoam Kalma <avinoam>
While debugging bug#62452, I have seen the next example:


a = [
    0   0   0   0   0   0
   0   0   0   0   0   0
   0   0   0   0   0   0
   0   0   0   0   0   0
   0   0   1   1   0   0
   0   0   0   0   0   0
   0   0   1   0   0   0
   0   0   1   0   0   0
   0   0   0   0   0   0
   0   0   1   0   0   0
   0   0   0   1   0   0
   0   0   0   0   0   0
   0   0   0   1   0   0
   0   0   1   0   0   0
   0   0   0   0   0   0
   0   0   0   0   0   0
];
a = logical(a);
lut2 = false (512, 1);
lut2(19) = true;

applylut (a, lut2)


MATLAB and Octave give different results.









    _______________________________________________________

Reply to this item at:

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

_______________________________________________
נשלחה הודעה דרך Savannah
https://savannah.gnu.org/




reply via email to

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