Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

cv::setMouseCallback with winforms (OpenCV 2.4.9,vs 2010)

$
0
0
Hi ! Im working with OpenCV 2.4.9 with winforms (vs 2010). Im trying to use cv::setMouseCallback with winforms of vs 2010. I have a mouse callback: > void mouse_call(int event,int x,int y, int, void*){ } and then: cv::Mat img = cv::imread("f:/open/me.jpg"); cv::namedWindow("Original"); cv::imshow("Original",img); cv::setMouseCallback("Original", mouse_call, this); I get an error: error C3867: 'DCS_new::Evaluation_module_3::mouse_call': function call missing argument list; use '&DCS_new::Evaluation_module_3::mouse_call' to create a pointer to member Any help please ?

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>