國立臺灣師範大學電機工程學系Chen-Chien HsuWei-Chen LiuChin-Ming Hong2014-10-302014-10-302011-06-10http://rportal.lib.ntnu.edu.tw/handle/20.500.12235/32158This paper presents an effective algorithm to identify moving direction of an object in images based on historical trajectories of the moving object. By continuously acquiring images, temporal differencing is performed to detect the moving object followed by median filtering to reduce noises in the images. After that, opening operation is adopted to remove small objects lacking momentum in the binary image and strengthen the surrounding thickness of those with sufficient momentum. Historical trajectories can therefore be constructed by decreasing the momentum of the binary images as time elapsed based on established rules to decide the moving direction of objects.computer visionoptical flowobject trajectorymotion detectionhistorical trajectoriesReal-Time Recognition of Moving Direction of a Target Object Based on Historical Trajectories