調節RGB邊緣偵測法
An Edge Detection Method via the Tuning of RGB Weighting Ratio
摘要
邊緣偵測法在影像處理領域是十分常見的基礎應用,其準確性在某些研究中影響甚大,如自動駕駛的道路線偵測,很容易因為一點誤判就造成後續的其他演算法造成錯誤的判斷,因此,在本論文中我們會對邊緣偵測的準確性進行分析。在本論文中,我們利用RGB分開進行處理進行圖像重合的方式,制定出一套自製RGB邊緣偵測演算法,並建構出一套邊緣偵測法比較的方法,算出比較參數,並利用該比較方法,針對自製RGB邊緣偵測演算法與Sobel邊緣偵測演算法進行比較分析。我們透過觀察RGB分開計算與Sobel的前置作業灰階化,設想出另一種改進方法,調節RGB邊緣偵測法,改變灰階化所需的RGB權重比例,再進行邊緣偵測,最後比較分析調節RGB邊緣偵測法與自製RGB邊緣偵測演算法、Sobel邊緣偵測演算法的結果。
Edge detection is a very common basic application in the field of image processing. Its accuracy has a great impact in some studies, such as road line detection for autonomous driving. It is easy to cause a wrong judgment by other subsequent algorithms because of a misjudgment. Therefore, the accuracy of edge detection is analyzed in this theory.In this paper, a self-made RGB edge detection algorithm is developed by using RGB to separate processing and then image overlapping. And construct a set of methods for edge detection comparison, calculate the comparison parameters. The comparison method is used to compare and analyze the self-made RGB edge detection algorithm and Sobel edge detection algorithm. Imagine another improvement by observing the RGB separation process and Sobel's pre-worker grayscale. The tuning RGB edge detection method change the RGB weight ratio required for grayscale, and then perform edge detection. Finally, the results of the tuning RGB edge detection method and the self-made RGB edge detection algorithm and Sobel edge detection algorithm are compared and analyzed.