[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46390] image package - im2bw interprets thres
From: |
Avinoam Kalma |
Subject: |
[Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab |
Date: |
Mon, 09 Nov 2015 20:10:41 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36 |
Follow-up Comment #5, bug #46390 (project octave):
About the first point, yes you are right, a fixed patch is attached.
About the second point, if you want to make thresh in the same class as the
image, you should use floor and casting, not round. If you will use round, you
will get the wrong result again. But there
is no difference in the result, if the thresh is left double or being floored,
so AFAIU there's no need to change the thresh from double (but maybe I'm
wrong?)
(file #35428)
_______________________________________________________
Additional Item Attachment:
File name: im2bw2.diff Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46390>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Hartmut, 2015/11/06
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Avinoam Kalma, 2015/11/08
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Hartmut, 2015/11/08
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Avinoam Kalma, 2015/11/08
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Hartmut, 2015/11/08
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab,
Avinoam Kalma <=
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Carnë Draug, 2015/11/10
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Avinoam Kalma, 2015/11/11
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Carnë Draug, 2015/11/12
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Carnë Draug, 2015/11/12
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Avinoam Kalma, 2015/11/12
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Carnë Draug, 2015/11/12
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Carnë Draug, 2015/11/12
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Avinoam Kalma, 2015/11/18
- [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab, Carnë Draug, 2015/11/20