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

回答 (1 件)

Image Analyst
Image Analyst 2015 年 12 月 12 日

0 投票

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().

カテゴリ

ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索

質問済み:

2015 年 12 月 11 日

回答済み:

2015 年 12 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by