It appears to me that when imshow tells you that the mouse cursor is at
x=50, y=100
That corresponds to array element
im[100, 50]
Is there a reason imshow does not have x be the first coordinate of the
array as I would think of as conventional usage?
That is not conventional usage. Instead, for images, it common for the image to correspond to a printout of memory, using the C convention. Hence the column index is X, and incrementing the row index yields the next line down on the page, thereby corresponding to a decrease in the Y coordinate.
Eric
···
On 03/15/2011 10:23 AM, Tom Dimiduk wrote:
Tom