isfeatim.m

来自「模式识别工具箱。非常丰富的底层函数和常见的统计识别工具」· M 代码 · 共 32 行

M
32
字号
%ISFEATIM%% N = ISFEATIM(A);%% INPUT%   A   Input dataset%% OUTPUT%   N   1/0 if dataset A does/doesn't contain images%% DESCRIPTION% True if dataset contains features that are images.%% SEE ALSO% ISDATASET, ISMAPPING, ISDATAIM% $Id: isfeatim.m,v 1.2 2006/03/08 22:06:58 duin Exp $function n = isfeatim(a)		prtrace(mfilename);	% When the field objsize contains a vector instead of a scalar, the	% features inside the dataset are images:	n = isa(a,'dataset') & length(a.objsize) > 1;	if (nargout == 0) & (n == 0)		error([newline '---- Dataset with feature images expected -----'])	endreturn;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?