Azzera filtri
Azzera filtri

measuring lenght of straight lines

2 visualizzazioni (ultimi 30 giorni)
Rob
Rob il 24 Apr 2012
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.

Risposte (2)

Rick Rosson
Rick Rosson il 24 Apr 2012
>> doc imtool

Image Analyst
Image Analyst il 24 Apr 2012
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.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by