Skip to content

Instantly share code, notes, and snippets.

@ochilab
Created January 22, 2015 07:21
OpenCVSharpにてクリックメソッドの設定(Mat対応)
OpenCvSharp.CPlusPlus.Window win = new OpenCvSharp.CPlusPlus.Window("OpenCV Example",mat);
win.OnMouseCallback += new CvMouseCallback(click);
/**
コールバック関数
**/
private void click(MouseEvent me, int x, int y, MouseEvent me2){
if (me == MouseEvent.LButtonDown){
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment