If I read in an image and display it with "imshow", then the window frame includes indices which are updated in real time, for example: "[118.2, 151.9]" There are two problems here: (a) the indices are not integers (which they should be: giving the indices of the pixel in the image matrix), and (b) the pixel intensity is not displayed.
Is there some way of obtaining a display like "[118,151] = 198" (for grayscale images), or "[118, 151] = (127,35,210)" for RGB images?
Note that "axis" doesn't seem to help: the command "imshow(im),axis image" still gives fractional values in the frame. Autoscale makes no difference, either.