zoukankan      html  css  js  c++  java
  • Canny边缘检测-Wiki

    Canny edge dector 由 John F. Canny 在1986年提出。

    1. Canny 算法的发展
    2. Canny算法的步骤
      2.1 降噪
      2.2 寻找图像的亮度梯度
      2.3 非极大值抑制
      2.4 在图像中追踪边缘、滞后阈值法
    3. Canny边缘检测器的不同的几何公式
    4. Haralick-Canny边缘检测器

    理想的边缘检测器特点:

    1. good detection
    2. good localization
    3. minimal response

    Canny edge detection is a four step process.

    1. A Gaussian blur is applied to clear any speckles and free the image of
      noise.
    2. A gradient operator is applied for obtaining the gradients' intensity and
      direction.
    3. Non-maximum suppression determines if the pixel is a better candidate for
      an edge than its neighbours.
    4. Hysteresis thresholding finds where edges begin and end.

    Canny边缘检测器的检测步骤

    1. 高斯滤波:去除斑点(speckles)和噪声(noise)
    2. 使用梯度算子获得梯度的值和方位角
    3. 非极大值抑制抑制确定像素点在邻域中是好的候选点
    4. 滞后阈值法去寻找边缘的起始和终止

    图像降噪:采用7×7、5×5等模板的归一化的高斯核与图形进行卷积。
    如5×5的高斯尺度因子为σ=1.4,1/159

    图像灰度灰度化:Gray=0.299R+0.587G+0.114B

    图像亮度的梯度:
    分别检测水平和竖直方向的梯度Gx、Gy,然后可以求出G幅度G(勾股定理)和方位角θ(atan2)

    非极大值抑制:
    在梯度方向上,如果不是极大值,则过滤掉

  • 相关阅读:
    [php]php设计模式 (总结)
    MySql常用命令总结
    mysql常用命令
    搜集几个API接口
    c语言 11-7
    c语言中转换字符串函数 atoi函数
    c语言中 strncmp函数, 函数原型和头文件。
    c语言中strcmp函数,函数原型和函数头文件
    c语言中strncat函数,函数原型以头文件
    c语言中strcat函数,函数原型和函数头文件
  • 原文地址:https://www.cnblogs.com/ausk/p/4051006.html
Copyright © 2011-2022 走看看