Plot line from edge function
9 ビュー (過去 30 日間)
古いコメントを表示
Hi,
Is there a way to plot a line from the edge detected using the "edge" function?
Thank you,
1 件のコメント
Image Analyst
2016 年 3 月 1 日
Post a picture/diagram showing what you want. Mock something up in Photoshop if you have to. But we don't know what "a line from an edge" would be. Tangent to the edge? Perpendicular to it? At some arbitrary angle? How long? Until it hits the edge of the image in both directions? Or of some limited length?
回答 (2 件)
Florian
2016 年 3 月 1 日
How about using bwboundaries on the edge function output? Check it out: http://ch.mathworks.com/help/images/ref/bwboundaries.html Regards, Florian
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!