opencv轮廓检测之椭圆检测-----算法篇(5)---LAPLACIAN算子
2016-04-06 18:21
579 查看
关于检测edge的算法有很多, 感觉有些算法像前面我一直截取的PPT里面说的一样, 有些过时和不太好用.
接下来再列举两个, 是我在查论文时常看见的两个算法
接着上面的问题
边缘(edge)的获取?
3.Laplacian Operater
The Laplacian is a high-pass linear filter that is based on the computation of the
image derivatives. As it will be explained, it computes second-order derivatives to measure
the curvature of the image function. ------------------------------Opencv cookbook 2nd edition P190
与前面讲的sobel一阶算子相对应, 拉普拉斯算子是个二阶算子, 就像一阶算子用大小来判断是否为边缘, 二阶算子用过零点表示是否为edge(我是这么理解, 过零点也就是拐点, 也就是原图像的尖点(即edge), 或者说是一阶导的最大值最小值点), 但是它对噪声很敏感(就像一阶导不可导点, 噪声可能会改变原图像在该点处的凹凸性,个人理解, 仅供参考).
当然, 拉普拉斯卷积核还有其他的类型.
在opencv中的使用
void Laplacian( InputArray src, OutputArray dst, int ddepth, int ksize=1, double scale=1, doubledelta=0, int borderType=BORDER_DEFAULT )
这里就不写程序了, 与用sobel类似
怎样寻找过零点(zero crossing)?
视频截图来源 http://crcv.ucf.edu/videos/lectures/2012.php
接下来再列举两个, 是我在查论文时常看见的两个算法
接着上面的问题
边缘(edge)的获取?
3.Laplacian Operater
The Laplacian is a high-pass linear filter that is based on the computation of the
image derivatives. As it will be explained, it computes second-order derivatives to measure
the curvature of the image function. ------------------------------Opencv cookbook 2nd edition P190
与前面讲的sobel一阶算子相对应, 拉普拉斯算子是个二阶算子, 就像一阶算子用大小来判断是否为边缘, 二阶算子用过零点表示是否为edge(我是这么理解, 过零点也就是拐点, 也就是原图像的尖点(即edge), 或者说是一阶导的最大值最小值点), 但是它对噪声很敏感(就像一阶导不可导点, 噪声可能会改变原图像在该点处的凹凸性,个人理解, 仅供参考).
当然, 拉普拉斯卷积核还有其他的类型.
在opencv中的使用
void Laplacian( InputArray src, OutputArray dst, int ddepth, int ksize=1, double scale=1, doubledelta=0, int borderType=BORDER_DEFAULT )
这里就不写程序了, 与用sobel类似
怎样寻找过零点(zero crossing)?
视频截图来源 http://crcv.ucf.edu/videos/lectures/2012.php
相关文章推荐
- nginx 反向代理
- Atitit jOrgChart的使用 组织架构图css html
- Atitit jOrgChart的使用 组织架构图css html
- Atitit jOrgChart的使用 组织架构图css html
- CentOS 'mysql/mysql.h': No such file or directory
- 服务端 Tomcat catalina.out 文件输出中文乱码
- OpenGL ES 2.0——顶点着色器Vertex Shader
- LNMP环境搭建之Nginx服务启动失败
- 查看linux版本
- OPRNGL之渲染过程大概梳理
- shell if手册
- 通过一个实例理解 offsetLeft,offsetTop; offsetWidth , offsetHeight
- YARN DistributedShell源码分析与修改
- nginx 基本配置
- tomcat多虚拟主机配置-基础篇
- 关于linux模块驱动简单的Makefile
- corethink功能模块探索开发(十三)后台删除按钮
- Linux常用基础命令
- Maven Dependency Scope用法
- Linux内核分析之可执行程序的装载和启动