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

📄 gaborfiltermap.m

📁 显著区域检测。求的图像中感兴趣区域的位置
💻 M
字号:
% gaborFilterMap - compute a gabor-filtered version of a map.%% result = gaborFilterMap(map,gaborParams,angle)%    Convolves the map data with a gabor filter with%    gaborParams at orientation angle.%%    gaborParams is a struct with the following fields:%       filterPeriod - the period of the filter in pixels%       elongation - the ratio of length versus width%       filterSize - the size of the filter in pixels%       stddev - the standard deviation of the Gaussian in pixels%% See also makeGaborFilter, makeOrientationPyramid, defaultSaliencyParams.% 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 resultMap = gaborFilterMap(map,gaborParams,angle)% create the filtersgf = makeGaborFilter(gaborParams, angle);% convolve the map with the filtersfor p = 1:length(gaborParams.phases)  fres(:,:,p) = mexConv2PreserveEnergy(map.data,gf(:,:,p));  endresultMap.origImage = map.origImage;resultMap.label = sprintf('Gabor%3.1f',angle);resultMap.data = sum(abs(fres),3);resultMap.date = timeString;resultMap.parameters.gaborParams = gaborParams;

⌨️ 快捷键说明

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