⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clamp.m

📁 显著区域检测。求的图像中感兴趣区域的位置
💻 M
字号:
% clamp - clamps data at the top and/or bottom.%% data = clamp(data,bottom,top)%    Sets all values of data that are less than bottom to bottom,%    and all values greater than top to top.%% data = clamp(data,bottom)%    Sets all values less than bottom to bottom.%    % data = clamp(data,[],top)%    Sets all values greater than top to top.% 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 data = clamp(data,bottom,varargin)if ~isempty(bottom)  data(data < bottom) = bottom;endif ~isempty(varargin)  data(data > varargin{1}) = varargin{1};end

⌨️ 快捷键说明

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