Rewrite old openCV code
I change IplImage to Mat, but have some problem. I don`t know how change next code:
cvGetImageROI -> ?
cvSetImageROI - > ?
IPL_DEPTH_8U - > ?
cvSet - > ?
[m_img is IplImage]
FillBitmapInfo(bmi, bmp_w, bmp_h, Bpp(), m_img->origin); What is origin in cv::Mat?
m_img->nSize -> ?
cvShowImage - > ?
cvCreateImage - > ?
cvSaveImage - > ?
cvIplROI - > ?
cvConvertImage - > ?
what, if you drop that idea entirely, and rather try with a modern sample instead ?
the author of your repo there wrote code, that was already outdated / deprecated 6 years ago, and never responded to any issues, all of it red flags, no ?