L2-RLS基于L2范数的视频目标跟踪算法,matlab2021a,动态跟踪,背景晃动下跟踪效果良好。matlab2021a测试
%%Update Model
if (size(wimgs,2) >= opt.batchsize)
%%(1)Incremental SVD
[tmpl.basis, tmpl.eigval, tmpl.mean, tmpl.numsample] = ...
sklm(wimgs, tmpl.basis, tmpl.eigval, tmpl.mean, tmpl.numsample, opt.ff);
%%(2)Clear Data Buffer
wimgs = [];
%%(3)Keep "opt.maxbasis" Number Basis Vectors
if (size(tmpl.basis,2) > opt.maxbasis)
tmpl.basis =