Click here to Skip to main content
15,905,914 members

Computer Vision image viewer code program

Latest Revision
in C# write the output of an image value (pixel value) at the track mouse position, also showing x coordinate and y coordinate? in computer vision. See this code below:
C#
private void OnMouseMoved ( object sender, MouseEventArgs e ) {
            //throw new Exception( "The method or operation is not implemented." );
            mMouseMoveValid = true;
            mMouseX = e.X;
            mMouseY = e.Y;
            Invalidate();
        }

So, what I need to do is modify this code to show also the output value of the image... it is something like for example : (143,213)= 230 which is x = 143, y = 213 and the image value at those coordinates is 230 pixel value.

Thank you
Posted 21-Feb-12 16:46pm by Khaledc419.
Tags: