当前位置>主页 > 期刊在线 > 计算机技术 >

计算机技术22年17期

基于 MATLAB 的 Canny 图像边缘检测优化与实现
蔺玉珂,杨敏,贺中屏,曹华,王家麒
(重庆电子工程职业学院,重庆 401331)

摘  要:图像边缘是图像最基本也是最重要的特征,是图像处理目前研究的一个热点。各种算子在图像边缘识别方面各有优缺点,其中 Canny 算子具有不易受噪声影响且可以检测到真正弱边缘的优势。通过自行优化 Canny 边缘检测的处理过程和算子,发现 Canny 算子对滤波参数的选择和高低阈值的取值范围比较敏感。与 MATLAB 内置 Canny 边缘检测 API 相比,此方法可以提取更多的图片信息,减少失真。


关键词:边缘识别;Canny 算子;阈值优化



DOI:10.19850/j.cnki.2096-4706.2022.17.021


中图分类号:TP391.4                                          文献标识码:A                                  文章编号:2096-4706(2022)17-0081-04


Optimization and Implementation of Canny Image Edge Detection Based on MATLAB

LIN Yuke, YANG Min, HE Zhongping, CAO Hua, WANG Jiaqi

(Chongqing College of Electronic Engineering, Chongqing 401331, China)

Abstract: Image edge is the most basic and important feature of the image, and it is a hot spot in image processing at present. Various operators have their own advantages and disadvantages in the aspect of image edge recognition. Thereinto, Canny operator has the advantage that it is not easy to be affected by noise and can detect the real weak edges. By self optimizing the processing procedure and operator of Canny edge detection, it is found that the Canny operator is sensitive to the selection of filtering parameters and the value range of high and low thresholds. Compared with Canny edge detection API built in MATLAB, this method can extract more picture information and reduce distortion.

Keywords: edge recognition; Canny operator; threshold optimization


参考文献:

[1] 马宇飞 . 基于梯度算子的图像边缘识别算法研究 [D]. 西安:西安电子科技大学,2012.

[2] ROBINSON G S. Edge detection by compass gradient masks [J]. Computer Graphics and Image Processing,1977,6(5):492-501.

[3] MARR D,HILDRETH E. Theory of edge detection [J]. Proceedings of the Royal Society B,1980,207:187-217.

[4] SMITH S M,DE STEFANO N,JENKINSON M,et al. Normalized accurate measurement of longitudinal brain change [J].J Comput Assist Tomogr.,2001,25(3):466-475.

[5] 吕哲,王福利,常玉清 . 一种改进的 Canny 边缘检测算法 [J]. 东北大学学报(自然科学版),2007(12):1681-1684.

[6] 雒涛,郑喜凤,丁铁夫 . 改进的自适应阈值 Canny 边缘检测 [J]. 光电工程,2009,36(11):106-111+117.

[7] DENG C,MA W,YIN Y. An edge detection approach of image fusion based on improved Sobel operator [C]//2011 4th International Congress on Image and Signal Processing.Shanghai:IEEE,2011:1189-1193.

[8] 郑春红,焦李成,陈希平,等 . 一种快速模糊图像边缘检测算法 [J]. 计算机工程与应用,2004(32):48-50.

[9] SAHEBA S M,UPADHYAYA T K,SHARMA R K. Lunar surface crater topology generation using adaptive edge detection algorithm [J].IET Image Processing,2016,10(9):657-661.

[10] SUR A,PATRA N,CHAKRABORTY S,et al. A new Wavelet based Edge detection Technique for Iris Imagery [C]//2009 IEEE International Advance Computing Conference.Patiala:IEEE, 2009:120-124.

[11] 汪凯,张贵仓 . 基于改进蚁群算法的图像边缘识别研究[J]. 计算机工程与应用,2017,53(23):171-176.

[12] 严国萍,何俊峰 . 高斯 - 拉普拉斯边缘检测算子的扩展研究 [J]. 华中科技大学学报(自然科学版),2006(10):21-23.


作者简介:蔺玉珂(1980—),男,汉族,山东莱芜人,副教授,硕士研究生,研究方向:信息通信技术、职业教育。