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

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

[Octave-bug-tracker] [bug #54974] [octave forge] (image) incompatible re


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #54974] [octave forge] (image) incompatible results of entropy.m
Date: Tue, 6 Nov 2018 15:25:50 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36

Update of bug #54974 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #3:

Reading Matlab documentation:

"entropyfilt converts any class other than logical to uint8 for the histogram
count calculation so that the pixel values are discrete and directly
correspond to a bin value",

So if you use in the examples:


C = uint8([1 1 1; 2 2 2; 3 3 3]);
D = C';
E = uint8(ones (3,3));
E(2,2) = 2;
F = uint8(3 .* ones (3,3));
 

You will see that Octave results are similar to Matlab results, on uint8
matrices.

 

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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