|
From: | Hartmut |
Subject: | [Octave-bug-tracker] [bug #46390] image package - im2bw interprets threshold slightly different than Matlab |
Date: | Sun, 08 Nov 2015 20:29:53 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
Follow-up Comment #2, bug #46390 (project octave): The provided patch looks reasonable to me for input images of the classes uint8 and uint16. But I think it will produce wrong results with int16 images because intmin('int16') = -32768. But there should be an easy way to improve this patch, by additionally using the intmin value of the input class. _______________________________________________________ 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] |