CHANGE judgement method of reliable trajectory.
Added support of reading data from image sequence.
Reduce repetitive calculation and speed up.