opencv cvSetMouseCallback 和
摘要:
void mouseHandler(int event,int x,int y, int flags, void *param){ //printf("function\n"); switch( event) { case CV_EVENT_LBUTTONDOWN: if( flags & CV_EVENT_FLAG_CTRLKEY ) { printf("lbutton down and ctrl pressed!"); printf("%d %d\n",x,y); } ... 阅读全文
posted @ 2014-03-28 09:37 jesse_deng 阅读(683) 评论(0) 推荐(0) 编辑