From: <car...@us...> - 2012-09-02 02:33:20
|
Revision: 10942 http://octave.svn.sourceforge.net/octave/?rev=10942&view=rev Author: carandraug Date: 2012-09-02 02:33:14 +0000 (Sun, 02 Sep 2012) Log Message: ----------- isbw: fix bug when input image has more than 2D. Modified Paths: -------------- trunk/octave-forge/main/image/inst/isbw.m Modified: trunk/octave-forge/main/image/inst/isbw.m =================================================================== --- trunk/octave-forge/main/image/inst/isbw.m 2012-09-02 02:31:53 UTC (rev 10941) +++ trunk/octave-forge/main/image/inst/isbw.m 2012-09-02 02:33:14 UTC (rev 10942) @@ -62,7 +62,7 @@ endfunction function bool = is_bw_nonlogical (BW) - bool = all (all ((BW == 1) + (BW == 0))); + bool = all ((BW == 1)(:) + (BW == 0)(:)); endfunction %!shared a This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |