Mercurial > hg > flst
view matlab/flstDecode.m @ 1:4283604499f8 tip
added mini probability to delta (not sure if this is a good idea, but I did it)
author | matthiasm |
---|---|
date | Mon, 10 Nov 2014 19:38:49 +0000 |
parents | 1df4a6fb0d22 |
children |
line wrap: on
line source
function vpath = flstDecode(d) nFrame = min([d.memory, d.updateCount]); psi = d.psi(:,(d.memory-nFrame+1):d.memory); vpath = zeros(1, nFrame); % initialise backward step [~, vpath(end)] = max(d.oldDelta); % rest of backward step for iFrame = (nFrame-1):-1:1 vpath(iFrame) = psi(vpath(iFrame+1), iFrame+1); end