电子设计工程
電子設計工程
전자설계공정
ELECTRONIC DESIGN ENGINEERING
2015年
8期
158-161
,共4页
边缘检测%八方向卷积模板%权值%细化%非极大值抑制
邊緣檢測%八方嚮捲積模闆%權值%細化%非極大值抑製
변연검측%팔방향권적모판%권치%세화%비겁대치억제
edge detection%eight direction convolution templates%weight%refining%non-maximum suppression
针对传统图像边缘检测算法存在的边缘方向性不强及边缘较粗等问题,提出了一种基于八方向卷积模板的边缘检测算法。算法采用0°、22.5°、45°、67.5°、90°、112.5°、135°和157.5°八个方向的卷积模板进行边缘检测,模板权值根据中心像素点到邻域像素的距离及方向夹角的大小进行设定,充分考虑到了邻域内像素对中心点方向梯度的贡献大小,能够较好地检测出图像不同的方向边缘。对梯度图像采用了改进的非极大值抑制方法进行细化,可得到单像素的图像边缘。实验结果表明,该算法获取的边缘图像边缘较为完整,方向性强且边缘较细,整体效果明显优于传统Sobel算法。
針對傳統圖像邊緣檢測算法存在的邊緣方嚮性不彊及邊緣較粗等問題,提齣瞭一種基于八方嚮捲積模闆的邊緣檢測算法。算法採用0°、22.5°、45°、67.5°、90°、112.5°、135°和157.5°八箇方嚮的捲積模闆進行邊緣檢測,模闆權值根據中心像素點到鄰域像素的距離及方嚮夾角的大小進行設定,充分攷慮到瞭鄰域內像素對中心點方嚮梯度的貢獻大小,能夠較好地檢測齣圖像不同的方嚮邊緣。對梯度圖像採用瞭改進的非極大值抑製方法進行細化,可得到單像素的圖像邊緣。實驗結果錶明,該算法穫取的邊緣圖像邊緣較為完整,方嚮性彊且邊緣較細,整體效果明顯優于傳統Sobel算法。
침대전통도상변연검측산법존재적변연방향성불강급변연교조등문제,제출료일충기우팔방향권적모판적변연검측산법。산법채용0°、22.5°、45°、67.5°、90°、112.5°、135°화157.5°팔개방향적권적모판진행변연검측,모판권치근거중심상소점도린역상소적거리급방향협각적대소진행설정,충분고필도료린역내상소대중심점방향제도적공헌대소,능구교호지검측출도상불동적방향변연。대제도도상채용료개진적비겁대치억제방법진행세화,가득도단상소적도상변연。실험결과표명,해산법획취적변연도상변연교위완정,방향성강차변연교세,정체효과명현우우전통Sobel산법。
An edge detection algorithm based on six directions convolution templates is proposed aiming at the shortcoming of traditional Sobel operator in poor location accuracy and coarse edge. The algorithm uses six direction templates of 0° ,22.5° , 45° ,67.5° ,90° ,112.5° ,135° and 157.5° to detect image edge, considering the contribution of neighborhood pixels for the center pixel in the direction gradient, the templates weights is determined according to the distances and the direction included angle of neighborhood pixel and the center pixel, the different image edge can be detected well. In order to get single pixel width edge, uses improved non-maximum suppression to refine the edge of gradient image. The results show that the new algorithm can detect the image edge relatively complete,with accuracy direction and thinner edge, the whole effects are better than traditional Sobel algorithm.