当前位置:网站首页>Image Edge Detection - First Order Differential Operator Roberts, Sobel, Prewitt, Kirsch, Robinson
Image Edge Detection - First Order Differential Operator Roberts, Sobel, Prewitt, Kirsch, Robinson
2022-08-05 16:02:00 【why why】
Edge detection refers to the process of detecting edge points and edge segments from an image and describing the edge direction.This paper records the first-order differential operators commonly used in edge detection.
Image edges
The edge of the image generally refers to the position where the grayscale change rate of the image is the largest.
The main reasons are as follows:
- The grayscale of the image changes discontinuously in the surface normal direction;
- The spatial depth of objects in the image is inconsistent;
- Inconsistent colors on smooth surfaces;
- Lighting and shadowing of objects in the image
Edge Detection
- Edge detection refers to the process of detecting edge points and edge segments from an image and describing the edge direction.The image can be regarded as a binary function f(x, y), (x, y) is the position of the pixel, and f(x, y) is the gray value there, so the image can be imagined as a surface.After viewing it as a surface, it can be processed mathematically.The edge is the most drastic position on the surface, and this position is also the position of the local extreme point of the surface. Everyone knows that the extreme value can be calculated by the derivative.
First-order differential operator detects edges
- Gradient field of the image (difference between adjacent pixels):
- The magnitude of the gradient is:
- The gradient direction is:
From this, we get that the fastest changing direction of a point (x, y) in the image is the direction of the gradient, and the slowest changing direction is the direction perpendicular to the gradient.
First-order operator
Roberts operator
- Differencing at (\mathrm{i}+1 / 2, j+1 / 2)
- Converting to a template is
For all differential operators, if only threshold judgment is performed for |Rxf|, the edge perpendicular to the x direction is selected; if only |Ryf| for threshold judgment, the edge perpendicular to the y direction is selected; if |Rxf|+|Ryf| is selected for judgment, the edge in the general direction is obtained.
Sobel operator
- Central difference, for the four points of the horizontal and vertical lines, the weight is high, the template is:
More in practice
Prewitt operator
- Template is
Kirsch operator
8 templates, corresponding to 8 directions, the maximum value is selected
Robinson operator
- The rules are the same as above, but also 8 templates
References
边栏推荐
- RestTemplate上传文件
- 如何以单一程序同时连接多种数据库?
- Redis系列5:深入分析Cluster 集群模式
- PR Video Editing Tutorial - Video Effects and Transitions
- 生成.pkl文件,读取.pkl文件的内容
- Redis Series 5: In-depth Analysis of Cluster Cluster Mode
- 浅谈推荐系统中的样本拼接
- 如何快速对比出两个文件的不同?
- [Supplementary Questions Diary] [2022 Niu Ke Summer Multi-School 4] A-Task Computing
- "Avnet Embedded Weekly" Issue 276: 2022.07.25--2022.07.3
猜你喜欢

无代码平台逻辑表单入门教程

High Numbers_Proof_Intermediate Value Theorem

Getting Started with TCL Basics

“FA都不给我推项目了”

BEVDet:High-Performance Multi-Camera 3D Object Detection in Bird-Eye-View 论文笔记

企业为什么要数字化转型?数字化转型成功的案例有哪些?

《安富莱嵌入式周报》第276期:2022.07.25--2022.07.3

如何快速对比出两个文件的不同?

基于ABP和Magicodes实现Excel导出操作

图书管理系统(基于内存实现的简单小型项目)
随机推荐
大厂硬件梦醒时分
1704. 判断字符串的两半是否相似
Basic Concepts in Network Communication
PAT乙级真题练习:1001-1004
华为设备DLDP配置命令
肇庆广发证券股票开户安全吗,是大券商吗
华为设备Smart Link和Monitor Link配置命令
华为云GaussDB(for Redis)揭秘第24期:游戏一致性BUG怎么解
High Numbers_Prove_Uniqueness of Limits
How to calculate heritability and breeding value in a full-sib family
华为设备配置MSTP+VRRP组合组网
SQL注入进阶篇(一)
腾讯将取消部分外包免费食堂福利;iPhone 14 Pro或取消远峰蓝,新增紫色;马斯克:我被推特骗了|极客头条
[SQL Interview Questions You Shouldn't Miss--2022]
2264. Maximum 3 identical digits in a string
专访容智信息柴亚团:最低调的公司如何炼成最易用的RPA?
Live barrage
编译器工程师眼中的好代码:Loop Interchange
后缀系列
以训辅教,以战促学 | 新版攻防世界平台正式上线运营!