applyior.m
来自「显著区域检测。求的图像中感兴趣区域的位置」· M 代码 · 共 39 行
M
39 行
% applyIOR - applies inhibition of return.%% wta = applyIOR(oldWTA,winner,saliencyParams)% Applies inihibition of return to the winner-take-all% network as specified in saliencyParams.IORtype.%% wta = applyIOR(oldWTA,winner,saliencyParams,shapeData)% For saliencyParams.IORtype = 'shape', the shapeData% from estimateShape are needed.%% See also diskIOR, shapeIOR, estimateShape, runSaliency, dataStructures.% This file is part of the SaliencyToolbox - Copyright (C) 2006-2007% by Dirk B. Walther and the California Institute of Technology.% See the enclosed LICENSE.TXT document for the license agreement. % More information about this project is available at: % http://www.saliencytoolbox.netfunction wta = applyIOR(oldWTA,winner,params,varargin)switch params.IORtype case 'None' wta = oldWTA; case 'disk' wta = diskIOR(oldWTA,winner,params); case 'shape' if (isempty(varargin)) fatal('shapeIOR requires shapeData as an additional argument!'); end if (isempty(varargin{1})) wta = diskIOR(oldWTA,winner,params); else wta = shapeIOR(oldWTA,winner,params,varargin{1}); end otherwise fatal(['Unknown IORtype: ' params.IORtype]);end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?