Multihypothesis trajectory analysis for robust visual tracking