登录
首页 » 算法 » canny算法程序

canny算法程序

于 2022-09-30 发布 文件大小:164.00 kB
0 206
下载积分: 2 下载次数: 1

代码说明:

1986 年 Canny 在麻省理工的硕士论文中提出了 Canny 边缘检测算子[10]。Canny算子是一个具有滤波、增强以及检测的多阶段优化算子,它具有很好的边缘检测的性能。得到了越来越广泛的应用。 Canny 考查了以前的边缘检测算子和边缘检测的应用,发现尽管这些算子的应用出现在了不同的领域中,但是他们都有一些共同的要求:[3] (1)好的检测效果,也就是说对边缘的错误检测要尽可能的低:在图像的边缘出现的地方检测结果中必须有,而且不能出现虚假边缘。在所有使用边缘检测做更深入的研究工作的系统中,它的性能都依赖于边缘检测的误差。 (2)对边缘的定位要准确:标记出来的边缘位置要和图像的真正边缘的中心位置充分的接近。 (3)对同一个边缘要有低的响应次数。即单个边缘产生多个响应的概率要尽可能的低,而且对虚假边缘的响应要尽可能的抑制。 这就是 Canny 提出来的三准则。他是第一个明确的提出这三条准则并且完整的解决了这三个问题的人。他将上述原则用数学表达式表示出来,然后利用优化理论得到最优边缘检测的模板。 Canny 算子实现检测边缘的步骤如下: (1) 用高斯滤波器平滑图像。 (2) 计算平滑后的图像的梯度幅值和方向。 (3) 对梯度幅值采用非极大值抑制,其过程为找出图像梯度中的局部极大值点,把其他非极大值点置零而得到细化的边缘。 (4)用双阈值算法检测和连接边缘 

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 本程序是用来prim用C++的完全实现,可供大家学习使用.
    本程序是用来prim算法用C++的完全实现,可供大家学习使用.-This procedure is used prim algorithm using C++ implementation of the fully available for everyone to use study.
    2022-09-25 13:20:03下载
    积分:1
  • FFT algorithm version of the C language description of classes.
    FFT 算法的C语言班版描述。本人亲自编写,希望对你有用。-FFT algorithm version of the C language description of classes.
    2022-03-04 05:48:04下载
    积分:1
  • 做一个好的网格程序,是一个封装ParaMesh FORTRAN 90程序设计…
    做网格的好程序,PARAMESH is a package of Fortran 90 subroutines designed to provide an application developer with an easy route to extend an existing serial code which uses a logically cartesian structured mesh into a parallel code with adaptive mesh refinement(AMR). -Do a good grid procedures, PARAMESH is a package of Fortran 90 subroutines designed to provide an application developer with an easy route to extend an existing serial code which uses a logically cartesian structured mesh into a parallel code with adaptive mesh refinement (AMR).
    2022-01-26 14:07:51下载
    积分:1
  • //=== === === === === ==== === === === === === === =// letter Description// func...
    //=== === === === === === ===== //函数说明 //函数名称:Correlation //函数功能:计算最小二乘法拟合的多项式的相关系数 //使用方法:int M------ 拟合多项式的阶数(已知条件) // double *b--- 拟合曲线的系数,排列顺序为由高阶到低阶(已知条件) // double *x--- 结点x轴数据(已知条件) // double *y--- 结点y轴数据(已知条件) // double *Yg-- 结点估计值,个数为m(过程变量) // int m------ 结点个数(已知条件) //注意事项:多项式阶数最高为10,多项式的形式为 y = a0 + a1x +a2x2 -//=== === === === === ==== === === === === === === =// letter Description// function name : Correlation// Function functions : Calculation least squares polynomial fitting of the correlation coefficient// Use : int M------ polynomial fitting stage (known condition)//* b--- double fitting song The coefficient, Higher-order the order on grounds of low order (known condition)//* double-node x x axis data (known to be pieces)// double* y--- node y-axis data (known condition)//* double FSL-- Nodes estimates, Number m (process variables)// int m------ node number (known condition)// Note : polynomial order of a maximum of 10. polynomials in the
    2022-04-29 13:08:12下载
    积分:1
  • c实现的A律/mu律pcm编译码 只需要根据不同的需要更改输入数据即可...
    c实现的A律/mu律pcm编译码算法 只需要根据不同的需要更改输入数据即可-c achieve A legal/mu legal pcm encryption algorithm based on different needs only the need to change the input data can be
    2022-09-06 07:50:03下载
    积分:1
  • 分支定界的0/1背包问题
    分支定界的0/1背包问题-branch delimitation of the 0/1 knapsack problem
    2022-02-14 20:11:44下载
    积分:1
  • JEPG图像压缩中的颜色空间变换
    这个压缩程序包含了RGB转YUV以及YUV转RGB 配套的程序,经过验证,色彩不在对比的情况下是难于分辨的。
    2022-03-01 02:05:17下载
    积分:1
  • Dijkstra和弗洛依德的matlab实现,为了解决短…
    Dijkstra算法与Floyd算法的matlab实现,以求解最短路问题-Dijkstra algorithm and Floyd algorithm matlab realize in order to solve the shortest path problem
    2022-06-21 00:18:33下载
    积分:1
  • 用C编写的迷宫最短路径。另有一用VC编写的
    用C编写的迷宫最短路径。另有一用VC编写的-C maze prepared by the shortest path. Another one prepared by the VC
    2022-08-20 23:22:59下载
    积分:1
  • 德劳内三角实现二维或三维任意点的三角网格划分C
    德劳内三角算法实现二维或三维任意点的三角网格划分C-Delaunay triangulation algorithm arbitrary two-dimensional or three-dimensional triangular point mesh C
    2022-04-15 08:00:05下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载