|
From: | Hartmut |
Subject: | [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab |
Date: | Sun, 08 Nov 2015 21:23:25 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
Follow-up Comment #4, bug #46390 (project octave): In principle yes, but I still see some problems with it: * (intmax(cls) - imin) does NOT work. Give it a try with cls='int16' on the command line. Those numbers need to be transformed for example to class double before a big values like 65535 can be hold within a variable of this type at all. * The resulting class of thresh should NOT be double, as it is in your patch right now. But thresh needs to have the class of the input image (as it was in the original code). Sorry, I dont' have enough time to further think about it now. I will try to come back to this at the end of the week. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46390> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |