电子科技 ›› 2020, Vol. 33 ›› Issue (7): 46-50.doi: 10.16180/j.cnki.issn1007-7820.2020.07.010

• • 上一篇    下一篇

基于改进Canny算子的手势图像边缘检测

柏丽银,彭亚雄,陆安江   

  1. 贵州大学 大数据与信息工程学院,贵州 贵阳 550025
  • 收稿日期:2019-05-06 出版日期:2020-07-15 发布日期:2020-07-15
  • 作者简介:陆安江(1978-),男,博士,副教授。研究方向:嵌入式系统与集成技术,物联网安全、微传感技术。|彭亚雄(1963-),男,副教授。研究方向:数字通信,音视频处理技术。|陆安江(1978-),男,博士,副教授。研究方向:嵌入式系统与集成技术,物联网安全、微传感技术。
  • 基金资助:
    贵州省科技成果转化项目([2017]4856)

Gesture Image Edge Detection Based on Improved Canny Operator

BAI Liyin,PENG Yaxiong,LU Anjiang   

  1. School of Big Data and Information Engineering,Guizhou University,Guiyang 550025,China
  • Received:2019-05-06 Online:2020-07-15 Published:2020-07-15
  • Supported by:
    Guizhou Province Science and Technology Achievements Transformation Project([2017]4856)

摘要:

针对手势检测不准确,手势边缘检测有偏差等问题,文中提出了一种改进的Canny算子用于检测手势图像边缘。改进的Canny算子使用自适应中值滤波与双边滤波相结合的方法去除图像噪声,并在Sobel的基础上扩展45°和135°方向的梯度幅值计算,自适应获取最佳阈值判别图像边缘。最后,使用哈夫变换与像素点的梯度方向相结合检测边缘,连接边缘、增强边缘。实验表明,改进后Canny算子检测的结果8连通数比传统Canny算子检测的结果8连通数多,边缘连续性较好,检测精度更高且自适应性增强。

关键词: 改进Canny算子, 边缘检测, 降噪, 自适应中值滤波, 哈夫变换检测, 连接边缘

Abstract:

Aim at the problem that the existed gesture detection was inaccurate and the gesture edge detection was deviated, an improved Canny operator was proposed to detect the edge of the gesture image. The improved Canny operator used adaptive median filtering combined with bilateral filtering to remove image noise. On the basis of Sobel, the gradient amplitude calculation in the 45° and 135° directions was extended, and the optimal threshold was adaptively obtained to discriminate the image edge. Finally, the Huff transform combined with the gradient direction of the pixel was used to detect, connect and enhanced the edge. Experiments showed that the results of the improved Canny operator detection were more connected than the traditional Canny operator. The edge continuity was better, the detection accuracy was higher, and the adaptability was enhanced

Key words: improved Canny operator, edge detection, noise reduction, adaptive median filtering, Huff transform detection, connection edge

中图分类号: 

  • TP391