资源简介
学习图像处理,显著性检测的重要方法之一,这里提供了matlab源码给大家分享
代码片段和文件信息
function [outmotionInfo] = gbvs(imgparamprevMotionInfo)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% This computes the GBVS map for an image and puts it in master_map. %
% %
% If this image is part of a video sequence motionInfo needs to be recycled in a %
% loop and information from the previous frame/image will be used if %
% “flicker“ or “motion“ channels are employed. %
% You need to initialize prevMotionInfo to [] for the first frame (see demo/flicker_motion_demo.m) %
% %
% input %
% - img can be a filename or image array (double or uint8 grayscale or rgb) %
% - (optional) param contains parameters for the algorithm (see makeGBVSParams.m) %
% %
% output structure ‘out‘. fields: %
% - master_map is the GBVS map for img. (.._resized is the same size as img) %
% - feat_maps contains the final individual feature maps normalized %
% - map_types contains a string description of each map in feat_map (resp. for each index) %
% - intermed_maps contains all the intermediate maps computed along the way (act. & norm.) %
% which are used to compute feat_maps which is then combined into master_map %
% - rawfeatmaps contains all the feature maps computed at the various scales %
% %
% Jonathan Harel Last Revised Aug 2008. jonharel@gmail.com %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if ( strcmp(class(img)‘char‘) == 1 ) img = imread(img); end
if ( strcmp(class(img)‘uint8‘) == 1 ) img = double(img)/255; end
if ( (size(img1) < 128) || (size(img2) < 128) )
fprintf(2‘GBVS Error: gbvs() meant to be used with images >= 128x128\n‘);
out = [];
return;
end
if ( (nargin == 1) || (~exist(‘param‘)) || isempty(param) ) param = makeGBVSParams; end
[grf
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2668 2010-02-19 23:54 gbvs\algsrc\connectMatrix.m
文件 2137 2010-02-19 23:54 gbvs\algsrc\distanceMatrix.m
文件 942 2010-02-19 23:54 gbvs\algsrc\formMapPyramid.m
文件 110 2010-02-19 23:54 gbvs\algsrc\getDims.m
文件 1997 2010-02-19 23:54 gbvs\algsrc\graphsalapply.m
文件 1026 2010-02-19 23:54 gbvs\algsrc\graphsalinit.m
文件 104 2010-02-19 23:54 gbvs\algsrc\indexmatrix.m
文件 1827 2010-12-10 23:53 gbvs\algsrc\initGBVS.m
文件 945 2010-02-19 23:54 gbvs\algsrc\makeLocationMap.m
文件 1342 2010-02-19 23:54 gbvs\algsrc\mexArrangeLinear.cc
文件 6982 2010-02-19 23:54 gbvs\algsrc\mexArrangeLinear.mexa64
文件 5265 2010-02-19 23:54 gbvs\algsrc\mexArrangeLinear.mexglx
文件 8816 2010-03-02 17:47 gbvs\algsrc\mexArrangeLinear.mexmaci
文件 8736 2010-03-02 22:36 gbvs\algsrc\mexArrangeLinear.mexmaci64
文件 6144 2010-02-19 23:54 gbvs\algsrc\mexArrangeLinear.mexw32
文件 8192 2010-02-19 23:54 gbvs\algsrc\mexArrangeLinear.mexw64
文件 1836 2010-02-19 23:54 gbvs\algsrc\mexAssignWeights.cc
文件 7240 2010-02-19 23:54 gbvs\algsrc\mexAssignWeights.mexa64
文件 5325 2010-02-19 23:54 gbvs\algsrc\mexAssignWeights.mexglx
文件 8796 2010-03-02 17:47 gbvs\algsrc\mexAssignWeights.mexmaci
文件 8720 2010-03-02 22:36 gbvs\algsrc\mexAssignWeights.mexmaci64
文件 6144 2010-02-19 23:54 gbvs\algsrc\mexAssignWeights.mexw32
文件 7680 2010-02-19 23:54 gbvs\algsrc\mexAssignWeights.mexw64
文件 645 2010-02-19 23:54 gbvs\algsrc\mexColumnNormalize.cc
文件 6758 2010-02-19 23:54 gbvs\algsrc\mexColumnNormalize.mexa64
文件 4945 2010-02-19 23:54 gbvs\algsrc\mexColumnNormalize.mexglx
文件 8780 2010-03-02 17:47 gbvs\algsrc\mexColumnNormalize.mexmaci
文件 8704 2010-03-02 22:36 gbvs\algsrc\mexColumnNormalize.mexmaci64
文件 6144 2010-02-19 23:54 gbvs\algsrc\mexColumnNormalize.mexw32
文件 7680 2010-02-19 23:54 gbvs\algsrc\mexColumnNormalize.mexw64
............此处省略194个文件信息
- 上一篇:卡尔曼滤波基础及matlab仿真程序-王可东
- 下一篇:超声成像
相关资源
- 图像显著性检查GBVS、Itti、SR(Spectr
- 显著性检测GR算法--Matlab
- 显著性检测COV算法--MATLAB
- 显著性检测——LC算法matlab实现
- 显著性检测方法:LCmatlab实现)
- 图像显著性检测的文章及代码
- 显著性检测—HCmatlab版
- MSER matlab代码
- Itti经典的视觉显著性检测代码
- 显著性检测Context-Aware Saliency Detectio
- 图像显著性检测
- 显著性检测SWD--Matlab
- 显著性检测SIM算法--Matlab
- 显著性检测SR算法--Matlab
- 显著性检测CA算法--Matlab
- 自己写的GBVS(matlab代码)非常简单简
- crf图像显著性检测
- 显著性检测PR曲线
- 图像显著性检测算法
- CA显著性检测算法matlab可运行代码.z
- 显著性检测代码
- gbvs 二维图像视觉显著性检测
- gbvs 静态图像显著性分析程序
- SUN-saliency
- SR 侯晓迪的显著性检测模型SR的matla
- HC 本代码是程明明2011发表的文章 基于
评论
共有 条评论