my code void CBeautyDlg::onMouse(int events, int x, int y, int flag, void* ustg) {...}
void CBeautyDlg::OnBnClickedButton6( ... inputImage = m_Image;
inputImage_clone = inputImage.clone();
createMosaicImage(inputImage, inputImage_mosaic, neightbourhood);
namedWindow("myshowWnd", 0);
setMouseCallback("myshowWnd", onMouse,0);
)
but error on setMouseCallback("myshowWnd", onMouse,0);
notify below:
"Void (CBeautyDlg:: *) (int events, int x, int y, int flag, void void)" type of real participation "type:" type parameter is incompatible.
How to fix the error?
Thank you.