How to find width at certain pixel value in an image
조회 수: 2 (최근 30일)
이전 댓글 표시
I need to find the width at these positions in pixels although these can be found manually I need to compute this in matlab without manual intervention. I had written the code using improfile but the user needs to manually select the points and run the code three times to get the value. Kindly help me with this. Thank you in advance.
댓글 수: 0
채택된 답변
Matt J
2021년 2월 10일
Use the edge() command. Then, for each desired x-position, take the y-position of the 3rd edge from the top.
댓글 수: 6
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!