function CS4640_track_cc(T)
%

[M,N,P,F] = size(T);

for f = 1:F-1
    im_cc = CS4640_moving_cc(double(T(:,:,:,f)),double(T(:,:,:,f+1)));
    num_cc = max(max(im_cc));
    cc_sizes = zeros(num_cc,1);
    for cc = 1:num_cc
        cc_sizes(cc) = sum(sum(im_cc==cc));
    end
    [vals,indexes] = sort(cc_sizes,'descend');
    tch = 0;
end
