function [MO,traj] = CS4640_track(T)
%

[M,N,D,len_T] = size(T);
clf
traj = [];

for c = 2:len_T
    [im,mask,row,col] = CS4640_best_box(T(:,:,:,c-1),T(:,:,:,c));
    traj = [traj;row,col];
    combo(mat2gray(im),mask);
    MO(c-1) = getframe(gcf);
end
