pickup pixels values


What is the best way to get the pixels values in addition to the pixel numbers when moving the mouse on on imhow display?
It could be either on the fly (would be great) or on click.

"best way" here means that the code can be quite complex but that it should be as simple as imshow from the end user point of view.

I'm using TkAgg.