追踪算法源代码MUSTer_code_v1.1


追踪算法源代码MUSTer_code_v1.1
资源截图
代码片段和文件信息
function [img_files pos target_sz ground_truth video_path] = load_video_info(video_path)

    text_files = dir([video_path ‘groundtruth_rect.txt‘]);
    assert(~isempty(text_files) ‘No initial position and ground truth (*_gt.txt) to load.‘)

    f = fopen([video_path text_files(1).name]);
    try
        ground_truth = textscan(f ‘%f%f%f%f‘ ‘Returnonerror‘false);  
    catch   
        frewind(f);
        ground_truth = textscan(f ‘%f %f %f %f‘);  
    end
    ground_truth = cat(2 ground_truth{:});
    fclose(f);

    %set initial position and size

    target_sz = [ground_truth(13) ground_truth(14)];
    pos = [ground_truth(11) ground_truth(12)];
 
%for these sequences we must limit ourselves to a range of frames.
%for all others we just load all png/jpg files in the folder.
img_files = dir([video_path ‘img/*.jpg‘]);
    if numel(img_files) == 0
        img_files = dir([video_path ‘img/*.png‘]);
    end
img_files = sort({img_files.name});

    video_path = [video_path ‘img/‘];

end


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-03-11 14:57  MUSTer_code_v1.1ICF
     文件        2781  2015-03-10 15:46  MUSTer_code_v1.1ICFexternal.txt
     文件        3169  2014-11-24 11:19  MUSTer_code_v1.1ICFfhog.m
     文件         708  2014-11-24 11:19  MUSTer_code_v1.1ICFget_ICF_params.m
     文件       19354  2014-11-23 16:22  MUSTer_code_v1.1ICFgradientMex.cpp
     文件       23054  2014-11-24 11:19  MUSTer_code_v1.1ICFgradientMex.mexa64
     文件       30720  2014-11-24 11:19  MUSTer_code_v1.1ICFgradientMex.mexw64
     文件       11421  2015-03-10 15:52  MUSTer_code_v1.1ICFICF_tracker.m
     文件        1243  2014-11-24 11:19  MUSTer_code_v1.1ICFim2c.m
     文件         942  2015-03-08 17:44  MUSTer_code_v1.1ICFst_gaussian_correlation.m
     文件        1295  2015-03-08 17:44  MUSTer_code_v1.1ICFst_gaussian_shaped_labels.m
     文件        2051  2015-03-08 17:44  MUSTer_code_v1.1ICFst_get_features.m
     文件        1339  2015-03-08 17:44  MUSTer_code_v1.1ICFst_get_scale_sample.m
     文件         965  2015-03-08 17:44  MUSTer_code_v1.1ICFst_get_subwindow.m
     文件     1142188  2014-11-24 11:19  MUSTer_code_v1.1ICFw2crs.mat
     目录           0  2015-03-11 14:57  MUSTer_code_v1.1Jogging
     文件        4700  2015-03-08 17:42  MUSTer_code_v1.1Jogginggroundtruth_rect.1.txt
     文件        4336  2015-03-08 17:42  MUSTer_code_v1.1Jogginggroundtruth_rect.2.txt
     文件        4700  2015-03-08 17:42  MUSTer_code_v1.1Jogginggroundtruth_rect.txt
     目录           0  2015-03-11 14:57  MUSTer_code_v1.1Joggingimg
     文件       13834  2015-03-08 17:42  MUSTer_code_v1.1Joggingimg001.jpg
     文件       24848  2015-03-08 17:42  MUSTer_code_v1.1Joggingimg002.jpg
     文件       26083  2015-03-08 17:42  MUSTer_code_v1.1Joggingimg003.jpg
     文件       25916  2015-03-08 17:42  MUSTer_code_v1.1Joggingimg004.jpg
     文件       26455  2015-03-08 17:42  MUSTer_code_v1.1Joggingimg005.jpg
     文件       26282  2015-03-08 17:42  MUSTer_code_v1.1Joggingimg006.jpg
     文件       26640  2015-03-08 17:42  MUSTer_code_v1.1Joggingimg007.jpg
     文件       26500  2015-03-08 17:42  MUSTer_code_v1.1Joggingimg008.jpg
     文件       26858  2015-03-08 17:42  MUSTer_code_v1.1Joggingimg009.jpg
     文件       26873  2015-03-08 17:42  MUSTer_code_v1.1Joggingimg010.jpg
     文件       25870  2015-03-08 17:42  MUSTer_code_v1.1Joggingimg011.jpg
............此处省略549个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)