Show the value of impixelinfo

2 次查看(过去 30 天)
I would like to show the result of impixelinfo while scrolling next to the mouse on the image like the attached image, or if that's not possible, show it in a box under the intensity image.

回答(1 个)

Walter Roberson
Walter Roberson 2018-3-9
https://www.mathworks.com/help/matlab/ref/datacursormode.html and configure the UpdateFcn property to a function that displays whatever you want displayed.

Community Treasure Hunt

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

Start Hunting!

Translated by