필터 지우기
필터 지우기

measuring lenght of straight lines

조회 수: 2 (최근 30일)
Rob
Rob 2012년 4월 24일
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.

답변 (2개)

Rick Rosson
Rick Rosson 2012년 4월 24일

Image Analyst
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.

카테고리

Help CenterFile Exchange에서 Explore and Edit Images with Image Viewer App에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by