How to show cursor coordinate values of an image on screen in matlab?

63 次查看(过去 30 天)
I need to display the pixel information of an image when move cursor over an image

回答(1 个)

Joseph Cheng
Joseph Cheng 2015-6-10
impixelinfo will display the x,y and gray level of the pixel under the mouse cursor. it will display the information live in the bottom left corner without needing to click on anything.
set this up after you display the image using imshow() or imagesc.

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by