ffisbw.m
上传用户:changqing
上传日期:2013-01-11
资源大小:2384k
文件大小:1k
- function y = ffisbw(x)
- %ISBW Return true for binary image.
- % FLAG = ISBW(A) returns 1 if A is a binary image and 0
- % otherwise.
- %
- % A is considered to be a binary image if it is a nonsparse
- % logical array.
- %
- % Class Support
- % -------------
- % A can be any MATLAB array.
- %
- % See also ISIND, ISGRAY, ISRGB.
- % Copyright 1993-2003 The MathWorks, Inc.
- % $Revision: 5.22.4.2 $ $Date: 2004/08/10 01:40:44 $
- iptchecknargin(1,1,nargin,mfilename);
- y = islogical(x) & ~issparse(x);