I am looking for a tool similar to imtool() in MATLAB for OpenCV. I want to access the pixel intensity information along with the pixel coordinates, something similar to what imtool() does. When you hover the mouse pointer over an image, it displays the pixel coordinates and the pixel intensity. I have a program for detecting mouse pointer movement here, but I am unable to find any such program for the pixel intensity values. Any suggestions will be appreciated. Thanks.