本文介绍了计算机视觉图像查看器代码程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在轨迹鼠标位置写入图像值(像素值)的输出,还显示x坐标和y坐标吗?在计算机视觉中.请参见下面的代码:

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:

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();
        }


因此,我需要做的是修改此代码以同时显示图像的输出值...例如:(143,213)= 230,即x = 143,y = 213,并且图像值为坐标为230像素值.

谢谢


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

推荐答案




这篇关于计算机视觉图像查看器代码程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 14:53