当前位置:网站首页>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
边栏推荐
猜你喜欢

To be a famous corporate scientist or to be a tenured professor, this is a question

如何以单一程序同时连接多种数据库?

大厂硬件梦醒时分

华为设备配置Smart Link主备备份

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

Vetur can‘t find `tsconfig.json` or `jsconfig.json` inXXX

how to retrieve lost files in u disk, how to retrieve lost files in u disk

leetcode:285. 二叉搜索树中的中序后继节点

纽约金价反弹 广州黄金产品热销

Read it all!Adapter technology in NLP
随机推荐
Oracle导数据
Live barrage
关于将本地 SAP UI5 应用配置到本地 Fiori Launchpad 的技术实现深入讲解试读版
支付系统架构设计详解
PAT乙级真题练习:1001-1004
SQL注入进阶篇(一)
Getting Started with TCL Basics
二叉树结点查找
高数_证明_极限存在的单调有界准则
华为设备配置Smart Link主备备份
红蓝对抗|常见技战法总结
playwright录制脚本
WeChat applet realizes weather forecast access
刷题《剑指Offer》day09
Redis Series 5: In-depth Analysis of Cluster Cluster Mode
High Numbers_Prove_The Clamping Criterion of the Existence of Limits
华为设备Smart Link和Monitor Link配置命令
图像边缘检测——一阶微分算子 Roberts、Sobel、Prewitt、Kirsch、Robinson
【Navicat】Navicat导出数据库表设计文档具体说明
UVa1149 - Bin Packing