光电工程
光電工程
광전공정
OPTO-ELECTRONIC ENGINEERING
2009年
11期
106-111,117
,共7页
Canny算法:自适应%边缘检测%图像处理
Canny算法:自適應%邊緣檢測%圖像處理
Canny산법:자괄응%변연검측%도상처리
Canny operator%threshold-adaptive%edge detection%image process
针对传统Canny边缘检测算法的阈值需要人为设定的缺陷,本文提出了一种新的自适应改进方法.该方法-根据梯度直方图信息,提出梯度差分直方图的概念,同时,对图像进行自适应分类处理,使得算法不仅不需人工设定阈值参数,而且还能有效地避免Canny算法在边缘寻找中的断边和虚假边缘现象.对边缘信息丰富程度不同的灰度图和彩色图像运用该方法寻找边缘的实验结果表明,对于在目标与背景交界处的多数像素梯度幅值较大的图片,该算法具有边缘检测能力强、自适应能力强的优点.
針對傳統Canny邊緣檢測算法的閾值需要人為設定的缺陷,本文提齣瞭一種新的自適應改進方法.該方法-根據梯度直方圖信息,提齣梯度差分直方圖的概唸,同時,對圖像進行自適應分類處理,使得算法不僅不需人工設定閾值參數,而且還能有效地避免Canny算法在邊緣尋找中的斷邊和虛假邊緣現象.對邊緣信息豐富程度不同的灰度圖和綵色圖像運用該方法尋找邊緣的實驗結果錶明,對于在目標與揹景交界處的多數像素梯度幅值較大的圖片,該算法具有邊緣檢測能力彊、自適應能力彊的優點.
침대전통Canny변연검측산법적역치수요인위설정적결함,본문제출료일충신적자괄응개진방법.해방법-근거제도직방도신식,제출제도차분직방도적개념,동시,대도상진행자괄응분류처리,사득산법불부불수인공설정역치삼수,이차환능유효지피면Canny산법재변연심조중적단변화허가변연현상.대변연신식봉부정도불동적회도도화채색도상운용해방법심조변연적실험결과표명,대우재목표여배경교계처적다수상소제도폭치교대적도편,해산법구유변연검측능력강、자괄응능력강적우점.
The two thresholds of classical Canny operator need to be set manually, which limits the application of this algorithm. Therefore, many researches about how to choose threshold adaptively are done to solve this problem. Based on the gradient histogram, a method of threshold-adaptable edge detection is proposed. This method is on the basis of gradient histogram difference diagram with adaptive image classification techniques. It not only automatically sets the two thresholds, but also avoids disconnected or false edges in detection. Experiments prove that the method is threshold-adaptive and advantageous for edge detection in color image whose pixels of larger gradient amplitude are mainly located in the edge between the target and background.