Video Retrieval Using Video Object-Trajectory and Edge Potential Function