MATLAB Answers

What is an edge exacty in matlab? is it simply a line ?

1 view (last 30 days)
bh dhouha
bh dhouha on 5 Apr 2015
Commented: bh dhouha on 5 Apr 2015
Here i'm not talking about image processing or edge detection. i mean drawing an edge given two points what does it mean? if it is simply a line then why we call it edge. In the packege geom2d.rar there are functions drawEdge intersecEdges etc , ... i just dont understand what is the difference between an edge and a line

Accepted Answer

David Young
David Young on 5 Apr 2015
Edited: David Young on 5 Apr 2015
I assume you're referring to David Legland's toolbox from the FEX. It isn't a question of how the term is used "in matlab", it's a question of how David Legland is using it in his toolbox. The best way to get clarification would be to ask him - you could try contacting via his author page, if you haven't already done so.
However, from the documentation for lines2d and edges2d, it seems clear that "line" is used to mean an unbounded line (i.e. without end points), whilst "edge" is used to mean a bounded line, often called a line segment (i.e. with end points).
  4 Comments
bh dhouha
bh dhouha on 5 Apr 2015
yap i understood now the difference :) thanks david

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!