本論文的主要目的是在攝影監控系統中提出物件追蹤的方法,利用可以旋轉的球型攝影機去追蹤與放大被鎖定的物體,以便獲得被鎖定物體的較清晰影像。方法內容主要是利用一部個人電腦來擷取球型攝影機所拍攝到的畫面,分析畫面的色彩並透過兩次的連續可適性質量中心偏移(CAMSHIFT)演算法找出鎖定物體的位置及大小。第一次連續可適性質量中心偏移演算法是用來修正預測的形狀遮罩位置,第二次則是計算追蹤物體的偏移量進而找出物體在畫面中的位置及大小。計算連續影像中物體的位置及大小變化可以得知物體的移動方向與速度等資訊,再根據這些資訊來控制球型攝影機,讓攝影機鏡頭可以隨著被鎖定物體移動。
This paper presents a method to track an object in a surveillance system using a dome camera, having the abilities of pan, tilt and zooming. The main purpose of tracking is to track the trajectories of the moving target, and obtain better images of the target. The content of the method includes capturing images, analyzing the color of images, and performing a tracking algorithm twice to find the position of the target. The first time of the tracking algorithm is to correct the predicted position of the shape mask, and the second time is to find the position and the size of the target. Positions of the target in continuous frame rate will give information about the trajectories that the target moves. Finally, according to the obtained information, we could control the dome camera so that it can follow the moving target.