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

51 views (last 30 days)
I need to display the pixel information of an image when move cursor over an image

Answers (1)

Joseph Cheng
Joseph Cheng on 10 Jun 2015
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.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!