资 源 简 介
用仿生模式识别来训练目标,在视频序列中跟踪目标
function [sausage, num] = hypersausage_construct(P)
%按照样本给定的顺序去求解超香肠神经元
[~, W] = size(P);%W是训练样例的个数
sausage = [];
for i = 2:W
temp = power_two(P(:, i - 1), P(:, i));%构建第i-1个神经元 //temp是一个行向量
%temp = power_three(P(:, i - 2), P(:, i-1),P(:,i));
sausage = [sausage temp];
end
sausage = [sausage P(:, end)];
num = (size(sausage, 2) - 1) / (W - 1);