资源简介
基于粒子滤波算法的多目标跟踪系统matlab源代码。实现视频图像中多物体检测、跟踪。很好的视频多物体跟踪学习源码。
代码片段和文件信息
function p = genpathKO(d)
% slightly modified version of genpathKPM() by Kevin M.
% genpathKPM Like built-in genpath but omits directories whose name is ‘Old‘ ‘old‘ or ‘CVS‘ or ‘SVN‘
% function p = genpathKO(d)
if nargin==0
p = genpath(fullfile(matlabroot‘toolbox‘));
if length(p) > 1 p(end) = []; end % Remove trailing pathsep
return
end
% initialise variables
methodsep = ‘@‘; % qualifier for overloaded method directories
p = ‘‘; % path to be returned
% Generate path based on given root directory
files = dir(d);
if isempty(files)
return
end
% Add d to the path even if it is empty.
p = [p d pathsep];
% set logical vector for subdirectory entries in d
isdir = logical(cat(1files.isdir));
%
% Recursively descend through directories which are neither
% private nor “class“ directories.
%
dirs = files(isdir); % select only directory entries from the current listing
for i=1:length(dirs)
dirname = dirs(i).name;
if ~strcmp( dirname‘.‘) & ...
~strcmp( dirname‘..‘) & ...
~strncmp( dirnamemethodsep1)& ...
~strcmp( dirname‘private‘) & ...
~strcmp( dirname ‘CVS‘) & ...
~strcmp( dirname ‘SVN‘) & ... % added by KO
~strcmp( dirname ‘.svn‘) & ... % added by KO
isempty(strfind(dirname ‘Old‘)) & ...
isempty(strfind(dirname ‘old‘))
p = [p genpathKO(fullfile(ddirname))]; % recursive calling of this function.
end
end
%------------------------------------------------------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 532 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\Contents.m
文件 4032 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\demo.m
文件 246 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\display.m
文件 2188 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\get.m
文件 1333 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\gethistogram.m
文件 2395 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\MColorHistogramHSV.m
文件 489 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\private\approxeq.m
文件 1024 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\private\computeCache.m
文件 441 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\private\computeIndexImage.m
文件 137 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\private\displayProperties.m
文件 2731 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\private\generateWindows.m
文件 1238 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\private\gethistogram_builtin.m
文件 1423 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\private\gethistogram_local.m
文件 886 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\private\makeStochastic.m
文件 864 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\private\normalise.m
文件 4526 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\private\process_options.m
文件 378 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\private\setimage.m
文件 2430 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\set.m
文件 2487 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\test.m
文件 603 2007-01-23 09:26 BPF\BPF\@MColorHistogramHSV\visualize.m
文件 820 2007-01-23 09:26 BPF\BPF\@MImage\Contents.m
文件 353 2007-01-23 09:26 BPF\BPF\@MImage\convert2gray.m
文件 215 2007-01-23 09:26 BPF\BPF\@MImage\demo.m
文件 210 2007-01-23 09:26 BPF\BPF\@MImage\display.m
文件 433 2007-01-23 09:26 BPF\BPF\@MImage\fliplr.m
文件 427 2007-01-23 09:26 BPF\BPF\@MImage\flipud.m
文件 704 2007-01-23 09:26 BPF\BPF\@MImage\gaussblur.m
文件 1277 2007-01-23 09:26 BPF\BPF\@MImage\get.m
文件 196 2007-01-23 09:26 BPF\BPF\@MImage\imadjust.m
文件 1868 2007-01-23 09:26 BPF\BPF\@MImage\imgradient.m
文件 1077 2007-01-23 09:26 BPF\BPF\@MImage\imread.m
............此处省略638个文件信息
评论
共有 条评论