?? applyior.m
字號(hào):
% 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
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -