measuring lenght of straight lines
2 次查看(过去 30 天)
显示 更早的评论
Hello, After edge detection to an image I obtain an image with three crossed lines. How can I measure their lenghts in pixel? Thank you in advance for you help. Regards, Katia.
0 个评论
回答(2 个)
Image Analyst
2012-4-24
You can use improfile(), imline(), imtool(), etc. Or use ginput() and hypot(). Or use bwmorph('endpoints') and hypot. Lots of ways depending on how interactive you want to be.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!