线条和边缘在图像检测中有什么区别? [英] What is the difference between a Line and an Edge in image detection?

查看:293
本文介绍了线条和边缘在图像检测中有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们一直在学习诸如Sobel和Roberts的卷积矩阵之类的方法来检测图像中的边缘,并扩展到Canny方法以清除它们.但是现在,我们正在使用霍夫变换"之类的方法来学习线"检测,而不是边缘"检测.

We have been learning about methods like Sobel and Roberts' convolution matrices to detect edges within images, extending to the Canny method to clear them up. But now, we are learning about 'Line' detection, as opposed to 'Edge' detection - with methods like Hough Transform.

问题是-我不知道如何概念化线"和边"之间的差异.有人可以不用复杂的数学方程式等给我解释这种差异吗?

Problem is - I've no idea how to even conceptualize the difference between a 'Line' and an 'Edge'. Can someone explain this difference to me without the use of complex mathematical equations etc?

推荐答案

边缘是从一个阶段/对象/事物到另一阶段/对象/事物的过渡.一方面,您有一种颜色,另一方面,您有另一种颜色.或者,一方面具有前景,另一方面具有背景.

An edge is a transition from one phase/object/thing to another. On one side you have one color, on the other side you have another color. Or on one side you have foreground, and on the other side you have background.

是一维结构.它的两侧具有相同的相位/对象/物体.一方面,您有背景,另一方面,您也有背景.

A line is a 1D structure. It has the same phase/object/thing on either side. On one side you have background, on the other side you have background also.

梯度幅度过滤器将一条边变成一条线.

A gradient magnitude filter turns an edge into a line.

边缘具有方向(法线),线具有方向(如果将其旋转180度,则外观相同).

An edge has a direction (the normal), a line has an orientation (if you rotate it by 180 degrees, it looks the same).

您可以认为一条线是两个相对的边缘非常靠近.

You can think of a line as being two opposite edges very close together.

线条和边缘都是图像的局部属性.图像中任何足够小的部分都将显示为边缘或线条.

Lines and edges are both local properties of an image. Any sufficiently small portion of an image will appear as either an edge or a line.

它们都是局部笔直的,因为弯曲的东西(在足够小的区域内考虑)会显得笔直.

They are both locally straight, since something curved, considered in a sufficiently small region, will appear straight.

这篇关于线条和边缘在图像检测中有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆