How to update data from imdistline function?
조회 수: 2 (최근 30일)
이전 댓글 표시
In GUIDE , how is it possible to get the updated data (distance) from imdistline function by using 'addNewPositionCallback'. How it works? In my image when I tried to get the distance value it shows only one default value. It is not showing updated position value when the position of the line is changed.
Thanks
댓글 수: 0
답변 (1개)
Image Analyst
2015년 12월 12일
I would not mess with addNewPositionCallback. Just have a button for the user that says "Measure distance" and in that button's callback, just call imdistline() or improfile().
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!