隨著公路運輸的發展,使人們能夠自行駕車前往目的地。然而不幸的是,這卻同樣導致了交通事故數量的增加。高級輔助駕駛系統的設計宗旨是希望能夠警示駕駛人潛在的危險,許多的駕駛輔助系統是基於車輛未來路徑的預測為基礎所設計。當車輛行駛於道路上,道路上的情況,包含前方道路趨勢以及與前方車輛之間的距離,是能夠影響車輛未來路徑的重要因素。這些道路資訊能夠藉由裝置於車內的攝影機拍攝所得。在這篇論文中,我們提出了一種影像處理系統,用以擷取出拍攝影像中的道路資訊。這個系統由兩種演算法所組成,彎道偵測演算法,以及距離轉換演算法。首先,我們利用彎道偵測演算法進行車道線的偵測,並計算出消失點的位置,接著再通過消失點的位置判斷出道路的趨勢。而距離轉換演算法則是用於當影像中偵測到實驗車前方的車輛,該演算法將實驗車與前方車輛之間的距離,轉換成現實世界的距離。通過分析與實驗,結果顯示我們提出的系統相較於基準演算法有較高的準確率。;The development of road transportation makes it easier for people to drive their vehicles. Unfortunately, it also causes the increasing number of traffic accidents. Advanced driver assistance systems, which in many ways is based on the future trajectory prediction of the vehicle, are developed to alert the driver for potential dangers. Road conditions, including road geometry and the distance between lead vehicle and host vehicle, are important factors in improving accuracy of future trajectory prediction. The road conditions can be obtained by the camera affixed in the vehicle. In this thesis, we propose a image processing system, which includes a curve detection algorithm (CDA) and a distance conversion (DC) algorithm, to obtain these road conditions from the image. First, CDA detects the lane stripes and calculates the vanishing point. The road trend can then be identified according to the location of the vanishing point. DC is used to convert the distance between the lead and host vehicles in the image to the real distance. Through analyses and experiments, it is shown that the proposed system achieves a higher precision than the baseline algorithms.