每年夏天都會有數個颱風侵襲台灣,伴隨著強風及豪雨,造成生命財產上的損害。而最近幾年,豪雨過後的土石流災害更是嚴重。2009年的莫拉克颱風引發土石流,造成高雄縣甲仙鄉小林村滅村,數百人遭到活埋。經濟損失高達新台幣195 億元。2001 年桃芝颱風的土石流導致148 人死亡,失蹤。土石流發生的機率是由一個區域的雨量來決定,但使用者無法確切知道土石流是否真的發生。當土石流發生,通常造成很嚴重的損失和很多人死亡。確切知道土石流的發生,這是一件很重要的事。台灣政府在土石流易發生的區域架設攝影機,以掌握土石流的動態資訊。但這些設備僅僅是記錄這些資訊。本論文嘗試利用這些影像,建立一個演算法來自動判斷土石流是否發生。 這篇論文由兩個部分組成,偵測和辨識。藉由適應性的背景混合模型(adaptive background mixture models),我們得以知道攝影機監測的範圍內是否有物體移動。偵測到移動物後,需要辨識它是否是土石流。本論文選取三組特徵資訊,紋理資訊(texture information),色彩直方圖(color histogram)和鄰域顏色矩直方圖(neighborhood color moment histogram)。利用這三組特徵來代表背景和土石流。背景是選取測試影片的一組背景做萃取,土石流是用其他影片們的土石流資料。接著利用粒子群聚演算法(particle swarm optimization, PSO) 來訓練最能分別代表背景和土石流的數據。再萃取測試影片的特徵,並用完全限制最小平方差(fully constrained least squares, FCLS) 來比對,看現在的移動物是比較接近背景還是土石流。最後用模糊決策法(fuzzy decision method)來統合三組特徵,自動判斷結果。 Several typhoons strike Taiwan in the summer season every year. The strong breeze and heavy rain sometimes cause casualties and damages. In recent years, the loss by debris flow becomes more serious. The debris flow caused by typhoon Morakot in 2009 buried entire village of Shiaolin in Kaohsiung and killed hundreds of people. The economical loss is about 19.5 billion NTD. The debris flow caused by typhoon Toraji in 2001 kills 148 people. Government in Taiwan announces the possibility of debris flows by the amount of rain in the region. However we do not actually know the occurrence of debris flow, which is very important information. To monitor the debris flows, Government in Taiwan builds some charge-coupled device (CCD) camera in the region which the debris flow occurs often. However these systems just record the video without any processing. In this study, we attempt to build an automatic detect and recognize algorithm for debris flow from the video. This study is composed of the detection and the recognition. The moving objects are first detected by adaptive background mixture models. And then these detected objects are recognized by the following procedure. Three types feature vectors is used to represent the debris flow and the background, which are texture features, color histogram and neighborhood color moment histogram. The feature vectors of background and debris flow are extracted from the background of testing video and other debris flow videos respectively. Particle swarm optimization (PSO) is then applied to select the best feature vectors of debris flow and background. We classify the feature vectors of testing video into the composition percentages of debris flow and background by fully constrained least squares (FCLS). Finally, the decision of debris flow is made automatically by fuzzy decision method.