array = cvCreateMat(row, col, CV_32FC1); // 32bits float, one Chanel
array->data.i[k]=(k+1);
Show position of mouse click. void On_mouse(int event, int x, int y, int flags), cvSetMouseCallback( "Lena2", On_mouse ) .
Road to my grill day ...
array = cvCreateMat(row, col, CV_32FC1); // 32bits float, one Chanel
array->data.i[k]=(k+1);
Show position of mouse click. void On_mouse(int event, int x, int y, int flags), cvSetMouseCallback( "Lena2", On_mouse ) .
No comments:
Post a Comment