摘要
针对传统Canny算子在平滑图像、梯度计算和阈值选取方面存在缺陷,论文提出了一种改进方案。该方法使用带权中值滤波代替高斯滤波,使用3×3邻域四方向偏导数代替2×2邻域二方向来求取梯度幅值和方向,使用梯度直方图确定高、低阈值代替人为随意设定。仿真实验结果表明,改进的Canny算子提高了检测精度,连续性更好。
In view of the defects of the traditional Canny operator in smoothing image, gradient calculation and threshold selection, an improved scheme is proposed in this paper. The method uses a weighted median filtering instead of the Gaussian filter, 3×3 neighborhood four direction partial derivative is used to replace the 2×2 neighborhood two direction to obtain the gradient magnitude and direction, and uses Gradient histogram to determine high and low threshold instead of man-made arbitrarily set. The simulation experimental results show that the improved Canny operator to improve the detection accuracy and have better continuity.
出处
《计算机与数字工程》
2016年第8期1567-1570,共4页
Computer & Digital Engineering
基金
西安市科技创新基金项目(编号:CXY1531WL22
CXY1443WL20)
西安市社科规划基金项目(编号:15Y47)资助