Commit [006ab9] default  Maximize  Restore  History

im2bw: implement behaviour for unrecognized numeric matrices.

* im2bw.m: use the isimage() private function to check input. For binary
matrices return the input (do nothing, even if thresh is 0). Don't require
threshold input to be of class double. Treat any matrix of weird dimensions
as grayscale, i.e., no conversion, just threshold it.

Carnë Draug Carnë Draug 2013-11-13

changed inst/im2bw.m
inst/im2bw.m Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks