How to Pick random edges in an image and draw a line.

1 次查看(过去 30 天)
Hello all. I am trying to pick two random edges in a binary image and draw a line connecting the two edges.My question is how can I randomly pick any two edges in a binary image. Also, after picking the two random edges I want to join them with line using slope intercept form y=mx+c. Hope you can help me. Thanks.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by