Task-dependent saliency estimation from trajectories of agents in video sequences