[1]胡 松,黄志远,邓 磊,等.Canny 算子在图像处理中的优化研究[J].计算机技术与发展,2020,30(10):106-110.[doi:10. 3969 / j. issn. 1673-629X. 2020. 10. 020]
 HU Song,HUANG Zhi-yuan,DENG Lei,et al.Research on Canny Operator in Image Optimization Processing[J].,2020,30(10):106-110.[doi:10. 3969 / j. issn. 1673-629X. 2020. 10. 020]
点击复制

Canny 算子在图像处理中的优化研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
30
期数:
2020年10期
页码:
106-110
栏目:
智能、算法、系统工程
出版日期:
2020-10-10

文章信息/Info

Title:
Research on Canny Operator in Image Optimization Processing
文章编号:
1673-629X(2020)10-0106-05
作者:
胡 松黄志远邓 磊李壮豪范洁滢曾 维
成都理工大学,四川 成都 610000
Author(s):
HU SongHUANG Zhi-yuanDENG LeiLI Zhuang-haoFAN Jie-yingZENG Wei
Chengdu University of Technology,Chengdu 610000,China
关键词:
Canny 算法Canny 算子改进高斯滤波梯度计算非极大值抑制双阈值检测选择性平滑滤波迭代算法
Keywords:
Canny algorithmCanny operator improvementGaussian filteringgradient calculationnon-maximum suppressiondouble threshold detectionselective smoothing filteringiterative algorithm
分类号:
TP391
DOI:
10. 3969 / j. issn. 1673-629X. 2020. 10. 020
摘要:
详细介绍了 Canny 算法在图像处理中的重大应用。也将 Canny 算法和图像处理的基本原理、应用的步骤进行了介绍,并应用 Canny 算法提取出了较好的边缘,并且针对 Canny 算法第一个步骤高斯提取上的缺陷——容易将边缘信息弱化,提出了选择性平滑滤波,其中的思想是:设定一个阈值,让邻域内的像素点的灰度值与中心点像素灰度值的差值小于这个阈值的像素点进行平滑滤波,而不是让邻域内所有的像素点参与滤波。 针对 Canny 算法选择阈值的困难性和不确定性,提出了迭代算法来求取高低阈值, 其中的思想是:先用直方图统计出图像的最小灰度值和最大灰度值,然后求均值,作为最原始阈值。 该阈值将图像分为高于和低于这个阈值的部分。 然后分别求这两部分图像的灰度均值,将这两个灰度均值求和求均值,和最原始的阈值进行比较, 按照上述步骤再次计算,直到得出最佳高低阈值。 不仅解决了阈值选择问题, 也优化了 Canny 边缘提取效果。
Abstract:
The important application of Canny algorithm in image processing is introduced in detail. The Canny algorithm and the basic principle of image processing and application steps are also introduced,and the Canny algorithm is used to extract better edges. Aiming at the defect of Gaussian extraction in the first step of Canny algorithm,which is easy to weaken the edge information,a selective smoothing filter is proposed. The idea is to set a threshold so that the difference between the gray value of pixels in the neighborhood and the gray value of pixels at the center is less than the threshold for smooth filtering,rather than allowing all pixels in the neighborhood to participate in filtering. In view of the difficulty and uncertainty of the Canny algorithm in choosing the threshold value,an iterative algorithm is proposed to obtain the high and low threshold value. The idea is to calculate the minimum gray value and maximum gray value of the image with the histogram,and then calculate the mean value as the most original threshold which divides the image into parts above and below the threshold. Then calculate the grayscale mean of these two parts of the image, sum the two grayscale mean to calculate the mean,and compare them with the original threshold. Follow the above steps again until the optimal high and low threshold is obtained. It not only solves the problem of threshold selection,but also optimizes the effect of Canny edge extraction.

相似文献/References:

[1]黄 慧,董林鹭,何建华,等.强噪声下改进 Canny 算法的边缘检测[J].计算机技术与发展,2021,31(01):83.[doi:10. 3969 / j. issn. 1673-629X. 2021. 01. 015]
 HUANG Hui,DONG Lin-lu,HE Jian-hua,et al.Edge Detection of an Improved Canny Algorithm under Strong Noise[J].,2021,31(10):83.[doi:10. 3969 / j. issn. 1673-629X. 2021. 01. 015]
[2]苑玮琦,赵佩瑶.基于 Canny 的自适应换热器板片边缘检测方法[J].计算机技术与发展,2021,31(11):81.[doi:10. 3969 / j. issn. 1673-629X. 2021. 11. 014]
 YUAN Wei-qi,ZHAO Pei-yao.An Adaptive Edge Detection Method for Plate of Heat Exchanger Based on Canny[J].,2021,31(10):81.[doi:10. 3969 / j. issn. 1673-629X. 2021. 11. 014]

更新日期/Last Update: 2020-10-10